/* ============================================================================
   Minenook storefront skin v5 ("Torchlight").
   One accent: torch amber on near-black charcoal (dark, default) / warm birch
   paper (light). Square geometry, quiet trust, uniform product tiles.
   See handover/DESIGN_NOTES.md for the research behind this.
   ========================================================================== */

:root {
  --bg:        #111112;
  --bg-2:      #0c0c0d;
  --surface:   #191a1c;
  --surface-2: #202124;
  --line:      #2a2b2f;
  --line-2:    #3a3b40;
  --text:      #f2f0eb;
  --text-2:    #c9c5bc;
  --muted:     #8f8c85;
  --amber:     #f2a33c;
  --amber-2:   #d88a24;
  --amber-hi:  #ffb95e;
  --on-amber:  #1c1204;
  --good:      #6fbf73;
  --bad:       #e07a6b;
  --star:      #f2a33c;
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --page: 1240px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel:   "Press Start 2P", monospace;
  --ease-pop: cubic-bezier(.34,1.56,.64,1);
  --ease-out: cubic-bezier(.2,.7,.3,1);
  --shadow-pop: 0 24px 60px -24px rgba(0,0,0,.65);
  --shadow-sm: 0 2px 12px rgba(0,0,0,.35);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg:        #f6f3ea;
  --bg-2:      #efeadd;
  --surface:   #fffdf7;
  --surface-2: #efe9da;
  --line:      #e0dac7;
  --line-2:    #cbc2a8;
  --text:      #201d16;
  --text-2:    #4a463c;
  --muted:     #7d786c;
  --amber:     #a8650e;
  --amber-2:   #8f5609;
  --amber-hi:  #c07c1a;
  --on-amber:  #fff8ec;
  --good:      #2e7d36;
  --bad:       #b0402f;
  --star:      #a8650e;
  --shadow-pop: 0 24px 60px -28px rgba(60,50,30,.28);
  --shadow-sm: 0 1px 6px rgba(60,50,30,.10);
  color-scheme: light;
}
/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 78% -8%, color-mix(in srgb, var(--amber) 7%, transparent), transparent 62%),
    var(--bg);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--amber); color: var(--on-amber); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- utilities ---------- */
