/* ==========================================================================
   Boots.NG — storefront design system
   Mobile-first. Brand: pink #E84393 · ink · amber #FAB528
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("../fonts/jost-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --pink: #E84393;
  --pink-strong: #B5246E;   /* AA text on white */
  --pink-soft: #FDE8F2;
  --pink-wash: #FFF5F9;
  --ink: #121212;
  --ink-2: #3a3a3a;
  --muted: #6c6769;
  --line: #ece6e9;
  --line-strong: #d9d1d5;
  --surface: #f7f7f7;
  --cream: #fbf8f6;
  --white: #fff;
  --amber: #FAB528;
  --amber-ink: #7a4f00;
  --success: #1d7a4e;
  --success-soft: #e7f5ee;
  --danger: #c0262d;
  --danger-soft: #fdecec;

  --font-display: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 18, .06);
  --shadow: 0 8px 28px rgba(18, 18, 18, .08);
  --shadow-lg: 0 18px 60px rgba(18, 18, 18, .16);

  --gutter: 16px;
  --container: 1320px;
  --header-h: 60px;
  --bottom-nav-h: 64px;
  /* Space under the bottom bar for the iPhone home indicator / Android gesture bar */
  --nav-inset: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--bottom-nav-h) + var(--nav-inset));
}
@media (min-width: 1024px) { body { padding-bottom: 0; font-size: 16px; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* An icon sitting in running text flows with it (block would push it onto its own line). Flex/grid parents are unaffected. */
:is(p, span, small, strong, em, summary, label, dd, h1, h2, h3) > svg:is(.icon, .icon-sm, .icon-lg) { display: inline-block; vertical-align: -.2em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--pink-soft); }
.icon { width: 22px; height: 22px; flex: none; max-width: none; }
.icon-sm { width: 16px; height: 16px; flex: none; max-width: none; }
.icon-lg { width: 28px; height: 28px; flex: none; max-width: none; }
/* Flex rows: controls keep their size; text inputs absorb the squeeze instead (prevents 0px-wide buttons). */
.btn, .icon-btn, .chip, .badge, .copy-btn, .qty, .wish-btn, .count-dot, .avatar { flex-shrink: 0; }
.input, .select, .textarea, input, select, textarea { min-width: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 760px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 8px; color: #fff; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-strong); }
.text-center { text-align: center; }
.stack > * + * { margin-top: var(--stack, 16px); }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: var(--pill); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
  transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; text-align: center;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-pink { --bg: var(--pink); --fg: var(--ink); --bd: var(--pink); }
.btn-pink:hover { --bg: #f05aa2; }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: transparent; padding: 0 12px; }
.btn-ghost:hover { box-shadow: none; --bg: var(--surface); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--fg) var(--fg) transparent transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.link-arrow .icon { width: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--surface); color: var(--ink); }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--pill); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.badge-ink { background: var(--ink); color: #fff; }
.badge-amber { background: var(--amber); color: var(--ink); }
.badge-pink { background: var(--pink); color: var(--ink); }
.badge-soft { background: var(--surface); color: var(--ink-2); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--pill);
  border: 1.5px solid var(--line-strong); background: #fff; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .icon-sm { opacity: .7; }
.count-dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: var(--ink); font-size: .68rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.count-dot:empty, .count-dot[data-count="0"] { display: none; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field + .field { margin-top: 14px; }
.label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s; font-size: 16px; /* prevents iOS zoom */
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(232, 67, 147, .15); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .84rem; }
.hint { color: var(--muted); font-size: .84rem; }
.row-2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-2 .field + .field { margin-top: 0; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Radio cards (payment / addresses) */
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; background: #fff; }
.radio-card + .radio-card { margin-top: 10px; }
.radio-card input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.radio-card strong { display: block; font-family: var(--font-display); }
.radio-card .meta { color: var(--muted); font-size: .88rem; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pay-logos span { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface); color: var(--ink-2); letter-spacing: .03em; }

/* ---------- Notices / toasts ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); font-size: .94rem; background: var(--surface); }
.notice .icon { margin-top: 1px; }
/* text beside the icon must shrink and wrap (bare text + <code> would otherwise become rigid flex items) */
.notice > :not(svg) { flex: 1 1 auto; min-width: 0; }
code, kbd, .mono { overflow-wrap: break-word; }
.notice-success { background: var(--success-soft); color: #0f5134; }
.notice-error { background: var(--danger-soft); color: #8b1a1f; }
.notice-pink { background: var(--pink-wash); }
.flash-wrap { margin: 16px auto 0; }
.toast-region { position: fixed; z-index: 120; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-nav-h) + 16px + var(--nav-inset)); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
@media (min-width: 1024px) { .toast-region { bottom: 24px; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: toast-in .3s var(--ease); font-size: .94rem; }
.toast.is-error { background: var(--danger); }
.toast a { color: var(--pink); font-weight: 600; margin-left: auto; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #fff; font-size: .8rem; letter-spacing: .02em; }
.announce .container { display: flex; align-items: center; justify-content: center; min-height: 36px; gap: 10px; overflow: hidden; }
.announce-track { position: relative; height: 36px; flex: 1; max-width: 640px; overflow: hidden; }
.announce-item { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; line-height: 1.2; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .5s var(--ease); white-space: nowrap; overflow: hidden; }
.announce-item.is-active { opacity: 1; transform: none; }
.announce-item::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-right: 10px; vertical-align: middle; }
.announce-links { display: none; gap: 18px; font-size: .78rem; }
@media (min-width: 1024px) { .announce .container { justify-content: space-between; } .announce-item { justify-content: flex-start; } .announce-links { display: flex; } }
.announce a:hover { color: var(--pink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left brand right"; align-items: center; height: var(--header-h); gap: 8px; }
.header-left { grid-area: left; }
.brand { grid-area: brand; }
.header-nav { grid-area: nav; display: none; }
.header-right { grid-area: right; justify-content: flex-end; }
.header-left, .header-right { display: flex; align-items: center; gap: 2px; }
.brand-logo { display: block; height: 44px; width: auto; }
@media (min-width: 768px) { .brand-logo { height: 52px; } }
.hide-mobile { display: none !important; }
@media (min-width: 1024px) {
  .hide-mobile { display: inline-grid !important; }
  .hide-desktop { display: none !important; }
  .header-bar { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav right"; gap: 32px; }
  .header-left { display: none; }
  .header-nav { display: flex; justify-content: center; gap: 4px; }
}
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 14px; font-family: var(--font-display); font-weight: 500; font-size: .98rem; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-item:focus-within .nav-link::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-link.is-sale { color: var(--pink-strong); }
.nav-item { position: relative; }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); width: min(880px, 92vw); padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 28px;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mega a { font-size: .96rem; }
.mega-feature { border-radius: var(--r); overflow: hidden; position: relative; background: var(--pink-wash); min-height: 200px; display: flex; align-items: flex-end; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-feature span { position: relative; margin: 14px; background: #fff; padding: 8px 14px; border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; font-size: .9rem; }

/* Search panel */
.search-panel { position: fixed; inset: 0; z-index: 90; background: rgba(18, 18, 18, .35); display: flex; align-items: flex-start; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.search-panel.is-open { opacity: 1; visibility: visible; }
.search-sheet { width: 100%; background: #fff; padding: 16px var(--gutter) 24px; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(-20px); transition: transform .25s var(--ease); max-height: 90vh; overflow: auto; }
.search-panel.is-open .search-sheet { transform: none; }
.search-form { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; border-bottom: 2px solid var(--ink); }
.search-form input { flex: 1; border: 0; font-size: 1.2rem; padding: 14px 0; outline: none; background: transparent; font-family: var(--font-display); }
.search-results { max-width: 760px; margin: 16px auto 0; }
.search-results h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.suggest-item { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-sm); }
.suggest-item:hover, .suggest-item.is-active { background: var(--surface); color: var(--ink); }
.suggest-item img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.suggest-item .s-brand { font-size: .78rem; color: var(--muted); }
.suggest-item .s-price { margin-left: auto; font-weight: 600; white-space: nowrap; }
.search-popular { display: flex; flex-wrap: wrap; gap: 8px; }

/* Mobile menu drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18, 18, 18, .45); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(420px, 90vw); background: #fff; display: flex; flex-direction: column; transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
.drawer-left .drawer-panel { left: 0; transform: translateX(-100%); }
.drawer-right .drawer-panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-flex { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px var(--gutter); border-bottom: 1px solid var(--line); min-height: 64px; }
.drawer-head h2 { font-size: 1.2rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); background: #fff; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list > li { border-bottom: 1px solid var(--line); }
.menu-list a, .menu-list summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; cursor: pointer; list-style: none; }
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list details[open] summary .icon { transform: rotate(180deg); }
.menu-list details ul { list-style: none; padding: 0 0 12px 12px; margin: 0; }
.menu-list details ul a { font-size: 1rem; padding: 10px 0; font-family: var(--font-body); }
.menu-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.menu-meta { display: grid; gap: 14px; margin-top: 20px; font-size: .95rem; }
.menu-meta a { display: flex; gap: 10px; align-items: center; }

/* Bottom nav (mobile) */
.bottom-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s var(--ease), visibility 0s; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: var(--nav-inset); }
.bottom-nav a, .bottom-nav button { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); position: relative; height: var(--bottom-nav-h); align-content: center; }
.bottom-nav .is-current { color: var(--ink); }
.bottom-nav .is-current::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--pink); }
.bottom-nav .count-dot { top: 6px; right: calc(50% - 22px); }
@media (min-width: 1024px) { .bottom-nav { display: none; } }

/* WhatsApp FAB */
.wa-fab { position: fixed; z-index: 65; right: 16px; bottom: calc(var(--bottom-nav-h) + 16px + var(--nav-inset)); width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab .icon { width: 28px; height: 28px; stroke-width: 1.8; }
@media (min-width: 1024px) { .wa-fab { bottom: 24px; right: 24px; } }
.has-sticky-buy .wa-fab { bottom: calc(var(--bottom-nav-h) + 92px + var(--nav-inset)); }

/* ---------- Sections ---------- */
.section { padding: 44px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
.section-tint { background: var(--cream); }
.section-pink { background: var(--pink-wash); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 4px 0 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }

/* Horizontal rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 560px) { .rail { grid-auto-columns: 42%; } }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.rail-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .rail-nav { display: flex; } }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: border-color .15s, background .15s; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav button[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--pink-wash); overflow: hidden; }
.hero-grid { display: grid; min-height: min(78vh, 720px); }
.hero-media { position: relative; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 40%, rgba(18,18,18,.55) 100%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px var(--gutter) 32px; color: #fff; }
.hero-copy .eyebrow { color: #fff; opacity: .9; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 4.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em; margin: 10px 0 14px; font-weight: 600; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: var(--pink); z-index: -1; border-radius: 4px; }
.hero-copy p { font-size: 1.05rem; max-width: 34ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-mosaic { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .hero-copy { position: relative; color: var(--ink); padding: 64px 48px 64px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
  .hero-copy .eyebrow { color: var(--pink-strong); }
  .hero h1 em::after { z-index: -1; }
  .hero h1 { position: relative; z-index: 0; }
  .hero-media { order: 2; min-height: 100%; }
  .hero-media::after { display: none; }
  .hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: absolute; inset: 24px 24px 24px 0; }
  .hero-mosaic img { position: static; border-radius: var(--r-lg); height: 100%; }
  .hero-mosaic img:first-child { grid-row: span 2; }
  .hero-media > img.hero-single { border-radius: 0; }
}
.hero-stats { display: none; }
@media (min-width: 900px) { .hero-stats { display: flex; gap: 32px; margin-top: 36px; font-size: .9rem; color: var(--muted); } .hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); } }

/* Size chips strip */
.size-strip { padding: 22px 0; border-bottom: 1px solid var(--line); }
.size-strip .container { display: flex; align-items: center; gap: 14px; }
.size-strip h2 { font-size: 1rem; margin: 0; white-space: nowrap; font-weight: 600; }
.size-strip .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.size-strip .chips::-webkit-scrollbar { display: none; }
.size-strip .chip { min-width: 52px; justify-content: center; font-weight: 600; }

/* Silhouette tiles */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 10px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .tiles { grid-auto-columns: 28%; } }
@media (min-width: 1100px) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(var(--tile-cols, 5), 1fr); margin: 0; padding: 0; gap: 18px; overflow: visible; } }
.tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); scroll-snap-align: start; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,18,18,.6)); z-index: 1; }
.tile-label { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.tile-label strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.tile-label span { font-size: .78rem; opacity: .85; white-space: nowrap; }
.tile:hover { color: #fff; }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 1200px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card-media .img-alt { opacity: 0; }
@media (hover: hover) { .card:hover .card-media .img-alt { opacity: 1; } .card:hover .card-media img:first-child:not(:only-of-type) { opacity: 0; } .card:hover .card-media img:only-of-type { transform: scale(1.04); } }
.card-badges { position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card-wish { position: absolute; z-index: 3; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.88); transition: transform .15s, background .2s; }
.card-wish:hover { transform: scale(1.08); background: #fff; }
.card-wish .icon { width: 20px; height: 20px; }
.card-wish[aria-pressed="true"] { color: var(--pink-strong); }
.card-quick { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .15s, background .15s; }
.card-quick:hover { background: var(--ink); color: #fff; }
@media (hover: hover) and (min-width: 1024px) {
  .card-quick { width: auto; height: 42px; left: 10px; right: 10px; border-radius: var(--pill); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), background .15s; font-family: var(--font-display); font-weight: 600; font-size: .9rem; gap: 6px; display: flex; justify-content: center; align-items: center; }
  .card-quick::after { content: "Quick add"; }
  .card:hover .card-quick, .card-quick:focus-visible { opacity: 1; transform: none; }
}
.card-body { padding-top: 12px; display: grid; gap: 3px; }
.card-brand { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card-title { font-size: .95rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-weight: 700; font-family: var(--font-display); font-size: 1.02rem; }
.price .was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .88em; }
.price.is-sale .now { color: var(--pink-strong); }
.card-swatches { display: flex; gap: 5px; align-items: center; margin-top: 4px; }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: var(--c, #ddd); }
.card-swatches .more { font-size: .76rem; color: var(--muted); }
.card-rating { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.card.is-soldout .card-media img { filter: grayscale(.4); opacity: .75; }

/* Stars */
.stars { display: inline-flex; gap: 1px; color: var(--amber); }
.stars .icon { width: 15px; height: 15px; }
.stars .off { color: #e3dde0; }
.stars-lg .icon { width: 20px; height: 20px; }

/* ---------- Brand marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: #fff; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); font-weight: 600; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee a::after { content: "✦"; color: var(--pink); font-size: .6em; }
.marquee a:hover { color: var(--pink-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- USP ---------- */
.usp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
@media (min-width: 900px) { .usp { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.usp-item { display: grid; gap: 8px; align-content: start; }
.usp-item .icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--pink-soft); color: var(--pink-strong); display: grid; place-items: center; }
.usp-item strong { font-family: var(--font-display); font-size: 1rem; }
.usp-item span { color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* Editorial split */
.editorial { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .editorial { grid-template-columns: 1fr 1fr; gap: 64px; } }
.editorial-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial h2 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem); }

/* Review cards */
.review-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 10px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.review-cards::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .review-cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; } }
.review-card { scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.review-card blockquote { margin: 0; font-size: 1rem; line-height: 1.55; }
.review-card footer { font-size: .85rem; color: var(--muted); }
.review-card footer a { color: var(--ink); font-weight: 600; }

/* Newsletter */
.newsletter { background: var(--pink); color: var(--ink); border-radius: var(--r-lg); padding: 32px 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; top: -140px; background: rgba(255,255,255,.18); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 48px 56px; } }
.newsletter h2 { margin: 0 0 6px; }
.newsletter p { margin: 0; }
.newsletter form { display: flex; gap: 8px; position: relative; flex-wrap: wrap; }
.newsletter .input { flex: 1 1 200px; border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcacd; padding: 52px 0 28px; margin-top: 56px; font-size: .92rem; }
.site-footer a:hover { color: var(--pink); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3c3a3b; display: grid; place-items: center; }
.socials a:hover { border-color: var(--pink); }
.footer-bottom { border-top: 1px solid #2c2a2b; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; color: #9b9598; }
.pay-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-row span { border: 1px solid #3c3a3b; border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #d7d2d4; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); padding: 14px 0; list-style: none; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Listing ---------- */
.listing-head { padding: 6px 0 18px; }
.listing-head h1 { margin: 0 0 6px; }
.listing-head .intro { color: var(--muted); max-width: 64ch; margin: 0; }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 2px; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }
.listing-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .listing-layout { grid-template-columns: 260px 1fr; gap: 40px; } }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.toolbar .sort { display: flex; align-items: center; gap: 8px; }
.toolbar .select { min-height: 42px; padding: 6px 40px 6px 14px; font-size: .92rem; width: auto; border-radius: var(--pill); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters .chip { min-height: 34px; font-size: .84rem; padding: 0 12px; background: var(--surface); border-color: var(--surface); }
.active-filters .chip:hover { border-color: var(--ink); }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding-right: 4px; margin-right: -4px; } }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-display); font-weight: 600; list-style: none; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group[open] summary .icon { transform: rotate(180deg); }
.filter-group .opts { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.filter-group .opts-list { display: grid; gap: 10px; padding-top: 14px; }
.size-opt { position: relative; }
.size-opt input, .color-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span { display: grid; place-items: center; min-width: 52px; height: 42px; padding: 0 10px; border: 1.5px solid var(--line-strong); border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s; }
.size-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-opt input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.color-opt > span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); font-size: .88rem; cursor: pointer; transition: border-color .15s, background .15s; }
.color-opt > span:hover { border-color: var(--ink); }
.color-opt i { width: 22px; height: 22px; border-radius: 50%; background: var(--c, #ddd); border: 1px solid rgba(0,0,0,.12); }
.color-opt input:checked + span { border-color: var(--ink); background: var(--surface); font-weight: 600; }
.facet-count { color: var(--muted); font-size: .8rem; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding-top: 14px; }
.price-inputs .input { min-height: 44px; padding: 8px 12px; }
.empty-state { text-align: center; padding: 56px 16px; display: grid; gap: 12px; justify-items: center; }
.empty-state .icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: var(--pink-wash); display: grid; place-items: center; color: var(--pink-strong); }
.empty-state .icon-wrap .icon { width: 32px; height: 32px; }
.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 40px; }
.progress-line { width: 220px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; padding: 0 10px; }
.pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Bottom sheet (mobile filters, quick add, dialogs) */
.sheet { position: fixed; inset: 0; z-index: 110; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(18,18,18,.45); opacity: 0; transition: opacity .25s; }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; background: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-panel::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 10px auto 0; flex: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 6px var(--gutter); }
.sheet-head h2 { font-size: 1.2rem; margin: 0; }
.sheet-body { overflow-y: auto; padding: 4px var(--gutter) 20px; overscroll-behavior: contain; }
.sheet-foot { display: flex; gap: 10px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; }
@media (min-width: 768px) {
  .sheet-panel { left: 50%; right: auto; bottom: 50%; width: min(560px, 92vw); border-radius: var(--r-lg); transform: translate(-50%, 60%); opacity: 0; transition: transform .3s var(--ease), opacity .25s; }
  .sheet.is-open .sheet-panel { transform: translate(-50%, 50%); opacity: 1; }
  .sheet-panel::before { display: none; }
  .sheet-head { padding-top: 14px; }
  .sheet-wide .sheet-panel { width: min(880px, 94vw); }
}

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 22px; padding-bottom: 24px; }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 1024px) { .gallery { margin: 0; } }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { scroll-snap-align: start; aspect-ratio: 4 / 5; background: var(--surface); position: relative; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery-dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(18,18,18,.25); transition: width .25s, background .25s; }
.gallery-dots button.is-active { width: 22px; background: var(--ink); }
@media (min-width: 1024px) {
  .gallery-track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; }
  .gallery-slide { border-radius: var(--r); overflow: hidden; }
  .gallery-slide:first-child { grid-column: span 2; }
  .gallery-dots { display: none; }
}
.gallery-count { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: var(--pill); font-size: .78rem; font-weight: 600; }
@media (min-width: 1024px) { .gallery-count { display: none; } }
.pdp-info { display: grid; gap: 18px; }
@media (min-width: 1024px) { .pdp-info { position: sticky; top: calc(var(--header-h) + 20px); } }
.pdp-brand { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.pdp-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin: 4px 0 0; }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.pdp-price { font-size: 1.5rem; }
.pdp-price .save { font-size: .78rem; font-family: var(--font-body); }
.option-group { display: grid; gap: 10px; }
.option-head { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.option-head strong { font-weight: 600; }
.option-head .value { color: var(--muted); font-weight: 400; }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; padding: 3px; transition: border-color .15s; position: relative; }
.opt-swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c, #ddd); border: 1px solid rgba(0,0,0,.12); }
.opt-swatch[aria-checked="true"] { border-color: var(--ink); }
.opt-btn { min-width: 58px; height: 48px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-weight: 600; transition: all .15s; position: relative; }
.opt-btn:hover { border-color: var(--ink); }
.opt-btn[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt-btn.is-unavailable, .opt-swatch.is-unavailable { color: #b6afb2; }
.opt-btn.is-unavailable::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; background: #c9c2c5; transform: rotate(-18deg); }
.opt-swatch.is-unavailable i { opacity: .4; }
.stock-note { font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.stock-note.is-low { color: var(--amber-ink); }
.stock-note.is-out { color: var(--danger); }
/* Back-in-stock alert */
.notify-card { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--pink-wash); border: 1px solid var(--pink-soft); display: grid; gap: 12px; }
.notify-card[hidden] { display: none; }
.notify-head { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.notify-head strong { display: block; }
.notify-head .muted { font-size: .84rem; }
.notify-head .icon-wrap { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--pink-strong); }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.is-low .stock-dot { background: var(--amber); }
.is-out .stock-dot { background: var(--danger); }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn-pink { flex: 1; }
.wish-btn { width: 52px; min-height: 50px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: border-color .15s; }
.wish-btn:hover { border-color: var(--ink); }
.wish-btn[aria-pressed="true"] { color: var(--pink-strong); border-color: var(--pink); }
.perks { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--cream); font-size: .9rem; }
.perks > div { display: flex; gap: 12px; align-items: flex-start; }
.perks > div > div { flex: 1; min-width: 0; }
.perks .delivery-check { margin-top: 8px; }
.perks .delivery-check .select { width: 100%; }
.perks .icon { color: var(--pink-strong); }
.delivery-check { display: flex; gap: 8px; margin-top: 4px; }
.delivery-check .select { min-height: 42px; padding: 6px 40px 6px 12px; font-size: .9rem; }
.delivery-result { font-size: .88rem; margin-top: 6px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion summary .icon { transition: transform .2s; }
.accordion .acc-body { padding: 0 0 18px; color: var(--ink-2); font-size: .95rem; }
.prose { line-height: 1.7; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose img { border-radius: var(--r); margin: 1em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose th:first-child, .prose td:first-child { padding-left: 0; }
@media (max-width: 599px) { .prose table { font-size: .875rem; } .prose th, .prose td { padding: 10px 8px; } }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .9rem; margin: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }

/* Sticky buy bar (mobile) */
.sticky-buy { position: fixed; z-index: 68; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + var(--nav-inset)); background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  /* Hidden = fully below the screen (past the bottom bar) and invisible, so it never ghosts through the translucent nav */
  transform: translateY(calc(100% + var(--bottom-nav-h) + var(--nav-inset) + 24px)); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s; }
.sticky-buy.is-visible { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.sticky-buy img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; }
.sticky-buy .meta { flex: 1; min-width: 0; font-size: .84rem; }
.sticky-buy .meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 44px; padding: 0 18px; }
@media (min-width: 1024px) { .sticky-buy { bottom: 0; } .sticky-buy .meta { font-size: .95rem; } }

/* Reviews block */
.reviews-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .reviews-layout { grid-template-columns: 320px 1fr; gap: 56px; } }
.rating-summary { display: grid; gap: 14px; align-content: start; }
.rating-big { display: flex; align-items: baseline; gap: 10px; }
.rating-big strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.dist { display: grid; gap: 6px; font-size: .84rem; }
.dist-row { display: grid; grid-template-columns: 22px 1fr 32px; gap: 8px; align-items: center; }
.dist-bar { height: 7px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.dist-bar span { display: block; height: 100%; background: var(--amber); border-radius: 4px; }
.fit-meter { padding: 14px; border-radius: var(--r); background: var(--cream); font-size: .86rem; }
.fit-track { position: relative; height: 6px; border-radius: 3px; background: var(--line); margin: 12px 0 8px; }
.fit-track i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ink); }
.fit-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.review-list { display: grid; gap: 0; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.review-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.review-author { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.verified { color: var(--success); font-size: .76rem; font-weight: 600; display: inline-flex; gap: 3px; align-items: center; }
.review-date { color: var(--muted); font-size: .82rem; }
.review h4 { font-family: var(--font-body); font-size: 1rem; margin: 0; }
.review p { margin: 0; color: var(--ink-2); }
.review .reply { background: var(--cream); padding: 12px 14px; border-radius: var(--r-sm); font-size: .9rem; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; color: #e3dde0; }
.star-input label .icon { width: 34px; height: 34px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--amber); }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); border-radius: 4px; }

