/* Radhe Rang storefront — quiet, editorial look. Mobile-first.
   Ivory ground, charcoal ink, one deep accent used sparingly; serif display + geometric sans.
   Breakpoints: ≥641px tablet, ≥1025px desktop, ≥1441px large. */
:root {
  /* colours taken from the Radhe Rang logo: cream background, burgundy, champagne gold */
  --ivory: #F8F0E5;           /* the logo's cream — page background */
  --paper: #FDF9F3;
  --stone: #F1E6D8;
  --ink: #2B1B1F;             /* warm near-black with a hint of burgundy */
  --ink2: #5E4E4F;
  --muted: #7A6B66;           /* 4.5:1 on the cream, readable for small text */
  --hair: #E4D6C4;          /* not --line: /theme.css redefines --line and --bg */
  --accent: #561B2A;           /* logo burgundy; overridden by the admin theme colour when one is set (html.custom-theme) */
  --wine: #4D0F1B;            /* the darkest logo burgundy (top strip) */
  --gold: #84633F;            /* gold for small text (5:1) */
  --gold-soft: #BB9874;       /* the logo's gold — lines, large text, the logo line */
  --green: #2E6B47;
  --green-bg: #E9F0EA;
  --red: #A8322C;
  --amber: #8A5A12;
  --amber-bg: #F6EEDF;
  --radius: 2px;
  --gut: 16px;                /* page side gutter; swipe rows bleed to the screen edge with it */
  --hdr-h: 109px;             /* compact (scrolled) header on phones — sticky bars sit under it */
  --bnav-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.25, .6, .2, 1);
  color-scheme: light;
}
html.custom-theme { --accent: var(--p700); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--ivory);
  min-height: 100dvh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
  padding-bottom: calc(var(--bnav-h) + var(--safe-b));
}
main { flex: 1; min-width: 0; padding-bottom: 40px; }
img, video, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
b, strong { font-weight: 500; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.no-scroll { overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 400; padding: 12px 18px; background: var(--ink); color: var(--ivory); font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }
#app:focus { outline: none; }
.sheet-panel:focus, .drawer-panel:focus { outline: none; }
.ic { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.4; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.green { color: var(--green); }
.mono { font-family: ui-monospace, Consolas, monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { color: var(--accent); font-weight: 400; border-bottom: 1px solid currentColor; }
.eyebrow { display: block; font: 400 11px/1.3 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.tlink { display: inline-block; font: 400 11.5px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 7px; border-bottom: 1px solid currentColor; transition: opacity .3s; white-space: nowrap; }
.tlink:hover { opacity: .6; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 920px; }
.card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); }
.hide-sm { display: none !important; }
.hide-sm-down { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 0; border: 1px solid transparent; font: 400 12.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s, transform .15s; max-width: 100%; text-align: center; line-height: 1.3; padding-block: 8px;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary, .btn-buy { background: var(--accent); color: var(--ivory); }
.btn-primary:hover:not(:disabled), .btn-buy:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 78%, #000); }
.btn-outline, .btn-cart { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover:not(:disabled), .btn-cart:hover:not(:disabled) { background: var(--ink); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--stone); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 11.5px; }
@media (pointer: coarse) { .btn-sm { min-height: 44px; } }
.danger { color: var(--red) !important; }
.danger-bg { background: var(--red) !important; color: #fff !important; }
.icon-btn { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; border-radius: 50%; }
.icon-btn:hover { background: var(--stone); }
.link-btn { background: none; border: 0; min-height: 44px; padding: 0 2px; font: 400 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); }
.link-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.link-btn .ic { width: 15px; height: 15px; }

/* ---------- header ---------- */
.announce { background: var(--wine); color: var(--ivory); font: 400 10.5px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
/* phones: one line — the message parts fade in turn (full text from 641px) */
.an-full { display: none; }
.an-rot { display: grid; }
.an-rot > span { grid-area: 1 / 1; opacity: 0; transition: opacity .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-rot > span.on { opacity: 1; transition-delay: .3s; } /* old message fades out first, then the new one fades in */
@media (min-width: 641px) { .an-full { display: inline; } .an-rot { display: none; } }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--hair); }
.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: 'menu logo actions' 'search search search'; align-items: center; gap: 4px 4px; padding-top: 8px; padding-bottom: 10px; }
.hdr-menu { grid-area: menu; justify-self: start; margin-left: -10px; }
.hnav { display: none; }
/* logo, stacked like the official logo: emblem, RADHE RANG, LUXURY FASHION HOUSE */
.logo { grid-area: logo; position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; color: var(--ink); }
.hdr .logo::before { content: ''; position: absolute; inset: -8px -6px; }
.logo img { display: block; flex: none; width: auto; }
.logo-emblem { height: 40px; margin-bottom: 5px; }
.logo-word { height: 19px; }
.logo-tag { display: block; overflow: hidden; max-height: 12px; margin-top: 5px; font: 400 7.5px/1 var(--font); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.hdr .logo-emblem, .hdr .logo-word, .hdr .logo-tag { transition: height .35s var(--ease), max-height .35s var(--ease), margin .35s var(--ease), opacity .25s; }
/* scrolled: only the wordmark stays, the header gets short again */
.hdr-compact .hdr .logo-emblem { height: 0; margin-bottom: 0; opacity: 0; }
.hdr-compact .hdr .logo-tag { max-height: 0; margin-top: 0; opacity: 0; }
.hdr-compact .hdr .logo-word { height: 21px; }
/* footer: the same logo, bigger (and outside the header's grid areas) */
.logo.logo-lg { grid-area: auto; align-self: start; justify-self: center; }
.logo-lg .logo-emblem { height: 92px; margin-bottom: 12px; }
.logo-lg .logo-word { height: 28px; }
.logo-lg .logo-tag { max-height: none; margin-top: 9px; font-size: 10.5px; letter-spacing: .32em; margin-right: -.32em; }
.search { grid-area: search; position: relative; display: flex; align-items: center; height: 42px; border-bottom: 1px solid var(--hair); transition: border-color .25s; }
.search:focus-within { border-color: var(--ink); }
.search-ic { position: absolute; left: 0; color: var(--ink2); display: flex; pointer-events: none; }
.search-ic .ic { width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 8px 0 28px; font-size: 16px; font-weight: 300; outline: none; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { display: none; }
.search-m { grid-area: search; }
@media (max-width: 340px) { .logo-emblem { height: 34px; } .logo-word { height: 16px; } .logo-tag { font-size: 6.5px; } .hdr-compact .hdr .logo-word { height: 18px; } }
.hdr-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; margin-right: -8px; }
.hdr-act { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 40px; justify-content: center; padding: 0 6px; color: var(--ink); font: 400 11.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.hdr-act:hover { opacity: .6; }
#hdr-account-label { display: none; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { position: absolute; top: 6px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--ivory); font: 500 10px/16px var(--font); letter-spacing: 0; text-align: center; font-style: normal; }
.catnav { display: none; }

/* desktop mega menu */
.hnav-item { position: static; display: flex; align-items: center; height: 100%; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 40px max(24px, calc((100vw - 1312px) / 2)) 48px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .3s, visibility .3s, transform .3s var(--ease); text-transform: none; letter-spacing: 0;
}
.hnav-item:hover .mega, .hnav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h6 { margin: 0 0 16px; font: 400 10.5px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mega-cats { columns: 2; column-gap: 40px; }
.mega a { display: block; font: 300 22px/1.65 var(--display); color: var(--ink); }
.mega a:hover { font-style: italic; }
.mega .mega-small a { font: 300 15px/2 var(--font); }
.mega .mega-small a:hover { font-style: normal; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(43, 27, 31, .4); opacity: 0; transition: opacity .35s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: var(--ivory); transform: translateX(-100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 10px 16px 22px; padding-top: max(16px, env(safe-area-inset-top)); border-bottom: 1px solid var(--hair); }
.drawer-user { display: flex; align-items: center; gap: 12px; }
.drawer-user b { display: block; font: 400 20px/1.2 var(--display); }
.drawer-user small { display: block; font-size: 12.5px; color: var(--muted); }
.drawer-user .link { color: var(--ink); font-size: 13px; }
.drawer-nav { overflow-y: auto; padding: 8px 0 32px; }
.drawer-nav a { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 22px; font-size: 15px; }
.drawer-nav a.big { font: 300 26px/1.25 var(--display); min-height: 50px; }
.drawer-nav a:hover { background: var(--stone); }
.drawer-nav .ic { color: var(--ink2); width: 18px; height: 18px; }
.drawer-label { padding: 22px 22px 6px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--hair); margin-top: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--stone); color: var(--ink); font: 400 20px var(--display); flex: none; text-transform: uppercase; }
.avatar .ic { width: 18px; height: 18px; }
.avatar.lg { width: 60px; height: 60px; font-size: 28px; }

/* ---------- bottom nav (mobile) ---------- */
.bnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--bnav-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--paper); border-top: 1px solid var(--hair);
}
.bnav a, .bnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 400 10px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 0; background: none; }
.bnav .ic { width: 21px; height: 21px; }
.bnav .active { color: var(--ink); }
.bnav .active .ic { stroke-width: 1.8; }
.bnav .badge { top: 5px; right: calc(50% - 20px); }
body[data-page='product'] .bnav, body[data-page='cartView'] .bnav, body[data-page='checkout'] .bnav { display: none; }
body[data-page='product'], body[data-page='cartView'], body[data-page='checkout'] { padding-bottom: calc(68px + var(--safe-b)); }
.wa-fab { position: fixed; right: 16px; bottom: calc(var(--bnav-h) + var(--safe-b) + 16px); z-index: 55; width: 50px; height: 50px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(43, 27, 31, .18); }
.wa-fab svg { width: 26px; height: 26px; }
body[data-page='product'] .wa-fab, body[data-page='cartView'] .wa-fab, body[data-page='checkout'] .wa-fab { bottom: calc(84px + var(--safe-b)); }

/* ---------- footer ---------- */
.ftr { background: var(--stone); color: var(--ink2); margin-top: 24px; font-size: 14px; }
.ftr .ftr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 56px; padding-bottom: 40px; align-items: start; }
.ftr-brand { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; justify-items: center; width: 100%; max-width: 380px; margin-inline: auto; text-align: center; } /* logo + words centred as one block */

