/* Headglytch — public site.
   Tokens mirror the bench dashboard's dark theme so the two feel like one
   product. Background is true black; the chrome logo and product shots sit
   better on it than on bench's #161618. */

:root{
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;
  --bg:#000;
  --card:#111113;
  --card-2:#0a0a0b;
  --ink:#f5f5f7;
  --ink-2:#a1a1a6;
  --ink-3:#8a8a8f;
  --hair:rgba(255,255,255,.10);
  --hair-2:rgba(255,255,255,.18);
  --accent:#8a6dff;
  --accent-press:#7a5aff;
  --accent-ring:rgba(138,109,255,.34);
  --r-card:12px;
  --r-ctl:8px;
  --wrap:1120px;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
  min-height:100dvh;
}

main{flex:1}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4{letter-spacing:-.022em}

/* ---- nav ----------------------------------------------------------- */

.nav{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(0,0,0,.78);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--hair);
}

.nav-inner{
  max-width:var(--wrap);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  gap:32px;
}

.nav-mark img{width:96px}

.nav-links{display:flex;gap:26px;font-size:14px;font-weight:500;margin-right:auto}
.nav-links a{color:var(--ink-2);text-decoration:none;transition:color .15s ease}
.nav-links a:hover{color:var(--ink)}

.nav-cta{
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  padding:8px 16px;
  border:1px solid var(--hair-2);
  border-radius:var(--r-ctl);
  transition:background .15s ease;
}
.nav-cta:hover{background:rgba(255,255,255,.07)}

/* ---- comparison table ---------------------------------------------- */

.chooser{
  padding:56px 0 72px;
  border-top:1px solid var(--hair);
}

.table-scroll{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
  overflow-x:auto;
}

.compare{
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  min-width:620px;
}

.compare th,.compare td{
  text-align:left;
  padding:14px 16px;
  border-bottom:1px solid var(--hair);
  white-space:nowrap;
}

.compare th{
  font-size:13px;
  font-weight:600;
  color:var(--ink-3);
  text-transform:none;
}

.compare td:first-child{font-weight:600}
.compare td{color:var(--ink-2)}

/* ---- product ------------------------------------------------------- */

.crumbs{
  max-width:var(--wrap);
  margin:0 auto;
  padding:24px 24px 0;
  font-size:13px;
  color:var(--ink-3);
}
.crumbs a{text-decoration:none;color:var(--ink-2)}
.crumbs a:hover{color:var(--ink)}

.product{
  max-width:var(--wrap);
  margin:0 auto;
  padding:28px 24px 80px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:start;
}

.gallery{display:flex;flex-direction:column;gap:12px}
.gallery img{border-radius:var(--r-card);background:var(--card-2)}

.detail h1{
  margin:0;
  font-size:clamp(28px,3.6vw,42px);
  line-height:1.08;
  font-weight:700;
}

.price-lead{
  margin-top:14px;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:18px;
  color:var(--ink-2);
}

.copy{
  margin-top:26px;
  font-size:16px;
  line-height:1.65;
  color:var(--ink-2);
  max-width:52ch;
}
.copy ul{padding-left:20px}
.copy li{margin:6px 0}
.copy strong{color:var(--ink)}

.variants{margin-top:32px;display:flex;flex-wrap:wrap;gap:12px}

.assurances{
  margin:34px 0 0;
  padding:22px 0 0;
  list-style:none;
  border-top:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-3);
}
.assurances li{padding:7px 0}

.cross-sell{border-top:1px solid var(--hair);padding:56px 0 0}

/* ---- generic pages ------------------------------------------------- */

.page{
  max-width:760px;
  margin:0 auto;
  padding:72px 24px 96px;
}

.page h1{
  margin:0 0 32px;
  font-size:clamp(30px,4vw,44px);
  font-weight:700;
}

.prose{font-size:16px;line-height:1.7;color:var(--ink-2)}
.prose h2{margin:44px 0 14px;font-size:22px;font-weight:600;color:var(--ink)}
.prose h3{margin:30px 0 8px;font-size:16px;font-weight:600;color:var(--ink)}
.prose p{margin:0 0 16px}
.prose ul{padding-left:20px}
.prose li{margin:8px 0}
.prose a{color:var(--ink)}

.policy-note{
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  color:var(--ink-3);
}

.support-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;
  margin:28px 0 8px;
}

.support-card{
  background:var(--card);
  border:1px solid var(--hair);
  border-radius:var(--r-card);
  padding:24px;
}
.support-card h3{margin:0 0 8px;font-size:16px;color:var(--ink)}
.support-card p{margin:0 0 18px;font-size:14px;color:var(--ink-3)}

/* ---- buttons ------------------------------------------------------- */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 24px;
  border-radius:var(--r-ctl);
  background:var(--accent);
  color:#fff;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  transition:background .15s ease;
}
.btn:hover{background:var(--accent-press)}
.btn:focus-visible{outline:none;box-shadow:0 0 0 4px var(--accent-ring)}

.btn-quiet{
  background:transparent;
  color:var(--ink);
  border:1px solid var(--hair-2);
}
.btn-quiet:hover{background:rgba(255,255,255,.06)}

/* ---- small screens ------------------------------------------------- */

@media (max-width:900px){
  .product{grid-template-columns:1fr;gap:32px}
  .foot-top{grid-template-columns:1fr;gap:36px}
}

@media (max-width:640px){
  .nav-inner{gap:16px;padding:12px 20px}
  .nav-links{gap:18px;font-size:13px}
  .nav-mark img{width:80px}
  .hero-inner{padding:64px 24px 56px}
  .pillars{padding:48px 24px;gap:24px}
}

/* ---- compatibility and setup blocks -------------------------------- */

.compat-note{
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid var(--hair);
  max-width:56ch;
  font-size:14px;
  line-height:1.6;
  color:var(--ink-3);
}

.compat-badge{
  margin-top:22px;
  padding:14px 16px;
  border:1px solid var(--hair-2);
  border-radius:var(--r-ctl);
  font-size:14px;
  line-height:1.55;
  color:var(--ink-2);
  max-width:52ch;
}
.compat-badge strong{color:var(--ink)}

.setup-note{
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid var(--hair);
}
.setup-note h3{margin:0 0 8px;font-size:15px;font-weight:600}
.setup-note p{margin:0 0 14px;font-size:14px;line-height:1.6;color:var(--ink-3);max-width:48ch}
.setup-note a{
  display:inline-block;
  margin-right:18px;
  font-size:14px;
  color:var(--ink-2);
}
.setup-note a:hover{color:var(--ink)}

/* ---- pre-order notice ---------------------------------------------- */

.preorder-badge{
  margin-top:22px;
  padding:16px 18px;
  border:1px solid var(--accent-ring);
  background:var(--accent-tint,rgba(138,109,255,.10));
  border-radius:var(--r-ctl);
  font-size:14px;
  line-height:1.6;
  color:var(--ink-2);
  max-width:52ch;
}
.preorder-badge strong{display:block;color:var(--ink);margin-bottom:6px}
.preorder-badge a{color:var(--ink);text-decoration:underline}

.preorder-strip{
  background:var(--card);
  border-bottom:1px solid var(--hair);
  text-align:center;
  padding:11px 24px;
  font-size:13.5px;
  color:var(--ink-2);
}
.preorder-strip strong{color:var(--ink)}
.preorder-strip a{color:var(--ink-2)}

/* ==== HOMEPAGE — closer ============================================= */

.closer{
  max-width:var(--wrap);
  margin:0 auto;
  padding:72px 24px 96px;
  border-top:1px solid var(--hair);
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.closer p{
  margin:0;
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--ink-3);
}

.closer-link{
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid var(--hair-2);
  padding-bottom:3px;
}
.closer-link:hover{border-color:var(--ink)}

/* ==== pre-order strip =============================================== */

.preorder-strip{
  text-align:center;
  padding:9px 24px;
  border-bottom:1px solid var(--hair);
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:.05em;
  color:var(--ink-3);
}
.preorder-strip a{color:var(--ink-2)}

/* ==== footer ======================================================== */

footer{border-top:1px solid var(--hair);margin-top:auto}

.foot-inner{
  max-width:var(--wrap);
  margin:0 auto;
  padding:44px 24px 52px;
  display:flex;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
}

.foot-mark img{width:88px;opacity:.9}

.foot-nav,.foot-legal{display:flex;gap:22px;flex-wrap:wrap}
.foot-nav a,.foot-legal a{
  font-size:13px;
  color:var(--ink-3);
  text-decoration:none;
}
.foot-nav a:hover,.foot-legal a:hover{color:var(--ink)}
.foot-legal a{font-size:12px}

.foot-copy{
  margin-left:auto;
  font-family:var(--mono);
  font-size:11.5px;
  color:var(--ink-3);
}

/* ==== comparison table ============================================== */

.chooser{padding:0 0 96px}

.table-scroll{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
  overflow-x:auto;
}

.compare{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:620px;
}

.compare th,.compare td{
  text-align:left;
  padding:13px 16px 13px 0;
  border-bottom:1px solid var(--hair);
  white-space:nowrap;
}

.compare th{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  font-weight:400;
  color:var(--ink-3);
}

.compare td{color:var(--ink-3);font-family:var(--mono);font-size:13px}
.compare td:first-child{font-family:var(--sans);font-size:14px;font-weight:600;color:var(--ink)}

/* ==== small screens ================================================= */

@media (max-width:760px){
  .rack{grid-template-columns:1fr}
  .rack .slab:first-child .slab-img{aspect-ratio:4/3}
  .stage{min-height:70vh}
  .stage-inner{padding:72px 0 0}
  .stage-specs{gap:0 24px;font-size:11px}
  .foot-copy{margin-left:0;width:100%}
}


/* ==== HOMEPAGE — stage ============================================== */

.stage{
  position:relative;
  min-height:86vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:0 24px;
  overflow:hidden;
}

/* Ultra slideshow sits behind the headline. A left-weighted scrim keeps the
   type readable while the controller stays visible on the right. */
.stage-bg{
  position:absolute;
  inset:0;
  z-index:0;
}

.stage-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:60% 50%;
  opacity:0;
  animation:stagecycle 21s infinite;
}

.stage-bg img:nth-child(1){animation-delay:0s}
.stage-bg img:nth-child(2){animation-delay:7s}
.stage-bg img:nth-child(3){animation-delay:14s}

@keyframes stagecycle{
  0%    {opacity:0}
  4%    {opacity:1}
  29%   {opacity:1}
  33%   {opacity:0}
  100%  {opacity:0}
}

.stage-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.86) 34%, rgba(0,0,0,.30) 68%, rgba(0,0,0,.55) 100%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 38%);
}

.stage-inner,
.stage-specs{
  position:relative;
  z-index:1;
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
}

.stage-inner{padding:140px 0 0}

.stage h1{
  margin:0;
  font-size:clamp(52px,10vw,132px);
  line-height:.92;
  letter-spacing:-.045em;
  font-weight:700;
}

.stage-sub{
  margin:26px 0 0;
  font-size:clamp(15px,1.6vw,18px);
  color:var(--ink-2);
}

