@font-face { font-family: "Franklin Gothic Condensed"; src: url("/assets/fonts/FranklinGothicCondensed.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Anton"; src: url("/assets/fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #08090c;
  --bg2: #0b0d12;
  --surface: #111318;
  --surface2: #181b22;
  --border: #20242e;
  --border2: #2d3342;
  --t1: #f0f3f8;
  --t2: #b8c0d0;
  --t3: #6b7589;
  --red: #c9222f;
  --red-hot: #ff2238;
  --red-dark: #a81d28;
  --sky: #3ba2d4;
  --sky-hot: #3bb6ff;
  --navy: #0b4aa8;
  --coral: #ff5a5f;
  --ok: #2fd06a;
  --warn: #ffb020;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --label: "Franklin Gothic Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max-w: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky-hot); outline-offset: 2px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--red); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }

/* Subtle radar grid behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(59,162,212,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,162,212,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

/* ------------------------------------------------------------------ signal bars */
.sig {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 8px var(--gutter);
  font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  position: relative; overflow: hidden;
}
.sig-live { background: linear-gradient(90deg, #7d0e17, var(--red), #7d0e17); }
.sig-storm { background: repeating-linear-gradient(-45deg, #2a1d00 0 14px, #3a2800 14px 28px); color: #ffe39a; border-bottom: 1px solid #6b4a00; }
.sig-storm b { color: #fff; }
.sig .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.6s infinite; }
.sig-storm .dot { background: var(--warn); }
.sig a.sig-cta { background: rgba(0,0,0,.35); padding: 3px 12px; border: 1px solid rgba(255,255,255,.35); }
.sig a.sig-cta:hover { background: rgba(0,0,0,.6); }
.sig .code { font-family: var(--mono); background: #000; padding: 2px 8px; border: 1px dashed rgba(255,255,255,.5); cursor: copy; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
}
/* blur lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside the nav bar */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 9, 12, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav-in { max-width: var(--max-w); margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter); }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: 16px;
  padding: 8px 12px; color: var(--t2); position: relative; transition: color .15s;
}
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-links a.nav-kit { color: var(--sky-hot); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--t2); border-radius: 2px; transition: color .15s, background .15s; }
.icon-btn:hover { color: #fff; background: var(--surface2); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 40px; background: var(--red); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .15s; }
.cart-btn:hover { background: var(--red-hot); }
.cart-count { position: absolute; top: 3px; right: 6px; font: 700 10px/1 var(--mono); background: #fff; color: var(--red); padding: 2px 4px; border-radius: 6px; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.2) rotate(-4deg); } 60% { transform: scale(.95); } }
.nav-burger { display: none; }

@media (max-width: 1000px) {
  .nav-burger { display: grid; }
  .nav-links {
    position: fixed; top: var(--nav-top, var(--nav-h)); left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0;
    background: rgba(8,9,12,.98); padding: 12px var(--gutter); transform: translateX(-100%); transition: transform .3s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-logo img { height: 24px; }
}

/* ------------------------------------------------------------------ shared ui */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .07em; font-size: 18px;
  padding: 14px 26px; min-height: 50px; background: var(--red); color: #fff;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background .15s, transform .15s; position: relative; overflow: hidden;
}
.btn:hover { background: var(--red-hot); }
.btn:active { transform: translateY(1px); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--border2); clip-path: none; }
.btn.ghost:hover { background: var(--surface2); box-shadow: inset 0 0 0 1px var(--sky); }
.btn.sky { background: var(--navy); }
.btn.sky:hover { background: #1560d0; }
.btn.block { width: 100%; }
.btn:disabled { background: var(--surface2); color: var(--t2); cursor: not-allowed; transform: none; }
.btn:disabled::after { display: none; }
.btn[disabled] { background: var(--surface2); color: var(--t3); cursor: not-allowed; }
.btn[disabled]::after { display: none; }
.btn.busy { pointer-events: none; opacity: .75; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-hot); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h-display { font-family: var(--display); text-transform: uppercase; line-height: .95; letter-spacing: .01em; font-weight: 400; }
.sec { padding-top: clamp(40px, 6vw, 80px); } /* top only: side padding comes from .wrap */
.sec-last { padding-bottom: clamp(40px, 6vw, 72px); }
.col-links { display: flex; flex-wrap: wrap; gap: 8px; }
.col-links .chip { display: inline-flex; align-items: center; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: 1; margin-top: 6px; }
.sec-head .more { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; color: var(--t2); font-size: 16px; }
.sec-head .more:hover { color: #fff; }

.chip {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 15px;
  padding: 7px 14px; border: 1px solid var(--border2); color: var(--t2); background: var(--bg2); white-space: nowrap;
  transition: all .15s;
}
.chip:hover { color: #fff; border-color: var(--t3); }
.chip.on { background: var(--t1); color: var(--bg); border-color: var(--t1); }
.chip .n { font-family: var(--mono); font-size: 11px; margin-left: 6px; opacity: .6; }

/* HUD frame: corner brackets */
.hud { position: relative; }
.hud::before, .hud::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; transition: all .25s var(--ease); z-index: 2; }
.hud::before { top: -1px; left: -1px; border-top: 2px solid var(--sky); border-left: 2px solid var(--sky); }
.hud::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--sky); border-right: 2px solid var(--sky); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-in { max-width: var(--max-w); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(50px, 6.2vw, 92px); margin: 14px 0 18px; }
.hero-copy h1 .r { color: var(--red-hot); display: block; text-shadow: 0 0 40px rgba(255,34,56,.35); }
.hero-copy p { color: var(--t2); font-size: 17px; max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { border-left: 2px solid var(--red); padding-left: 12px; }
.hero-stats b { display: block; font-family: var(--mono); font-size: 22px; color: #fff; }
.hero-stats span { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; color: var(--t3); font-size: 14px; }

.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-left: auto; }
.radar canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-hud { position: absolute; font-family: var(--mono); font-size: 11px; color: var(--sky); letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; pointer-events: none; }
.radar-hud.tl { top: 0; left: 0; }
.radar-hud.tr { top: 0; right: 0; text-align: right; }
.radar-hud.bl { bottom: 0; left: 0; }
.radar-hud.br { bottom: 0; right: 0; text-align: right; }
.radar-hud b { color: #fff; font-weight: 700; }
.cell {
  position: absolute; transform: translate(-50%, -50%); z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: 14px; line-height: 1.05;
  padding: 5px 8px 5px 10px; background: rgba(8,9,12,.72); border-left: 2px solid var(--sky);
  color: var(--t2); white-space: nowrap; transition: color .3s, border-color .3s, background .3s, box-shadow .3s;
}
.cell small { font-family: var(--mono); font-size: 10px; color: var(--t3); letter-spacing: .04em; margin-top: 2px; }
.cell.ping { color: #fff; border-color: var(--red-hot); box-shadow: 0 0 22px rgba(255,34,56,.25); }
.cell:hover, .cell:focus-visible { color: #fff; background: rgba(8,9,12,.95); border-color: #fff; z-index: 6; }
.cell .peek {
  position: absolute; left: 0; top: calc(100% + 8px); width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--border2);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: all .2s var(--ease);
}
.cell .peek img { aspect-ratio: 1; object-fit: cover; background: var(--surface2); }
.cell .peek em { grid-column: 1 / -1; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--sky-hot); text-transform: uppercase; }
.cell:hover .peek, .cell:focus-visible .peek { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .radar { margin: 0 auto; max-width: 560px; }
  .cell { font-size: 12px; padding: 3px 6px 3px 8px; }
  .cell small, .cell .peek { display: none; }
}

/* ------------------------------------------------------------------ ticker */
.ticker { border-block: 1px solid var(--border); background: var(--bg2); overflow: hidden; white-space: nowrap; position: relative; }
.ticker-track { display: inline-flex; gap: 40px; padding: 11px 0; animation: tick 60s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--t2); display: inline-flex; gap: 10px; align-items: center; }
.ticker-item b { color: #fff; font-weight: 400; }
.ticker-item .tag { font-family: var(--mono); font-size: 11px; padding: 1px 6px; background: var(--red); color: #fff; }
.ticker-item .tag.sky { background: var(--navy); }
.ticker-item .tag.wx { background: #3a2800; color: #ffd36a; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ category tiles */
.sectors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sector {
  position: relative; background: var(--surface); border: 1px solid var(--border); overflow: hidden; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; isolation: isolate;
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,9,12,0) 35%, rgba(8,9,12,.92) 88%); }
.sector::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(59,182,255,.28), transparent); opacity: 0; }
.sector:hover::after { animation: scan 1.1s var(--ease); }
.sector:hover img { transform: scale(1.06); }
.sector h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1; }
.sector .meta { font-family: var(--mono); font-size: 11px; color: var(--sky-hot); text-transform: uppercase; margin-top: 6px; }
.sector .code { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: 10px; color: var(--t3); background: rgba(8,9,12,.7); padding: 2px 6px; }
@keyframes scan { 0% { top: -30%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ------------------------------------------------------------------ product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px 16px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 64px) / 5); } }
@media (max-width: 560px) { .rail { grid-auto-columns: 62%; } }
.rail-nav { display: flex; gap: 6px; }
.rail-nav button { width: 38px; height: 38px; border: 1px solid var(--border2); display: grid; place-items: center; color: var(--t2); }
.rail-nav button:hover { color: #fff; border-color: var(--t2); }

.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-media { position: relative; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media.has-alt img:not(.alt) { opacity: 0; }
.card:hover .card-media.dot-preview img:not(.alt) { opacity: 1; }
.card:hover .card-media.dot-preview img.alt { opacity: 0; }
.dots i[data-dot] { cursor: pointer; transition: transform .15s; }
.dots i[data-dot]:hover { transform: scale(1.3); }
.card:hover .card-media img { transform: scale(1.035); }
.card:hover .card-media { border-color: var(--border2); }
.card .hud::before, .card .hud::after { opacity: 0; }
.card:hover .hud::before, .card:hover .hud::after { opacity: 1; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; z-index: 2; }
.badge { font: 700 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; background: var(--red); color: #fff; }
.badge.sky { background: var(--navy); }
.badge.dark { background: rgba(8,9,12,.85); color: var(--t2); }
.badge.out { background: #fff; color: #08090c; }
.card.soldout .card-media img { filter: grayscale(.7); opacity: .6; }
.card.soldout:hover .card-media.has-alt img:not(.alt) { opacity: .6; }
.card.soldout .card-media img.alt { display: none; }
.quick {
  position: absolute; right: 8px; bottom: 8px; z-index: 2; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(8,9,12,.88); border: 1px solid var(--border2); color: #fff; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 14px;
  opacity: 0; transform: translateY(6px); transition: all .2s var(--ease);
}
.quick:hover { background: var(--red); border-color: var(--red); }
.card:hover .quick, .card:focus-within .quick { opacity: 1; transform: none; }
@media (hover: none) { .quick { opacity: 1; transform: none; padding: 0 10px; } .quick span { display: none; } }
.card-info { display: flex; flex-direction: column; gap: 3px; }
.card-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--t1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-name { color: #fff; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--mono); font-size: 14px; color: #fff; font-weight: 700; }
.price .from { font-family: var(--body); font-weight: 500; color: var(--t3); font-size: 12px; margin-right: 4px; }
.price s { color: var(--t3); font-weight: 500; margin-left: 6px; }
.dots { display: flex; gap: 3px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.dots em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--t3); margin-left: 2px; }

/* ------------------------------------------------------------------ bundle promo band */
.kit-band {
  position: relative; overflow: hidden; border: 1px solid var(--border2);
  background: radial-gradient(900px 400px at 85% 50%, rgba(11,74,168,.35), transparent 60%), linear-gradient(135deg, #0d1017, #0a0b10);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px);
}
.kit-band h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 5vw, 68px); line-height: .95; margin: 10px 0 14px; }
.kit-band p { color: var(--t2); max-width: 460px; margin-bottom: 24px; }
.kit-slots-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kit-slot-mini { aspect-ratio: 3/4; border: 1px dashed var(--border2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--t3); position: relative; overflow: hidden; background: rgba(8,9,12,.4); }
.kit-slot-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.kit-slot-mini span { position: relative; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; background: rgba(8,9,12,.8); padding: 2px 8px; color: #fff; margin-top: auto; margin-bottom: 8px; }
@media (max-width: 800px) { .kit-band { grid-template-columns: 1fr; } }

/* collection (theme) cards */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.theme { border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; transition: border-color .2s; }
.theme:hover { border-color: var(--border2); }
.theme-collage { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.theme-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.theme-collage img:first-child { grid-row: 1 / 3; }
.theme:hover .theme-collage img { transform: scale(1.04); }
.theme-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.theme-info h3 { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 21px; line-height: 1.1; }
.theme-info .mono { font-size: 11px; color: var(--t3); text-transform: uppercase; }
.theme-info .arrow { color: var(--sky-hot); transition: transform .2s; }
.theme:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------------ listing page */
.page-head { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(11,74,168,.12), transparent); }
.page-head-in { padding-top: clamp(28px, 4vw, 52px); padding-bottom: 24px; }
.crumbs { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--t3); letter-spacing: .06em; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.page-head h1 { font-size: clamp(42px, 6vw, 84px); margin: 10px 0 14px; }
.readouts { display: flex; gap: 10px; flex-wrap: wrap; }
.readout { border: 1px solid var(--border2); padding: 6px 12px; font-family: var(--mono); font-size: 12px; color: var(--t2); text-transform: uppercase; background: rgba(8,9,12,.5); }
.readout b { color: #fff; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 0; flex-wrap: wrap; position: sticky; top: var(--nav-h); z-index: 10; background: linear-gradient(var(--bg) 70%, transparent); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.select { background: var(--bg2); border: 1px solid var(--border2); padding: 8px 12px; font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: var(--t1); }
.empty { padding: 60px 0; text-align: center; color: var(--t3); font-family: var(--mono); text-transform: uppercase; }

/* ------------------------------------------------------------------ product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 28px 0 0; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; position: sticky; top: calc(var(--nav-h) + 16px); }
.thumbs { display: flex; flex-direction: column; gap: 8px; max-height: min(640px, 72vh); overflow-y: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { aspect-ratio: 1; border: 1px solid var(--border); background: var(--surface); overflow: hidden; flex: none; opacity: .6; transition: all .15s; }
.thumbs button:hover { opacity: 1; }
.thumbs button.on { border-color: var(--sky); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stage { position: relative; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--border); overflow: hidden; cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out, opacity .25s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.stage.zoom img { transform: scale(2); }
.stage .count { position: absolute; bottom: 10px; left: 10px; font-family: var(--mono); font-size: 11px; background: rgba(8,9,12,.8); padding: 3px 8px; color: var(--t2); }
.stage .nav-arrows { position: absolute; inset: auto 10px 10px auto; display: flex; gap: 6px; }
.stage .nav-arrows button { width: 36px; height: 36px; background: rgba(8,9,12,.8); border: 1px solid var(--border2); display: grid; place-items: center; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding-top: 16px; }
  .gallery { grid-template-columns: 1fr; position: static; }
  .thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .thumbs button { width: 64px; }
}
.buy h1 { font-size: clamp(34px, 4vw, 54px); margin: 10px 0 12px; }
.buy .price-lg { font-family: var(--mono); font-size: 26px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; }
.buy .price-lg s { font-size: 16px; color: var(--t3); font-weight: 500; }
.buy .sub { color: var(--t3); font-size: 13px; margin-top: 4px; }
.opt { margin-top: 24px; }
.opt-label { display: flex; justify-content: space-between; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--t2); margin-bottom: 10px; }
.opt-label b { color: #fff; font-weight: 400; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; padding: 3px; border: 1px solid var(--border2); transition: all .15s; position: relative; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatch:hover { border-color: var(--t2); }
.swatch.on { border-color: #fff; box-shadow: 0 0 0 2px var(--sky); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.sizes.wide { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.size { min-height: 44px; padding: 6px 8px; border: 1px solid var(--border2); background: var(--bg2); font-family: var(--label); text-transform: uppercase; letter-spacing: .04em; font-size: 16px; line-height: 1.1; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all .12s; }
.size small { font-family: var(--mono); font-size: 10px; color: var(--t3); letter-spacing: 0; margin-top: 2px; }
.size:hover { border-color: var(--t2); }
.size.on { background: var(--t1); color: var(--bg); border-color: var(--t1); }
.size.on small { color: #444; }
.size:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.opt.need .opt-label { color: var(--coral); }
.opt.need .sizes { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qty { display: inline-flex; border: 1px solid var(--border2); height: 50px; }
.qty button { width: 40px; font-size: 20px; color: var(--t2); }
.qty button:hover { color: #fff; background: var(--surface2); }
.qty input { width: 44px; text-align: center; background: none; border: 0; font-family: var(--mono); font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 10px; margin-top: 26px; }
.buy-row .btn { flex: 1; }
.bump {
  margin-top: 16px; display: grid; grid-template-columns: auto 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px;
  border: 1px dashed var(--border2); background: var(--bg2); cursor: pointer; transition: all .15s; text-align: left; width: 100%;
}
.bump:hover { border-color: var(--sky); }
.bump.on { border-style: solid; border-color: var(--sky); background: rgba(11,74,168,.15); }
.bump .box { width: 20px; height: 20px; border: 2px solid var(--t3); display: grid; place-items: center; }
.bump.on .box { background: var(--sky); border-color: var(--sky); }
.bump.on .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.bump img { width: 56px; height: 56px; object-fit: cover; background: var(--surface); }
.bump .t { font-size: 13px; line-height: 1.3; }
.bump .t b { display: block; font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-weight: 400; font-size: 13px; color: var(--sky-hot); }
.bump .p { font-family: var(--mono); font-weight: 700; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.assure div { border: 1px solid var(--border); padding: 10px; font-size: 12px; color: var(--t2); line-height: 1.35; }
.assure b { display: block; font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-weight: 400; color: #fff; font-size: 14px; margin-bottom: 2px; }
.desc { color: var(--t2); margin-top: 22px; font-size: 14.5px; }
.desc p + p { margin-top: 8px; }
.acc { border-top: 1px solid var(--border); margin-top: 22px; }
.acc details { border-bottom: 1px solid var(--border); }
.acc summary { list-style: none; cursor: pointer; padding: 14px 0; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 16px; display: flex; justify-content: space-between; }
.acc summary::after { content: "+"; font-family: var(--mono); color: var(--t3); }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 0 16px; color: var(--t2); font-size: 14px; }
.acc ul { padding-left: 18px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(8,9,12,.96); border-top: 1px solid var(--border2); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .n { flex: 1; min-width: 0; font-size: 13px; }
.sticky-buy .n b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }
@media (max-width: 900px) { .sticky-buy { display: flex; } }

/* ------------------------------------------------------------------ drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 80; opacity: 0; transition: opacity .25s; }
.scrim.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 90; background: var(--bg2); border-left: 1px solid var(--border2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; }
.drawer-head h2 .mono { font-size: 13px; color: var(--t3); vertical-align: middle; margin-left: 6px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 18px 18px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); }
.gauge { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.gauge svg { width: 120px; height: 72px; overflow: visible; }
.gauge .g-t { font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: 17px; line-height: 1.15; }
.gauge .g-t b { color: var(--sky-hot); font-weight: 400; }
.gauge .g-s { font-family: var(--mono); font-size: 11px; color: var(--t3); text-transform: uppercase; margin-top: 4px; }
.gauge.done .g-t b { color: var(--ok); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: start; }
.line img { width: 72px; height: 72px; object-fit: cover; background: var(--surface); }
.line .ln { font-weight: 600; font-size: 14px; line-height: 1.3; }
.line .lo { font-size: 12px; color: var(--t3); margin-top: 2px; }
.line .lq { display: inline-flex; border: 1px solid var(--border2); margin-top: 8px; height: 30px; }
.line .lq button { width: 28px; color: var(--t2); }
.line .lq button:hover { color: #fff; }
.line .lq span { width: 28px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.line .lp { font-family: var(--mono); font-weight: 700; font-size: 14px; text-align: right; }
.line .rm { display: block; font-size: 11px; color: var(--t3); margin-top: 10px; text-decoration: underline; margin-left: auto; }
.line .rm:hover { color: var(--coral); }
.line.busy { opacity: .5; pointer-events: none; }
.addons { margin-top: 18px; }
.addons h3 { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 16px; color: var(--t2); margin-bottom: 10px; display: flex; justify-content: space-between; }
.addons h3 span { font-family: var(--mono); font-size: 10px; color: var(--t3); align-self: center; }
.addon { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); margin-bottom: 6px; background: var(--surface); }
.addon img { width: 52px; height: 52px; object-fit: cover; }
.addon .an { font-size: 13px; font-weight: 600; line-height: 1.25; }
.addon .ap { font-family: var(--mono); font-size: 12px; color: var(--t2); }
.addon button { height: 34px; padding: 0 12px; border: 1px solid var(--sky); color: var(--sky-hot); font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.addon button:hover { background: var(--sky); color: #fff; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.totals span { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; color: var(--t2); }
.totals b { font-family: var(--mono); font-size: 22px; }
.fine { font-size: 12px; color: var(--t3); margin-bottom: 12px; }
.drawer-empty { text-align: center; padding: 48px 12px; }
.drawer-empty p { color: var(--t3); margin: 10px 0 22px; }
.drawer-empty .h-display { font-size: 34px; }

/* ------------------------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
.modal-card { width: min(880px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg2); border: 1px solid var(--border2); display: grid; grid-template-columns: 1fr 1fr; position: relative; animation: pop .25s var(--ease); }
.modal-card .qv-img { aspect-ratio: 1; background: var(--surface); }
.modal-card .qv-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-card .qv-body { padding: 24px; }
.modal-card .qv-body h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 8px 0 10px; }
.modal-card .x { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(8,9,12,.8); }
.modal-card .full { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--t2); text-decoration: underline; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 700px) { .modal { place-items: end center; padding: 0; } .modal-card { grid-template-columns: 1fr; max-height: 92vh; } .modal-card .qv-img { aspect-ratio: 16/10; } }

/* ------------------------------------------------------------------ palette */
.palette { position: fixed; inset: 0; z-index: 96; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); display: flex; justify-content: center; padding: 10vh 16px 16px; }
.palette-card { width: min(640px, 100%); background: var(--bg2); border: 1px solid var(--border2); align-self: flex-start; animation: pop .2s var(--ease); max-height: 76vh; display: flex; flex-direction: column; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--sky-hot); }
.palette-input input { flex: 1; background: none; border: 0; outline: none; font-size: 17px; color: #fff; min-width: 0; }
.palette-input input::-webkit-search-cancel-button { display: none; }
kbd { font-family: var(--mono); font-size: 11px; color: var(--t3); border: 1px solid var(--border2); padding: 2px 6px; }
.palette-results { overflow-y: auto; }
.pr { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 16px; border-left: 2px solid transparent; }
.pr img { width: 48px; height: 48px; object-fit: cover; background: var(--surface); }
.pr .n { font-size: 14px; font-weight: 600; }
.pr .c { font-family: var(--mono); font-size: 10px; color: var(--t3); text-transform: uppercase; }
.pr.on { background: var(--surface2); border-left-color: var(--red); }
.pr-head { font-family: var(--mono); font-size: 10px; color: var(--t3); text-transform: uppercase; padding: 12px 16px 6px; letter-spacing: .08em; }

/* ------------------------------------------------------------------ toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 99; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(440px, calc(100vw - 32px)); }
.toast { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 8px 10px; background: var(--surface2); border: 1px solid var(--border2); border-left: 3px solid var(--ok); box-shadow: 0 16px 40px rgba(0,0,0,.5); animation: toastIn .35s var(--ease); }
.toast.err { border-left-color: var(--coral); }
.toast img { width: 44px; height: 44px; object-fit: cover; }
.toast .tt { font-size: 13px; line-height: 1.3; }
.toast .tt b { display: block; font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--ok); font-size: 14px; }
.toast.err .tt b { color: var(--coral); }
.toast button { font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; color: var(--sky-hot); padding: 6px 8px; font-size: 14px; }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------------ bundle builder */
@keyframes lockin { from { opacity: 0; transform: scale(1.08); filter: brightness(2) saturate(0); } }
.pick { cursor: pointer; }
.pick.chosen .card-media { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.kit-bar { position: sticky; bottom: 0; z-index: 30; margin-top: 36px; background: rgba(11,13,18,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border2); }
.kit-bar-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.kit-bar .kt { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; }
.kit-bar .kt small { display: block; font-family: var(--mono); font-size: 11px; color: var(--t3); letter-spacing: 0; }
.kit-bar .ktot { font-family: var(--mono); font-size: 22px; font-weight: 700; margin-left: auto; }
.kit-bar .btn { min-height: 46px; }

/* ------------------------------------------------------------------ footer */
.foot { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--border); background: var(--bg2); }
.foot-in { max-width: var(--max-w); margin: 0 auto; padding: 44px var(--gutter); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.foot-brand p { color: var(--t3); font-size: 13.5px; max-width: 340px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col h4 { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .07em; font-size: 16px; margin-bottom: 4px; }
.foot-col a, .foot-note { color: var(--t3); font-size: 13.5px; }
.foot-col a:hover { color: #fff; }
.foot-base { max-width: var(--max-w); margin: 0 auto; padding: 14px var(--gutter) 24px; display: flex; justify-content: space-between; color: var(--t3); font-size: 12px; border-top: 1px solid var(--border); }
@media (max-width: 800px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ loading */
.skel { background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot-ring { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--border2); border-top-color: var(--sky-hot); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.view-in { animation: viewIn .4s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
}
.card-link { position: absolute; inset: 0; display: block; }
.quick.busy { opacity: .6; pointer-events: none; }

.toolbar-r { display: flex; gap: 8px; }
@media (max-width: 700px) {
  .toolbar-r { width: 100%; }
  .toolbar-r .select, .toolbar-r .btn { flex: 1; min-width: 0; }
  .kit-bar-in { gap: 10px; flex-wrap: wrap; }
  .kit-bar .kt { font-size: 15px; }
  .kit-bar .ktot { font-size: 18px; }
  .kit-bar .btn { min-height: 44px; }
  .kit-bar .btn.ghost { flex: 0 0 auto; padding: 8px 14px; font-size: 14px; }
  .kit-bar .btn:not(.ghost) { flex: 1; min-width: 0; }
  .radar-hud { display: none; }
}

/* hero radar (radar.js) */
.radar-hud { font-size: 12px; color: #9fb4c8; letter-spacing: .05em; }
.radar-hud b { color: #fff; }
a.radar-hud { pointer-events: auto; color: var(--t3); text-decoration: underline; text-underline-offset: 2px; font-size: 11px; }
a.radar-hud:hover { color: #fff; }
.radar-legend { position: absolute; left: 10px; bottom: 0; width: 170px; font-family: var(--mono); color: #9fb4c8; pointer-events: none; }
.radar-legend i { display: block; height: 7px; border-radius: 1px; }
.radar-legend span { position: relative; display: block; height: 14px; margin-top: 3px; }
.radar-legend em { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 10px; }
.radar-legend small { position: absolute; right: -30px; top: -3px; font-size: 10px; color: var(--t3); }
.storm-tag {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 1px;
  padding: 6px 11px 7px; background: rgba(8,9,12,.94); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--red);
  white-space: nowrap; transition: border-color .3s, background .2s, box-shadow .3s;
}
.storm-tag b { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; line-height: 1.05; color: #fff; }
.storm-tag > span { font-size: 12px; font-weight: 600; color: #c9d2e0; }
.storm-tag.ping { border-left-color: var(--sky-hot); box-shadow: 0 0 18px rgba(59,182,255,.25); }
.storm-tag:hover, .storm-tag:focus-visible { background: #10141b; border-color: rgba(255,255,255,.45); border-left-color: var(--red-hot); z-index: 6; }
.storm-tag .peek {
  position: absolute; left: 0; top: calc(100% + 6px); width: 210px; padding: 6px; background: var(--surface); border: 1px solid var(--border2);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: all .2s var(--ease);
}
.storm-tag .peek img { aspect-ratio: 1; object-fit: cover; background: var(--surface2); }
.storm-tag:hover .peek, .storm-tag:focus-visible .peek { opacity: 1; transform: none; }
@media (max-width: 600px) {
  .storm-tag { padding: 4px 8px; }
  .storm-tag b { font-size: 13px; }
  .storm-tag > span, .storm-tag .peek, .radar-legend { display: none; }
}

/* ------------------------------------------------------------------ product renders + 3D (product-media.json) */
.stage.has-3d { cursor: pointer; }
.stage .stage-3d {
  position: absolute; top: 10px; right: 10px; z-index: 2; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,9,12,.85); border: 1px solid var(--border2); color: #fff;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; transition: background .15s, border-color .15s;
}
.stage .stage-3d:hover { background: var(--navy); border-color: var(--sky); }
.stage .stage-3d svg { color: var(--sky-hot); }
.thumbs .thumb-3d { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--sky-hot); border-color: var(--sky); opacity: .85; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.thumbs .thumb-3d:hover { opacity: 1; background: rgba(11,74,168,.2); }

.lightbox { position: fixed; inset: 0; z-index: 97; background: #06070a; display: flex; flex-direction: column; animation: viewIn .25s var(--ease); }
.lb-head { display: flex; align-items: center; gap: 12px; padding: 8px var(--gutter); border-bottom: 1px solid var(--border); flex: none; }
.lb-tabs { display: flex; gap: 4px; }
.lb-tab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 16px; padding: 8px 14px; color: var(--t2); border: 1px solid transparent; transition: all .15s; }
.lb-tab .n { font-size: 11px; color: var(--t3); }
.lb-tab:hover { color: #fff; }
.lb-tab.on { color: #fff; border-color: var(--border2); background: var(--surface2); }
.lb-tab.on svg { color: var(--sky-hot); }
.lb-title { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-body { flex: 1; min-height: 0; position: relative; }
.lb-pane { position: absolute; inset: 0; display: flex; flex-direction: column; }
.lb-main { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; padding: 12px var(--gutter); }
.lb-main img { position: absolute; top: 12px; bottom: 12px; left: var(--gutter); right: var(--gutter); width: calc(100% - 2 * var(--gutter)); height: calc(100% - 24px); object-fit: contain; }
.lb-cap { position: absolute; left: var(--gutter); bottom: 12px; font-family: var(--mono); font-size: 11px; color: var(--t2); background: rgba(8,9,12,.85); padding: 4px 8px; max-width: calc(100% - 2 * var(--gutter)); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(8,9,12,.85); border: 1px solid var(--border2); display: grid; place-items: center; color: var(--t2); }
.lb-arrow:hover { color: #fff; border-color: var(--t2); }
.lb-arrow.l { left: var(--gutter); }
.lb-arrow.r { right: var(--gutter); }
.lb-strip { flex: none; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); overflow-x: auto; border-top: 1px solid var(--border); scrollbar-width: none; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { width: 68px; height: 68px; flex: none; border: 1px solid var(--border); background: var(--surface); opacity: .55; transition: all .15s; }
.lb-strip button:hover { opacity: 1; }
.lb-strip button.on { border-color: var(--sky); opacity: 1; }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; }
.lb-3d { flex: 1; min-height: 0; }
.lb-3d iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.lb-hint { flex: none; font-family: var(--mono); font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .04em; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
@media (max-width: 700px) {
  .lb-tab { font-size: 14px; padding: 7px 10px; }
  .lb-title { display: none; }
  .lb-arrow { display: none; }
  .lb-strip button { width: 56px; height: 56px; }
  .lb-hint { display: none; }
  .stage .stage-3d span { display: none; }
  .stage .stage-3d { padding: 0 9px; }
}

/* ------------------------------------------------------------------ inline 3D viewer (product-media.json viewer3d.script) */
/* The component ships its own scoped CSS (.ssv); these overrides restyle it with the shop's tokens. */
.mv3d { position: absolute; inset: 0; }
.mv3d.loading::after { content: "Loading 3D"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--t3); }
.mv3d.ssv { min-height: 0; --ink: var(--surface); --bar: rgba(8,9,12,.9); --line: var(--border); --text: var(--t1); --muted: var(--t2); --ice: var(--sky-hot); --pink: var(--red-hot); font-family: var(--body); }
.mv3d.ssv .stage[data-bg="night"] { background: radial-gradient(1100px 620px at 50% 108%, rgba(11,74,168,.55) 0%, rgba(11,74,168,0) 60%), linear-gradient(#0b0d12, #0b1120 70%, #0f1a33); }
.mv3d.ssv .bar { border-bottom-color: var(--border); }
.mv3d.ssv .seg { background: var(--bg); border-color: var(--border2); border-radius: 2px; }
.mv3d.ssv .seg button, .mv3d.ssv .tog { font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: 14px; border-radius: 2px; color: var(--t2); }
.mv3d.ssv .seg button:hover { background: var(--surface2); color: #fff; }
.mv3d.ssv .seg button[aria-pressed="true"] { background: var(--t1); color: var(--bg); box-shadow: none; }
.mv3d.ssv .seg button[aria-pressed="true"]:hover { background: #fff; color: var(--bg); }
.mv3d.ssv .tog { background: var(--bg); border-color: var(--border2); }
.mv3d.ssv .tog:hover { border-color: var(--t2); color: #fff; }
.mv3d.ssv .tog i { background: var(--border2); }
.mv3d.ssv .tog[aria-pressed="true"] i { background: var(--sky); }
.mv3d.ssv .lbl { font-family: var(--mono); font-size: 10px; }
.mv3d.ssv .info b { font-family: var(--display); font-style: normal; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.mv3d.ssv .info span { font-family: var(--body); font-weight: 500; }
.mv3d.ssv .loading { font-family: var(--mono); font-size: 12px; }

/* PDP: the model is the main image; renders live in the thumb strip */
.stage .stage-3d-host { position: absolute; inset: 0; z-index: 1; display: none; }
.stage.is-3d { cursor: default; }
.stage.is-3d .stage-3d-host { display: block; }
.stage.no-3d .stage-3d-host { display: none !important; }
.stage.is-3d > img, .stage.is-3d .count, .stage.is-3d .nav-arrows { display: none; }
.stage.is-3d .stage-3d { top: auto; bottom: 10px; z-index: 3; }
.thumbs .thumb-3d.on { opacity: 1; background: rgba(11,74,168,.35); border-color: var(--sky-hot); }

/* Home: featured product with its interactive model */
.feat-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feat-stage { position: relative; height: clamp(420px, 44vw, 580px); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.feat-stage .feat-3d { position: absolute; inset: 0; z-index: 1; }
.feat-stage a, .feat-stage img { display: block; width: 100%; height: 100%; }
.feat-stage img { object-fit: cover; }
.feat-tag { position: absolute; right: 10px; bottom: 10px; z-index: 3; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); background: rgba(8,9,12,.85); border: 1px solid var(--border2); padding: 4px 8px; pointer-events: none; }
.feat-buy h2 { font-size: clamp(40px, 5vw, 72px); margin-top: 10px; }
.feat-head { color: var(--t2); font-size: 17px; margin-top: 12px; max-width: 480px; }
.feat-buy .price-lg { font-family: var(--mono); font-size: 26px; font-weight: 700; margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.feat-buy .price-lg s { font-size: 16px; color: var(--t3); font-weight: 500; }
.feat-points { list-style: none; margin-top: 22px; display: grid; gap: 8px; color: var(--t2); font-size: 15px; }
.feat-points li { padding-left: 18px; position: relative; }
.feat-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--sky); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.feat-buy .buy-row .btn.ghost { flex: 1; }
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-stage { height: clamp(420px, 110vw, 540px); }
}
@media (max-width: 640px) {
  .feat-tag { display: none; } /* would sit on the model caption; the toolbar and auto-spin already say "3D" */
}
@media (max-width: 480px) {
  .feat-buy .buy-row { flex-direction: column; }
}

/* Home hero = featured product (copy + buy box left, interactive model right; phones: headline, model, buy box) */
.feat-hero .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; padding-top: clamp(20px, 2.5vw, 32px); padding-bottom: clamp(24px, 3vw, 40px); }
.feat-hero .feat-stage { height: clamp(420px, 40vw, 580px); }
.feat-hero h1 { font-size: clamp(44px, 5.4vw, 80px); margin-top: 12px; }
.feat-tagline { font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-size: clamp(20px, 2vw, 26px); color: var(--red-hot); margin-top: 8px; line-height: 1.1; }
.feat-blurb { color: var(--t2); font-size: 17px; max-width: 520px; margin-top: 16px; }
.feat-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--t2); }
.feat-all:hover { color: #fff; }
.feat-hero .feat-buy .price-lg { margin-top: 14px; }
.feat-hero .feat-buy .opt { margin-top: 16px; }
.feat-hero .feat-points { margin-top: 18px; }
.feat-hero .feat-buy .buy-row { margin-top: 22px; }
@media (max-width: 900px) {
  .feat-hero .hero-in { grid-template-columns: 1fr; }
  .feat-hero .feat-copy { display: contents; } /* headline, then the model, then the buy box */
  .feat-hero .feat-head { order: 0; }
  .feat-hero .feat-stage { order: 1; }
  .feat-hero .feat-buy { order: 2; }
  .feat-hero .feat-stage { height: clamp(420px, 110vw, 540px); }
  .feat-hero h1 { font-size: clamp(44px, 12vw, 72px); }
}

/* Marketing strip under the hero */
.promo-strip { border-bottom: 1px solid var(--border); background: var(--bg2); }
.promo-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.promo { padding: 18px 18px 18px 0; display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--red); padding-left: 14px; margin: 14px 0; }
.promo b { font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; color: #fff; font-weight: 400; }
.promo span { color: var(--t3); font-size: 14px; }
@media (max-width: 900px) { .promo-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promo-in { grid-template-columns: 1fr; } .promo { margin: 6px 0; padding-top: 8px; padding-bottom: 8px; } }

/* Bundle builder: numbered steps strip → one step at a time ("your pick" panel + product grid) → sticky summary bar */
.bb-lede { color: var(--t2); max-width: 640px; }
.bb-lede b { color: var(--sky-hot); }
.bb-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.bb-stepbtn { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 76px; border: 1px solid var(--border); background: var(--surface); color: var(--t2); transition: border-color .2s, box-shadow .2s, color .2s; }
.bb-stepbtn:hover { border-color: var(--border2); color: #fff; }
.bb-stepbtn.active { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky); color: #fff; }
.bb-stepbtn .num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--border2); font-family: var(--mono); font-weight: 700; font-size: 13px; color: #fff; }
.bb-stepbtn.done .num { background: var(--ok); border-color: var(--ok); color: #04130a; }
.bb-stepbtn img { flex: none; width: 44px; height: 44px; object-fit: cover; background: var(--surface2); }
.bb-stepbtn .txt { display: flex; flex-direction: column; min-width: 0; }
.bb-stepbtn .txt b { font-family: var(--label); text-transform: uppercase; letter-spacing: .05em; font-weight: 400; font-size: 16px; }
.bb-stepbtn .txt small { font-size: 12px; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-stepbtn .txt small.warn { color: var(--warn); }
.bb-step { margin-top: 30px; }
.bb-step-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.bb-step-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 44px); line-height: 1; margin-top: 6px; }
.bb-filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bb-theme { display: inline-flex; align-items: center; gap: 8px; font-family: var(--label); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--t3); }
.bb-note { color: var(--t3); font-size: 13px; margin: -6px 0 12px; }
.bb-note:empty { display: none; }
.bb-your { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 16px; margin-bottom: 22px; border: 1px solid var(--sky); background: rgba(11,74,168,.1); }
.bb-your img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface2); }
.bb-your-name { font-family: var(--label); text-transform: uppercase; letter-spacing: .04em; font-size: 22px; margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bb-your-name .price { font-family: var(--mono); font-size: 18px; }
.bb-your .opt { margin-top: 14px; }
.bb-your-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.kit-bar .btn.ghost { margin-left: 8px; }
@media (max-width: 900px) {
  .bb-steps { grid-template-columns: 1fr 1fr; }
  .bb-your { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px; }
}
@media (max-width: 520px) {
  .bb-stepbtn { min-height: 64px; padding: 10px; gap: 8px; }
  .bb-stepbtn img { display: none; }
  .bb-your { grid-template-columns: 1fr; }
  .bb-your img { max-width: 160px; }
  .bb-your-actions .btn { flex: 1; }
  .kit-bar .btn.ghost { margin-left: 0; }
}

/* Pre-order notice (product-media.json "preorder") */
.preorder { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 12px 8px 8px; border: 1px solid var(--border2); background: var(--bg2); font-size: 14px; color: var(--t1); }
.preorder b { font-family: var(--label); text-transform: uppercase; letter-spacing: .08em; font-weight: 400; font-size: 14px; background: var(--red); color: #fff; padding: 4px 8px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.buy .preorder { margin-top: 10px; }

/* Upgrade add-on toggle (signed version): reuses the order-bump look */
.bump.addon { margin-top: 18px; }
.bump.addon .t { font-size: 14px; }
.bump.addon .t b { font-size: 15px; color: #fff; }
.bump.addon.on .t b { color: var(--sky-hot); }
.bump.addon .p { font-size: 15px; white-space: nowrap; }
.bump.addon:disabled { opacity: .45; cursor: not-allowed; }
.feat-buy .bump.addon { margin-top: 14px; }
.preorder { display: none; }
.preorder { display: none; }