/* Size guide table */
.size-table { width: 100%; border-collapse: collapse; font-size: .92rem; text-align: center; }
.size-table th, .size-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.size-table thead th { font-family: var(--font-display); background: var(--cream); }
.size-table tbody tr:hover { background: var(--pink-wash); }

/* ---------- Cart ---------- */
.cart-lines { display: grid; gap: 0; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 84px; height: 105px; object-fit: cover; border-radius: 10px; background: var(--surface); }
.cart-line .l-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line .l-name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cart-line .l-variant { color: var(--muted); font-size: .85rem; }
.cart-line .l-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.cart-line .l-issue { color: var(--danger); font-size: .82rem; font-weight: 600; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--pill); height: 40px; }
.qty button { width: 38px; height: 100%; display: grid; place-items: center; }
.qty button .icon { width: 16px; height: 16px; }
.qty button[disabled] { opacity: .3; }
.qty output, .qty input { width: 30px; text-align: center; font-weight: 600; border: 0; background: none; }
.remove-btn { color: var(--muted); font-size: .82rem; text-decoration: underline; text-underline-offset: 2px; }
.ship-progress { padding: 14px; border-radius: var(--r); background: var(--pink-wash); font-size: .88rem; display: grid; gap: 8px; }
.ship-progress .bar { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; background: var(--pink); border-radius: 3px; transition: width .4s var(--ease); }
/* Automatic promotions: earned offers + the next one within reach */
.offers { display: grid; gap: 8px; margin-top: 12px; }
.offer { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--cream); border: 1px dashed var(--line-strong); font-size: .88rem; }
.offer.is-on { background: var(--success-soft); border: 1px solid transparent; color: #12452c; }
.offer-body { display: grid; gap: 4px; flex: 1; min-width: 0; padding-top: 2px; }
.offer-body .bar { margin-top: 6px; }
.offer-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--pink-strong); }
.offer.is-on .offer-ic { color: var(--success); }
.offer .bar { display: block; height: 6px; border-radius: 3px; background: var(--white); overflow: hidden; }
.offer .bar span { display: block; height: 100%; background: var(--pink); border-radius: 3px; transition: width .4s var(--ease); }
.offer-hint { display: flex; gap: 6px; align-items: center; color: var(--success); }
.offer-hint[hidden] { display: none; }
.totals { display: grid; gap: 10px; font-size: .95rem; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); }
.totals .discount { color: var(--success); }
.cart-page { display: grid; gap: 28px; }
@media (min-width: 1024px) { .cart-page { grid-template-columns: 1fr 400px; gap: 48px; align-items: start; } }
.summary-card { background: var(--cream); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; }
@media (min-width: 1024px) { .summary-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.trust-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); justify-content: center; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Checkout ---------- */
.checkout-header { border-bottom: 1px solid var(--line); }
.checkout-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.checkout-header .secure { display: flex; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); }
.checkout { display: grid; gap: 28px; padding: 24px 0 48px; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1fr 420px; gap: 56px; align-items: start; padding-top: 40px; } }
.co-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.co-section:first-child { padding-top: 0; }
.co-section h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.co-step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; display: grid; place-items: center; font-family: var(--font-body); font-weight: 700; }
.co-summary { order: -1; }
@media (min-width: 1024px) { .co-summary { order: 0; position: sticky; top: 24px; } }
.co-summary details > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: var(--r); background: var(--cream); cursor: pointer; list-style: none; font-weight: 600; }
.co-summary details > summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) { .co-summary details > summary { display: none; } }
.co-items { display: grid; gap: 12px; padding: 16px 0; }
.co-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.co-item .thumb { position: relative; }
.co-item img { width: 60px; height: 74px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.co-item .qty-badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-size: .72rem; display: grid; place-items: center; font-weight: 700; }
.saved-addresses { display: grid; gap: 10px; margin-bottom: 16px; }
.place-order { margin-top: 18px; display: grid; gap: 12px; }
.place-order .fine { font-size: .8rem; color: var(--muted); text-align: center; }
.place-order-desktop { display: none; }
.place-order-mobile { padding: 22px 0 8px; }
@media (min-width: 1024px) { .place-order-desktop { display: grid; } .place-order-mobile { display: none; } }

