/* ==========================================================================
   Aadi Prithvi — page-level styles (listing, product, bag, checkout, account, content)
   ========================================================================== */

/* ---- page header + breadcrumbs ---- */
.phead { position: relative; padding: 22px 0 26px; background: linear-gradient(180deg, var(--c-surface), var(--c-bg)); border-bottom: 1px solid var(--c-line); margin-bottom: 26px; }
.phead__ribbon { position: absolute; left: 0; right: 0; bottom: -6px; }
.phead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.phead__title { font-size: clamp(26px, 3.2vw, 40px); }
.phead__intro { color: var(--c-ink-2); margin-top: 6px; max-width: 70ch; }
.phead__count { font-weight: 700; color: var(--c-ink-2); white-space: nowrap; }
.phead__count strong { color: var(--c-ink); font-size: 18px; }
.chips--nav { margin-top: 16px; padding-bottom: 2px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--c-ink-2); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--c-primary); }
.crumbs .ico { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--c-ink); }

/* ---- listing + filters ---- */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: var(--sec); }
.filters { position: sticky; top: calc(var(--hdr-h) + 72px); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 22px; max-height: calc(100vh - var(--hdr-h) - 96px); display: flex; flex-direction: column; overflow: hidden; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-line); }
.filters__head p { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.filters__head .ico { width: 18px; color: var(--c-secondary); }
.filters__close { display: none; }
.filters__form { overflow-y: auto; padding: 4px 16px 16px; display: flex; flex-direction: column; }
.fgroup { padding: 16px 0; border-bottom: 1px dashed var(--c-line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup__title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-2); margin-bottom: 12px; }
.ftree > li { margin-bottom: 10px; }
.ftree__root { font-weight: 800; font-size: 14px; }
.ftree ul { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 0 10px; padding-left: 10px; border-left: 2px solid var(--c-line); }
.ftree ul a { font-size: 13.5px; font-weight: 600; color: var(--c-ink-2); padding: 3px 0; display: block; }
.ftree a:hover { color: var(--c-primary); }
.range { position: relative; height: 30px; margin: 4px 6px 10px; }
.range__track { position: absolute; left: 0; right: 0; top: 13px; height: 5px; border-radius: 5px; background: var(--c-line); }
.range__fill { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, var(--c-accent), var(--c-secondary)); }
.range input[type=range] { position: absolute; left: -6px; right: -6px; width: calc(100% + 12px); top: 4px; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); cursor: grab; }
.range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); cursor: grab; }
.range input[type=range]::-moz-range-track { background: none; }
.range__inputs { display: flex; align-items: center; gap: 8px; }
.range__inputs label { flex: 1; display: flex; align-items: center; height: 42px; border: 1.5px solid var(--c-line-strong); border-radius: 12px; padding: 0 10px; background: var(--c-surface); }
.range__inputs label:focus-within { border-color: var(--c-primary); }
.range__inputs span { font-weight: 800; color: var(--c-ink-2); }
.range__inputs input { width: 100%; border: 0; background: transparent; padding: 0 4px; font-size: 15px; font-weight: 700; outline: none; -moz-appearance: textfield; }
.range__inputs input::-webkit-outer-spin-button, .range__inputs input::-webkit-inner-spin-button { -webkit-appearance: none; }
.range__inputs i { color: var(--c-ink-2); }
.swatches { display: flex; flex-direction: column; gap: 2px; }
.swatch { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; position: relative; }
.swatch:hover { background: var(--c-surface-2); }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); position: relative; flex: none; }
.swatch input:checked + .swatch__dot { box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 4px var(--c-primary); }
.swatch input:checked + .swatch__dot::after { content: ""; position: absolute; inset: 5px 7px 7px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.swatch input:focus-visible + .swatch__dot { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.swatch__name { flex: 1; }
.swatch em { font-style: normal; font-size: 12px; color: var(--c-ink-2); font-weight: 700; }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; position: relative; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { width: 46px; height: 26px; border-radius: 99px; background: var(--c-line-strong); position: relative; transition: background .25s; flex: none; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle input:checked + .toggle__ui { background: var(--c-primary); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.filters__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 8px; padding-top: 14px; position: sticky; bottom: 0; background: var(--c-surface); }
.filters__actions .btn { width: 100%; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar__filter { display: none; }
.toolbar__count { font-weight: 700; color: var(--c-ink-2); margin-right: auto; }
.toolbar__count span { color: var(--c-ink); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; color: var(--c-ink-2); }
.results { position: relative; transition: opacity .2s; min-height: 300px; }
.results.is-loading { opacity: .45; pointer-events: none; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 20px; border: 1.5px dashed var(--c-line-strong); border-radius: 24px; background: var(--c-surface); }
.empty h2 { font-size: 21px; }
.empty p { color: var(--c-ink-2); max-width: 46ch; }
.empty__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); }
.empty__ico .ico { width: 28px; height: 28px; }
.soon { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; padding: clamp(22px, 3vw, 40px); border-radius: 28px; background: var(--c-surface); border: 1px solid var(--c-line); }
.soon__art { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px / 44% 44% 24px 24px; display: grid; place-items: center; }
.soon__art span { font-size: 110px; font-weight: 800; color: rgba(255,255,255,.75); }
.soon__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---- pagination ---- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding: 12px 14px; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-line); }
.pager__info { font-size: 13.5px; font-weight: 700; color: var(--c-ink-2); }
.pager__list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager__num, .pager__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 800; font-size: 14px; border: 1.5px solid var(--c-line); background: var(--c-surface); transition: border-color .2s, background .2s, color .2s; }
.pager__num:hover, .pager__btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager__num.is-current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pager__btn .ico { width: 17px; }
.pager__btn.is-disabled { opacity: .4; pointer-events: none; }
.pager__gap { padding: 0 4px; color: var(--c-ink-2); font-weight: 800; }
.pager__of { display: none; } /* the shop's pager wraps its numbers; "Page 3 of 50" is for small admin screens */

/* ---- custom select (enhanced <select>; the real select stays for forms) ---- */
.cselect { position: relative; display: inline-block; min-width: 200px; }
.cselect--block { display: block; width: 100%; }
.cselect__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface); font-weight: 700; font-size: 14px; color: var(--c-ink); text-align: left; transition: border-color .2s; }
.cselect--block .cselect__btn { height: 50px; font-size: 16px; font-weight: 600; }
.cselect__btn:hover, .cselect.is-open .cselect__btn { border-color: var(--c-primary); }
.cselect__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__btn .ico { width: 17px; transition: transform .25s; }
.cselect.is-open .cselect__btn .ico { transform: rotate(180deg); }
.cselect__list { position: absolute; z-index: 60; left: 0; right: 0; min-width: 200px; top: calc(100% + 6px); max-height: 300px; overflow: auto; padding: 6px; border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--pop); }
.cselect.is-up .cselect__list { top: auto; bottom: calc(100% + 6px); }
.cselect__search { width: 100%; height: 38px; margin-bottom: 6px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface-2); font-size: 14px; outline: none; }
.cselect__opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; text-align: left; }
.cselect__opt:hover, .cselect__opt.is-hl { background: var(--c-primary-tint); color: var(--c-primary); }
.cselect__opt[aria-selected="true"] { color: var(--c-primary); font-weight: 800; }
.cselect__opt[aria-selected="true"]::after { content: ""; width: 7px; height: 12px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-2px, -2px); flex: none; }
.cselect select { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }

