/* ==========================================================================
   MIKASH  -  inner pages: shop, product, bag, checkout, account, content
   Builds on the tokens and components in mikash.css
   ========================================================================== */

.page-product .hdr, .page-thanks .hdr, .page-auth .hdr, .page-soon .hdr {
    --hdr-h: 76px;
    background: rgba(42, 20, 25, .96);
    border-color: var(--line-soft);
}
.muted { color: var(--text-soft); }
.note { padding: 14px 18px; border: 1px solid var(--line); background: rgba(242, 191, 196, .08); color: var(--blush); font-size: 14px; margin: 6px 0 18px; }

/* ---------- Page hero ---------- */
.phero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: clamp(420px, 60vh, 560px);
    display: grid; place-items: center; text-align: center;
    padding: calc(var(--hdr-h) + 50px) var(--gutter) 70px;
    background: radial-gradient(90% 90% at 50% 30%, var(--wine-700), var(--wine-900) 75%);
}
.phero--compact { min-height: 0; padding-top: calc(var(--hdr-h) + 46px); padding-bottom: 54px; }
.phero__bg { position: absolute; inset: -10% 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.phero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,13,16,.78), rgba(42,20,25,.62) 45%, rgba(28,13,16,.92)); }
.phero__drape {
    position: absolute; top: 0; bottom: 0; width: 4.5vw; z-index: -1;
    background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 50%, rgba(0,0,0,.35)), url('../../images/home/curtain.webp') center / auto 100% repeat-x;
}
.phero__drape--l { left: 0; box-shadow: 14px 0 40px rgba(0,0,0,.5); }
.phero__drape--r { right: 0; box-shadow: -14px 0 40px rgba(0,0,0,.5); }
.phero--compact .phero__drape { width: 2.6vw; }
.phero__inner { display: grid; justify-items: center; gap: 14px; max-width: 820px; }
.phero .display { font-size: clamp(36px, 5vw, 70px); }
.phero--compact .display { font-size: clamp(32px, 4vw, 54px); }
.phero .lede { max-width: 620px; }

.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 10px; padding: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--blush); }
.crumbs [aria-current] { color: var(--ivory); }
.pdp .crumbs ol { justify-content: flex-start; margin-bottom: 26px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 40px;
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
    transition: background .3s, color .3s, border-color .3s;
}
.chip:hover, .chip.is-active { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.chip--remove { text-transform: none; letter-spacing: .04em; font-size: 13px; padding: 7px 12px 7px 16px; }
.chip--remove svg { font-size: 14px; }

/* ---------- Form controls ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fields--stack { grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .opt__label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }
.field label small { letter-spacing: .08em; text-transform: none; opacity: .8; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.field__link { font-size: 13px; color: var(--blush); }
.field input, .field textarea, .field select, .select select, .price-range input, .shop__search input {
    width: 100%; min-height: 50px; padding: 12px 16px;
    background: rgba(251, 229, 229, .04); border: 1px solid var(--line); border-radius: 0;
    color: var(--ivory); font: inherit; font-size: 15px; font-weight: 400;
    transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .select select:focus, .price-range input:focus, .shop__search input:focus { outline: 0; border-color: var(--blush); background: rgba(251, 229, 229, .07); }
.field input::placeholder, .field textarea::placeholder, .price-range input::placeholder, .shop__search input::placeholder { color: rgba(251, 229, 229, .35); }
.field [aria-invalid="true"] { border-color: #e58a94; }
.field__hint { font-size: 12.5px; color: var(--text-soft); }
.field__error { font-size: 13px; color: #f3a3ab; }
input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); -webkit-box-shadow: 0 0 0 100px #3b1f26 inset; caret-color: var(--ivory); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select option { background: var(--wine-900); }
.select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; color: var(--blush); }
.check { display: flex; align-items: center; gap: 12px; font-size: 14.5px; cursor: pointer; padding: 4px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--blush); }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw__toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blush); }

.card { border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(251,229,229,.035), rgba(251,229,229,.015)); padding: clamp(22px, 2.6vw, 36px); }
.card__title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); color: var(--ivory); margin-bottom: 18px; }
.alert { border: 1px solid rgba(243, 163, 171, .5); background: rgba(229, 138, 148, .1); padding: 16px 20px; margin-bottom: 26px; color: var(--ivory); }
.alert ul { margin: 8px 0 0 18px; padding: 0; list-style: disc; color: #f3c0c5; font-size: 14px; }
.alert a { color: var(--blush); text-decoration: underline; }

.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Shop listing ---------- */
.shop { padding: 50px 0 120px; }
.shop .chips { margin-bottom: 40px; }
.shop__search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 40px; position: relative; }
.shop__search > svg { position: absolute; left: 16px; font-size: 20px; color: var(--blush); }
.shop__search input { padding-left: 48px; }
.shop__search .btn { --bh: 50px; }
.shop__bar { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 26px; }
.shop__count { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); margin-right: auto; }
.shop__filter-btn { display: none; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line); }
.shop__filter-btn svg { font-size: 20px; }
.shop__filter-btn span { min-width: 20px; height: 20px; border-radius: 10px; background: var(--blush); color: var(--wine-900); font-size: 11px; display: grid; place-items: center; }
.shop__sort { display: flex; align-items: center; gap: 12px; }
.shop__sort label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }
.shop__sort .select select { min-height: 42px; padding: 8px 40px 8px 14px; font-size: 14px; }
.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; }
.shop__layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 3.5vw, 56px); align-items: start; }