.stage-tag{
  display:inline-flex;
  align-items:baseline;
  gap:14px;
  margin-top:32px;
  padding-bottom:5px;
  border-bottom:1px solid var(--hair-2);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:border-color .2s ease;
}
.stage-tag:hover{border-color:var(--ink)}

.stage-tag-price{
  font-family:var(--mono);
  font-weight:400;
  font-variant-numeric:tabular-nums;
  font-size:13px;
  color:var(--ink-3);
}

.stage-specs{
  margin-top:auto;
  padding:26px 0;
  display:flex;
  flex-wrap:wrap;
  gap:0 40px;
  border-top:1px solid var(--hair);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.04em;
  color:var(--ink-3);
}

@media (prefers-reduced-motion:reduce){
  .stage-bg img{animation:none}
  .stage-bg img:nth-child(1){opacity:1}
}

/* ==== HOMEPAGE — product rack ======================================= */

.rack{
  max-width:var(--wrap);
  margin:0 auto;
  padding:72px 24px 96px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px 20px;
}

.slab{
  display:block;
  text-decoration:none;
}

.slab-img{
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--card-2);
}

.slab-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.2,0,.2,1);
}
.slab:hover .slab-img img{transform:scale(1.04)}

.slab-meta{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  padding:14px 2px 0;
}

.slab-name{font-size:15px;font-weight:600;letter-spacing:-.01em}

.slab-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:13px;
  color:var(--ink-3);
}

.empty{
  grid-column:1/-1;
  font-family:var(--mono);
  font-size:13px;
  color:var(--ink-3);
  padding:60px 0;
}

