.hl-photo-dialog {
    width: min(940px, calc(100% - 28px));
    max-height: calc(100dvh - 28px);
    padding: clamp(14px, 3vw, 26px);
    border: 1px solid #cbd7c2;
    border-radius: 24px;
    background: #f5f7ef;
    color: #17251d;
    box-shadow: 0 20px 70px #10241970;
    overflow: auto;
}
.hl-photo-dialog::backdrop { background: #101c16c9; }
.hl-photo-dialog-head,
.hl-photo-dialog-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.hl-photo-dialog-nav[hidden] { display: none; }
.hl-photo-dialog-head h2 { margin: 0; color: inherit; font-size: 22px; }
.hl-photo-dialog button {
    min-height: 44px;
    min-width: 44px;
    padding: 6px 14px;
    border: 1px solid #bfceb8;
    border-radius: 30px;
    background: #fff;
    color: #17251d;
    cursor: pointer;
}
.hl-photo-dialog button:disabled { opacity: .45; cursor: default; }
.hl-photo-dialog figure { margin: 10px 0; text-align: center; }
.hl-photo-dialog figure img {
    display: block;
    max-width: 100%;
    max-height: min(67dvh, calc(100dvh - 200px));
    margin: auto;
    object-fit: contain;
    border-radius: 12px;
}
.hl-photo-dialog figcaption { margin-top: 8px; font-size: 14px; }
body:has(.hl-photo-dialog[open]) { overflow: hidden; }
.hl-cart-browse {
    display: inline-block;
    margin: 9px 0 12px;
    color: #254c38;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.hl-cart-remove-photo {
    display: block;
    margin: 4px auto 0;
    padding: 5px 8px;
    border: 0;
    background: transparent;
    color: #633629;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}
.hl-cart-photo-error,
.hl-premium-panel [role="alert"] { color: #7f2d1c; }
#brx-content .hl-premium-panel {
    padding: clamp(16px, 2vw, 24px);
    margin: 18px 0;
    border: 1px solid #d0dac6;
    border-radius: 18px;
    background: #f8faf4;
    color: #17251d;
}
.hl-premium-panel h2 { margin: 0 0 12px; color: inherit; font-size: 22px; line-height: 1.25; }
.hl-premium-panel > p { margin: 12px 0 0; font-size: 14px; line-height: 1.5; }
.hl-premium-explainer {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #e8efdf;
}
.hl-premium-panel .hl-premium-explainer h3 {
    margin: 0 0 4px;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.hl-premium-panel .hl-premium-explainer p { margin: 0; font-size: 14px; line-height: 1.55; }
.hl-premium-panel .hl-premium-hero {
    padding: 10px 12px;
    border-radius: 12px;
    background: #e8efdc;
}
.hl-premium-hero strong { display: block; }
.hl-premium-hero p { margin: 0; font-size: 13px; }
.hl-premium-hero button {
    padding: 5px 0 0;
    border: 0;
    background: transparent;
    color: #254c38;
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;
}
.hl-premium-group {
    min-width: 0;
    padding: 12px 0 0;
    margin: 18px 0 0;
    border: 0;
    border-top: 1px solid #d8e2cf;
}
.hl-premium-group legend { padding: 0 8px 0 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.hl-premium-options { display: grid; gap: 9px; }
.hl-premium-photo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #dce4d5;
    background: #fff;
}
.hl-premium-photo:has(input:checked) { background: #e9f1e2; border-color: #a9be9c; }
.hl-preview-trigger {
    flex: 0 0 48px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: zoom-in;
}
.hl-preview-trigger img { width: 48px; height: 48px; display: block; object-fit: cover; border-radius: inherit; }
.hl-premium-photo label { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; flex: 1; color: #263d2c; cursor: pointer; }
.hl-premium-photo input { accent-color: #254c38; flex: none; }
.hl-premium-photo label span { font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.hl-premium-photo small { display: block; font-weight: 400; }
.hl-premium-panel .hl-premium-price { display: grid; gap: 4px; margin: 12px 0 0; font-size: 13px; line-height: 1.45; }
.hl-premium-price > div { display: flex; justify-content: space-between; gap: 8px; }
.hl-premium-panel .hl-premium-price :is(dt, dd) { margin: 0; }
.hl-premium-price dd { flex: none; font-weight: 650; }
