/* London Vision Optic — prototype stylesheet
   Layout concept: gallery-white pages, store-sage surfaces, ink type; orange only for offers.
   Mobile-first. Breakpoints: 640px (tablet), 1024px (desktop). Single light theme by design. */

:root {
  /* Colour — from the logo (ink, orange) and the Karama store fit-out (sage cabinetry, olive trays) */
  --ink: #141311;          /* logo black: text, primary buttons */
  --paper: #FFFFFF;        /* page ground */
  --sage-50: #F0F5F1;      /* product image tiles */
  --sage-100: #E2ECE5;     /* section bands */
  --sage-300: #B4CCBC;     /* store cabinetry tone: borders, wheel */
  --olive: #2D3621;        /* display-tray olive: dark bands, eyebrows */
  --muted: #56605A;        /* secondary text (sage-biased grey) */
  --line: #DCE4DE;         /* hairlines */
  --orange: #F1521B;       /* logo orange: offers, badges, decorative only */
  --orange-ink: #B83D0D;   /* orange for small text on white */
  --on-dark: #F3F6F2;
  --on-dark-muted: #B9C4BA;

  /* Type */
  --font-sans: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --fs-xs: 0.75rem;   /* 12 */
  --fs-sm: 0.875rem;  /* 14 */
  --fs-md: 1rem;      /* 16 */
  --fs-lg: 1.125rem;  /* 18 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);     /* section titles */
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);       /* hero */

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 7vw, 104px);
  --header-h: 64px;

  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-md); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 300; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%; max-width: 1360px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.band-sage { background: var(--sage-100); }
.band-tint { background: var(--sage-50); }
.band-olive { background: var(--olive); color: var(--on-dark); }
.band-ink { background: var(--ink); color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--olive); }
.band-olive .eyebrow, .band-ink .eyebrow { color: var(--sage-300); }
.eyebrow-offer { color: var(--orange-ink); }
.title { font-size: var(--fs-xl); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: 0; }
.lede { font-size: var(--fs-md); color: var(--muted); max-width: 60ch; }
.band-olive .lede, .band-ink .lede { color: var(--on-dark-muted); }
.label { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.price { font-variant-numeric: tabular-nums; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .stack { gap: 10px; }
.section-head.center { justify-content: center; text-align: center; }
.link-arrow { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms;
}
.btn:hover { background: #2A2926; border-color: #2A2926; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-offer { background: var(--orange-ink); border-color: var(--orange-ink); }
.btn-offer:hover { background: #9C330B; border-color: #9C330B; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--sage-100); border-color: var(--sage-100); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: default; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: inherit; position: relative; text-decoration: none; }
.icon-btn svg { width: 21px; height: 21px; }
.badge { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--orange); color: var(--paper); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--olive); color: var(--on-dark); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; }
.announce .wrap { padding-block: 9px; }
.announce .dot { color: var(--orange); padding-inline: 8px; }
@media (max-width: 639px) { .announce .hide-sm { display: none; } }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.header-left, .header-right { display: flex; align-items: center; gap: 2px; min-width: 0; }
.header-right { justify-content: flex-end; }
.main-nav { display: none; gap: 26px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.main-nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.logo img { height: 34px; width: auto; }
.logo-word { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-word b { font-weight: 400; font-size: 16px; letter-spacing: 0.06em; white-space: nowrap; }
.logo-word b span { color: var(--orange); }
.logo-word small { font-size: 8px; letter-spacing: 0.5em; padding-left: 0.5em; color: var(--muted); margin-top: 5px; }
.hide-mobile { display: none !important; }
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .main-nav { display: flex; }
  .menu-toggle { display: none !important; }
  .hide-mobile { display: inline-flex !important; }
  .logo img { height: 44px; }
  .logo-word b { font-size: 21px; }
  .logo-word small { font-size: 10px; margin-top: 7px; }
}

/* ---------- Drawer (mobile nav, filters) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20,19,17,0.45); z-index: 80; opacity: 0; transition: opacity 220ms; }
.scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(88vw, 380px);
  background: var(--paper); transform: translateX(-102%); transition: transform 260ms cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 0 calc(24px + env(safe-area-inset-bottom, 0px)) env(safe-area-inset-left, 0px);
}
.drawer.right { left: auto; right: 0; transform: translateX(102%); padding-left: 0; padding-right: env(safe-area-inset-right, 0px); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 0 12px 12px 24px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 8px 24px; }
.drawer-nav a { text-decoration: none; font-size: 22px; font-weight: 300; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.drawer-sub { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px; }
.drawer-sub a { text-decoration: none; font-size: var(--fs-sm); padding: 8px 0; color: var(--muted); }

/* ---------- Product cards ---------- */
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-width: 0; }
.card-media { position: relative; aspect-ratio: 1 / 1; max-width: 100%; background: var(--sage-50); display: flex; align-items: center; justify-content: center; padding: 14%; overflow: hidden; }
.card-media img { width: 100%; height: auto; transition: transform 400ms ease; }
.card-media.cover { padding: 0; }
.card-media.cover img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .tag { position: absolute; top: 10px; left: 10px; background: var(--paper); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 8px; }
.card-media .offer { position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.card-brand { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.card-name { font-size: var(--fs-md); margin-top: -6px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-price { font-weight: 500; font-size: var(--fs-sm); }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(20,19,17,0.18); display: block; }
.mono-tile { font-size: clamp(18px, 4vw, 26px); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: var(--olive); font-weight: 400; line-height: 1.2; }
.mono-tile small { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-top: 8px; }

/* Grids and mobile scrollers */
.grid { display: grid; gap: 28px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 18px; } }
@media (min-width: 1024px) { .grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px))); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); padding-bottom: 4px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller.wide { grid-auto-columns: 82%; }
@media (min-width: 640px) { .scroller { grid-auto-columns: 40%; } .scroller.wide { grid-auto-columns: 46%; } }
@media (min-width: 1024px) {
  .scroller { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); overflow: visible; margin-right: 0; padding-right: 0; gap: 20px; }
}

