/* =========================================================
   PRINTS CORE — industrial / print-shop design system
   Monochrome + one acid accent. Sharp, editorial, textural.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:            #0c0c0d;
  --bg-elev:       #141416;
  --surface:       rgba(242, 241, 236, 0.035);
  --surface-2:     rgba(242, 241, 236, 0.07);
  --border:        rgba(242, 241, 236, 0.13);
  --border-strong: rgba(242, 241, 236, 0.28);

  /* ink */
  --text:      #f2f1ec;
  --text-dim:  #9a9a94;
  --text-mute: #63635e;

  /* accent — used sparingly */
  --acid:        #d8ff34;
  --accent:      #d8ff34;
  --accent-2:    #d8ff34;
  --accent-3:    #ff5a3c;   /* warm — cart badge / destructive */
  --accent-soft: rgba(216, 255, 52, 0.14);
  --accent-ink:  #0c0c0d;   /* text on accent backgrounds */
  --bg-rgb:      12, 12, 13;
  --text-rgb:    242, 241, 236;
  --accent-rgb:  216, 255, 52;
  --btn-transform: uppercase;

  --radius:    3px;
  --radius-sm: 3px;
  --radius-lg: 4px;

  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  --glow:   0 0 0 1px rgba(216, 255, 52, 0.4);

  --maxw: 1220px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font:         "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--acid); color: var(--accent-ink); }