/* ---------- Order status ---------- */
.order-hero { text-align: center; padding: 36px 0 28px; display: grid; gap: 10px; justify-items: center; }
.order-hero .check-circle { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.order-hero .check-circle.is-pending { background: var(--pink-wash); color: var(--pink-strong); }
.order-hero .check-circle .icon { width: 36px; height: 36px; stroke-width: 2; }
.order-grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .order-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; } }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
.bank-box { display: grid; gap: 10px; padding: 18px; background: var(--pink-wash); border-radius: var(--r); }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .95rem; }
.bank-row span { color: var(--muted); font-size: .85rem; }
.bank-row strong { font-family: var(--font-display); font-size: 1.05rem; }
.copy-btn { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line-strong); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 20px 30px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); }
.timeline li.is-done::after { background: var(--ink); border-color: var(--ink); }
.timeline li.is-current::after { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 5px var(--pink-soft); }
.timeline strong { display: block; font-size: .95rem; }
.timeline span { color: var(--muted); font-size: .84rem; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); font-size: .8rem; font-weight: 700; background: var(--surface); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-pending, .st-awaiting_verification { color: var(--amber-ink); background: #fff4dc; }
.st-processing { color: #1d4f91; background: #e8f0fb; }
.st-shipped { color: #6a2a91; background: #f3e9fb; }
.st-delivered, .st-completed { color: var(--success); background: var(--success-soft); }
.st-cancelled, .st-refunded { color: var(--muted); background: var(--surface); }
.dropzone { display: grid; gap: 8px; justify-items: center; padding: 24px 16px; border: 2px dashed var(--line-strong); border-radius: var(--r); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--pink); background: var(--pink-wash); }
.dropzone input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Account ---------- */
.account-layout { display: grid; gap: 24px; padding-block: 24px 48px; } /* block only: keep .container's side gutter */
@media (min-width: 1024px) { .account-layout { grid-template-columns: 240px 1fr; gap: 48px; padding-top: 40px; } }
.account-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.account-nav::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .account-nav { flex-direction: column; gap: 4px; } }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); white-space: nowrap; font-weight: 500; font-size: .95rem; width: 100%; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--surface); color: var(--ink); }
.account-nav .is-current { background: var(--ink); color: #fff; }
.account-nav .is-current:hover { background: var(--ink); color: #fff; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat-card { padding: 18px; border-radius: var(--r); background: var(--cream); display: grid; gap: 4px; }
.stat-card strong { font-family: var(--font-display); font-size: 1.6rem; }
.stat-card span { color: var(--muted); font-size: .86rem; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.order-row img { width: 56px; height: 68px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.address-cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .address-cards { grid-template-columns: 1fr 1fr; } }
.address-card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 4px; font-size: .92rem; position: relative; }
.address-card .actions { display: flex; gap: 12px; margin-top: 10px; font-size: .85rem; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding-block: 40px 56px; } /* block only: keep .container's side gutter */
.auth-card { display: grid; gap: 18px; }
.auth-card h1 { font-size: 2rem; margin: 0; }
.divider-text { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; }
.divider-text::before, .divider-text::after { content: ""; height: 1px; flex: 1; background: var(--line); }

/* Blog */
.post-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: grid; gap: 12px; }
.post-card .media { aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--pink-wash); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-meta { color: var(--muted); font-size: .84rem; }
.article-hero { max-width: 900px; margin: 0 auto; padding: 24px 0; text-align: center; }
.article-hero img { border-radius: var(--r-lg); margin-top: 24px; width: 100%; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--surface) 0, #fff 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: #fff; display: none; }
.lightbox.is-open { display: block; }
.lightbox-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.lightbox-track img { width: 100%; height: 100vh; object-fit: contain; scroll-snap-align: center; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; box-shadow: var(--shadow); }

/* Error / preview pages */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 700; line-height: 1; color: var(--pink); }

