/* ============================================================
   BIGFOOT TRUCK BEDS - design system v1 (10/18/26)
   Shares Bigfoot DNA (construction yellow + satin black, Barlow
   Condensed display) but reads as its own division: steel grey
   surfaces, plate texture, sharp corners, zero gradients-for-show.
   Theme: DARK, locked. Radius system: all-sharp (0) except 2px on
   inputs. One accent: --gold.
   ============================================================ */

:root {
  --ink: #0b0c0d;
  --ink-2: #121416;
  --ink-3: #1a1d20;
  --steel: #262a2e;
  --steel-2: #30353a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f2f3f4;
  --muted: #a3abb4;
  --dim: #6f7780;
  --gold: #EDC108;
  --gold-2: #F7D34A;
  --gold-ink: #1a1500;
  --ok: #7ed957;
  --warn: #ff5a3c;
  --max: 1360px;
  --disp: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); background: var(--ink); color: var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, video, canvas { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

h1, h2, h3, .disp {
  font-family: var(--disp); text-transform: uppercase; letter-spacing: 0.01em;
  line-height: 0.92; margin: 0; font-weight: 800; text-wrap: balance;
}
h1 { font-size: clamp(44px, 7vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.num { font-family: var(--disp); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- motion primitives ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(2) { transition-delay: 60ms; }
[data-stagger].in > *:nth-child(3) { transition-delay: 120ms; }
[data-stagger].in > *:nth-child(4) { transition-delay: 180ms; }
[data-stagger].in > *:nth-child(5) { transition-delay: 240ms; }
[data-stagger].in > *:nth-child(6) { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-video video { display: none; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.92), rgba(11, 12, 13, 0));
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.solid { background: rgba(11, 12, 13, 0.96); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav > a { font-weight: 600; font-size: 15px; color: #d7dde3; position: relative; padding: 6px 0; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right 0.25s var(--ease); }
.nav > a:hover::after, .nav > a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--disp); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.header-phone small { font-family: var(--body); font-weight: 500; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.mobile-toggle { display: none; background: none; border: 1px solid var(--line-2); width: 42px; height: 42px; color: var(--text); cursor: pointer; }
.mobile-toggle span, .mobile-toggle span::before, .mobile-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.mobile-toggle span::before { position: absolute; top: -6px; left: 0; }
.mobile-toggle span::after { position: absolute; top: 6px; left: 0; }
.mobile-nav { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--ink); z-index: 89; padding: 24px; flex-direction: column; gap: 6px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--disp); font-size: 34px; font-weight: 800; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) {
  .nav, .header-phone { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 17px;
  padding: 0 22px; height: 50px; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink-3); color: var(--text); border-color: var(--line); }
.btn-dark:hover { border-color: var(--line-2); }
.btn-sm { height: 40px; font-size: 15px; padding: 0 16px; }
.btn-lg { height: 58px; font-size: 19px; padding: 0 28px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; padding: calc(var(--nav-h) + 24px) 0 56px; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -2; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.hero-scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,12,13,0.92) 0%, rgba(11,12,13,0.72) 42%, rgba(11,12,13,0.25) 100%),
              linear-gradient(0deg, rgba(11,12,13,1) 0%, rgba(11,12,13,0) 38%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.hero h1 { max-width: 12ch; font-size: clamp(44px, 5.6vw, 86px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-side { justify-self: end; width: 100%; max-width: 420px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { justify-self: stretch; max-width: none; }
}

/* quick fit widget */
.fitbox { background: rgba(18, 20, 22, 0.88); backdrop-filter: blur(10px); border: 1px solid var(--line-2); padding: 22px; }
.fitbox h3 { font-size: 24px; margin-bottom: 4px; }
.fitbox .hint { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input, .field textarea {
  width: 100%; background: var(--ink); color: var(--text); border: 1px solid var(--line-2); border-radius: 2px;
  height: 46px; padding: 0 12px; font: inherit; font-size: 15px; outline: none; appearance: none; -webkit-appearance: none;
}
.field textarea { height: auto; min-height: 110px; padding: 12px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(237, 193, 8, 0.18); }
.field select:disabled { opacity: 0.4; }
.field .err { font-size: 12px; color: var(--warn); display: none; }
.field.invalid .err { display: block; }
.field.invalid select, .field.invalid input { border-color: var(--warn); }
.fit-result { margin-top: 10px; padding: 14px; background: var(--ink); border-left: 3px solid var(--gold); font-size: 14px; color: var(--muted); min-height: 54px; }
.fit-result strong { color: var(--text); font-family: var(--disp); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; display: block; }

/* ---------- sections ---------- */
section.block { padding: clamp(64px, 9vw, 128px) 0; }
section.block.tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head p { margin-top: 14px; }
.rule { height: 1px; background: var(--line); }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stats > div { padding: 28px 24px 26px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats .num { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--gold); }
.stats .num small { font-size: 0.45em; color: var(--muted); margin-left: 4px; font-weight: 700; }
.stats p { font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* lineup rail (horizontal scroll-snap) */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 420px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.bed-card { background: var(--ink-2); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: border-color 0.25s, transform 0.3s var(--ease); position: relative; }
.bed-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.bed-card .thumb { aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 100%, #2a2f34 0%, var(--ink-2) 70%); position: relative; overflow: hidden; }
.bed-card .thumb img, .bed-card .thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bed-card .thumb .sk { position: absolute; inset: 18% 10%; border: 1px dashed var(--line-2); opacity: 0.6; }
.bed-card .body { padding: 20px 20px 22px; display: grid; gap: 10px; align-content: start; }
.bed-card .for { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.bed-card h3 { font-size: 30px; }
.bed-card p { color: var(--muted); font-size: 15px; }
.bed-card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 4px; }
.bed-card .meta b { color: var(--text); font-weight: 600; }
.bed-card .go { position: absolute; inset: 0; }
.rail-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.rail-nav button { width: 44px; height: 44px; background: var(--ink-2); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font-size: 20px; }
.rail-nav button:hover { border-color: var(--gold); color: var(--gold); }

/* shop bento (videos) */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 12px; }
.bento > figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.bento video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transform: scale(1.02); }
.bento figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(11,12,13,0.92), rgba(11,12,13,0)); font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 17px; }
.bento figcaption small { display: block; font-family: var(--body); font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 13px; }
.b-a { grid-column: span 7; grid-row: span 2; }
.b-b { grid-column: span 5; }
.b-c { grid-column: span 5; }
.b-d { grid-column: span 4; }
.b-e { grid-column: span 4; }
.b-f { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-auto-rows: 180px; } .b-a, .b-b, .b-c, .b-d, .b-e, .b-f { grid-column: span 12; } .b-a { grid-row: span 1; } }

/* standard-features: two-column checklist with big numbers */
.std { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.std li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.std ul { margin: 0; padding: 0; }
.std .k { font-family: var(--disp); font-weight: 800; font-size: 30px; color: var(--gold); line-height: 1; }
.std b { display: block; font-weight: 700; margin-bottom: 2px; }
.std span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .std { grid-template-columns: 1fr; } }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.steps > div { background: var(--ink-2); padding: 26px 22px 28px; }
.steps .k { font-family: var(--disp); font-weight: 800; font-size: 52px; color: var(--steel-2); line-height: 1; }
.steps h3 { margin: 10px 0 8px; font-size: 24px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* compare table */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; vertical-align: top; }
.compare thead th { font-family: var(--disp); text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em; border-bottom: 2px solid var(--gold); }
.compare tbody tr:nth-child(odd) td { background: rgba(255,255,255,0.025); }
.compare td:first-child { color: var(--muted); font-weight: 600; width: 22%; }
.compare .yes { color: var(--gold); font-weight: 700; }
.compare-wrap { overflow-x: auto; }

/* FAQ accordion */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; color: var(--gold); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid var(--line-2); }
.cta-band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: saturate(0.7); }
.cta-band .inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: clamp(56px, 7vw, 96px) 0; }
@media (max-width: 760px) { .cta-band .inner { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { font-family: var(--disp); text-transform: uppercase; color: var(--text); font-size: 18px; margin: 0 0 12px; letter-spacing: 0.04em; }
footer a { display: block; padding: 4px 0; }
footer a:hover { color: var(--gold); }
footer .fine { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* demo ribbon */
.demo-note { background: var(--ink-3); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 10px 16px; text-align: center; }
.demo-note b { color: var(--gold); }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: calc(var(--nav-h) + 56px) 0 36px; }
.page-head .lead { margin-top: 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--gold); }

/* filter pills */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { height: 40px; padding: 0 16px; background: var(--ink-2); border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.grid-beds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

/* ---------- bed detail ---------- */
.detail-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.viewer { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(110% 80% at 50% 100%, #2b3036 0%, var(--ink-2) 72%); border: 1px solid var(--line); overflow: hidden; }
.viewer canvas { width: 100% !important; height: 100% !important; position: absolute; inset: 0; z-index: 0; }
.viewer .vtag, .viewer .vhelp, .viewer .nogl { z-index: 2; }
.viewer .vtag { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: rgba(11,12,13,0.7); padding: 6px 10px; border: 1px solid var(--line); }
.viewer .vhelp { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.viewer .vhelp button { background: rgba(11,12,13,0.75); border: 1px solid var(--line-2); color: var(--text); height: 32px; padding: 0 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.viewer .vhelp button:hover { border-color: var(--gold); color: var(--gold); }
.viewer .nogl { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 32px; color: var(--muted); }
.viewer.nogl .nogl { display: grid; }
.spec-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec-tiles > div { background: var(--ink-2); border: 1px solid var(--line); padding: 16px 16px 14px; }
.spec-tiles .v { font-family: var(--disp); font-weight: 800; font-size: 30px; line-height: 1; color: var(--text); }
.spec-tiles .v small { font-size: 0.5em; color: var(--muted); margin-left: 3px; }
.spec-tiles .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; font-weight: 700; }
.fits { margin-top: 18px; }
.fits h3 { font-size: 20px; margin-bottom: 8px; }
.fits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fits li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fits li span:last-child { color: var(--muted); }
@media (max-width: 960px) { .detail-hero { grid-template-columns: 1fr; } }

.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feature-cols ul { margin: 0; padding: 0; list-style: none; }
.feature-cols li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; }
.feature-cols li::before { content: ""; width: 10px; height: 10px; background: var(--gold); margin-top: 7px; }
.feature-cols li.opt::before { background: transparent; border: 2px solid var(--gold); width: 6px; height: 6px; margin-top: 6px; }
@media (max-width: 760px) { .feature-cols { grid-template-columns: 1fr; } }

/* ---------- configurator ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0; min-height: calc(100dvh - var(--nav-h)); padding-top: var(--nav-h); }
.cfg-stage { position: sticky; top: var(--nav-h); height: calc(100dvh - var(--nav-h)); background: radial-gradient(90% 70% at 50% 100%, #2b3036 0%, var(--ink) 75%); border-right: 1px solid var(--line); min-height: 56vh; overflow: hidden; }
.cfg-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 0; }
.cfg-stage .stage-top, .cfg-stage .stage-bottom, .cfg-stage .nogl { z-index: 2; }
.cfg-stage .stage-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; pointer-events: none; }
.cfg-stage .stage-top > * { pointer-events: auto; }
.cfg-stage .title { background: rgba(11,12,13,0.7); padding: 8px 12px; border: 1px solid var(--line); max-width: 420px; }
.cfg-stage .title h2 { font-size: clamp(22px, 2.4vw, 32px); }
.cfg-stage .title p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cfg-stage .stage-bottom { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; pointer-events: none; }
.cfg-stage .stage-bottom > * { pointer-events: auto; }
.cfg-stage .views { display: flex; gap: 6px; }
.cfg-stage .views button, .cfg-stage .colors button { background: rgba(11,12,13,0.78); border: 1px solid var(--line-2); color: var(--text); height: 36px; padding: 0 12px; font-size: 12px; font-weight: 700; cursor: pointer; letter-spacing: 0.04em; text-transform: uppercase; }
.cfg-stage .views button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.cfg-stage .colors { display: flex; gap: 6px; }
.cfg-stage .colors button { width: 36px; padding: 0; position: relative; }
.cfg-stage .colors button i { position: absolute; inset: 7px; display: block; border: 1px solid rgba(255,255,255,0.25); }
.cfg-stage .colors button[aria-pressed="true"] { border-color: var(--gold); }
.cfg-stage .dims { font-family: var(--disp); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: rgba(11,12,13,0.78); border: 1px solid var(--line); padding: 8px 12px; }
.cfg-stage .dims b { color: var(--text); }
.cfg-stage .nogl { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 32px; color: var(--muted); }
.cfg-stage.nogl .nogl { display: grid; }

.cfg-panel { background: var(--ink-2); display: grid; grid-template-rows: auto 1fr auto; max-height: calc(100dvh - var(--nav-h)); position: sticky; top: var(--nav-h); }
.cfg-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.cfg-steps button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 6px 13px; cursor: pointer; display: grid; gap: 2px; justify-items: center; color: var(--muted); }
.cfg-steps button b { font-family: var(--disp); font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; }
.cfg-steps button small { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.cfg-steps button[aria-current="step"] { color: var(--text); border-bottom-color: var(--gold); }
.cfg-steps button.done small { color: var(--gold); }
.cfg-steps button:disabled { opacity: 0.4; cursor: not-allowed; }
.cfg-body { overflow-y: auto; padding: 22px 22px 28px; scrollbar-width: thin; scrollbar-color: var(--steel-2) transparent; }
.cfg-body h3 { font-size: 26px; margin-bottom: 4px; }
.cfg-body .hint { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cfg-foot { border-top: 1px solid var(--line); padding: 14px 22px; display: flex; gap: 10px; justify-content: space-between; align-items: center; background: var(--ink-2); }
.cfg-foot .sum { font-size: 13px; color: var(--muted); }
.cfg-foot .sum b { display: block; color: var(--text); font-family: var(--disp); text-transform: uppercase; font-size: 18px; letter-spacing: 0.02em; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.choice-grid.one { grid-template-columns: 1fr; }
.choice { text-align: left; background: var(--ink); border: 1px solid var(--line-2); padding: 14px 14px 12px; cursor: pointer; display: grid; gap: 4px; transition: border-color 0.2s, background 0.2s; position: relative; }
.choice:hover { border-color: var(--muted); }
.choice[aria-pressed="true"] { border-color: var(--gold); background: rgba(237, 193, 8, 0.06); }
.choice[aria-pressed="true"]::after { content: ""; position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; background: var(--gold); }
.choice b { font-family: var(--disp); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 700; padding-right: 18px; }
.choice span { font-size: 13px; color: var(--muted); }
.choice.unfit { opacity: 0.35; }
.choice:disabled { cursor: not-allowed; }
.group-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; display: flex; justify-content: space-between; }
.group-title:first-of-type { margin-top: 0; }
.fit-callout { background: var(--ink); border-left: 3px solid var(--gold); padding: 12px 14px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.fit-callout b { color: var(--text); }
.opt-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.opt-row b { font-weight: 700; display: block; }
.opt-row span { font-size: 13px; color: var(--muted); }
.switch { width: 46px; height: 26px; background: var(--steel); border: 1px solid var(--line-2); position: relative; cursor: pointer; flex: none; transition: background 0.2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--muted); transition: transform 0.2s var(--ease), background 0.2s; }
.switch[aria-checked="true"] { background: var(--gold); border-color: var(--gold); }
.switch[aria-checked="true"]::after { transform: translateX(20px); background: var(--gold-ink); }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line-2); }
.seg button { background: none; border: 0; color: var(--muted); height: 34px; padding: 0 12px; font-size: 13px; font-weight: 700; cursor: pointer; border-right: 1px solid var(--line-2); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.summary-list { margin: 0; padding: 0; list-style: none; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-list li span:first-child { color: var(--muted); }
.summary-list li span:last-child { text-align: right; font-weight: 600; }
.share { margin-top: 16px; display: flex; gap: 8px; }
.share input { flex: 1; background: var(--ink); border: 1px solid var(--line-2); color: var(--muted); height: 40px; padding: 0 10px; font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--gold); color: var(--gold-ink); font-weight: 700; padding: 12px 18px; opacity: 0; transition: opacity 0.25s, transform 0.25s var(--ease); z-index: 100; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1060px) {
  .cfg { grid-template-columns: 1fr; }
  .cfg-stage { position: relative; top: auto; height: 52vh; min-height: 380px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cfg-panel { position: static; max-height: none; }
  .cfg-body { max-height: none; }
}

/* ---------- accessories ---------- */
.acc-groups { display: grid; gap: 48px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.acc { background: var(--ink-2); border: 1px solid var(--line); padding: 18px; display: grid; gap: 8px; align-content: start; }
.acc .ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--line); }
.acc .ico svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: square; }
.acc b { font-family: var(--disp); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; font-weight: 700; }
.acc p { font-size: 14px; color: var(--muted); }
.acc .fits-on { font-size: 12px; color: var(--dim); margin-top: 4px; }

/* utilities */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.media { background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 10; }
.media video { width: 100%; height: 100%; object-fit: cover; }