/* ---------- Ambient: vignette + grain ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(130% 90% at 50% -10%, transparent 45%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(80% 60% at 100% 100%, rgba(var(--accent-rgb), 0.05), transparent 60%);
}
.aurora span { display: none; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: clamp(46px, 6.5vw, 82px) 0; position: relative; }
.section + .section { padding-top: 0; }

/* prevent grid/flex children from blowing out the viewport */
.hero-grid > *, .about-split > *, .pdp > *, .checkout-grid > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 20px;
}
.eyebrow::before { content: "//"; opacity: 0.7; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.94;
}
h1 { font-size: clamp(2.6rem, 8.5vw, 6.6rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.9rem, 5vw, 3.6rem); font-weight: 800; overflow-wrap: break-word; }
h3 { font-size: 1.14rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

.lead { color: var(--text-dim); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 54ch; }
.section-head { margin-bottom: 38px; max-width: 660px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: var(--btn-transform);
  border: 1px solid var(--border-strong);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: var(--acid); border-color: var(--acid); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: var(--surface); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
}
.nav.scrolled {
  height: 60px;
  background: rgba(var(--bg-rgb), 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand .brand-mark { height: 30px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.02rem;
}
.footer .brand span { font-size: 0.95rem; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cart-btn:hover { border-color: var(--acid); background: var(--surface); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--accent-3);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart-count.show { transform: scale(1); }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--border-strong); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 17px; height: 2px; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { margin: 0 auto; position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: clamp(560px, 82vh, 880px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 36px) 0 56px;
  position: relative;
}
.hero .wrap { width: 100%; position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero h1 .grad {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; }

/* Hero visual — the real logo mark */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-visual .glowring {
  position: absolute;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--text-rgb), 0.09), transparent 68%);
  filter: blur(18px);
}
.hero-visual .orbit { display: none; }
.hero-mark {
  position: relative;
  width: 62%;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
  animation: floaty 7s var(--ease) infinite alternate;
}
@keyframes floaty { to { transform: translateY(-14px) rotate(1.5deg); } }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(var(--acid), transparent); animation: sink 1.8s var(--ease) infinite; }
@keyframes sink {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.pcard {
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  transition: background 0.3s var(--ease);
}
.pcard:hover { background: #17171a; }
.pcard-visual {
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, hsla(var(--hue), 18%, 16%, 1), hsla(var(--hue), 12%, 9%, 1));
}
.pcard-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--text-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb), 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.pcard-visual svg {
  width: 42%;
  color: var(--text-dim);
  transition: transform 0.45s var(--ease), color 0.3s var(--ease);
  z-index: 1;
}
.pcard:hover .pcard-visual svg { transform: scale(1.06) rotate(-3deg); color: var(--acid); }
.pcard-visual .pv-img, .pdp-visual .pv-img, .pdp-visual .pv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
/* videos show the whole frame (no cropping/"zoom") — the box background fills the gaps */
.pdp-visual .pv-video, .pcard-visual video { object-fit: contain; background: #000; }
/* pin the video to the square frame — otherwise a portrait video's own height
   stretches the box past the frame and the frame crops it (looks "zoomed in") */
.pdp-visual .pv-video, .pcard-visual video { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%; }
/* product-page photos get the same treatment: pinned to the frame and shown whole
   (a tall photo used to grow past the square and lose its bottom half) */
.pdp-visual .pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pcard-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-dim);
  z-index: 2;
}
.pcard-stock {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.pcard-stock.low { color: #e0a030; border-color: #e0a030; }
.pcard-stock.out { color: #e0524a; border-color: #e0524a; }
.pcard-body { padding: 18px; }
.pcard-body h3 { margin-bottom: 4px; }
.pcard-body h3 a:hover { color: var(--acid); }
.pcard-body .muted { color: var(--text-mute); font-size: 0.82rem; margin-bottom: 16px; min-height: 2.4em; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.price .cur { font-family: var(--font-mono); color: var(--text-mute); font-size: 0.68rem; font-weight: 400; margin-right: 3px; }
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: var(--btn-transform);
  font-weight: 700;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.add-btn svg { width: 12px; height: 12px; }
.add-btn:hover { background: var(--acid); border-color: var(--acid); color: var(--accent-ink); }
.add-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.add-btn:disabled:hover { background: none; border-color: var(--border-strong); color: inherit; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--border); }
.step {
  padding: 22px 22px 0 0;
  border-right: 1px solid var(--border);
  padding-right: 22px;
}
.step:last-child { border-right: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--acid);
}
.step h3 { margin: 10px 0 6px; }
.step p { color: var(--text-dim); font-size: 0.86rem; }

/* ---------- CTA band — inverted ---------- */
.cta-band {
  background: var(--text);
  color: var(--bg);
  padding: clamp(44px, 8vw, 80px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 6px;
  background: var(--acid);
}
.cta-band h2 { margin-bottom: 16px; color: var(--bg); }
.cta-band p { color: color-mix(in srgb, var(--bg) 72%, var(--text)); margin-bottom: 30px; max-width: 46ch; }
.cta-band .btn-primary { background: var(--bg); color: var(--text); border-color: var(--bg); }
.cta-band .btn-primary:hover { background: var(--acid); color: var(--accent-ink); border-color: var(--acid); }
.cta-band .btn-ghost { border-color: rgba(var(--bg-rgb), 0.3); color: var(--bg); }
.cta-band .btn-ghost:hover { border-color: var(--bg); background: rgba(var(--bg-rgb), 0.06); }
.cta-band .hero-cta { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 16px; }
.footer .brand .brand-mark { height: 34px; }
.footer p.small { color: var(--text-mute); font-size: 0.84rem; max-width: 30ch; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--text-dim); font-size: 0.88rem; transition: color 0.2s; }
.footer li a:hover { color: var(--acid); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--acid); }
.footer-legal { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-legal button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer-legal button:hover { color: var(--acid); }

/* ---------- Cart drawer ---------- */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 200;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(400px, 100vw);
  background: var(--bg-elev);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  z-index: 201;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.drawer-close { width: 34px; height: 34px; border-radius: var(--radius); border: 1px solid var(--border); display: grid; place-items: center; transition: border-color 0.2s; }
.drawer-close:hover { border-color: var(--accent-3); }
.drawer-head-actions { display: flex; align-items: center; gap: 12px; }
.drawer-clear { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); transition: color 0.2s; }
.drawer-clear:hover { color: var(--accent-3); }
.drawer-items { flex: 1; overflow-y: auto; padding: 14px 22px; }
.drawer-empty { color: var(--text-mute); text-align: center; padding: 60px 0; font-family: var(--font-mono); font-size: 0.82rem; }
.ditem { display: grid; grid-template-columns: 52px 1fr auto; gap: 13px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ditem .thumb { width: 52px; height: 52px; background: linear-gradient(150deg, hsl(var(--hue), 14%, 24%), hsl(var(--hue), 10%, 14%)); border: 1px solid var(--border); }
.ditem .name { font-size: 0.88rem; font-weight: 600; }
.ditem .qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ditem .qty button { width: 22px; height: 22px; border-radius: var(--radius); border: 1px solid var(--border); display: grid; place-items: center; font-size: 0.9rem; transition: border-color 0.2s; }
.ditem .qty button:hover { border-color: var(--acid); }
.ditem .line-price { font-family: var(--font-mono); font-weight: 700; font-size: 0.84rem; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--border); }
.drawer-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.08em; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-foot .note { text-align: center; color: var(--text-mute); font-family: var(--font-mono); font-size: 0.68rem; margin-top: 12px; }

/* cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 18px 22px;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.84rem; color: var(--text-dim); max-width: 640px; }
.cookie-banner a { color: var(--acid); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* toast */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 130%);
  background: var(--text);
  color: var(--bg);
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 300;
  transition: transform 0.4s var(--ease), bottom 0.3s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