@media (max-width:900px){
  .rack{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:560px){
  .rack{grid-template-columns:1fr}
  .stage{min-height:78vh}
  .stage-inner{padding:96px 0 0}
  .stage-bg img{object-position:64% 50%}
}

/* ==== nav dropdown ================================================== */

.nav-drop{position:relative}

.nav-drop-btn{
  appearance:none;
  background:none;
  border:0;
  padding:0;
  font:inherit;
  font-size:14px;
  font-weight:500;
  color:var(--ink-2);
  cursor:pointer;
  transition:color .15s ease;
}
.nav-drop-btn:hover,
.nav-drop.open .nav-drop-btn{color:var(--ink)}

.nav-drop-menu{
  position:absolute;
  top:calc(100% + 14px);
  left:-16px;
  min-width:268px;
  padding:8px;
  background:var(--card);
  border:1px solid var(--hair);
  border-radius:var(--r-card);
  box-shadow:0 0 0 .5px rgba(255,255,255,.06), 0 16px 40px rgba(0,0,0,.6);
  opacity:0;
  visibility:hidden;
  transform:translateY(-4px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu{
  opacity:1;
  visibility:visible;
  transform:none;
}

.nav-drop-menu a{
  display:block;
  padding:11px 12px;
  border-radius:var(--r-ctl);
  text-decoration:none;
  transition:background .15s ease;
}
.nav-drop-menu a:hover{background:rgba(255,255,255,.06)}

.ndm-name{
  display:block;
  font-size:14px;
  font-weight:600;
  color:var(--ink);
}

.ndm-sub{
  display:block;
  margin-top:3px;
  font-size:12.5px;
  color:var(--ink-3);
}

.ndm-note{
  margin:6px 12px 6px;
  padding-top:10px;
  border-top:1px solid var(--hair);
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.03em;
  color:var(--ink-3);
}

@media (max-width:640px){
  .nav-drop-menu{left:auto;right:-16px;min-width:240px}
}

/* ==== nav cart ====================================================== */

.nav-right{display:flex;align-items:center;gap:10px}

.nav-cart{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  padding:8px 16px;
  border:1px solid var(--hair-2);
  border-radius:var(--r-ctl);
  transition:background .15s ease;
}
.nav-cart:hover{background:rgba(255,255,255,.07)}

.nav-cart-n{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:9px;
  background:var(--accent);
  color:#fff;
  font-family:var(--mono);
  font-size:11px;
  font-variant-numeric:tabular-nums;
}

/* ==== buy box ======================================================= */

.buybox{margin-top:32px}

.buybox-label{
  display:block;
  margin-bottom:8px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  color:var(--ink-3);
}

.buybox-select{
  width:100%;
  max-width:360px;
  appearance:none;
  background:var(--input-bg,#1f1f22);
  color:var(--ink);
  border:1px solid var(--hair-2);
  border-radius:var(--r-ctl);
  padding:12px 14px;
  font:inherit;
  font-size:15px;
  margin-bottom:18px;
  cursor:pointer;
}
.buybox-select:focus{outline:none;box-shadow:0 0 0 4px var(--accent-ring)}

.buybox-actions{display:flex;gap:12px;flex-wrap:wrap}
.buybox-actions .btn{border:0;cursor:pointer;font-family:inherit}
.buybox-actions .btn-quiet{border:1px solid var(--hair-2)}

/* ==== cart page ===================================================== */

.cart-page{
  max-width:900px;
  margin:0 auto;
  padding:64px 24px 96px;
}

.cart-page h1{
  margin:0 0 36px;
  font-size:clamp(30px,4vw,44px);
  font-weight:700;
}

.cart-lines{border-top:1px solid var(--hair)}

.cart-line{
  display:grid;
  grid-template-columns:88px 1fr auto auto;
  grid-template-areas:
    "thumb info qty total"
    "thumb remove remove remove";
  align-items:center;
  gap:6px 20px;
  padding:22px 0;
  border-bottom:1px solid var(--hair);
}

.cart-thumb{
  grid-area:thumb;
  display:block;
  width:88px;
  aspect-ratio:4/3;
  background:var(--card-2);
  overflow:hidden;
  border-radius:6px;
}
.cart-thumb img{width:100%;height:100%;object-fit:cover}

.cart-info{grid-area:info;display:flex;flex-direction:column;gap:4px;min-width:0}

.cart-name{font-size:16px;font-weight:600;text-decoration:none}
.cart-name:hover{text-decoration:underline}

.cart-variant{font-size:13px;color:var(--ink-2)}

.cart-unit{
  font-family:var(--mono);
  font-size:12px;
  color:var(--ink-3);
}

.cart-qty{
  grid-area:qty;
  display:flex;
  align-items:center;
  gap:2px;
  border:1px solid var(--hair-2);
  border-radius:var(--r-ctl);
  overflow:hidden;
}

.cart-qty button{
  appearance:none;
  background:none;
  border:0;
  color:var(--ink-2);
  width:32px;
  height:34px;
  font-size:16px;
  cursor:pointer;
  transition:background .15s ease;
}
.cart-qty button:hover{background:rgba(255,255,255,.07);color:var(--ink)}

.cart-qty span{
  min-width:26px;
  text-align:center;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:14px;
}

.cart-line-total{
  grid-area:total;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:15px;
  text-align:right;
  min-width:84px;
}

.cart-remove{grid-area:remove}
.cart-remove button{
  appearance:none;
  background:none;
  border:0;
  padding:0;
  font:inherit;
  font-size:12.5px;
  color:var(--ink-3);
  cursor:pointer;
  text-decoration:underline;
}
.cart-remove button:hover{color:var(--danger,#ff6961)}

.cart-foot{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  flex-wrap:wrap;
  padding-top:28px;
}

.cart-totals{flex:1;min-width:260px}

.cart-total-row{
  display:flex;
  justify-content:space-between;
  gap:24px;
  font-size:17px;
  font-weight:600;
  padding-bottom:14px;
}
.cart-total-row span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
}

.cart-note{
  margin:0 0 8px;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
}
.cart-note a{color:var(--ink-2)}

.cart-checkout{min-width:180px}

.cart-empty{padding:40px 0}
.cart-empty p{margin:0 0 24px;font-size:16px;color:var(--ink-3)}

@media (max-width:620px){
  .cart-line{
    grid-template-columns:72px 1fr auto;
    grid-template-areas:
      "thumb info  total"
      "thumb qty   qty"
      "thumb remove remove";
    gap:10px 14px;
  }
  .cart-thumb{width:72px}
  .cart-qty{justify-self:start}
  .cart-foot{flex-direction:column}
  .cart-checkout{width:100%}
}

/* ==== responsive hardening ========================================== */

html{ -webkit-text-size-adjust:100% }

/* Nothing should ever cause a sideways scrollbar. */
html,body{overflow-x:clip;max-width:100%}

/* Long words and URLs (support page, policy pages) can't blow out layout. */
.prose,.copy,.cart-info,.page{overflow-wrap:anywhere}

img,video,table{max-width:100%}

/* Respect notches and rounded corners on phones. */
.nav-inner,.stage,.rack,.table-scroll,.foot-inner,
.page,.product,.cart-page,.section-head,.closer{
  padding-left:max(24px, env(safe-area-inset-left));
  padding-right:max(24px, env(safe-area-inset-right));
}

/* Touch targets: anything tappable gets a usable hit area. */
@media (hover:none){
  .nav-links a,.nav-drop-btn,.foot-nav a,.foot-legal a{
    padding-top:6px;
    padding-bottom:6px;
  }
  .cart-qty button{width:40px;height:40px}
}

/* ==== mobile navigation ============================================= */

.nav-toggle{
  display:none;
  appearance:none;
  background:none;
  border:0;
  width:40px;
  height:40px;
  margin-left:-8px;
  padding:11px 8px;
  cursor:pointer;
  flex-direction:column;
  justify-content:space-between;
}

.nav-toggle span{
  display:block;
  height:1.5px;
  width:100%;
  background:var(--ink);
  transition:transform .22s ease, opacity .22s ease;
}

body.nav-open .nav-toggle span:first-child{transform:translateY(8px) rotate(45deg)}
body.nav-open .nav-toggle span:last-child{transform:translateY(-8px) rotate(-45deg)}

.nav-links-discord{display:none}

@media (max-width:860px){
  .nav-toggle{display:flex}

  .nav-inner{gap:14px}
  .nav-mark{margin-right:auto}
  .nav-mark img{width:80px}

  /* Discord button collapses into the menu; Cart stays visible. */
  .nav-right .nav-cta{display:none}
  .nav-links-discord{display:block}

  .nav-links{
    position:fixed;
    top:57px;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 20px 24px;
    background:rgba(0,0,0,.97);
    backdrop-filter:saturate(180%) blur(20px);
    border-bottom:1px solid var(--hair);
    max-height:calc(100dvh - 57px);
    overflow-y:auto;
    transform:translateY(-8px);
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
    z-index:30;
  }

  body.nav-open .nav-links{
    opacity:1;
    visibility:visible;
    transform:none;
  }

  .nav-links > a{
    padding:15px 0;
    font-size:17px;
    color:var(--ink);
    border-bottom:1px solid var(--hair);
  }

  .nav-drop{border-bottom:1px solid var(--hair)}
  .nav-drop-btn{
    width:100%;
    text-align:left;
    padding:15px 0;
    font-size:17px;
    color:var(--ink);
  }

  /* Dropdown becomes an inline block rather than a floating menu. */
  .nav-drop-menu{
    position:static;
    min-width:0;
    opacity:1;
    visibility:visible;
    transform:none;
    background:none;
    border:0;
    box-shadow:none;
    padding:0 0 12px;
    display:none;
  }
  .nav-drop.open .nav-drop-menu{display:block}
  .nav-drop:hover .nav-drop-menu{display:none}
  .nav-drop.open:hover .nav-drop-menu{display:block}
  .nav-drop-menu a{padding:12px;background:rgba(255,255,255,.04);margin-bottom:6px}
}

/* ==== short and landscape screens =================================== */

@media (max-height:620px) and (min-width:861px){
  .stage{min-height:auto;padding-bottom:0}
  .stage-inner{padding-top:96px}
}

@media (max-width:560px){
  .stage-inner{padding-top:80px}
  .stage h1{font-size:clamp(40px,13vw,60px)}
  .stage-specs{gap:0 18px;font-size:10.5px;padding:20px 0}
  .stage-sub{font-size:15px;margin-top:18px}
}

/* Tiny screens: the spec strip would otherwise wrap into four lines. */
@media (max-width:380px){
  .stage-specs span:nth-child(n+3){display:none}
  .nav-cart{padding:8px 12px}
}

/* ==== table scroll affordance ======================================= */

.table-scroll{
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}

@media (max-width:760px){
  .table-scroll{
    /* Fades the right edge so it's obvious the table scrolls. */
    -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent 100%);
    mask-image:linear-gradient(90deg,#000 88%,transparent 100%);
  }
}

/* ==== product page on small screens ================================= */

@media (max-width:560px){
  .product{padding-top:12px}
  .buybox-select{max-width:100%}
  .buybox-actions{flex-direction:column;align-items:stretch}
  .buybox-actions .btn{width:100%}
  .gallery{gap:8px}
}

/* ==== print ========================================================= */

@media print{
  .nav,.preorder-strip,footer,.stage-bg{display:none}
  body{background:#fff;color:#000}
}

/* ==== product page: other builds ==================================== */

.cross-sell{
  border-top:1px solid var(--hair);
  padding-top:56px;
}

.cross-sell-head{
  max-width:var(--wrap);
  margin:0 auto 28px;
  padding:0 24px;
  font-size:clamp(20px,2.6vw,26px);
  font-weight:700;
}

.cross-rack{padding-top:0}

/* The gallery on a product page shouldn't run edge to edge either. */
.gallery img{
  border-radius:var(--r-card);
  background:var(--card-2);
}

.shot-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  font-family:var(--mono);
  font-size:12px;
  color:var(--ink-3);
}

/* Other builds on product pages */
.cross-sell{border-top:1px solid var(--hair);padding-top:56px}
.cross-sell .section-head{max-width:var(--wrap);margin:0 auto 24px;padding:0 24px}
.cross-sell .section-head h2{margin:0;font-size:clamp(20px,2.6vw,26px);font-weight:700}
.cross-sell .lineup{max-width:var(--wrap);margin:0 auto;padding:0 24px 80px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px 20px}
.cross-sell .tier{display:block;text-decoration:none}
.cross-sell .shot{aspect-ratio:4/3;overflow:hidden;background:var(--card-2);display:flex;align-items:center;justify-content:center}
.cross-sell .shot img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,0,.2,1)}
.cross-sell .tier:hover .shot img{transform:scale(1.04)}
.cross-sell .tier-foot{display:flex;align-items:baseline;justify-content:space-between;padding:14px 2px 0}
.cross-sell .tier-name{font-size:15px;font-weight:600}
.cross-sell .price{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:13px;color:var(--ink-3)}
@media(max-width:900px){.cross-sell .lineup{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cross-sell .lineup{grid-template-columns:1fr}}

/* Accessories page */
.acc-head{max-width:var(--wrap);margin:0 auto;padding:72px 24px 8px}
.acc-head h1{margin:0;font-size:clamp(30px,4vw,44px);font-weight:700}
.acc-rack{padding-top:32px}

/* ==== build configurator ============================================ */

.config{
  margin:30px 0 4px;
  padding-top:26px;
  border-top:1px solid var(--hair);
}

.config-head h2{
  margin:0;
  font-size:18px;
  font-weight:600;
}

.config-head p{
  margin:6px 0 22px;
  font-size:14px;
  color:var(--ink-3);
  max-width:44ch;
}

.config-region{
  border:0;
  padding:0;
  margin:0 0 20px;
}

.config-region legend{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:0;
  margin-bottom:10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
}

.config-current{
  font-family:var(--sans);
  font-size:13px;
  letter-spacing:0;
  text-transform:none;
  color:var(--ink);
}

.swatches{display:flex;flex-wrap:wrap;gap:10px}

.swatch{cursor:pointer;position:relative;display:block}

.swatch input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}

.swatch-chip{
  display:block;
  width:34px;
  height:34px;
  border-radius:8px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
  transition:box-shadow .15s ease, transform .15s ease;
}

.swatch:hover .swatch-chip{transform:translateY(-1px)}

.swatch input:checked + .swatch-chip{
  box-shadow:0 0 0 2px #000, 0 0 0 4px var(--accent);
}

.swatch input:focus-visible + .swatch-chip{
  box-shadow:0 0 0 2px #000, 0 0 0 4px var(--accent-ring);
}

/* The text label is for screen readers and the title tooltip covers sighted
   users; the chosen name shows beside the region legend. */
.swatch-label{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

@media (hover:none){
  .swatch-chip{width:40px;height:40px}
}

/* Configuration shown on cart lines */
.cart-config{
  margin-top:4px;
  font-size:12px;
  line-height:1.5;
  color:var(--ink-3);
}

/* ==== hero actions + configurator CTA =============================== */

.stage-actions{
  margin-top:32px;
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.stage-actions .stage-tag{margin-top:0}

.configure-cta{
  border-top:1px solid var(--hair);
}

.configure-inner{
  max-width:var(--wrap);
  margin:0 auto;
  padding:72px 24px 80px;
}

.configure-inner h2{
  margin:0;
  font-size:clamp(26px,4vw,42px);
  letter-spacing:-.028em;
  font-weight:700;
}

.configure-inner p{
  margin:16px 0 0;
  max-width:46ch;
  font-size:16px;
  line-height:1.6;
  color:var(--ink-2);
}

.configure-inner .btn{margin-top:28px}

/* Build list in the Controllers dropdown */
.nav-drop-builds{min-width:230px}

.nav-drop-builds a{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  padding:9px 12px;
}

.nav-drop-builds .ndm-sub{
  margin-top:0;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
}

.nav-drop-builds .ndm-note a{
  padding:0;
  font-size:11px;
  color:var(--ink-3);
  text-decoration:underline;
}
.nav-drop-builds .ndm-note a:hover{background:none;color:var(--ink)}

/* ==== configurator page ============================================= */

.cfg-head{
  max-width:var(--wrap);
  margin:0 auto;
  padding:72px 24px 12px;
}

.cfg-head h1{
  margin:0;
  font-size:clamp(32px,5vw,54px);
  letter-spacing:-.03em;
  line-height:1.04;
  font-weight:700;
}

.cfg-head p{
  margin:18px 0 0;
  max-width:48ch;
  font-size:16px;
  line-height:1.6;
  color:var(--ink-2);
}

.cfg{
  max-width:var(--wrap);
  margin:0 auto;
  padding:40px 24px 140px;
}

.cfg-step{
  padding:36px 0;
  border-top:1px solid var(--hair);
}

.cfg-step-head{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin-bottom:26px;
}

.cfg-num{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.08em;
  color:var(--ink-3);
}

.cfg-step-head h2{
  margin:0;
  font-size:20px;
  font-weight:600;
}

/* --- step one: pick a build --- */

.cfg-builds{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:12px;
}

.cfg-build{cursor:pointer;display:block}
.cfg-build input{position:absolute;opacity:0;width:0;height:0}

.cfg-build-inner{
  display:block;
  border:1px solid var(--hair);
  border-radius:var(--r-card);
  padding:10px 10px 14px;
  transition:border-color .18s ease, background .18s ease;
}
.cfg-build:hover .cfg-build-inner{border-color:var(--hair-2)}

.cfg-build input:checked + .cfg-build-inner{
  border-color:var(--accent);
  background:rgba(138,109,255,.08);
}
.cfg-build input:focus-visible + .cfg-build-inner{
  box-shadow:0 0 0 4px var(--accent-ring);
}

.cfg-build-shot{
  display:block;
  aspect-ratio:4/3;
  background:var(--card-2);
  border-radius:8px;
  overflow:hidden;
  margin-bottom:10px;
}
.cfg-build-shot img{width:100%;height:100%;object-fit:cover}

.cfg-build-name{display:block;font-size:14px;font-weight:600}

.cfg-build-price{
  display:block;
  margin-top:2px;
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
}

.cfg-hint{
  margin:18px 0 0;
  font-size:13px;
  color:var(--ink-3);
}
.cfg-hint a{color:var(--ink-2)}

/* --- step two: colours --- */

.cfg-regions{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:26px 32px;
}

.cfg-regions .config-region{margin:0}

/* --- sticky summary bar --- */

.cfg-bar{
  position:sticky;
  bottom:0;
  z-index:15;
  margin:0 -24px -140px;
  padding:16px 24px calc(16px + env(safe-area-inset-bottom));
  background:rgba(0,0,0,.86);
  backdrop-filter:saturate(180%) blur(20px);
  border-top:1px solid var(--hair);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.cfg-bar-info{display:flex;align-items:baseline;gap:12px}

.cfg-bar-name{font-size:16px;font-weight:600}

.cfg-bar-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:15px;
  color:var(--ink-2);
}

.cfg-bar-actions{display:flex;gap:10px;flex-wrap:wrap}
.cfg-bar-actions .btn{border:0;cursor:pointer;font-family:inherit}
.cfg-bar-actions .btn-quiet{border:1px solid var(--hair-2)}

@media (max-width:560px){
  .cfg-bar{flex-direction:column;align-items:stretch;gap:12px}
  .cfg-bar-actions .btn{flex:1}
  .cfg-builds{grid-template-columns:repeat(2,1fr)}
}

/* ==== configurator: choices, counts, placement ====================== */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:10px}

.choice{cursor:pointer;display:block}
.choice input{position:absolute;opacity:0;width:0;height:0}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:130px;
  padding:13px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease, background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}

.choice input:checked + .choice-inner{
  border-color:var(--accent);
  background:rgba(138,109,255,.09);
}
.choice input:focus-visible + .choice-inner{box-shadow:0 0 0 4px var(--accent-ring)}

.choice-name{font-size:14px;font-weight:600}

.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-sm .choice-inner{
  min-width:52px;
  align-items:center;
  padding:11px 14px;
}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:56ch;
}

/* placement grid */

.place-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(140px,220px));
  gap:24px;
}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease, opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}

.place-opt input{accent-color:var(--accent);width:16px;height:16px}

.place-opt:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.09);
}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

/* summary bar additions */

.cfg-bar-sub{
  font-size:12.5px;
  color:var(--ink-3);
  width:100%;
}

.cfg-bar-info{flex-wrap:wrap}