.wrap { max-width: var(--page); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--pixel);
  font-size: .5625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(36px, 6vw, 64px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-out), background .18s, border-color .18s, color .18s, box-shadow .18s;
  user-select: none;
}
.btn svg { width: 17px; height: 17px; }
.btn-fill { background: var(--amber); color: var(--on-amber); }
.btn-fill:hover { background: var(--amber-hi); transform: translateY(-1px); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--amber) 70%, transparent); }
.btn-fill:active { transform: translateY(0); }
.btn-fill:disabled { opacity: .6; transform: none; cursor: wait; }
.btn-line { border-color: var(--line-2); color: var(--text-2); }
.btn-line:hover { border-color: var(--amber); color: var(--amber); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; border-radius: var(--r); }
.btn-block { display: flex; width: 100%; }
/* ---------- promo bar ---------- */
.promo {
  text-align: center;
  padding: 8px 16px;
  font-size: .8125rem;
  color: var(--text-2);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.promo-msg { display: inline-block; transition: opacity .26s, transform .26s; }
.promo-msg.swap { opacity: 0; transform: translateY(-6px); }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-grid { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em;
}
.brand .mark {
  display: block; width: 22px; height: 22px; flex: none;
  filter: drop-shadow(0 2px 12px color-mix(in srgb, var(--amber) 24%, transparent));
}
.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav a { font-size: .95rem; color: var(--text-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--text); border-color: var(--amber); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tool {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line-2); border-radius: var(--r-xs);
  color: var(--text-2); font-size: 1rem;
  transition: border-color .15s, color .15s;
}
.tool:hover { border-color: var(--amber); color: var(--amber); }
.burger { display: none; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--amber); color: var(--on-amber);
  font-size: .6875rem; font-weight: 700;
  border-radius: var(--r-xs);
}
/* ---------- footer ---------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 56px 32px; margin-top: 24px; }
.signup { display: flex; gap: 8px; max-width: 380px; }
.signup input { flex: 1; }
.foot__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-block: 8px 36px; }
.foot__cols h5 { font-family: var(--body); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot__cols a { display: block; padding: 4px 0; color: var(--text-2); font-size: .9375rem; transition: color .15s; }
.foot__cols a:hover { color: var(--amber); }
.paymarks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.paymarks span {
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-xs);
  padding: 4px 9px;
}
.legal { border-top: 1px solid var(--line); padding-top: 20px; }
.legal p { margin: 0 0 8px; font-size: .8125rem; color: var(--muted); max-width: 90ch; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { color: var(--text-2); font-size: 1.09rem; max-width: 46ch; }
.hero .lede { margin: 18px 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: .8438rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--amber); border-radius: 1px; }
.hero-stage { position: relative; }
.hero-art {
  display: block; position: relative; aspect-ratio: 4 / 4.3;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2);
  /* Warm ambient glow lives on the box itself, not a separate blurred layer
     (a blurred sibling pseudo-element here caused a hard compositing seam
     above the top-left corner in real Chromium, not just headless). */
  box-shadow: var(--shadow-pop), 0 0 100px -22px color-mix(in srgb, var(--amber) 42%, transparent);
  transition: transform .35s var(--ease-out);
  will-change: transform;
  background: var(--bg-2);
}
.hero-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: saturate(.9) contrast(1.02) brightness(1.01);
}
/* Melt the photo's edges into the page without crushing the top of the
   product into looking like dead empty space. */
