/* ============================================================
   Eyewear Mart — landing page
   Palette derived from the logo: ink #121212 (sampled exactly)
   paired with champagne gold, echoing the brown / whitebrown /
   rose colourways in the actual range.
   ============================================================ */

:root {
  /* ink scale — 800 is the logo's exact ink */
  --ink-900: #0B0C0D;
  --ink-800: #121212;
  --ink-700: #1C1E22;
  --ink-600: #2A2D33;
  --ink-500: #454A52;

  /* champagne gold accent */
  --gold-300: #EBD9A6;
  --gold-400: #DCC183;
  --gold-500: #C9A24A;
  --gold-600: #A8842F;
  --gold-700: #8A6B22;   /* AA-safe for small text on white */

  --paper:   #FBF9F5;
  --card:    #FFFFFF;
  --line:    #E8E3DA;
  --line-2:  #F1EDE5;
  --text:    #1C1E22;
  --muted:   #6B6862;
  --success: #1E8E5A;

  --font-display: ui-serif, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(18,18,18,.06), 0 2px 8px rgba(18,18,18,.04);
  --shadow-md: 0 4px 12px rgba(18,18,18,.07), 0 12px 32px rgba(18,18,18,.06);
  --shadow-lg: 0 12px 28px rgba(18,18,18,.10), 0 32px 64px rgba(18,18,18,.10);

  --wrap: 1200px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* A class that sets `display` beats the UA stylesheet's [hidden] rule, so any
   .btn/.slot we toggle with the hidden attribute would stay visible without
   this. Keep it above the component rules. */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

:where(a, button, [tabindex], input, select, summary):focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--ink-800); color: var(--paper);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.section--ink { background: var(--ink-800); color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-700);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold-500);
}
.section--ink .eyebrow { color: var(--gold-400); }

.head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::before { display: none; }
.head h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); }
.head p { color: var(--muted); font-size: 1.06rem; margin: .9rem 0 0; }
.section--ink .head p { color: #B9B5AC; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border: 1px solid transparent; border-radius: var(--r-full);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--gold { background: var(--gold-500); color: var(--ink-900); box-shadow: 0 4px 14px rgba(201,162,74,.35); }
.btn--gold:hover { background: var(--gold-400); box-shadow: 0 8px 22px rgba(201,162,74,.45); }

.btn--ink { background: var(--ink-800); color: var(--paper); }
.btn--ink:hover { background: var(--ink-700); box-shadow: var(--shadow-md); }

.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink-700); }
.btn--ghost:hover { border-color: var(--ink-700); box-shadow: var(--shadow-sm); }

/* Ghost buttons on any dark surface — the ink sections and the order receipt.
   Without this the white default reads as a second primary CTA. */
.section--ink .btn--ghost,
.receipt .btn--ghost { background: transparent; border-color: rgba(251,249,245,.28); color: var(--paper); }
.section--ink .btn--ghost:hover,
.receipt .btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }

.btn--sm { padding: .6rem 1.15rem; font-size: .875rem; }
.btn--block { width: 100%; }

/* ---------- announcement ticker ---------- */
.ticker {
  background: var(--ink-900); color: var(--gold-300);
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; position: relative; height: 34px;
}
/* Two identical halves scrolled by exactly -50% = seamless loop, and the
   copy is legible from the first frame (no empty bar on load). */
.ticker__track {
  display: flex; align-items: center; height: 100%;
  width: max-content; animation: ticker 42s linear infinite;
}
.ticker__half { display: flex; align-items: center; height: 100%; }
.ticker span {
  display: inline-flex; align-items: center; gap: .5rem;
  white-space: nowrap; padding-inline: 1.4rem;
}
.ticker b { color: #fff; font-weight: 700; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { height: auto; }
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,249,245,.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(18,18,18,.05); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 700;
  letter-spacing: .02em;
}
.brand__tag { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--r-full);
  font-size: .92rem; font-weight: 500; color: var(--ink-600);
  transition: background-color .18s, color .18s;
}
.nav a:hover { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }

/* ---------- header submenus ----------
   Hover and keyboard focus open a submenu from CSS alone; the caret button
   exists for touch, where there is no hover to rely on. */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link--static {
  padding: .5rem .8rem; font-size: .92rem; font-weight: 500;
  color: var(--ink-600); cursor: default;
}
.nav__toggle {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  margin-left: -.4rem; border: 0; background: none; cursor: pointer;
  border-radius: var(--r-full);
}
.nav__toggle span {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-600); transition: transform .18s;
}
.nav__toggle:hover span { border-top-color: var(--ink-900); }
.nav__item:hover > .nav__toggle span,
.nav__item:focus-within > .nav__toggle span { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + .35rem); left: 0; z-index: 60;
  min-width: 212px; margin: 0; padding: .4rem; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__sub.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__sub li { position: relative; }
.nav__sub a,
.nav__sub .nav__sub-head {
  display: block; padding: .5rem .7rem; border-radius: var(--r-sm);
  font-size: .88rem; color: var(--ink-600); white-space: nowrap;
}
.nav__sub a:hover { background: var(--line-2); color: var(--ink-900); box-shadow: none; }
.nav__sub .nav__sub-head { font-weight: 600; color: var(--ink-900); cursor: default; }

/* A third level opens beside its parent rather than below it. */
.nav__sub--deep { top: -.4rem; left: 100%; margin-left: .3rem; }
.nav__sub li:hover > .nav__sub--deep,
.nav__sub li:focus-within > .nav__sub--deep { opacity: 1; visibility: visible; transform: none; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: #fff; padding: 0;
  place-items: center;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink-700); transition: transform .2s, opacity .2s; }
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% 8%, rgba(201,162,74,.16), transparent 62%),
    radial-gradient(760px 420px at 4% 92%, rgba(18,18,18,.05), transparent 60%),
    var(--paper);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-full);
  padding: .4rem .95rem .4rem .5rem; font-size: .8rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.hero__badge i {
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gold-500); color: var(--ink-900);
  font-size: .7rem; font-style: normal; font-weight: 800;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.15rem); }
.hero h1 em {
  font-style: italic; color: var(--gold-700);
  position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .1em;
  background: var(--gold-400); opacity: .45; border-radius: 2px;
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--muted);
  max-width: 46ch; margin: 1.25rem 0 0;
}
.hero__price {
  display: flex; align-items: baseline; gap: .6rem; margin: 1.75rem 0 .35rem;
}
.hero__price small { font-size: .82rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.hero__price strong {
  font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 2.9rem);
  font-weight: 700; color: var(--ink-900); line-height: 1;
}
.hero__price span { font-size: .9rem; color: var(--muted); }
.hero__note { font-size: .85rem; color: var(--muted); margin: 0 0 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 2x2 rather than flex-wrap: four items never fit on one line at any width,
   so an explicit grid reads as deliberate instead of orphaning the last one. */
.trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem;
  margin-top: 2.4rem; padding-top: 1.9rem; border-top: 1px solid var(--line);
}
.trust div { display: flex; align-items: center; gap: .6rem; font-size: .87rem; font-weight: 500; }
.trust svg { width: 19px; height: 19px; flex: none; stroke: var(--gold-600); }

.hero__art { position: relative; }
.hero__stage {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-lg);
  overflow: hidden; display: grid; place-items: center;
}
.hero__stage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, transparent 46%, rgba(18,18,18,.035) 100%);
  pointer-events: none;
}
.hero__stage img {
  width: 100%; height: 100%; object-fit: contain;
  grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease;
}
.hero__stage img.is-on { opacity: 1; }