@media (max-width:560px){
  .choice-inner{min-width:0}
  .choice-pair .choice,.choice-row .choice{flex:1 1 46%}
  .place-grid{grid-template-columns:1fr 1fr;gap:14px}
}

/* Custom placement risk callout */
.risk-note{
  margin:18px 0 8px;
  padding:18px 20px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
}
.risk-note p{margin:0 0 12px;font-size:14.5px;line-height:1.6}
.risk-note p:last-child{margin-bottom:0}
.risk-note strong{color:var(--ink)}

.prose ol{padding-left:20px}
.prose ol li{margin:10px 0}

/* ==== custom placement note ========================================= */

.custom-note{
  margin:18px 0 4px;
  padding:20px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.custom-note-body{flex:1;min-width:260px}

.custom-note h3{
  margin:0 0 8px;
  font-size:15px;
  font-weight:600;
}

.custom-note p{
  margin:0 0 10px;
  font-size:14px;
  line-height:1.6;
  color:var(--ink-2);
  max-width:56ch;
}

.custom-note-risk{
  font-size:13px !important;
  color:var(--ink-3) !important;
  margin-bottom:0 !important;
}
.custom-note-risk a{color:var(--ink-2)}

.custom-note-btn{white-space:nowrap;flex-shrink:0}

@media (max-width:640px){
  .custom-note{flex-direction:column;gap:16px}
  .custom-note-btn{width:100%}
}

/* ==== preview rotation ============================================== */

.pv-stage{
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;          /* let the page scroll vertically, we take horizontal */
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{
  position:absolute;
  inset:0;
  transform-origin:50% 50%;
  will-change:transform;
}

/* The layers inside must not be dragged as images. */
.pv-layer{-webkit-user-drag:none;user-drag:none;pointer-events:none}

.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-spin:hover{color:var(--ink);border-color:var(--hair-2);background:rgba(255,255,255,.05)}

.pv-hint{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  opacity:.75;
}

@media (hover:none){
  .pv-hint::after{content:" Or tap Rotate."}
}

/* Preview showing reference photography rather than layered art */
.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:var(--r-card);
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

/* ==================================================================== */
/* CONFIGURATOR LAYOUT — overrides everything above for the wizard      */
/* 60% live preview on the left, 40% step panel on the right.           */
/* ==================================================================== */

:root{
  --wiz-top:110px;            /* nav + pre-order strip */
}

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: the controller ---- */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:48px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:760px;
  aspect-ratio:16/10;
  margin:auto 0;
}

.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.pv-controls{margin-top:8px}

/* ---- right: one step at a time ---- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;            /* the steps area scrolls, not the panel */
}

.wiz-progress{
  flex:0 0 auto;
  padding:26px 40px 0;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:30px 40px 40px;
}

.wiz-step h2{
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
}

.wiz-sub{margin:10px 0 26px;font-size:15px;max-width:38ch}

.wiz-nav{
  flex:0 0 auto;
  position:static;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav .btn{min-width:104px;justify-content:center}

/* Give the options room to breathe in a 40% column. */
.swatch-list{gap:9px}
.swatch-row{padding:12px 15px}
.choice-pair,.choice-row{gap:9px}
.choice-inner{min-width:0;padding:14px 16px}
.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}

/* ---- stacked below 1000px ---- */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:28px 24px 22px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{
    position:static;
    height:auto;
    overflow:visible;
  }
  .wiz-progress{padding:22px 24px 0}
  .wiz-steps{overflow:visible;padding:24px 24px 32px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 24px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.9);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-preview{padding:20px 20px 16px}
  .wiz-steps{padding:20px}
  .wiz-nav{padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
  .wiz-nav .btn{min-width:88px;padding:0 18px}
  .wiz-price{font-size:15px}
}

/* ==================================================================== */
/* CONFIGURATOR — complete, self-contained. Append last.                */
/* ==================================================================== */

:root{ --wiz-top:110px; }

/* ---- shell -------------------------------------------------------- */

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: preview ------------------------------------------------ */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:780px;
  aspect-ratio:16/10;
  margin:auto 0;
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:0;
  background:none;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.pv-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}

.pv-view,.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-view:hover,.pv-spin:hover{color:var(--ink);border-color:var(--hair-2)}
.pv-view.is-on{border-color:var(--accent);background:rgba(138,109,255,.12);color:var(--ink)}

.pv-hint,.pv-disclaimer{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  text-align:center;
  max-width:46ch;
}
.pv-hint{opacity:.7}

/* ---- right: step panel -------------------------------------------- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;
}

.wiz-progress{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding:26px 40px 0;
}

.wiz-progress-bar{
  flex:1;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
}
.wiz-progress-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .3s cubic-bezier(.2,0,.2,1);
}

.wiz-progress-text{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:28px 40px 36px;
}

.wiz-step{display:none}
.wiz-step.is-active{display:block;animation:wizin .26s cubic-bezier(.2,0,.2,1) both}
@keyframes wizin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.wiz-step h2{
  margin:0;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
  font-weight:700;
}

.wiz-sub{
  margin:10px 0 24px;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:40ch;
}

.wiz-sublabel{
  margin:26px 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--ink-3);
}

/* ---- swatch rows --------------------------------------------------- */

.swatch-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
.swatch-list-row{flex-direction:row;flex-wrap:wrap}

.swatch-row{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  font-size:14.5px;
  line-height:1.2;
  transition:border-color .15s ease,background .15s ease;
}
.swatch-row:hover{border-color:var(--hair-2)}

.swatch-row input[type="radio"],
.swatch-row input[type="checkbox"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  pointer-events:none;
}

.swatch-row .swatch-chip{
  display:block;
  width:26px;
  height:26px;
  border-radius:7px;
  flex:0 0 26px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}

.swatch-row .swatch-text{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  white-space:nowrap;
  color:var(--ink);
}

.swatch-row:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.10);
}

.swatch-list-row .swatch-row{flex:0 0 auto}

/* ---- choice cards -------------------------------------------------- */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:9px;margin:0}

.choice{cursor:pointer;display:block;position:relative}
.choice input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease,background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}
.choice input:checked + .choice-inner{border-color:var(--accent);background:rgba(138,109,255,.10)}

.choice-name{font-size:14px;font-weight:600;color:var(--ink)}
.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}
.choice-sm .choice-inner{min-width:52px;align-items:center;padding:11px 14px}

/* ---- placement ----------------------------------------------------- */

.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}
.place-opt input{accent-color:var(--accent);width:16px;height:16px;flex:0 0 16px}
.place-opt:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:52ch;
}

/* ---- summary ------------------------------------------------------- */

.wiz-summary{list-style:none;margin:0;padding:0}

.wiz-summary li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:11px 0;
  border-bottom:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-2);
}
.wiz-summary li::marker{content:""}

.wiz-summary li span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}

.wiz-summary-total{
  font-weight:600;
  font-size:16px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:16px !important;
}

/* ---- footer nav ---------------------------------------------------- */

.wiz-nav{
  flex:0 0 auto;
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.wiz-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
}

.wiz-nav .btn{
  border:0;
  cursor:pointer;
  font-family:inherit;
  min-width:104px;
  justify-content:center;
}
.wiz-nav .btn-quiet{border:1px solid var(--hair-2)}
.wiz-nav .btn[hidden]{display:none !important}

/* ---- custom placement note ----------------------------------------- */

.custom-note{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.custom-note h3{margin:0 0 8px;font-size:15px;font-weight:600;color:var(--ink)}
.custom-note p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.custom-note-risk{font-size:12.5px !important;color:var(--ink-3) !important;margin-bottom:0 !important}
.custom-note-btn{align-self:flex-start}

/* ---- stacked below 1000px ------------------------------------------ */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:26px 22px 20px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{position:static;height:auto;overflow:visible}
  .wiz-progress{padding:22px 22px 0}
  .wiz-steps{overflow:visible;padding:24px 22px 30px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 22px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-nav .btn{min-width:0;flex:1;padding:0 16px}
  .wiz-price{font-size:15px}
  .place-grid{gap:12px}
}

/* ==================================================================== */
/* CONFIGURATOR — complete, self-contained. Append last.                */
/* ==================================================================== */

:root{ --wiz-top:110px; }

/* ---- shell -------------------------------------------------------- */

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: preview ------------------------------------------------ */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:780px;
  aspect-ratio:16/10;
  margin:auto 0;
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:0;
  background:none;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.pv-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}

.pv-view,.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-view:hover,.pv-spin:hover{color:var(--ink);border-color:var(--hair-2)}
.pv-view.is-on{border-color:var(--accent);background:rgba(138,109,255,.12);color:var(--ink)}

.pv-hint,.pv-disclaimer{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  text-align:center;
  max-width:46ch;
}
.pv-hint{opacity:.7}

/* ---- right: step panel -------------------------------------------- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;
}

.wiz-progress{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding:26px 40px 0;
}

.wiz-progress-bar{
  flex:1;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
}
.wiz-progress-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .3s cubic-bezier(.2,0,.2,1);
}

.wiz-progress-text{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:28px 40px 36px;
}

.wiz-step{display:none}
.wiz-step.is-active{display:block;animation:wizin .26s cubic-bezier(.2,0,.2,1) both}
@keyframes wizin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.wiz-step h2{
  margin:0;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
  font-weight:700;
}

.wiz-sub{
  margin:10px 0 24px;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:40ch;
}

.wiz-sublabel{
  margin:26px 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--ink-3);
}

/* ---- swatch rows --------------------------------------------------- */

.swatch-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
.swatch-list-row{flex-direction:row;flex-wrap:wrap}

.swatch-row{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  font-size:14.5px;
  line-height:1.2;
  transition:border-color .15s ease,background .15s ease;
}
.swatch-row:hover{border-color:var(--hair-2)}

.swatch-row input[type="radio"],
.swatch-row input[type="checkbox"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  pointer-events:none;
}

.swatch-row .swatch-chip{
  display:block;
  width:26px;
  height:26px;
  border-radius:7px;
  flex:0 0 26px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}

.swatch-row .swatch-text{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  white-space:nowrap;
  color:var(--ink);
}

.swatch-row:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.10);
}

.swatch-list-row .swatch-row{flex:0 0 auto}

/* ---- choice cards -------------------------------------------------- */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:9px;margin:0}

.choice{cursor:pointer;display:block;position:relative}
.choice input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease,background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}
.choice input:checked + .choice-inner{border-color:var(--accent);background:rgba(138,109,255,.10)}

.choice-name{font-size:14px;font-weight:600;color:var(--ink)}
.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}
.choice-sm .choice-inner{min-width:52px;align-items:center;padding:11px 14px}

/* ---- placement ----------------------------------------------------- */

.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}
.place-opt input{accent-color:var(--accent);width:16px;height:16px;flex:0 0 16px}
.place-opt:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:52ch;
}

/* ---- summary ------------------------------------------------------- */

.wiz-summary{list-style:none;margin:0;padding:0}

.wiz-summary li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:11px 0;
  border-bottom:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-2);
}
.wiz-summary li::marker{content:""}

.wiz-summary li span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}

.wiz-summary-total{
  font-weight:600;
  font-size:16px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:16px !important;
}

/* ---- footer nav ---------------------------------------------------- */