.ftr-brand p { line-height: 1.7; }
.ftr-brand .script { font: 400 26px/1.2 'Pinyon Script', var(--display); color: var(--accent); }
.ftr h4 { font: 400 10.5px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ftr a, .ftr-note { display: flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ink2); }
.ftr a:hover { color: var(--ink); }
.ftr .ic { width: 15px; height: 15px; }
.ftr .ftr-bottom { border-top: 1px solid rgba(140, 135, 127, .35); padding-top: 18px; padding-bottom: 20px; font-size: 12px; color: var(--muted); }

/* ---------- loader / skeleton / toast ---------- */
.page-loader { min-height: 50vh; display: grid; place-items: center; }
.page-loader span { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hair); border-top-color: var(--ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel .pcard-img, .skel i, .skel-lines i { background: linear-gradient(90deg, #EDE7DE 25%, #F4F0EA 50%, #EDE7DE 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skel .pcard-body i, .skel-lines i { display: block; height: 10px; margin: 8px 0; }
.skel .pcard-body i.short { width: 50%; }
@keyframes shimmer { to { background-position: -200% 0; } }
#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bnav-h) + var(--safe-b) + 16px); z-index: 300; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
body[data-page='product'] #toasts, body[data-page='cartView'] #toasts, body[data-page='checkout'] #toasts { bottom: calc(84px + var(--safe-b)); }
.toast { background: var(--ink); color: var(--ivory); padding: 13px 22px; font-size: 13.5px; letter-spacing: .02em; opacity: 0; transform: translateY(10px); transition: .35s var(--ease); text-align: center; }
.toast.show { opacity: 1; transform: none; }
.toast-err { background: var(--red); }
.toast-warn { background: var(--amber); }

/* ---------- product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard-img { position: relative; aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.pcard-img2 { opacity: 0; }
.pcard.is-oos .pcard-img img { opacity: .5; filter: grayscale(.5); }
/* label under the photo, above the name — kept off the image so it never covers the model's face */
.pcard-flag { justify-self: start; min-height: 1.3em; color: var(--accent); font: 400 10.5px/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; }
.pcard-flag.oos { color: var(--red); }
.wish-btn { position: absolute; top: 6px; right: 6px; z-index: 2; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.wish-btn .ic { width: 19px; height: 19px; stroke-width: 1.3; }
.wish-btn.on .ic path { fill: currentColor; }
.wish-btn:active { transform: scale(.88); }
.wish-btn.big { width: 46px; height: 46px; top: 10px; right: 10px; background: rgba(248, 240, 229, .85); border-radius: 50%; }
.pcard-body { padding: 12px 2px 4px; display: grid; gap: 3px; }
.pcard-title { overflow-wrap: anywhere; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.price-row b { font-size: 14.5px; font-weight: 400; }
.price-row s { font-size: 12.5px; color: var(--muted); }
.off { color: var(--accent); font-size: 12.5px; }
.pcard-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); min-height: 18px; }
.rate-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--ink2); line-height: 18px; }
.rate-badge .ic { width: 11px; height: 11px; color: var(--ink); }
.hurry { color: var(--accent); }

/* ---------- section heads / rails ---------- */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 3.5vw, 44px); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 300; margin-top: 10px; letter-spacing: -.005em; }
.sec-head h2 em { font-style: italic; }
.rail { padding-block: clamp(48px, 6vw, 88px); overflow: hidden; }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.rail-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 300; margin-top: 8px; }
.rail-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding-bottom: 8px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .pcard { flex: 0 0 clamp(160px, 44vw, 260px); scroll-snap-align: start; }

/* ---------- home ---------- */
.h-hero { position: relative; background: var(--stone); overflow: hidden; }
.h-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-track::-webkit-scrollbar { display: none; }
.h-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; display: grid; min-height: min(78svh, 680px); color: var(--ink); }
.h-slide.has-img { color: #fff; }
.h-slide.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-slide.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 14, 10, .5), transparent 50%); }
.h-copy { position: relative; z-index: 1; align-self: end; justify-self: center; text-align: center; padding: 48px 20px clamp(48px, 9vh, 96px); display: grid; justify-items: center; gap: 16px; max-width: 900px; }
.h-copy h1, .h-copy h2 { font-size: clamp(46px, 8vw, 112px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.h-copy h1 em, .h-copy h2 em { font-style: italic; }
.h-copy p { font-size: clamp(15px, 1.6vw, 18px); color: inherit; opacity: .85; max-width: 520px; }
.h-copy .tlink { margin-top: 10px; }
.h-slide:not(.has-img) .h-copy { align-self: center; }
.h-slide:not(.has-img) .eyebrow { color: var(--ink2); }
.h-slide.has-img .eyebrow { color: rgba(255, 255, 255, .85); }
.h-art { display: none; }
.h-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.h-dots button { width: 26px; height: 22px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.h-dots button::after { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .35; transition: opacity .3s; }
.h-dots button.on::after { opacity: 1; height: 2px; }
.h-hero.dark-dots .h-dots { color: #fff; }
.h-hero .h-dots { color: var(--ink); }

.h-intro.wrap { text-align: center; padding-block: clamp(64px, 9vw, 128px); }
.h-intro p.statement { font: 300 clamp(25px, 3.1vw, 42px)/1.32 var(--display); max-width: 960px; margin: 20px auto 30px; }
.h-intro p.statement em { font-style: italic; color: var(--accent); }

.h-cats { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
.h-cats::-webkit-scrollbar { display: none; }
.h-cat { display: block; scroll-snap-align: start; }
.h-cat .frame { aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; }
.h-cat .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.h-cat h3 { font-size: 23px; font-weight: 300; margin: 14px 0 4px; }
.h-cat:hover img { transform: scale(1.035); }

.h-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }

.h-split { display: grid; gap: 14px; }
.h-tile { position: relative; display: block; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 5; }
.h-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.h-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 14, 10, .5), transparent 55%); }
.h-tile .cap { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: #fff; display: grid; gap: 10px; justify-items: start; }
.h-tile .cap .eyebrow { color: rgba(255, 255, 255, .85); }
.h-tile .cap h3 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; }
.h-tile:hover img { transform: scale(1.03); }

.h-promise { background: var(--paper); text-align: center; padding-block: clamp(72px, 10vw, 150px); }
.h-promise blockquote { font: 300 italic clamp(28px, 3.6vw, 50px)/1.25 var(--display); max-width: 940px; margin: 20px auto 0; }

.h-services { display: grid; grid-template-columns: 1fr; gap: 26px; padding-block: 48px; border-top: 1px solid var(--hair); }
.h-services h3 { font-size: 22px; margin-bottom: 6px; }
.h-services p { color: var(--ink2); font-size: 14px; }

/* ---------- listing ---------- */
.mbar { position: sticky; top: var(--hdr-h); z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); border-bottom: 1px solid var(--hair); }
.mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; background: none; font: 400 11.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.mbar button .ic { width: 17px; height: 17px; }
.mbar button + button { border-left: 1px solid var(--hair); }
.mbar .count { font-style: normal; background: var(--ink); color: var(--ivory); font-size: 10px; border-radius: 9px; padding: 0 6px; line-height: 17px; letter-spacing: 0; }
.listing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 18px; align-items: start; }
.filters { display: none; }
.filters.card { background: none; border: 0; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
.filters-head h2 { font-size: 26px; font-weight: 300; }
.fblock { border-bottom: 1px solid var(--hair); }
.fblock summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; font: 400 11px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.fblock summary::-webkit-details-marker { display: none; }
.fblock summary .ic { width: 16px; transition: transform .3s; color: var(--muted); }
.fblock[open] summary .ic { transform: rotate(180deg); }
.fbody { padding-bottom: 16px; display: grid; gap: 2px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 36px; cursor: pointer; font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); flex: none; margin: 0; }
.check.color i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.color-list { display: grid; }
.size-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill-check span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 40px; padding: 0 12px; border: 1px solid var(--hair); font-size: 13px; background: var(--paper); transition: .2s; }
.pill-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pill-check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.results { display: grid; gap: 18px; min-width: 0; }
.results-head { padding: 0 0 14px; display: grid; gap: 8px; background: none; border: 0; border-bottom: 1px solid var(--hair); }
.results-head h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 300; }
.results-head h1 small { font: 300 14px var(--font); color: var(--muted); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 12px; height: 12px; }
.crumbs span { color: var(--ink2); }
.sort-tabs { display: none; }
.applied { display: flex; flex-wrap: wrap; gap: 8px; }
.applied:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--hair); background: var(--paper); font-size: 13px; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip .ic { width: 13px; height: 13px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
.grid-empty { grid-column: 1 / -1; }
.more { text-align: center; padding: 20px 0; }
.more:empty { display: none; }
.mob-filters .check { min-height: 46px; }
.sheet-list { display: grid; }
.check.big { min-height: 52px; font-size: 15px; }

/* ---------- product page ---------- */
.pdp { padding-top: 0; display: grid; gap: 0; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--gut)); background: none; border: 0; }
.gallery { display: block; }
.thumbs { display: none; }
.main-img { position: relative; aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; border: 0; padding: 0; background: none; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots i { position: relative; width: 16px; height: 1px; background: var(--ink); opacity: .3; transition: opacity .3s; pointer-events: auto; cursor: pointer; }
.dots i::after { content: ''; position: absolute; inset: -14px -3px; } /* finger-sized tap area */
/* previous / next arrows on the gallery sides (hidden at the first / last slide) */
.g-nav { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(248, 240, 229, .92); color: var(--ink); box-shadow: 0 1px 6px rgba(43, 27, 31, .18); cursor: pointer; transition: opacity .2s; }
.g-nav::after { content: ''; position: absolute; inset: -6px; } /* finger-sized tap area */
.g-nav .ic { width: 18px; height: 18px; }
.g-nav.prev { left: 8px; }
.g-nav.next { right: 8px; }
.g-nav.off { opacity: 0; pointer-events: none; }
/* with a mouse, the arrows appear when hovering the photo (like big stores) */
@media (hover: hover) and (pointer: fine) {
  .main-img .g-nav:not(.off) { opacity: 0; }
  .main-img:hover .g-nav:not(.off), .g-nav:not(.off):focus-visible { opacity: 1; }
  .g-nav.prev { left: 14px; }
  .g-nav.next { right: 14px; }
}
.dots i.on { opacity: 1; height: 2px; }
.thumb.thumb-spin { display: grid; place-items: center; align-content: center; gap: 2px; background: var(--stone); color: var(--ink); font-size: 10px; letter-spacing: .1em; }
.thumb.thumb-spin .ic { width: 24px; height: 24px; stroke-width: 1.5; }
.slide-video { position: relative; background: var(--stone); cursor: pointer; }
.slide-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(248, 240, 229, .92); color: var(--ink); cursor: pointer; transition: opacity .2s; }
.vid-play .ic { width: 24px; height: 24px; margin-left: 3px; }
.slide-video.playing .vid-play { opacity: 0; pointer-events: none; }
/* 360° view as the last gallery slide: fills the slide, drag to turn */
.slide-spin { position: relative; cursor: default; background: var(--stone); }
.slide-spin > .spin { width: 100%; height: 100%; aspect-ratio: auto; max-height: none; }
.slide-spin .spin-hint { bottom: 40px; }
/* small "360°" tag in the corner of the 360° picture (top-right belongs to the wishlist heart) */
.spin-tag { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(248, 240, 229, .92); color: var(--ink); font: 500 11px/1 var(--font); letter-spacing: .12em; box-shadow: 0 1px 4px rgba(43, 27, 31, .12); pointer-events: none; }
.spin-tag .ic { width: 16px; height: 16px; stroke-width: 1.6; }
.thumb-video { position: relative; }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(43, 27, 31, .22); color: var(--paper); }
.play-badge .ic { width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }

/* ---------- 360° viewer ---------- */
.spin { position: relative; aspect-ratio: 3 / 4; max-height: 72dvh; margin: 0 auto; background: var(--stone); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: 3px; }
.spin.grabbing { cursor: grabbing; }
.spin-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.spin-load { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; background: rgba(248, 240, 229, .75); color: var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.spin-load i { display: block; width: 160px; height: 2px; background: var(--hair); overflow: hidden; }
.spin-load b { display: block; width: 0; height: 100%; background: var(--ink); transition: width .15s; }
.spin.ready .spin-load { display: none; }
.spin-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: none; align-items: center; gap: 6px; padding: 7px 14px; background: rgba(43, 27, 31, .78); color: var(--ivory); font: 400 10.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.spin-hint .ic { width: 14px; height: 14px; }
.spin.ready .spin-hint { display: inline-flex; }
.spin-hint.gone { opacity: 0; }
.spin-play { position: absolute; right: 10px; top: 10px; display: none; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(248, 240, 229, .92); color: var(--ink); cursor: pointer; }
.spin-play .ic { width: 15px; height: 15px; }
.spin.ready .spin-play { display: grid; }
.pdp-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); padding-bottom: var(--safe-b); border-top: 1px solid var(--hair); }
.pdp-cta .btn { min-height: 58px; border-width: 0; }
.pdp-cta .btn-cart { border-right: 1px solid var(--hair); }
.pdp-info { padding: 24px 16px 6px; min-width: 0; }
/* phones held upright: the photo gives up a little height on shorter screens so the name and price show
   above the Add to bag bar on the first screen (like big fashion apps). Photos still fill the frame —
   a 3:4 photo loses ~3% top and bottom; a wide photo is cropped to its centre as before. */