.filters { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100vh - var(--hdr-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.filters__head { display: none; }
.filters__group { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line-soft); min-width: 0; }
.filters__group h3, .filters__group legend { font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--blush); margin-bottom: 14px; padding: 0; }
.ftree a { display: block; padding: 4px 0; font-family: var(--f-serif); font-size: 18px; color: var(--text); transition: color .3s; }
.ftree a:hover, .ftree a.is-active { color: var(--blush); }
.ftree a.is-active { font-style: italic; }
.ftree ul { padding-left: 14px; border-left: 1px solid var(--line-soft); margin: 2px 0 6px; }
.ftree ul a { font-size: 16.5px; }
.ftree ul ul a { font-size: 15.5px; color: var(--text-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input, .swatch-opt input, .sw input, .sz input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: grid; place-items: center; min-width: 46px; height: 40px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; cursor: pointer; transition: all .25s; }
.pill input:checked + span { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.pill input:focus-visible + span, .sw input:focus-visible + span, .sz input:focus-visible + span { outline: 1px solid var(--blush); outline-offset: 3px; }
.swatch-list { display: grid; gap: 8px; }
.swatch-opt { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; }
.swatch-opt__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); position: relative; }
.swatch-opt input:checked + .swatch-opt__dot { box-shadow: 0 0 0 2px var(--wine-900), 0 0 0 3px var(--blush); }
.swatch-opt input:checked ~ .swatch-opt__name { color: var(--blush); }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--text-soft); }
.price-range input { min-height: 44px; padding: 8px 10px; font-size: 14px; }
.filters__actions { display: grid; gap: 14px; justify-items: center; }
.filters__scrim { display: none; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 2.6vw, 40px) clamp(16px, 1.8vw, 26px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 70px 20px; border: 1px dashed var(--line); }
.empty img { width: 60px; opacity: .9; }
.empty h2 { font-family: var(--f-serif); font-weight: 500; font-size: 30px; color: var(--ivory); }
.empty p { color: var(--text-soft); max-width: 420px; }
.empty--left { justify-items: start; text-align: left; padding: 40px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; }
.pager__num, .pager__btn, .pager__gap { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-soft); font-size: 14px; transition: all .3s; }
.pager__btn svg { font-size: 18px; }
.pager a:hover { border-color: var(--blush); color: var(--blush); }
.pager .is-current { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.pager .is-disabled { opacity: .3; }
.pager__gap { border: 0; }

/* ---------- Product page ---------- */
.pdp { padding: calc(var(--hdr-h) + 34px) 0 90px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.pdp__thumbs { display: grid; gap: 12px; align-content: start; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: none; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb { aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid transparent; opacity: .6; transition: opacity .3s, border-color .3s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover, .pdp__thumb.is-active { opacity: 1; border-color: var(--blush); }
.pdp__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--wine-800); cursor: zoom-in; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s var(--ease), opacity .35s; }
.pdp__main.is-zoom img { transform: scale(1.8); }
.pdp__main img.is-swapping { opacity: 0; }
.pdp__info { display: grid; gap: 16px; align-content: start; }
.pdp__info > .eyebrow:hover { color: var(--ivory); }
.pdp__title { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; color: var(--ivory); }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; font-size: 22px; letter-spacing: .06em; color: var(--blush); }
.pdp__price s { font-size: 16px; color: var(--text-soft); }
.pdp__price em { font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); color: var(--ivory); }
.pdp__short { color: var(--text); line-height: 1.8; }
.pdp__form { display: grid; gap: 22px; padding: 24px 0 6px; border-top: 1px solid var(--line-soft); }
.opt { display: grid; gap: 12px; }
.opt__head { display: flex; justify-content: space-between; align-items: center; }
.opt__label span { color: var(--ivory); letter-spacing: .1em; text-transform: none; font-size: 14px; margin-left: 6px; }
.opt__guide { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.opt__swatches, .opt__sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.sw span { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--sw); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: box-shadow .25s; }
.sw input:checked + span { box-shadow: 0 0 0 3px var(--wine-900), 0 0 0 4px var(--blush); }
.sz span { display: grid; place-items: center; min-width: 54px; height: 48px; padding: 0 14px; border: 1px solid var(--line); font-size: 14px; letter-spacing: .08em; cursor: pointer; transition: all .25s; position: relative; }
.sz span:hover { border-color: var(--blush); }
.sz input:checked + span { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.sz input:disabled + span { opacity: .35; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); }
.pdp__stock { font-size: 13px; letter-spacing: .12em; color: var(--text-soft); min-height: 20px; display: flex; align-items: center; gap: 8px; }
.pdp__stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #9fd3a8; }
.pdp__stock.is-low { color: var(--blush); }
.pdp__stock.is-low::before { background: var(--blush); }
.pdp__stock.is-out { color: #f3a3ab; }
.pdp__stock.is-out::before { background: #f3a3ab; }
.pdp__stock:empty::before { display: none; }
.pdp__extras { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pdp__extras legend { margin-bottom: 10px; }
.extra { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line-soft); cursor: pointer; transition: border-color .25s, background .25s; }
.extra:hover { border-color: var(--line); }
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.extra__box { width: 18px; height: 18px; margin-top: 2px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.extra input:checked + .extra__box { background: var(--blush); border-color: var(--blush); }
.extra input:checked + .extra__box::after { content: ''; width: 9px; height: 5px; border: solid var(--wine-900); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.extra input:focus-visible + .extra__box { outline: 2px solid var(--blush); outline-offset: 2px; }
.extra:has(input:checked) { border-color: var(--blush); background: rgba(242, 191, 196, .06); }
.extra__text { display: grid; gap: 3px; color: var(--ivory); font-size: 14px; }
.extra__text b { font-weight: 500; }
.extra__price { color: var(--blush); font-size: 13px; letter-spacing: .04em; }
.extra__text small { color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.pdp__tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__tiers span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border: 1px dashed var(--line); color: var(--ivory); }
.pdp__buy { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; }
.qty { display: inline-grid; grid-template-columns: 44px 48px 44px; height: 54px; border: 1px solid var(--line); }
.qty button { font-size: 20px; color: var(--ivory); transition: color .3s; }
.qty button:hover:not(:disabled) { color: var(--blush); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty input { width: 100%; min-width: 0; text-align: center; background: none; border: 0; color: var(--ivory); font: inherit; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm { grid-template-columns: 34px 36px 34px; height: 38px; }
.qty--sm button { font-size: 17px; }
.pdp__add svg { font-size: 20px; }
.pdp__wish { width: 54px; height: 54px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.pdp__wish svg { font-size: 22px; }
.pdp__wish:hover { border-color: var(--blush); color: var(--blush); }
.pdp__wish[aria-pressed="true"] { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.pdp__wish[aria-pressed="true"] svg path { fill: currentColor; }
.pdp__wa svg { font-size: 20px; }
.pdp__perks { display: grid; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pdp__perks li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: var(--text); }
.pdp__perks svg { width: 26px; height: 24px; color: var(--blush); }
.pdp__sku { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }

.acc details { border-bottom: 1px solid var(--line-soft); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--f-serif); font-size: 21px; color: var(--ivory); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { font-size: 20px; color: var(--blush); transition: transform .35s var(--ease); flex: none; }
.acc details[open] summary svg { transform: rotate(180deg); }
.acc__body { padding: 0 0 22px; color: var(--text); line-height: 1.8; display: grid; gap: 10px; justify-items: start; }
.acc__body b { color: var(--ivory); font-weight: 400; }

.prail { padding: 30px 0 90px; }
.prail .rail--products { margin-top: 0; }
.prail .eyebrow { margin-bottom: 8px; }

.pdp-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
.modal.is-open { visibility: visible; opacity: 1; transition: opacity .4s; }
.modal__scrim { position: absolute; inset: 0; background: rgba(15, 6, 8, .7); }
.modal__panel { position: relative; width: min(720px, 100%); max-height: 88vh; overflow-y: auto; background: linear-gradient(180deg, var(--wine-800), var(--wine-900)); border: 1px solid var(--line); padding: clamp(26px, 4vw, 48px); display: grid; gap: 16px; transform: translateY(20px); transition: transform .5s var(--ease-out); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel .display { font-size: clamp(30px, 3.4vw, 44px); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; }
.modal__close svg { font-size: 22px; }

.chart { display: grid; gap: 12px; margin-bottom: 18px; }
.chart h3 { font-family: var(--f-serif); font-weight: 500; font-size: 24px; color: var(--ivory); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); }
.chart table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 420px; }
.chart th, .chart td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.chart thead th { font-weight: 400; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); background: rgba(242, 191, 196, .06); }
.chart tbody th { font-weight: 500; color: var(--ivory); }
.chart tbody tr:last-child > * { border-bottom: 0; }
.chart tbody tr:hover { background: rgba(251, 229, 229, .03); }
.chart__note { font-size: 13.5px; color: var(--text-soft); }

/* ---------- Bag drawer ---------- */
.bagd { position: fixed; inset: 0; z-index: 155; visibility: hidden; transition: visibility 0s .5s; }
.bagd.is-open { visibility: visible; transition: none; }
.bagd__scrim { position: absolute; inset: 0; background: rgba(15, 6, 8, .6); opacity: 0; transition: opacity .5s; }
.bagd.is-open .bagd__scrim { opacity: 1; }
.bagd__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
    background: linear-gradient(180deg, var(--wine-800), var(--wine-900));
    border-left: 1px solid var(--line-soft);
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .55s var(--ease-out);
}
.bagd.is-open .bagd__panel { transform: none; }
.bagd__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line-soft); }
.bagd__head h2 { font-family: var(--f-serif); font-weight: 500; font-size: 28px; color: var(--ivory); display: flex; align-items: center; gap: 12px; }
.bagd__head h2 span { font-family: var(--f-sans); font-size: 12px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--blush); color: var(--wine-900); display: grid; place-items: center; }
.bagd__close { width: 42px; height: 42px; display: grid; place-items: center; }
.bagd__close svg { font-size: 22px; }
.bagd__body { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.bagd__body.is-busy { opacity: .6; pointer-events: none; }
.bagd__lines { flex: 1; overflow-y: auto; padding: 8px 26px; }
.bagd__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 30px; }
.bagd__empty > svg { font-size: 54px; color: var(--blush); }
.bagd__foot { padding: 20px 26px 26px; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; background: rgba(28, 13, 16, .4); }
.bagd__note { text-align: center; font-size: 12.5px; color: var(--text-soft); }
.bline { display: grid; grid-template-columns: 82px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.bline__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--wine-800); }
.bline__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bline__info { display: grid; gap: 4px; align-content: start; }
.bline__name { font-family: var(--f-serif); font-size: 19px; line-height: 1.25; color: var(--ivory); }
.bline__variant { font-size: 12.5px; color: var(--text-soft); letter-spacing: .06em; }
.bline__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.bline__price { font-size: 14px; color: var(--blush); letter-spacing: .06em; }
.bline__remove { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text-soft); align-self: start; }
.bline__remove:hover { color: var(--blush); }
.bline__remove svg { font-size: 16px; }

.freebar { padding: 16px 26px; display: grid; gap: 10px; font-size: 13.5px; color: var(--text); border-bottom: 1px solid var(--line-soft); }
.freebar b { color: var(--blush); font-weight: 500; }
.freebar__track { height: 3px; background: rgba(251, 229, 229, .12); overflow: hidden; display: block; }
.freebar__track i { display: block; height: 100%; background: linear-gradient(90deg, var(--blush-300), var(--blush)); transition: width .6s var(--ease); }