.wiz-nav{
  flex:0 0 auto;
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.wiz-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
}

.wiz-nav .btn{
  border:0;
  cursor:pointer;
  font-family:inherit;
  min-width:104px;
  justify-content:center;
}
.wiz-nav .btn-quiet{border:1px solid var(--hair-2)}
.wiz-nav .btn[hidden]{display:none !important}

/* ---- custom placement note ----------------------------------------- */

.custom-note{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.custom-note h3{margin:0 0 8px;font-size:15px;font-weight:600;color:var(--ink)}
.custom-note p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.custom-note-risk{font-size:12.5px !important;color:var(--ink-3) !important;margin-bottom:0 !important}
.custom-note-btn{align-self:flex-start}

/* ---- stacked below 1000px ------------------------------------------ */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:26px 22px 20px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{position:static;height:auto;overflow:visible}
  .wiz-progress{padding:22px 22px 0}
  .wiz-steps{overflow:visible;padding:24px 22px 30px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 22px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-nav .btn{min-width:0;flex:1;padding:0 16px}
  .wiz-price{font-size:15px}
  .place-grid{gap:12px}
}

/* ---- configurator: option rows with a note and a price -------------- */

.opt-list{gap:9px}

.opt-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.opt-row:hover{border-color:var(--hair-2)}
.opt-row:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}

.opt-row input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.opt-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}

.opt-name{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.25}

.opt-note{font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.opt-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
  white-space:nowrap;
  flex-shrink:0;
  padding-top:2px;
}

/* Disclosure shown only when its option is selected */
.opt-disclosure{
  margin:-2px 0 2px;
  padding:12px 15px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.07);
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-2);
}
.opt-disclosure[hidden]{display:none}

/* ==================================================================== */
/* CONFIGURATOR — complete, self-contained. Append last.                */
/* ==================================================================== */

:root{ --wiz-top:110px; }

/* ---- shell -------------------------------------------------------- */

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: preview ------------------------------------------------ */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:780px;
  aspect-ratio:16/10;
  margin:auto 0;
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:0;
  background:none;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.pv-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}

.pv-view,.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-view:hover,.pv-spin:hover{color:var(--ink);border-color:var(--hair-2)}
.pv-view.is-on{border-color:var(--accent);background:rgba(138,109,255,.12);color:var(--ink)}

.pv-hint,.pv-disclaimer{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  text-align:center;
  max-width:46ch;
}
.pv-hint{opacity:.7}

/* ---- right: step panel -------------------------------------------- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;
}

.wiz-progress{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding:26px 40px 0;
}

.wiz-progress-bar{
  flex:1;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
}
.wiz-progress-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .3s cubic-bezier(.2,0,.2,1);
}

.wiz-progress-text{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:28px 40px 36px;
}

.wiz-step{display:none}
.wiz-step.is-active{display:block;animation:wizin .26s cubic-bezier(.2,0,.2,1) both}
@keyframes wizin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.wiz-step h2{
  margin:0;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
  font-weight:700;
}

.wiz-sub{
  margin:10px 0 24px;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:40ch;
}

.wiz-sublabel{
  margin:26px 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--ink-3);
}

/* ---- swatch rows --------------------------------------------------- */

.swatch-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
.swatch-list-row{flex-direction:row;flex-wrap:wrap}

.swatch-row{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  font-size:14.5px;
  line-height:1.2;
  transition:border-color .15s ease,background .15s ease;
}
.swatch-row:hover{border-color:var(--hair-2)}

.swatch-row input[type="radio"],
.swatch-row input[type="checkbox"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  pointer-events:none;
}

.swatch-row .swatch-chip{
  display:block;
  width:26px;
  height:26px;
  border-radius:7px;
  flex:0 0 26px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}

.swatch-row .swatch-text{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  white-space:nowrap;
  color:var(--ink);
}

.swatch-row:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.10);
}

.swatch-list-row .swatch-row{flex:0 0 auto}

/* ---- choice cards -------------------------------------------------- */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:9px;margin:0}

.choice{cursor:pointer;display:block;position:relative}
.choice input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease,background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}
.choice input:checked + .choice-inner{border-color:var(--accent);background:rgba(138,109,255,.10)}

.choice-name{font-size:14px;font-weight:600;color:var(--ink)}
.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}
.choice-sm .choice-inner{min-width:52px;align-items:center;padding:11px 14px}

/* ---- placement ----------------------------------------------------- */

.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}
.place-opt input{accent-color:var(--accent);width:16px;height:16px;flex:0 0 16px}
.place-opt:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:52ch;
}

/* ---- summary ------------------------------------------------------- */

.wiz-summary{list-style:none;margin:0;padding:0}

.wiz-summary li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:11px 0;
  border-bottom:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-2);
}
.wiz-summary li::marker{content:""}

.wiz-summary li span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}

.wiz-summary-total{
  font-weight:600;
  font-size:16px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:16px !important;
}

/* ---- footer nav ---------------------------------------------------- */

.wiz-nav{
  flex:0 0 auto;
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.wiz-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
}

.wiz-nav .btn{
  border:0;
  cursor:pointer;
  font-family:inherit;
  min-width:104px;
  justify-content:center;
}
.wiz-nav .btn-quiet{border:1px solid var(--hair-2)}
.wiz-nav .btn[hidden]{display:none !important}

/* ---- custom placement note ----------------------------------------- */

.custom-note{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.custom-note h3{margin:0 0 8px;font-size:15px;font-weight:600;color:var(--ink)}
.custom-note p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.custom-note-risk{font-size:12.5px !important;color:var(--ink-3) !important;margin-bottom:0 !important}
.custom-note-btn{align-self:flex-start}

/* ---- stacked below 1000px ------------------------------------------ */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:26px 22px 20px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{position:static;height:auto;overflow:visible}
  .wiz-progress{padding:22px 22px 0}
  .wiz-steps{overflow:visible;padding:24px 22px 30px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 22px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-nav .btn{min-width:0;flex:1;padding:0 16px}
  .wiz-price{font-size:15px}
  .place-grid{gap:12px}
}

/* ---- configurator: option rows with a note and a price -------------- */

.opt-list{gap:9px}

.opt-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.opt-row:hover{border-color:var(--hair-2)}
.opt-row:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}

.opt-row input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.opt-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}

.opt-name{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.25}

.opt-note{font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.opt-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
  white-space:nowrap;
  flex-shrink:0;
  padding-top:2px;
}

/* Disclosure shown only when its option is selected */
.opt-disclosure{
  margin:-2px 0 2px;
  padding:12px 15px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.07);
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-2);
}
.opt-disclosure[hidden]{display:none}

/* ==================================================================== */
/* CONFIGURATOR — complete, self-contained. Append last.                */
/* ==================================================================== */

:root{ --wiz-top:110px; }

/* ---- shell -------------------------------------------------------- */

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: preview ------------------------------------------------ */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:780px;
  aspect-ratio:16/10;
  margin:auto 0;
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:0;
  background:none;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.pv-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}

.pv-view,.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-view:hover,.pv-spin:hover{color:var(--ink);border-color:var(--hair-2)}
.pv-view.is-on{border-color:var(--accent);background:rgba(138,109,255,.12);color:var(--ink)}

.pv-hint,.pv-disclaimer{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  text-align:center;
  max-width:46ch;
}
.pv-hint{opacity:.7}

/* ---- right: step panel -------------------------------------------- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;
}

.wiz-progress{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding:26px 40px 0;
}

.wiz-progress-bar{
  flex:1;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
}
.wiz-progress-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .3s cubic-bezier(.2,0,.2,1);
}

.wiz-progress-text{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:28px 40px 36px;
}

.wiz-step{display:none}
.wiz-step.is-active{display:block;animation:wizin .26s cubic-bezier(.2,0,.2,1) both}
@keyframes wizin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.wiz-step h2{
  margin:0;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
  font-weight:700;
}

.wiz-sub{
  margin:10px 0 24px;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:40ch;
}

.wiz-sublabel{
  margin:26px 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--ink-3);
}

/* ---- swatch rows --------------------------------------------------- */

.swatch-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
.swatch-list-row{flex-direction:row;flex-wrap:wrap}

.swatch-row{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  font-size:14.5px;
  line-height:1.2;
  transition:border-color .15s ease,background .15s ease;
}
.swatch-row:hover{border-color:var(--hair-2)}

.swatch-row input[type="radio"],
.swatch-row input[type="checkbox"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  pointer-events:none;
}

.swatch-row .swatch-chip{
  display:block;
  width:26px;
  height:26px;
  border-radius:7px;
  flex:0 0 26px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}

.swatch-row .swatch-text{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  white-space:nowrap;
  color:var(--ink);
}

.swatch-row:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.10);
}

.swatch-list-row .swatch-row{flex:0 0 auto}

/* ---- choice cards -------------------------------------------------- */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:9px;margin:0}

.choice{cursor:pointer;display:block;position:relative}
.choice input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease,background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}
.choice input:checked + .choice-inner{border-color:var(--accent);background:rgba(138,109,255,.10)}

.choice-name{font-size:14px;font-weight:600;color:var(--ink)}
.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}
.choice-sm .choice-inner{min-width:52px;align-items:center;padding:11px 14px}

/* ---- placement ----------------------------------------------------- */

.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}
.place-opt input{accent-color:var(--accent);width:16px;height:16px;flex:0 0 16px}
.place-opt:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:52ch;
}

/* ---- summary ------------------------------------------------------- */

.wiz-summary{list-style:none;margin:0;padding:0}

.wiz-summary li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:11px 0;
  border-bottom:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-2);
}
.wiz-summary li::marker{content:""}

.wiz-summary li span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}

.wiz-summary-total{
  font-weight:600;
  font-size:16px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:16px !important;
}

/* ---- footer nav ---------------------------------------------------- */

.wiz-nav{
  flex:0 0 auto;
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.wiz-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
}

.wiz-nav .btn{
  border:0;
  cursor:pointer;
  font-family:inherit;
  min-width:104px;
  justify-content:center;
}
.wiz-nav .btn-quiet{border:1px solid var(--hair-2)}
.wiz-nav .btn[hidden]{display:none !important}

/* ---- custom placement note ----------------------------------------- */

.custom-note{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.custom-note h3{margin:0 0 8px;font-size:15px;font-weight:600;color:var(--ink)}
.custom-note p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.custom-note-risk{font-size:12.5px !important;color:var(--ink-3) !important;margin-bottom:0 !important}
.custom-note-btn{align-self:flex-start}

/* ---- stacked below 1000px ------------------------------------------ */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:26px 22px 20px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{position:static;height:auto;overflow:visible}
  .wiz-progress{padding:22px 22px 0}
  .wiz-steps{overflow:visible;padding:24px 22px 30px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 22px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-nav .btn{min-width:0;flex:1;padding:0 16px}
  .wiz-price{font-size:15px}
  .place-grid{gap:12px}
}

/* ---- configurator: option rows with a note and a price -------------- */

.opt-list{gap:9px}

.opt-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.opt-row:hover{border-color:var(--hair-2)}
.opt-row:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}

.opt-row input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.opt-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}

.opt-name{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.25}

