/* ============================================================
   diehardisaxmasmovie.com — retro 8-bit Christmas system
   Palette carries the original placeholder: night sky, gold,
   snow. Extended with punch-red CTA + mono body type.
   ============================================================ */

/* Exit-intent discount capture: an email field in the panel, and the
   discount line in the bag. Both use the site's own type so the widget does
   not read as a bolted-on third-party thing. */
.dhx-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dhx-label { font-family: var(--pixel); font-size: 8px; letter-spacing: .05em; color: var(--muted); }
.dhx-input { width: 100%; background: rgba(255,255,255,.06); color: var(--snow);
  border: 1px solid var(--rule); padding: 11px 12px; font-family: var(--mono); font-size: 14px; }
.dhx-input:focus { outline: none; border-color: var(--gold); }
.dhx-msg { margin: 0; font-family: var(--mono); font-size: 11px; color: var(--snow); }
.dhx-confirm-code { display: inline-block; font-family: var(--pixel); font-size: 11px;
  padding: 8px 10px; text-decoration: none; }
.cart-sub-discount { color: var(--gold); margin-top: 6px; }

/* ---------- [hidden] is authoritative ----------
   The `hidden` attribute is how every piece of conditional UI on this site is
   toggled (the discount-exclusion badge, the arrival date, the size guide, the
   review list, the sticky buy bar). But ANY `display` declaration in a later
   rule beats the attribute's built-in `display: none`.

   That is not hypothetical: `.discountable-badge { display: inline-block }`
   made "EXCLUDED FROM DISCOUNTS" render on a product that is fully eligible for
   discounts — the JS had correctly set `hidden`, and the CSS showed it anyway.
   It read as a discount rule to customers, on the flagship jumper.

   This one reset makes `hidden` win everywhere, so no future rule can
   accidentally reveal a hidden element. The per-element `[hidden]` rules below
   are now redundant but harmless; they are left in place as belt-and-braces. */
[hidden] { display: none !important; }

:root {
  --sky-top: #070b18;
  --sky-bot: #101a33;
  --gold: #ffd166;
  --gold-dim: #b98c2e;
  --punch: #ff5d6a;
  --punch-dark: #c33b48;
  --snow: #e8f0ff;
  --muted: #8ea0c4;
  --win: #ffca5f;
  --win-off: #2a3a5e;
  --rule: #22304f;
  --green: #6fcf97;
  --panel: #0c1224;
  --panel-2: #111a30;
  --mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
  --pixel: "Press Start 2P", var(--mono);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%);
  background-attachment: fixed;
  color: var(--snow);
  font: 16px/1.7 var(--mono);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--punch); }

/* CRT paper grain — 1px base64 noise at very low opacity */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='%23fff'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23fff'/%3E%3C/svg%3E");
}

/* ---------- star + snow layers ---------- */
.stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #ffffff99 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 32% 9%,  #ffffff77 50%, transparent 51%),
    radial-gradient(2px 2px   at 58% 14%, #ffffff88 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 7%,  #ffffff66 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90% 22%, #ffffff88 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 38%,  #ffffff55 50%, transparent 51%),
    radial-gradient(2px 2px   at 44% 30%, #ffffff44 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 52%, #ffffff66 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 44%, #ffffff55 50%, transparent 51%);
  background-size: 100% 100%;
}
.snow { position: fixed; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.snow i {
  position: absolute; top: -4vh;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--snow); opacity: .85;
  animation: fall linear infinite;
}
@keyframes fall { to { transform: translateY(112vh); } }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--rule);
  background: rgba(7, 11, 24, .82);
  backdrop-filter: blur(4px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--pixel); font-size: 11px; letter-spacing: .05em;
  color: var(--gold); white-space: nowrap;
}
.brand:hover { color: var(--gold); }
.brand .cube { width: 22px; height: 22px; flex: 0 0 auto; }
.topbar nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.topbar nav a {
  font-family: var(--pixel); font-size: 10px; padding: 10px 12px;
  color: var(--muted); border: 2px solid transparent;
}
.topbar nav a:hover { color: var(--snow); border-color: var(--rule); background: var(--panel); }
.topbar nav a[aria-current="page"] { color: var(--gold); border-color: var(--rule); }
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pixel); font-size: 10px;
  color: var(--snow); background: var(--panel);
  border: 2px solid var(--rule); padding: 9px 12px; cursor: pointer;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-btn .count {
  background: var(--punch); color: #20070a; font-size: 9px;
  padding: 3px 6px; min-width: 18px; text-align: center;
}
.cart-btn[data-empty="true"] .count { display: none; }