.hero-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 105% at 50% 42%, transparent 62%, color-mix(in srgb, var(--bg) 62%, transparent) 90%, var(--bg) 100%);
}
.hero-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 10px 14px; font-size: .875rem;
}
.hero-chip b { font-weight: 700; }
.hero-chip .price-now { color: var(--amber); font-weight: 700; }
/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile {
  position: relative; display: block; aspect-ratio: 1 / 1;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.cat-tile:hover img { transform: scale(1.045); }
.cat-tile figcaption {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  padding: 8px 14px;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
}
.cat-tile figcaption i { font-style: normal; color: var(--amber); }
.cat-tile:hover { border-color: var(--line-2); }

/* ---------- product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { min-width: 0; display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; aspect-ratio: 1 / 1;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.035); }
.card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.card:hover .card__media video.ready { opacity: 1; }
.card__flag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .7188rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 9px; border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--line-2); color: var(--text-2);
}
.card__flag--hot { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.card__flag--soon { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--muted); }
.card__body { padding-top: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-weight: 600; font-size: .98rem; letter-spacing: -.01em; transition: color .15s; }
.card__name:hover { color: var(--amber); }
.card__tag { font-size: .8125rem; color: var(--muted); margin-top: -4px; }
.card__meta { display: flex; align-items: center; gap: 8px; }
.price .now { font-weight: 700; font-size: 1.02rem; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: .8438rem; }
.card__off {
  font-size: .6875rem; font-weight: 700; letter-spacing: .02em;
  padding: 3px 7px; border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--amber) 16%, transparent);
  color: var(--amber);
}
.card__rate { font-size: .7813rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card__low { font-size: .7813rem; color: var(--bad); }
.card__body .btn { margin-top: auto; }
.card--soon .card__media img { opacity: .82; }

.stars { color: var(--star); letter-spacing: 2px; }
/* ---------- card hover image swap (DTC pattern: front shot on rest, second angle on hover) ---------- */
.card__img--alt {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.card:hover .card__img--alt { opacity: 1; }
.card--soon .card__img--alt { display: none; }
/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; user-select: none;
  border-block: 1px solid var(--line);
  padding-block: 13px;
  background: var(--bg-2);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__seq { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee__seq span {
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: var(--text-2);
}
.marquee__seq i { color: var(--amber); font-style: normal; font-size: .72rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* ---------- statement band ---------- */
.statement { padding-block: clamp(64px, 10vw, 120px); text-align: center; }
.statement h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 800;
  letter-spacing: -.03em; max-width: 24ch; margin-inline: auto;
}
.statement h2 em { font-style: normal; color: var(--amber); }
.statement p { max-width: 58ch; margin: 20px auto 28px; color: var(--text-2); font-size: 1.06rem; }
/* ---------- bestseller spotlight ---------- */
.spot { padding-block: clamp(48px, 7vw, 88px); }
.spot__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.spot__media {
  display: block; position: relative; aspect-ratio: 4 / 4.4;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2);
  box-shadow: var(--shadow-pop), 0 0 90px -26px color-mix(in srgb, var(--amber) 36%, transparent);
}
.spot__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.92) contrast(1.02);
  transition: transform .5s var(--ease-out);
}
.spot__media:hover img { transform: scale(1.03); }
.spot__in h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.spot__lede { margin: 14px 0 20px; color: var(--text-2); font-size: 1.04rem; max-width: 46ch; }
.spot__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.spot__list li {
  position: relative; padding-left: 24px;
  color: var(--text-2); font-size: .95rem;
}
.spot__list li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--amber); font-size: .8rem;
}
.spot__price { margin-bottom: 22px; }
.spot__price .now { font-size: 1.5rem; font-weight: 800; }
.spot__in .eyebrow { margin-bottom: 10px; }
@media (max-width: 880px) {
  .spot__grid { grid-template-columns: 1fr; }
  .spot__media { aspect-ratio: 4 / 3; }
}
/* ---------- save chip (concrete math, Blume pattern) ---------- */
.save-chip {
  display: inline-block; margin-left: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .02em;
  background: color-mix(in srgb, var(--good) 16%, transparent);
  color: var(--good); border: 1px solid color-mix(in srgb, var(--good) 40%, transparent);
  padding: 3px 9px; border-radius: var(--r-xs);
}
/* ---------- motion layer (premium, subtle; disabled by prefers-reduced-motion above) ---------- */
/* headline words rise in */
.hero h1 .w {
  display: inline-block;
  animation: rise .8s var(--ease-out) both;
  animation-delay: calc(var(--i) * 90ms + .15s);
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* hero crossfade + slow ken burns */
.hero-art .ha {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroswap 16s ease-in-out infinite, kenburns 16s ease-in-out infinite alternate;
}
.hero-art .ha.a { object-position: 50% 30%; animation-delay: 0s, 0s; }
.hero-art .ha.b { object-position: 42% 62%; animation-delay: -8s, -8s; }
@keyframes heroswap { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
/* once JS takes over to rotate through every product, swap the fixed
   two-photo keyframe loop for a plain opacity crossfade it can drive */
.hero-art.rotator .ha { animation: none; object-position: 50% 38%; transition: opacity 1s ease; }
/* breathing amber glow on the hero frame */
.hero-art { animation: glowpulse 6s ease-in-out infinite; }
@keyframes glowpulse {
  0%, 100% { box-shadow: var(--shadow-pop), 0 0 100px -22px color-mix(in srgb, var(--amber) 42%, transparent); }
  50% { box-shadow: var(--shadow-pop), 0 0 130px -16px color-mix(in srgb, var(--amber) 58%, transparent); }
}
/* cards rise in staggered when the grid renders */
.grid .card { animation: cardin .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cardin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* ---------- room set band ---------- */
.roomset {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-2) 100%);
  color: var(--on-amber);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  align-items: stretch;
}
.roomset__media { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.roomset__media img { width: 100%; height: 100%; object-fit: cover; }
.roomset__in { padding: clamp(28px, 4.5vw, 56px); align-self: center; }
.roomset__in .eyebrow { color: var(--on-amber); opacity: .85; font-size: .66rem; }
.roomset__in h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.025em; }
.roomset__in p { margin: 12px 0 20px; max-width: 46ch; opacity: .92; }
.roomset__in .price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.roomset__in .now { font-size: 1.7rem; font-weight: 800; }
.roomset__in .was { opacity: .75; text-decoration: line-through; }
.roomset__in .was { opacity: 1; color: #5a3a08; text-decoration: line-through; }
.roomset .save-chip {
  background: rgba(28, 18, 4, .16);
  color: #3a2606;
  border-color: rgba(28, 18, 4, .4);
  margin-left: 10px;
}
.btn-dark { background: var(--on-amber); color: var(--amber-hi); }
.btn-dark:hover { background: #2a1c08; transform: translateY(-1px); }
.roomset .burst { display: none; }

/* ---------- trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-block: 1px solid var(--line);
  padding-block: 34px;
}
.trust-strip > div { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon { color: var(--amber); flex: none; margin-top: 2px; }
.trust-icon svg { width: 22px; height: 22px; }
.trust-strip b { display: block; font-size: .9375rem; }
.trust-strip span { font-size: .8125rem; color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.review b { display: block; margin: 8px 0 4px; font-size: .9688rem; }
.review p { margin: 0 0 12px; color: var(--text-2); font-size: .9375rem; }
.review .who { font-size: .8125rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--display); font-weight: 400;
  font-size: 1.3rem; color: var(--amber); line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--text-2); font-size: .9375rem; max-width: 68ch; }
/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(32px, 5vw, 56px); }
.stage {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.stage img, .stage video { width: 100%; height: 100%; object-fit: cover; }
.filmstrip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.filmstrip button {
  position: relative;
  width: 64px; height: 64px; flex: none;
  border-radius: var(--r-sm); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color .15s;
}
.filmstrip button img { width: 100%; height: 100%; object-fit: cover; }
.filmstrip button.on { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.filmstrip .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--amber); font-size: 1rem; background: rgba(0,0,0,.25);
}
.buy { position: sticky; top: 88px; }
.buy h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; }
.buy .rate { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; margin-top: 10px; }
.buy .price { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.buy .now { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; }
.buy .was { color: var(--muted); text-decoration: line-through; }
.buy .off {
  font-size: .75rem; font-weight: 700;
  background: color-mix(in srgb, var(--amber) 16%, transparent);
  color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
  padding: 3px 8px; border-radius: var(--r-xs);
}
.buy .lede { margin: 10px 0 0; font-size: 1rem; }
.stockline { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .875rem; color: var(--text-2); }
.dot { width: 8px; height: 8px; flex: none; background: var(--good); border-radius: 2px; }
.dot--low { background: var(--bad); }
.note { padding: 12px 14px; border-radius: var(--r-sm); font-size: .9063rem; margin-top: 14px; }
.note--good { background: color-mix(in srgb, var(--good) 13%, transparent); color: var(--good); border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); }
.note--bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }
.opt { margin-top: 22px; }
.opt > span { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-xs);
  background: var(--surface); color: var(--text-2);
  font-size: .9063rem; font-weight: 500;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }
.chip.on { border-color: var(--amber); color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.buyrow { display: flex; gap: 10px; margin-top: 20px; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; flex: none; }
.qty button { width: 44px; font-size: 1.15rem; color: var(--text-2); transition: color .15s, background .15s; }
.qty button:hover { color: var(--amber); background: var(--surface); }
.qty input { width: 44px; text-align: center; background: transparent; border: 0; font-weight: 600; }
.qty--sm button { width: 30px; font-size: .95rem; }
.qty--sm input { width: 30px; }
.buyrow .btn { flex: 1; }
.buy .buyrow + .btn { margin-top: 10px; }
.assure { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; }
.assure span { display: flex; gap: 10px; font-size: .8438rem; color: var(--muted); }
.assure span::before { content: ""; width: 6px; height: 6px; flex: none; margin-top: 7px; background: var(--amber); border-radius: 1px; }
.pair { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 18px; }
.pair h3 { font-size: .9375rem; margin-bottom: 12px; color: var(--muted); font-family: var(--body); font-weight: 600; }
.pair__row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pair__row img { width: 56px; height: 56px; border-radius: var(--r-sm); border: 1px solid var(--line); object-fit: cover; }
.pair__row .plus { color: var(--amber); font-weight: 700; }
.pair__row b { font-size: 1.05rem; }
/* ---------- pdp lower sections ---------- */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story figure { margin: 0; }
.story img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.story h3 { font-size: 1.02rem; margin: 14px 0 4px; }
.story p { margin: 0; color: var(--muted); font-size: .9063rem; }
.cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); }
.cols h2 { font-size: 1.35rem; margin-bottom: 14px; }
.cols ul { margin: 0 0 8px; padding: 0; list-style: none; }
.cols ul li { position: relative; padding: 5px 0 5px 20px; color: var(--text-2); font-size: .9375rem; }
.cols ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--amber); border-radius: 1px; }
.spec { width: 100%; border-collapse: collapse; margin-top: 18px; }
.spec td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9063rem; }
.spec td:first-child { color: var(--muted); width: 42%; }
.spec td:last-child { color: var(--text-2); }