@media (max-width: 1160px) { .listing { grid-template-columns: 250px minmax(0, 1fr); } }
@media (max-width: 1024px) {
    .listing { grid-template-columns: 1fr; }
    .filters { position: fixed; z-index: 96; left: 0; right: 0; top: auto; bottom: 0; max-height: 86vh; border-radius: 26px 26px 0 0; transform: translateY(105%); transition: transform .45s var(--ease), visibility .45s; visibility: hidden; padding-bottom: var(--safe-b); }
    .filters.is-open { transform: none; visibility: visible; }
    .filters__close { display: inline-flex; }
    .toolbar__filter { display: inline-flex; }
    .toolbar__sort > span { display: none; }
    .soon { grid-template-columns: 1fr; }
    .soon__art { max-width: 260px; }
}
@media (max-width: 768px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pager__info { width: 100%; text-align: center; } .pager { justify-content: center; } .pager__btn span { display: none; } }
@media (max-width: 420px) {
    .grid .pcard__body { padding: 10px 10px 12px; }
    .grid .pcard__title { font-size: 13.5px; }
    .grid .pcard__price strong { font-size: 16px; }
    .grid .pcard__btn { height: 40px; font-size: 12px; }
    .grid .pcard__btn .ico { display: none; }
    .grid .tag--line { display: none; }
    .toolbar .cselect { min-width: 0; }
    .toolbar__count { font-size: 13px; }
}

/* ---- carousels: four or fewer items sit centred and static; the fifth turns it into a carousel ---- */
.carousel.is-static .carousel__track { justify-content: center; }
.soon__art { width: 140px; height: 140px; border-radius: 40px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fest-gold), var(--fest-red)); color: #fff; }
.soon__art .ico { width: 56px; height: 56px; }
.cat-tile__meta .ico { width: 14px; height: 14px; display: inline; vertical-align: -2px; transition: transform .3s var(--ease); }
.cat-tile:hover .cat-tile__meta .ico { transform: translateX(3px); }

