/* ============================================================
   HELIX AMINOS · SHARED STYLES
   ============================================================ */

:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --bg-3: #141414;
  --bg-4: #1c1c1c;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --white: #ffffff;
  --white-70: rgba(255,255,255,0.70);
  --white-50: rgba(255,255,255,0.50);
  --white-35: rgba(255,255,255,0.35);
  --accent: #ff7a1f;
  --accent-2: #d65a00;
  --accent-3: #ffb070;
  --accent-soft: rgba(255,122,31,0.12);
  --silver: #c8c8c8;
  --silver-2: #e8e8e8;
  --silver-dark: #6a6a6a;
  --chrome: linear-gradient(180deg, #e8e8e8 0%, #b8b8b8 45%, #707070 50%, #b8b8b8 55%, #e8e8e8 100%);
  --warn: #ffb84d;
  --danger: #ff5a5a;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0,0,0,0.6);
  --glow: 0 0 40px rgba(255,122,31,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overscroll-behavior-y: none;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* BG CANVAS */
#bgCanvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0; opacity: 0.25;
}
/* Lift in-flow page elements above the fixed bgCanvas. Targeting specific
   elements (not `body > *`) prevents this rule from clobbering the
   position:fixed drawers/modals/nav that live as direct body children. */
body > .ruo-bar,
body > header,
body > main,
body > section,
body > footer { position: relative; z-index: 1; }

/* RUO BAR */
.ruo-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  color: var(--white-70);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.ruo-bar strong { color: var(--accent); font-weight: 700; }
.ruo-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  display: inline-block;
  animation: rpulse 2s infinite;
}
@keyframes rpulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.ruo-sep { color: var(--white-35); }

/* HEADER */
#header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,8,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
}
.header-nav {
  display: flex; align-items: center; gap: 28px;
}
.header-nav a {
  color: var(--white-70);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
  position: relative;
}
.header-nav a:hover, .header-nav a.active {
  color: var(--white);
}
.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  border-radius: 2px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 17px; letter-spacing: -0.02em;
  justify-self: center;
}
.site-logo {
  width: 34px; height: 38px;
  background: linear-gradient(180deg, #f0f0f0 0%, #b0b0b0 45%, #707070 55%, #b0b0b0 75%, #d8d8d8 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: #1a1a1a; font-weight: 800; font-size: 16px;
  font-family: var(--display);
  position: relative;
  box-shadow: 0 4px 16px rgba(255,122,31,0.30);
}
.site-logo::after { content: 'H'; text-shadow: 0 1px 0 rgba(255,255,255,0.4); }
.site-logo.has-img {
  background: transparent;
  box-shadow: none;
  width: 130px;
  height: 70px;
  clip-path: none;
}
/* Larger version inside the footer where there's more breathing room. */
.site-footer .site-logo.has-img {
  width: 180px;
  height: 98px;
}
.site-logo.has-img::after { content: ''; }
.site-logo.has-img img {
  width: 100%; height: 100%; object-fit: contain;
  clip-path: none;
}
/* The uploaded logo already contains the "HELIX AMINOS" wordmark, so hide the
   text label next to it. If the image fails to load, .has-img is stripped and
   the wordmark reappears. */
.site-logo.has-img + .brand-text { display: none; }
.brand-text {
  font-family: var(--display); font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #c8c8c8 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}
.header-right {
  display: flex; align-items: center; gap: 8px;
  justify-self: end;
}
.nav-account-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--white-70);
  transition: all .2s;
}
.nav-account-btn:hover {
  color: var(--white);
  border-color: var(--accent);
}
.nav-shop-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent);
  color: var(--bg);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .15s;
  margin-right: 4px;
}
.nav-shop-cta:hover {
  background: var(--white);
  transform: translateY(-1px);
}
.nav-shop-cta svg { width: 14px; height: 14px; }
.nav-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  color: var(--white-70);
  transition: all .2s;
}
.nav-icon-btn:hover { color: var(--white); background: var(--bg-3); }
.nav-icon-btn svg { width: 18px; height: 18px; }
.nav-cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: var(--bg);
  font-size: 10px; font-weight: 700;
  font-family: var(--mono);
  min-width: 18px; height: 18px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
}
.hamburger {
  display: none;
  font-size: 22px; color: var(--white);
  padding: 8px;
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: 100%; max-width: 320px;
  height: 100vh;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 95;
  visibility: hidden;
  transition: right .3s ease, visibility 0s linear .3s;
  padding: 24px;
}
.mobile-nav.open {
  right: 0;
  visibility: visible;
  transition: right .3s ease, visibility 0s linear 0s;
}
.mobile-nav-close {
  position: absolute; top: 18px; right: 18px;
  color: var(--white); font-size: 20px;
}
.mobile-nav-list {
  margin-top: 60px;
}
.mobile-nav-list a {
  display: block;
  padding: 16px 0;
  font-family: var(--display);
  font-size: 18px; font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--white-70);
}
.mobile-nav-list a:hover, .mobile-nav-list a.active { color: var(--accent); }