.sum { display: grid; gap: 10px; margin: 0; }
.sum div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.sum dt { color: var(--text-soft); }
.sum dd { margin: 0; color: var(--ivory); letter-spacing: .04em; }
.sum__total { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.sum__total dt { color: var(--ivory); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; align-self: center; }
.sum__total dd { font-size: 20px; color: var(--blush); }

/* ---------- Toast ---------- */
.toast {
    position: fixed; z-index: 180; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
    display: flex; align-items: center; gap: 14px; max-width: min(520px, calc(100vw - 32px));
    padding: 14px 14px 14px 20px; background: rgba(28, 13, 16, .96); border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(0,0,0,.45); opacity: 0; transition: opacity .4s, transform .5s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }
.toast p { font-size: 14px; color: var(--ivory); }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blush); flex: none; }
.toast.is-error .toast__dot { background: #f3a3ab; }
.toast button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--text-soft); flex: none; }

/* ---------- Bag page ---------- */
.cartp, .checkout, .thanks, .track, .wishp, .account, .contact, .faqs, .sizeg, .doc { padding: 50px 0 110px; }
.steps { display: flex; justify-content: center; gap: clamp(16px, 4vw, 60px); list-style: none; margin: 0 0 46px; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }
.steps span { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; letter-spacing: 0; }
.steps .is-current { color: var(--ivory); }
.steps .is-current span { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.steps .is-done span { border-color: var(--blush); color: var(--blush); }
.cartp__grid, .checkout__grid, .thanks__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.cartp__head, .cline { display: grid; grid-template-columns: 110px minmax(0, 1fr) 150px 110px 40px; gap: 20px; align-items: center; }
.cartp__head { padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); }
.cartp__head span:first-child { grid-column: 1 / 3; }
.cline { padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.cline__img { aspect-ratio: 3 / 4; overflow: hidden; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.cline__info { display: grid; gap: 5px; }
.cline__name { font-family: var(--f-serif); font-size: 22px; line-height: 1.2; color: var(--ivory); }
.cline__name:hover { color: var(--blush); }
.cline__meta { font-size: 13.5px; color: var(--text-soft); }
.cline__low { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blush); }
.cline__total { color: var(--blush); letter-spacing: .05em; }
.cline__remove button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--text-soft); }
.cline__remove button:hover { color: var(--blush); }
.cartp__back { margin-top: 28px; }

.summary { border: 1px solid var(--line-soft); background: rgba(28, 13, 16, .35); padding: 30px; display: grid; gap: 20px; }
.summary--sticky { position: sticky; top: calc(var(--hdr-h) + 24px); }
.summary h2 { font-family: var(--f-serif); font-weight: 500; font-size: 28px; color: var(--ivory); }
.summary .freebar { padding: 0; border: 0; }
.summary__perks { display: grid; gap: 10px; }
.summary__perks li { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--text-soft); }
.summary__perks svg { width: 22px; height: 20px; color: var(--blush); }
.summary__fine { font-size: 12.5px; color: var(--text-soft); line-height: 1.7; }
.summary__fine a { color: var(--blush); }
.summary .link-caps { justify-self: center; }

/* ---------- Checkout ---------- */
.checkout__form { display: grid; gap: 22px; }
.checkout__form legend { display: flex; align-items: center; gap: 14px; float: left; width: 100%; margin-bottom: 22px; font-family: var(--f-serif); font-weight: 500; font-size: 26px; color: var(--ivory); }
.checkout__form legend span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--blush); color: var(--blush); display: grid; place-items: center; font-family: var(--f-sans); font-size: 14px; }
.checkout__form legend + * { clear: both; }
.pay-option { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-soft); cursor: pointer; transition: border-color .25s, background .25s; }
.pay-option + .pay-option { margin-top: 10px; }
.pay-option:has(input:checked), .pay-option.is-selected { border-color: var(--blush); background: rgba(242, 191, 196, .06); }
.pay-option__details { display: block; margin-top: 8px; padding: 10px 12px; border: 1px dashed var(--line); color: var(--ivory); font-size: 13px; line-height: 1.7; }
.pay-option:not(:has(input:checked)) .pay-option__details { display: none; }
.line-addons { display: block; color: var(--blush) !important; font-size: 12px; letter-spacing: .02em; margin-top: 2px; }
.pay-option input { margin-top: 6px; accent-color: var(--blush); width: 18px; height: 18px; }
.pay-option__icon svg { width: 34px; height: 30px; color: var(--blush); }
.pay-option b { display: block; font-weight: 400; color: var(--ivory); font-size: 16px; margin-bottom: 4px; }
.pay-option small { color: var(--text-soft); font-size: 13.5px; line-height: 1.6; }
.mini-lines { display: grid; gap: 14px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.mini-lines li { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.mini-lines__img { position: relative; aspect-ratio: 3 / 4; }
.mini-lines__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.mini-lines__img i { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--blush); color: var(--wine-900); font-style: normal; font-size: 11px; display: grid; place-items: center; }
.mini-lines__name { font-family: var(--f-serif); font-size: 17px; color: var(--ivory); line-height: 1.25; display: grid; }
.mini-lines__name small { font-family: var(--f-sans); font-size: 12px; color: var(--text-soft); }

/* ---------- Thank you / track / account orders ---------- */
.thanks__head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: 50px; }
.thanks__head .lede b { color: var(--blush); font-style: normal; font-family: var(--f-sans); font-weight: 400; letter-spacing: .08em; }
.thanks__tick { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--blush); display: grid; place-items: center; color: var(--blush); animation: tickIn 1s var(--ease-out) both; }
.thanks__tick svg { width: 40px; height: 40px; }
.thanks__tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tickDraw .8s .4s var(--ease) forwards; }
@keyframes tickIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
.next-steps { display: grid; gap: 22px; margin-bottom: 30px; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.next-steps span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blush); font-size: 14px; }
.next-steps b { font-weight: 400; color: var(--ivory); font-size: 16px; }
.next-steps p { color: var(--text-soft); font-size: 14.5px; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.thanks__actions svg { font-size: 18px; }
.osum { display: grid; gap: 22px; }
.osum__addr { padding-top: 18px; border-top: 1px solid var(--line-soft); }
.osum__addr h3 { font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--blush); margin-bottom: 8px; }
.osum__addr p { color: var(--text); font-size: 14.5px; line-height: 1.75; }