.sticky-buy {
  position: fixed; left: 50%; bottom: 16px; z-index: 55;
  transform: translate(-50%, 130%);
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 10px 14px;
  box-shadow: var(--shadow-pop);
  transition: transform .3s var(--ease-out);
  max-width: min(560px, 94vw);
}
.sticky-buy.on { transform: translate(-50%, 0); }
.sticky-buy img { width: 44px; height: 44px; border-radius: var(--r-xs); object-fit: cover; }
.sticky-buy .info { display: flex; flex-direction: column; line-height: 1.3; font-size: .875rem; }
.sticky-buy .info span { color: var(--muted); font-size: .8125rem; }

/* ---------- forms ---------- */
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 18%, transparent); }
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.err { display: none; color: var(--bad); font-size: .7813rem; margin-top: 5px; }
.field.bad input, .field.bad select { border-color: var(--bad); }
.field.bad .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--text-2); margin: 18px 0; cursor: pointer; }
.agree input { width: 17px; height: 17px; flex: none; margin-top: 3px; accent-color: var(--amber); }
.agree.bad { color: var(--bad); }
.agree a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 56px); padding-block: clamp(32px, 5vw, 56px); align-items: start; }
.checkout h2 { font-size: 1.2rem; margin: 26px 0 14px; }
.checkout h2:first-child { margin-top: 0; }
.summary { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.summary h2 { font-size: 1.15rem; margin: 0 0 14px; }
.line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; border: 1px solid var(--line); flex: none; }
.line .nm { font-weight: 600; font-size: .9375rem; }
.line .vr { color: var(--muted); font-size: .8125rem; }
.line .amt { margin-left: auto; font-weight: 600; white-space: nowrap; }
.line--gift img { border-style: dashed; }
.line--add img { border-style: dotted; }
.totals { display: grid; gap: 2px; }
.totals > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: .9375rem; color: var(--text-2); }
.totals .grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 1.06rem; color: var(--text); }
.fineprint { color: var(--muted); font-size: .7813rem; margin: 14px 0 0; }
.progress { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 8px 0 14px; }
.progress i { display: block; height: 100%; background: var(--amber); border-radius: 99px; transition: width .4s var(--ease-out); }
.empty { text-align: center; padding: 56px 0; color: var(--muted); display: grid; gap: 8px; justify-items: center; }