/* COMMON LABEL */
.label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.label::before {
  content: ''; width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 12px var(--accent);
}

/* BUTTONS */
.btn {
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .15s; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white-70);
  border: 1px solid var(--line-2);
}
.btn-outline:hover { color: var(--white); border-color: var(--white); }
.btn-ghost { background: var(--bg-3); color: var(--white); }
.btn-ghost:hover { background: var(--bg-4); }
.btn-full { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 14px; }

/* HERO (shared) */
.page-hero {
  padding: 56px 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 360px at 50% 0%, rgba(255,122,31,0.10), transparent 70%);
}
.page-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 16px 0;
}
.page-title .hex { color: var(--accent); }
.page-sub {
  color: var(--white-50);
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* HOMEPAGE HERO */
.home-hero {
  padding: 48px 0 24px;
  text-align: center;
  background: radial-gradient(1000px 500px at 50% 20%, rgba(255,122,31,0.10), transparent 60%);
  position: relative;
}
.home-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 24px 0 28px;
  max-width: 980px;
  margin-left: auto; margin-right: auto;
}
.home-title .hex { color: var(--accent); }
.home-sub {
  color: var(--white-70);
  font-size: clamp(15px, 1.8vw, 17px);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}
.home-cta-row {
  display: flex; justify-content: center; gap: 12px;
  margin-top: 40px; flex-wrap: wrap;
}
.home-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 720px; margin: 40px auto 0;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.home-stat .num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.home-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* SECTION */
.section {
  padding: 32px 0;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 14px 0 12px;
}
.section-head p {
  color: var(--white-50);
  font-size: 15px;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s;
}
.feature:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.feature-ic {
  width: 48px; height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.55;
}

/* PROCESS STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step h4 {
  font-family: var(--display);
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  font-size: 13px;
  color: var(--white-50);
}

/* CTA STRIP */
.cta-strip {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.cta-strip h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  position: relative;
}
.cta-strip p {
  color: var(--white-50);
  font-size: 14px;
  position: relative;
}
.cta-strip .actions {
  display: flex; gap: 12px; justify-content: flex-end;
  position: relative;
}

/* SHOP HERO */
#shop-hero {
  padding: 80px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 360px at 50% 0%, rgba(255,122,31,0.10), transparent 70%);
}
.shop-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.shop-title .hex { color: var(--accent); }
.shop-sub {
  color: var(--white-50);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

#shop-body { padding: 48px 0 56px; }

/* FILTERS */
.filters-bar {
  display: flex; gap: 12px;
  margin-bottom: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-search {
  flex: 1; min-width: 240px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.filter-search::placeholder { color: var(--white-35); }
.filter-search:focus { outline: none; border-color: var(--accent); }
.filter-select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 13px 38px 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff80' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  min-width: 180px;
}
.filter-select:focus { outline: none; border-color: var(--accent); }
.view-toggles {
  display: flex; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.vtoggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--white-35);
  transition: all .15s;
}
.vtoggle.on { background: var(--bg-3); color: var(--accent); }
.vtoggle:hover { color: var(--white); }
.vtoggle svg { width: 16px; height: 16px; }

.results-info {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.results-info strong { color: var(--white); font-weight: 600; }

/* PRODUCT GRID */
.prod-grid-shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.prod-grid-shop.list-view { grid-template-columns: 1fr; }
.prod-grid-shop.list-view .prod-card { flex-direction: row; }
.prod-grid-shop.list-view .prod-img { width: 200px; aspect-ratio: 1; flex-shrink: 0; border-bottom: none; border-right: 1px solid var(--line); }
.prod-grid-shop.list-view .prod-info { flex: 1; }

.prod-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  display: flex; flex-direction: column;
  position: relative;
  cursor: pointer;
}
.prod-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(255,122,31,0.10);
}
.prod-img {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,122,31,0.10), transparent 70%),
    var(--bg-3);
  display: grid; place-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.prod-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}