.track__wrap { max-width: 860px; display: grid; gap: 26px; }
.track__form { display: grid; gap: 20px; justify-items: start; }
.track__form .fields { width: 100%; }
.track__result { display: grid; gap: 30px; }
.track__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.track__top h2 { font-family: var(--f-serif); font-weight: 500; font-size: 32px; color: var(--ivory); }
.status { display: inline-flex; padding: 7px 14px; border-radius: 30px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--line); color: var(--ivory); white-space: nowrap; }
.status--pending { border-color: var(--blush); color: var(--blush); }
.status--delivered { border-color: #9fd3a8; color: #9fd3a8; }
.status--cancelled { border-color: #f3a3ab; color: #f3a3ab; }
.otl { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; position: relative; }
.otl li { display: grid; justify-items: center; gap: 10px; text-align: center; position: relative; }
.otl li::before { content: ''; position: absolute; top: 8px; left: -50%; right: 50%; height: 1px; background: var(--line); }
.otl li:first-child::before { display: none; }
.otl li.is-done::before, .otl li.is-current::before { background: var(--blush); }
.otl__dot { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line); background: var(--wine-900); position: relative; z-index: 1; }
.otl .is-done .otl__dot { background: var(--blush); border-color: var(--blush); }
.otl .is-current .otl__dot { border-color: var(--blush); box-shadow: 0 0 0 5px rgba(242, 191, 196, .18); background: var(--blush); }
.otl__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.otl .is-done .otl__label, .otl .is-current .otl__label { color: var(--ivory); }
.otl__cancelled { color: #f3a3ab; }

.wishp__note { text-align: center; font-size: 12.5px; color: var(--text-soft); margin-top: 40px; }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; padding-top: var(--hdr-h); }
.auth__art { position: relative; overflow: hidden; }
.auth__art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.auth__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,20,25,.2), rgba(28,13,16,.85)); }
.auth__quote { position: absolute; z-index: 1; left: clamp(26px, 4vw, 60px); bottom: clamp(30px, 5vw, 70px); display: grid; gap: 18px; }
.auth__quote img { width: 52px; }
.auth__quote p { font-family: var(--f-serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; color: var(--ivory); }
.auth__quote em { color: var(--blush); }
.auth__panel { display: grid; place-items: center; padding: clamp(40px, 6vw, 90px) var(--gutter); background: radial-gradient(80% 70% at 50% 30%, var(--wine-700), var(--wine-900)); }
.auth__card { width: min(440px, 100%); display: grid; gap: 14px; }
.auth__card .display { font-size: clamp(34px, 3.4vw, 48px); text-transform: none; }
.auth__card form { margin-top: 12px; }
.auth__switch { margin-top: 10px; text-align: center; font-size: 14.5px; color: var(--text-soft); }
.auth__switch a, .auth__guest a { color: var(--blush); border-bottom: 1px solid currentColor; }
.auth__guest { text-align: center; font-size: 13px; color: var(--text-soft); }

/* ---------- Account ---------- */
.account__grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.account__nav { display: grid; border: 1px solid var(--line-soft); position: sticky; top: calc(var(--hdr-h) + 24px); }
.account__nav a, .account__nav button { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); width: 100%; text-align: left; transition: background .3s, color .3s; }
.account__nav form:last-child button { border-bottom: 0; }
.account__nav svg { font-size: 18px; color: var(--blush); }
.account__nav a:hover, .account__nav button:hover { background: rgba(251, 229, 229, .04); color: var(--blush); }
.account__nav a.is-active { background: rgba(242, 191, 196, .1); color: var(--blush); box-shadow: inset 2px 0 0 var(--blush); }
.account__body { display: grid; gap: 18px; }
.account__title { font-family: var(--f-serif); font-weight: 500; font-size: 32px; color: var(--ivory); }
.account .card { display: grid; gap: 20px; justify-items: start; }
.account .card .fields { width: 100%; }
.ocard { display: grid; gap: 16px; padding: 22px 24px; border: 1px solid var(--line-soft); transition: border-color .3s, background .3s; }
.ocard:hover { border-color: var(--line); background: rgba(251, 229, 229, .02); }
.ocard__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ocard__top b { display: block; font-weight: 400; color: var(--ivory); letter-spacing: .1em; }
.ocard__top .muted { font-size: 13px; }
.ocard__thumbs { display: flex; gap: 10px; }
.ocard__thumbs img { width: 54px; aspect-ratio: 3 / 4; object-fit: cover; }
.ocard__bottom { display: flex; justify-content: space-between; align-items: center; color: var(--blush); }

/* ---------- About / vision ---------- */
.statement { padding: clamp(80px, 9vw, 130px) 0; text-align: center; background: var(--wine-900); }
.statement .wrap { max-width: 980px; display: grid; justify-items: center; gap: 30px; }
.statement__mark { width: 58px; }
.statement__text { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.4; color: var(--ivory); }
.statement__text em { color: var(--blush); }
.split { padding: clamp(80px, 9vw, 130px) 0; background: radial-gradient(70% 80% at 20% 50%, var(--wine-700), var(--wine-900)); overflow: hidden; }
.split--rev { background: radial-gradient(70% 80% at 80% 50%, var(--wine-700), var(--wine-900)); }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; max-width: 500px; width: 100%; justify-self: center; }
.split__media img, .mission__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.split--rev .story__frame { transform: translate(-26px, 26px); }
.split__text { display: grid; gap: 22px; justify-items: start; max-width: 520px; }
.split__text > p:not(.eyebrow) { line-height: 1.85; color: var(--text); }
.values { padding: clamp(90px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--wine-800), var(--wine-700)); }
.values--alt { background: linear-gradient(180deg, var(--wine-900), var(--wine-800)); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 34px 28px; border: 1px solid var(--line-soft); background: rgba(28, 13, 16, .25); display: grid; gap: 14px; align-content: start; transition: transform .6s var(--ease), border-color .4s; }
.value:hover { transform: translateY(-6px); border-color: var(--line); }
.value svg { width: 44px; height: 40px; color: var(--blush); }
.value h3 { font-family: var(--f-display); font-weight: 500; font-size: 24px; color: var(--ivory); }
.value p { color: var(--text-soft); line-height: 1.75; font-size: 15px; }
.process { padding: clamp(90px, 10vw, 140px) 0; background: var(--wine-900); }
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; margin: 0; padding: 0; counter-reset: p; }
.process__list li { display: grid; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); position: relative; }
.process__list li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border: 1px solid var(--blush); transform: rotate(45deg); background: var(--wine-900); }
.process__list span { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: 42px; color: rgba(242, 191, 196, .35); line-height: 1; }
.process__list h3 { font-family: var(--f-serif); font-weight: 500; font-size: 26px; color: var(--ivory); }
.process__list p { color: var(--text-soft); line-height: 1.75; font-size: 15px; }
.closing__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }

.vision { position: relative; overflow: hidden; padding: clamp(110px, 12vw, 170px) 0; text-align: center; background: radial-gradient(60% 80% at 50% 50%, var(--wine), var(--wine-900) 80%); }
.vision__curtain { position: absolute; top: 0; bottom: 0; width: 12vw; background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 40%, rgba(0,0,0,.35)), url('../../images/home/curtain.webp') center / auto 100% repeat-x; }
.vision__curtain--l { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.5); }
.vision__curtain--r { right: 0; box-shadow: -20px 0 50px rgba(0,0,0,.5); }
.vision__inner { max-width: 980px; display: grid; justify-items: center; gap: 30px; position: relative; }
.vision__quote { margin: 0; font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.18; color: var(--ivory); }
.vision__quote em { font-family: var(--f-serif); color: var(--blush); }
.mission { padding: clamp(90px, 10vw, 140px) 0; background: var(--wine-800); overflow: hidden; }
.mission__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.mission__media { position: relative; max-width: 460px; }
.mission__grid > div:last-child { display: grid; gap: 22px; }
.mission__list { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.mission__list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.mission__list span { font-family: var(--f-display); font-weight: 500; font-size: 30px; color: var(--blush); line-height: 1; }
.mission__list h3 { font-family: var(--f-serif); font-weight: 500; font-size: 23px; color: var(--ivory); margin-bottom: 4px; }
.mission__list p { color: var(--text-soft); line-height: 1.7; font-size: 15px; }
.cta-band { padding: clamp(90px, 10vw, 140px) 0; text-align: center; background: linear-gradient(180deg, var(--wine-800), var(--wine)); }
.cta-band__inner { display: grid; justify-items: center; gap: 16px; }

/* ---------- Contact / FAQs / size / docs ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.ccard { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line-soft); transition: border-color .3s, background .3s; }
a.ccard:hover { border-color: var(--blush); background: rgba(242, 191, 196, .05); }
.ccard > svg { width: 34px; height: 32px; color: var(--blush); flex: none; }
.ccard h3 { font-size: 11px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--blush); margin-bottom: 3px; }
.ccard p { color: var(--ivory); font-family: var(--f-serif); font-size: 19px; }
.contact__help { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.contact__help p { width: 100%; color: var(--text-soft); font-size: 14px; }
.contact__form { display: grid; gap: 22px; justify-items: start; }
.contact__form .fields { width: 100%; }

.faqs__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; max-width: 1100px; margin: 0 auto; }
.faqs__nav { display: grid; gap: 4px; position: sticky; top: calc(var(--hdr-h) + 24px); border-left: 1px solid var(--line-soft); }
.faqs__nav a { padding: 8px 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); transition: color .3s, box-shadow .3s; }
.faqs__nav a:hover { color: var(--blush); box-shadow: inset 2px 0 0 var(--blush); }
.faqs__group { margin-bottom: 50px; scroll-margin-top: calc(var(--hdr-h) + 30px); }
.faqs__group h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); color: var(--ivory); margin-bottom: 8px; }
.faqs__cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.faqs__cta .card__title { margin-bottom: 4px; }

.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tabs__tab { padding: 12px 26px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; transition: all .3s; }
.tabs__tab.is-active, .tabs__tab:hover { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.sizeg__grid > * { min-width: 0; }
.sizeg__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.sizeg__how { display: grid; gap: 18px; }
.sizeg__figure { width: 120px; height: 200px; color: var(--text-soft); justify-self: center; }
.sizeg__tips { display: grid; gap: 10px; }
.sizeg__tips li { color: var(--text); line-height: 1.7; padding-left: 18px; position: relative; }
.sizeg__tips li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border: 1px solid var(--blush); transform: rotate(45deg); }
.sizeg__tips b { font-weight: 400; color: var(--blush); }
.sizeg__how a, .faqs a:not(.btn):not(.chip) { color: var(--blush); }

.doc__grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(30px, 6vw, 100px); justify-content: center; align-items: start; }
.doc__toc { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; }
.doc__toc nav { display: grid; border-left: 1px solid var(--line-soft); }
.doc__toc a { padding: 7px 16px; font-size: 14px; color: var(--text-soft); transition: color .3s, box-shadow .3s; }
.doc__toc a:hover, .doc__toc a.is-active { color: var(--blush); box-shadow: inset 2px 0 0 var(--blush); }
.prose { color: var(--text); line-height: 1.9; font-size: 16.5px; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(25px, 2.4vw, 32px); color: var(--ivory); margin: 46px 0 14px; scroll-margin-top: calc(var(--hdr-h) + 30px); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blush); }
.prose strong { color: var(--ivory); font-weight: 500; }
.prose a { color: var(--blush); border-bottom: 1px solid rgba(242, 191, 196, .4); }
.prose__updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.doc__more { margin-top: 80px; display: grid; justify-items: center; gap: 18px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
    .grid--4 { grid-template-columns: repeat(3, 1fr); }
    .values__grid { grid-template-columns: repeat(2, 1fr); }
    .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .cartp__grid, .checkout__grid, .thanks__grid { grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 1080px) {
    .page-product .hdr, .page-thanks .hdr, .page-auth .hdr, .page-soon .hdr { --hdr-h: 64px; }
    .shop__layout { grid-template-columns: 1fr; }
    .shop__filter-btn { display: inline-flex; }
    .filters {
        position: fixed; z-index: 165; top: 0; bottom: 0; left: 0; width: min(380px, 90vw); max-height: none;
        background: linear-gradient(180deg, var(--wine-800), var(--wine-900)); padding: 0 24px 30px;
        transform: translateX(-102%); transition: transform .5s var(--ease-out);
    }
    .filters.is-open { transform: none; }
    .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; padding: 22px 0; margin-bottom: 20px; background: var(--wine-800); border-bottom: 1px solid var(--line-soft); }
    .filters__head h2 { font-family: var(--f-serif); font-weight: 500; font-size: 28px; color: var(--ivory); }
    .filters__close { width: 40px; height: 40px; display: grid; place-items: center; }
    .filters__close svg { font-size: 22px; }
    .filters__scrim { display: block; position: fixed; inset: 0; z-index: 164; background: rgba(15, 6, 8, .6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
    .filters.is-open + .filters__scrim { opacity: 1; visibility: visible; transition: opacity .4s; }
    .grid { grid-template-columns: repeat(3, 1fr); }

    .pdp__grid { grid-template-columns: 1fr; }
    .pdp__gallery { position: static; grid-template-columns: 1fr; }
    .pdp__thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 70px; overflow-x: auto; }
    .pdp-bar {
        display: flex; position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 14px;
        padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(28, 13, 16, .96); border-top: 1px solid var(--line-soft);
        transform: translateY(110%); transition: transform .45s var(--ease);
    }
    .pdp-bar.is-on { transform: none; }
    .pdp-bar div { display: grid; min-width: 0; }
    .pdp-bar b { font-family: var(--f-serif); font-weight: 500; font-size: 17px; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pdp-bar span { font-size: 13px; color: var(--blush); }
    .page-product .wa-float { bottom: 86px; }

    .cartp__grid, .checkout__grid, .thanks__grid, .contact__grid, .account__grid, .sizeg__grid { grid-template-columns: 1fr; }
    .summary--sticky { position: static; }
    .account__nav { position: static; grid-auto-flow: column; overflow-x: auto; }
    .account__nav a, .account__nav button { border-bottom: 0; border-right: 1px solid var(--line-soft); white-space: nowrap; }
    .faqs__grid, .doc__grid { grid-template-columns: 1fr; }
    .faqs__nav, .doc__toc { position: static; }
    .faqs__nav { grid-auto-flow: column; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line-soft); }
    .faqs__nav a { white-space: nowrap; }
    .doc__toc { display: none; }
    .auth { grid-template-columns: 1fr; }
    .auth__art { display: none; }
    .split__grid, .mission__grid { grid-template-columns: 1fr; }
    .split--rev .split__media { order: 0; }
    .split__media, .mission__media { justify-self: start; max-width: 88%; }
}

@media (max-width: 820px) {
    .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
    .shop__bar { flex-wrap: wrap; gap: 12px; }
    .shop__count { order: 3; width: 100%; margin: 0; }
    .shop__sort { margin-left: auto; }
    .shop__sort label { display: none; }
    .shop .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
    .shop .chips .chip { white-space: nowrap; }
    .pcard__name { font-size: 18px; }
    .pcard__quick { display: none; }

    .cartp__head { display: none; }
    .cline { grid-template-columns: 84px 1fr 34px; grid-template-areas: "img info rm" "img qty total"; gap: 10px 14px; }
    .cline__img { grid-area: img; } .cline__info { grid-area: info; } .cline__qty { grid-area: qty; } .cline__total { grid-area: total; justify-self: end; align-self: center; } .cline__remove { grid-area: rm; }
    .cline__name { font-size: 19px; }
    .qty { grid-template-columns: 38px 40px 38px; height: 46px; }
    .pdp__buy { grid-template-columns: auto 1fr; }
    .pdp__wish { grid-column: 2; justify-self: end; display: none; }
    .fields { grid-template-columns: 1fr; }
    .steps li { font-size: 10px; letter-spacing: .14em; gap: 8px; }
    .steps span { width: 28px; height: 28px; }
    .otl { grid-template-columns: 1fr; gap: 16px; }
    .otl li { grid-template-columns: 17px 1fr; justify-items: start; text-align: left; gap: 14px; align-items: center; }
    .otl li::before { left: 8px; right: auto; top: -16px; height: 16px; width: 1px; }
    .track__top { flex-direction: column; }
    .values__grid, .process__list { grid-template-columns: 1fr; }
    .vision__curtain { width: 6vw; }
    .summary { padding: 22px; }
}

@media (max-width: 420px) {
    .grid, .grid--4 { gap: 26px 10px; }
    .pcard__body { padding-top: 12px; }
    .pcard__cat { font-size: 9px; letter-spacing: .2em; }
    .pcard__name { font-size: 16.5px; }
    .pcard__price { font-size: 12.5px; }
    .pcard__wish { width: 32px; height: 32px; }
    .pcard__wish svg { font-size: 16px; }
}

/* ==========================================================================
   PRODUCT DETAILS: tabs, specs, reviews, stars, share
   ========================================================================== */
.stars { position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.stars__base { color: rgba(242, 191, 196, .25); }
.stars__fill { position: absolute; left: 0; top: 0; width: var(--fill); overflow: hidden; white-space: nowrap; color: var(--blush); }
.stars-line { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-soft); width: fit-content; }
.stars-line:hover span:last-child { color: var(--blush); }
.pcard__rating { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-soft); }
.pcard__rating .stars { font-size: 12px; }
.pcard__badge--out { background: rgba(28, 13, 16, .85); color: var(--text-soft); border: 1px solid var(--line-soft); }
.pcard.is-soldout .pcard__media img { opacity: .55; filter: grayscale(.4); }
.pdp__range { font-size: 13px; color: var(--text-soft); margin-top: -6px; }
.pdp__perks a { color: var(--blush); border-bottom: 1px solid rgba(242, 191, 196, .4); }
.pdp__meta { display: grid; gap: 10px; font-size: 13.5px; color: var(--text); }
.pdp__meta span { display: inline-block; min-width: 82px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }
.pdp__meta b { font-weight: 400; letter-spacing: .06em; }
.pdp__meta a:hover { color: var(--blush); }
.share { display: flex; align-items: center; gap: 8px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-soft); display: grid; place-items: center; transition: all .3s; }
.share a:hover, .share button:hover { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.share svg { font-size: 16px; }

.ptabs { padding: 10px 0 80px; }
.tabs__list--line { justify-content: flex-start; gap: 0; border-bottom: 1px solid var(--line-soft); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs__list--line .tabs__tab { border: 0; border-bottom: 2px solid transparent; padding: 18px 26px; white-space: nowrap; margin-bottom: -1px; }
.tabs__list--line .tabs__tab:hover { background: none; color: var(--blush); }
.tabs__list--line .tabs__tab.is-active { background: none; color: var(--blush); border-bottom-color: var(--blush); }
.ptabs__prose { max-width: 860px; }
.prose h3 { font-family: var(--f-serif); font-weight: 500; font-size: 24px; color: var(--ivory); margin: 28px 0 10px; }
.prose em { color: var(--text-soft); }
.spec { width: 100%; max-width: 860px; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec th { width: 220px; font-weight: 400; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); }
.spec tr:nth-child(odd) { background: rgba(251, 229, 229, .025); }
.ptabs__size { max-width: 900px; display: grid; gap: 16px; justify-items: start; }
.ptabs__size .chart { width: 100%; }

.reviews { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.reviews__summary { display: grid; gap: 10px; justify-items: start; padding: 28px; border: 1px solid var(--line-soft); position: sticky; top: calc(var(--hdr-h) + 24px); }
.reviews__score { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: 56px; line-height: 1; color: var(--ivory); }
.reviews__summary .stars { font-size: 20px; }
.reviews__bars { width: 100%; display: grid; gap: 6px; margin-top: 8px; }
.reviews__bars li { display: grid; grid-template-columns: 30px 1fr 24px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-soft); }
.reviews__bars i { height: 4px; background: rgba(251, 229, 229, .1); display: block; }
.reviews__bars b { display: block; height: 100%; background: var(--blush); }
.reviews__list { display: grid; gap: 22px; }
.reviews__none { font-family: var(--f-serif); font-style: italic; font-size: 21px; color: var(--text-soft); }
.review { padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 8px; }
.review__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.review h3 { font-family: var(--f-serif); font-weight: 500; font-size: 21px; color: var(--ivory); }
.review p { color: var(--text); line-height: 1.75; }
.review__by { font-size: 11px !important; letter-spacing: .22em; text-transform: uppercase; color: var(--blush) !important; }
.review__by .muted { color: var(--text-soft); letter-spacing: .16em; }
.review__reply { margin-top: 6px; padding: 14px 16px; border-left: 2px solid var(--blush); background: rgba(242, 191, 196, .05); display: grid; gap: 4px; }
.review__reply b { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); font-weight: 500; }
.review-form { display: grid; gap: 18px; justify-items: start; }
.review-form .fields { width: 100%; }
.rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { font-size: 30px; line-height: 1; cursor: pointer; color: rgba(242, 191, 196, .25); transition: color .2s, transform .2s; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--blush); }
.rate label:hover { transform: scale(1.12); }
.rate input:focus-visible + label { outline: 1px solid var(--blush); outline-offset: 2px; }