/* mobile menu toggle — hidden on desktop, the only way to reach the nav on phones */
.menu-toggle { display: none; }

/* music toggle — lit gold while a track plays */
.music-btn { min-width: 212px; justify-content: center; }  /* label swaps (track name) must not shove the nav */
.music-btn[data-playing="true"] { border-color: var(--gold); color: var(--gold); }
.music-btn[data-playing="true"] span[aria-hidden] { animation: note-pulse 1s steps(2, end) infinite; }
@keyframes note-pulse { 50% { opacity: .35; } }

/* hero music row under the tower caption */
.plaza-music { font-family: var(--pixel); font-size: 8px; letter-spacing: .2em; color: var(--muted); text-align: center; }
.plaza-music a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--rule); padding-bottom: 2px; }
.plaza-music a:hover { color: var(--gold); }
.plaza-music a[data-active="true"] { color: var(--gold); border-bottom-color: var(--gold); }

/* the flashed picture — shown for one second when the person on the roof is clicked */
.guy-flash {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 6, 14, .84);
}
.guy-flash[hidden] { display: none; }
.guy-flash img {
  max-width: min(88vw, 1000px); max-height: 74vh; width: auto; height: auto;
  image-rendering: pixelated;
  border: 4px solid #14141f;
  box-shadow: 0 0 0 2px #000, 0 0 70px rgba(255, 209, 102, .16), 0 24px 60px rgba(0, 0, 0, .7);
}

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 19; overflow: hidden;
  border-bottom: 2px solid var(--rule);
  background: var(--panel); padding: 8px 0;
}
.marquee-track {
  display: inline-block; white-space: nowrap;
  font-family: var(--pixel); font-size: 10px; letter-spacing: .08em;
  color: var(--gold-dim);
  animation: scroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .hot { color: var(--punch); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 1;
  min-height: calc(100vh - 120px);
  display: grid; grid-template-rows: auto 1fr auto;
  align-items: center; justify-items: center;
  text-align: center;
  padding: 5vh 20px 3vh;
  overflow: hidden;
}
.hero-title {
  margin: 0 0 14px;
  font-family: var(--pixel);
  font-size: clamp(15px, 3.4vw, 30px);
  line-height: 1.9; letter-spacing: .06em;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 209, 102, .35), 0 3px 0 #4a3a10;
  animation: flicker 6s ease-in-out infinite;
}
@keyframes flicker {
  0%,100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .7; }
  94% { opacity: 1; } 96% { opacity: .85; } 97% { opacity: 1; }
}
.hero-sub { margin: 0 auto 6px; max-width: 40em; color: var(--snow); font-size: clamp(14px, 1.9vw, 18px); }
.hero-tag { margin: 0 0 22px; color: var(--muted); font-size: 13px; font-style: italic; }
.hero-tag b { color: var(--gold-dim); font-style: normal; }