/* clear the drawer's Checkout button when the cart drawer is open at the same time
   (e.g. "Add to cart" on a product page opens the drawer and fires the toast together) */
body:has(.drawer.open) .toast { bottom: 172px; }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: calc(var(--nav-h) + 74px) 0 44px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); margin-bottom: 18px; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Legal pages ---------- */
.legal-doc { max-width: 74ch; padding-top: 44px; }
.legal-doc h2 { font-size: 1.3rem; margin: 40px 0 14px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { color: var(--text-dim); line-height: 1.7; margin-bottom: 14px; }
.legal-doc p:first-of-type { color: var(--text); font-size: 1.05rem; }
.legal-doc ul { color: var(--text-dim); line-height: 1.7; margin: 0 0 14px 1.2em; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--acid); }
.legal-doc code { font-family: var(--font-mono); background: var(--surface); padding: 2px 6px; border-radius: 4px; font-size: 0.88em; }
.legal-table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.86rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal-table th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); background: var(--surface); }
.legal-table td { color: var(--text-dim); }

/* filter bar */
.filter-bar { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 0; border: 1px solid var(--border); border-bottom: 0; }
.chip {
  padding: 12px 18px;
  border-right: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { color: var(--text); background: var(--surface); }
.chip.active { background: var(--acid); color: var(--accent-ink); font-weight: 700; }

/* ---------- Product detail ---------- */
[data-related], [data-featured] { grid-template-columns: repeat(3, 1fr); }
[data-related] .pcard:nth-child(3), [data-featured] .pcard:nth-child(3n) { border-right: 0; }
@media (max-width: 940px) {
  [data-related], [data-featured] { grid-template-columns: repeat(2, 1fr); }
  [data-featured] .pcard:nth-child(3n) { border-right: 1px solid var(--border); }
  [data-related] .pcard:nth-child(3) { border-right: 1px solid var(--border); }
}
@media (max-width: 640px) { [data-related], [data-featured] { grid-template-columns: 1fr; } }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.pdp-media { display: flex; flex-direction: column; gap: 14px; }
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.pdp-thumb {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb { position: relative; }
.pdp-thumb-video-mark { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; text-shadow: 0 1px 5px #000; pointer-events: none; }
.pdp-thumb:hover { opacity: 0.85; }
.pdp-thumb.active { opacity: 1; border-color: var(--acid); }
.pdp-visual {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, hsla(var(--hue), 18%, 16%, 1), hsla(var(--hue), 12%, 9%, 1));
}
.pdp-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--text-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb), 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pdp-visual svg { width: 46%; color: var(--text-dim); z-index: 1; animation: floaty 7s var(--ease) infinite alternate; }
.pdp h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 12px 0 16px; }
.pdp .price-lg { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.pdp-stock { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; color: var(--text-mute); }
.pdp-stock.low { color: #e0a030; }
.pdp-stock.out { color: #e0524a; }
.pdp p.desc { color: var(--text-dim); margin-bottom: 26px; }
.spec-list { border-top: 1px solid var(--border); margin-bottom: 28px; }
.spec-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.82rem; }
.spec-list div span:first-child { color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.qty-stepper button { width: 44px; height: 48px; display: grid; place-items: center; font-size: 1.1rem; transition: background 0.2s; }
.qty-stepper button:hover { background: var(--surface-2); }
.qty-stepper span { width: 40px; text-align: center; font-family: var(--font-mono); font-weight: 700; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--acid);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--border); }
.value { padding: 26px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.value:nth-child(2n) { border-right: 0; }
.value:nth-last-child(-n+2) { border-bottom: 0; }
.value h3 { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 9px; color: var(--acid); }
.value p { font-size: 0.86rem; color: var(--text-dim); }
.big-quote {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.big-quote .grad { color: var(--acid); }

/* ---------- Scroll reveal ----------
   opacity + transform only (no clip-path): clip-path on the hidden state
   makes the element self-clip to zero area, which defeats the
   IntersectionObserver that's supposed to detect it scrolling into view —
   elements added after page load (product cards) could get stuck invisible. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }
.reveal[data-delay="5"] { transition-delay: 0.35s; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; }
.checkout-grid h2 { font-size: 1.1rem; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.1em; margin: 34px 0 16px; }
.checkout-grid h2:first-child { margin-top: 0; }
.summary-card { border: 1px solid var(--border); background: var(--bg-elev); padding: 24px; position: sticky; top: 90px; }
.summary-card h3 { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.88rem; color: var(--text-dim); }
.sum-row.item span:first-child { color: var(--text); }
.sum-divide { border-top: 1px solid var(--border); margin: 10px 0; }
.sum-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; padding-top: 6px; }
.summary-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.summary-card .fineprint { color: var(--text-mute); font-family: var(--font-mono); font-size: 0.68rem; text-align: center; margin-top: 12px; }

.order-confirm { max-width: 560px; margin: 0 auto; text-align: center; }
.order-confirm .check {
  width: 72px; height: 72px; margin: 0 auto 24px;
  display: grid; place-items: center;
  border: 1px solid var(--acid);
  color: var(--acid);
}
.order-confirm .check svg { width: 32px; height: 32px; }
.order-confirm .order-num {
  display: inline-block;
  margin: 16px 0 22px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.order-confirm .recap { text-align: left; border: 1px solid var(--border); padding: 22px; margin: 26px 0; background: var(--surface); }

/* ---------- Account / auth ---------- */
.account-wrap { min-height: 40vh; }
.muted { color: var(--text-mute); }
.form-error, .form-ok {
  font-family: var(--font-mono); font-size: 0.8rem;
  padding: 10px 12px; margin-bottom: 14px; border-radius: var(--radius);
}
.form-error { color: var(--accent-3); border: 1px solid var(--accent-3); background: color-mix(in srgb, var(--accent-3) 8%, transparent); }
.form-ok { color: var(--acid); border: 1px solid var(--acid); background: var(--accent-soft); }
.notice { font-size: 0.86rem; padding: 12px 14px; border: 1px solid var(--border-strong); margin-bottom: 18px; border-radius: var(--radius); }
.notice.ok  { border-color: var(--acid); color: var(--acid); background: var(--accent-soft); }
.notice.bad { border-color: var(--accent-3); color: color-mix(in srgb, var(--accent-3) 55%, var(--text)); background: color-mix(in srgb, var(--accent-3) 8%, transparent); }

.auth-card { max-width: 400px; margin: 0 auto; border: 1px solid var(--border); background: var(--bg-elev); padding: 30px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 12px; }
.auth-tabs { display: flex; border: 1px solid var(--border); margin-bottom: 22px; }
.auth-tab {
  flex: 1; padding: 11px; font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.auth-tab.active { background: var(--acid); color: var(--accent-ink); font-weight: 700; }
.auth-card .field { margin-bottom: 14px; }
.linkbtn { display: block; margin: 14px auto 0; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-mute); text-decoration: underline; }
.linkbtn:hover { color: var(--acid); }

.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.account-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.empty-orders { color: var(--text-mute); border: 1px solid var(--border); padding: 28px; text-align: center; }
.empty-orders a { color: var(--acid); }

.order-card { border: 1px solid var(--border); margin-bottom: 10px; background: var(--bg-elev); }
.order-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: center;
  width: 100%; padding: 16px 18px; text-align: left; font-size: 0.88rem;
  transition: background 0.16s var(--ease);
}
.order-row:hover { background: var(--surface); }
.order-ref { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.03em; }
.order-date, .order-items-n { color: var(--text-mute); }
.order-total { font-family: var(--font-display); font-weight: 800; }
.order-detail { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); border-top: 0 solid var(--border); }
.order-card.open .order-detail { max-height: 900px; border-top: 1px solid var(--border); }
.od-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 22px 18px; }
.od-grid h4 { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-mute); margin-bottom: 10px; }