.hero__chip {
  position: absolute; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: .8rem 1rem; font-size: .82rem;
  display: flex; align-items: center; gap: .65rem; animation: float 6s ease-in-out infinite;
}
.hero__chip strong { display: block; font-size: .95rem; font-family: var(--font-display); }
.hero__chip em { font-style: normal; color: var(--muted); font-size: .74rem; }
.hero__chip--a { top: 7%; left: -14px; }
.hero__chip--b { bottom: 9%; right: -14px; animation-delay: -3s; }
.hero__chip i {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 50%; background: var(--gold-500); font-style: normal;
}
.hero__chip svg { width: 17px; height: 17px; stroke: var(--ink-900); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- bundle pricing ---------- */
.bundles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bundle {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.6rem 1.35rem 1.4rem; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.bundle--best { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,74,.14); }
.bundle__flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--ink-900); font-size: .66rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: var(--r-full); white-space: nowrap;
}
.bundle__qty { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bundle__amt {
  font-family: var(--font-display); font-size: 2.15rem; font-weight: 700;
  line-height: 1.1; margin: .5rem 0 .1rem;
}
.bundle__each { font-size: .82rem; color: var(--muted); }
.bundle__save {
  display: inline-block; margin-top: .85rem; font-size: .76rem; font-weight: 700;
  color: var(--success); background: rgba(30,142,90,.09);
  padding: .22rem .6rem; border-radius: var(--r-full);
}
.bundle__save--none { color: var(--muted); background: var(--line-2); }

/* ---------- collection ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-bottom: 2.25rem;
}
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-full);
  padding: .5rem 1.1rem; font-size: .87rem; font-weight: 600; color: var(--ink-600);
  transition: all .18s;
}
.chip:hover { border-color: var(--ink-600); }
.chip[aria-pressed="true"] { background: var(--ink-800); border-color: var(--ink-800); color: var(--paper); }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card.is-hidden { display: none; }

.card__media {
  position: relative; aspect-ratio: 1; background: #fff;
  display: grid; place-items: center; overflow: hidden;
}
.card__media img {
  grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain;
  transition: opacity .35s ease, transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.045); }

.card__sku {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  background: rgba(18,18,18,.86); color: var(--gold-300);
  font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  padding: .26rem .6rem; border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}
.card__view {
  position: absolute; bottom: .7rem; right: .7rem; z-index: 2;
  display: flex; background: rgba(255,255,255,.92); border: 1px solid var(--line);
  border-radius: var(--r-full); padding: 2px; box-shadow: var(--shadow-sm);
}
.card__view button {
  border: 0; background: transparent; border-radius: var(--r-full);
  padding: .26rem .68rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); transition: all .18s;
}
.card__view button[aria-pressed="true"] { background: var(--ink-800); color: var(--paper); }

.card__zoom {
  position: absolute; inset: 0; z-index: 1; border: 0; background: transparent;
  cursor: zoom-in;
}

.card__body { padding: 1.15rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.card__name { font-size: 1.2rem; }
.card__model {
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--gold-700);
  background: rgba(201,162,74,.12); padding: .2rem .5rem; border-radius: var(--r-sm);
  flex: none;
}
.card__shape { font-size: .84rem; color: var(--muted); margin: .3rem 0 0; }

.swatches { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 .9rem; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; padding: 0;
  display: inline-block; cursor: pointer;
  border: 1px solid rgba(18,18,18,.16);
  box-shadow: inset 0 0 0 2px #fff;
  transition: transform .16s, box-shadow .16s;
}
.swatch[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.swatch:hover { transform: scale(1.14); }
.swatch[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ink-800);
  transform: scale(1.08);
}
.card__colour {
  font-size: .82rem; color: var(--ink-600); margin: 0 0 1rem;
  display: flex; align-items: center; gap: .4rem;
}
.card__colour b { font-weight: 600; }

.card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding-top: .95rem; border-top: 1px solid var(--line-2);
}
.card__price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.card__price small { font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: var(--muted); }

/* ---------- homepage virtual fitting room ---------- */
.tryon-home { padding-block: clamp(2.5rem, 6vw, 5rem); }
.tryon-home__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(2rem, 5vw, 4.75rem);
  border: 1px solid rgba(235,217,166,.24); border-radius: clamp(24px, 4vw, 38px);
  color: var(--paper); box-shadow: var(--shadow-lg);
  background:
    radial-gradient(650px 430px at 91% 14%, rgba(201,162,74,.2), transparent 64%),
    linear-gradient(135deg, #101113 0%, #1a1d21 58%, #111214 100%);
}
.tryon-home__panel::before {
  content: ""; position: absolute; z-index: -1; width: 340px; height: 340px;
  left: -170px; bottom: -190px; border: 1px solid rgba(235,217,166,.16);
  border-radius: 50%; box-shadow: 0 0 0 42px rgba(235,217,166,.025), 0 0 0 86px rgba(235,217,166,.018);
}
.tryon-home__copy { position: relative; z-index: 2; }
.tryon-home__copy .eyebrow { color: var(--gold-400); }
.tryon-home__copy h2 { max-width: 12ch; font-size: clamp(2rem, 4.2vw, 3.7rem); }
.tryon-home__lead { max-width: 48ch; margin: 1.1rem 0 0; color: #c8c4ba; font-size: 1.03rem; }
.tryon-home__facts { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: .85rem; }
.tryon-home__facts li { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: center; }
.tryon-home__facts svg {
  width: 34px; height: 34px; padding: 7px; border: 1px solid rgba(235,217,166,.22);
  border-radius: 50%; color: var(--gold-300); background: rgba(235,217,166,.06);
}
.tryon-home__facts div { min-width: 0; display: grid; }
.tryon-home__facts b { font-size: .86rem; color: #fff; }
.tryon-home__facts span, .tryon-home__fact-text { font-size: .78rem; color: #a9a59c; }
.tryon-home__fact-text :where(p) { margin: 0; }
.tryon-home__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.tryon-home__actions .btn--ghost { background: transparent; border-color: rgba(251,249,245,.26); color: var(--paper); }
.tryon-home__actions .btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }

.tryon-home__visual { position: relative; min-width: 0; }
.tryon-home__stage {
  position: relative; display: block; min-height: 440px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22); border-radius: 46% 46% 24px 24px / 30% 30% 24px 24px;
  background:
    radial-gradient(circle at 50% 23%, rgba(255,255,255,.68), transparent 31%),
    linear-gradient(155deg, #d8c5a9 0%, #aa8d69 52%, #564331 100%);
  box-shadow: 0 26px 70px rgba(0,0,0,.38); transform: rotate(1.2deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.tryon-home__stage:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 34px 85px rgba(0,0,0,.46); }
.tryon-home__campaign { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tryon-home__portrait { position: absolute; inset: 0; overflow: hidden; }
.tryon-home__hair {
  position: absolute; z-index: 2; width: 56%; height: 46%; left: 22%; top: 7%;
  border-radius: 48% 48% 35% 35%; background: linear-gradient(145deg, #201913, #584432 58%, #211812);
  box-shadow: inset -18px -12px 32px rgba(0,0,0,.28);
}
.tryon-home__face {
  position: absolute; z-index: 3; width: 48%; height: 61%; left: 26%; top: 18%;
  border-radius: 48% 48% 44% 44% / 42% 42% 58% 58%;
  background: linear-gradient(110deg, #b97b55, #d99c70 48%, #a86646);
  box-shadow: inset -18px -4px 30px rgba(93,48,30,.2), 0 20px 30px rgba(45,27,19,.22);
}
.tryon-home__face::before,
.tryon-home__face::after {
  content: ""; position: absolute; top: 40%; width: 11%; height: 2.4%; border-radius: 50%; background: #2f211b;
}
.tryon-home__face::before { left: 23%; }
.tryon-home__face::after { right: 23%; }
.tryon-home__face i {
  position: absolute; top: 33%; width: 20%; height: 2.5%; border-radius: 50%; background: #493126;
}
.tryon-home__face i:first-child { left: 18%; transform: rotate(-5deg); }
.tryon-home__face i:nth-child(2) { right: 18%; transform: rotate(5deg); }
.tryon-home__face b {
  position: absolute; left: 40%; bottom: 23%; width: 20%; height: 3.2%; border-radius: 0 0 50% 50%;
  border-bottom: 3px solid rgba(102,40,34,.65);
}
.tryon-home__overlay {
  position: absolute; z-index: 5; width: 89%; max-width: none; height: auto;
  left: 50%; top: 44%; transform: translate(-50%, -50%); pointer-events: none;
  filter: drop-shadow(0 8px 7px rgba(0,0,0,.28));
}
.tryon-home__overlay--product {
  width: 100%; left: 67%; top: 66%; mix-blend-mode: multiply;
}
.tryon-home__live {
  position: absolute; z-index: 8; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: .45rem;
  padding: .48rem .72rem; border-radius: var(--r-full); color: #fff; background: rgba(11,12,13,.72);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 700;
}
.tryon-home__live i { width: 7px; height: 7px; border-radius: 50%; background: #60d394; box-shadow: 0 0 0 4px rgba(96,211,148,.16); }
.tryon-home__selected {
  position: absolute; z-index: 8; right: 18px; bottom: 18px; display: grid; text-align: right;
  padding: .65rem .8rem; border-radius: var(--r-sm); color: #fff; background: rgba(11,12,13,.75);
  backdrop-filter: blur(10px); font-size: .75rem; font-weight: 700;
}
.tryon-home__selected b { color: var(--gold-300); font-size: .68rem; font-weight: 600; }
.tryon-home__rail {
  position: relative; z-index: 10; width: min(92%, 520px); margin: -38px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: .55rem;
}
.tryon-home__rail a {
  min-width: 0; overflow: hidden; padding: .4rem .4rem .5rem; border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px; background: rgba(255,255,255,.94); color: var(--ink-700); box-shadow: var(--shadow-md);
  text-align: center; transition: transform .2s ease, border-color .2s ease;
}
.tryon-home__rail a:hover { transform: translateY(-5px); border-color: var(--gold-500); }
.tryon-home__rail img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #fff; }
.tryon-home__rail span { display: grid; overflow: hidden; margin-top: .15rem; line-height: 1.25; }
.tryon-home__rail span b { font-size: .66rem; }
.tryon-home__rail span small { overflow: hidden; color: var(--muted); font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 920px) {
  .tryon-home__panel { grid-template-columns: 1fr; }
  .tryon-home__copy h2 { max-width: 16ch; }
  .tryon-home__visual { width: min(100%, 600px); margin-inline: auto; }
}
@media (max-width: 560px) {
  .tryon-home .wrap { padding-inline: .75rem; }
  .tryon-home__panel { padding: 1.5rem 1rem 1.25rem; border-radius: 24px; }
  .tryon-home__stage { min-height: 360px; border-radius: 42% 42% 20px 20px / 25% 25% 20px 20px; }
  .tryon-home__actions { display: grid; }
  .tryon-home__actions .btn { width: 100%; }
  .tryon-home__rail { width: 96%; grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: .35rem; }
  .tryon-home__rail a { padding: .25rem .25rem .4rem; }
  .tryon-home__rail span b { font-size: .6rem; }
  .tryon-home__rail span small { font-size: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tryon-home__stage, .tryon-home__rail a { transition: none; }
}

/* ---------- lens tiers ---------- */
.lenses { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 1rem; }
.lens {
  background: rgba(251,249,245,.055); border: 1px solid rgba(251,249,245,.14);
  border-radius: var(--r-md); padding: 1.6rem 1.35rem;
  transition: transform .2s, border-color .2s, background-color .2s;
}
.lens:hover { transform: translateY(-4px); border-color: var(--gold-500); background: rgba(201,162,74,.07); }
.lens__ico {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: rgba(201,162,74,.16); margin-bottom: 1.05rem;
}
.lens__ico svg { width: 21px; height: 21px; stroke: var(--gold-400); }
.lens h3 { font-size: 1.1rem; }
.lens p { font-size: .87rem; color: #B9B5AC; margin: .5rem 0 1.1rem; }
.lens__amt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold-300); }
.lens__amt small { font-family: var(--font-body); font-size: .72rem; color: #8E8A82; font-weight: 500; }

/* ---------- price builder ---------- */
.builder {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.wizard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}

/* ---- step nav ---- */
/* auto-flow so adding a step needs no column-count change */
.stepnav {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  margin: 0; padding: 0; list-style: none;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.stepnav__i { position: relative; }
.stepnav__i + .stepnav__i::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--line);
}
.stepnav button {
  width: 100%; display: flex; align-items: center; gap: .6rem;
  padding: .95rem .8rem; border: 0; background: none; text-align: left;
  transition: background-color .18s;
}
.stepnav button:hover:not([disabled]) { background: #fff; }
.stepnav button[disabled] { opacity: .45; cursor: not-allowed; }
.stepnav i {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--line-2); color: var(--ink-500);
  font-style: normal; font-size: .78rem; font-weight: 800;
  transition: background-color .2s, color .2s;
}
.stepnav span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.stepnav b { font-size: .87rem; font-weight: 600; }
.stepnav em {
  font-style: normal; font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.stepnav__i.is-on i { background: var(--ink-800); color: var(--gold-300); }
.stepnav__i.is-done i { background: var(--gold-500); color: var(--ink-900); }
.stepnav__i.is-done i::before { content: "\2713"; }
.stepnav__i.is-done i { font-size: .8rem; }
.stepnav__i.is-done i > * { display: none; }

/* ---- panes ---- */
.wizard__body { padding: clamp(1.3rem, 3vw, 2rem); }
.pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .pane { display: none; }
.js .pane.is-active { display: block; animation: pane-in .28s ease both; }
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } }
.pane + .pane { margin-top: 2.25rem; }          /* only matters with JS off */
.pane__title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  padding: 0; margin: 0 0 .35rem;
}
.pane__hint { font-size: .88rem; color: var(--muted); margin: 0 0 1.4rem; }

/* ---- frame slots ----
   With JS the visible count follows the chosen bundle size. With JS off every
   slot shows, so a no-JS visitor can still fill a bundle of five; send.php
   enforces that the number of chosen frames matches the bundle. */
.js .slot { display: none; }
.js .slot.is-on { display: block; }
.slot + .slot { margin-top: .85rem; }
.slot__lbl {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}
.slot__row {
  display: flex; align-items: center; gap: .85rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .55rem .8rem .55rem .55rem; background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.slot__row:focus-within { border-color: var(--ink-700); box-shadow: var(--shadow-sm); }
.slot__thumb {
  flex: none; width: 56px; height: 56px; object-fit: contain;
  border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line-2);
}
.slot__sel {
  flex: 1; min-width: 0; border: 0; background: none; padding: .45rem 0;
  font: inherit; font-size: .92rem; font-weight: 500; color: var(--text);
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-600) 50%),
                    linear-gradient(135deg, var(--ink-600) 50%, transparent 50%);
  background-position: calc(100% - 11px) 52%, calc(100% - 6px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 1.6rem;
}
.slot__sel:focus { outline-offset: 1px; }
.slot.is-bad .slot__row { border-color: #B03030; box-shadow: 0 0 0 3px rgba(176,48,48,.1); }

/* ---- text fields ---- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fld { margin: 0 0 1.05rem; }
.fld label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--ink-600); margin-bottom: .4rem;
}
.fld label b { color: #B03030; }
.fld label span { font-weight: 400; color: var(--muted); letter-spacing: 0; }
.fld input, .fld textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .7rem .85rem; transition: border-color .18s, box-shadow .18s;
  resize: vertical;
}
.fld input::placeholder, .fld textarea::placeholder { color: #A8A49C; }
.fld input:focus, .fld textarea:focus {
  outline: 0; border-color: var(--ink-700); box-shadow: 0 0 0 3px rgba(18,18,18,.07);
}
.fld.is-bad input, .fld.is-bad textarea {
  border-color: #B03030; box-shadow: 0 0 0 3px rgba(176,48,48,.1);
}
.fld__err { display: block; color: #B03030; font-size: .78rem; margin-top: .35rem; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- payment ---- */
.pays { display: grid; gap: .6rem; }
.pay {
  position: relative; display: block; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1rem 1.1rem; background: #fff;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.pay input { position: absolute; inset: 0; margin: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.pay:hover { border-color: var(--ink-600); }
.pay:has(input:focus-visible) { outline: 2px solid var(--gold-600); outline-offset: 3px; }
.pay.is-sel, .pay:has(input:checked) {
  border-color: var(--ink-800); box-shadow: 0 0 0 3px rgba(18,18,18,.07);
}
.pay__body { display: block; padding-left: 1.9rem; }
/* radio dot drawn in CSS so the native control can stay invisible */
.pay__body::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.2rem;
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .18s;
}
.pay.is-sel .pay__body::after, .pay:has(input:checked) .pay__body::after {
  content: ""; position: absolute; left: 1.4rem; top: 1.5rem;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink-800);
}
.pay.is-sel .pay__body::before, .pay:has(input:checked) .pay__body::before { border-color: var(--ink-800); }
.pay__name { display: block; font-weight: 700; font-size: .98rem; }
.pay__desc { display: block; font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.pay__tag {
  display: inline-block; vertical-align: 2px; margin-left: .45rem;
  background: #E2136E; color: #fff; font-size: .62rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .18rem .45rem; border-radius: var(--r-full);
}

/* the highlighted bKash payment panel */
.bkash {
  margin-top: 1.1rem; border: 1px solid var(--gold-500); border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(201,162,74,.13), rgba(201,162,74,.05));
  padding: 1.15rem 1.2rem;
  animation: pane-in .25s ease both;
}
.bkash__lead { margin: 0 0 1rem; font-size: .88rem; color: var(--ink-600); line-height: 1.55; }
.bkash__row {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .7rem .9rem;
}
.bkash__row + .bkash__row { margin-top: .55rem; }
.bkash__label {
  font-size: .68rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-right: auto;
}
.bkash__num {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-900);
}
.bkash__row--amt .bkash__num { font-family: var(--font-display); letter-spacing: 0; }
.bkash__note { font-size: .74rem; color: var(--muted); flex-basis: 100%; }
.bkash .fld { margin: 1rem 0 0; }
.bkash .fld input { background: #fff; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.bkash .fld input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* ---- wizard footer ---- */
.wizard__foot {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.1rem clamp(1.3rem, 3vw, 2rem);
  border-top: 1px solid var(--line); background: var(--paper);
}
.wizard__status { margin: 0 auto 0 0; font-size: .82rem; color: var(--muted); }
.wizard__status.is-bad { color: #B03030; font-weight: 600; }
.js .wizard__foot { display: flex; }
.wizard__foot #wz-back { margin-right: auto; }
.wizard__foot #wz-back[hidden] { display: none; }
.wizard__foot #wz-back:not([hidden]) ~ .wizard__status { margin-left: 0; }

/* ---- alerts ---- */
.alert {
  border-radius: var(--r-sm); padding: .85rem 1rem; font-size: .87rem;
  margin-bottom: 1rem; line-height: 1.5;
}
.alert--ok  { background: rgba(30,142,90,.16);  color: #9BE8C0; border: 1px solid rgba(30,142,90,.45); }
.alert--bad { background: rgba(176,48,48,.16);  color: #F3B4B4; border: 1px solid rgba(176,48,48,.45); }
.alert b { display: block; margin-bottom: .2rem; color: #fff; }

.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

.receipt__list + .receipt__list { margin-top: 0; }
#r-picks li { font-size: .86rem; }
#r-picks span:first-child { color: var(--gold-300); }

.field + .field { margin-top: 1.6rem; }
.field > label {
  display: block; font-size: .74rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .7rem;
}
/* Options are <label><input type=radio><span>…</span></label>: real form
   controls, so they are keyboard-navigable as a radio group and submit with
   JavaScript off. `.is-sel` is kept in sync by JS as a fallback for engines
   without :has(). */
.opts { display: grid; gap: .5rem; }
.opts--row { grid-template-columns: repeat(4, 1fr); }
.opt {
  display: block; position: relative;
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm);
  padding: .8rem .6rem; text-align: center; font-weight: 600; font-size: .9rem;
  transition: border-color .18s, background-color .18s, color .18s, box-shadow .18s;
  line-height: 1.3; cursor: pointer;
}
.opt input {
  position: absolute; inset: 0; margin: 0; opacity: 0;
  width: 100%; height: 100%; cursor: pointer;
}
.opt small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.opt:hover { border-color: var(--ink-600); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold-600); outline-offset: 3px; }

.opt.is-sel, .opt:has(input:checked) {
  border-color: var(--ink-800); background: var(--ink-800); color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.opt.is-sel small, .opt:has(input:checked) small { color: var(--gold-300); }

.opts--stack .opt > span {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.opts--stack .opt { text-align: left; }
.opts--stack .opt small { margin: 0; white-space: nowrap; }

.receipt {
  background: var(--ink-800); color: var(--paper); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem); position: sticky; top: calc(var(--header-h) + 20px);
}
.receipt h3 { font-size: 1.25rem; color: #fff; }
.receipt__list { margin: 1.4rem 0 0; padding: 0; list-style: none; font-size: .92rem; }
.receipt__list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .68rem 0; border-bottom: 1px dashed rgba(251,249,245,.16);
}
.receipt__list span:first-child { color: #B9B5AC; }
.receipt__list b { font-weight: 600; }
.receipt__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid rgba(251,249,245,.24);
}
.receipt__total span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #B9B5AC; }
.receipt__total strong { font-family: var(--font-display); font-size: 2.25rem; color: var(--gold-300); line-height: 1; }
.receipt__fine { font-size: .76rem; color: #8E8A82; margin: .8rem 0 1.5rem; }
.receipt .btn { width: 100%; }

/* ---------- features ---------- */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.feat {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 1.7rem 1.5rem; transition: transform .2s, box-shadow .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat__ico {
  width: 46px; height: 46px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); margin-bottom: 1.15rem;
}
.feat__ico svg { width: 22px; height: 22px; stroke: var(--ink-900); }
.feat h3 { font-size: 1.1rem; }
.feat p { font-size: .9rem; color: var(--muted); margin: .5rem 0 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); counter-reset: s; }
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--gold-500); opacity: .55; line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 1.3rem; left: 4.2rem; right: -1rem; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.14rem; }
.step p { font-size: .9rem; color: var(--muted); margin: .5rem 0 0; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  background: none; border: 0; padding: 1.25rem .25rem; text-align: left;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600;
}
.qa__q i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-style: normal; font-size: 1rem;
  transition: transform .25s, background-color .25s, border-color .25s, color .25s;
}
.qa__q[aria-expanded="true"] i {
  transform: rotate(45deg); background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-900);
}
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa__a[data-open="true"] { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { margin: 0 0 1.3rem; color: var(--muted); font-size: .95rem; padding-right: 2.5rem; }

/* ---------- final cta ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(201,162,74,.22), transparent 65%),
    var(--ink-900);
  color: var(--paper);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta-band h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
.cta-band p { color: #B9B5AC; max-width: 52ch; margin: 1rem auto 2rem; }
.cta-band .eyebrow { color: var(--gold-400); }
.cta-band__row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Small print under a section — e.g. the shared spec line below the grid. */
.fineprint {
  max-width: 62ch; margin: 2.5rem auto 0; text-align: center;
  font-size: .88rem; color: var(--muted);
}

/* ---------- footer ---------- */
.footer { background: var(--ink-800); color: #B9B5AC; padding-block: clamp(2.5rem, 6vw, 4rem) 0; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 800; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a:hover { color: var(--gold-300); }
.footer p { margin: 0 0 .8rem; max-width: 34ch; }
.footer address { font-style: normal; margin-top: 1rem; line-height: 1.6; }
.footer__bar {
  margin-top: clamp(2rem, 5vw, 3rem); padding-block: 1.4rem;
  border-top: 1px solid rgba(251,249,245,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .82rem;
}

/* ---------- floating contact ---------- */
/* One bottom-right contact stack above the native chat bubble. */
.fab {
  position: fixed; right: 18px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; flex-direction: column-reverse; gap: .6rem; align-items: flex-end;
}
@media (max-width: 560px) {
  .fab { right: 12px; bottom: calc(66px + env(safe-area-inset-bottom)); }
}
.fab a {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--ink-800); color: var(--paper);
  border-radius: var(--r-full); padding: .8rem 1.15rem;
  font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: transform .18s, background-color .18s;
}
.fab a:hover { transform: translateY(-3px); }
.fab a.is-wa { background: #1FA855; }
.fab a.is-messenger { background: var(--messenger-color, #0084FF); color: #fff; }
.fab svg { width: 18px; height: 18px; flex: none; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 120; display: none;
  place-items: center; padding: 2rem;
  background: rgba(11,12,13,.9); backdrop-filter: blur(6px);
}
.lb.is-open { display: grid; }
.lb img { max-width: min(90vw, 720px); max-height: 82vh; border-radius: var(--r-md); background: #fff; }
.lb__cap { color: var(--gold-300); text-align: center; margin-top: 1rem; font-size: .9rem; letter-spacing: .06em; }
.lb__x {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(251,249,245,.3); background: transparent;
  color: var(--paper); font-size: 1.4rem; line-height: 1;
}
.lb__x:hover { background: rgba(251,249,245,.12); }

/* ---------- scroll reveal ----------
   Gated behind html.js (set by an inline script) so the page is fully
   visible when JavaScript is off or fails to run. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 470px; margin-inline: auto; width: 100%; }
  .hero__chip--a { left: 4px; }
  .hero__chip--b { right: 4px; }
  .hero { padding-block: 1.5rem clamp(2.5rem, 7vw, 4rem); }
  .builder { grid-template-columns: 1fr; }
  .receipt { position: static; }
  .bundles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Footer sub-items sit indented under their parent — nothing to open here. */
.footer__sub { list-style: none; margin: .3rem 0 .5rem .2rem; padding-left: .75rem; border-left: 1px solid rgba(255,255,255,.16); }
.footer__sub li { margin: 0; }
.footer__head { font-weight: 600; }

@media (max-width: 780px) {
  .burger { display: grid; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .8rem var(--gut) 1.4rem; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .6rem; border-radius: var(--r-sm); }
  /* No hover on touch: the caret is the only way in, so the submenu becomes a
     plain indented block and `display` is the single lever that opens it. */
  .nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; position: static; }
  .nav__link--static { padding: .8rem .6rem; }
  .nav__toggle { width: 42px; height: 42px; margin: 0; justify-self: end; }
  .nav__sub,
  .nav__sub--deep {
    grid-column: 1 / -1; position: static; display: none;
    opacity: 1; visibility: visible; transform: none;
    min-width: 0; margin: 0 0 .3rem .6rem; padding: 0 0 .2rem .7rem;
    background: transparent; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; box-shadow: none;
  }
  .nav__sub.is-open { display: block; }
  .nav__sub a { padding: .65rem .6rem; white-space: normal; }
  .header__cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 3rem; }
  .step::after { display: none; }
  .opts--row { grid-template-columns: repeat(2, 1fr); }
}

/* The floating price chips sit over the product once the stage gets small —
   below this width the product itself has to win. */
@media (max-width: 720px) {
  .hero__chip { display: none; }
  .hero__stage { border-radius: var(--r-md); }
}

@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .bundles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .grid { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
  .brand img { height: 34px; }
  .trust { gap: .8rem 1.4rem; margin-top: 1.9rem; padding-top: 1.5rem; }
  .trust div { font-size: .82rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .fab a span { display: none; }
  .fab a { padding: .85rem; }
  .fab { right: 12px; bottom: 12px; }
  .opts--stack .opt { font-size: .85rem; padding: .75rem .8rem; }
  .receipt__total strong { font-size: 1.9rem; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  /* the step rail becomes number-only so four steps still fit a phone */
  .stepnav button { flex-direction: column; gap: .3rem; padding: .7rem .3rem; text-align: center; }
  .stepnav span { align-items: center; }
  .stepnav b { font-size: .72rem; }
  .stepnav em { display: none; }
  .wizard__foot { flex-wrap: wrap; }
  .wizard__status { order: 3; flex-basis: 100%; margin: 0; }
  .wizard__foot .btn { flex: 1; }
  .qa__q { font-size: 1rem; padding-block: 1.1rem; }
  .qa__a p { padding-right: 0; }
  .ticker { font-size: .72rem; }
  .section { padding-block: clamp(2.75rem, 9vw, 4rem); }
}

/* Small Android / older iPhone widths */
@media (max-width: 380px) {
  .opts--row { grid-template-columns: repeat(2, 1fr); }
  .card__body { padding: 1rem 1rem 1.15rem; }
  .swatch { width: 24px; height: 24px; }
  .hero h1 { font-size: 2.05rem; }
  .cta-band__row { flex-direction: column; }
  .cta-band__row .btn { width: 100%; }
}

/* ---------- virtual try-on entry points ---------- */
.card__tryon {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  margin-top: .85rem; padding: .62rem .75rem; border: 1px solid rgba(151,107,22,.28);
  border-radius: var(--r-sm); color: var(--gold-700); background: rgba(201,162,74,.08);
  font-size: .76rem; font-weight: 800; text-decoration: none;
}
.card__tryon:hover, .card__tryon:focus-visible { color: var(--ink-900); border-color: var(--gold-600); background: rgba(201,162,74,.16); }
.pdp__tryon {
  display: grid; grid-template-columns: 42px 1fr; column-gap: .75rem; align-items: center;
  margin: 0 0 1.2rem; padding: .8rem .9rem; border: 1px solid rgba(151,107,22,.3);
  border-radius: var(--r-md); color: var(--ink-900); background: linear-gradient(120deg, rgba(201,162,74,.16), rgba(255,255,255,.7));
  text-decoration: none;
}
.pdp__tryon > span { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--paper); background: var(--ink-900); font-size: 1.2rem; }
.pdp__tryon b { align-self: end; }
.pdp__tryon small { align-self: start; color: var(--muted); font-size: .72rem; }
.pdp__tryon:hover, .pdp__tryon:focus-visible { border-color: var(--gold-700); box-shadow: 0 6px 20px rgba(88,64,17,.08); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .header, .ticker, .fab, .lb, .hero__chip { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   Shop pages — product detail, cart, checkout, listings.
   Built only from the tokens already defined above, so these
   screens read as the same shop as the landing page.
   ============================================================ */

/* ---------- header cart ---------- */
.header__cart { position: relative; padding-inline: .8rem; }
.header__cart svg { width: 19px; height: 19px; }
.header__cart-n {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px;
  display: grid; place-items: center; padding: 0 5px;
  background: var(--gold-500); color: var(--ink-900);
  border-radius: var(--r-full); font-size: .68rem; font-weight: 800;
}

/* ---------- breadcrumbs ---------- */
.crumbs { border-bottom: 1px solid var(--line-2); background: #fff; }
.crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  list-style: none; margin: 0; padding: .8rem 0; font-size: .82rem; color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a:hover { color: var(--gold-700); }
.crumbs [aria-current] { color: var(--ink-700); font-weight: 600; }

/* ---------- pagination ---------- */
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager__i {
  min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .6rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font-size: .9rem; font-weight: 600;
}
.pager__i:hover { border-color: var(--ink-600); }
.pager__i.is-on { background: var(--ink-800); border-color: var(--ink-800); color: var(--paper); }

/* ---------- product detail ---------- */
.pdp__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.pdp__stage {
  position: relative; aspect-ratio: 1; background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.pdp__stage img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.pdp__thumb {
  width: 68px; height: 68px; padding: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
  transition: border-color .18s, transform .18s;
}
.pdp__thumb:hover { transform: translateY(-2px); }
.pdp__thumb.is-on { border-color: var(--ink-800); box-shadow: 0 0 0 2px rgba(18,18,18,.08); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }

.pdp__eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-size: .82rem; color: var(--muted); }
.pdp__eyebrow a:hover { color: var(--gold-700); }
.pdp__name { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.pdp__shape { color: var(--muted); font-size: .92rem; margin: .5rem 0 0; }
.pdp__price { display: flex; align-items: baseline; gap: .7rem; margin: 1.2rem 0 1.6rem; flex-wrap: wrap; }
.pdp__price strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.pdp__price del { color: var(--muted); font-size: 1.05rem; }
.pdp__price span { font-size: .85rem; color: var(--muted); }
.pdp__form { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.pdp__form .swatches { margin: .2rem 0 0; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1.6rem; }
.pdp__actions .btn { flex: 1 1 auto; }
.pdp__note { min-height: 1.2rem; margin: .7rem 0 0; font-size: .86rem; font-weight: 600; color: var(--success); }
.pdp__note.is-bad { color: #B03030; }
.pdp__trust { list-style: none; margin: 1.8rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .75rem; }
.pdp__trust li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; }
.pdp__trust svg { width: 19px; height: 19px; flex: none; stroke: var(--gold-600); }
.pdp__wa { margin: 1.4rem 0 0; }

/* ---------- quantity stepper ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-full); background: #fff; }
.qty button {
  width: 38px; height: 40px; border: 0; background: none; font-size: 1.1rem; line-height: 1;
  color: var(--ink-600); border-radius: var(--r-full);
}
.qty button:hover { background: var(--line-2); }
.qty input {
  width: 44px; height: 40px; border: 0; background: none; text-align: center;
  font: inherit; font-weight: 700; font-size: .95rem; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- long-form copy ---------- */
.prose { max-width: 74ch; margin-inline: auto; }
.prose h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-600); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--gold-700); text-decoration: underline; text-underline-offset: 2px; }

/* Elements an admin can now put in a page. Without these a pasted table or
   image renders unstyled, which reads as "the HTML did not work". */
.prose h1 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 0 0 .8rem; line-height: 1.15; }
.prose h4 { font-size: 1.02rem; margin: 1.2rem 0 .4rem; }
.prose h5, .prose h6 { font-size: .95rem; margin: 1rem 0 .35rem; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 1.2rem 0; }
.prose figure { margin: 1.4rem 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: .5rem; font-size: .82rem; color: var(--muted); text-align: center; }
.prose blockquote {
  margin: 1.4rem 0; padding: .1rem 0 .1rem 1.1rem;
  border-left: 3px solid var(--gold-500); color: var(--ink-700); font-style: italic;
}
.prose hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.prose pre {
  margin: 1.2rem 0; padding: 1rem; overflow-x: auto;
  background: var(--line-2); border-radius: var(--r-sm); font-size: .85rem;
}
.prose code { padding: .1rem .35rem; background: var(--line-2); border-radius: 4px; font-size: .88em; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; margin: 1.4rem 0; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: .6rem .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--line-2); font-weight: 600; color: var(--ink-900); }
.prose caption { margin-bottom: .5rem; font-size: .85rem; color: var(--muted); }
.prose dl { margin: 0 0 1.2rem; }
.prose dt { font-weight: 600; color: var(--ink-900); margin-top: .8rem; }
.prose dd { margin: .2rem 0 0; padding-left: 1rem; color: var(--ink-600); }
.prose > *:last-child { margin-bottom: 0; }
.pdp .prose { margin-top: clamp(2rem, 5vw, 3.5rem); }

/* ---------- cart ---------- */
.cartgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cartlist { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cartrow { display: flex; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--line-2); }
.cartrow:last-of-type { border-bottom: 0; }
.cartrow__img { flex: none; width: 92px; height: 92px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.cartrow__img img { width: 100%; height: 100%; object-fit: contain; }
.cartrow__body { flex: 1; min-width: 0; }
.cartrow__body h3 { font-size: 1.05rem; }
.cartrow__meta { font-size: .84rem; color: var(--muted); margin: .3rem 0 .8rem; }
.cartrow__sku { display: inline-block; margin-left: .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-700); }
.cartrow__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cartrow__total { margin-left: auto; font-family: var(--font-display); font-size: 1.15rem; }
.cartrow__x {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--muted); font-size: 1.1rem; line-height: 1;
}
.cartrow__x:hover { border-color: #B03030; color: #B03030; }
.cartlist__foot { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1.1rem; background: var(--paper); border-top: 1px solid var(--line); }

.receipt__form { margin-top: 1.4rem; }
.receipt__form label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #B9B5AC; margin-bottom: .45rem; }
.receipt__form select, .receipt__form input {
  width: 100%; font: inherit; font-size: .92rem; color: var(--paper);
  background: rgba(251,249,245,.08); border: 1px solid rgba(251,249,245,.22);
  border-radius: var(--r-sm); padding: .6rem .7rem;
}
.receipt__form select option { color: var(--ink-800); }
.receipt__row { display: flex; gap: .5rem; }
.receipt__row input { flex: 1; min-width: 0; }
.receipt .btn--gold { margin-top: 1.2rem; }

/* ---------- notices ---------- */
.notice {
  background: rgba(30,142,90,.1); border: 1px solid rgba(30,142,90,.35); color: #14603C;
  border-radius: var(--r-sm); padding: .85rem 1rem; font-size: .9rem; margin: 0 0 1.5rem;
}
.notice--bad { background: rgba(176,48,48,.08); border-color: rgba(176,48,48,.35); color: #8E2222; }
.notice--bad span { display: block; }

/* ---------- misc ---------- */
.fld__select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .85rem;
}
.searchbar { display: flex; gap: .5rem; max-width: 520px; margin: 1.5rem auto 0; }
.searchbar input {
  flex: 1; min-width: 0; font: inherit; font-size: .95rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-full); padding: .75rem 1.1rem;
}
.searchbar input:focus { outline: 0; border-color: var(--ink-700); box-shadow: 0 0 0 3px rgba(18,18,18,.07); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stars { display: flex; gap: 2px; margin: 0 0 .6rem; }
.stars svg { width: 16px; height: 16px; stroke: var(--line); fill: none; }
.stars .on svg { stroke: var(--gold-600); fill: var(--gold-400); }

@media (max-width: 1024px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .cartgrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .header__cart { display: inline-flex; }
  .cartrow { gap: .8rem; padding: .9rem; }
  .cartrow__img { width: 74px; height: 74px; }
  .pdp__actions .btn { width: 100%; }
}

/* CMS policy links retain database order in a responsive row-major grid. */
.footer__legal {
  list-style: none; margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  padding: clamp(1rem, 2.4vw, 1.35rem) 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem clamp(1.25rem, 4vw, 3rem); border-block: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
}
.footer__legal li { min-width: 0; }
.footer__legal a { display: inline-block; line-height: 1.5; overflow-wrap: anywhere; }
.footer__legal a:hover { color: var(--gold-300); }
@media (max-width: 900px) {
  .footer__legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer__legal { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Customer account panel, order tracking, reviews, blog.
   Same tokens as everything above — these screens are meant to
   read as the same shop, not as a bolted-on portal.
   ============================================================ */

.header__icon { padding-inline: .8rem; position: relative; }
.header__icon svg { width: 19px; height: 19px; }

/* ---------- auth cards ---------- */
.authbox {
  max-width: 460px; margin-inline: auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.authbox--wide { max-width: 720px; }
.authbox .btn { margin-top: .5rem; }
.authbox__alt { margin: 1.2rem 0 0; font-size: .87rem; color: var(--muted); text-align: center; }
.authbox__alt a { color: var(--gold-700); font-weight: 600; }
.fld__hint { display: block; margin-top: .35rem; font-size: .78rem; color: var(--muted); }

.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.check input { margin-top: .3rem; width: 18px; height: 18px; flex: none; accent-color: var(--ink-800); }
.check small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: .15rem; }

/* ---------- account panel ---------- */
.acct__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.6rem;
}
.acct__head h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.acct__sub { color: var(--muted); font-size: .9rem; margin: .35rem 0 0; }
.acct__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.acct__tabs .chip { display: inline-flex; align-items: center; gap: .45rem; }
.acct__tabs .chip svg { width: 16px; height: 16px; }

.acct__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem;
}
.acct__stats div {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 1.1rem 1.2rem; text-align: center;
}
.acct__stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.acct__stats span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.acct__empty { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.acct__empty h2 { font-size: 1.4rem; }
.acct__empty p { color: var(--muted); margin: .6rem 0 1.6rem; }

.acct__list { display: grid; gap: 1rem; }
.ordcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.2rem 1.3rem; transition: box-shadow .2s, border-color .2s;
}
.ordcard:hover { box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.ordcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ordcard__ref {
  font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: 1.02rem;
  letter-spacing: .04em;
}
.ordcard__ref:hover { color: var(--gold-700); }
.ordcard__when { font-size: .84rem; color: var(--muted); margin: .25rem 0 0; }
.ordcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line-2);
}
.ordcard__total { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.ordcard__total small { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 500; color: var(--muted); }

/* ---------- order status rail ---------- */
.ostat { display: flex; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.ostat__i { flex: 1; position: relative; text-align: center; font-size: .72rem; color: var(--muted); }
.ostat__i i {
  display: block; width: 13px; height: 13px; margin: 0 auto .45rem; border-radius: 50%;
  background: var(--line); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); position: relative; z-index: 2;
}
.ostat__i::before {
  content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px;
  background: var(--line); z-index: 1;
}
.ostat__i:first-child::before { display: none; }
.ostat__i.is-done i, .ostat__i.is-on i { background: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500); }
.ostat__i.is-done::before { background: var(--gold-500); }
.ostat__i.is-on { color: var(--ink-800); font-weight: 700; }
.ostat__i.is-on i { box-shadow: 0 0 0 1px var(--gold-500), 0 0 0 4px rgba(201,162,74,.25); }
.ostat--off { margin: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }

.ostat__badge {
  flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--r-full); background: var(--line-2); color: var(--ink-600);
}
.ostat__badge.is-new  { background: rgba(201,162,74,.16); color: var(--gold-700); }
.ostat__badge.is-ok   { background: rgba(34,64,95,.12); color: #22405F; }
.ostat__badge.is-done { background: rgba(30,142,90,.13); color: var(--success); }
.ostat__badge.is-off  { background: rgba(176,48,48,.1); color: #B03030; }

@media (max-width: 560px) {
  .acct__stats { grid-template-columns: 1fr; }
  .ostat__i span { display: none; }
  .ostat__i.is-on span { display: block; }
}

/* ---------- newsletter ---------- */
.subscribe {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem 2rem; align-items: center;
  margin-top: clamp(2rem, 5vw, 3rem); padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid rgba(251,249,245,.12);
}
.subscribe h4 { margin-bottom: .4rem; }
.subscribe p { margin: 0; max-width: 44ch; font-size: .87rem; }
.subscribe__row { display: flex; gap: .5rem; }
.subscribe__row input {
  flex: 1; min-width: 0; font: inherit; font-size: .92rem; color: var(--paper);
  background: rgba(251,249,245,.08); border: 1px solid rgba(251,249,245,.22);
  border-radius: var(--r-full); padding: .7rem 1.1rem;
}
.subscribe__row input::placeholder { color: #8E8A82; }
.subscribe__row input:focus { outline: 0; border-color: var(--gold-500); }
.subscribe__msg { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--gold-300); min-height: 1.1rem; }
.subscribe__msg.is-bad { color: #F3B4B4; }

/* ---------- product measurements ---------- */
.pdp__specs { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pdp__specs h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.pdp__specs dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .7rem; margin: 0; }
.pdp__specs dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pdp__specs dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.pdp__specnote { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- sticky buy bar ---------- */
.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  background: rgba(251,249,245,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(18,18,18,.08);
  padding: .6rem 0; animation: pane-in .25s ease both;
}
.stickybuy__in {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: .9rem;
}
.stickybuy img { width: 46px; height: 46px; object-fit: contain; flex: none; border-radius: var(--r-sm); background: #fff; }
.stickybuy__txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; margin-right: auto; }
.stickybuy__txt strong { font-size: .9rem; }
.stickybuy__txt span { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.stickybuy__txt small { font-family: var(--font-body); font-size: .7rem; font-weight: 500; color: var(--muted); }
@media (min-width: 781px) { .stickybuy { display: none; } }
@media (max-width: 780px) { .fab { bottom: 84px; } }

/* ---------- cart nudges ---------- */
.nudge {
  background: rgba(201,162,74,.1); border: 1px solid var(--gold-400);
  border-radius: var(--r-md); padding: .9rem 1.1rem; margin: 0 0 1.2rem; font-size: .9rem;
}
.nudge a { color: var(--gold-700); font-weight: 600; white-space: nowrap; }
.nudge--ok { background: rgba(30,142,90,.1); border-color: rgba(30,142,90,.4); color: #14603C; }
.nudge--bar p { margin: 0 0 .55rem; }
.nudge--bar i { display: block; height: 6px; background: rgba(18,18,18,.09); border-radius: var(--r-full); overflow: hidden; }
.nudge--bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); border-radius: var(--r-full); }

/* ---------- search suggestions ---------- */
.searchbar { position: relative; }
.suggest {
  position: absolute; top: calc(100% + .5rem); left: 0; right: 0; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left;
}
.suggest__i { display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem; }
.suggest__i + .suggest__i { border-top: 1px solid var(--line-2); }
.suggest__i:hover { background: var(--paper); }
.suggest__i img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.suggest__i i { width: 40px; height: 40px; flex: none; border-radius: var(--r-sm); background: var(--line-2); }
.suggest__i span { display: flex; flex-direction: column; min-width: 0; }
.suggest__i b { font-size: .9rem; font-weight: 600; }
.suggest__i em { font-style: normal; font-size: .76rem; color: var(--muted); }
.suggest__p { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: .92rem; }

/* ---------- reviews ---------- */
.revgrid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.revsum {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem; text-align: center; position: sticky; top: calc(var(--header-h) + 20px);
}
.revsum__avg { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.revsum .stars { justify-content: center; margin: .6rem 0 .3rem; }
.revsum__n { font-size: .85rem; color: var(--muted); margin: 0 0 1.2rem; }
.revsum__none { font-size: .9rem; color: var(--muted); margin: 0 0 1.2rem; }
.revbars { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .35rem; }
.revbars li { display: flex; align-items: center; gap: .55rem; font-size: .78rem; color: var(--muted); }
.revbars i { flex: 1; height: 6px; background: var(--line-2); border-radius: var(--r-full); overflow: hidden; }
.revbars b { display: block; height: 100%; background: var(--gold-500); }
.revbars em { font-style: normal; min-width: 1.5rem; text-align: right; }

.revlist { display: grid; gap: 1.1rem; }
.rev { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 1.2rem 1.3rem; }
.rev__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.rev__who { font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; }
.rev__badge {
  display: inline-flex; align-items: center; gap: .25rem; font-size: .66rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--success);
  background: rgba(30,142,90,.11); padding: .18rem .5rem; border-radius: var(--r-full);
}
.rev__badge svg { width: 11px; height: 11px; }
.rev__top time { margin-left: auto; font-size: .78rem; color: var(--muted); }
.rev__title { font-size: 1.02rem; margin: .7rem 0 .3rem; }
.rev__body { font-size: .92rem; color: var(--ink-600); margin: .4rem 0 0; }
.rev__reply {
  margin: .9rem 0 0; padding: .8rem 1rem; background: var(--paper);
  border-left: 3px solid var(--gold-500); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.rev__reply strong { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.rev__reply p { margin: .3rem 0 0; font-size: .88rem; color: var(--ink-600); }

.revform { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.5rem; }
.revform h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.revform__stars { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.revstar { position: relative; }
.revstar input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.revstar span {
  display: inline-flex; align-items: center; gap: .25rem; padding: .4rem .75rem;
  border: 1px solid var(--line); border-radius: var(--r-full); font-size: .85rem; font-weight: 600;
}
.revstar svg { width: 14px; height: 14px; stroke: var(--gold-600); }
.revstar:has(input:checked) span { background: var(--ink-800); border-color: var(--ink-800); color: var(--paper); }
.revstar:has(input:checked) svg { stroke: var(--gold-400); fill: var(--gold-400); }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.post {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post__media { display: block; aspect-ratio: 3 / 2; background: var(--line-2); overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  font-family: var(--font-display); font-size: 3.5rem; color: var(--gold-500);
  background: radial-gradient(400px 200px at 50% 0%, rgba(201,162,74,.18), var(--paper));
}
.post__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post__body h2, .post__body h3 { font-size: 1.15rem; }
.post__body h2 a:hover, .post__body h3 a:hover { color: var(--gold-700); }
.post__body p { font-size: .9rem; color: var(--muted); margin: .5rem 0 0; }
.post__tag {
  align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-700); background: rgba(201,162,74,.12);
  padding: .2rem .55rem; border-radius: var(--r-sm); margin-bottom: .7rem;
}
.post__meta { font-size: .78rem; color: var(--muted); margin-top: auto; padding-top: .9rem; }
.post__hero { max-width: 1000px; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); }
.post__hero img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

@media (max-width: 900px) {
  .revgrid { grid-template-columns: 1fr; }
  .revsum { position: static; }
}
@media (max-width: 700px) {
  .subscribe { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE SAFETY NET
   The layout already reflows; these are the things that break a
   narrow screen regardless of the grid — an unbreakable string, a
   tap target too small for a thumb, a bar that hides the content
   behind it.
   ============================================================ */

/* Order references, SKUs and email addresses have no spaces to break at,
   and one of them is enough to make the whole page scroll sideways. */
.receipt__ref, .acct__ref, .em-code, .rev__name,
.receipt__list b, .authbox__alt a, .post__meta {
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  /* Nothing may push the page wider than the screen. */
  html, body { max-width: 100%; overflow-x: hidden; }

  /* Comfortable thumb targets. Apple and Google both put the floor at
     44px; anything under that gets mis-tapped on a moving bus. */
  .btn, .fld input, .fld select, .fld textarea,
  .qty button, .cartrow__x, .header__icon {
    min-height: 44px;
  }
  .qty button { min-width: 44px; }

  /* Tables inside prose (policy pages, article content) scroll rather than
     stretching the page. */
  .prose table, .post__body table { display: block; overflow-x: auto; max-width: 100%; }

  /* The sticky buy bar sits above the content it would otherwise cover. */
  body:has(.stickybuy) .footer { padding-bottom: 5.5rem; }
}

@media (max-width: 380px) {
  /* At the narrowest common width, two columns of anything is one too many. */
  .trust, .revsum__bars { grid-template-columns: 1fr; }
}

/* ============================================================
   On-site support chat
   The floating contact stack sits above this native chat control.
   ============================================================ */
/* The chat bubble is the bottom-most control in the corner stack; .fab sits
   above it (see the .fab rule for the full stacking order). */
.emchat { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; }

.emchat__bubble {
  display: inline-flex; align-items: center; gap: .5rem; position: relative;
  background: var(--gold-500); color: var(--ink-900); border: 0;
  border-radius: var(--r-full); padding: .8rem 1.15rem;
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg);
  transition: transform .18s;
}
.emchat__bubble:hover { transform: translateY(-3px); }
.emchat__bubble svg { width: 18px; height: 18px; }
.emchat__dot {
  position: absolute; top: -4px; right: -4px; width: 12px; height: 12px;
  border-radius: 50%; background: #B03030; border: 2px solid var(--paper);
}

.emchat__panel {
  position: absolute; right: 0; bottom: calc(100% + .6rem);
  width: min(92vw, 360px); background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column; max-height: min(72vh, 560px);
}
.emchat__head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink-800); color: var(--paper);
  padding: .8rem 1rem; font-weight: 600; font-size: .95rem;
}
.emchat__x { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; }

.emchat__log {
  flex: 1; overflow-y: auto; padding: .9rem 1rem; background: var(--paper);
  display: flex; flex-direction: column; gap: .5rem; min-height: 120px;
}
.emchat__hint { font-size: .84rem; color: var(--muted); margin: 0; }
.emchat__msg {
  max-width: 82%; padding: .5rem .75rem; border-radius: 12px;
  font-size: .88rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word;
}
.emchat__msg--them { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.emchat__msg--me { background: var(--ink-800); color: var(--paper); align-self: flex-end; }

.emchat__start { padding: .9rem 1rem 1rem; display: grid; gap: .35rem; }
.emchat__start label {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.emchat__start input, .emchat__start textarea, .emchat__send textarea {
  width: 100%; font: inherit; font-size: .9rem; padding: .55rem .7rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  resize: vertical;
}
.emchat__start .btn { margin-top: .5rem; }

.emchat__send { display: flex; gap: .5rem; padding: .7rem 1rem .9rem; align-items: flex-end; }
.emchat__send textarea { flex: 1; }
.emchat__send .btn { padding: .6rem 1rem; font-size: .85rem; }

.emchat__err { font-size: .8rem; color: #B03030; margin: 0; }

@media (max-width: 560px) {
  .emchat { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .emchat__panel { width: min(94vw, 340px); }
}