.opt-note{font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.opt-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
  white-space:nowrap;
  flex-shrink:0;
  padding-top:2px;
}

/* Disclosure shown only when its option is selected */
.opt-disclosure{
  margin:-2px 0 2px;
  padding:12px 15px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.07);
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-2);
}
.opt-disclosure[hidden]{display:none}

/* ==================================================================== */
/* CONFIGURATOR — complete, self-contained. Append last.                */
/* ==================================================================== */

:root{ --wiz-top:110px; }

/* ---- shell -------------------------------------------------------- */

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: preview ------------------------------------------------ */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:780px;
  aspect-ratio:16/10;
  margin:auto 0;
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:0;
  background:none;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.pv-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}

.pv-view,.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-view:hover,.pv-spin:hover{color:var(--ink);border-color:var(--hair-2)}
.pv-view.is-on{border-color:var(--accent);background:rgba(138,109,255,.12);color:var(--ink)}

.pv-hint,.pv-disclaimer{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  text-align:center;
  max-width:46ch;
}
.pv-hint{opacity:.7}

/* ---- right: step panel -------------------------------------------- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;
}

.wiz-progress{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding:26px 40px 0;
}

.wiz-progress-bar{
  flex:1;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
}
.wiz-progress-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .3s cubic-bezier(.2,0,.2,1);
}

.wiz-progress-text{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:28px 40px 36px;
}

.wiz-step{display:none}
.wiz-step.is-active{display:block;animation:wizin .26s cubic-bezier(.2,0,.2,1) both}
@keyframes wizin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.wiz-step h2{
  margin:0;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
  font-weight:700;
}

.wiz-sub{
  margin:10px 0 24px;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:40ch;
}

.wiz-sublabel{
  margin:26px 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--ink-3);
}

/* ---- swatch rows --------------------------------------------------- */

.swatch-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
.swatch-list-row{flex-direction:row;flex-wrap:wrap}

.swatch-row{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  font-size:14.5px;
  line-height:1.2;
  transition:border-color .15s ease,background .15s ease;
}
.swatch-row:hover{border-color:var(--hair-2)}

.swatch-row input[type="radio"],
.swatch-row input[type="checkbox"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  pointer-events:none;
}

.swatch-row .swatch-chip{
  display:block;
  width:26px;
  height:26px;
  border-radius:7px;
  flex:0 0 26px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}

.swatch-row .swatch-text{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  white-space:nowrap;
  color:var(--ink);
}

.swatch-row:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.10);
}

.swatch-list-row .swatch-row{flex:0 0 auto}

/* ---- choice cards -------------------------------------------------- */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:9px;margin:0}

.choice{cursor:pointer;display:block;position:relative}
.choice input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease,background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}
.choice input:checked + .choice-inner{border-color:var(--accent);background:rgba(138,109,255,.10)}

.choice-name{font-size:14px;font-weight:600;color:var(--ink)}
.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}
.choice-sm .choice-inner{min-width:52px;align-items:center;padding:11px 14px}

/* ---- placement ----------------------------------------------------- */

.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}
.place-opt input{accent-color:var(--accent);width:16px;height:16px;flex:0 0 16px}
.place-opt:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:52ch;
}

/* ---- summary ------------------------------------------------------- */

.wiz-summary{list-style:none;margin:0;padding:0}

.wiz-summary li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:11px 0;
  border-bottom:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-2);
}
.wiz-summary li::marker{content:""}

.wiz-summary li span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}

.wiz-summary-total{
  font-weight:600;
  font-size:16px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:16px !important;
}

/* ---- footer nav ---------------------------------------------------- */

.wiz-nav{
  flex:0 0 auto;
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.wiz-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
}

.wiz-nav .btn{
  border:0;
  cursor:pointer;
  font-family:inherit;
  min-width:104px;
  justify-content:center;
}
.wiz-nav .btn-quiet{border:1px solid var(--hair-2)}
.wiz-nav .btn[hidden]{display:none !important}

/* ---- custom placement note ----------------------------------------- */

.custom-note{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.custom-note h3{margin:0 0 8px;font-size:15px;font-weight:600;color:var(--ink)}
.custom-note p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.custom-note-risk{font-size:12.5px !important;color:var(--ink-3) !important;margin-bottom:0 !important}
.custom-note-btn{align-self:flex-start}

/* ---- stacked below 1000px ------------------------------------------ */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:26px 22px 20px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{position:static;height:auto;overflow:visible}
  .wiz-progress{padding:22px 22px 0}
  .wiz-steps{overflow:visible;padding:24px 22px 30px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 22px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-nav .btn{min-width:0;flex:1;padding:0 16px}
  .wiz-price{font-size:15px}
  .place-grid{gap:12px}
}

/* ---- configurator: option rows with a note and a price -------------- */

.opt-list{gap:9px}

.opt-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.opt-row:hover{border-color:var(--hair-2)}
.opt-row:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}

.opt-row input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.opt-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}

.opt-name{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.25}

.opt-note{font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.opt-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
  white-space:nowrap;
  flex-shrink:0;
  padding-top:2px;
}

/* Disclosure shown only when its option is selected */
.opt-disclosure{
  margin:-2px 0 2px;
  padding:12px 15px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.07);
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-2);
}
.opt-disclosure[hidden]{display:none}

/* ==================================================================== */
/* CONFIGURATOR — complete, self-contained. Append last.                */
/* ==================================================================== */

:root{ --wiz-top:110px; }

/* ---- shell -------------------------------------------------------- */

.wiz{
  display:grid;
  grid-template-columns:60% 40%;
  width:100%;
  max-width:none;
  margin:0;
  min-height:calc(100dvh - var(--wiz-top));
}

/* ---- left: preview ------------------------------------------------ */

.wiz-preview{
  position:sticky;
  top:var(--wiz-top);
  align-self:start;
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:40px;
  background:
    radial-gradient(circle at 50% 44%, rgba(138,109,255,.12), transparent 64%),
    #08080a;
  border-right:1px solid var(--hair);
}

.pv-stage{
  position:relative;
  width:100%;
  max-width:780px;
  aspect-ratio:16/10;
  margin:auto 0;
  perspective:1800px;
  cursor:grab;
  touch-action:pan-y;
  -webkit-user-select:none;
  user-select:none;
}
.pv-stage.is-dragging{cursor:grabbing}

.pv-flip{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.pv-face{position:absolute;inset:0}

.pv-face img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:0;
  background:none;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.pv-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}

.pv-view,.pv-spin{
  appearance:none;
  background:none;
  border:1px solid var(--hair);
  color:var(--ink-3);
  font:inherit;
  font-size:13px;
  padding:7px 18px;
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.pv-view:hover,.pv-spin:hover{color:var(--ink);border-color:var(--hair-2)}
.pv-view.is-on{border-color:var(--accent);background:rgba(138,109,255,.12);color:var(--ink)}

.pv-hint,.pv-disclaimer{
  margin:0;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.04em;
  color:var(--ink-3);
  text-align:center;
  max-width:46ch;
}
.pv-hint{opacity:.7}

/* ---- right: step panel -------------------------------------------- */

.wiz-panel{
  position:sticky;
  top:var(--wiz-top);
  height:calc(100dvh - var(--wiz-top));
  display:flex;
  flex-direction:column;
  border-left:0;
  overflow:hidden;
}

.wiz-progress{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:14px;
  padding:26px 40px 0;
}

.wiz-progress-bar{
  flex:1;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
}
.wiz-progress-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .3s cubic-bezier(.2,0,.2,1);
}

.wiz-progress-text{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap;
}

.wiz-steps{
  flex:1 1 auto;
  overflow-y:auto;
  padding:28px 40px 36px;
}

.wiz-step{display:none}
.wiz-step.is-active{display:block;animation:wizin .26s cubic-bezier(.2,0,.2,1) both}
@keyframes wizin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.wiz-step h2{
  margin:0;
  font-size:clamp(22px,2.2vw,30px);
  letter-spacing:-.024em;
  font-weight:700;
}

.wiz-sub{
  margin:10px 0 24px;
  font-size:15px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:40ch;
}

.wiz-sublabel{
  margin:26px 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--ink-3);
}

/* ---- swatch rows --------------------------------------------------- */

.swatch-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0}
.swatch-list-row{flex-direction:row;flex-wrap:wrap}

.swatch-row{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  font-size:14.5px;
  line-height:1.2;
  transition:border-color .15s ease,background .15s ease;
}
.swatch-row:hover{border-color:var(--hair-2)}

.swatch-row input[type="radio"],
.swatch-row input[type="checkbox"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  margin:0 !important;
  pointer-events:none;
}

.swatch-row .swatch-chip{
  display:block;
  width:26px;
  height:26px;
  border-radius:7px;
  flex:0 0 26px;
  border:1px solid var(--hair-2);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.35);
}

.swatch-row .swatch-text{
  position:static;
  width:auto;
  height:auto;
  clip:auto;
  overflow:visible;
  white-space:nowrap;
  color:var(--ink);
}

.swatch-row:has(input:checked){
  border-color:var(--accent);
  background:rgba(138,109,255,.10);
}

.swatch-list-row .swatch-row{flex:0 0 auto}

/* ---- choice cards -------------------------------------------------- */

.choice-pair,.choice-row{display:flex;flex-wrap:wrap;gap:9px;margin:0}

.choice{cursor:pointer;display:block;position:relative}
.choice input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.choice-inner{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  transition:border-color .16s ease,background .16s ease;
}
.choice:hover .choice-inner{border-color:var(--hair-2)}
.choice input:checked + .choice-inner{border-color:var(--accent);background:rgba(138,109,255,.10)}

.choice-name{font-size:14px;font-weight:600;color:var(--ink)}
.choice-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12px;
  color:var(--ink-3);
}

.choice-pair .choice{flex:1 1 0}
.choice-row .choice{flex:0 1 auto}
.choice-sm .choice-inner{min-width:52px;align-items:center;padding:11px 14px}

/* ---- placement ----------------------------------------------------- */

.place-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.place-side h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
  font-weight:400;
}

.place-opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  margin-bottom:6px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  font-size:14px;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,opacity .15s ease;
}
.place-opt:hover{border-color:var(--hair-2)}
.place-opt input{accent-color:var(--accent);width:16px;height:16px;flex:0 0 16px}
.place-opt:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}
.place-opt:has(input:disabled){opacity:.38;cursor:not-allowed}

.cfg-note{
  margin:12px 0 0;
  font-size:13px;
  line-height:1.55;
  color:var(--ink-3);
  max-width:52ch;
}

/* ---- summary ------------------------------------------------------- */

.wiz-summary{list-style:none;margin:0;padding:0}

.wiz-summary li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  padding:11px 0;
  border-bottom:1px solid var(--hair);
  font-size:14px;
  color:var(--ink-2);
}
.wiz-summary li::marker{content:""}

.wiz-summary li span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  white-space:nowrap;
}

.wiz-summary-total{
  font-weight:600;
  font-size:16px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:16px !important;
}

/* ---- footer nav ---------------------------------------------------- */