.timeline { border-left: 2px solid var(--border); padding-left: 15px; }
.timeline .tl { position: relative; padding-bottom: 13px; font-size: 0.82rem; color: var(--text-dim); }
.timeline .tl::before { content: ""; position: absolute; left: -20px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.timeline .tl .t { color: var(--text-mute); font-size: 0.72rem; margin-top: 2px; }

@media (max-width: 720px) {
  .order-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .order-row .order-date, .order-row .order-items-n { display: none; }
  .od-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Status pill (shared w/ admin) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid hsla(var(--h, 80), 70%, 55%, 0.4);
  background: hsla(var(--h, 80), 70%, 55%, 0.12);
  color: hsl(var(--h, 80), 65%, 70%);
}
.pill::before { content: ""; width: 6px; height: 6px; background: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .steps, .about-split, .pdp, .checkout-grid { grid-template-columns: 1fr; }
  .steps .step { border-right: 0; border-bottom: 1px solid var(--border); }
  .steps .step:last-child { border-bottom: 0; }
  .about-split { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + var(--banner-h, 0px)); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 8px 26px 24px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
  }
  body.menu-open .nav-links { transform: translateY(0); display: flex; }
  .nav-links a { padding: 14px 0; font-size: 0.9rem; width: 100%; border-bottom: 1px solid var(--border); }
  .value-grid, .product-grid, [data-related] { grid-template-columns: 1fr; }
  .value { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; align-items: flex-start; padding-top: calc(var(--nav-h) + 34px); padding-bottom: 60px; }
  .hero .lead, .lead { max-width: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .brand span { font-size: 0.88rem; }
  .lead { overflow-wrap: break-word; }
  .cta-band .hero-cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   THEME LAYER — driven by assets/js/theme.js from the
   admin-configured theme. Defaults above = the Default theme.
   ========================================================= */
.nav { top: var(--banner-h, 0px); }
body { padding-top: var(--banner-h, 0px); }

/* announcement / promo banner */
.site-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 38px; padding: 8px 46px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  text-align: center; line-height: 1.35;
  background: var(--acid); color: var(--accent-ink);
}
.site-banner.style-dark  { background: var(--bg-elev); color: var(--text); border-bottom: 1px solid var(--border); }
.site-banner.style-warm  { background: var(--accent-3); color: #fff; }
.site-banner.style-light { background: var(--text); color: var(--bg); }
.site-banner a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; color: inherit; }
.site-banner a:hover { opacity: 0.8; }
.site-banner .sb-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; color: inherit; opacity: 0.7;
}
.site-banner .sb-close:hover { opacity: 1; }
.site-banner .sb-close svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .site-banner { font-size: 0.68rem; padding: 7px 40px 7px 14px; } }