/* ---- offer price (regular price struck through + % off) ---- */
.pcard__price { position: relative; }
.price-off { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; background: linear-gradient(135deg, #1FA673, #157A52); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.pcard__save { display: block; width: 100%; font-size: 12px; font-weight: 700; color: #157A52; }
:root[data-theme="dark"] .pcard__save { color: #7FD8AE; }
.offer-ribbon { position: absolute; z-index: 3; left: 0; bottom: 14px; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 12px 0 10px; background: var(--c-secondary); color: #fff; font-size: 12.5px; font-weight: 800; border-radius: 0 8px 8px 0; box-shadow: 0 8px 18px -8px rgba(232, 69, 44, .7); }
.offer-ribbon::after { content: ""; position: absolute; right: -8px; top: 0; border-style: solid; border-width: 14px 0 14px 8px; border-color: transparent transparent transparent var(--c-secondary); }
.offer-ribbon .ico { width: 13px; height: 13px; }

/* ---- card actions: quick view + WhatsApp ---- */
.pcard__qv { position: absolute; z-index: 3; top: 54px; right: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #1B2033; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--ease), color .2s; }
.pcard__qv .ico { width: 19px; height: 19px; }
.pcard:hover .pcard__qv, .pcard__qv:focus-visible { opacity: 1; transform: none; }
.pcard__qv:hover { color: var(--c-primary); }
@media (hover: none) { .pcard__qv { opacity: 1; transform: none; } }
.pcard__actions { display: flex; gap: 8px; margin-top: 8px; }
.pcard__actions .pcard__btn { flex: 1; margin-top: 0; }
.pcard__wa { position: relative; z-index: 2; width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #E7F8EE; color: #128C4A; transition: background .2s, color .2s; }
.pcard__wa:hover { background: #1FAF5A; color: #fff; }
.pcard__wa .ico { width: 21px; height: 21px; }
:root[data-theme="dark"] .pcard__wa { background: rgba(31,175,90,.15); color: #7FE0A8; }

/* ---- floating WhatsApp ---- */
.wa-float { position: fixed; z-index: 84; left: 18px; bottom: calc(18px + var(--tab-h) + var(--safe-b)); display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 99px; background: #1FAF5A; color: #fff; font-weight: 800; font-size: 14.5px; box-shadow: 0 16px 30px -12px rgba(18, 140, 74, .6); transition: transform .3s var(--ease), opacity .3s; animation: bubIn .6s .4s var(--ease) both; }
.wa-float .ico { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid #1FAF5A; opacity: .5; animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { transform: scale(.95); opacity: .6; } 70% { transform: scale(1.12); opacity: 0; } 100% { opacity: 0; } }
.wa-float.is-tucked { transform: translateY(160%); opacity: 0; pointer-events: none; }
@media (max-width: 1024px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; left: 14px; } .wa-float span { display: none; } }
/* desktop: a round button (it no longer covers the start of section headings); the words slide out on hover / focus */
@media (min-width: 1025px) {
    .wa-float { width: 56px; padding: 0; justify-content: center; }
    .wa-float span { position: absolute; left: calc(100% + 10px); top: 50%; padding: 9px 15px; border-radius: 99px; background: #1FAF5A; color: #fff; font-size: 13.5px; white-space: nowrap; box-shadow: 0 12px 26px -12px rgba(18, 140, 74, .6); opacity: 0; transform: translate(-8px, -50%); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
    .wa-float:hover span, .wa-float:focus-visible span { opacity: 1; transform: translate(0, -50%); }
}
/* back to top: appears once the visitor has scrolled a screen or so */
.totop { position: fixed; z-index: 84; left: 18px; bottom: calc(18px + 56px + 12px + var(--tab-h) + var(--safe-b)); width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: var(--c-primary); background: color-mix(in srgb, var(--c-surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--c-line); box-shadow: 0 14px 28px -16px rgba(14, 18, 48, .55); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), color .2s, border-color .2s; }
.totop .ico { width: 22px; height: 22px; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { border-color: var(--c-primary); }

/* ---- quick view modal ---- */
.qv { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 24px; background: rgba(10, 12, 30, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .25s; }
.qv__box { position: relative; width: min(1000px, 100%); max-height: min(88vh, 720px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--c-surface); border-radius: 28px; overflow: hidden; box-shadow: var(--pop); animation: qvIn .4s var(--ease); }
@keyframes qvIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.qv__close { position: absolute; z-index: 4; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-ink); }
.qv__close:hover { background: var(--c-primary); color: #fff; }
.qv__gallery { position: relative; background: var(--c-surface-2); min-height: 0; }
.qv__track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.qv__track::-webkit-scrollbar { display: none; }
.qv__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; scroll-snap-align: start; } /* fills the whole panel: no empty band under the photo */
.qv__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 8px; border-radius: 99px; background: rgba(0,0,0,.3); }
.qv__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.55); transition: width .3s; }
.qv__dots i.is-on { width: 20px; background: #fff; }
.qv__dots i { cursor: pointer; }
/* desktop gallery: thumbnails on the left, arrows, "2 / 4" */
.qv__thumbs { position: absolute; z-index: 3; top: 16px; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; padding: 2px; }
.qv__thumbs::-webkit-scrollbar { display: none; }
.qv__thumb { flex: none; width: 60px; height: 75px; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .7); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); opacity: .75; transition: opacity .2s, border-color .2s; }
.qv__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.qv__thumb:hover, .qv__thumb.is-on { opacity: 1; border-color: var(--c-secondary); }
.qv__nav { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c-surface) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--c-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); transition: background .2s, color .2s; }
.qv__nav:hover { background: var(--c-primary); color: #fff; }
.qv__nav .ico { width: 20px; height: 20px; }
.qv__nav--prev { left: 90px; }
.qv__nav--next { right: 16px; }
.qv__count { position: absolute; z-index: 3; top: 16px; right: 16px; padding: 5px 11px; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12.5px; font-weight: 800; }
.qv__info { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; overflow-y: auto; max-height: min(88vh, 720px); overscroll-behavior: contain; } /* the details scroll inside the box on short screens */
/* the site's own theme-coloured scrollbar, floating clear of the box's rounded edge */
.qv__info::-webkit-scrollbar { width: 22px; }
.qv__info::-webkit-scrollbar-track { margin-block: 70px 28px; } /* starts under the close button, ends clear of the round corner */
.qv__info::-webkit-scrollbar-thumb { border-width: 8px; } /* a 6px bar floating 8px in from the edge */
@supports not selector(::-webkit-scrollbar) { .qv__info { scrollbar-color: var(--c-primary) transparent; scrollbar-width: thin; } }
.qv__info h2 { font-size: 24px; line-height: 1.2; padding-right: 40px; }
.qv__info .short { color: var(--c-ink-2); }
.qv__more { font-weight: 800; color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; }
.qv__more .ico { width: 17px; }
.qv__loading { padding: 80px; display: grid; place-items: center; }
@media (max-width: 768px) {
    .qv { padding: 0; place-items: end stretch; }
    /* a native-feeling bottom sheet: the photo fills the full width, details slide over it on a rounded card */
    .qv__box { display: block; width: 100%; max-height: 94vh; border-radius: 28px 28px 0 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; animation: qvUp .45s var(--ease); }
    .qv__box::-webkit-scrollbar { display: none; }
    .qv__info { max-height: none; overflow: visible; } /* phones: the whole sheet scrolls, not a box inside it */
    .qv__thumbs, .qv__nav { display: none; } /* phones swipe the photos */
    .qv__count { top: 22px; right: auto; left: 16px; }
    .qv__box::before { content: ""; position: absolute; z-index: 5; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 99px; background: rgba(255,255,255,.85); box-shadow: 0 1px 6px rgba(0,0,0,.25); }
    .qv__gallery { aspect-ratio: 1 / 1; background: var(--c-surface-2); }
    .qv__track { position: absolute; inset: 0; height: auto; }
    .qv__track img { height: 100%; max-height: none; object-fit: cover; object-position: 50% 0; }
    .qv__dots { bottom: 36px; }
    .qv__close { top: 18px; right: 14px; width: 40px; height: 40px; background: rgba(255,255,255,.88); color: #0E1230; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
    .qv__info { position: relative; z-index: 2; margin-top: -22px; padding: 22px 18px calc(24px + var(--safe-b)); border-radius: 24px 24px 0 0; background: var(--c-surface); overflow: visible; gap: 12px; }
    .qv__info h2 { font-size: 21px; padding-right: 0; }
    .qv__loading { min-height: 60vh; padding: 40px; }
}
@keyframes qvUp { from { transform: translateY(40%); opacity: .4; } }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 52px); align-items: start; padding-bottom: var(--sec); }
.gallery { position: sticky; top: calc(var(--hdr-h) + 72px); display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb { width: 84px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--c-surface-2); flex: none; transition: border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.gallery__thumb.is-active { border-color: var(--c-primary); }
.gallery__stage { position: relative; border-radius: 26px; overflow: hidden; background: var(--c-surface-2); border: 1px solid var(--c-line); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; cursor: zoom-in; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; transition: opacity .2s; }
.gallery__lens { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 220%; opacity: 0; pointer-events: none; transition: opacity .2s; }
.gallery__slide.is-zoom .gallery__lens { opacity: 1; }
.gallery__slide.is-zoom img { opacity: 0; }
.gallery__count { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(14,18,48,.7); color: #fff; font-size: 12.5px; font-weight: 800; }
.gallery__badges { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.gallery__nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #1B2033; opacity: 0; transition: opacity .25s; }
.gallery__stage:hover .gallery__nav { opacity: 1; }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
.gallery__dots { display: none; }

.pinfo { display: flex; flex-direction: column; gap: 16px; }
.pinfo__cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-secondary); }
.pinfo__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.pinfo__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--c-ink-2); }
.pinfo__meta a { color: var(--c-primary); }
.pricebox { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 20px; background: var(--c-surface); border: 1px solid var(--c-line); }
.pricebox__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.pricebox__now { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.pricebox__was { font-size: 17px; color: var(--c-ink-2); }
.pricebox__save { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #157A52; font-size: 14px; }
:root[data-theme="dark"] .pricebox__save { color: #7FD8AE; }
.pricebox__note { font-size: 12.5px; color: var(--c-ink-2); font-weight: 600; }
.pricebox__soon { font-size: 20px; font-weight: 800; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1FA673; box-shadow: 0 0 0 4px rgba(31,166,115,.18); }
.stock--low::before { background: var(--fest-gold); box-shadow: 0 0 0 4px rgba(255,176,32,.2); }
.stock--out::before { background: var(--c-secondary); box-shadow: 0 0 0 4px rgba(232,69,44,.18); }
.variant-group p { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opts label { position: relative; }
.variant-opts input { position: absolute; opacity: 0; }
.variant-opts span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--c-line-strong); font-weight: 700; cursor: pointer; }
.variant-opts input:checked + span { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.variant-opts input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.variant-opts input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--c-line-strong); border-radius: 14px; background: var(--c-surface); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--c-ink); }
.qty button:hover { color: var(--c-primary); }
.qty button .ico { width: 18px; }
.qty input { width: 44px; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 16px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { --h: 54px; flex: 1 1 160px; }
.btn--buy { background: var(--c-secondary); color: #fff; }
.btn--buy:hover { filter: brightness(1.08); }
.buy__icons { display: flex; gap: 10px; }
.iconbtn-lg { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; border: 1.5px solid var(--c-line-strong); background: var(--c-surface); color: var(--c-ink); transition: border-color .2s, color .2s; }
.iconbtn-lg:hover { border-color: var(--c-primary); color: var(--c-primary); }
.iconbtn-lg.is-on { color: var(--fest-red); border-color: var(--fest-red); }
.iconbtn-lg.is-on .ico { fill: currentColor; }
.wa-order { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #E9F9F0, #D5F2E3); color: #0F5D37; border: 1px solid #BFE9D2; transition: filter .2s; }
.wa-order:hover { filter: brightness(.98); }
.wa-order__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #1FAF5A; color: #fff; flex: none; }
.wa-order__ico .ico { width: 24px; height: 24px; }
.wa-order strong { display: block; font-size: 15px; }
.wa-order small { font-size: 13px; font-weight: 600; opacity: .85; }
.wa-order > .ico { margin-left: auto; width: 20px; }
:root[data-theme="dark"] .wa-order { background: rgba(31,175,90,.12); border-color: rgba(31,175,90,.3); color: #8FE0B4; }
.pin { padding: 16px 18px; border-radius: 20px; background: var(--c-surface); border: 1px solid var(--c-line); }
.pin__title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 10px; }
.pin__title .ico { width: 19px; color: var(--c-secondary); }
.pin__form { display: flex; gap: 8px; }
.pin__form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface-2); font-size: 16px; font-weight: 700; letter-spacing: .1em; outline: none; }
.pin__form input:focus { border-color: var(--c-primary); background: var(--c-surface); }
.pin__result { margin-top: 10px; font-size: 13.5px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.pin__result .ok { color: #157A52; } .pin__result .no { color: var(--c-secondary); } .pin__result .muted { color: var(--c-ink-2); }
:root[data-theme="dark"] .pin__result .ok { color: #7FD8AE; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.perks li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-line); font-size: 12.5px; font-weight: 700; }
.perks .ico { width: 24px; height: 24px; color: var(--c-primary); }
.hl { display: flex; flex-direction: column; gap: 8px; }
.hl li { display: flex; gap: 10px; font-weight: 600; }
.hl .ico { width: 18px; height: 18px; margin-top: 3px; color: #1FA673; }
.ptabs { margin-top: 8px; }
.ptabs details { border-top: 1px solid var(--c-line); }
.ptabs details:last-child { border-bottom: 1px solid var(--c-line); }
.ptabs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; font-weight: 800; font-size: 16px; cursor: pointer; }
.ptabs summary::-webkit-details-marker { display: none; }
.ptabs summary .ico { width: 20px; transition: transform .3s; }
.ptabs details[open] summary .ico { transform: rotate(180deg); }
.ptabs__body { padding: 0 2px 20px; color: var(--c-ink-2); }
.ptabs__body p + p { margin-top: 10px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.specs th { width: 38%; color: var(--c-ink-2); font-weight: 700; }
.specs td { color: var(--c-ink); font-weight: 600; }
.review-sum { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.review-sum__avg { font-size: 44px; font-weight: 800; line-height: 1; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-form { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--c-surface-2); margin-top: 16px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: var(--c-line-strong); }
.star-input label .ico { width: 30px; height: 30px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--fest-gold); }
.star-input input:checked ~ label .ico, .star-input label:hover .ico, .star-input label:hover ~ label .ico { fill: currentColor; }
.buybar { display: none; }
.staff-note { padding: 10px 14px; border-radius: 12px; background: var(--c-accent-soft); font-size: 13px; font-weight: 700; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(6, 8, 18, .96); display: flex; flex-direction: column; animation: fade .25s; }
.lb__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.lb__close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; z-index: 2; }
.lb__count { position: absolute; top: 24px; left: 20px; color: #fff; font-weight: 800; }

@media (max-width: 1024px) {
    .pdp { grid-template-columns: minmax(0, 1fr); }
    .gallery { position: static; grid-template-columns: 1fr; }
    .gallery__thumbs { display: none; }
    .gallery__stage { border-radius: 0; margin-inline: calc(var(--pad) * -1); border: 0; }
    .gallery__nav { display: none; }
    .gallery__dots { display: flex; justify-content: center; gap: 6px; position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; }
    .gallery__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(14,18,48,.25); transition: width .3s, background .3s; }
    .gallery__dots i.is-on { width: 20px; background: var(--c-primary); }
    .gallery__count { bottom: auto; top: 14px; }
    .buybar { position: fixed; z-index: 82; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + var(--safe-b)); background: color-mix(in srgb, var(--c-surface) 96%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--c-line); box-shadow: 0 -12px 30px -20px rgba(14,18,48,.4); }
    .buybar__price { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
    .buybar__price strong { font-size: 19px; }
    .buybar__price small { font-size: 12px; color: var(--c-ink-2); font-weight: 700; }
    .buybar__price { flex: none; }
    .buybar .btn { --h: 50px; flex: 1 1 0; min-width: 0; padding: 0 10px; } /* Add and Buy now share the space equally */
    .buybar .pcard__wa { width: 50px; height: 50px; }
    body.has-buybar .wa-float, body.has-buybar .reelbub { bottom: calc(86px + var(--safe-b)); }
}
@media (max-width: 600px) { .perks { grid-template-columns: 1fr 1fr 1fr; } .perks li { font-size: 11.5px; padding: 12px 6px; } .buy .btn { flex-basis: 100%; } .buy__icons { width: 100%; } .buy__icons .iconbtn-lg { flex: 1; } }

/* ==========================================================================
   Bag (drawer + page), notices
   ========================================================================== */
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1160px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.notice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--c-primary-tint); border: 1px solid var(--c-line); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.notice .ico { width: 18px; color: var(--c-primary); flex: none; }
.notice a { color: var(--c-primary); font-weight: 800; text-decoration: underline; }
.notice--warn { background: #FFF4E0; border-color: #FFE0A8; color: #7A4A00; }
.notice--warn .ico { color: #B86E00; }
.notice--ok { background: #E7F8EE; border-color: #BFE9D2; color: #0F5D37; }
.notice--ok .ico { color: #1FA673; }
.notice--err { background: #FDECEA; border-color: #F7C6C0; color: #8A1C11; }
.notice--err .ico { color: var(--c-secondary); }
:root[data-theme="dark"] .notice--warn, :root[data-theme="dark"] .notice--ok, :root[data-theme="dark"] .notice--err { background: var(--c-surface-2); border-color: var(--c-line); color: var(--c-ink); }
.lines { display: flex; flex-direction: column; gap: 12px; }
.line { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-line); transition: opacity .2s; }
.line.is-busy { opacity: .5; pointer-events: none; }
.line--issue { border-color: #FFC98A; }
.line__img { width: 80px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--c-surface-2); }
.line__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.line__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line__title { font-weight: 700; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line__title:hover { color: var(--c-primary); }
.line__variant { font-size: 12.5px; color: var(--c-ink-2); font-weight: 600; }
.line__price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.line__price s { color: var(--c-ink-2); font-size: 12.5px; }
.line__issue { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #B86E00; }
.line__issue .ico { width: 15px; }
.line__foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.line__total { margin-left: auto; font-size: 15.5px; }
.line__rm { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--c-ink-2); }
.line__rm:hover { background: #FDECEA; color: var(--c-secondary); }
.line__rm .ico { width: 18px; }
.qty--sm { height: 38px; border-radius: 10px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 34px; font-size: 14px; }
.bag-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 40px 16px; }
.bag-empty--page { padding: 64px 16px; border-radius: 26px; background: var(--c-surface); border: 1.5px dashed var(--c-line-strong); }
.bag-empty__ico { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fest-gold), var(--fest-red)); color: #fff; }
.bag-empty__ico .ico { width: 34px; height: 34px; }
.bag-empty__title { font-size: 20px; font-weight: 800; }
.bag-empty p:not(.bag-empty__title) { color: var(--c-ink-2); max-width: 36ch; }
.freeship { padding: 12px 14px; border-radius: 14px; background: var(--c-accent-soft); font-size: 13.5px; font-weight: 600; }
.freeship__bar { display: block; height: 6px; border-radius: 6px; background: rgba(0,0,0,.08); margin-top: 8px; overflow: hidden; }
.freeship__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--fest-gold), var(--fest-red)); }
.drawer-foot { position: sticky; bottom: -16px; margin: auto -16px -16px; padding: 14px 16px calc(16px + var(--safe-b)); background: var(--c-surface); border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 8px; }
.drawer-foot__note { font-size: 12.5px; color: var(--c-ink-2); font-weight: 600; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 600; padding: 4px 0; }
.sumrow strong { font-weight: 800; }
.sumrow__note { display: block; font-size: 12.5px; font-weight: 700; color: var(--c-ink-2); }
.sumrow--save { color: #157A52; }
:root[data-theme="dark"] .sumrow--save { color: #7FD8AE; }
.sumrow--total { font-size: 18px; padding-top: 12px; margin-top: 6px; border-top: 1px dashed var(--c-line-strong); }
.sum-hint { font-size: 13px; color: var(--c-ink-2); font-weight: 600; }
.sum-save { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: #E7F8EE; color: #0F5D37; font-size: 13.5px; font-weight: 800; }
.sum-save .ico { width: 16px; }
:root[data-theme="dark"] .sum-save { background: rgba(31,166,115,.14); color: #8FE0B4; }
.btn.is-disabled { opacity: .5; pointer-events: none; }
.bag { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.summary { position: sticky; top: calc(var(--hdr-h) + 72px); display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-line); }
.summary__title { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.summary .btn { margin-top: 10px; }
.summary__secure { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--c-ink-2); font-weight: 600; margin-top: 4px; }
.summary__secure .ico { width: 16px; flex: none; margin-top: 2px; color: #1FA673; }
.coupons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--c-line-strong); }
.coupons__title { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.coupons__title .ico { width: 17px; color: var(--c-secondary); }
.coupon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px dashed var(--c-line-strong); }
.coupon.is-applied { border-style: solid; border-color: #1FA673; background: #F0FBF5; }
:root[data-theme="dark"] .coupon.is-applied { background: rgba(31,166,115,.1); }
.coupon.is-locked { opacity: .65; }
.coupon__code { padding: 6px 9px; border-radius: 8px; background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.coupon__txt { display: flex; flex-direction: column; min-width: 0; }
.coupon__txt strong { font-size: 13.5px; }
.coupon__txt small { font-size: 12px; color: var(--c-ink-2); }
.coupons:not(:has(*)) { display: none; }
.coupon-entry { display: flex; flex-direction: column; gap: 6px; }
.coupon-entry label { font-size: 13.5px; font-weight: 700; }
.coupon-entry__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.coupon-entry input { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface); color: var(--c-ink); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; outline: none; transition: border-color .2s, box-shadow .2s; }
.coupon-entry input::placeholder { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--c-ink-2); }
.coupon-entry input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
@media (max-width: 1024px) { .bag { grid-template-columns: 1fr; } .summary { position: static; } }

/* ==========================================================================
   Forms, checkout, thank-you
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 800; }
.field label small { font-weight: 600; color: var(--c-ink-2); }
.field input, .field textarea, .field > select { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface); font-size: 16px; font-weight: 600; color: var(--c-ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.field.has-error input, .field.has-error textarea, .field.has-error .cselect__btn { border-color: var(--c-secondary); }
.field-error { color: var(--c-secondary); font-size: 13px; font-weight: 700; }
.input-pre { display: flex; align-items: stretch; border: 1.5px solid var(--c-line-strong); border-radius: 14px; overflow: hidden; background: var(--c-surface); }
.input-pre:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.input-pre span { display: grid; place-items: center; padding: 0 12px; background: var(--c-surface-2); font-weight: 800; color: var(--c-ink-2); border-right: 1px solid var(--c-line); }
.input-pre input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--c-primary); }
.phead--slim { padding: 14px 0; margin-bottom: 20px; }
.steps { display: flex; align-items: center; justify-content: center; gap: 10px; }
.steps__item { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--c-ink-2); }
.steps__item .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--c-surface-2); }
.steps__item.is-done .ico { background: #1FA673; color: #fff; }
.steps__item.is-current { color: var(--c-ink); }
.steps__item.is-current .ico { background: var(--c-primary); color: #fff; }
.steps__line { width: 60px; height: 2px; background: var(--c-line-strong); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; padding-bottom: var(--sec); }
.checkout__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.checkout__side .summary { position: sticky; top: calc(var(--hdr-h) + 72px); }
.ck-card { padding: 20px; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 14px; }
.ck-card.centered { align-items: center; text-align: center; padding: 34px 24px; }
.ck-card__title { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.ck-card__title span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-size: 14px; }
.ck-hint { color: var(--c-ink-2); font-size: 14px; font-weight: 600; }
.ck-hint a, .ck-legal a { color: var(--c-primary); font-weight: 800; }
.ck-deliver { font-size: 13.5px; font-weight: 700; }
.ck-deliver .ok { color: #157A52; } .ck-deliver .no { color: var(--c-secondary); }
.ck-more summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--c-primary); cursor: pointer; }
.ck-more summary::-webkit-details-marker { display: none; }
.ck-more summary .ico { width: 16px; }
.ck-more[open] .form-grid { margin-top: 12px; }
.addr-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.addr { position: relative; cursor: pointer; }
.addr input { position: absolute; opacity: 0; }
.addr__body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 16px; border: 1.5px solid var(--c-line-strong); font-size: 13.5px; transition: border-color .2s, background .2s; }
.addr__body strong { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.addr__body strong .ico { width: 17px; }
.addr__body em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--c-surface-2); }
.addr__body small { color: var(--c-ink-2); font-weight: 700; }
.addr input:checked + .addr__body { border-color: var(--c-primary); background: var(--c-primary-tint); box-shadow: inset 0 0 0 1px var(--c-primary); }
.addr input:focus-visible + .addr__body { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.addr--new .addr__body { justify-content: center; color: var(--c-primary); border-style: dashed; }
.paylist { display: flex; flex-direction: column; gap: 10px; }
.payopt { position: relative; cursor: pointer; }
.payopt input { position: absolute; opacity: 0; }
.payopt__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 50px; border-radius: 16px; border: 1.5px solid var(--c-line-strong); transition: border-color .2s, background .2s; position: relative; }
.payopt__body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--c-line-strong); background: var(--c-surface); }
.payopt input:checked + .payopt__body { border-color: var(--c-primary); background: var(--c-primary-tint); }
.payopt input:checked + .payopt__body::before { border: 6px solid var(--c-primary); }
.payopt input:disabled + .payopt__body { opacity: .5; cursor: not-allowed; }
.payopt input:focus-visible + .payopt__body { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.payopt__body strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.payopt__body strong .ico { width: 20px; color: var(--c-primary); }
.payopt__body strong em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--c-ink-2); }
.payopt__body small { color: var(--c-ink-2); font-weight: 600; font-size: 13px; }
.payopt__apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.payopt__apps i { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 7px; background: var(--c-surface); border: 1px solid var(--c-line); }
.ck-error { padding: 12px 14px; border-radius: 14px; background: #FDECEA; color: #8A1C11; font-weight: 700; border: 1px solid #F7C6C0; }
.ck-legal { font-size: 12.5px; color: var(--c-ink-2); text-align: center; }
.ck-submit { position: sticky; bottom: 12px; z-index: 5; }
.mini-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; max-height: 320px; overflow-y: auto; }
.mini-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 600; }
.mini-line__img { position: relative; width: 56px; height: 70px; border-radius: 12px; background: var(--c-surface-2); }
.mini-line__img img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 0; }
.mini-line__img i { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--c-ink); color: var(--c-bg); border: 2px solid var(--c-surface); }
.mini-line__t { line-height: 1.35; }
.mini-line__t small { display: block; color: var(--c-ink-2); }
.sumrow--muted { color: var(--c-ink-2); font-size: 13px; }
.narrow-page { max-width: 640px; padding-block: 30px var(--sec); }
.narrow-page .ck-card .btn { margin-top: 4px; }
.retry-acts { display: grid; gap: 10px; width: min(100%, 340px); margin-top: 4px; } /* one width, one height for both buttons */
.retry-acts .btn { margin-top: 0; }
.simpay__form { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.thanks { padding-top: 22px; }
.thanks__hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px; border-radius: 26px; background: linear-gradient(135deg, #E9F9F0, #FFF7E6); border: 1px solid #CFEFDC; }
:root[data-theme="dark"] .thanks__hero { background: var(--c-surface); border-color: var(--c-line); }
.thanks__hero.is-cancelled { background: var(--c-surface); border-color: var(--c-line); }
.thanks__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1FA673; color: #fff; animation: bump .6s var(--ease); }
.thanks__hero.is-cancelled .thanks__badge { background: var(--c-secondary); }
.thanks__badge .ico { width: 32px; height: 32px; }
.thanks__title { font-size: clamp(22px, 2.6vw, 30px); }
.thanks__sub { color: var(--c-ink-2); font-weight: 600; margin-top: 6px; }
.thanks__ctas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; justify-content: end; } /* the buttons are always the same size */
.progress { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.progress::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; background: var(--c-line); }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--c-ink-2); }
.progress li span { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); border: 2px solid var(--c-line-strong); }
.progress li span .ico { width: 20px; }
.progress li.is-done span { background: #1FA673; border-color: #1FA673; color: #fff; }
.progress li.is-done { color: var(--c-ink); }
.progress li.is-now span { box-shadow: 0 0 0 6px rgba(31,166,115,.2); }
.thanks__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.thanks__side { display: flex; flex-direction: column; gap: 18px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--c-line); display: flex; flex-direction: column; gap: 12px; }
.timeline li { position: relative; display: flex; flex-direction: column; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); border: 2px solid var(--c-surface); }
.timeline li span { color: var(--c-ink-2); font-size: 12.5px; }
.timeline--status { margin-top: 10px; }
.timeline--status li::before { background: var(--c-accent); }
@media (max-width: 1024px) {
    .checkout { grid-template-columns: 1fr; }
    .checkout__side { order: -1; }
    .checkout__side .summary { position: static; }
    .thanks__hero { grid-template-columns: auto minmax(0, 1fr); }
    .thanks__ctas { grid-column: 1 / -1; justify-content: start; }
    .thanks__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .form-grid, .addr-list { grid-template-columns: 1fr; }
    .ck-card { padding: 16px; border-radius: 20px; }
    .steps__line { width: 24px; }
    .steps__item span { display: none; }
    .steps__item.is-current span { display: inline; }
    .ck-submit { bottom: calc(10px + var(--safe-b)); }
    .thanks__hero { padding: 18px; }
    .thanks__ctas { grid-auto-flow: row; justify-content: stretch; } /* phones: full width, one under the other */
    .progress li b { font-size: 11.5px; }
}

/* ==========================================================================
   App band: a drawn device running the real app layout (store colours, faces never covered)
   + how the icon sits on a home screen
   ========================================================================== */
.device { position: relative; z-index: 2; width: 252px; height: 516px; padding: 9px; border-radius: 48px; background: linear-gradient(145deg, #444A60, #13151F 42%, #2A2E3E); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16), inset 0 0 0 4px #090B12, 0 0 0 1px rgba(14,18,48,.3), 0 44px 70px -32px rgba(14,18,48,.7), 0 18px 30px -20px rgba(14,18,48,.5); }
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: linear-gradient(90deg, #1A1D28, #4A5066); }
.device::before { left: -3px; top: 118px; height: 40px; box-shadow: 0 54px 0 #2E3242; }
.device::after { right: -3px; top: 150px; height: 66px; }
.device__screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 39px; overflow: hidden; background: var(--c-bg); isolation: isolate; }
.device__glare { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 26%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 78%, rgba(255,255,255,.07) 100%); }
.dapp__top { flex: none; padding-bottom: 12px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--c-secondary) 30%, transparent), transparent 60%), linear-gradient(160deg, var(--c-band), color-mix(in srgb, var(--c-band) 72%, #000)); --logo-text: #FFFFFF; --logo-accent: #FFFFFF; --logo-accent2: var(--fest-gold); }
.dapp__status { position: relative; height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 4px 22px 0 26px; font-size: 11.5px; line-height: 1; }
.dapp__status b { font-weight: 800; letter-spacing: .02em; }
.dapp__island { position: absolute; left: 50%; top: 10px; width: 78px; height: 23px; margin-left: -39px; border-radius: 20px; background: #04050A; }
.dapp__sys { display: flex; align-items: center; gap: 5px; }
.dapp__sys svg { height: 10px; width: auto; fill: currentColor; }
.dapp__head { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; gap: 6px; padding: 6px 12px 0; }
.dapp__head .dapp__word { justify-self: center; height: 15px; width: auto; max-width: 100%; }
.dapp__ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.dapp__ic .ico { width: 16px; height: 16px; }
.dapp__body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 10px 10px 0; }
.dapp__search { flex: none; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 11px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink-2); font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.dapp__search .ico { flex: none; width: 13px; height: 13px; color: var(--c-secondary); }
.dapp__hero { position: relative; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden; background: #1A1E33; box-shadow: 0 12px 22px -16px rgba(14,18,48,.7); }
.dapp__hero video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: 50% 0; }
.dapp__hero::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(180deg, transparent, rgba(8,10,28,.5)); }
.dapp__cta { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 12px; background: #fff; color: #0E1230; font-weight: 800; font-size: 12px; }
.dapp__cta .ico { width: 15px; height: 15px; }
.dapp__tabs { flex: none; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 60px; margin-top: 10px; padding: 0 6px 14px; background: var(--c-surface); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 20px -14px rgba(14,18,48,.45); color: var(--c-ink-2); }
.dapp__tabs > span { display: grid; place-items: center; }
.dapp__tabs .ico { width: 17px; height: 17px; }
.dapp__tabs .is-on { color: var(--c-primary); }
.dapp__fab > span { width: 36px; height: 36px; margin-top: -20px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--c-secondary), color-mix(in srgb, var(--c-secondary) 55%, var(--fest-gold))); transform: rotate(45deg); box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--c-secondary) 85%, transparent); }
.dapp__fab .ico { transform: rotate(-45deg); }
.dapp__tabs::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 84px; height: 4px; margin-left: -42px; border-radius: 4px; background: var(--c-ink); opacity: .75; }
/* device on the right, icon card beside it when there is room, otherwise underneath: the two never overlap */
.appband__phone { display: flex; flex-direction: row-reverse; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 24px; }
.appband__phone .appband__ring { left: 50%; top: 50%; translate: -50% -50%; }

.homeicon { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 8px 12px; border-radius: 24px; background: color-mix(in srgb, var(--c-surface) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--c-line); box-shadow: 0 22px 40px -26px rgba(14,18,48,.55); }
.homeicon__wall { display: flex; gap: 8px; padding: 14px 12px 10px; border-radius: 18px; background: radial-gradient(110% 90% at 0% 0%, color-mix(in srgb, var(--c-secondary) 55%, transparent), transparent 62%), radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--c-accent) 45%, transparent), transparent 60%), linear-gradient(150deg, var(--c-band), color-mix(in srgb, var(--c-band) 60%, #000)); }
.homeicon__slot { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 50px; }
.homeicon__slot small { font-size: 9.5px; font-weight: 700; line-height: 1.1; color: rgba(255,255,255,.94); white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.homeicon__g { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 12px -6px rgba(0,0,0,.45); }
.homeicon__g .ico { width: 21px; height: 21px; }
.homeicon__g--1 { background: linear-gradient(180deg, #5BE07B, #1FA94A); }
.homeicon__g--2 { background: linear-gradient(180deg, #5AB2FF, #1F6FE0); }
.homeicon__slot--ours svg { width: 44px; height: 44px; border-radius: 10px; outline: 2px solid rgba(255,255,255,.8); outline-offset: 2px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); animation: iconPop 2.8s var(--ease) infinite; }
@keyframes iconPop { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.1); } 90% { transform: scale(.97); } }
.homeicon__slot--ours small { font-weight: 800; }
.homeicon__txt { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.homeicon__txt strong { font-size: 13px; }
.homeicon__txt small { font-size: 11.5px; color: var(--c-ink-2); font-weight: 600; }
@media (max-width: 600px) {
    .device { width: 244px; height: 500px; }
}

/* ==========================================================================
   Header: mega-menu thumbnails, "Deliver to" PIN selector, call pill
   ========================================================================== */
.nav-link--hot { margin-left: 4px; }
/* invisible bridge between the "Shop by category" button and the panel, so moving the pointer down never closes it */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.cat-menu.is-open .cat-btn::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 24px; }
.cat-btn { position: relative; }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.deliver { position: relative; }
.deliver__btn, .callpill { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px; border-radius: 12px; text-align: left; transition: background .2s; white-space: nowrap; }
.deliver__btn:hover, .callpill:hover { background: var(--c-primary-tint); }
.deliver__btn > .ico:first-child, .callpill > .ico { width: 22px; height: 22px; color: var(--c-secondary); }
.deliver__btn span, .callpill span { display: flex; flex-direction: column; line-height: 1.15; }
.deliver__btn small, .callpill small { font-size: 11px; font-weight: 600; color: var(--c-ink-2); }
.deliver__btn strong, .callpill strong { font-size: 13.5px; font-weight: 800; }
.deliver__btn .nav-chev { width: 15px; color: var(--c-ink-2); }
.deliver.is-open .nav-chev { transform: rotate(180deg); }
.callpill { border: 1.5px solid var(--c-line); }
.deliver__pop { width: 320px; padding: 14px; right: 0; }
.deliver__pop .pin__form input { height: 44px; font-size: 15px; }
.mega__thumb--icon { display: grid; place-items: center; color: #fff; }
.mega__thumb--icon .ico { width: 28px; height: 28px; }
.mega__col--0 .mega__thumb--icon { background: linear-gradient(150deg, #FF8A1F, var(--fest-red)); }
.mega__col--1 .mega__thumb--icon { background: linear-gradient(150deg, #19A97A, #0B6B4B); }
.mega__col--2 .mega__thumb--icon { background: linear-gradient(150deg, #4D7CFF, #1B3FA8); }
.mega__col--3 .mega__thumb--icon { background: linear-gradient(150deg, #F0457B, #9C1B57); }
.mega__col li a { justify-content: flex-start; }
.mega__col li em { margin-left: auto; }
.mega__mini { width: 34px; height: 42px; border-radius: 17px 17px 8px 8px; overflow: hidden; flex: none; background: var(--c-surface); display: grid; place-items: center; }
.mega__mini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.mega__mini--icon { color: var(--c-ink-2); border: 1px dashed var(--c-line-strong); }
.mega__mini--icon .ico { width: 18px; height: 18px; }
.mega__col--0 .mega__mini--icon { color: var(--fest-red); } .mega__col--1 .mega__mini--icon { color: var(--fest-green); }
.mega__col--2 .mega__mini--icon { color: var(--fest-blue); } .mega__col--3 .mega__mini--icon { color: var(--fest-pink); }
.mega__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega__more { color: var(--c-primary); font-weight: 800 !important; }
.mega__more .ico { width: 15px; }
.lockup--header .lockup__word--tag { height: 54px; width: auto; }
.lockup--header .lockup__word--plain { display: none; }
@media (max-width: 1024px) { .lockup--header .lockup__word--tag { height: 42px; } }
@media (max-width: 480px) { .lockup--header .lockup__word--tag { display: none; } .lockup--header .lockup__word--plain { display: block; height: 25px; } }
@media (max-width: 360px) { .lockup--header .lockup__word--plain { height: 21px; } }
@media (max-width: 1640px) { .callpill { display: none; } }
@media (max-width: 1180px) { .deliver__btn small { display: none; } }

/* ==========================================================================
   Customer sign in / register / password
   ========================================================================== */
.auth { padding-block: clamp(18px, 3vw, 40px) var(--sec); }
.auth__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; max-width: 1080px; }
.auth__art { position: relative; min-height: 560px; border-radius: 30px; overflow: hidden; background: var(--c-surface-2); isolation: isolate; }
.auth__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.auth__art-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,28,0) 40%, rgba(8,10,28,.55) 68%, rgba(8,10,28,.88)); }
.auth__art-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: #fff; --logo-text: #FFFFFF; --logo-accent2: var(--fest-gold); }
.auth__word { height: 26px; width: auto; }
.auth__art-copy strong { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; max-width: 18ch; }
.auth__perks { display: flex; flex-wrap: wrap; gap: 8px; }
.auth__perks span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 12.5px; font-weight: 700; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.auth__perks .ico { width: 15px; height: 15px; }
.auth__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3.4vw, 40px); border-radius: 30px; background: var(--c-surface); border: 1px solid var(--c-line); }
.auth__title { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.auth__sub { color: var(--c-ink-2); font-weight: 600; margin-top: -6px; }
.auth__form { display: flex; flex-direction: column; gap: 14px; }
.auth__form[hidden] { display: none; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--c-ink-2); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.auth__google { gap: 10px; }
.auth__switch { margin-top: 4px; padding-top: 16px; border-top: 1px dashed var(--c-line-strong); text-align: center; font-weight: 600; color: var(--c-ink-2); }
.auth__switch a { color: var(--c-primary); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.auth__switch .ico { width: 16px; }
.auth__fine { font-size: 12.5px; color: var(--c-ink-2); text-align: center; }
.auth__fine a { color: var(--c-primary); font-weight: 700; text-decoration: underline; }
.auth__msg { font-weight: 700; font-size: 14px; color: var(--c-ink-2); min-height: 1em; }
.auth__msg.is-err { color: var(--c-secondary); }
.auth__msg.is-ok { color: #157A52; }
.field label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.field__link { font-size: 12.5px; font-weight: 800; color: var(--c-primary); }
/* segmented switch: both options always the same size */
.auth-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--c-surface-2); }
.auth-seg__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--c-ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.auth-seg__btn .ico { width: 17px; height: 17px; }
.auth-seg__btn.is-on { background: var(--c-surface); color: var(--c-primary); box-shadow: 0 6px 16px -10px rgba(14,18,48,.45); }
.pass { position: relative; display: block; }
.pass input { padding-right: 52px; }
.pass__eye { position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--c-ink-2); }
.pass__eye:hover { background: var(--c-surface-2); color: var(--c-primary); }
.pass__eye .ico { width: 19px; height: 19px; }
.otp-input { text-align: center; font-size: 24px !important; font-weight: 800 !important; letter-spacing: .5em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
    .auth__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    .auth__art { min-height: 0; aspect-ratio: 16 / 9; border-radius: 24px; }
    .auth__art img { object-position: 50% 0; } /* top-anchored: the face always stays in frame */
    .auth__art-copy { padding: 18px; gap: 8px; }
    .auth__art-copy strong { font-size: 19px; }
    .auth__perks, .auth__word { display: none; } /* phones: the header already shows the logo; keep the photo clear */
    .auth__card { border-radius: 24px; padding: 20px 18px; }
}
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Customer account
   ========================================================================== */
.btn--danger { background: var(--c-secondary); color: #fff; }
.btn--danger:hover { filter: brightness(1.06); }
.myacc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; padding-block: clamp(18px, 3vw, 36px) var(--sec); }
.myacc__side { position: sticky; top: calc(var(--hdr-h) + 64px); display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 26px; background: var(--c-surface); border: 1px solid var(--c-line); }
.myacc__me { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; border-bottom: 1px dashed var(--c-line-strong); min-width: 0; }
.myacc__me > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.myacc__me strong { font-size: 15.5px; }
.myacc__me small { color: var(--c-ink-2); font-weight: 600; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myacc__avatar { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(140deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-secondary))); }
.myacc__nav { display: flex; flex-direction: column; gap: 4px; }
.myacc__nav a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 16px; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border-radius: 14px; font-weight: 700; font-size: 14.5px; transition: background .2s, color .2s; }
.myacc__nav a .ico { width: 20px; height: 20px; }
.myacc__nav a > .ico:last-child { width: 15px; opacity: .45; }
.myacc__nav a:hover { background: var(--c-surface-2); }
.myacc__nav a.is-on { background: var(--c-primary-soft); color: var(--c-primary); }
:root[data-theme="dark"] .myacc__nav a.is-on { color: var(--c-ink); }
.myacc__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.myacc__back { display: none; }
.acc-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: clamp(20px, 3vw, 30px); border-radius: 26px; color: #fff; background: radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--c-secondary) 45%, transparent), transparent 60%), linear-gradient(135deg, var(--c-band), color-mix(in srgb, var(--c-band) 70%, #000)); }
.acc-hero .eyebrow { color: var(--fest-gold); }
.acc-hero .acc-title { color: #fff; }
.acc-hero .acc-sub { color: rgba(255,255,255,.82); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-hero .btn--primary { background: #fff; color: #0E1230; }
.acc-hero .btn--outline { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.acc-title { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.acc-sub { color: var(--c-ink-2); font-weight: 600; margin-top: 6px; }
.acc-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.acc-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-line); transition: border-color .2s; }
.acc-stat:hover { border-color: var(--c-primary); }
.acc-stat strong { font-size: 26px; letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; }
.acc-stat small { color: var(--c-ink-2); font-weight: 700; font-size: 12.5px; }
.acc-stat__ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }
.acc-stat__ico .ico { width: 20px; height: 20px; }
.acc-stat__ico--0 { background: #E3EBFF; color: #1F4FD1; }
.acc-stat__ico--1 { background: #FFF0D6; color: #A15C00; }
.acc-stat__ico--2 { background: #FFE3EC; color: #C2185B; }
.acc-stat__ico--3 { background: #DDF5EA; color: #157A52; }
:root[data-theme="dark"] .acc-stat__ico { background: var(--c-surface-2); color: var(--c-accent); }
.acc-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(16px, 2.4vw, 22px); border-radius: 24px; background: var(--c-surface); border: 1px solid var(--c-line); }
.acc-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc-card__head h2 { font-size: 18px; }
.acc-headrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 10px; text-align: center; color: var(--c-ink-2); font-weight: 600; }
.acc-empty > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 14px; background: var(--c-surface-2); color: var(--c-primary); }
.status { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; background: var(--c-surface-2); color: var(--c-ink-2); }
.status--success { background: #DDF5EA; color: #157A52; }
.status--danger { background: #FDE4E0; color: #B42318; }
.status--warning { background: #FFF0D6; color: #8A5300; }
.status--info { background: #E3EBFF; color: #1F4FD1; }
:root[data-theme="dark"] .status--success { background: rgba(31,157,107,.18); color: #7FD8AE; }
:root[data-theme="dark"] .status--danger { background: rgba(235,91,69,.18); color: #FF9F90; }
:root[data-theme="dark"] .status--warning { background: rgba(255,176,32,.16); color: #FFC967; }
:root[data-theme="dark"] .status--info { background: rgba(45,107,255,.18); color: #9DB8FF; }
.orow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 16px; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; border: 1px solid var(--c-line); transition: border-color .2s; }
.orow:hover { border-color: var(--c-primary); }
.orow > .ico { width: 16px; opacity: .45; }
.orow__thumbs { display: flex; align-items: center; }
.orow__thumbs span { width: 44px; height: 56px; border-radius: 12px; overflow: hidden; border: 2px solid var(--c-surface); background: var(--c-surface-2); margin-right: -14px; }
.orow__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.orow__thumbs em { margin-left: 20px; font-style: normal; font-weight: 800; font-size: 12px; color: var(--c-ink-2); }
.orow__main { display: flex; flex-direction: column; min-width: 0; padding-left: 14px; }
.orow__main strong { font-size: 15px; }
.orow__main small { color: var(--c-ink-2); font-weight: 600; font-size: 12.5px; }
.orow__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.acc-fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--c-surface-2); font-weight: 800; }
.acc-fold summary::-webkit-details-marker { display: none; }
.acc-fold summary .ico { width: 18px; height: 18px; color: var(--c-primary); }
.acc-fold[open] summary { margin-bottom: 14px; }
.acc-card--act { gap: 10px; }
.acc-form { display: flex; flex-direction: column; gap: 14px; }
.acc-form__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.acc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.addr { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 22px; background: var(--c-surface); border: 1.5px solid var(--c-line); }
.addr.is-default { border-color: var(--c-primary); }
.addr header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.addr__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.addr__label .ico { width: 18px; color: var(--c-primary); }
.addr p { color: var(--c-ink-2); font-weight: 600; font-size: 14px; line-height: 1.55; }
.addr p strong { color: var(--c-ink); }
.addr__actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; }
.addr__actions form { display: contents; }
.addr__actions .btn { width: 100%; padding: 0 8px; }
.rv-item { border: 1px solid var(--c-line); border-radius: 18px; padding: 10px; }
.rv-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.rv-item summary::-webkit-details-marker { display: none; }
.rv-item[open] summary { margin-bottom: 12px; }
.rv-item__img { width: 48px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--c-surface-2); }
.rv-item__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.rv-item__t { display: flex; flex-direction: column; min-width: 0; }
.rv-item__t small { color: var(--c-ink-2); font-weight: 600; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-input legend { width: 100%; font-weight: 800; font-size: 13.5px; margin-bottom: 6px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: var(--c-line-strong); }
.star-input label .ico { width: 32px; height: 32px; fill: currentColor; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #F5A524; }
.star-input input:focus-visible + label { outline: 2px solid var(--c-focus); border-radius: 6px; }
.rv-mine { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; border: 1px solid var(--c-line); }
.rv-mine__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-mine form { align-self: flex-start; }
.rv-stars { display: inline-flex; gap: 2px; color: var(--c-line-strong); }
.rv-stars i { display: inline-flex; }
.rv-stars i.is-on { color: #F5A524; }
.rv-stars .ico { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 1024px) {
    .myacc { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .myacc__side { position: static; order: 2; }
    .myacc--inner .myacc__side { display: none; } /* phones: inner pages use the back link; the menu lives on the overview */
    .myacc__main { order: 1; }
    .myacc__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--c-primary); }
    .myacc__back .ico { width: 17px; }
    .acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .acc-two, .addr-grid { grid-template-columns: minmax(0, 1fr); }
    .acc-hero { padding: 20px 18px; border-radius: 22px; }
    .acc-hero > .btn, .acc-actions { width: 100%; }
    .acc-actions { grid-auto-flow: row; }
    .orow { grid-template-columns: auto minmax(0, 1fr) 14px; gap: 10px; }
    .orow__end { grid-column: 2; grid-row: 2; flex-direction: row; justify-content: space-between; align-items: center; padding-left: 14px; }
    .orow > .ico { grid-column: 3; grid-row: 1 / span 2; }
    .rv-item summary { grid-template-columns: auto minmax(0, 1fr); }
    .rv-item summary .btn { grid-column: 1 / -1; width: 100%; }
}

/* ==========================================================================
   Information pages, contact, FAQs
   ========================================================================== */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding-bottom: var(--sec); }
.doc__body { padding: clamp(20px, 3vw, 36px); border-radius: 26px; background: var(--c-surface); border: 1px solid var(--c-line); }
.doc__side { position: sticky; top: calc(var(--hdr-h) + 64px); display: flex; flex-direction: column; gap: 16px; }
.doc__side .help-card { margin-top: 0; }
.doc__links { display: flex; flex-direction: column; padding: 10px; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-line); }
.doc__links p { padding: 8px 10px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-secondary); }
.doc__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.doc__links a:hover { background: var(--c-surface-2); color: var(--c-primary); }
.doc__links .ico { width: 15px; opacity: .5; flex: none; }
.prose { color: var(--c-ink); font-size: 16px; line-height: 1.75; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 28px; }
.prose h3 { font-size: 18px; margin-top: 22px; }
.prose p, .prose li { color: var(--c-ink-2); }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--c-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--c-ink); }
.prose blockquote { padding: 14px 18px; border-left: 4px solid var(--c-accent); border-radius: 0 14px 14px 0; background: var(--c-accent-soft); color: var(--c-ink); }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: stretch; padding-bottom: var(--sec); }
.contact__ways .way { flex: 1; } /* the four ways share the form's height: both columns end together */
.contact__ways { display: flex; flex-direction: column; gap: 12px; }
.way { display: grid; grid-template-columns: 50px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-line); transition: border-color .2s; }
.way:not(.way--static):hover { border-color: var(--c-primary); }
.way--static { grid-template-columns: 50px minmax(0, 1fr); }
.way__ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); }
.way__ico .ico { width: 23px; height: 23px; }
.way--wa .way__ico { background: #1FAF5A; color: #fff; }
.way > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.way strong { font-size: 15.5px; overflow-wrap: anywhere; }
.way small { color: var(--c-ink-2); font-weight: 600; font-size: 13px; }
.way > .ico { width: 18px; color: var(--c-ink-2); }
.contact__form { gap: 16px; }
.contact__form .btn { align-self: flex-start; }
.faq-wrap--page { padding-bottom: var(--sec); }
.faq-wrap--page .faq-wrap__intro .help-card { margin-top: 0; }
.faq-groups { display: flex; flex-direction: column; gap: 26px; }
.faq-group__title { font-size: 19px; margin-bottom: 12px; }
@media (max-width: 1024px) {
    .doc, .contact { grid-template-columns: minmax(0, 1fr); }
    .doc__side { position: static; }
}
@media (max-width: 600px) {
    .doc__body { padding: 18px 16px; border-radius: 22px; }
    .prose { font-size: 15px; }
    .contact__form .btn { align-self: stretch; }
}
.prose > :first-child { margin-top: 0; }
:root[data-theme="dark"] .auth-seg__btn.is-on { background: var(--c-cta); color: var(--c-cta-ink); } /* dark: the chosen option must be the brightest */
.way__socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.way__social { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--c-line); color: var(--c-ink); transition: border-color .2s, color .2s; }
.way__social:hover { border-color: var(--c-primary); color: var(--c-primary); }
.way__social .ico { width: 19px; height: 19px; }

/* ---- listing: "View more" (adds the next styles to the same grid) ---- */
.more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; text-align: center; }
.more__info { font-size: 14px; font-weight: 700; color: var(--c-ink-2); }
.more__bar { display: block; width: min(260px, 70%); height: 4px; border-radius: 99px; background: var(--c-line); overflow: hidden; }
.more__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); transition: width .5s var(--ease); }
.more__btn { min-width: 220px; }
.more__btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.more__btn:hover .ico { transform: translateY(2px); }
.more__btn.is-busy { pointer-events: none; opacity: .7; }
.more__done { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-ink-2); }
.more__done .ico { width: 17px; color: #1FA673; }
.grid > .is-new { animation: fadeUp .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .grid > .is-new { animation: none; } }
@media (max-width: 600px) { .more__btn { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