.wiz-nav{
  flex:0 0 auto;
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 40px calc(18px + env(safe-area-inset-bottom));
  border-top:1px solid var(--hair);
  background:var(--bg);
  backdrop-filter:none;
}

.wiz-nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.wiz-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
}

.wiz-nav .btn{
  border:0;
  cursor:pointer;
  font-family:inherit;
  min-width:104px;
  justify-content:center;
}
.wiz-nav .btn-quiet{border:1px solid var(--hair-2)}
.wiz-nav .btn[hidden]{display:none !important}

/* ---- custom placement note ----------------------------------------- */

.custom-note{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid var(--hair-2);
  border-left:3px solid var(--accent);
  border-radius:var(--r-ctl);
  background:rgba(138,109,255,.06);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.custom-note h3{margin:0 0 8px;font-size:15px;font-weight:600;color:var(--ink)}
.custom-note p{margin:0 0 10px;font-size:13.5px;line-height:1.55;color:var(--ink-2)}
.custom-note-risk{font-size:12.5px !important;color:var(--ink-3) !important;margin-bottom:0 !important}
.custom-note-btn{align-self:flex-start}

/* ---- stacked below 1000px ------------------------------------------ */

@media (max-width:1000px){
  .wiz{grid-template-columns:1fr;min-height:0}

  .wiz-preview{
    position:static;
    height:auto;
    padding:26px 22px 20px;
    border-right:0;
    border-bottom:1px solid var(--hair);
  }
  .pv-stage{max-width:520px;margin:0}

  .wiz-panel{position:static;height:auto;overflow:visible}
  .wiz-progress{padding:22px 22px 0}
  .wiz-steps{overflow:visible;padding:24px 22px 30px}

  .wiz-nav{
    position:sticky;
    bottom:0;
    padding:14px 22px calc(14px + env(safe-area-inset-bottom));
    background:rgba(0,0,0,.92);
    backdrop-filter:saturate(180%) blur(20px);
  }
}

@media (max-width:560px){
  .wiz-nav .btn{min-width:0;flex:1;padding:0 16px}
  .wiz-price{font-size:15px}
  .place-grid{gap:12px}
}

/* ---- configurator: option rows with a note and a price -------------- */

.opt-list{gap:9px}

.opt-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--hair);
  border-radius:var(--r-ctl);
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.opt-row:hover{border-color:var(--hair-2)}
.opt-row:has(input:checked){border-color:var(--accent);background:rgba(138,109,255,.10)}

.opt-row input{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}

.opt-body{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}

.opt-name{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.25}

.opt-note{font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.opt-price{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
  white-space:nowrap;
  flex-shrink:0;
  padding-top:2px;
}

/* Disclosure shown only when its option is selected */
.opt-disclosure{
  margin:-2px 0 2px;
  padding:12px 15px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.07);
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-2);
}
.opt-disclosure[hidden]{display:none}

/* ---- configurator: validation warning ------------------------------ */

.wiz-warn{
  flex:0 0 auto;
  margin:0;
  padding:11px 40px;
  border-top:1px solid var(--hair);
  background:rgba(255,105,97,.10);
  font-size:13px;
  color:#ff9c96;
}
.wiz-warn[hidden]{display:none}

.wiz-nav .btn:disabled{
  opacity:.4;
  cursor:not-allowed;
}

/* ---- configurator: full summary ------------------------------------ */

.wiz-summary li{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;
  gap:14px;
  align-items:baseline;
  padding:10px 0;
  border-bottom:1px solid var(--hair);
  font-size:13.5px;
  color:var(--ink-2);
}

.sum-k{color:var(--ink-3);font-size:12.5px}
.sum-v{color:var(--ink)}
.sum-p{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  font-size:12.5px;
  color:var(--ink-3);
  text-align:right;
  white-space:nowrap;
}

.wiz-summary-base{
  grid-template-columns:1fr auto !important;
  font-weight:600;
  color:var(--ink) !important;
}
.wiz-summary-base span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
}

.wiz-summary-total{
  grid-template-columns:1fr minmax(0,1.2fr) auto !important;
  font-weight:600;
  font-size:15.5px !important;
  color:var(--ink) !important;
  border-bottom:0 !important;
  padding-top:14px !important;
}
.wiz-summary-total span:last-child{
  font-family:var(--mono);
  font-variant-numeric:tabular-nums;
  text-align:right;
}

@media (max-width:560px){
  .wiz-summary li{grid-template-columns:1fr auto;row-gap:2px}
  .sum-k{grid-column:1 / -1}
  .wiz-warn{padding:11px 22px}
}

/* ---- 3D preview canvas --------------------------------------------- */

.pv-stage{
  position:relative;
  width:100%;
  max-width:none;
  aspect-ratio:auto;
  flex:1 1 auto;
  min-height:340px;
  margin:0;
  perspective:none;
  cursor:grab;
  touch-action:none;      /* the canvas takes the drag */
}
.pv-stage:active{cursor:grabbing}

#pvCanvas{
  display:block;
  width:100%;
  height:100%;
}

.pv-loading{
  position:absolute;
  left:50%;
  bottom:18%;
  transform:translateX(-50%);
  width:180px;
  height:2px;
  background:var(--hair);
  border-radius:2px;
  overflow:hidden;
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
}
.pv-loading span{
  display:block;
  height:100%;
  width:0;
  background:var(--accent);
  transition:width .2s ease;
}

.wiz-preview{justify-content:stretch}

@media (max-width:1000px){
  .pv-stage{min-height:300px;aspect-ratio:4/3;flex:0 0 auto}
}

/* Cap kit photo and description, shown when that kit is selected */
.opt-detail{
  margin:-2px 0 4px;
  padding:14px 15px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.07);
}
.opt-detail[hidden]{display:none}

.opt-detail img{
  display:block;
  width:100%;
  max-width:340px;
  height:auto;
  border-radius:8px;
  background:#fff;
  margin-bottom:12px;
}

.opt-detail p{
  margin:0;
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-2);
}

/* Accessories: in stock rather than pre-order */
.instock-strip{color:var(--ink-2)}

.instock-badge{
  margin:18px 0;
  padding:16px 18px;
  border:1px solid var(--hair-2);
  border-left:3px solid #5ec26a;
  border-radius:var(--r-ctl);
  background:rgba(94,194,106,.07);
  font-size:14px;
  line-height:1.6;
  color:var(--ink-2);
}
.instock-badge strong{display:block;color:var(--ink);margin-bottom:4px}

/* In-stock notice: the pre-order box, in green rather than purple */
.preorder-badge.instock-badge{
  border-color:rgba(94,194,106,.45);
  background:rgba(94,194,106,.08);
}
.preorder-badge.instock-badge strong{color:#7ad489}
.preorder-badge.instock-badge a{color:var(--ink-2)}

/* Pre-sale: the configurator prices a build but can't take an order yet */
.btn.btn-soon{
  background:rgba(255,255,255,.08);
  color:var(--ink-3);
  cursor:default;
  border:1px solid var(--hair-2);
}

.soon-note{
  padding:12px 15px;
  margin-bottom:14px;
  border-left:2px solid var(--accent);
  border-radius:0 var(--r-ctl) var(--r-ctl) 0;
  background:rgba(138,109,255,.08);
  color:var(--ink-2) !important;
}
.soon-note strong{color:var(--ink)}

.stage-tag-soon{color:var(--ink-3)}

/* Accessories that have sold out */
.preorder-badge.soldout-badge{
  border-color:var(--hair-2);
  background:rgba(255,255,255,.04);
}
.preorder-badge.soldout-badge strong{color:var(--ink)}

/* ==== homepage preset cards ========================================= */

.tiers{border-top:1px solid var(--hair);padding:72px 0 80px}

.tiers-head{max-width:var(--wrap);margin:0 auto 34px;padding:0 24px}
.tiers-head h2{margin:0;font-size:clamp(26px,4vw,42px);letter-spacing:-.028em;font-weight:700}
.tiers-head p{margin:14px 0 0;max-width:52ch;font-size:15.5px;line-height:1.6;color:var(--ink-2)}

.tier-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(272px,1fr));
  gap:18px;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
  align-items:stretch;
}

.tier-card{
  display:flex;
  flex-direction:column;
  border:1px solid var(--hair);
  border-radius:var(--r-card);
  background:var(--card);
  overflow:hidden;
}
.tier-card.tier-soon{opacity:.72}

.tier-top{padding:22px 20px 18px;border-bottom:1px solid var(--hair)}

.tier-n{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.06em;
  color:var(--accent);
}

.tier-top h3{margin:6px 0 0;font-size:26px;letter-spacing:-.02em;font-weight:700}

.tier-tag{
  margin:4px 0 0;
  font-size:12px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
}

.tier-blurb{margin:12px 0 0;font-size:14px;line-height:1.55;color:var(--ink-2);min-height:44px}

.tier-price{margin-top:16px;display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.tier-from{
  width:100%;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--accent);
}
.tier-amount{font-size:32px;font-weight:700;letter-spacing:-.03em}
.tier-cur{font-family:var(--mono);font-size:12px;color:var(--ink-3)}
.tier-soon-label{
  font-family:var(--mono);
  font-size:13px;
  color:var(--ink-3);
  padding:6px 0;
}

.tier-body{flex:1;padding:18px 20px}

.tier-body h4{
  margin:0 0 10px;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.07em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--accent);
}
.tier-body h4 + *{margin-top:0}
.tier-body > h4:not(:first-child){margin-top:20px}

.tier-list{list-style:none;margin:0;padding:0}
.tier-list li{
  position:relative;
  padding:0 0 7px 20px;
  font-size:13.5px;
  line-height:1.5;
  color:var(--ink-2);
}
.tier-list li::before{
  content:"";
  position:absolute;
  left:2px;top:6px;
  width:9px;height:5px;
  border-left:1.5px solid var(--accent);
  border-bottom:1.5px solid var(--accent);
  transform:rotate(-45deg);
}
.tier-list-paid li::before{
  content:"+";
  border:0;
  transform:none;
  top:0;left:3px;
  width:auto;height:auto;
  color:var(--accent);
  font-weight:600;
}

.tier-opts{display:flex;flex-direction:column;gap:10px}
.tier-opt{display:flex;flex-direction:column;gap:2px}
.tier-opt-name{font-size:12.5px;font-weight:600;color:var(--ink)}
.tier-opt-values{font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.tier-note{
  margin:18px 0 0;
  padding:10px 12px;
  border-left:2px solid var(--hair-2);
  border-radius:0 6px 6px 0;
  background:rgba(255,255,255,.035);
  font-size:12.5px;
  line-height:1.5;
  color:var(--ink-3);
}

.tier-foot{padding:0 20px 20px}
.tier-foot .btn{width:100%;justify-content:center}

.tiers-foot{
  max-width:var(--wrap);
  margin:30px auto 0;
  padding:0 24px;
  font-size:13.5px;
  color:var(--ink-3);
}
.tiers-foot a{color:var(--ink-2)}

@media (max-width:560px){
  .tier-cards{grid-template-columns:1fr;gap:14px}
  .tier-blurb{min-height:0}
}

/* ---- preset cards: one sideways row rather than three stacked ------- */

.tier-cards{
  display:flex;
  grid-template-columns:none;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  padding:4px 24px 20px;
  max-width:none;
  /* bleed to the window edges so the row reads as continuing offscreen */
  margin-inline:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--hair-2) transparent;
  overscroll-behavior-x:contain;
}