/* emblem next to the logo */
.theme-emblem { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--acid); margin-left: -4px; animation: emblem-bob 3.2s ease-in-out infinite; }
.theme-emblem svg { width: 100%; height: 100%; }
@keyframes emblem-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-2px) rotate(4deg); } }

/* background patterns (applied to the fixed .aurora layer) */
html[data-pattern="none"] .aurora { background: none; }
html[data-pattern="grid"] .aurora {
  background:
    linear-gradient(rgba(var(--text-rgb), 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(var(--text-rgb), 0.045) 1px, transparent 1px) 0 0 / 44px 44px;
}
html[data-pattern="dots"] .aurora { background: radial-gradient(rgba(var(--text-rgb), 0.09) 1.2px, transparent 1.6px) 0 0 / 22px 22px; }
html[data-pattern="diagonal"] .aurora {
  background: repeating-linear-gradient(135deg, rgba(var(--text-rgb), 0.028) 0 14px, transparent 14px 28px),
              radial-gradient(80% 60% at 100% 100%, rgba(var(--accent-rgb), 0.07), transparent 60%);
}
html[data-pattern="stars"] .aurora {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(var(--text-rgb), 0.5), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(var(--text-rgb), 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(var(--text-rgb), 0.35), transparent 60%),
    radial-gradient(1px 1px at 88% 48%, rgba(var(--text-rgb), 0.45), transparent 60%),
    radial-gradient(1px 1px at 58% 84%, rgba(var(--text-rgb), 0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 88%, rgba(var(--text-rgb), 0.3), transparent 60%),
    radial-gradient(120% 80% at 50% -10%, rgba(var(--accent-rgb), 0.07), transparent 60%);
  background-size: 360px 360px, 420px 420px, 300px 300px, 380px 380px, 460px 460px, 340px 340px, 100% 100%;
}
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg-image, none); background-size: cover; background-position: center;
  opacity: var(--bg-image-opacity, 0.15);
}