/* ==========================================================================
   BAG / CHECKOUT EXTRAS: coupon, rates, WhatsApp
   ========================================================================== */
.totals { display: grid; gap: 18px; }
.totals.is-busy { opacity: .55; pointer-events: none; transition: opacity .2s; }
.coupon { display: grid; gap: 8px; }
.coupon__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }
.coupon__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon__row input { min-height: 46px; padding: 10px 14px; background: rgba(251, 229, 229, .04); border: 1px solid var(--line); color: var(--ivory); font: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.coupon__row input:focus { outline: 0; border-color: var(--blush); }
.coupon__row .btn { --bh: 46px; }
.coupon__applied { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed var(--blush); background: rgba(242, 191, 196, .06); font-size: 14px; }
.coupon__applied svg { width: 22px; height: 20px; color: var(--blush); }
.coupon__applied b { color: var(--blush); font-weight: 500; letter-spacing: .1em; margin-right: 4px; }
.coupon__applied button { margin-left: auto; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); border-bottom: 1px solid currentColor; }
.sum__discount dd, .sum__discount dt { color: #a8dbb1 !important; }
.sum dt small { display: block; font-size: 11.5px; color: var(--text-soft); opacity: .8; }
.sum__note { font-size: 12.5px; color: var(--text-soft); }
.check--wa { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line-soft); }
.check--wa span { display: flex; align-items: center; gap: 10px; }
.check--wa svg { font-size: 20px; color: #9fd3a8; }
.rates { border-top: 1px solid var(--line-soft); padding-top: 4px; }
.rates summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.rates summary::-webkit-details-marker { display: none; }
.rates summary svg { font-size: 18px; color: var(--blush); transition: transform .3s; }
.rates[open] summary svg { transform: rotate(180deg); }
.rates table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rates th, .rates td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-weight: 400; }
.rates td { color: var(--text-soft); padding-left: 10px; }
.rates td:nth-child(2) { color: var(--blush); white-space: nowrap; }
.rates-table { margin: 18px 0 8px; }
.rates-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates-table th, .rates-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.rates-table thead th { font-weight: 400; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); background: rgba(242, 191, 196, .06); }
.rates-table tbody th { font-weight: 400; color: var(--ivory); }
.bagd__wa { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a8dbb1; padding: 4px 0; }
.bagd__wa svg { font-size: 18px; }
.bagd__wa:hover { color: var(--ivory); }
.wa-handoff {
    display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center;
    max-width: 900px; margin: -20px auto 44px; padding: 20px 24px;
    border: 1px solid rgba(159, 211, 168, .45); background: rgba(159, 211, 168, .07);
}
.wa-handoff > svg { font-size: 34px; color: #9fd3a8; }
.wa-handoff b { display: block; font-weight: 400; color: var(--ivory); font-size: 16px; }
.wa-handoff p { color: var(--text-soft); font-size: 14px; }

@media (max-width: 1080px) {
    .reviews { grid-template-columns: 1fr; }
    .reviews__summary { position: static; }
}
@media (max-width: 820px) {
    .spec th { width: 42%; }
    .wa-handoff { grid-template-columns: auto 1fr; }
    .wa-handoff .btn { grid-column: 1 / -1; }
    .wa-handoff [data-wa-cancel] { grid-column: 1 / -1; justify-self: center; }
    .tabs__list--line .tabs__tab { padding: 16px 18px; }
}

.soon .shop__search { width: min(520px, 100%); margin: 6px auto 0; }
.tabs__list--line { flex-wrap: nowrap; }
@media (max-width: 1080px) {
    .pdp__thumbs { height: auto; min-height: 0; overflow-y: visible; overflow-x: auto; }
}

/* ==========================================================================
   PRODUCT IMAGES: card hover swap, swatches, PDP zoom stage, lightbox
   ========================================================================== */
.pcard__media { background: #2f171c; }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity .6s var(--ease), transform 1.3s var(--ease); }
.pcard__img--hover { opacity: 0; }
@media (hover: hover) {
    .pcard:hover .pcard__img--hover { opacity: 1; }
    .pcard:hover .pcard__img:not(.pcard__img--hover) { opacity: 0; }
}
.pcard__swatches { display: flex; gap: 6px; margin: 2px 0 2px; }
.pcard__swatches i { width: 13px; height: 13px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 0 0 1px rgba(0,0,0,.25); }

.pdp__thumb[hidden] { display: none; }
.pdp__thumb img { aspect-ratio: 4 / 5; }
.pdp__stage { position: relative; }
.pdp__main { aspect-ratio: 4 / 5; cursor: zoom-in; outline-offset: 4px; }
.pdp__main img { object-position: center; }
.pdp__lens {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-repeat: no-repeat; background-size: 240% auto; background-color: #2f171c;
    opacity: 0; transition: opacity .35s var(--ease);
}
.pdp__main.is-zooming .pdp__lens { opacity: 1; }
.pdp__main.is-zooming .pdp__hint { opacity: 0; }
.pdp__main .pcard__badge { z-index: 3; }
.pdp__hint {
    position: absolute; z-index: 3; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
    background: rgba(28, 13, 16, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory);
    transition: opacity .3s;
}
.pdp__hint svg { font-size: 15px; color: var(--blush); }
.pdp__hint-touch { display: none; }
@media (hover: none) { .pdp__hint-desk { display: none; } .pdp__hint-touch { display: inline; } }
.pdp__nav {
    position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(28, 13, 16, .6); color: var(--ivory); opacity: 0; transition: opacity .3s, background .3s;
}
.pdp__nav svg { font-size: 20px; }
.pdp__nav--prev { left: 12px; }
.pdp__nav--next { right: 12px; }
.pdp__stage:hover .pdp__nav { opacity: 1; }
.pdp__nav:hover { background: var(--blush); color: var(--wine-900); }
.pdp__count { position: absolute; z-index: 3; right: 14px; bottom: 14px; padding: 6px 10px; background: rgba(28, 13, 16, .72); font-size: 11px; letter-spacing: .14em; color: var(--ivory); }
.is-single .pdp__nav, .is-single .pdp__count { display: none; }

.lightbox {
    position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
    background: rgba(18, 8, 10, .97); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lightbox__close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ivory); }
.lightbox__close svg { font-size: 26px; }
.lightbox__count { padding: 22px 0 10px; font-size: 12px; letter-spacing: .24em; color: var(--text-soft); }
.lightbox__stage { position: relative; width: min(100vw, 900px); height: 100%; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .45s var(--ease); user-select: none; -webkit-user-drag: none; }
.lightbox__stage.is-zoomed img { transform: scale(2.2); cursor: zoom-out; }
.lightbox__nav {
    position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); color: var(--ivory); transition: background .3s, color .3s;
}
.lightbox__nav svg { font-size: 22px; }
.lightbox__nav:hover { background: var(--blush); color: var(--wine-900); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__thumbs { display: flex; gap: 8px; padding: 14px 16px 20px; max-width: 100vw; overflow-x: auto; scrollbar-width: none; }
.lightbox__thumbs button { flex: 0 0 56px; aspect-ratio: 4 / 5; opacity: .45; border: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.lightbox__thumbs button.is-active, .lightbox__thumbs button:hover { opacity: 1; border-color: var(--blush); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__thumbs { display: none; }

@media (max-width: 1080px) {
    .pdp__nav { opacity: 1; width: 38px; height: 38px; }
    .pdp__thumbs { grid-auto-columns: 64px; }
}
@media (max-width: 820px) {
    .lightbox__nav { display: none; }
}

/* ==========================================================================
   MOBILE TAB BAR (app-style bottom navigation)
   ========================================================================== */
.tabbar { display: none; }

@media (max-width: 820px) {
    :root { --tabbar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .tabbar {
        display: grid; grid-template-columns: repeat(4, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
        height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(28, 13, 16, .96);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--line-soft);
        box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
    }
    .tabbar__item {
        position: relative; display: grid; justify-items: center; align-content: center; gap: 5px;
        font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft);
        -webkit-tap-highlight-color: transparent; transition: color .25s;
    }
    .tabbar__item svg { font-size: 23px; transition: transform .2s var(--ease); }
    .tabbar__item:active svg { transform: scale(.88); }
    .tabbar__item::before {
        content: ''; position: absolute; top: 0; left: 50%; width: 26px; height: 2px; border-radius: 2px;
        background: var(--blush); transform: translateX(-50%) scaleX(0); transition: transform .3s var(--ease);
    }
    .tabbar__item.is-active { color: var(--blush); }
    .tabbar__item.is-active::before { transform: translateX(-50%) scaleX(1); }
    .tabbar__icon { position: relative; display: inline-grid; }
    .tabbar__badge {
        position: absolute; top: -6px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
        background: var(--blush); color: var(--wine-900); font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 18px; text-align: center;
        box-shadow: 0 0 0 2px #1c0d10;
    }
    .tabbar__badge[data-empty] { display: none; }
    .tabbar__badge.is-bump { animation: badgeBump .5s var(--ease); }
    @keyframes badgeBump { 40% { transform: scale(1.35); } }

    /* Make room for the bar and lift the floating pieces above it */
    body.has-tabbar { padding-bottom: var(--tabbar-h); }
    .has-tabbar .wa-float { bottom: calc(var(--tabbar-h) + 14px); }
    .has-tabbar .toast { bottom: calc(var(--tabbar-h) + 14px); }
    .has-tabbar .pdp-bar { bottom: var(--tabbar-h); padding-bottom: 12px; }
    .has-tabbar.page-product .wa-float { bottom: calc(var(--tabbar-h) + 84px); }
    .has-tabbar .hdr__icon[data-bag-open] { display: none; }
    .has-tabbar .ftr__bottom { padding-bottom: 30px; }
}

/* Closing overlays must never swallow taps while they fade out */
.bagd:not(.is-open), .drawer:not(.is-open), .search:not(.is-open), .modal:not(.is-open), .lightbox:not(.is-open) { pointer-events: none; }

/* ==========================================================================
   MEGA MENU v2: collections, discover, swatches, sizes, promo cards
   ========================================================================== */
.mega__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(30px, 3vw, 54px); align-items: stretch; }
.mega__cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: clamp(22px, 2.2vw, 36px); align-content: start; }
.mega__col li + li { margin-top: 9px; }
.mega__col a:not(.mega__title) { font-size: 18px; }
p.mega__title { cursor: default; }
.mega__title--gap { margin-top: 28px; }
.mega__swatches { display: grid; gap: 9px; }
.mega__swatches a { display: flex; align-items: center; gap: 10px; font-family: var(--f-serif); font-size: 17px; color: var(--text); transition: color .3s; }
.mega__swatches a:hover { color: var(--blush); }
.mega__swatches i { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); flex: none; }
.mega__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.mega__sizes a { min-width: 42px; height: 36px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); font-size: 12.5px; letter-spacing: .1em; transition: all .3s; }
.mega__sizes a:hover { background: var(--blush); color: var(--wine-900); border-color: var(--blush); }
.mega__promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega__promo { display: block; min-height: 300px; }
.mega__promo img { object-position: center 30%; }
.mega__promo-text { padding: 70px 20px 20px; gap: 4px; background: linear-gradient(transparent, rgba(28, 13, 16, .92) 55%); }
.mega__promo-text b { font-size: 21px; line-height: 1.1; }
.mega__promo-text em { font-size: 16px; color: var(--text); }
.mega__promo-cta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--blush); }
.mega__promo-cta small { font-size: 10.5px; letter-spacing: .12em; color: var(--text-soft); text-transform: none; }
.mega__promo-cta svg { font-size: 15px; margin-left: auto; transition: transform .4s var(--ease); }
.mega__promo:hover .mega__promo-cta svg { transform: translateX(4px); }
.mega__badge {
    position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 11px;
    background: var(--blush); color: var(--wine-900); font-size: 9.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
@media (max-width: 1280px) {
    .mega__inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
    .mega__promos { grid-template-columns: 1fr; }
    .mega__promo { display: block !important; }
    .mega__promo:nth-child(2) { display: none !important; }
}

/* ==========================================================================
   ANNOUNCEMENT BAR + HOME PROMO SECTION
   ========================================================================== */
.announce { position: relative; z-index: 101; height: 36px; overflow: hidden; background: var(--blush); color: var(--wine-900); }
.announce__track { display: flex; width: max-content; height: 100%; align-items: center; animation: announce 38s linear infinite; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.announce__item::after { content: ''; width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); margin-left: 28px; opacity: .6; }
.announce__item a { border-bottom: 1px solid currentColor; }
@keyframes announce { to { transform: translateX(-50%); } }
.has-announce .hdr { top: 36px; }
.has-announce .hdr.is-scrolled { top: 0; }
.has-announce .hdr { transition: opacity 1s .2s var(--ease), background .5s var(--ease), height .5s var(--ease), border-color .5s, top .4s var(--ease); }
.is-intro .announce { opacity: 0; }

.promos { padding: clamp(90px, 9vw, 130px) 0; background: linear-gradient(180deg, var(--wine-900), var(--wine-800)); }
.promos__grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.promo { position: relative; overflow: hidden; display: block; min-height: 260px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.promo--big { grid-row: 1 / 3; min-height: 560px; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.5s var(--ease); }
.promo:hover img { transform: scale(1.05); }
.promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,13,16,.88) 0%, rgba(28,13,16,.55) 45%, rgba(28,13,16,.05) 80%); }
.promo__body { position: absolute; z-index: 2; left: clamp(22px, 3vw, 46px); bottom: clamp(22px, 3vw, 44px); right: 30%; display: grid; gap: 12px; justify-items: start; }
.promo__badge { padding: 6px 12px; background: var(--blush); color: var(--wine-900); font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.promo__title { font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 32; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; color: var(--ivory); text-transform: uppercase; }
.promo--big .promo__title { font-size: clamp(34px, 3.6vw, 56px); }
.promo__line { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.5vw, 22px); color: var(--text); }
.promo__price { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blush); }
.promo .btn { margin-top: 6px; }
.promo:hover .btn--ghost { border-color: var(--blush); color: var(--blush); }