/* ---------- Hero carousel ---------- */
.hero { position: relative; background: var(--sage-50); }
.hero-track { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: fadeIn 700ms ease; }
@keyframes fadeIn { from { opacity: 0.2; } to { opacity: 1; } }
.slide-media { aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; background: var(--sage-100); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-copy { padding: 24px max(var(--gutter), env(safe-area-inset-right, 0px)) 72px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.slide-copy h1 { font-size: var(--fs-2xl); }
.slide-copy p { color: var(--muted); max-width: 44ch; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 4px; z-index: 2; }
.hero-dot { width: 40px; height: 32px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-dot span { display: block; height: 2px; width: 16px; background: #9AA39C; transition: width 300ms, background 300ms; }
.hero-dot[aria-current="true"] span { width: 34px; background: var(--ink); }
.hero-arrow { display: none; }
@media (min-width: 640px) { .slide-media { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) {
  .hero { height: min(78vh, 700px); min-height: 560px; overflow: hidden; }
  .hero-track, .slide { height: 100%; }
  .slide { position: absolute; inset: 0; }
  .slide-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .slide-copy { position: absolute; top: 50%; transform: translateY(-50%); max-width: 470px; background: transparent; padding: 0; }
  .slide[data-side="left"] .slide-copy { left: max(64px, calc((100vw - 1360px) / 2 + 40px)); }
  .slide[data-side="right"] .slide-copy { right: max(64px, calc((100vw - 1360px) / 2 + 40px)); }
  .slide-copy p { color: #3A403B; }
  .hero-controls { bottom: 26px; }
  .hero-arrow { display: inline-flex; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,0.85); width: 48px; height: 48px; border-radius: 50%; }
  .hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding-block: 18px; }
.trust-item { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #3A403B; line-height: 1.35; }
.trust-item svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--olive); }
@media (min-width: 1024px) { .trust .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } .trust-item { justify-content: center; font-size: 12px; } }

/* ---------- Category tiles ---------- */
.cat-tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.cat-tile .media { aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; background: var(--sage-100); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile .name { display: flex; justify-content: space-between; font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.cat-tile .name span { color: var(--orange-ink); }

/* ---------- Spin teaser band ---------- */
.spin-band { position: relative; overflow: hidden; background: var(--sage-100); display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: center; padding: 32px 24px; }
.spin-band .mini-wheel { width: 150px; height: 150px; justify-self: center; }
@media (min-width: 768px) { .spin-band { grid-template-columns: auto minmax(0,1fr) auto; gap: 48px; padding: 44px 56px; } .spin-band .mini-wheel { width: 190px; height: 190px; } }
.mini-wheel svg { width: 100%; height: 100%; animation: idleSpin 26s linear infinite; }
@keyframes idleSpin { to { transform: rotate(360deg); } }

/* ---------- Split editorial ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
.split .media { min-height: 340px; max-width: 100%; overflow: hidden; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .copy { padding: 40px max(var(--gutter), env(safe-area-inset-right, 0px)) 48px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .split .media { min-height: 600px; } .split .copy { padding: 72px clamp(40px, 5vw, 88px); } .split.flip .media { order: 2; } }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 14px; padding: 14px 0; border-top: 1px solid rgba(45,54,33,0.18); }
.step .n { font-family: var(--font-serif); font-style: italic; font-size: 26px; color: var(--orange-ink); line-height: 1; }
.step b { font-weight: 500; display: block; }
.step span { font-size: var(--fs-sm); color: var(--muted); }

/* Brand tiles */
.brand-tile { position: relative; display: block; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; text-decoration: none; background: var(--sage-100); }
.brand-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.brand-tile:hover img { transform: scale(1.04); }
.brand-tile .cap { position: absolute; inset: auto 0 0 0; padding: 64px 22px 22px; background: linear-gradient(to top, rgba(20,19,17,0.72), rgba(20,19,17,0)); color: var(--paper); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.brand-tile .cap b { font-weight: 400; font-size: 22px; letter-spacing: 0.22em; text-transform: uppercase; display: block; }
.brand-tile .cap small { font-size: var(--fs-sm); opacity: 0.9; }

/* Lens band */
.lens-band .wrap { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; align-items: center; padding-block: var(--section); }
.lens-band img { width: 100%; max-width: 440px; justify-self: center; mix-blend-mode: screen; opacity: 0.95; }
.lens-names { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--fs-lg); letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper); }
@media (min-width: 1024px) { .lens-band .wrap { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); } }

/* Brand wall */
.brand-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; max-width: 1080px; margin-inline: auto; }
.brand-wall a { text-decoration: none; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: 0.2em; text-transform: uppercase; color: #3A403B; padding: 4px 0; }
.brand-wall a:hover { color: var(--orange-ink); }

/* Feature banner with text over image */
.feature { position: relative; overflow: hidden; background: var(--sage-100); display: grid; }
.feature img { width: 100%; aspect-ratio: 4 / 3; max-width: 100%; object-fit: cover; }
.feature .copy { padding: 28px max(var(--gutter), env(safe-area-inset-right, 0px)) 40px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) {
  .feature { min-height: 460px; }
  .feature img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 34%, rgba(255,255,255,0) 60%); }
  .feature .copy { position: relative; z-index: 1; max-width: 1360px; width: 100%; margin-inline: auto; padding: 72px max(64px, calc((100vw - 1360px)/2 + 40px)); justify-content: center; }
  .feature .copy > * { max-width: 460px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.site-footer .cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 20px; padding-block: 56px 32px; }
.site-footer .cols > :first-child { grid-column: 1 / -1; }
.site-footer h3 { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper); margin-bottom: 10px; }
.site-footer a { text-decoration: none; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--paper); }
.site-footer .legal { border-top: 1px solid #34332F; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 28px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.demo-reset { background: none; border: 0; color: var(--on-dark-muted); text-decoration: underline; cursor: pointer; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 0; }
@media (min-width: 1024px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .site-footer .cols > :first-child { grid-column: auto; } }

/* ---------- Floating spin launcher ---------- */
.spin-fab {
  position: fixed; z-index: 60; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--paper); cursor: pointer; box-shadow: 0 12px 30px rgba(20,19,17,0.3);
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.spin-fab .fab-wheel { width: 38px; height: 38px; border-radius: 50%; animation: idleSpin 9s linear infinite; }
.spin-fab .fab-wheel svg { width: 100%; height: 100%; }
.has-sticky-bar .spin-fab { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 639px) { .spin-fab .fab-label-long { display: none; } }

/* ---------- Sticky bottom bar (mobile) ---------- */
.sticky-bar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: var(--paper); border-top: 1px solid var(--line);
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: 14px; box-shadow: 0 -8px 24px rgba(20,19,17,0.06);
}
.sticky-bar .sb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sticky-bar .sb-info small { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.sticky-bar .sb-info b { font-weight: 500; font-size: var(--fs-lg); }
.sticky-bar .btn { min-height: 50px; padding: 0 22px; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }
.page-pad-bottom { padding-bottom: 96px; }
@media (min-width: 1024px) { .page-pad-bottom { padding-bottom: 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: 14px 18px; display: flex; gap: 16px; align-items: center; font-size: var(--fs-sm); transition: transform 260ms cubic-bezier(.2,.8,.2,1); width: max-content; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--sage-300); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span, .field-label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.input, .select { width: 100%; height: 52px; border: 1px solid #C3CDC6; background: var(--paper); padding: 0 14px; font-size: 16px; border-radius: 0; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.input:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.check { display: flex; gap: 12px; align-items: center; min-height: 32px; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex: 0 0 auto; }

/* Option cards (lens stepper, delivery, payment) */
.options { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
@media (min-width: 640px) { .options { grid-template-columns: repeat(2, minmax(0,1fr)); } .options.three { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.option { text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color 160ms, background 160ms; position: relative; }
.option:hover { border-color: #A9B6AD; }
.option[aria-pressed="true"], .option[aria-checked="true"] { border-color: var(--ink); background: var(--sage-50); box-shadow: inset 0 0 0 1px var(--ink); }
.option .o-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.option .o-top em { font-style: normal; font-weight: 400; color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.option .o-body { font-size: var(--fs-sm); color: var(--muted); }

/* Summary panel */
.panel { background: var(--sage-50); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.kv span:first-child { color: var(--muted); }
.kv.total { font-size: var(--fs-lg); border-top: 1px solid var(--line); padding-top: 14px; }
.kv.total span:first-child { color: var(--ink); }
.kv.offer span { color: var(--orange-ink) !important; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Page header (shop) */
.page-banner { position: relative; overflow: hidden; background: var(--sage-100); }
.page-banner img { width: 100%; height: 180px; object-fit: cover; }
.page-banner .copy { padding-block: 20px 8px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1024px) {
  .page-banner img { height: 320px; }
  .page-banner .copy { position: absolute; inset: 0; justify-content: center; align-items: flex-end; text-align: right; padding-block: 0; }
  .page-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(255,255,255,0.94), rgba(255,255,255,0.78) 32%, rgba(255,255,255,0) 58%); }
  .page-banner .copy { z-index: 1; }
}
.crumbs { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 1px solid #C3CDC6; background: var(--paper); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Accordions */
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font-size: 20px; font-weight: 300; }
details.acc[open] summary::after { content: '–'; }
details.acc p { padding-bottom: 18px; color: var(--muted); font-size: 15px; }

/* =========================================================
   SPIN & WIN
   ========================================================= */
.spin-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.spin-modal .scrim { position: absolute; z-index: 0; }
.spin-modal.is-open .scrim { opacity: 1; }
.spin-sheet:focus { outline: none; }
.spin-sheet {
  position: relative; z-index: 1; width: 100%; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 18px 18px 0 0;
  transform: translateY(104%); transition: transform 380ms cubic-bezier(.2,.85,.25,1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.spin-modal.is-open .spin-sheet { transform: none; }
.spin-grab { width: 40px; height: 4px; border-radius: 2px; background: #C3CDC6; margin: 10px auto 0; }
.spin-close { position: absolute; top: 8px; right: 8px; z-index: 5; background: rgba(255,255,255,0.8); border-radius: 50%; }
.spin-stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  padding: 26px 16px 22px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 58%),
    var(--sage-100);
  overflow: hidden;
}
.spin-stage::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(45,54,33,0.045) 0 2px, transparent 2px 14px); }
.wheel-box { position: relative; width: min(78vw, 340px); aspect-ratio: 1; }
.wheel-box > svg.wheel-rotor { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 18px 26px rgba(20,19,17,0.28)); will-change: transform; }
.wheel-gloss { position: absolute; inset: 7%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 34% 24%, rgba(255,255,255,0.42), rgba(255,255,255,0) 42%), radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.12) 100%); }
.wheel-hub { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 40% 32%, #FFFFFF, #EEF2EE 70%); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--sage-300), 0 8px 18px rgba(20,19,17,0.35); display: flex; align-items: center; justify-content: center; }
.wheel-hub img { width: 64%; }
.wheel-pointer { position: absolute; left: 50%; top: -5%; width: 14%; transform-origin: 50% 28%; transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 4px 6px rgba(20,19,17,0.35)); transition: transform 90ms ease-out; }
.wheel-pointer.tick { transform: translateX(-50%) rotate(-16deg); transition: transform 40ms ease-in; }
.bulb { fill: #FFF6E8; }
.bulbs-a .bulb:nth-child(odd), .bulbs-b .bulb:nth-child(even) { animation: bulb 1.2s ease-in-out infinite; }
.bulbs-b .bulb:nth-child(odd), .bulbs-a .bulb:nth-child(even) { animation: bulb 1.2s ease-in-out 0.6s infinite; }
.is-spinning .bulb { animation-duration: 0.28s !important; }
@keyframes bulb { 0%, 100% { fill: #FFF6E8; } 50% { fill: #F1521B; } }
.lock-veil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.lock-veil span { background: rgba(20,19,17,0.82); color: var(--paper); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 9px 14px; display: flex; gap: 8px; align-items: center; transform: translateY(78px); }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }

.spin-panel { padding: 22px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 14px; }
.spin-panel h2 { font-size: clamp(26px, 6vw, 34px); }
.spin-odds { display: flex; flex-wrap: wrap; gap: 6px; }
.spin-odds span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px; background: var(--sage-50); border: 1px solid var(--line); }
.phone-row { display: flex; border: 1px solid #C3CDC6; }
.phone-row:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.phone-row b { display: flex; align-items: center; padding: 0 14px; border-right: 1px solid #C3CDC6; font-weight: 400; }
.phone-row input { flex: 1; min-width: 0; height: 54px; border: 0; padding: 0 14px; font-size: 17px; outline: none; }
.otp { display: flex; gap: 10px; }
.otp input { width: 56px; height: 62px; text-align: center; font-size: 26px; border: 1px solid #C3CDC6; border-radius: 0; }
.otp input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.hint { font-size: 13px; color: var(--muted); }
.err { font-size: 13px; color: var(--orange-ink); }
.spin-cta { min-height: 60px; font-size: 13px; letter-spacing: 0.24em; position: relative; overflow: hidden; }
.spin-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: sheen 2.6s ease-in-out infinite; }
@keyframes sheen { 0% { left: -60%; } 60%, 100% { left: 130%; } }

.coupon { position: relative; background: var(--paper); border: 1px solid var(--ink); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.coupon::before, .coupon::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.coupon::before { left: -10px; clip-path: inset(0 0 0 50%); }
.coupon::after { right: -10px; clip-path: inset(0 50% 0 0); }
.coupon .c-label { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange-ink); font-weight: 500; }
.coupon .c-title { font-size: 24px; font-weight: 300; line-height: 1.15; }
.coupon .c-code { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed #A9B6AD; padding-top: 12px; margin-top: 4px; }
.coupon .c-code b { font-weight: 500; letter-spacing: 0.2em; font-size: 18px; }
.coupon .c-code button { background: none; border: 1px solid var(--ink); min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.timer { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.spin-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); }
.spin-foot button { background: none; border: 0; padding: 8px 0; font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.terms { font-size: 12px; color: var(--muted); }

@media (min-width: 900px) {
  .spin-modal { align-items: center; padding: 24px; }
  .spin-sheet { width: min(940px, 100%); border-radius: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-height: min(680px, 92vh); transform: translateY(24px) scale(0.98); opacity: 0; transition: transform 320ms cubic-bezier(.2,.85,.25,1), opacity 220ms; }
  .spin-modal.is-open .spin-sheet { opacity: 1; transform: none; }
  .spin-grab { display: none; }
  .spin-stage { padding: 56px 32px; }
  .wheel-box { width: min(400px, 100%); }
  .spin-panel { padding: 52px 44px 32px; justify-content: center; overflow-y: auto; }
}

/* ---------- Status tracker (order page) ---------- */
.tracker { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tracker li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; padding-bottom: 22px; position: relative; }
.tracker li::before { content: ''; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tracker li:last-child::before { display: none; }
.tracker .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); display: flex; align-items: center; justify-content: center; }
.tracker .done .dot { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.tracker .now .dot { border-color: var(--orange); }
.tracker b { font-weight: 500; display: block; }
.tracker span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Very small phones ---------- */
@media (max-width: 379px) { .hide-xs { display: none !important; } .logo-word b { font-size: 14px; } .logo img { height: 30px; } }

/* =========================================================
   SHOP
   ========================================================= */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.shop-toolbar [data-shapes] { flex: 1 1 100%; order: 3; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-results { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.filters {
  position: fixed; z-index: 90; top: 0; bottom: 0; right: 0; width: min(90vw, 380px); background: var(--paper);
  transform: translateX(102%); transition: transform 260ms cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) 0;
}
.filters.is-open { transform: none; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 22px; border-bottom: 1px solid var(--line); }
.filters-body { flex: 1; overflow-y: auto; padding: 8px 22px 24px; }
.filters-foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.fgroup { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fgroup legend { padding: 18px 0 8px; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.promo-tile { position: relative; display: grid; overflow: hidden; text-decoration: none; background: var(--sage-100); }
.promo-tile img { width: 100%; aspect-ratio: 16 / 10; max-width: 100%; object-fit: cover; object-position: 50% 30%; }
.promo-tile .copy { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.promo-tile b { font-weight: 300; font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.04em; }
.promo-tile .link-arrow { align-self: flex-start; }
@media (min-width: 1024px) {
  .shop-toolbar [data-shapes] { flex: 1 1 auto; order: 0; }
  .filter-open { display: none !important; }
  .shop-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 44px; }
  .filters { position: sticky; top: calc(var(--header-h) + 20px); bottom: auto; right: auto; width: auto; transform: none; z-index: 1; padding: 0; transition: none; max-height: calc(100vh - var(--header-h) - 40px); }
  .filters-head, .filters-foot { display: none; }
  .filters-body { padding: 0; }
  .fgroup:first-child legend { padding-top: 0; }
  .promo-tile { min-height: 300px; }
  .promo-tile img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .promo-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,0.92), rgba(255,255,255,0.72) 30%, rgba(255,255,255,0) 52%); }
  .promo-tile .copy { position: relative; z-index: 1; justify-content: center; padding: 40px 48px; max-width: 460px; }
}

/* =========================================================
   PRODUCT
   ========================================================= */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 14px; }
.pdp-gallery { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); }
.pdp-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sage-50); }
.pdp-main::-webkit-scrollbar { display: none; }
.pdp-slide { scroll-snap-align: start; aspect-ratio: 1 / 1; max-width: 100%; display: flex; align-items: center; justify-content: center; padding: 12%; }
.pdp-slide img { width: 100%; height: auto; }
.pdp-slide.cover { padding: 0; }
.pdp-slide.cover img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: none; }
.pdp-dots { display: flex; justify-content: center; gap: 6px; }
.pdp-dots i { width: 6px; height: 6px; border-radius: 50%; background: #C3CDC6; }
.pdp-dots i.on { background: var(--ink); width: 18px; border-radius: 3px; }
.pdp-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pdp-block { padding-top: 20px; border-top: 1px solid var(--line); }
.swatch-btn { width: 72px; height: 50px; padding: 4px; background: var(--sage-50); border: 1px solid var(--line); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.swatch-btn img { width: 100%; height: 100%; object-fit: contain; }
.swatch-btn i { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(20,19,17,0.2); }
.swatch-btn[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size-btn { min-width: 130px; padding: 12px 16px; align-items: center; }
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .pdp-gallery { margin-inline: 0; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
  .pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
  .pdp-thumbs button { width: 84px; height: 84px; padding: 6px; background: var(--sage-50); border: 1px solid var(--line); cursor: pointer; overflow: hidden; }
  .pdp-thumbs button.cover { padding: 0; }
  .pdp-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
  .pdp-thumbs button.cover img { object-fit: cover; }
  .pdp-thumbs button[aria-selected="true"] { border-color: var(--ink); }
  .pdp-dots { display: none; }
  .pdp-info { padding-top: 8px; }
}

/* =========================================================
   LENS SELECTOR
   ========================================================= */
.stepper { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.stepper li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stepper .bar { height: 3px; background: var(--line); }
.stepper .done .bar, .stepper .now .bar { background: var(--ink); }
.stepper .lbl { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper .now .lbl { color: var(--ink); font-weight: 500; }
@media (max-width: 639px) { .stepper li:not(.now) .lbl { visibility: hidden; } .stepper .now { grid-column: span 1; } .stepper .now .lbl { overflow: visible; } }
.lens-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.lens-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lens-main .title { margin-bottom: 6px; }
.lens-nav { margin-top: 10px; display: flex; }
@media (max-width: 1023px) { .lens-nav [data-next] { display: none; } }
.lens-summary { order: -1; padding: 0; gap: 0; }
.summary-toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: none; border: 0; cursor: pointer; text-align: left; }
.summary-toggle img { background: var(--paper); padding: 4px; }
.summary-body { display: none; padding: 0 16px 18px; flex-direction: column; gap: 14px; }
.summary-body.is-open { display: flex; }
.summary-body .sum-media { display: none; }
.rx-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.rx-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.rx-table th { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-align: left; padding: 10px 8px; white-space: nowrap; }
.rx-table td { padding: 6px; }
.rx-table .rx-sel { height: 46px; font-size: 15px; min-width: 88px; }
.upload { border: 1px dashed #A9B6AD; background: var(--sage-50); padding: 28px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; cursor: pointer; }
.upload input { margin-top: 8px; max-width: 100%; }
@media (min-width: 1024px) {
  .lens-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .lens-summary { order: 0; padding: 24px; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
  .summary-toggle { display: none; }
  .summary-body { display: flex; padding: 0; }
  .summary-body .sum-media { display: flex; background: var(--paper); padding: 20px; justify-content: center; }
  .stepper .lbl { font-size: 11px; }
}

/* =========================================================
   CART + CHECKOUT + ORDER
   ========================================================= */
.ship-meter { background: var(--sage-100); padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.meter { height: 3px; background: rgba(45,54,33,0.15); }
.meter span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 400ms ease; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); min-width: 0; }
.cart-line .price { white-space: nowrap; }
.cart-line { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-img { aspect-ratio: 1 / 1; max-width: 100%; background: var(--sage-50); display: flex; align-items: center; justify-content: center; padding: 10px; text-decoration: none; overflow: hidden; }
.cart-img.cover { padding: 0; }
.cart-img.cover img { width: 100%; height: 100%; object-fit: cover; }
.gift-icon { color: var(--orange-ink); }
.rx-box { background: var(--sage-50); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.rx-box .kv { font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #C3CDC6; }
.qty button { width: 40px; height: 40px; background: none; border: 0; font-size: 18px; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.text-btn { background: none; border: 0; padding: 10px 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: underline; cursor: pointer; }
.code-row { display: flex; }
.code-row .input { border-right: 0; }
.spin-nudge { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; background: var(--paper); border: 1px dashed var(--orange-ink); padding: 12px 14px; cursor: pointer; }
.spin-nudge b { font-weight: 500; }
.nudge-wheel { width: 46px; height: 46px; flex: 0 0 auto; animation: idleSpin 12s linear infinite; }
.nudge-wheel svg { width: 100%; height: 100%; }
.cart-summary .coupon { background: var(--paper); }
@media (min-width: 640px) { .cart-line { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; } }
@media (min-width: 1024px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 20px); }
}
.co-section { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co-title { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 4px; }
.map-pin { background: var(--sage-100); min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.map-pin svg { width: 28px; height: 28px; color: var(--orange-ink); }
.pay-opt { flex-direction: row; align-items: center; gap: 14px; }
.radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.pay-opt[aria-checked="true"] .radio-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.mini-img { width: 64px; height: 52px; background: var(--paper); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 4px; overflow: hidden; }
.mini-img.cover { padding: 0; }
.mini-img.cover img { width: 100%; height: 100%; object-fit: cover; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 1024px) { .order-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; } }

/* Checkout: fields flagged by validation */
.input[aria-invalid="true"] { border-color: var(--orange-ink); }