/* decorative particles */
.theme-decor { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.theme-decor i { position: absolute; top: -8vh; display: block; will-change: transform; opacity: var(--o, 0.7); }
.theme-decor i svg { display: block; width: 100%; height: 100%; }
.theme-decor.fall i  { animation: decor-fall var(--d, 12s) linear var(--delay, 0s) infinite; }
.theme-decor.rise i  { top: auto; bottom: -8vh; animation: decor-rise var(--d, 14s) linear var(--delay, 0s) infinite; }
.theme-decor.spin i  { animation: decor-fall-spin var(--d, 11s) linear var(--delay, 0s) infinite; }
.theme-decor.fly i   { top: var(--y, 20vh); left: -60px !important; animation: decor-fly var(--d, 16s) linear var(--delay, 0s) infinite; }
.theme-decor.twinkle i { top: var(--y, 30vh); animation: decor-twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite; }
.theme-decor.static i { animation: none !important; top: var(--y, 30vh); bottom: auto; }
@keyframes decor-fall { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(var(--sway, 30px), 55vh, 0); } 100% { transform: translate3d(0, 116vh, 0); } }
@keyframes decor-rise { 0% { transform: translate3d(0, 0, 0) scale(0.9); } 50% { transform: translate3d(var(--sway, 30px), -55vh, 0) scale(1); } 100% { transform: translate3d(0, -116vh, 0) scale(0.9); } }
@keyframes decor-fall-spin { 0% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(var(--sway, 40px), 55vh, 0) rotate(200deg); } 100% { transform: translate3d(0, 116vh, 0) rotate(400deg); } }
@keyframes decor-fly { 0% { transform: translate3d(0, 0, 0); } 25% { transform: translate3d(28vw, -4vh, 0); } 50% { transform: translate3d(56vw, 3vh, 0); } 75% { transform: translate3d(84vw, -3vh, 0); } 100% { transform: translate3d(110vw, 0, 0); } }
@keyframes decor-twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0); } 50% { opacity: var(--o, 0.8); transform: scale(1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .theme-decor { display: none; } .theme-emblem { animation: none; } }

/* staff theme preview pill */
.theme-preview-pill {
  position: fixed; left: 16px; top: calc(var(--banner-h, 0px) + var(--nav-h) + 12px); z-index: 1000;
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: #111; color: #fff; border: 1px solid #444; border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.72rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.theme-preview-pill button { color: #d8ff34; text-decoration: underline; font: inherit; }

/* footer social links (from Settings) */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--border); color: var(--text-dim);
}
.footer-social a:hover { border-color: var(--acid); color: var(--text); }

/* checkout: discount code + summary lines */
.promo-form { display: flex; gap: 8px; margin: 4px 0 6px; }
.promo-form input {
  flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; color: var(--text); font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.promo-form input:focus { outline: none; border-color: var(--acid); }
.summary-card .promo-form .btn { padding: 10px 14px; margin: 0; width: auto; }
.promo-msg { font-family: var(--font-mono); font-size: 0.72rem; margin: 6px 0 4px; line-height: 1.45; }
.promo-msg.ok { color: var(--acid); }
.promo-msg.bad { color: var(--accent-3); }
.promo-msg.info { color: var(--text-dim); }
.sum-row.discount span:last-child { color: var(--acid); }
.sum-row .rm { margin-left: 6px; font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-mute); text-decoration: underline; }
.summary-card.busy { opacity: 0.6; transition: opacity 0.2s; }

/* account: verification code entry, password tools */
.code-input {
  width: 100%; text-align: center; font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700;
  letter-spacing: 0.5em; padding: 14px 10px 14px 24px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.code-input:focus { outline: none; border-color: var(--acid); box-shadow: 0 0 0 3px var(--accent-soft); }
.verify-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.verify-actions .linkbtn { margin: 0; }
.linkbtn[disabled] { opacity: 0.5; cursor: default; text-decoration: none; }
.pw-meter { height: 4px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width 0.25s var(--ease), background 0.25s; }
.field-hint { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-mute); margin-top: 6px; }
.account-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.account-panel { border: 1px solid var(--border); background: var(--bg-elev); padding: 22px; }
.account-panel h3 { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.account-panel .field { margin-bottom: 12px; }
.account-panel .btn { margin-top: 4px; }
@media (max-width: 720px) { .account-panels { grid-template-columns: 1fr; } }