@media (max-width: 820px) {
    .announce { height: 32px; }
    .has-announce .hdr { top: 32px; }
    .announce__item { font-size: 10px; padding: 0 18px; }
    .promos__grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .promo--big { grid-row: auto; min-height: 480px; }
    .promo { min-height: 300px; }
    .promo__body { right: 22px; }
}

.promo--big::after { background: linear-gradient(0deg, rgba(28,13,16,.94) 0%, rgba(28,13,16,.55) 34%, rgba(28,13,16,0) 62%); }
.promo--big .promo__body { right: clamp(22px, 3vw, 46px); }
.promo--big img { object-position: center 20%; }

.mega__inner--wide { grid-template-columns: minmax(0, 1fr) clamp(240px, 21vw, 300px); }
.mega__inner--wide .mega__promos { grid-template-columns: 1fr; }
.mega__inner--wide .mega__cols { grid-auto-columns: minmax(120px, auto); }
.mega__swatches--grid { grid-template-columns: repeat(2, minmax(0, auto)); column-gap: 22px; }
@media (max-width: 1280px) {
    .mega__inner--wide { grid-template-columns: minmax(0, 1fr) 220px; }
    .mega__inner--wide .mega__cols { gap: 20px; }
}

/* Laptops: keep the split nav clear of the icons now that "Ready to Wear" is longer */
@media (max-width: 1400px) and (min-width: 1081px) {
    .hdr__inner { gap: 22px; padding-left: calc(var(--gutter) + 150px); padding-right: calc(var(--gutter) + 150px); }
    .hdr__nav { gap: clamp(14px, 1.5vw, 24px); }
    .hdr__link { font-size: 11px; letter-spacing: .18em; }
}
@media (max-width: 1200px) and (min-width: 1081px) {
    .hdr__inner { gap: 16px; padding-left: calc(var(--gutter) + 118px); padding-right: calc(var(--gutter) + 118px); }
    .hdr__nav { gap: 13px; }
    .hdr__link { font-size: 10.5px; letter-spacing: .13em; }
}