/* ---------- Scrolling: refined scrollbars, scroll shadows, back-to-top ---------- */
:root {
  --sb-thumb: rgba(18, 18, 18, .24);
  --sb-thumb-hover: rgba(18, 18, 18, .42);
  --sb-thumb-active: var(--pink-strong);
}
/* Keep layout steady when drawers lock page scroll. */
html { scrollbar-gutter: stable; }

/* Chromium / Safari: slim pill thumb, no arrow buttons, transparent track. */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: var(--sb-thumb);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--sb-thumb-hover); }
::-webkit-scrollbar-thumb:active { background-color: var(--sb-thumb-active); }

/* Panels: thinner bar that only appears while hovering, focusing or scrolling. */
.drawer-body::-webkit-scrollbar, .sheet-body::-webkit-scrollbar, .filters::-webkit-scrollbar,
.search-sheet::-webkit-scrollbar, .admin-side nav::-webkit-scrollbar, .mega::-webkit-scrollbar { width: 8px; }
.drawer-body::-webkit-scrollbar-thumb, .sheet-body::-webkit-scrollbar-thumb, .filters::-webkit-scrollbar-thumb,
.search-sheet::-webkit-scrollbar-thumb, .admin-side nav::-webkit-scrollbar-thumb, .mega::-webkit-scrollbar-thumb {
  background-color: transparent; border-width: 2px; min-height: 36px;
}
.drawer-body:hover::-webkit-scrollbar-thumb, .drawer-body.is-scrolling::-webkit-scrollbar-thumb, .drawer-body:focus-within::-webkit-scrollbar-thumb,
.sheet-body:hover::-webkit-scrollbar-thumb, .sheet-body.is-scrolling::-webkit-scrollbar-thumb, .sheet-body:focus-within::-webkit-scrollbar-thumb,
.filters:hover::-webkit-scrollbar-thumb, .filters.is-scrolling::-webkit-scrollbar-thumb, .filters:focus-within::-webkit-scrollbar-thumb,
.search-sheet:hover::-webkit-scrollbar-thumb, .search-sheet.is-scrolling::-webkit-scrollbar-thumb,
.mega:hover::-webkit-scrollbar-thumb { background-color: var(--sb-thumb); }
.drawer-body::-webkit-scrollbar-thumb:hover, .sheet-body::-webkit-scrollbar-thumb:hover, .filters::-webkit-scrollbar-thumb:hover,
.search-sheet::-webkit-scrollbar-thumb:hover { background-color: var(--sb-thumb-hover); }
/* Dark admin sidebar */
.admin-side nav:hover::-webkit-scrollbar-thumb, .admin-side nav.is-scrolling::-webkit-scrollbar-thumb { background-color: rgba(18, 18, 18, .16); }
.admin-side nav::-webkit-scrollbar-thumb:hover { background-color: rgba(18, 18, 18, .3); }
/* Horizontal table scrollers: slim and always discoverable */
.table-wrap::-webkit-scrollbar { height: 8px; }