@media (max-width: 640px) and (orientation: portrait) {
  .pdp .main-img { aspect-ratio: auto; height: clamp(90vw, calc(100svh - 360px), 133.34vw); }
  .pdp-info { padding-top: 14px; }
  .pdp-info .crumbs { display: none; }
  .pdp-info .pdp-brand { margin-top: 0; }
  .pdp-info .pdp-title { font-size: 21px; line-height: 1.2; margin-top: 4px; }
  .pdp-info .special { display: none; }
}
.pdp-brand { font: 400 11px/1.3 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.pdp-title { font: 300 clamp(30px, 3.4vw, 46px)/1.08 var(--display); margin-top: 10px; overflow-wrap: anywhere; hyphens: auto; }
.pdp-title .muted { font-style: italic; }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; font-size: 13px; }
.special { color: var(--accent); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-top: 16px; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.pdp-price b { font-size: 20px; font-weight: 400; }
.pdp-price s { font-size: 14px; color: var(--muted); }
.pdp-price .off { font-size: 13.5px; }
.pdp-sec { border-top: 1px solid var(--hair); padding: 20px 0; margin-top: 18px; }
.pdp-sec h3 { font: 400 11px/1.4 var(--font); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.pdp-sec h3 .muted { letter-spacing: .08em; }
.size-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.size-head h3 { margin-bottom: 0; }
.size-chart-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: -10px 0; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.size-chart-btn .ic { width: 16px; height: 16px; }
/* size chart sheet */
.sc-sheet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-top p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-units { display: inline-flex; flex: none; border: 1px solid var(--hair); }
.sc-units button { min-width: 64px; min-height: 40px; padding: 0 12px; border: 0; background: none; font-size: 12.5px; letter-spacing: .08em; color: var(--ink2); }
.sc-units button.on { background: var(--ink); color: var(--ivory); }
.sc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hair); }
.sc-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.sc-table th, .sc-table td { padding: 11px 10px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.sc-table thead th { font-size: 11.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--stone); }
.sc-table tbody th { text-align: left; font-weight: 500; }
.sc-table tbody th small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.sc-table tr:last-child th, .sc-table tr:last-child td { border-bottom: 0; }
.sc-table tr.pickable { cursor: pointer; }
.sc-table tr.on { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.sc-pick { min-width: 44px; min-height: 36px; padding: 0 10px; border: 1px solid var(--hair); background: var(--paper); font: inherit; font-weight: 500; }
.sc-table tr.on .sc-pick { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.sc-hint { margin-top: -6px; }
.sc-note { font-size: 13.5px; line-height: 1.55; padding: 10px 12px; background: var(--stone); }
.sc-h { font: 400 12px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.sc-tips { display: grid; gap: 10px; font-size: 14px; line-height: 1.5; }
.sc-tips dt { font-weight: 500; }
.sc-tips dd { margin: 2px 0 0; color: var(--ink2); }
.variants { display: flex; gap: 8px; flex-wrap: wrap; }
.variant { width: 56px; height: 74px; overflow: hidden; border: 1px solid var(--hair); background: var(--stone); padding: 2px; }
.variant img { width: 100%; height: 100%; object-fit: cover; }
.variant.on { border-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }
.size-chip { height: 48px; padding: 0 10px; border: 1px solid var(--hair); background: var(--paper); font-size: 13px; letter-spacing: .06em; transition: .2s; }
.size-chip:hover:not(:disabled) { border-color: var(--ink); }
.size-chip.on { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.size-chip.oos { color: #C3BDB3; background: var(--paper) linear-gradient(to top right, transparent calc(50% - .5px), var(--hair) 50%, transparent calc(50% + .5px)); cursor: not-allowed; }
.stock-hint { color: var(--muted); font-size: 13px; margin-top: 12px; }
.stock-hint:empty { display: none; }
.shake { animation: shake .4s; }
.shake h3 { color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pin-check { display: flex; align-items: center; gap: 10px; max-width: 340px; border-bottom: 1px solid var(--ink); padding: 4px 0; }
.pin-check .ic { color: var(--ink2); flex: none; width: 18px; height: 18px; stroke-width: 1.5; }
.pin-check input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; font: 400 16px var(--font); letter-spacing: .04em; background: none; padding: 6px 0; }
.pin-check .link-btn { font: 400 11px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.pin-result { margin-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pin-result:empty { display: none; }
.pin-result .ic { width: 16px; height: 16px; }
.pin-wrap { display: grid; align-content: start; }
.pin-wrap .pin-result { margin-top: 4px; }
.pay-opt.off { opacity: .5; }
.services { display: grid; gap: 14px; }
.services > div { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.services .ic { color: var(--ink2); margin-top: 1px; }
.services small { display: block; color: var(--muted); font-size: 12.5px; }
.spec { display: grid; grid-template-columns: minmax(90px, 140px) 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.desc { color: var(--ink2); line-height: 1.75; font-size: 14.5px; max-width: 62ch; overflow-wrap: anywhere; }
.rev-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.rev-head h3 { margin: 0; }
.rev-summary { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding-bottom: 14px; }
.rev-avg { display: grid; justify-items: center; }
.rev-avg b { font: 300 40px/1 var(--display); display: flex; align-items: center; gap: 4px; }
.rev-avg .ic { width: 18px; height: 18px; }
.rev-bars { display: grid; gap: 5px; font-size: 12px; }
.rev-bars div { display: grid; grid-template-columns: 34px 1fr 26px; gap: 8px; align-items: center; }
.rev-bars span:first-child { display: flex; align-items: center; gap: 2px; }
.rev-bars .ic { width: 10px; height: 10px; }
.rev-bars i { height: 3px; background: var(--hair); overflow: hidden; }
.rev-bars b { display: block; height: 100%; background: var(--ink); }
.rev-bars b.r2, .rev-bars b.r1 { background: var(--muted); }
.rev { border-top: 1px solid var(--hair); padding: 14px 0; display: grid; gap: 6px; justify-items: start; }
.rev p { font-size: 14px; }
.star-pick { display: flex; gap: 6px; }
.star-pick label { position: relative; cursor: pointer; color: var(--hair); }
.star-pick input { position: absolute; opacity: 0; inset: 0; }
.star-pick .ic { width: 38px; height: 38px; }
.star-pick label.on { color: var(--ink); }
.lightbox { background: var(--stone); overflow: hidden; }
.lightbox img { width: 100%; max-height: 68dvh; object-fit: contain; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; }
.lb-thumbs button { flex: none; width: 56px; height: 74px; padding: 2px; border: 1px solid var(--hair); overflow: hidden; background: none; }
.lb-thumbs button.on { border-color: var(--ink); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cart / checkout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 18px; align-items: start; }
.side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.cart-head { padding: 18px 18px 14px; }
.cart-head h1 { font-size: 32px; font-weight: 300; }
.cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 16px; padding: 18px; border-top: 1px solid var(--hair); }
.cart-item.has-prob { background: #FBF1EF; }
.ci-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.ci-title { max-width: 100%; overflow-wrap: anywhere; font-size: 14.5px; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.ci-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.prob { color: var(--red); font-size: 13px; }
.ci-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); }
.qty button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty .ic { width: 14px; height: 14px; }
.qty span { min-width: 34px; text-align: center; font-size: 14px; }
.cart-foot { position: sticky; bottom: 0; background: var(--paper); padding: 16px 18px; text-align: right; border-top: 1px solid var(--hair); }
.cart-foot .btn { min-width: 240px; min-height: 52px; }
.price-box { padding: 20px; }
/* coupon box (bag + checkout) */
.coupon-card { padding: 16px 20px; margin-bottom: 12px; }
.coupon-card h3 { display: flex; align-items: center; gap: 8px; font: 400 11px/1 var(--font); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.coupon-card h3 .ic { width: 15px; height: 15px; }
.cp-form { display: flex; gap: 8px; }
.cp-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--hair); background: var(--paper); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; outline: none; }
.cp-form input::placeholder { text-transform: none; letter-spacing: 0; }
.cp-form input:focus { border-color: var(--ink); }
.cp-form .btn { min-height: 44px; flex: none; }
.cp-err { margin-top: 8px; color: var(--red); font-size: 13px; }
.cp-h { margin: 14px 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--hair); }
.cp-offer > div { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; }
.cp-code { justify-self: start; padding: 3px 8px; border: 1px dashed var(--accent); color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.cp-offer small { font-size: 12px; line-height: 1.4; }
.coupon-card.on { display: flex; align-items: center; gap: 12px; color: var(--green); }
.coupon-card.on > .ic { flex: none; width: 20px; height: 20px; }
.coupon-card.on > div { flex: 1; min-width: 0; color: var(--ink); font-size: 14px; }
.coupon-card.on b { letter-spacing: .08em; }
.coupon-card.on small { display: block; color: var(--green); font-size: 12.5px; margin-top: 2px; }
.price-box h3 { font: 400 11px/1 var(--font); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.price-box dl { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 18px 0; font-size: 14.5px; }
.price-box dd { margin: 0; text-align: right; }
.price-box .total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--ink); font-size: 16px; font-weight: 500; }
.price-box .total b { font: 500 20px/1 var(--font); }
.save { color: var(--green); margin-top: 12px; font-size: 13.5px; }
.price-box .muted.small { margin-top: 8px; }
.secure { display: flex; gap: 10px; align-items: center; padding: 4px 2px; }
.secure .ic { color: var(--muted); width: 17px; height: 17px; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + var(--safe-b)); background: var(--ivory); border-top: 1px solid var(--hair); }
.buy-bar > div { display: grid; }
.buy-bar b { font: 500 19px/1.2 var(--font); }
.buy-bar .btn { min-width: 170px; min-height: 50px; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.step { padding: 20px; }
.step-h { display: flex; align-items: center; gap: 14px; }
.step-h i { font: italic 400 22px/1 var(--display); width: 26px; color: var(--muted); flex: none; }
.step-h h2 { font: 400 11.5px/1.3 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.step-h h2 .muted { letter-spacing: .06em; }
.step-h p { font-size: 14px; margin-top: 4px; }
.step-h .ok { margin-left: auto; color: var(--green); width: 22px; height: 22px; }
.step.done .step-h i { color: var(--green); }
.form { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 14px; margin-top: 18px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; letter-spacing: .04em; color: var(--ink2); }
.field input, .field select, .field textarea, .inline-form input {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 0; background: var(--paper); font-size: 16px; font-weight: 300; outline: none; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus { border-color: var(--ink); }
.validated input:invalid, .validated select:invalid { border-color: var(--red); background: #FBF1EF; }
.field > label { font-size: 12.5px; letter-spacing: .04em; color: var(--ink2); }
.field-err { display: flex; align-items: flex-start; gap: 6px; color: var(--red); font-size: 12.5px; line-height: 1.4; }
.field-err::before { content: '!'; flex: none; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; background: var(--red); color: #fff; font: 600 10px/15px var(--font); text-align: center; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-eye { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink2); }
.pw-eye:hover { color: var(--ink); }
.pw-eye .ic { width: 19px; height: 19px; }
/* new-password guidance: strength bar, live checklist, tip and "passwords match" line */
.pw-help { display: grid; gap: 8px; margin-top: -4px; }
.pw-meter { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .04em; color: var(--ink2); }
.pw-bar { display: flex; gap: 4px; }
.pw-bar i { width: 28px; height: 3px; background: var(--hair); transition: background .2s; }
.pw-meter[data-level='weak'] .pw-bar i:first-child { background: var(--red); }
.pw-meter[data-level='fair'] .pw-bar i:nth-child(-n+2) { background: var(--amber); }
.pw-meter[data-level='strong'] .pw-bar i { background: var(--green); }
.pw-meter[data-level='weak'] .pw-level { color: var(--red); }
.pw-meter[data-level='fair'] .pw-level { color: var(--amber); }
.pw-meter[data-level='strong'] .pw-level { color: var(--green); }
.pw-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--ink2); }
.pw-rules li { display: flex; align-items: center; gap: 7px; transition: color .2s; }
.pw-rules .ic { flex: none; width: 14px; height: 14px; opacity: .25; transition: opacity .2s; }
.pw-rules li.ok { color: var(--green); }
.pw-rules li.ok .ic { opacity: 1; }
.pw-tip { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.pw-match { font-size: 12.5px; }
.forgot-link { justify-self: end; margin-top: -6px; min-height: 32px; display: inline-flex; align-items: center; }
/* forgot / reset password pages */
.auth-simple { padding: 28px 20px; display: grid; gap: 16px; margin-top: 20px; }
.auth-simple h1 { font: 300 30px/1.15 var(--display); color: var(--accent); }
.fp-ok, .fp-no { display: flex; gap: 12px; padding: 14px; background: var(--stone); line-height: 1.55; }
.fp-ok > .ic, .fp-no > .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.fp-ok > .ic { color: var(--green); }
.fp-no > .ic { color: var(--amber); }
.fp-ok p, .fp-no p { margin: 4px 0 0; }
.pw-match.yes { color: var(--green); }
.pw-match.no { color: var(--red); }
.field:has(.field-err) .pw-match { display: none; } /* the error message says it already */
.prefix { display: flex; align-items: stretch; border: 1px solid var(--hair); overflow: hidden; background: var(--paper); }
.prefix:focus-within { border-color: var(--ink); }
.prefix em { font-style: normal; display: grid; place-items: center; padding: 0 12px; border-right: 1px solid var(--hair); color: var(--ink2); }
.prefix input { border: 0 !important; }
.mini-items { display: grid; }
.mini-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
.mini-item:first-child { border-top: 0; }
.mini-item img { width: 64px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--stone); }
.mini-item > div { display: grid; gap: 3px; align-content: start; justify-items: start; min-width: 0; }
.step .mini-items { margin-top: 12px; }
.pay-opts { display: grid; gap: 10px; margin-top: 16px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--hair); cursor: pointer; transition: border-color .2s, background .2s; background: var(--paper); }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--ivory); }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.pay-opt b, .pay-opt small { display: block; }
.pay-opt b { font-weight: 400; }
.pay-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--stone); color: var(--ink); display: grid; place-items: center; flex: none; }

/* ---------- auth ---------- */
.auth { display: grid; overflow: hidden; margin-top: 24px; }
.auth-side { background: var(--accent); color: var(--ivory); padding: 32px 24px; display: grid; gap: 10px; align-content: end; position: relative; overflow: hidden; min-height: 240px; }
.auth-side > :not(.auth-photo) { position: relative; z-index: 1; }
.auth-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.auth-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--accent) 92%, #000), color-mix(in srgb, var(--accent) 45%, transparent) 55%, transparent); }
.auth-side .eyebrow { color: rgba(255, 255, 255, .8); }
.auth-side .script { font: 400 28px/1.2 'Pinyon Script', var(--display); color: #F1D9A6; margin-top: 4px; }
.auth-side h1 { font-size: 42px; font-weight: 300; }
.auth-side p { color: rgba(255, 255, 255, .88); font-size: 15px; }
.auth-art { display: none; }
.auth-form { padding: 28px 20px; }

/* ---------- account / orders ---------- */
.side-left { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; }
.profile { display: flex; align-items: center; gap: 16px; padding: 20px; }
.profile b, .profile small { display: block; }
.profile b { font: 400 22px/1.2 var(--display); }
.acct-nav { display: grid; overflow: hidden; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 20px; border: 0; border-top: 1px solid var(--hair); background: none; text-align: left; width: 100%; font-size: 14.5px; }
.acct-nav > :first-child { border-top: 0; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--ivory); }
.acct-nav .ic { color: var(--ink2); width: 18px; height: 18px; }
.page-h { font-size: 38px; font-weight: 300; margin: 4px 2px 16px; }
.orders { display: grid; gap: 12px; }
.order-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; padding: 16px; align-items: center; transition: border-color .2s; }
.order-card:hover { border-color: var(--ink); }
.oc-imgs { display: flex; }
.oc-imgs img { width: 54px; height: 72px; object-fit: cover; border: 2px solid var(--paper); background: var(--stone); }
.oc-imgs img + img { margin-left: -28px; }
.oc-info { display: grid; gap: 4px; }
.oc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.oc-arrow { color: var(--muted); }
.status { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.st-placed, .st-return_requested, .st-return_approved { background: var(--amber-bg); color: var(--amber); }
.st-confirmed, .st-packed, .st-shipped, .st-out_for_delivery { background: var(--stone); color: var(--ink); }
.st-delivered { background: var(--green-bg); color: var(--green); }
.st-cancelled, .st-returned { background: #F6E6E4; color: var(--red); }
.center { text-align: center; }
.refund-info { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 14px; background: var(--green-bg); color: #24533A; font-size: 13.5px; }
.refund-info .ic { color: var(--green); flex: none; }
.return-box { padding-bottom: 18px; }
.return-box .sec-h { display: flex; align-items: center; gap: 10px; }
.return-box .sec-h .ic { color: var(--amber); }
.ret-reason { padding: 10px 20px 0; }
.ret-list { list-style: none; margin: 14px 20px 0; padding: 0 0 0 18px; border-left: 1px solid var(--hair); display: grid; gap: 14px; }
.ret-list li { position: relative; display: grid; font-size: 14px; }
.ret-list li::before { content: ''; position: absolute; left: -23px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.ret-list li.ok::before { background: var(--green); }
.ret-list li.bad::before { background: var(--red); }
.ret-list p { color: var(--ink2); margin-top: 2px; }
.ret-msg { margin: 16px 20px 0; padding: 14px; background: var(--amber-bg); color: #5E3E0D; }
.return-cta { padding: 16px; display: grid; gap: 8px; text-align: center; }
fieldset.reasons { border: 0; padding: 0; margin: 0; display: grid; min-width: 0; }
fieldset.reasons legend { font-size: 12.5px; color: var(--ink2); margin-bottom: 6px; padding: 0; }
.success { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--green-bg); border-color: #C9DCCD; }
.success h1 { font-size: 30px; font-weight: 300; color: #24533A; margin-bottom: 6px; }
.success-ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--green); color: var(--green); display: grid; place-items: center; flex: none; }
.success-ic .ic { width: 22px; height: 22px; stroke-width: 2; }
.upi-box { padding: 22px; border: 1px dashed var(--ink2); display: grid; gap: 14px; }
.upi-box h2 { font-size: 26px; font-weight: 300; display: flex; align-items: center; gap: 10px; }
.upi-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.upi-actions .btn { flex: 1 1 180px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form input { flex: 1 1 220px; }
.ord-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; padding: 20px; }
.ord-head > div { min-width: 0; }
.ord-head h2 { font-size: 28px; font-weight: 300; }
.timeline { list-style: none; margin: 0; padding: 4px 20px 16px; }
.timeline li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 18px; }
.timeline li::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 0; width: 1px; background: var(--hair); }
.timeline li.done::before { background: var(--ink); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline li > i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--hair); background: var(--paper); display: grid; place-items: center; }
.timeline li.done > i { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.timeline li.bad > i { background: var(--red); border-color: var(--red); }
.timeline li > i .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.timeline li > div { display: grid; padding-top: 3px; }
.timeline li b { font-weight: 400; }
.timeline li:not(.done) b { color: var(--muted); }
.timeline li.current b { color: var(--ink); font-weight: 500; }
.tracking { display: flex; gap: 10px; align-items: flex-start; background: var(--ivory); border: 1px solid var(--hair); padding: 14px; margin: 0 20px 20px; font-size: 14px; }
.tracking .ic { color: var(--ink2); }
.tracking a.link { display: inline-block; padding-block: 10px; margin-block: -10px; }
.card > .muted.small { padding: 0 20px 18px; }
.sec-h { font-size: 26px; font-weight: 300; padding: 20px 20px 0; }
.card > .mini-items { padding: 6px 20px 10px; }
.addr { padding: 20px; display: grid; gap: 6px; font-size: 14px; }
.addr h3 { font: 400 11px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pay-paid { color: var(--green); }
.pay-pending { color: var(--amber); }
.pay-refunded, .pay-failed { color: var(--red); }

/* ---------- empty ---------- */
.empty { position: relative; overflow: hidden; padding: 64px 24px; text-align: center; display: grid; justify-items: center; gap: 12px; margin-top: 18px; }
.empty > .dmd { position: absolute; right: -46px; top: -46px; width: 190px; height: 190px; opacity: .35; }
.empty h2 { font-size: 34px; font-weight: 300; }
.empty .btn { margin-top: 10px; min-width: 200px; }
.empty-art { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--hair); color: var(--ink2); display: grid; place-items: center; margin-bottom: 6px; }
.empty-art .ic { width: 32px; height: 32px; stroke-width: 1.1; }

/* ---------- sheet / modal ---------- */
.sheet { position: fixed; inset: 0; z-index: 200; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(43, 27, 31, .4); opacity: 0; transition: opacity .3s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90dvh; background: var(--ivory); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .4s var(--ease), opacity .3s; }
.sheet.open .sheet-scrim { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--hair); }
.sheet-head h3 { font-size: 24px; font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-body { overflow-y: auto; padding: 18px 20px calc(20px + var(--safe-b)); }
.sheet-foot { position: sticky; bottom: calc(-20px - var(--safe-b)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--ivory); padding: 12px 0 calc(8px + var(--safe-b)); margin-top: 8px; border-top: 1px solid var(--hair); }

/* ======================================================================
   ≥ 641px  (tablet)
   ====================================================================== */
@media (min-width: 641px) {
  :root { --gut: 28px; }
  .hide-sm { display: inline-flex !important; }
  .h-cats { grid-auto-columns: 34%; }
  .h-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 18px; }
  .h-split { grid-template-columns: repeat(3, 1fr); }
  .h-split.n2 { grid-template-columns: repeat(2, 1fr); }
  .h-services { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 16px; }
  .pdp-grid { margin: 24px 0 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .gallery { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
  .thumb { flex: none; width: 64px; height: 84px; padding: 2px; border: 1px solid transparent; overflow: hidden; background: none; }
  .thumb.on { border-color: var(--ink); }
  .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .dots { display: none; }
  .pdp-info { padding: 0; }
  .cart-item { grid-template-columns: 110px minmax(0, 1fr); padding: 22px; }
  .ci-actions { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .auth { grid-template-columns: 2fr 3fr; min-height: 480px; margin-top: 40px; }
  .auth-side { padding: 44px 36px; }
  .auth-form { padding: 44px 40px; align-content: center; }
  .ftr .ftr-grid { gap: 40px; }
  .ftr-brand { grid-column: auto; }
  .sheet-panel { left: 50%; top: 50%; bottom: auto; right: auto; width: min(540px, 92vw); max-height: 86dvh; transform: translate(-50%, -46%); opacity: 0; }
  .sheet-panel.wide { width: min(980px, 94vw); }
  .sheet.open .sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-body { padding-bottom: 20px; }
  .sheet-foot { bottom: -20px; padding-bottom: 8px; }
}

/* ======================================================================
   ≥ 1025px  (desktop)
   ====================================================================== */
@media (min-width: 1025px) {
  body { padding-bottom: 0 !important; }
  .bnav, .buy-bar, .mbar { display: none !important; }
  .hide-sm-down { display: flex !important; }
  .wa-fab { bottom: 24px !important; }
  #toasts { bottom: 28px !important; }
  .hdr-menu { display: none; }
  :root { --hdr-h: 72px; }
  .hdr-in { position: static; grid-template-columns: 1fr auto 1fr; grid-template-areas: 'nav logo actions'; height: 104px; padding-top: 0; padding-bottom: 0; transition: height .35s var(--ease); }
  .hdr-compact .hdr-in { height: 72px; }
  .hdr { position: sticky; }
  .hnav { grid-area: nav; display: flex; align-items: center; gap: 30px; height: 100%; }
  .hnav > a, .hnav-item > a { position: relative; font: 400 11.5px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; }
  .hnav > a::after, .hnav-item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .45s var(--ease); }
  .hnav > a:hover::after, .hnav-item:hover > a::after { transform: scaleX(1); }
  .logo-emblem { height: 46px; margin-bottom: 6px; }
  .logo-word { height: 23px; }
  .logo-tag { font-size: 9px; margin-top: 6px; }
  .hdr-compact .hdr .logo-word { height: 26px; }
  .search { grid-area: auto; width: 190px; height: 38px; margin-right: 10px; }
  .search-m { display: none; }
  .search input { font-size: 14px; }
  .hdr-actions { gap: 8px; margin-right: 0; }
  #hdr-account-label { display: inline; }
  .hdr-act .badge { position: static; display: inline-block; margin-left: -2px; }
  .h-slide { min-height: min(84svh, 760px); }
  .h-slide:not(.has-img) { grid-template-columns: 1fr 1fr; }
  .h-slide:not(.has-img) .h-copy { justify-self: start; text-align: left; justify-items: start; padding-left: max(28px, calc((100vw - 1304px) / 2)); }
  .h-art { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; padding: 48px max(28px, calc((100vw - 1304px) / 2)) 48px 0; }
  .h-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ivory); }
  .h-art img:last-child { margin-top: 64px; }
  .h-cats { grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; margin: 0; padding: 0 0 14px; scroll-padding-inline: 0; scrollbar-width: thin; scrollbar-color: var(--hair) transparent; }
  .h-services { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 64px; }
  .rail-track { margin: 0; padding-inline: 0; scroll-padding-inline: 0; gap: 18px; }
  .rail-track .pcard { flex-basis: calc((100% - 3 * 18px) / 4); }
  @media (hover: hover) {
    .pcard:hover .pcard-img2 { opacity: 1; }
    .pcard:hover .pcard-img img:first-child:only-of-type, .pcard:hover .pcard-img img:first-child { transform: scale(1.03); }
  }
  .listing { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 32px; }
  .filters { display: block; position: sticky; top: calc(var(--hdr-h) + 24px); max-height: calc(100dvh - var(--hdr-h) - 48px); overflow-y: auto; padding: 0; scrollbar-width: thin; }
  .sort-tabs { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font: 400 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; }
  .sort-tabs button { border: 0; background: none; min-height: 32px; padding: 0; border-bottom: 1px solid transparent; color: var(--muted); font: inherit; letter-spacing: inherit; text-transform: inherit; }
  .sort-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
  .sort-tabs button:hover { color: var(--ink); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 20px; }
  .pdp-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); margin-top: 32px; }
  .pdp-media { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
  .gallery { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .thumb { width: 76px; height: 100px; }
  .pdp-cta { position: static; margin-top: 0; padding: 0; background: none; border: 0; gap: 10px; grid-template-columns: 1fr; order: 0; }
  .pdp-cta .btn { min-height: 56px; border-width: 1px; }
  .pdp-cta .btn-cart { border-right-width: 1px; }
  .two-col { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding-top: 32px; }
  .acct { grid-template-columns: 300px minmax(0, 1fr); }
  .side { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .side .btn-buy.btn-block { min-height: 56px; }
  .timeline { display: grid; grid-template-columns: repeat(var(--steps, 6), 1fr); padding: 12px 20px 20px; }
  .timeline li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0 4px; gap: 10px; }
  .timeline li::before { left: calc(50% + 13px); right: calc(-50% + 13px); top: 13px; bottom: auto; width: auto; height: 1px; }
  .timeline li:last-child::before { display: none; }
  .timeline li > div { padding-top: 0; font-size: 13px; }
}

@media (min-width: 1441px) {
  :root { --gut: 40px; }
  .wrap { max-width: 1440px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ======================================================================
   Phone/tablet vs desktop. Below 1025px the store behaves like a shopping
   app (category circles, short banner, swipe rows); from 1025px up it is
   the editorial layout. .m-only / .d-only pick the sections for each.
   ====================================================================== */
@media (max-width: 1024px) { .d-only { display: none !important; } }
@media (min-width: 1025px) { .m-only { display: none !important; } }

/* category circles under the search bar */
.m-cats { display: flex; gap: 14px; overflow-x: auto; padding: 14px var(--gut) 12px; scrollbar-width: none; border-bottom: 1px solid var(--hair); }
.m-cats::-webkit-scrollbar { display: none; }
.m-cat { flex: 0 0 68px; display: grid; justify-items: center; align-content: start; gap: 7px; font-size: 11.5px; line-height: 1.25; text-align: center; color: var(--ink2); }
.m-cat-img { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--stone); border: 1px solid var(--hair); display: grid; place-items: center; transition: transform .15s; }
.m-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.m-cat-img.new { background: var(--ink); color: var(--ivory); border-color: var(--ink); font: italic 400 19px/1 var(--display); }
.m-cat:active .m-cat-img { transform: scale(.94); }

/* perks strip */
/* perks strip: glides slowly to the left in an endless loop. The list holds the perks four times and
   moves by half its width, so the jump back to the start lands on an identical frame (no visible reset).
   Touching or hovering pauses it; reduced-motion users get the old swipeable strip instead. */
.m-perks { position: relative; overflow: hidden; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 12px; color: var(--ink2); white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gut), #000 calc(100% - var(--gut)), transparent); }
.m-perks-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: perks-marquee 40s linear infinite; }
.m-perks li { display: inline-flex; align-items: center; gap: 7px; padding-inline: 14px; }
.m-perks li::after { content: ''; width: 3px; height: 3px; margin-left: 14px; border-radius: 50%; background: var(--accent); opacity: .55; }
.m-perks .ic { width: 17px; height: 17px; color: var(--accent); }
.m-perks.held .m-perks-track { animation-play-state: paused; }
/* hover pause only with a real mouse: touch screens keep :hover "stuck" after a tap */
@media (hover: hover) { .m-perks:hover .m-perks-track { animation-play-state: paused; } }
@keyframes perks-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .m-perks { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .m-perks::-webkit-scrollbar { display: none; }
  .m-perks-track { animation: none; }
  .m-perks li[aria-hidden] { display: none; }
}

/* shop by price */
.h-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.h-prices a { display: grid; gap: 2px; padding: 18px 16px; background: var(--paper); border: 1px solid var(--hair); transition: border-color .25s; }
.h-prices a:hover { border-color: var(--ink); }
.h-prices small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.h-prices b { font: 300 34px/1.1 var(--display); }
.h-prices span { margin-top: 8px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

/* listing: quick category chips */
.qchips { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gut) 2px; scrollbar-width: none; }
.qchips::-webkit-scrollbar { display: none; }
.qchips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--hair); background: var(--paper); font-size: 12.5px; white-space: nowrap; }
.qchips a.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* product page: folding sections */
.pdp-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; cursor: pointer; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary h3 { margin: 0; }
.pdp-acc summary .ic { width: 16px; height: 16px; color: var(--muted); transition: transform .3s; }
.pdp-sec.pdp-acc { padding-block: 6px; }
.pdp-acc[open] { padding-bottom: 20px; }
.pdp-acc[open] summary { margin-bottom: 8px; }
.pdp-acc[open] summary .ic { transform: rotate(180deg); }