/* Promo tiles: room for every line, smaller type on the two side tiles */
.promos__grid { grid-template-rows: repeat(2, minmax(310px, 1fr)); }
.promo:not(.promo--big) .promo__title { font-size: clamp(22px, 1.9vw, 30px); }
.promo:not(.promo--big) .promo__body { right: auto; max-width: 68%; gap: 9px; }
.promo:not(.promo--big) img { object-position: center 30%; }
@media (max-width: 820px) {
    .promos__grid { grid-template-rows: none; }
    .promo.promo--big { min-height: 500px; }
    .promo.promo--big img { object-position: 38% 20%; }
    .promo:not(.promo--big) { min-height: 340px; }
    .promo:not(.promo--big) .promo__body { max-width: none; right: 22px; }
}

.promo--right::after { background: linear-gradient(260deg, rgba(28,13,16,.9) 0%, rgba(28,13,16,.6) 45%, rgba(28,13,16,.05) 80%); }
.promo.promo--right .promo__body { left: auto; right: clamp(22px, 3vw, 46px); justify-items: end; text-align: right; }
.promo.promo--right img { object-position: left center; }
@media (max-width: 820px) { .promo.promo--right .promo__body { left: 22px; } }

@media (max-width: 820px) {
    .toast { left: 16px; right: 16px; max-width: none; transform: translateY(20px); }
    .toast.is-on { transform: none; }
}

/* Saved addresses (account and checkout) */
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 24px; }
.addr { display: grid; gap: 10px; }
.addr p { color: var(--text); line-height: 1.7; }
.addr__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blush) !important; display: flex; gap: 10px; align-items: center; }
.addr__default { font-size: 10px; letter-spacing: .16em; padding: 3px 8px; border: 1px solid var(--line); color: var(--ivory); }
.addr__actions { display: flex; gap: 18px; }
.saved-addr { margin-bottom: 18px; }
.saved-addr select { width: 100%; }

/* ==========================================================
   Page-builder sections (resources/views/sections)
   ========================================================== */
.best--plain { padding: clamp(90px, 10vw, 140px) 0; }
.best--plain .rail--products { margin-top: 0; }
.products--grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 2.6vw, 40px) clamp(16px, 1.8vw, 26px); }
.cms-text { padding: clamp(80px, 9vw, 120px) 0; background: var(--wine-900); }
.cms-text__inner { max-width: 820px; display: grid; gap: 18px; }
.cms-text--center .cms-text__inner { text-align: center; justify-items: center; }
.cms-faq { padding: clamp(90px, 10vw, 140px) 0; background: var(--wine-900); }
.cms-faq__inner { max-width: 860px; }
.cms-reviews { padding: clamp(90px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--wine-800), var(--wine-900)); }
.cms-reviews__score { display: flex; justify-content: center; align-items: center; gap: 12px; margin: -30px 0 40px; color: var(--text-soft); font-size: 14px; letter-spacing: .08em; }
.cms-reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.cms-review { display: grid; gap: 10px; align-content: start; padding: 28px; border: 1px solid var(--line-soft); background: rgba(251, 229, 229, .03); }
.cms-review h3 { font-family: var(--f-serif); font-weight: 500; font-size: 21px; color: var(--ivory); }
.cms-review p { color: var(--text); line-height: 1.75; }
.cms-review__by { font-size: 11px !important; letter-spacing: .22em; text-transform: uppercase; color: var(--blush) !important; }
.cms-insta { padding: clamp(80px, 9vw, 120px) 0; background: var(--wine-900); }
.cms-insta .display a:hover { color: var(--blush); }
.cms-insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cms-insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.cms-insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cms-insta__item span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(28, 13, 16, .45); opacity: 0; transition: opacity .35s; color: var(--ivory); }
.cms-insta__item span svg { width: 26px; height: 26px; }
.cms-insta__item:hover img { transform: scale(1.06); }
.cms-insta__item:hover span { opacity: 1; }
.cms-news { padding: clamp(80px, 9vw, 120px) 0; text-align: center; background: linear-gradient(180deg, var(--wine-800), var(--wine)); }
.cms-news__inner { display: grid; justify-items: center; gap: 16px; max-width: 640px; }
.cms-news__form { display: flex; gap: 10px; width: 100%; margin-top: 8px; }
.cms-news__form input { flex: 1; min-width: 0; background: transparent; border: 1px solid var(--line); color: var(--ivory); padding: 0 18px; height: 52px; font: inherit; }
.cms-news__form input:focus { outline: 0; border-color: var(--blush); }
.cms-gallery { padding: clamp(80px, 9vw, 120px) 0; background: var(--wine-900); }
.cms-gallery__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(10px, 1.4vw, 18px); }
.cms-gallery__item { margin: 0; display: grid; gap: 10px; }
.cms-gallery__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cms-gallery__item figcaption { font-size: 13px; letter-spacing: .1em; color: var(--text-soft); text-align: center; }
.cms-map { padding: clamp(80px, 9vw, 120px) 0; background: var(--wine-800); }
.cms-map__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.cms-map__text { display: grid; gap: 14px; justify-items: start; color: var(--text); line-height: 1.8; }
.cms-map__frame { aspect-ratio: 16 / 10; border: 1px solid var(--line-soft); }
.cms-map__frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.cms-embed { padding: clamp(70px, 8vw, 110px) 0; background: var(--wine-900); }
.cms-embed__code { display: grid; justify-items: center; }
.cms-embed__code iframe { max-width: 100%; }
.cms-spacer { background: var(--wine-900); display: grid; place-items: center; }
.cms-spacer--small { padding: 30px 0; } .cms-spacer--medium { padding: 60px 0; } .cms-spacer--large { padding: 110px 0; }
/* Builder preview only */
.cms-hidden { opacity: .35; outline: 2px dashed rgba(242, 191, 196, .5); outline-offset: -6px; }
.cms-flash { animation: cmsFlash 1.4s var(--ease); }
@keyframes cmsFlash { 0%, 60% { box-shadow: inset 0 0 0 3px var(--blush); } 100% { box-shadow: none; } }
.cms-empty { padding: 60px 0; text-align: center; color: var(--text-soft); font-family: var(--f-serif); font-style: italic; font-size: 20px; background: var(--wine-900); }
@media (max-width: 1024px) {
    .products--grid { grid-template-columns: repeat(3, 1fr); }
    .cms-insta__grid { grid-template-columns: repeat(3, 1fr); }
    .cms-map__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .products--grid { grid-template-columns: repeat(2, 1fr); }
    .cms-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .cms-news__form { flex-direction: column; }
}