/* Firefox (no ::-webkit-scrollbar): standard properties. */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
  .drawer-body, .sheet-body, .filters, .search-sheet, .admin-side nav, .mega { scrollbar-width: thin; scrollbar-color: transparent transparent; }
  .drawer-body:hover, .drawer-body.is-scrolling, .drawer-body:focus-within,
  .sheet-body:hover, .sheet-body.is-scrolling, .sheet-body:focus-within,
  .filters:hover, .filters.is-scrolling, .filters:focus-within,
  .search-sheet:hover, .search-sheet.is-scrolling, .mega:hover { scrollbar-color: var(--sb-thumb) transparent; }
  .admin-side nav:hover, .admin-side nav.is-scrolling { scrollbar-color: rgba(18, 18, 18, .2) transparent; }
  .table-wrap { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
}

/* Scroll shadows: soft fades appear at the top/bottom only when there is more to scroll (no JS). */
.drawer-body, .sheet-body, .filters {
  background:
    linear-gradient(#fff 30%, rgb(255 255 255 / 0)) top / 100% 40px no-repeat local,
    linear-gradient(rgb(255 255 255 / 0), #fff 70%) bottom / 100% 40px no-repeat local,
    radial-gradient(farthest-side at 50% 0, rgb(18 18 18 / .12), transparent) top / 100% 12px no-repeat scroll,
    radial-gradient(farthest-side at 50% 100%, rgb(18 18 18 / .12), transparent) bottom / 100% 12px no-repeat scroll,
    #fff;
}
/* Admin sidebar (light): soft scroll shadows only when there is more to scroll */
.admin-side nav {
  background:
    linear-gradient(#fff 30%, rgb(255 255 255 / 0)) top / 100% 36px no-repeat local,
    linear-gradient(rgb(255 255 255 / 0), #fff 70%) bottom / 100% 36px no-repeat local,
    radial-gradient(farthest-side at 50% 0, rgb(18 18 18 / .1), transparent) top / 100% 12px no-repeat scroll,
    radial-gradient(farthest-side at 50% 100%, rgb(18 18 18 / .1), transparent) bottom / 100% 12px no-repeat scroll,
    #fff;
  overscroll-behavior: contain;
}
.drawer-body, .sheet-body, .search-sheet { scroll-padding-block: 16px; }

/* Back to top */
.to-top {
  position: fixed; z-index: 64; right: 16px;
  bottom: calc(var(--bottom-nav-h) + 16px + var(--nav-inset) + var(--to-top-offset, 66px));
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .96); color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top .icon { transform: rotate(-90deg); width: 20px; height: 20px; }
.no-wa .to-top { --to-top-offset: 0px; }
.has-sticky-buy .to-top { bottom: calc(var(--bottom-nav-h) + 92px + var(--nav-inset) + var(--to-top-offset, 66px)); }
@media (min-width: 1024px) {
  .to-top { bottom: calc(24px + var(--to-top-offset, 66px)); right: 30px; }
  .has-sticky-buy .to-top { bottom: calc(96px + var(--to-top-offset, 66px)); }
}

/* Checkout: delivery options & map */
.ship-options { display: grid; gap: 8px; }
.ship-option + .ship-option { margin-top: 0; }
.ship-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.ship-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ship-price { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
[data-shipping-options][aria-busy="true"] { opacity: .55; pointer-events: none; transition: opacity .2s; }
.map-block { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--cream); }
.map-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; font-size: .92rem; flex-wrap: wrap; }
.map-head strong { display: inline-flex; gap: 6px; align-items: center; }
.map-canvas { height: 280px; background: var(--surface); }
@media (min-width: 768px) { .map-canvas { height: 340px; } }
.map-block .hint { padding: 10px 14px; margin: 0; }
.places-input { display: block; width: 100%; margin-bottom: 8px; color-scheme: light; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
@media print {
  .site-header, .bottom-nav, .site-footer, .announce, .wa-fab, .toast-region, .no-print { display: none !important; }
  body { padding: 0; }
}

/* ---------- Installable app (PWA) ---------- */
.pwa-refresh { display: none; }
.is-standalone .pwa-refresh { display: inline-grid; }
.footer-install { margin-top: 18px; }
.menu-meta .menu-install { display: flex; gap: 10px; align-items: center; padding: 0; font: inherit; color: var(--pink-strong); font-weight: 600; text-align: left; }
.pwa-card {
  position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(var(--bottom-nav-h) + 12px + var(--nav-inset));
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 36px; grid-template-areas: "icon text x" ". cta ."; gap: 4px 12px; align-items: start;
  max-width: 480px; margin-inline: auto; padding: 14px 10px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pwa-card.is-visible { opacity: 1; transform: none; }
.pwa-card > img { grid-area: icon; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.pwa-card-text { grid-area: text; min-width: 0; }
.pwa-card-text strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.25; }
.pwa-card-text p { margin: 2px 0 0; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.pwa-card [data-pwa-install] { grid-area: cta; justify-self: start; margin-top: 8px; }
.pwa-card .pwa-x { grid-area: x; }
.has-pwa-card .wa-fab, .has-pwa-card .to-top { opacity: 0; pointer-events: none; }
.has-sticky-buy .pwa-card { bottom: calc(var(--bottom-nav-h) + 84px + var(--nav-inset)); }
.pwa-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.pwa-x:hover { background: var(--surface); color: var(--ink); }
.pwa-sheet {
  border: 0; margin: auto auto 0; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
}
.pwa-sheet::backdrop { background: rgba(18, 18, 18, .45); }
.pwa-sheet[open] { animation: pwa-up .32s var(--ease); }
@keyframes pwa-up { from { transform: translateY(48px); opacity: 0; } }
@media (min-width: 640px) { .pwa-sheet { margin: auto; border-radius: var(--r-lg); } }
.pwa-sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pwa-sheet-head img { border-radius: 11px; box-shadow: 0 0 0 1px var(--line); }
.pwa-sheet-head h2 { flex: 1; margin: 0; font-size: 1.15rem; }
.pwa-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.pwa-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); font-size: .95rem; line-height: 1.4; }
.pwa-step-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff; color: #0a7cff; box-shadow: 0 0 0 1px var(--line); }
.pwa-step-icon img { border-radius: 5px; }
.net-pill {
  position: fixed; z-index: 130; left: 50%; top: calc(10px + env(safe-area-inset-top)); transform: translate(-50%, -160%);
  max-width: calc(100vw - 24px); padding: 9px 18px; border-radius: var(--pill); background: var(--ink); color: #fff;
  font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: var(--shadow); transition: transform .3s var(--ease), background .3s;
}
.net-pill.is-visible { transform: translate(-50%, 0); }
.net-pill.is-online { background: var(--success); }
/* Installed (standalone) mode: no browser chrome, so keep taps crisp and stop the page rubber-banding under fixed bars */
.is-standalone body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
@media print { .pwa-card, .pwa-sheet, .net-pill { display: none !important; } }
/* Installed app: tuck the bar into the home-indicator area like a native tab bar (labels stay clear of it) */
.is-standalone { --nav-inset: max(0px, calc(env(safe-area-inset-bottom, 0px) - 10px)); }
/* While the on-screen keyboard is up, bottom bars would ride on top of it and cover the field being typed in */
.kb-open .bottom-nav, .kb-open .sticky-buy, .kb-open .wa-fab, .kb-open .to-top, .kb-open .pwa-card {
  transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .2s var(--ease), visibility 0s linear .2s;
}
.kb-open .toast-region { bottom: 16px; }
/* Hero with a chosen photo.
   Phones: the write-up sits on the photo (bottom, over a soft fade) — the classic full-bleed banner.
   Desktop: the hero lines up with every other section (same container edges), photo in a 4:5 frame beside the copy. */
.hero.has-photo .hero-media img { object-position: center 38%; }
.hero.has-photo .hero-media::after { background: linear-gradient(180deg, rgba(18,18,18,0) 44%, rgba(18,18,18,.2) 60%, rgba(18,18,18,.72) 100%); }
.hero.has-photo .hero-copy h1, .hero.has-photo .hero-copy p { text-shadow: 0 1px 14px rgba(0, 0, 0, .28); }
@media (min-width: 900px) {
  .hero.has-photo .hero-grid {
    max-width: var(--container); margin-inline: auto; padding: 40px var(--gutter); min-height: 0;
    grid-template-columns: minmax(0, 1fr) min(42vw, 540px); gap: 56px; align-items: center;
  }
  .hero.has-photo .hero-copy { padding: 0; }
  .hero.has-photo .hero-copy h1, .hero.has-photo .hero-copy p { text-shadow: none; }
  .hero.has-photo .hero-media { order: 2; min-height: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
  .hero.has-photo .hero-media::after { display: none; }
  .hero.has-photo .hero-media img { object-position: center; }
}
/* ---------- Share sheet (Instagram-first) ---------- */
.buy-row .share-btn { color: var(--ink); }
.share-sheet { max-width: 480px; }
.share-preview { width: min(220px, 52vw); margin: 0 auto 16px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.share-preview img { width: 100%; height: 100%; object-fit: cover; }
.share-ig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.share-ig .btn { padding-inline: 12px; gap: 8px; }
.share-hint { margin: 10px 2px 14px; text-align: center; }
.share-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
@media (min-width: 420px) { .share-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.share-row a, .share-row button { display: grid; justify-items: center; gap: 6px; padding: 8px 2px; border-radius: var(--r-sm); font-size: .76rem; font-weight: 600; color: var(--ink-2); text-align: center; }
.share-row a:hover, .share-row button:hover { background: var(--surface); color: var(--ink); }
.share-row span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); }
/* ---------- Condition: brand new vs thrift ---------- */
.badge-thrift { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.card-badges .badge-thrift { background: rgba(255, 255, 255, .94); }
.pdp-condition { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: .9rem; color: var(--success); font-weight: 600; }
.pdp-condition.is-thrift { color: var(--ink-2); font-weight: 500; }
/* Mega menu: style groups (Female / Male / Unisex …) */
.mega { width: min(1040px, 94vw); grid-template-columns: 1.9fr 1fr 1fr; }
.mega-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 24px; }
.mega-group { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 8px; }
.mega-groups ul { gap: 6px; }
.mega-groups ul a { font-size: .9rem; color: var(--ink-2); }
.mega-conditions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.mega-conditions a:not(.link-arrow) { font-weight: 600; }
.menu-list .menu-sub summary { font-family: var(--font-body); font-size: 1rem; padding: 10px 0; }
.menu-list .menu-sub ul { padding-left: 14px; }
/* Home: "Brand new or thrift?" */
.choice-section { padding-top: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .choice-grid { gap: 20px; } }
.choice { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--pink-wash); color: #fff; isolation: isolate; }
@media (min-width: 900px) { .choice { aspect-ratio: 16 / 11; } }
.choice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.choice:hover img { transform: scale(1.04); }
.choice::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,18,18,0) 35%, rgba(18,18,18,.72) 100%); }
.choice.no-photo { background: linear-gradient(150deg, var(--pink-wash), #f8d3e6); color: var(--ink); }
.choice.no-photo::after { display: none; }
.choice-label { display: grid; gap: 4px; padding: 16px; }
@media (min-width: 768px) { .choice-label { padding: 26px; } }
.choice-label strong { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem); line-height: 1.05; }
.choice-line { font-size: .85rem; opacity: .92; }
.choice-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; font-size: .8rem; font-weight: 700; }
@media (max-width: 480px) { .choice-line { display: none; } }
.choice:hover { color: #fff; }
.choice.no-photo:hover { color: var(--ink); }
/* ---------- WhatsApp live support ---------- */
.wa-fab { overflow: visible; }
.wa-dot { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: #3ef08a; box-shadow: 0 0 0 2.5px #fff; }
.wa.is-online .wa-dot { animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 2.5px #fff, 0 0 0 2.5px rgba(62, 240, 138, .6); } 70% { box-shadow: 0 0 0 2.5px #fff, 0 0 0 12px rgba(62, 240, 138, 0); } 100% { box-shadow: 0 0 0 2.5px #fff, 0 0 0 12px rgba(62, 240, 138, 0); } }
.wa-card {
  position: fixed; z-index: 96; right: 16px; bottom: calc(var(--bottom-nav-h) + 84px + var(--nav-inset));
  width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 180px); overflow: auto; overscroll-behavior: contain;
  background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 64px rgba(18, 18, 18, .22), 0 0 0 1px rgba(18, 18, 18, .05);
  animation: wa-in .22s var(--ease);
}
.wa-card[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.has-sticky-buy .wa-card { bottom: calc(var(--bottom-nav-h) + 160px + var(--nav-inset)); }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 16px; background: var(--ink); color: #fff; }
.wa-avatar { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.wa-who strong { font-family: var(--font-display); font-size: 1rem; }
.wa-status { font-size: .78rem; color: #c9c3c6; display: flex; align-items: center; gap: 6px; }
.wa.is-online .wa-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ef08a; flex: none; }
.wa-x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #e9e4e6; }
.wa-x:hover { background: rgba(255, 255, 255, .12); }
.wa-body { padding: 16px; background: #f4efe9 linear-gradient(180deg, #f6f1ec, #efe8e1); }
.wa-bubble { position: relative; margin: 0 0 14px; padding: 12px 14px; max-width: 92%; background: #fff; border-radius: 4px 16px 16px 16px; font-size: .92rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.wa-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-topics a { padding: 8px 13px; border-radius: var(--pill); background: #fff; border: 1px solid #dcd3cc; font-size: .84rem; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; }
.wa-topics a:hover { border-color: #25D366; background: #effcf3; color: var(--ink); }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 16px 0; min-height: 50px; border-radius: var(--pill); background: #25D366; color: #08311a; font-weight: 700; }
.wa-start:hover { background: #1fc05b; color: #08311a; }
.wa-foot { margin: 10px 16px 16px; text-align: center; font-size: .74rem; color: var(--muted); }
.kb-open .wa-card { display: none; }
.wa-inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #128c4b; }
.wa-inline:hover { color: #0b6b37; }
.checkout-help { display: inline-flex; align-items: center; gap: 16px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn-wa { --bg: #25D366; --fg: #08311a; --bd: #25D366; }
.btn-wa:hover { --bg: #1fc05b; }
/* Collection pages ("The Boots.NG Edit") */
.listing-banner { margin: 4px 0 20px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pink-wash); }
@media (min-width: 768px) { .listing-banner { aspect-ratio: 21 / 8; } }
.listing-banner img { width: 100%; height: 100%; object-fit: cover; }
/* Footer: contact block + legal links (Paystack compliance: policies and contact details on every page) */
.footer-contact ul { display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li .icon-sm { flex: none; margin-top: 3px; opacity: .8; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: inherit; opacity: .85; font-size: .85rem; }
.footer-legal a:hover { opacity: 1; color: #fff; }

/* ---------- E-gift cards ---------- */
.gc-page { padding-top: 22px; padding-bottom: 56px; display: grid; gap: 28px; }
.gc-hero { display: grid; gap: 22px; align-items: center; }
.gc-hero h1 { margin: 6px 0 10px; }
.gc-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.gc-points li { display: flex; gap: 10px; align-items: center; }
.gc-points .icon-sm { color: var(--pink-strong); }
.gc-card { position: relative; aspect-ratio: 1.586; border-radius: 22px; padding: 22px; color: #fff; display: grid; align-content: space-between;
  background: radial-gradient(120% 140% at 100% 100%, var(--pink) 0%, #6d1340 38%, #121212 75%); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 460px; width: 100%; justify-self: center; }
.gc-card::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.gc-logo { width: 104px; height: auto; background: #fff; border-radius: 10px; padding: 5px 9px; }
.gc-amount { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.gc-to { font-size: .9rem; opacity: .9; }
.gc-code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .14em; font-size: .85rem; opacity: .7; }
.gc-form { max-width: 760px; }
.gc-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gc-amount-opt { position: relative; }
.gc-amount-opt input { position: absolute; opacity: 0; pointer-events: none; }
.gc-amount-opt span { display: grid; place-items: center; min-height: 56px; border: 1.5px solid var(--line-strong); border-radius: var(--r); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.gc-amount-opt input:checked + span { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.gc-amount-opt input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.gc-balance { max-width: 760px; padding: 22px; border-radius: var(--r-lg); background: var(--cream); }
.gc-balance h2 { font-size: 1.15rem; margin: 0 0 12px; }
@media (min-width: 600px) { .gc-amounts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .gc-hero { grid-template-columns: 1.1fr .9fr; gap: 48px; } .gc-page { padding-top: 40px; } }

/* ---------- Returns & refund requests (order page) ---------- */
.report-panel > summary { list-style: none; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.report-panel > summary::-webkit-details-marker { display: none; }
.report-panel > summary > span:last-child { display: grid; gap: 2px; }
.report-panel > summary .muted { font-size: .86rem; }
.report-panel > summary .icon-wrap { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-wash); color: var(--pink-strong); }
.report-panel[open] > summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report-items { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.report-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; font-size: .9rem; }
.report-item:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.report-item input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.report-item img { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; flex: none; }
.radio-card.radio-sm { padding: 12px 14px; font-size: .92rem; }
.radio-card.radio-sm + .radio-card.radio-sm { margin-top: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); cursor: pointer; font-size: .9rem; font-weight: 500; }
.chip-check input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.return-card { padding: 14px 0; border-top: 1px solid var(--line); }
.return-card:first-of-type { border-top: 0; padding-top: 0; }
.return-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.return-note { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--cream); font-size: .9rem; }
.report-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.report-panel legend { padding: 0; margin-bottom: 8px; }