.tier-cards::-webkit-scrollbar{height:8px}
.tier-cards::-webkit-scrollbar-track{background:transparent}
.tier-cards::-webkit-scrollbar-thumb{
  background:var(--hair-2);
  border-radius:4px;
}
.tier-cards::-webkit-scrollbar-thumb:hover{background:var(--ink-3)}

.tier-card{
  flex:0 0 298px;
  scroll-snap-align:start;
}

.tier-cards{cursor:grab}
.tier-cards.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.tier-cards.is-dragging a{pointer-events:none}

/* Fade the right edge so it is obvious there is more to reach. */
.tiers{position:relative}
.tiers::after{
  content:"";
  position:absolute;
  right:0;
  bottom:96px;
  width:64px;
  height:var(--tier-fade,0);
  pointer-events:none;
}

.tiers-foot{margin-top:18px}

@media (max-width:560px){
  .tier-cards{padding-inline:20px;gap:12px}
  .tier-card{flex-basis:84vw}
}

/* ==== homepage preset cards, v2 ===================================== */

.tiers{border-top:1px solid var(--hair);padding:64px 0 76px;position:relative}

.tiers-head{max-width:var(--wrap);margin:0 auto 28px;padding:0 24px}
.tiers-head h2{margin:0;font-size:clamp(26px,4vw,40px);letter-spacing:-.028em;font-weight:700}
.tiers-head p{margin:12px 0 0;max-width:50ch;font-size:15px;line-height:1.6;color:var(--ink-2)}

/* one sideways row; the wheel is deliberately not intercepted */
.tier-cards{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  padding:4px 24px 18px;
  cursor:grab;
  scrollbar-width:thin;
  scrollbar-color:var(--hair-2) transparent;
  overscroll-behavior-x:contain;
}
.tier-cards.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.tier-cards.is-dragging a{pointer-events:none}

.tier-cards::-webkit-scrollbar{height:8px}
.tier-cards::-webkit-scrollbar-track{background:transparent}
.tier-cards::-webkit-scrollbar-thumb{background:var(--hair-2);border-radius:4px}
.tier-cards::-webkit-scrollbar-thumb:hover{background:var(--ink-3)}

/* Fixed rows keep the headings and prices level across every card. */
.tier-card{
  flex:0 0 260px;
  scroll-snap-align:start;
  display:grid;
  grid-template-rows:auto 56px auto 1fr auto;
  border:1px solid var(--hair);
  border-radius:var(--r-card);
  background:var(--card);
  padding:20px 18px 18px;
}
.tier-card.tier-soon{opacity:.7}

.tier-n{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;color:var(--accent)}
.tier-top h3{margin:5px 0 0;font-size:23px;letter-spacing:-.02em;font-weight:700;line-height:1.1}
.tier-tag{
  margin:3px 0 0;
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--ink-3);
}

.tier-blurb{
  margin:12px 0 0;
  font-size:13.5px;
  line-height:1.45;
  color:var(--ink-2);
  align-self:start;
}

.tier-price{
  display:flex;
  align-items:baseline;
  gap:7px;
  padding:14px 0 16px;
  border-bottom:1px solid var(--hair);
  margin-bottom:16px;
}
.tier-from{
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.tier-amount{font-size:27px;font-weight:700;letter-spacing:-.03em}
.tier-soon-label{font-family:var(--mono);font-size:12.5px;color:var(--ink-3)}

.tier-body h4{
  margin:0 0 8px;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--accent);
}
.tier-body > h4 ~ h4{margin-top:16px}

.tier-list{list-style:none;margin:0;padding:0}
.tier-list li{
  position:relative;
  padding:0 0 6px 17px;
  font-size:13px;
  line-height:1.45;
  color:var(--ink-2);
}
.tier-list li::before{
  content:"";
  position:absolute;
  left:1px;top:5px;
  width:8px;height:4px;
  border-left:1.5px solid var(--accent);
  border-bottom:1.5px solid var(--accent);
  transform:rotate(-45deg);
}
.tier-list-paid li::before{
  content:"+";
  border:0;transform:none;
  top:-1px;left:2px;width:auto;height:auto;
  color:var(--accent);font-weight:600;font-size:13px;
}

.tier-note{
  margin:14px 0 0;
  font-size:12px;
  line-height:1.45;
  color:var(--ink-3);
}

.tier-foot{padding-top:16px}
.tier-foot .btn{width:100%;justify-content:center;font-size:13px}

/* the options every build shares, said once */
.tiers-shared{
  max-width:var(--wrap);
  margin:22px auto 0;
  padding:20px 24px 0;
  border-top:1px solid var(--hair);
}
.tiers-shared h4{
  margin:0 0 14px;
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:400;
  color:var(--accent);
}
.tiers-shared dl{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px 28px;
  margin:0;
}
.tiers-shared dt{font-size:12.5px;font-weight:600;color:var(--ink);margin-bottom:3px}
.tiers-shared dd{margin:0;font-size:12.5px;line-height:1.5;color:var(--ink-3)}

.tiers-foot{margin:22px 0 0;font-size:13px;color:var(--ink-3)}
.tiers-foot a{color:var(--ink-2)}

@media (max-width:560px){
  .tier-cards{padding-inline:20px;gap:12px}
  .tier-card{flex-basis:80vw;grid-template-rows:auto auto auto 1fr auto}
}

/* ==== card row: aligned to the content column ================== */

.tier-cards{
  /* Start where the heading starts, but keep scrolling full width so cards
     can pass under the fade rather than stopping at a hard edge. */
  --tier-gutter: max(24px, calc((100vw - var(--wrap, 1200px)) / 2));
  padding-inline: var(--tier-gutter);
  scroll-padding-inline: var(--tier-gutter);

  /* Fade both ends over the gutter. Cards leaving the content column dissolve
     instead of being clipped. */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 calc(var(--tier-gutter) * 0.92),
    #000 calc(100% - var(--tier-gutter) * 0.92),
    transparent 100%);
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 calc(var(--tier-gutter) * 0.92),
    #000 calc(100% - var(--tier-gutter) * 0.92),
    transparent 100%);
}

/* The scrollbar sits under the mask and would fade out with the cards, so
   give it back its own full-width track below the row. */
.tier-cards{
  scrollbar-width:none;
  padding-bottom:6px;
}
.tier-cards::-webkit-scrollbar{display:none}

.tiers-rail{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 24px;
}
.tiers-rail-track{
  height:3px;
  border-radius:3px;
  background:var(--hair);
  overflow:hidden;
}
.tiers-rail-thumb{
  display:block;
  height:100%;
  width:20%;
  border-radius:3px;
  background:var(--hair-2);
  transition:background .15s ease;
}
.tiers-rail:hover .tiers-rail-thumb{background:var(--ink-3)}

/* Borders read stronger now the cards sit against a fade. */
.tier-card{
  border-color:var(--hair-2);
  background:var(--card);
}

@media (max-width:560px){
  .tier-cards{--tier-gutter:20px}
}

/* ==== contact pages and creator codes =============================== */

.contact-eyebrow{
  font-size:11px;letter-spacing:.15em;font-weight:650;
  color:#ab96ff;margin:0 0 16px;text-transform:uppercase;
}
.contact-page h1,.creators-page h1{
  font-size:clamp(32px,4.4vw,52px);line-height:1.06;
  letter-spacing:-.045em;margin:0 0 18px;
}
.contact-lede{font-size:17px;line-height:1.6;color:#b8b6c1;max-width:48ch;margin:0 0 34px}

.contact-card{
  border:1px solid #303036;border-radius:20px;
  background:radial-gradient(ellipse at 0 0,#32214b66,transparent 75%),#141317;
  padding:32px;margin-bottom:30px;
}
.contact-card h2{font-size:21px;margin:0 0 10px;letter-spacing:-.02em}
.contact-card>p{font-size:14.5px;line-height:1.6;color:#b8b6c1;max-width:52ch;margin:0 0 22px}
.contact-card .btn{margin:0 10px 0 0}
.contact-reply{margin:20px 0 0 !important;font-size:12.5px;color:#8f8f99}

.contact-points{margin-bottom:30px}
.contact-points h3{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#eae8f1;margin:0 0 16px}
.contact-points ul{list-style:none;margin:0;padding:0}
.contact-points li{
  position:relative;padding-left:26px;margin-bottom:11px;
  font-size:14px;line-height:1.55;color:#b8b6c1;
}
.contact-points li:before{content:'\2713';position:absolute;left:0;color:#b59aff}

.contact-other{font-size:13.5px;color:#8f8f99;padding-top:22px;border-top:1px solid #ffffff15}
.contact-other a{color:#c4b6df}

/* ---- creator codes ---- */

.creator-applied{
  border:1px solid #6944db;border-radius:14px;
  background:#a882ff12;padding:16px 18px;margin-bottom:28px;
  font-size:14px;line-height:1.55;color:#c4b6df;
}
.creator-applied strong{color:#fff;display:block;margin-bottom:3px}

.creator-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(266px,1fr));
  gap:16px;margin-bottom:38px;
}
.creator-card{
  display:flex;flex-direction:column;gap:12px;
  border:1px solid #303036;border-radius:18px;background:#111113;padding:22px;
}
.creator-card.is-applied{border-color:#6944db;background:#15121d}
.creator-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.creator-head h2{font-size:19px;margin:0;letter-spacing:-.02em}
.creator-platform{font-size:11px;letter-spacing:.05em;color:#aaa5b5;white-space:nowrap}
.creator-blurb{margin:0;font-size:13.5px;line-height:1.5;color:#b8b6c1}

.creator-code{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:1px dashed #38383e;border-radius:10px;padding:11px 13px;
}
.creator-code code{
  font-family:var(--mono);font-size:15px;letter-spacing:.06em;color:#fff;
}
.creator-off{font-size:12px;color:#b59aff;white-space:nowrap}

.creator-card .btn{width:100%;justify-content:center}
.creator-link{font-size:12.5px;color:#aaa5b5;text-align:center}
.creator-link:hover{color:#c4b6df}

.creator-empty{font-size:15px;color:#8f8f99;margin-bottom:38px}

.creator-join{
  border-top:1px solid #ffffff15;padding-top:28px;
}
.creator-join h3{font-size:19px;margin:0 0 8px;letter-spacing:-.02em}
.creator-join p{font-size:14px;color:#b8b6c1;margin:0 0 18px;max-width:46ch}

@media(max-width:600px){
  .contact-card{padding:24px}
  .contact-card .btn{width:100%;margin:0 0 10px}
  .creator-grid{grid-template-columns:1fr}
}

/* Creator code applied to the cart */
.cart-discount{
  margin:0 0 18px;padding:12px 15px;
  border:1px solid #6944db;border-radius:12px;
  background:#a882ff12;font-size:13.5px;color:#c4b6df;
}
.cart-discount strong{color:#fff;font-family:var(--mono);letter-spacing:.05em}