/* home section rhythm */
.wrap.hs { padding-block: 28px 0; }

@media (max-width: 640px) {
  .announce { font-size: 10.5px; letter-spacing: .08em; line-height: 1.5; padding: 8px 12px; }
}
@media (max-width: 1024px) {
  .sec-head { margin-bottom: 16px; gap: 12px; }
  .sec-head h2, .rail-head h2 { font-size: 28px; margin-top: 6px; }
  .rail { padding-block: 32px 0; }
  .rail-head { margin-bottom: 16px; }
  /* short banner, not a full-screen hero */
  .h-slide { min-height: 0; }
  .h-slide.has-img { aspect-ratio: 4 / 5; }
  .h-slide:not(.has-img) { min-height: 300px; }
  .h-copy { padding: 36px 20px 44px; gap: 10px; }
  .h-copy h1, .h-copy h2 { font-size: clamp(38px, 10vw, 60px); }
  .h-copy p { font-size: 14px; }
  /* Women / Men / Kids side by side */
  .h-split { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .h-split.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-tile { aspect-ratio: 3 / 4; }
  .h-tile .cap { left: 10px; right: 10px; bottom: 10px; gap: 4px; }
  .h-tile .cap .eyebrow { display: none; }
  .h-tile .cap h3 { font-size: 22px; }
  .h-tile .cap .tlink { font-size: 10.5px; letter-spacing: .1em; padding-bottom: 4px; }
  /* product sections swipe sideways */
  .h-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); padding-bottom: 6px; scrollbar-width: none; }
  .h-grid::-webkit-scrollbar { display: none; }
  .h-grid .pcard { flex: 0 0 clamp(150px, 42vw, 240px); scroll-snap-align: start; }
  .pcard-title { -webkit-line-clamp: 1; }
}
@media (min-width: 641px) {
  .h-prices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .h-prices a { padding: 28px 24px; }
  .h-prices b { font-size: 44px; }
}
@media (min-width: 1025px) {
  .wrap.hs { padding-block: 0 clamp(56px, 8vw, 112px); }
}