/* ---------- status / success / track / static pages ---------- */
.status { max-width: 600px; margin-inline: auto; padding-block: clamp(48px, 8vw, 96px); text-align: center; }
.status h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.mark {
  width: 56px; height: 56px; margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--amber); color: var(--on-amber);
  font-size: 1.6rem; font-weight: 800; border-radius: var(--r-sm);
}
.receipt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-top: 22px; text-align: left; }
.receipt .totals { margin-top: 12px; }
.pill {
  display: inline-block; font-size: .7813rem; font-weight: 700;
  padding: 3px 10px; border-radius: var(--r-xs);
  background: var(--surface-2); color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.pill.paid, .pill.shipped { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.page { max-width: 760px; margin-inline: auto; padding-block: clamp(44px, 7vw, 80px); }
.page h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.page h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.page p, .page li { color: var(--text-2); }
.page a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.page ul { padding-left: 20px; line-height: 1.75; }
/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
body.drawer-on .scrim { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 80;
  height: 100dvh; width: min(430px, 94vw);
  background: var(--bg); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .32s var(--ease-out);
}
body.drawer-on .drawer { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 1.1rem; }
.drawer .items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer footer { border-top: 1px solid var(--line); padding: 18px 20px; background: var(--surface); }
.drawer .rm { color: var(--muted); font-size: .8125rem; text-decoration: underline; text-underline-offset: 3px; }
.drawer .rm:hover { color: var(--bad); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 95;
  transform: translate(-50%, 16px);
  background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--text); border-radius: var(--r-sm);
  padding: 12px 18px; font-size: .9063rem;
  box-shadow: var(--shadow-pop);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- live feed (real orders only) ---------- */
.livefeed {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 10px 14px;
  box-shadow: var(--shadow-pop);
  font-size: .8438rem; max-width: 340px;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.livefeed.on { opacity: 1; transform: none; pointer-events: auto; }
.livefeed img { width: 44px; height: 44px; border-radius: var(--r-xs); object-fit: cover; flex: none; }
.livefeed .x { margin-left: 4px; color: var(--muted); font-size: .9rem; }
.livefeed .x:hover { color: var(--text); }

/* ---------- exit offer (quiet corner card) ---------- */
.modal-scrim {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transition: opacity .25s;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 24px;
}
body.modal-on .modal-scrim { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; width: min(380px, 92vw);
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-pop);
  transform: translateY(14px); transition: transform .3s var(--ease-out);
}
body.modal-on .modal { transform: none; }
.modal h3 { font-size: 1.25rem; margin-bottom: 8px; }
.modal p { color: var(--text-2); font-size: .9063rem; margin: 0 0 16px; }
.modal__x { position: absolute; top: 12px; right: 12px; color: var(--muted); font-size: .95rem; }
.modal__x:hover { color: var(--text); }

/* ---------- payment overlay ---------- */
.paywrap {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.72);
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.paybox {
  width: min(520px, 94vw); height: min(700px, 92vh);
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.paybox header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .9375rem; }
.paybox .acts { display: flex; gap: 14px; align-items: center; }
.paybox .acts a { color: var(--amber); font-size: .8438rem; text-decoration: underline; text-underline-offset: 3px; }
.paybox iframe { flex: 1; border: 0; background: #fff; }
.paybox footer { padding: 12px 18px; border-top: 1px solid var(--line); font-size: .8438rem; color: var(--muted); }
/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; }
  .pdp { grid-template-columns: 1fr; }
  .buy { position: static; }
  .cols, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .story { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .burger { display: inline-grid; }
  .cats { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
  .reviews { grid-template-columns: 1fr; }
  .roomset { grid-template-columns: 1fr; }
  .roomset__media { min-height: 260px; }
  .row2 { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sticky-buy { bottom: 12px; padding: 8px 10px; }
  .sticky-buy .btn { padding: 10px 16px; }
  .buyrow { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .story { grid-template-columns: 1fr; }
  .livefeed { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .modal-scrim { padding: 12px; }
}
/* ============================ end v5 ===================================== */