.hex-shape {
  width: 92px; height: 104px;
  background: linear-gradient(180deg, #f8f8f8 0%, #b8b8b8 30%, #707070 50%, #b8b8b8 70%, #e0e0e0 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  text-align: center; padding: 0 10px;
  font-size: 14px; line-height: 1.1;
  position: relative; z-index: 1;
  box-shadow: 0 10px 40px rgba(255,122,31,0.30);
}
.hex-shape::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: radial-gradient(circle at 30% 30%, rgba(255,122,31,0.5), rgba(255,122,31,0.15) 55%, transparent 75%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  pointer-events: none;
}
.hex-shape > span,
.hex-shape > * { position: relative; z-index: 2; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.prod-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.1em;
  z-index: 2;
}
.prod-tag.stock-badge.sold { background: rgba(220,38,38,0.18); border-color: rgba(220,38,38,0.55); color: #fca5a5; }
.prod-tag.stock-badge.pre  { background: rgba(245,158,11,0.16); border-color: rgba(245,158,11,0.5);  color: #fcd34d; }
.prod-tag.stock-badge.low  { background: rgba(34,197,94,0.14);  border-color: rgba(34,197,94,0.45);  color: #86efac; }
.prod-card.sold-out { opacity: 0.78; }
.prod-card.sold-out .prod-img .hex-shape { filter: grayscale(0.4); }
.prod-stock-note {
  font-family: var(--mono); font-size: 11px; color: #fcd34d;
  letter-spacing: 0.04em; margin-top: 4px;
}
.add-btn.notify-btn { background: var(--bg-3); color: var(--white); border: 1px solid var(--line-2); }
.add-btn.notify-btn:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* Product reviews (product modal) */
.pd-reviews {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
}
.pd-reviews-loading {
  font-family: var(--mono); font-size: 11px; color: var(--white-50);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pd-reviews-head {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 14px;
}
.pd-reviews-head h3 {
  font-family: var(--display); font-size: 18px; color: var(--white); margin: 0;
}
.pd-reviews-summary { text-align: right; }
.pd-reviews-avg {
  font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--white);
}
.pd-reviews-avg .pd-stars { font-size: 16px; }
.pd-stars .rs { color: var(--line-2); }
.pd-stars .rs.on { color: var(--accent); }
.pd-stars .rs.half { background: linear-gradient(90deg, var(--accent) 50%, var(--line-2) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pd-reviews-count { font-family: var(--mono); font-size: 11px; color: var(--white-50); letter-spacing: 0.08em; }
.pd-reviews-breakdown { margin: 12px 0 18px; }
.rb-row { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; padding: 3px 0; font-family: var(--mono); font-size: 11px; color: var(--white-50); }
.rb-num { text-align: right; }
.rb-bar { background: var(--bg-3); height: 6px; border-radius: 3px; overflow: hidden; }
.rb-fill { display: block; height: 100%; background: var(--accent); }
.rb-count { text-align: left; }

.pd-reviews-write-toggle {
  padding: 9px 18px; background: var(--bg-3); border: 1px solid var(--line-2);
  color: var(--white); font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border-radius: 6px; transition: all .15s;
}
.pd-reviews-write-toggle:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.pd-review-form {
  margin: 16px 0 24px; padding: 18px 20px; background: var(--bg-3);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pd-review-form .rf-row { margin-bottom: 12px; }
.pd-review-form .rf-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-review-form label {
  display: block; font-family: var(--mono); font-size: 10px;
  color: var(--white-50); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 4px;
}
.pd-review-form input, .pd-review-form textarea {
  width: 100%; padding: 9px 12px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--white); border-radius: 4px; font-family: inherit; font-size: 13px;
  resize: vertical;
}
.pd-review-form input:focus, .pd-review-form textarea:focus { outline: none; border-color: var(--accent); }
.star-input { display: inline-flex; gap: 4px; font-size: 22px; cursor: pointer; user-select: none; }
.star-input .si-star { color: var(--line-2); transition: color .12s; }
.star-input .si-star:hover, .star-input .si-star.on { color: var(--accent); }
.rf-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.rf-msg { font-family: var(--mono); font-size: 11px; }
.rf-msg.ok { color: #86efac; }
.rf-msg.err { color: #fca5a5; }

.pd-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.pd-reviews-empty {
  padding: 18px; background: var(--bg-3); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); color: var(--white-50); font-size: 13px; text-align: center;
}
.rv-card {
  padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.rv-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.rv-name { font-size: 13px; color: var(--white); font-weight: 600; }
.rv-verified {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  background: rgba(34,197,94,0.15); color: #86efac;
  border-radius: 999px; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle;
}
.rv-date { font-family: var(--mono); font-size: 11px; color: var(--white-50); }
.rv-stars { color: var(--accent); margin-bottom: 6px; font-size: 13px; }
.rv-stars .rs { color: var(--line-2); }
.rv-stars .rs.on { color: var(--accent); }
.rv-body { color: var(--white-70); font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.prod-info {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex; flex-direction: column;
}
.prod-cas {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-35);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.prod-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.prod-spec {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  margin-bottom: 8px;
}
.prod-ruo {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.8;
}
.prod-testdate {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.prod-coa-row { margin-bottom: 10px; }
.prod-coa {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.prod-coa:hover { background: var(--accent); color: var(--bg); }
.pd-coa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.pd-coa-btn:hover { background: var(--accent); color: var(--bg); }
.prod-foot {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.prod-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}
.prod-price small {
  font-size: 11px;
  color: var(--white-35);
  font-weight: 400;
  margin-left: 2px;
  font-family: var(--mono);
}
.add-btn {
  background: var(--accent);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.add-btn:hover { background: var(--white); transform: translateY(-1px); }

/* CART DRAWER */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0; visibility: hidden;
  transition: all .25s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 110;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), visibility 0s linear .35s;
  display: flex; flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .35s cubic-bezier(.16,1,.3,1), visibility 0s linear 0s;
}
.cart-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head-title { font-family: var(--display); font-size: 20px; font-weight: 700; }
.cart-close {
  font-size: 18px;
  color: var(--white-50);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.cart-close:hover { background: var(--bg-3); color: var(--white); }
.cart-discount-bar {
  padding: 14px 24px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.cart-discount-bar strong { color: var(--white); }
.cart-body {
  flex: 1; overflow-y: auto;
  padding: 0 24px;
}
.cart-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--white-50);
  font-size: 14px;
}
.cart-empty .ic { font-size: 40px; color: var(--white-35); margin-bottom: 16px; }
.cart-item {
  display: flex; gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item-img {
  width: 48px; height: 54px;
  background: linear-gradient(180deg, #f0f0f0 0%, #a8a8a8 45%, #6a6a6a 55%, #a8a8a8 75%, #d0d0d0 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: var(--accent); font-size: 22px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,122,31,0.20);
}
.cart-item-name { font-family: var(--display); font-weight: 600; font-size: 14px; }
.cart-item-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.cart-qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-3);
  border-radius: 999px;
  padding: 4px 8px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
}
.qty-btn {
  color: var(--white-70);
  width: 20px; height: 20px;
  display: grid; place-items: center;
  font-size: 14px;
}
.qty-btn:hover { color: var(--white); }
.qty-num { padding: 0 6px; min-width: 16px; text-align: center; }
.cart-item-price { font-family: var(--display); font-weight: 700; font-size: 16px; }
.cart-item-remove {
  color: var(--white-35); font-size: 12px;
  cursor: pointer; margin-left: 6px;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.discount-row { display: flex; gap: 8px; margin-bottom: 16px; }
.discount-inp {
  flex: 1; background: var(--bg-3); border: 1px solid var(--line);
  color: var(--white); padding: 10px 14px;
  border-radius: var(--radius-sm); font-size: 13px;
}
.discount-inp::placeholder { color: var(--white-35); }
.discount-inp:focus { outline: none; border-color: var(--accent); }
.discount-apply {
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--white); padding: 10px 18px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  transition: all .15s;
}
.discount-apply:hover { border-color: var(--accent); color: var(--accent); }
.cart-subtotal-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-subtotal-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cart-subtotal-val { font-family: var(--display); font-weight: 700; font-size: 22px; }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 120;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%; max-width: 440px;
  padding: 36px 32px 28px;
  text-align: center;
  position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-wide { max-width: 720px; }
.modal-top {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  color: var(--white-50);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 16px;
  z-index: 2;
}
.modal-close:hover { background: var(--bg-3); color: var(--white); }
.modal-logo { margin: 0 auto 18px; }
.modal-title { font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: var(--white-50); margin-bottom: 18px; }
.modal-promo {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
}
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.modal-tab {
  flex: 1; padding: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--white-50);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .15s;
}
.modal-tab.active { color: var(--white); border-color: var(--accent); }
.modal-form { text-align: left; }
.modal-field { margin-bottom: 14px; }
.modal-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-input, .modal-textarea, .modal-select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}
.modal-textarea { resize: vertical; min-height: 90px; }
.modal-input:focus, .modal-textarea:focus, .modal-select:focus {
  outline: none; border-color: var(--accent);
}
.modal-input::placeholder, .modal-textarea::placeholder { color: var(--white-35); }
.modal-form .btn { margin-top: 8px; }
.modal-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-35);
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* PRODUCT DETAIL MODAL */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  text-align: left;
}
.pd-img {
  aspect-ratio: 1;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  position: relative;
}
.pd-img .hex-shape { width: 130px; height: 150px; font-size: 16px; }
.pd-name { font-family: var(--display); font-size: 28px; margin-bottom: 6px; }
.pd-cas { font-family: var(--mono); font-size: 11px; color: var(--white-50); letter-spacing: 0.08em; margin-bottom: 16px; }
.pd-price { font-family: var(--display); font-size: 32px; color: var(--accent); margin-bottom: 20px; }
.pd-specs {
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.pd-spec-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-row .k { color: var(--white-50); text-transform: uppercase; letter-spacing: 0.08em; }
.pd-spec-row .v { color: var(--white); font-weight: 600; }
.pd-ruo {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.6;
}
.pd-qty {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}
.pd-qty-control {
  display: inline-flex; align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.pd-qty-control button {
  width: 32px; height: 32px;
  color: var(--white-70);
  font-size: 16px;
}
.pd-qty-control button:hover { color: var(--white); }
.pd-qty-control span {
  min-width: 32px; text-align: center;
  font-family: var(--mono); font-weight: 600;
}

/* TOAST — disabled per user request (orange oval at bottom of screen) */
.toast, .toast.show { display: none !important; }

/* TIERS */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column;
}
.tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  position: relative;
}
.tier.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--bg);
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 12px; border-radius: 999px;
}
.tier-name { font-family: var(--display); font-size: 20px; margin-bottom: 6px; }
.tier-tag { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.tier-desc { color: var(--white-50); font-size: 13px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tier ul { flex: 1; margin-bottom: 24px; }
.tier ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--white-70);
  display: flex; align-items: flex-start; gap: 10px;
}
.tier ul li::before {
  content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* LEARN CARDS */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.learn-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s;
  cursor: pointer;
}
.learn-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.learn-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; gap: 12px;
}
.learn-card .meta .dot { color: var(--white-35); }
.learn-card h3 { font-size: 19px; margin-bottom: 10px; }
.learn-card p { color: var(--white-50); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.learn-card .read-more {
  color: var(--accent);
  font-size: 13px; font-weight: 600;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 14px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-item-ic {
  width: 40px; height: 40px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item-lbl {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}
.contact-form-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details.faq-item summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  transition: transform .25s;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.7;
}

/* FOOTER */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
/* Reduce empty space between last content section and footer */
section.section:last-of-type { padding-bottom: 0; }
section.section + footer.site-footer { margin-top: 0; }
/* Body fits content — no min-height: 100vh that leaves a void on short pages */
html, body { height: auto; min-height: 0; }
.footer-brand p {
  color: var(--white-50);
  font-size: 13px;
  margin-top: 14px;
  max-width: 320px;
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a {
  color: var(--white-50);
  font-size: 13px;
  transition: color .15s;
}
.footer-grid ul a:hover { color: var(--accent); }
.footer-ruo {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-ruo strong { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-ruo { margin-top: 16px; margin-bottom: 0; }

/* CHECKOUT */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.checkout-section {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h3 {
  font-size: 16px;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.checkout-section h3 .num {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  background: var(--accent); color: var(--bg);
  border-radius: 50%;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.summary-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 110px;
}
.summary-card h3 { font-size: 16px; margin-bottom: 18px; }
.summary-item {
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.summary-item:last-of-type { border-bottom: none; }
.summary-item .summary-hex {
  width: 32px; height: 36px;
  background: linear-gradient(180deg, #e8e8e8, #888888);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: var(--accent); font-size: 16px;
}
.summary-item .nm { font-size: 13px; font-weight: 600; }
.summary-size { color: var(--white-35); font-weight: 400; font-size: 12px; margin-left: 4px; }
.summary-item .qt { font-family: var(--mono); font-size: 11px; color: var(--white-50); }
.summary-item .pr { font-family: var(--display); font-weight: 700; font-size: 14px; align-self: start; padding-top: 2px; }
.summary-item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.summary-controls {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--mono); font-size: 11px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.summary-qty-btn {
  width: 22px; height: 22px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  font-size: 14px;
  line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.summary-qty-btn:hover { border-color: var(--accent); background: var(--bg-4); }
.summary-qty-num {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  color: var(--white);
}
.summary-remove {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 8px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--white-50);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.summary-remove svg { opacity: 0.8; }
.summary-remove:hover {
  color: #fca5a5;
  border-color: rgba(220,38,38,0.4);
  background: rgba(220,38,38,0.08);
}
.summary-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.summary-totals .row {
  display: flex; justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}
.summary-totals .row.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}
.summary-totals .row.total .v { color: var(--accent); font-size: 22px; }
.co-discount-entry {
  display: flex; gap: 8px; margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.co-discount-entry .discount-inp {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
}
.co-discount-entry .discount-inp::placeholder { color: var(--white-35); }
.co-discount-entry .discount-inp:focus { outline: none; border-color: var(--accent); }
.co-discount-entry .discount-apply {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.co-discount-entry .discount-apply:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .hamburger { display: grid; }
  .header-nav, .nav-account-btn { display: none; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .tiers-grid, .learn-grid { grid-template-columns: 1fr; }
  .home-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cta-strip { grid-template-columns: 1fr; padding: 32px; }
  .cta-strip .actions { justify-content: flex-start; flex-wrap: wrap; }
  .filters-bar > * { flex: 1 1 100%; }
  .view-toggles { flex: 0 0 auto; }
  .prod-grid-shop { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-grid-shop.list-view .prod-card { flex-direction: column; }
  .prod-grid-shop.list-view .prod-img { width: 100%; border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .pd-grid { grid-template-columns: 1fr; }
  .contact-grid, .checkout-layout { grid-template-columns: 1fr; }
  .section { padding: 28px 0; }
  .summary-card { position: relative; top: 0; }
}
@media (max-width: 480px) {
  .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .hex-shape { width: 70px; height: 80px; font-size: 11px; }
  .prod-info { padding: 14px; }
  .home-stats { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ============================================================
   AGE GATE
   ============================================================ */
/* No CSS-based scroll lock — JS toggles inline overflow only while gate is mounted */
.age-gate-overlay {
  position: fixed !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: grid !important;
  place-items: center;
  padding: 20px;
  opacity: 1 !important;
  visibility: visible !important;
}
.age-gate-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,122,31,0.4);
  border-radius: var(--radius);
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(255,122,31,0.15);
  max-height: 92vh;
  overflow-y: auto;
  opacity: 1;
}
.age-gate-card .site-logo { margin: 0 auto 22px; }
.age-gate-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
  font-weight: 700;
}
.age-gate-title {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.age-gate-sub {
  color: var(--white-50);
  font-size: 14px;
  margin-bottom: 20px;
}
.age-gate-list {
  text-align: left;
  margin: 0 0 22px;
  padding: 16px 20px;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  list-style: none;
  border-left: 3px solid var(--accent);
}
.age-gate-list li {
  color: var(--white-70);
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.age-gate-list li:last-child { margin-bottom: 0; }
.age-gate-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.age-gate-list strong { color: var(--white); font-weight: 700; }
.age-gate-checkbox-row {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: left;
}
.age-gate-checkbox-row input {
  accent-color: var(--accent);
  margin-top: 3px;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.age-gate-checkbox-row label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-70);
  line-height: 1.65;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.age-gate-checkbox-row strong { color: var(--white); }
.age-gate-actions {
  display: flex; flex-direction: column; gap: 8px;
}
.age-gate-actions .btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--bg-3);
  color: var(--white-35);
}
.age-gate-actions .btn-primary:disabled:hover { transform: none; }
.age-gate-foot {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 18px;
  line-height: 1.6;
}
.age-gate-decline {
  background: transparent;
  color: var(--white-50);
  border: none;
  font-size: 12px;
  padding: 8px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 4px;
}
.age-gate-decline:hover { color: var(--danger); }

/* ============================================================
   OAUTH BUTTONS
   ============================================================ */
.oauth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-35);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.oauth-row {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 4px;
}
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  width: 100%;
}
.oauth-btn:hover { border-color: var(--accent); background: var(--bg-4); }
.oauth-btn svg, .oauth-btn img { width: 18px; height: 18px; }
.oauth-btn.google { background: #fff; color: #3c4043; }
.oauth-btn.google:hover { background: #f5f5f5; border-color: var(--accent); }
.oauth-btn.apple { background: #000; color: #fff; border-color: #2a2a2a; }
.oauth-btn.apple:hover { background: #1a1a1a; border-color: var(--accent); }

/* ============================================================
   CHECKOUT CONFIRMATION & SPINNER
   ============================================================ */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.order-confirm {
  text-align: center;
  padding: 60px 24px;
  max-width: 680px;
  margin: 0 auto;
}
.confirm-mark {
  width: 80px; height: 80px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 28px;
  box-shadow: 0 12px 40px rgba(255,122,31,0.45);
  animation: pop .4s cubic-bezier(.16,1,.3,1);
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.order-confirm h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.confirm-sub {
  color: var(--white-50);
  font-size: 15px;
  margin-bottom: 36px;
}
.confirm-sub strong { color: var(--white); }
.confirm-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
  margin-bottom: 24px;
  text-align: left;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--white-70);
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row span:last-child { color: var(--white); font-weight: 500; }
.confirm-row .mono {
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.06em;
}
.confirm-items {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
  text-align: left;
}
.confirm-item {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.confirm-item:last-of-type { border-bottom: 1px solid var(--line); }
.confirm-item-hex {
  width: 38px; height: 42px;
  background: linear-gradient(180deg, #e8e8e8, #707070);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: var(--accent); font-size: 18px;
  flex-shrink: 0;
}
.confirm-item-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.confirm-item-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.confirm-item-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
}
.confirm-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.ct-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--white-70);
}
.ct-row.discount { color: var(--accent); }
.ct-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
}
.ct-row.total span:last-child { color: var(--accent); font-size: 20px; }
.confirm-note {
  color: var(--white-50);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.confirm-actions {
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .order-confirm { padding: 40px 16px; }
  .confirm-card, .confirm-items { padding: 16px; }
  .confirm-actions { flex-direction: column; }
  .confirm-actions .btn { width: 100%; }
}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
body.overlay-open .chat-bubble,
body.overlay-open .chat-panel { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

.chat-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 62px; height: 62px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 8px 28px rgba(255,122,31,0.45);
  transition: transform .2s;
  border: 2px solid rgba(255,255,255,0.1);
  /* Promote to its own composite layer so the pulsing shadow + page scroll
     don't fight for repaints (was causing flicker/judder on scroll). */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}
.chat-bubble:hover { transform: translateZ(0) scale(1.06); }
.chat-bubble svg { width: 26px; height: 26px; color: #fff; }
.chat-bubble.open svg.chat-bubble-open-ic { display: none; }
.chat-bubble:not(.open) svg.chat-bubble-close-ic { display: none; }
.chat-bubble-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: #fff;
  color: var(--accent);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
  opacity: 0;
  transform: scale(0);
  transition: all .2s;
}
.chat-bubble.has-notif .chat-bubble-badge { opacity: 1; transform: scale(1); }
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(255,122,31,0.45); }
  50% { box-shadow: 0 8px 36px rgba(255,122,31,0.75), 0 0 0 10px rgba(255,122,31,0.08); }
}

.chat-panel {
  position: fixed;
  bottom: 102px; right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  z-index: 149;
  display: flex; flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.96);
  transform-origin: bottom right;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 24px 70px rgba(0,0,0,0.7);
  overflow: hidden;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chat-head {
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.chat-head::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.chat-head-avatar {
  width: 38px; height: 42px;
  background: linear-gradient(180deg, #f0f0f0, #a0a0a0 50%, #6a6a6a 60%, #b0b0b0 80%, #e8e8e8);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  position: relative;
}
.chat-head-info { flex: 1; }
.chat-head-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.chat-head-status {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.chat-head-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: rpulse 2s infinite;
}
.chat-close-x {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white-50);
  font-size: 18px;
  cursor: pointer;
  transition: all .15s;
}
.chat-close-x:hover { background: var(--bg-4); color: var(--white); }

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,122,31,0.04), transparent 60%),
    var(--bg-2);
}
.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.chat-msg {
  display: flex; gap: 8px;
  max-width: 88%;
  animation: chatMsgIn .25s ease;
}
@keyframes chatMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 26px; height: 30px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #d8d8d8, #707070);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  margin-top: 2px;
}
.chat-msg.user .chat-msg-avatar {
  background: var(--accent);
  color: var(--bg);
  clip-path: circle(50%);
  border-radius: 50%;
}
.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  word-wrap: break-word;
}
.chat-msg.bot .chat-msg-bubble {
  background: var(--bg-3);
  color: var(--white);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-msg-bubble {
  background: var(--accent);
  color: var(--bg);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-msg-bubble a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.chat-msg.user .chat-msg-bubble a {
  color: var(--bg);
}
.chat-msg-bubble strong { font-weight: 700; }
.chat-msg-bubble em { font-style: italic; color: var(--accent); }

.chat-typing {
  align-self: flex-start;
  display: none;
  gap: 8px;
}
.chat-typing.show { display: flex; }
.chat-typing-bubble {
  background: var(--bg-3);
  padding: 12px 16px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: flex; gap: 4px; align-items: center;
}
.chat-typing-dot {
  width: 6px; height: 6px;
  background: var(--white-50);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-quickreplies {
  padding: 0 18px 12px;
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.chat-quick {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--white-70);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.chat-quick:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.chat-input-row {
  padding: 14px 16px 12px;
  border-top: 1px solid var(--line);
  display: flex; gap: 8px;
  background: var(--bg-2);
}
.chat-input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-family: inherit;
}
.chat-input::placeholder { color: var(--white-35); }
.chat-input:focus { outline: none; border-color: var(--accent); }
.chat-send {
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.06); background: #fff; }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-send svg { width: 16px; height: 16px; }

.chat-disclaimer {
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--white-35);
  padding: 0 16px 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: var(--bg-2);
  line-height: 1.4;
}
.chat-disclaimer strong { color: var(--accent); }

@media (max-width: 600px) {
  .chat-bubble { bottom: 18px; right: 18px; width: 56px; height: 56px; }
  .chat-bubble svg { width: 22px; height: 22px; }
  .chat-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%; max-width: 100%;
    height: 100%; max-height: 100%;
    border-radius: 0;
    border: none;
  }
}