/* ---------- the tower — live 8-bit canvas (plaza.js) ---------- */
.plaza-frame { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 10px auto 8px; }
.plaza-frame canvas {
  image-rendering: pixelated;
  border: 4px solid #14141f;
  box-shadow: 0 0 0 2px #000, 0 20px 60px rgba(0,0,0,.7), 0 0 34px rgba(120,160,255,.08);
  max-width: 100%; height: auto;
  cursor: crosshair;
  display: block;
}
.plaza-cap { font-family: var(--pixel); font-size: 9px; letter-spacing: .24em; color: var(--gold-dim); }
.plaza-cap.dim { color: var(--muted); letter-spacing: .14em; text-align: center; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.btn {
  display: inline-block; font-family: var(--pixel); font-size: 11px;
  padding: 14px 18px; cursor: pointer; text-align: center;
  border: 2px solid var(--gold); color: var(--gold); background: transparent;
  box-shadow: 4px 4px 0 rgba(0,0,0,.5);
  transition: transform .08s, background .15s, color .15s;
}
.btn:hover { background: var(--gold); color: #241a04; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(0,0,0,.5); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 rgba(0,0,0,.5); }
.btn-punch { border-color: var(--punch); color: var(--punch); }
.btn-punch:hover { background: var(--punch); color: #20070a; }
.btn-quiet { border-color: var(--rule); color: var(--muted); }
.btn-quiet:hover { background: var(--rule); color: var(--snow); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: 4px 4px 0 rgba(0,0,0,.5) !important; }
.btn[disabled]:hover { background: transparent; color: var(--gold); }
.btn-punch[disabled]:hover { background: transparent; color: var(--punch); }

/* visitor ticker + hint */
.tiny-hint { color: var(--muted); font-size: 12px; margin-top: 10px; }
.tiny-hint kbd {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  border: 1px solid var(--rule); padding: 1px 5px; background: var(--panel);
}

/* ---------- sections ---------- */
main { position: relative; z-index: 1; }
section { padding: 64px 20px; max-width: 1080px; margin: 0 auto; }
.section-title {
  font-family: var(--pixel); font-size: clamp(13px, 2vw, 18px);
  color: var(--gold); letter-spacing: .06em; margin: 0 0 8px;
  text-shadow: 0 2px 0 #4a3a10;
}
.section-sub { color: var(--muted); margin: 0 0 34px; font-size: 14px; max-width: 46em; }
.rule { border: 0; border-top: 2px solid var(--rule); margin: 0; }

/* evidence cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  border: 2px solid #2b3b61; background: var(--panel);
  padding: 20px; box-shadow: 5px 5px 0 rgba(0,0,0,.45);
}
.card.in-view { opacity: 1; transform: none; }
.card:hover { border-color: var(--gold-dim); }
.card .icon { width: 40px; height: 40px; margin-bottom: 12px; display: block; }
.card h3 { font-family: var(--pixel); font-size: 11px; color: var(--gold); margin: 0 0 10px; line-height: 1.7; }
.card p { margin: 0; color: var(--snow); font-size: 14px; }

/* product cards */
.grid-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product {
  border: 2px solid #2b3b61; background: var(--panel);
  padding: 16px; box-shadow: 5px 5px 0 rgba(0,0,0,.45);
  display: flex; flex-direction: column; gap: 10px;
}
.product.in-view { opacity: 1; transform: none; }
.product:hover { border-color: var(--gold-dim); }
.product .thumb {
  border: 2px solid var(--rule); background: var(--panel-2);
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.product .thumb svg { width: 72%; height: 72%; }
.product .thumb { aspect-ratio: 1 / 1; }
.product .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product h3 { font-family: var(--pixel); font-size: 10px; line-height: 1.7; color: var(--snow); margin: 0; }
.product .cat { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.product .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product .price { color: var(--gold); font-family: var(--pixel); font-size: 12px; }
.badge {
  display: inline-block; font-family: var(--pixel); font-size: 8px;
  padding: 4px 7px; border: 2px solid var(--rule); color: var(--muted);
}
.badge.soon { color: var(--punch); border-color: var(--punch-dark); }

/* construction banner */
.construction {
  border: 2px dashed var(--gold-dim); background: repeating-linear-gradient(
    45deg, #151b30 0 14px, #101526 14px 28px);
  padding: 18px; text-align: center;
  font-family: var(--pixel); font-size: 10px; color: var(--gold); line-height: 2;
}
.construction .blink { animation: blink 1.2s steps(2) infinite; }

/* manifesto */
.manifold { max-width: 720px; margin: 0 auto; }
.manifold p { font-size: 15px; color: var(--snow); }
.manifold h2 { font-family: var(--pixel); font-size: 13px; color: var(--gold); margin: 42px 0 12px; line-height: 1.8; }
.pull {
  border-left: 4px solid var(--gold); padding: 4px 0 4px 18px;
  color: var(--gold-dim); font-style: italic; margin: 26px 0;
}
.signed-wall { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.signed-wall span {
  border: 2px solid var(--rule); padding: 8px 10px;
  font-size: 12px; color: var(--muted); background: var(--panel);
}
.signed-wall span.you { color: var(--gold); border-color: var(--gold-dim); }

/* footer */
footer.site {
  position: relative; z-index: 1;
  border-top: 2px solid var(--rule);
  padding: 40px 20px 60px; text-align: center; color: var(--muted); font-size: 12px;
}
footer.site .row { margin: 4px 0; }
footer.site .links a { margin: 0 8px; font-family: var(--pixel); font-size: 9px; }
footer.site .legal { margin-top: 18px; font-size: 11px; opacity: .8; }
footer.site .star { color: #6f8f6f; }

/* ---------- cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(2, 4, 10, .62);
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(400px, 94vw);
  background: var(--panel);
  border-left: 3px solid var(--rule);
  box-shadow: -10px 0 0 rgba(0,0,0,.35);
  transform: translateX(103%); transition: transform .26s cubic-bezier(.2,.9,.25,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 2px solid var(--rule);
}
.cart-head h2 { font-family: var(--pixel); font-size: 11px; color: var(--gold); margin: 0; }
.cart-close {
  font-family: var(--pixel); font-size: 10px; color: var(--muted);
  background: none; border: 2px solid var(--rule); padding: 8px 10px; cursor: pointer;
}
.cart-close:hover { color: var(--punch); border-color: var(--punch-dark); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; color: var(--muted); padding: 34px 10px; }
.cart-empty .big { font-family: var(--pixel); font-size: 11px; color: var(--snow); line-height: 2; margin-bottom: 12px; }
.cart-item { display: flex; gap: 12px; border: 2px solid var(--rule); background: var(--panel-2); padding: 12px; margin-bottom: 12px; }
.cart-item .mini { width: 56px; height: 56px; flex: 0 0 auto; border: 2px solid var(--rule); display: grid; place-items: center; }
.cart-item .name { font-size: 13px; color: var(--snow); margin: 0 0 4px; }
.cart-item .meta { color: var(--muted); font-size: 12px; margin: 0; }
.cart-item .qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item .qty button {
  font-family: var(--pixel); font-size: 9px; width: 26px; height: 26px;
  background: var(--panel); color: var(--snow); border: 2px solid var(--rule); cursor: pointer;
}
.cart-item .qty button:hover { border-color: var(--gold); color: var(--gold); }
.cart-item .qty span { font-size: 13px; min-width: 20px; text-align: center; }
.cart-item .rm { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.cart-item .rm:hover { color: var(--punch); }
.cart-foot { border-top: 2px solid var(--rule); padding: 16px; }
.cart-sub { display: flex; justify-content: space-between; font-family: var(--pixel); font-size: 11px; color: var(--snow); margin-bottom: 12px; }
.cart-foot .btn { width: 100%; }
.cart-foot .note { color: var(--muted); font-size: 11px; margin: 10px 0 0; text-align: center; }

/* reveal-on-scroll handles JS-off gracefully */
.card, .product, .reveal { opacity: 1; transform: none; }
html.js .card, html.js .product, html.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
html.js .card.in-view, html.js .product.in-view, html.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .card, html.js .product, html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title, .win, .chopper, .chopper .rotor, .chopper .blink { animation: none; }
  .chopper-a { left: 10%; top: 16%; }
  .chopper-b { right: 10%; top: 34%; }
}

/* Tablet band (641px - 1023px).
   The desktop header needs about 890px of content: wordmark 367 + nav 155 +
   music button 212 + bag 82. Between the phone breakpoint (640px) and 1024px
   that did not fit, so the whole page scrolled sideways (measured scrollWidth
   890 at a 768px viewport). The fix is the same compact header the phone
   gets, minus the nav collapse: below 1024px the header shows the logo cube
   instead of the wordmark and an icon-only music button, which leaves the
   nav room to stay on one line. */
@media (max-width: 1023px) and (min-width: 641px) {
  .topbar { gap: 12px; padding: 12px 14px; }
  .brand span { display: none; }        /* cube only — the wordmark cannot fit */
  .brand .cube { width: 20px; height: 20px; }
  .music-btn { min-width: 0; padding: 8px 10px; }
  .music-btn [data-music-label] { display: none; }
  .topbar nav a { padding: 10px 9px; }
}

/* small screens */
@media (max-width: 640px) {
  .topbar { gap: 10px; padding: 12px 14px; }
  .brand { font-size: 9px; }
  .brand span { display: none; }   /* icon-only brand — the full bar can't fit both */
  .brand .cube { width: 18px; height: 18px; }
  .menu-toggle { display: inline-flex; }
  .topbar [data-music-toggle] { margin-left: auto; }   /* controls hug the right edge */
  /* the nav collapses into a dropdown panel under the bar */
  .topbar nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; margin: 0; gap: 0; flex-wrap: nowrap;
    background: var(--panel); border-bottom: 2px solid var(--rule);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .55);
  }
  .topbar.menu-open nav { display: flex; }
  .topbar nav a { padding: 14px 18px; border: 0; border-top: 1px solid var(--rule); }
  .topbar nav a[aria-current="page"] { border-color: var(--rule); background: rgba(255, 209, 102, .06); }
  .music-btn [data-music-label] { display: none; }   /* icon only on mobile */
  .music-btn { padding: 7px 9px; min-width: 0; }   /* icon-only: drop the desktop 212px min-width (was over-spilling the bar) */
  .topbar .cart-btn { padding: 8px 10px; }
  .plaza-frame canvas { border-width: 3px; }
  .plaza-cap { font-size: 8px; letter-spacing: .16em; }
}

/* ==========================================================================
   product pages — the pixel theatre, the buy panel, the dossier
   ========================================================================== */
.crumbs { font-family: var(--pixel); font-size: 8px; letter-spacing: .18em; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); border-bottom: 1px dotted var(--rule); }
.crumbs a:hover { color: var(--gold); }
.crumbs b { color: var(--gold); }
.product-page { padding-top: 14px; }        /* no wasted sky above the breadcrumbs */
.product-single { max-width: 640px; margin: 0 auto; }
.theatre { background: linear-gradient(180deg, #0a0f22, #070b18); border: 2px solid var(--rule); padding: 10px; }
/* image carousel — arrows on the image edges, dots beneath; no toggle pills */
.carousel { position: relative; }
.carousel .shot { margin: 0; }
.carousel .car-slide { display: none; margin: 0; }
.carousel .car-slide.active { display: block; animation: carfade .16s ease; }
@keyframes carfade { from { opacity: .4; } to { opacity: 1; } }
.carousel .car-slide img { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; aspect-ratio: 1 / 1; }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  font-family: var(--pixel); font-size: 18px; line-height: 1; color: var(--snow);
  background: rgba(7, 11, 24, .72); border: 2px solid var(--rule); width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.car-arrow:hover { color: #0c1224; background: var(--gold); border-color: var(--gold); }
.car-prev { left: 6px; }
.car-next { right: 6px; }
.car-dots { display: flex; gap: 7px; justify-content: center; margin: 8px 0 2px; }
.car-dot { width: 7px; height: 7px; background: var(--rule); cursor: pointer; }
.car-dot.active { background: var(--gold); }
@media (max-width: 640px) { .car-arrow { width: 30px; height: 30px; font-size: 15px; } .car-prev { left: 4px; } .car-next { right: 4px; } }
.theatre canvas { display: block; width: 100%; max-width: 400px; margin: 0 auto; image-rendering: pixelated; cursor: crosshair; transition: filter .25s; }
.theatre canvas:hover { filter: drop-shadow(0 0 18px rgba(255, 209, 102, .28)); }
.theatre-cap { font-family: var(--pixel); font-size: 7px; letter-spacing: .16em; color: var(--muted); text-align: center; margin: 10px 0 0; line-height: 1.9; }
.theatre-photo img { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.theatre-photo img:hover { filter: drop-shadow(0 0 18px rgba(255, 209, 102, .22)); }
.shot-toggle { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.shot-toggle button { font-family: var(--pixel); font-size: 8px; letter-spacing: .12em; background: transparent; color: var(--muted); border: 1px solid var(--rule); padding: 6px 10px; cursor: pointer; }
.shot-toggle button[aria-pressed="true"] { color: #0c1224; background: #ffd166; border-color: #ffd166; }
.product-page .cat { margin: 0 0 6px; }
.product-title { font-family: var(--pixel); font-size: clamp(16px, 3.2vw, 24px); color: var(--snow); margin: 0 0 12px; line-height: 1.5; }
.buy-panel .price-row { margin: 0 0 6px; }
.buy-blurb { color: var(--muted); font-size: 14px; margin: 12px 0 4px; }
.chip-group { margin-top: 12px; }
.chip-label { font-family: var(--pixel); font-size: 8px; letter-spacing: .22em; color: var(--gold-dim); margin: 0 0 9px; }
.chip { font-family: var(--pixel); font-size: 8px; letter-spacing: .1em; color: var(--snow); background: var(--panel);
  border: 2px solid var(--rule); padding: 10px 11px; margin: 0 7px 7px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; }
.chip { cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .chip.selected { border-color: var(--gold); color: var(--gold); background: rgba(255, 209, 102, .08); box-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.chip .dot { width: 12px; height: 12px; display: inline-block; border: 2px solid #000; }
.btn-buy { width: 100%; margin-top: 14px; }
.buy-note { color: var(--muted); font-size: 12px; margin-top: 12px; line-height: 1.7; }
.buy-note a { color: var(--muted); border-bottom: 1px dotted var(--rule); }
.product-desc { margin-top: 40px; }
.dossier { margin-top: 40px; }
.dossier-p { color: var(--muted); max-width: 720px; white-space: pre-line; }
.specs { margin-top: 18px; border: 2px solid var(--rule); background: var(--panel); padding: 14px 18px; font-family: var(--pixel); font-size: 9px; }
.spec-row { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(36, 42, 66, .6); }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--gold-dim); min-width: 96px; }
.spec-row i { flex: 1; border-bottom: 1px dotted var(--rule); }
.spec-row b { color: var(--snow); font-weight: 400; }
.related-band { margin-top: 46px; }
.related-grid { margin-top: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-card { display: block; background: var(--panel); border: 2px solid var(--rule); padding: 16px; }
.related-card:hover { border-color: var(--gold); }
.related-card .thumb { margin-bottom: 8px; }
.related-card h3 { font-family: var(--pixel); font-size: 10px; color: var(--snow); margin: 6px 0; line-height: 1.6; }
.related-price { color: var(--gold); font-family: var(--pixel); font-size: 10px; }
.prod-link { color: inherit; }
a.thumb { display: block; cursor: pointer; }
a.thumb:hover svg { filter: drop-shadow(0 0 10px rgba(255, 209, 102, .3)); }
.buy-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 11px 14px; background: rgba(7, 11, 24, .95);
  border-top: 2px solid var(--rule); backdrop-filter: blur(4px); }
.buy-sticky[hidden] { display: none; }
.buy-sticky div { display: flex; flex-direction: column; gap: 4px; font-family: var(--pixel); font-size: 8px; color: var(--snow); }
.buy-sticky div span { color: var(--gold); }
.buy-sticky .btn { padding: 10px 12px; flex: 0 0 auto; }
@media (max-width: 640px) { .theatre { padding: 12px; } }
@media (max-width: 640px) {
  .buy-sticky { padding-bottom: calc(11px + env(safe-area-inset-bottom)); }
  .buy-sticky div b { display: none; }   /* the name lives once — the H1 */
  .buy-sticky div span { font-family: var(--pixel); font-size: 12px; }
  .buy-sticky .btn { padding: 12px 16px; }
  footer.site { padding-bottom: 96px; }  /* keep the footer clear of the bar */
}
/* Arrival date — deliberately plain. It is a fact about the order, not a
   promotion, so it uses the dossier's type scale and rule lines rather than the
   gold "urgency" treatment: the evidence says sales-pressure styling on a
   low-involvement item reads as pressure and does nothing. */
.arrival { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 2px 0 14px; padding: 9px 11px; border: 1px solid var(--rule);
  border-left: 3px solid var(--muted); background: rgba(255,255,255,.02); }
.arrival[hidden] { display: none; }
.arrival-tag { font-family: var(--pixel); font-size: 9px; letter-spacing: .05em;
  color: var(--snow); }
.arrival-when { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.arrival.is-late { border-left-color: var(--gold); }
.arrival.is-late .arrival-tag { color: var(--gold); }
@media (max-width: 640px) {
  .arrival-tag { font-size: 8px; } .arrival-when { font-size: 11px; }
  /* Above-the-fold budget on a 390x844 phone. The buy button sat at 944px — past
     the fold — so an ad click landed on a picture with no way to buy. Reclaiming
     it comes from the hero (367px) and the subtitle, never from the price, the
     size chips or the arrival date, which are the conversion-critical rows. */
  #theatre { max-height: 232px; }
  #theatre img { max-height: 208px; object-fit: contain; }
  .product-subtitle { font-size: 12px; line-height: 1.35; }
  .buy-panel { gap: 10px; }
  .chip-group { margin-top: 4px; }
}

/* Size guide — deliberately a plain table. A garment spec is information, and
   the shopper's real question is "which of these is me", so the body chest range
   leads and the garment columns are secondary. */
.fit-guide { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.fit-guide[hidden] { display: none; }
.fit-head { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.fit-title { font-family: var(--pixel); font-size: 9px; letter-spacing: .05em; color: var(--snow); }
.fit-garment { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.fit-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.fit-table th, .fit-table td { padding: 7px 6px; text-align: left; border-bottom: 1px solid var(--rule); }
.fit-table thead th { font-family: var(--pixel); font-size: 7px; letter-spacing: .04em;
  color: var(--muted); text-transform: uppercase; line-height: 1.5; vertical-align: bottom; }
.fit-table tbody th { font-family: var(--pixel); font-size: 10px; color: var(--gold); font-weight: 400; }
.fit-table tbody td { color: var(--snow); }
.fit-table tbody tr.is-selected { background: rgba(255, 209, 102, .08); }
.fit-table tbody tr.is-selected th { color: var(--gold); }
.fit-note { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.fit-help { margin: 4px 0 0; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .fit-table { font-size: 11px; }
  .fit-table th, .fit-table td { padding: 6px 3px; }
  .fit-table thead th { font-size: 6.5px; }
  .fit-table tbody th { font-size: 9px; }
}


.flash-size { outline: 2px solid var(--gold); outline-offset: 6px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }

/* product reviews */
.star-line { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-family: var(--pixel); font-size: 9px; color: var(--muted); }
.star-line .stars, .review-card .stars { display: inline-flex; gap: 3px; }
.star-line b { color: var(--snow); font-weight: 400; }
.star-line a { color: var(--gold); border-bottom: 1px dotted var(--rule); text-decoration: none; }
.star { width: 12px; height: 12px; display: inline-block; }
.star rect { fill: #39415f; }
.star.on rect { fill: var(--gold); }
.reviews-band { margin-top: 40px; }
.reviews-empty { color: var(--muted); font-size: 14px; max-width: 46em; }
.reviews-empty a { color: var(--muted); border-bottom: 1px dotted var(--rule); }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.review-card { background: var(--panel); border: 2px solid var(--rule); padding: 14px 16px; }
.review-card .stars { margin-bottom: 9px; }
.review-card h3 { font-family: var(--pixel); font-size: 9px; color: var(--snow); margin: 0 0 8px; line-height: 1.6; }
.review-card p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.review-meta { font-family: var(--pixel); font-size: 7px; color: var(--gold-dim); letter-spacing: .1em; margin: 0 !important; }
@media (max-width: 640px) { .review-list { grid-template-columns: 1fr; } }

/* colour dropdown */
.select-wrap { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.select-wrap select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  font-family: var(--pixel); font-size: 9px; letter-spacing: .06em;
  color: var(--snow); background: var(--panel); border: 2px solid var(--rule);
  padding: 12px 42px 12px 13px; cursor: pointer; min-width: 220px;
}
.select-wrap select:hover, .select-wrap select:focus { border-color: var(--gold); color: var(--gold); outline: none; }
.select-wrap::after {
  content: ""; position: absolute; right: 15px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  transform: rotate(45deg);
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  pointer-events: none;
}

/* --- platform store hydration: sale state --------------------------------- */
.price-old{text-decoration:line-through;opacity:.55;margin-right:.35em}
.price-sale{color:var(--gold,#ffd166)}
.sale-badge{display:inline-block;margin-left:.5em;padding:2px 8px;border:1px solid currentColor;border-radius:3px;font-size:11px;letter-spacing:.14em;vertical-align:middle}
.sale-note{margin-top:.45em;font-size:12px;letter-spacing:.04em;opacity:.75}

/* ---- chunk 8: subtitle / tags / discountable badge ---- */
.product-subtitle {
  margin: 6px 0 14px;
  font-family: 'Press Start 2P', 'VT323', monospace;
  font-size: 11px;
  color: #ffd166;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 60ch;
}
.discountable-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 8px;
  background: #ff5d6a;
  color: #0c1224;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.p-tags {
  margin: 8px 0 0;
}
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tag-chips .tag-chip {
  display: inline-block;
  padding: 3px 9px;
  font-family: 'VT323', monospace;
  font-size: 13px;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 999px;
  color: #ffd166;
  letter-spacing: 0.04em;
}
#p-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
#p-breadcrumb a:hover {
  text-decoration: underline;
}