/* ======================================================================
   Home hero (after the Gokulam / kids references): full-screen photos that crossfade.
   l-brand = lotus + store name + script over the photo · l-edit = caption bottom-left
   l-kids  = big handwriting with doodles. Phones and desktop share the layout.
   ====================================================================== */
.intro { position: relative; height: clamp(560px, calc(100svh - 150px), 780px); background: #1a120d; color: #fff; overflow: hidden; outline: none; }
.in-stage, .in-slide { position: absolute; inset: 0; }
.in-slide { opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.in-slide.on { opacity: 1; visibility: visible; z-index: 1; }
.in-media { position: absolute; inset: 0; overflow: hidden; }
.in-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--mpos, 50% 30%); transform: scale(1.08); transition: transform 8s linear; }
.in-slide.on .in-media img { transform: scale(1); }
.in-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 13, 8, .7) 0%, rgba(22, 13, 8, .2) 42%, transparent 60%); }
.l-brand .in-media::after { background: linear-gradient(170deg, rgba(22, 13, 8, .55) 0%, transparent 42%), linear-gradient(to top, rgba(22, 13, 8, .65) 0%, transparent 42%); }
.l-kids .in-media::after { background: rgba(70, 40, 30, .18); }

.in-copy { position: absolute; inset: 0 0 64px; z-index: 2; padding: 36px var(--gut) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.in-copy > * { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.in-slide.on .in-copy > * { opacity: 1; transform: none; }
.in-slide.on .in-copy > :nth-child(2) { transition-delay: .12s; }
.in-slide.on .in-copy > :nth-child(3) { transition-delay: .24s; }
.in-slide.on .in-copy > :nth-child(4) { transition-delay: .36s; }
.in-slide.on .in-copy > :nth-child(5) { transition-delay: .48s; }
.in-text { margin-top: auto; font-size: 14px; line-height: 1.6; max-width: 34ch; color: rgba(255, 255, 255, .9); }
.in-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 400 11.5px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.in-cta::before { content: ''; position: absolute; inset: -12px -10px; }
.in-cta .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.in-cta:hover .ic { transform: translateX(4px); }

/* brand lockup, top-left */
.lotus { width: 48px; height: 30px; color: #F3DDB0; }
.in-mark { font: 300 clamp(58px, 16vw, 132px)/.9 var(--display); letter-spacing: -.01em; margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.in-script { font: 400 clamp(30px, 8.5vw, 52px)/1.1 'Pinyon Script', var(--display); color: #F3DDB0; margin-top: -2px; }

/* editorial caption, bottom-left */
.l-edit .in-copy { justify-content: flex-end; }
.l-edit .in-text { margin-top: 0; }
.in-tag { display: inline-flex; align-items: center; gap: 10px; font: 400 10.5px/1 var(--font); letter-spacing: .26em; text-transform: uppercase; }
.in-tag::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.in-title { font: 300 clamp(48px, 13vw, 96px)/.95 var(--display); margin: 0; }
.in-title em { font-style: italic; color: #F3DDB0; }

/* kids: handwriting and doodles in the middle */
.in-slide > .kids-art { position: absolute; left: 50%; bottom: 40px; z-index: 2; width: min(92vw, 560px); height: auto; aspect-ratio: 300 / 380; transform: translateX(-50%); pointer-events: none; }
.l-kids .in-copy { justify-content: flex-end; align-items: center; text-align: center; padding-bottom: 36px; }
.in-word { font: 600 clamp(56px, 16vw, 132px)/.95 'Caveat', 'Pinyon Script', cursive; margin: 0; transform: rotate(-5deg); text-shadow: 0 3px 18px rgba(80, 40, 30, .35); max-width: 9ch; }
.in-slide.on .in-copy > .in-word { transform: rotate(-5deg); }
.l-kids .in-cta { margin-top: 18px; }

.in-nav { position: absolute; left: var(--gut); right: var(--gut); bottom: 16px; z-index: 3; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; color: #fff; }
.in-nav button { display: grid; align-content: end; gap: 8px; min-height: 44px; padding: 6px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.in-nav span { font: 400 9.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; opacity: .6; transition: opacity .3s; }
.in-nav .on span { opacity: 1; }
.in-nav i { position: relative; display: block; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.in-nav i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; background: currentColor; }
.in-nav .on i::after { width: 100%; }
.intro.run .in-nav .on i::after { animation: in-prog var(--dur, 6500ms) linear; }
@keyframes in-prog { from { width: 0; } to { width: 100%; } }

/* diamond motif */
.dmd { display: block; color: #C9A27A; }

/* three-photo lookbook strip under the hero */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding-top: 4px; }
.strip a { display: block; overflow: hidden; aspect-ratio: 3 / 4.4; background: var(--stone); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.4s var(--ease); }
.strip a:hover img { transform: scale(1.04); }

/* brand story */
.story { display: grid; gap: 36px; padding-block: 56px 8px; }
.story-copy { display: grid; gap: 14px; align-content: center; }
.story h2 { font: 400 clamp(48px, 7vw, 88px)/1 var(--display); color: var(--accent); margin: 4px 0 6px; }
.story p { color: var(--ink2); font-size: 15.5px; line-height: 1.8; max-width: 54ch; }
.story .script { font: 400 clamp(30px, 4vw, 42px)/1.25 'Pinyon Script', 'Cormorant Garamond', cursive; color: var(--accent); margin-top: 8px; max-width: 22ch; }
.story-art { position: relative; padding: 0 0 36px 36px; }
.story-art img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.story-art .dmd { position: absolute; left: 0; bottom: 0; width: 42%; height: auto; aspect-ratio: 1; z-index: 2; }

/* women / men / kids cards */
.g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 880px; margin-inline: auto; }
.g-card { position: relative; display: block; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--stone); color: #fff; }
.g-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1.4s var(--ease); }
.g-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 16, .6), transparent 50%); pointer-events: none; }
.g-card:hover img { transform: scale(1.04); }
.g-card .cap { position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 2; display: grid; gap: 4px; }
.g-card h3 { font: 300 24px/1 var(--display); }
.g-card span { font: 400 9px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* drawn kids panel (cards and the Kids page header) */
.kids-fill { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, #F0D3CE, #DDAFA9 70%); overflow: hidden; }
.kids-fill .kids-art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.kids-word { position: absolute; left: 0; right: 0; top: 40%; text-align: center; font: 600 clamp(26px, 7vw, 60px)/1 'Caveat', 'Pinyon Script', cursive; color: #fff; transform: rotate(-6deg); text-shadow: 0 2px 10px rgba(120, 60, 50, .2); }
.g-kids::after { background: linear-gradient(to top, rgba(120, 60, 52, .45), transparent 45%); }
.g-kids:hover .kids-art { transform: scale(1.04); }
.pg-media .kids-fill { position: relative; height: 100%; min-height: 220px; }

/* empty-store panel */
.soon { position: relative; overflow: hidden; margin-top: 48px; padding-block: 56px; text-align: center; display: grid; justify-items: center; gap: 14px; background: var(--paper); border-block: 1px solid var(--hair); }
.soon .dmd { position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; opacity: .35; }
.soon h2 { font: 300 clamp(32px, 4.4vw, 54px)/1.1 var(--display); max-width: 16ch; }
.soon h2 em { font-style: italic; color: var(--accent); }
.soon p { color: var(--ink2); max-width: 46ch; }
.soon .btn { margin-top: 8px; }

@media (min-width: 641px) {
  .g-cards { gap: 16px; }
  .g-card { aspect-ratio: 4 / 5; }
  .g-card .cap { left: 22px; bottom: 22px; gap: 8px; }
  .g-card h3 { font-size: 40px; }
  .g-card span { font-size: 10.5px; letter-spacing: .2em; }
  .strip { gap: 8px; padding-top: 8px; }
  .strip a { aspect-ratio: 4 / 4.4; }
}

@media (min-width: 1025px) {
  .intro { height: min(calc(100svh - 120px), 860px); min-height: 620px; }
  .in-media img { object-position: var(--pos, 50% 30%); transform-origin: 50% 0; }
  .in-slide.on .in-media img { transform: var(--dshift, none); }
  .in-slide .in-media img { transform: var(--dshift, none) scale(1.06); }
  .in-slide.on .in-media img { transform: var(--dshift, none) scale(1); }
  .in-slide > .kids-art { width: 460px; bottom: 60px; }
  .in-copy { inset: 0 0 90px; padding: 56px 0 0 max(40px, calc((100vw - 1360px) / 2 + 40px)); }
  .lotus { width: 64px; height: 40px; }
  .in-text { font-size: 16px; max-width: 38ch; }
  .in-cta { height: 52px; padding: 0 28px; border: 1px solid rgba(255, 255, 255, .75); transition: background .3s, color .3s; }
  .in-cta:hover { background: #fff; color: var(--ink); }
  .in-nav { left: max(40px, calc((100vw - 1360px) / 2 + 40px)); right: auto; width: min(30vw, 420px); bottom: 40px; gap: 16px; }
  .in-nav i { height: 1px; }
  .in-nav span { font-size: 10.5px; }

  .story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: center; padding-block: clamp(80px, 9vw, 140px) clamp(40px, 5vw, 80px); }
  .story p { font-size: 16.5px; }
  .story-art { padding: 0 0 56px 64px; }
  .story-art .dmd { width: 34%; }
  .soon { margin-top: 0; padding-block: 88px; }
  .pg-media .kids-fill { min-height: 340px; }
}

/* ======================================================================
   Site-wide brand touches: maroon page headings, Women/Men/Kids page headers.
   ====================================================================== */
.results-head h1, .page-h, .cart-head h1, .empty h2, .ord-head h2, .sec-h, .pdp-title, .filters-head h2, .upi-box h2 { color: var(--accent); }
.pdp-title .muted { color: color-mix(in srgb, var(--accent) 55%, var(--muted)); }
.empty-art { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, var(--hair)); }

.pg-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--stone); overflow: hidden; }
.pg-copy { position: relative; display: grid; align-content: center; gap: 8px; padding: 28px var(--gut); }
.pg-copy .dmd { position: absolute; right: -34px; bottom: -34px; width: 120px; height: 120px; opacity: .55; }
.pg-copy h2 { font: 300 clamp(40px, 9vw, 84px)/1 var(--display); color: var(--accent); }
.pg-copy p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); position: relative; }
.pg-media { aspect-ratio: 4 / 3.4; }
.pg-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

@media (min-width: 1025px) {
  .pg-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .pg-copy { padding: 48px 56px 48px max(40px, calc((100vw - 1360px) / 2 + 40px)); }
  .pg-copy .dmd { width: 160px; height: 160px; right: -60px; bottom: 30px; z-index: 2; }
  .pg-media { aspect-ratio: auto; height: 340px; }
}

/* phones held sideways have ~360px of height: the header scrolls away instead of sticking (it would take
   40% of the screen with the bottom bar) and the hero is sized to fit the screen above the bottom bar */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1024px) {
  .hdr { position: relative; }
  html { scroll-padding-top: 12px; }
  .mbar { top: 0; }
  .intro { height: calc(100svh - var(--bnav-h) - var(--safe-b)); min-height: 280px; }
  .in-copy { inset: 0 0 56px; padding-top: 16px; gap: 6px; }
  .lotus { width: 36px; height: 22px; }
  .in-mark { font-size: min(16vw, 18svh); }
  .in-script { font-size: min(8.5vw, 8svh); }
  .in-title, .in-word { font-size: min(13vw, 16svh); }
  .in-slide > .kids-art { width: auto; height: calc(100% - 48px); bottom: 32px; }
  .in-nav { bottom: 6px; }
  .pdp-cta .btn { min-height: 50px; }
  .main-img { max-height: calc(100svh - 70px); aspect-ratio: auto; height: calc(100svh - 70px); }
  .slide img { object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- customer care: contact & policy pages ---------- */
.policy { padding-top: 18px; padding-bottom: 56px; }
.policy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 18px; }
.policy-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 2px; }
.policy-nav::-webkit-scrollbar { display: none; }
.policy-nav .eyebrow { display: none; }
.policy-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--hair); background: var(--paper); font: 400 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.policy-nav a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.policy-body { min-width: 0; max-width: 760px; }
.policy-body h1 { font: 300 clamp(34px, 6vw, 56px)/1.05 var(--display); letter-spacing: -.01em; margin: 12px 0 10px; }
.policy-meta { font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.policy-intro { font-size: 16px; line-height: 1.8; color: var(--ink2); margin: 20px 0 26px; }
.policy-glance { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); margin-bottom: 8px; }
.policy-glance > div { display: grid; gap: 6px; padding: 16px 12px 16px 0; }
.policy-glance span { font: 400 10.5px/1.3 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.policy-glance b { font: 400 21px/1.2 var(--display); color: var(--ink); }
.policy-body section { padding: 30px 0 6px; border-bottom: 1px solid var(--hair); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.policy-body section:last-of-type { border-bottom: 0; }
.policy-body h2 { font: 400 25px/1.2 var(--display); color: var(--ink); margin-bottom: 14px; }
.policy-body p, .policy-body li { font-size: 15px; line-height: 1.8; color: var(--ink2); }
.policy-body p + p, .policy-body ul + p, .policy-body p + ul { margin-top: 12px; }
.policy-body ul { margin: 0; padding-left: 20px; }
.policy-body li { margin: 8px 0; padding-left: 2px; }
.policy-body li::marker { color: var(--muted); }
.policy-body b { color: var(--ink); font-weight: 500; }
.policy-help { display: flex; gap: 14px; align-items: flex-start; background: var(--stone); padding: 20px 22px; margin-top: 34px; }
.policy-help .ic { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ink2); stroke-width: 1.5; }
.policy-help p { margin: 0; }
.contact-grid { display: grid; gap: 16px; margin-bottom: 8px; }
.contact-card { background: var(--paper); border: 1px solid var(--hair); padding: 22px 22px 18px; }
.contact-card h2 { font: 400 24px/1.2 var(--display); margin-bottom: 6px; }
.contact-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); stroke-width: 1.5; }
.contact-row > div > span:first-child { display: block; font: 400 10.5px/1.4 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-row a { border-bottom: 1px solid var(--hair); display: inline-block; padding-block: 10px 2px; margin-block: -10px -2px; }
.contact-row a:hover { border-color: var(--ink); }
.contact-card > .muted.small { margin-top: 10px; }
.agree { margin-top: 10px; line-height: 1.6; padding: 0 2px; }
.ftr .ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ftr .ftr-legal a { min-height: 0; color: var(--muted); }
.ftr .ftr-legal a:hover { color: var(--ink); }
@media (min-width: 641px) {
  .policy-glance { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .ftr .ftr-grid { grid-template-columns: repeat(4, 1fr); }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (min-width: 1025px) {
  .policy { padding-top: 28px; padding-bottom: 88px; }
  .policy-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 72px; margin-top: 30px; }
  .policy-nav { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; position: sticky; top: calc(var(--hdr-h) + 28px); align-self: start; }
  .policy-nav .eyebrow { display: block; margin-bottom: 14px; }
  .policy-nav a { min-height: 44px; padding: 0 0 0 16px; border: 0; border-left: 1px solid var(--hair); background: none; letter-spacing: .12em; }
  .policy-nav a:hover { color: var(--ink); }
  .policy-nav a.on { background: none; color: var(--ink); border-left: 2px solid var(--ink); padding-left: 15px; }
  .ftr .ftr-grid { grid-template-columns: 1.8fr 1fr 1fr 1.3fr 1.2fr; gap: 40px; }
  .ftr-brand { grid-column: auto; }
}

/* ---------- phone comfort: readable labels, thumb-sized targets, floating button kept out of the way ---------- */
/* the WhatsApp button must not cover form fields while paying or signing in */
body[data-page='checkout'] .wa-fab, body[data-page='cartView'] .wa-fab, body[data-page='login'] .wa-fab { display: none; }
@media (max-width: 1024px) {
  .bnav a, .bnav button { font-size: 10.5px; letter-spacing: .08em; }
  .ftr .ftr-grid a { min-height: 44px; }
  .ftr .ftr-legal { gap: 0 18px; }
  .ftr .ftr-legal a { min-height: 44px; min-width: 44px; }
  a.tlink { position: relative; }
  a.tlink::before { content: ''; position: absolute; inset: -12px -8px; }   /* bigger tap area, same look */
  .h-dots button { width: 34px; height: 40px; }
  .wa-fab { width: 46px; height: 46px; right: 12px; }
  .wa-fab svg { width: 24px; height: 24px; }
}

/* gallery: a picture taller than the gallery is shown whole — never crop the head or feet (set by app.js) */
#slides .fit-whole { object-fit: contain; }

/* Sign in with Google */
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted, #6b6760); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.btn-google { background: var(--paper, #fff); color: var(--ink); border-color: var(--hair); gap: 10px; text-transform: none; letter-spacing: .02em; font-size: 14px; }
.btn-google:hover { background: var(--stone); }
.g-mark { flex: none; }
.g-who { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--hair); font-size: 13.5px; overflow-wrap: anywhere; }
