/* ==========================================================================
   Headley's PC Parts — storefront stylesheet
   Design tokens first; everything else derives from them.
   Visual source of truth: design-reference/homepage-mockup.png
   ========================================================================== */

/* ---- Fonts (self-hosted Inter) ---- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('/fonts/inter-latin-900-normal.woff2') format('woff2'); }

/* ---- Design tokens ---- */
:root {
  /* Surfaces */
  --bg: #05060a;              /* page background — near-black graphite */
  --bg-deep: #020204;         /* announcement bar / deepest black */
  --surface: #0d0f15;         /* cards, panels */
  --surface-2: #12141c;       /* raised surfaces, inputs */
  --surface-3: #181b24;       /* hover states, chips */

  /* Borders */
  --border: #1b1e28;
  --border-2: #242836;
  --border-accent: #37306b;   /* purple-tinted */

  /* Text */
  --text: #f5f6f8;
  --text-2: #9ba1af;
  --text-3: #6a7080;

  /* Accents */
  --purple: #6b2ffc;
  --purple-2: #8b5cf6;
  --purple-soft: #a78bfa;
  --blue: #2456e8;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;

  --grad-cta: linear-gradient(135deg, #7c3aed 0%, #6b2ffc 55%, #5a1fe0 100%);
  --grad-rgb: linear-gradient(90deg, #7c3aed, #3b82f6, #22d3ee);

  /* Shape & shadow */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45);
  --glow-purple: 0 0 24px rgba(107, 47, 252, 0.35);

  /* Layout */
  --container: 1280px;
  --gutter: 24px;

  /* Type scale */
  --fs-xs: 0.72rem;    /* 11.5px */
  --fs-sm: 0.8125rem;  /* 13px */
  --fs-base: 0.9375rem;/* 15px */
  --fs-md: 1.0625rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-display: clamp(2.1rem, 9.4vw, 4.4rem);
  --fs-h2: clamp(1.5rem, 2.7vw, 2.2rem);
  --fs-hero: var(--fs-display);

  /* Rhythm */
  --section-pad: clamp(56px, 7vw, 104px);

  /* Height of the announcement + header + category nav stack. The homepage
     hero is pulled up beneath it so the environment starts at the viewport
     top; the hero's own background matches --bg, so a few px of drift here
     can never produce a visible seam. */
  --chrome-h: 152px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
  --sticky-top: 88px;   /* sticky header height + breathing room */
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--sticky-top); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple-soft); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 0.75rem; }
:focus-visible { outline: 2px solid var(--purple-2); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ==========================================================================
   Announcement bar — present, not dominant
   ========================================================================== */
.announce { position: relative; z-index: 30; background: var(--bg-deep); border-bottom: 1px solid #0d0d14; font-size: 0.7rem; }
.announce .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 30px; min-height: 34px; }
.announce-line { margin: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); letter-spacing: 0.045em; }
.announce-line .icon { width: 14px; height: 14px; color: rgba(167, 139, 250, 0.72); }
.announce-line strong { font-weight: 700; color: #c6cbd9; letter-spacing: 0.14em; text-transform: uppercase; }
.announce-secondary { position: relative; }
.announce-secondary::before {
  content: ''; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 7, 16, 0.92); border-bottom: 1px solid #101320;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header .container { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #171a2b, #0a0b14 70%);
  border: 2px solid #2b3350;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18), 0 0 18px rgba(107, 47, 252, 0.35), inset 0 0 10px rgba(59, 130, 246, 0.15);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.02rem; letter-spacing: 0.03em; color: #fff;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name .l1 { font-size: 1.22rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-name .l2 { font-size: 0.86rem; font-weight: 800; letter-spacing: 0.32em; color: var(--purple-soft); }
.brand {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.brand-lockup {
  display: block;
  width: 210px;
  height: auto;
}

.search-form { flex: 1 1 auto; max-width: 560px; position: relative; }
.search-form input {
  width: 100%; height: 42px; padding: 0 48px 0 16px;
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--radius);
  color: var(--text); font-size: var(--fs-sm);
}
.search-form input::placeholder { color: var(--text-3); }
.search-form input:focus { border-color: var(--purple-2); outline: none; box-shadow: 0 0 0 3px rgba(107, 47, 252, 0.18); }
.search-form button {
  position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px;
  background: transparent; border: 0; border-radius: 8px; color: var(--text-2);
  display: grid; place-items: center;
}
.search-form button:hover { color: #fff; background: var(--surface-3); }

.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-shrink: 0; }
.header-action { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.header-action .icon { width: 21px; height: 21px; }
.header-action:hover { color: var(--purple-soft); }
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: -7px; left: 11px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--purple); color: #fff; font-size: 0.66rem; font-weight: 800;
  border-radius: 99px; display: grid; place-items: center; line-height: 1;
}

/* ==========================================================================
   Category navigation
   ========================================================================== */
.cat-nav { position: relative; z-index: 30; background: #05060d; border-bottom: 1px solid #10131f; }
.cat-nav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav a {
  padding: 11px 12px; font-size: var(--fs-sm); font-weight: 600; color: #c3c7d2;
  white-space: nowrap; display: flex; align-items: center; gap: 5px; border-radius: 6px;
}
.cat-nav a:hover, .cat-nav a[aria-current] { color: #fff; }
.cat-nav a.is-accent { color: var(--purple-soft); }
.cat-nav a .icon { width: 13px; height: 13px; opacity: 0.8; }

/* ---- Chrome laid over the homepage hero environment ---- */
.home .announce { background: transparent; border-bottom-color: transparent; }
.home .cat-nav { background: transparent; border-bottom-color: rgba(255, 255, 255, 0.055); }
.home .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; }
.home .site-header .search-form input {
  background: rgba(13, 15, 24, 0.5); border-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header.is-stuck {
  background: rgba(6, 7, 16, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(139, 92, 246, 0.16);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}
.home .site-header.is-stuck .search-form input { background: var(--surface-2); border-color: var(--border-2); }

/* ==========================================================================
   Hero — the hardware is the environment, the copy is the foreground layer
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.home .hero { margin-top: calc(-1 * var(--chrome-h)); }

.hero-env { position: absolute; inset: 0; z-index: 0; }
.hero-env picture { display: block; width: 100%; height: 100%; }
.hero-env img {
  position: absolute; left: 0; top: -70px;
  width: 100%; height: calc(100% + 140px);
  object-fit: cover; object-position: 50% 46%;
}

/* Three-layer depth: the environment, the directional shade that carves out
   negative space for the copy, and the falloff that dissolves the hero into
   the page instead of ending on a hard edge. */
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(101deg, rgba(3, 4, 9, 0.9) 0%, rgba(3, 4, 9, 0.7) 26%, rgba(3, 4, 9, 0.2) 50%, rgba(3, 4, 9, 0) 68%),
    linear-gradient(to bottom, rgba(3, 4, 9, 0.62) 0%, rgba(3, 4, 9, 0) 24%),
    linear-gradient(to bottom, rgba(5, 6, 10, 0) 58%, rgba(5, 6, 10, 0.72) 88%, var(--bg) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: clamp(560px, 80vh, 820px);
  padding-top: calc(var(--chrome-h) + 20px);
  padding-bottom: clamp(44px, 6vh, 84px);
}
.hero-copy { max-width: 660px; }
.hero-rule {
  display: block; width: 62px; height: 2px; margin-bottom: 26px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple-2) 62%, rgba(107, 47, 252, 0));
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
}
.hero-title {
  font-size: var(--fs-display); font-weight: 900; line-height: 0.9;
  letter-spacing: -0.042em; text-transform: uppercase; margin-bottom: 20px;
  text-shadow: 0 0 70px rgba(88, 58, 214, 0.32), 0 2px 26px rgba(0, 0, 0, 0.55);
}
.hero-title .line-1 { display: block; color: #fff; white-space: nowrap; }
.hero-title .line-2 { display: block; margin-left: 0.055em; white-space: nowrap; color: #e4eaf7; }
.hero-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.26rem); line-height: 1.5; font-weight: 400;
  color: #aab2c3; max-width: 33ch; margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.095em;
  text-transform: uppercase; color: #8d95a6;
}
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust .icon { width: 16px; height: 16px; color: var(--purple-soft); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 26px; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .icon { width: 15px; height: 15px; }
.btn-lg { height: 54px; padding: 0 32px; }
.btn-primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: 0 12px 32px rgba(69, 25, 184, 0.4), inset 0 0 0 1px rgba(167, 139, 250, 0.28);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(84, 32, 220, 0.55), inset 0 0 0 1px rgba(196, 181, 253, 0.42); }
.btn-outline { background: rgba(18, 20, 28, 0.6); color: var(--text); border-color: var(--border-2); }
.btn-outline:hover { color: #fff; border-color: var(--purple-2); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.045); color: #e7eaf1; border-color: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.09); border-color: rgba(167, 139, 250, 0.55); transform: translateY(-2px); }
.btn-outline-accent { background: transparent; color: var(--purple-soft); border-color: rgba(139, 92, 246, 0.55); }
.btn-outline-accent:hover { color: #fff; background: rgba(107, 47, 252, 0.14); border-color: var(--purple-2); transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section-pad) 0 0; }
.section-featured { position: relative; }
.section-featured::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: 0; bottom: -10%;
  background: radial-gradient(48% 70% at 14% 78%, rgba(36, 86, 232, 0.1), transparent 70%);
}
.section-featured > .container { position: relative; z-index: 1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
.section-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.028em; line-height: 1.1; }
.section-link { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-soft); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding-bottom: 4px; }
.section-link:hover { color: #fff; }
.section-link .icon { width: 13px; height: 13px; transition: transform 0.2s var(--ease-out); }
.section-link:hover .icon { transform: translateX(3px); }

/* The first section after the hero carries the environment's light upward so
   there is no hard horizontal boundary where the hero "ends". */
.section-cats { position: relative; padding-top: clamp(36px, 4.6vw, 72px); }
.section-cats::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; top: calc(-0.7 * var(--section-pad)); height: 340px;
  background: radial-gradient(56% 100% at 70% 0%, rgba(76, 44, 170, 0.22), transparent 72%);
}
.section-cats > .container { position: relative; z-index: 1; }

/* ---- Category tiles (imagery-led, no card shell) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 244px 172px; gap: 14px; }
.cat-tile {
  position: relative; display: block; overflow: hidden; border-radius: 16px;
  background: #0b0d13; color: var(--text);
  transition: transform 0.4s var(--ease-out);
}
.cat-tile:first-child { grid-column: span 2; }
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.74) contrast(1.06) saturate(0.86);
  transition: transform 0.65s var(--ease-out), filter 0.4s ease;
}
.cat-tile:hover img { filter: brightness(0.94) contrast(1.04) saturate(1.02); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile-scrim {
  position: absolute; inset: 0; transition: background 0.35s ease;
  background:
    linear-gradient(to top, rgba(3, 4, 9, 0.95) 4%, rgba(3, 4, 9, 0.55) 46%, rgba(3, 4, 9, 0.1) 82%),
    radial-gradient(120% 90% at 78% 8%, rgba(76, 44, 170, 0.3), transparent 62%);
}
.cat-tile:hover .cat-tile-scrim {
  background:
    linear-gradient(to top, rgba(3, 4, 9, 0.92) 4%, rgba(3, 4, 9, 0.42) 48%, rgba(3, 4, 9, 0.02) 84%),
    radial-gradient(120% 90% at 78% 8%, rgba(96, 58, 210, 0.34), transparent 64%);
}
.cat-tile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.28s ease;
}
.cat-tile:hover::after { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.42), 0 0 44px rgba(107, 47, 252, 0.16); }
.cat-tile-label {
  position: absolute; left: 18px; right: 18px; bottom: 15px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.25; color: #fff;
}
.cat-tile:first-child .cat-tile-label { font-size: 1.06rem; bottom: 20px; left: 22px; }
.cat-tile-label .icon { width: 18px; height: 18px; color: var(--purple-soft); }
.cat-tile:first-child .cat-tile-label .icon { width: 22px; height: 22px; }

/* ---- Trust line ---- */
.trust-strip {
  list-style: none; margin: clamp(40px, 5vw, 66px) 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.trust-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 13px;
  align-items: center; padding: 0; border: 0;
}
.trust-item .icon { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--purple-soft); }
.trust-item b { display: block; font-size: 0.9rem; font-weight: 800; letter-spacing: -0.012em; text-transform: none; }
.trust-item span { display: block; font-size: var(--fs-xs); color: var(--text-3); }

/* ---- Product cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
  background: linear-gradient(180deg, #0c0e16 0%, #090b11 100%);
  border: 1px solid rgba(255, 255, 255, 0.055); border-radius: 14px;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.product-card:hover {
  border-color: rgba(139, 92, 246, 0.38); transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 36px rgba(107, 47, 252, 0.11);
}
.product-card-img {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: radial-gradient(72% 92% at 50% 38%, #14161f 0%, #0a0c12 76%);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-out); }
.product-card-img img[src$='.svg'] { object-fit: contain; }
.product-card:hover .product-card-img img { transform: scale(1.045); }
.product-card.is-soldout .product-card-img img { opacity: 0.4; filter: grayscale(0.45); }

.badge {
  position: absolute; top: 11px; left: 11px; z-index: 2;
  padding: 4px 9px; border-radius: 5px;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: #fff;
}
.badge-new { background: var(--purple); box-shadow: 0 0 14px rgba(107, 47, 252, 0.5); }
.badge-sale { background: var(--blue); box-shadow: 0 0 14px rgba(36, 86, 232, 0.5); }
.badge-lowstock { background: #92400e; }
.badge-openbox { background: #0e7490; }
.badge-soldout { background: #3f3f46; }

.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 16px; }
.product-card-title { font-size: 0.855rem; font-weight: 600; line-height: 1.42; margin-bottom: 10px; }
.product-grid .product-card-title { min-height: 2.84em; }
.product-card-title a { color: var(--text); }
.product-card-title a:hover { color: var(--purple-soft); }
.product-card-title a::after { content: ''; position: absolute; inset: 0; } /* whole-card link */
.price-row { display: flex; align-items: baseline; gap: 9px; }
.price { font-size: 1.26rem; font-weight: 800; letter-spacing: -0.022em; }
.price-compare { font-size: var(--fs-sm); color: var(--text-3); text-decoration: line-through; }
.product-card-meta { font-size: var(--fs-xs); color: var(--text-3); margin-top: 3px; }
.product-card-meta .stock-low { color: var(--amber); font-weight: 600; }
.product-card-meta .stock-out { color: var(--text-3); font-weight: 600; }
.product-card-actions { margin-top: auto; padding-top: 14px; position: relative; z-index: 2; }
.add-to-cart-btn {
  width: 100%; height: 42px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
}
.add-to-cart-btn:hover { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(69, 25, 184, 0.45); }
.add-to-cart-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.add-to-cart-btn[disabled]:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: var(--text); box-shadow: none; }

/* ---- eBay credibility — a full-bleed band, not a card ---- */
.ebay-band {
  position: relative; overflow: hidden;
  margin-top: var(--section-pad); padding: clamp(52px, 6vw, 88px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(68% 130% at 10% 50%, rgba(80, 45, 180, 0.24), transparent 62%),
    radial-gradient(52% 120% at 90% 50%, rgba(30, 90, 210, 0.17), transparent 66%),
    linear-gradient(180deg, #070811 0%, #0a0c18 52%, #070811 100%);
}
.ebay-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ebay-band-copy { min-width: 0; }
.ebay-band-title {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  font-size: clamp(1.35rem, 2.7vw, 2.25rem); font-weight: 800; letter-spacing: -0.032em; line-height: 1.1;
}
.ebay-word { font-size: 1.3em; font-weight: 800; letter-spacing: -0.05em; font-style: italic; }
.ebay-word .e { color: #e53238; } .ebay-word .b { color: #0064d2; } .ebay-word .a { color: #f5af02; } .ebay-word .y { color: #86b817; }
.ebay-band-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin: 12px 0 0; color: var(--text-2); font-size: var(--fs-base); }
.ebay-band-stats .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--purple-2); }

/* ---- Why shop ---- */
.section-why { padding-bottom: clamp(36px, 5vw, 64px); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(22px, 3vw, 40px); }
.why-item { display: flex; flex-direction: column; gap: 10px; }
.why-item > .icon { width: 26px; height: 26px; color: var(--purple-soft); }
.why-item b { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.012em; text-transform: none; }
.why-item span { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.55; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: clamp(40px, 5vw, 76px); background: #04040a; border-top: 1px solid #10131f; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0 34px; }
.footer-brand p { color: var(--text-3); font-size: var(--fs-sm); max-width: 34ch; margin-top: 14px; }
.footer-col h3 { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: var(--fs-sm); color: var(--text-2); }
.footer-col a:hover { color: var(--purple-soft); }
.footer-bottom { border-top: 1px solid #10131f; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--text-3); }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--purple-soft); }

/* ==========================================================================
   Shop page
   ========================================================================== */
.page-head { padding-top: 34px; padding-bottom: 6px; }
.page-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.028em; line-height: 1.1; }
.page-sub { color: var(--text-2); font-size: var(--fs-sm); margin-top: 6px; }

.shop-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; padding-top: 22px; padding-bottom: 40px; align-items: start; }
.filters-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; position: sticky; top: var(--sticky-top);
  /* A sticky panel taller than the viewport can't actually stick — cap it and
     let it scroll inside itself instead. */
  max-height: calc(100vh - var(--sticky-top) - 20px); overflow-y: auto;
}
.filters-panel h2 { font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.filter-group { padding: 13px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: 0; }
.filter-group h3 { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 9px; }
.filter-option { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.filter-option:hover { color: var(--text); }
.filter-option input { accent-color: var(--purple); width: 15px; height: 15px; }
.filter-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.filters-toggle { display: none; }
.filters-close { display: none; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.shop-count { font-size: var(--fs-sm); color: var(--text-2); }
.shop-sort { display: flex; align-items: center; gap: 9px; font-size: var(--fs-sm); color: var(--text-2); }
.shop-sort select {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2);
  border-radius: 7px; height: 36px; padding: 0 10px; font-size: var(--fs-sm);
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px;
  background: rgba(107, 47, 252, 0.12); border: 1px solid var(--border-accent); border-radius: 99px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--purple-soft);
}
.filter-chip:hover { color: #fff; }
.filter-chip .icon { width: 11px; height: 11px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 30px 0 6px; }
.pagination a, .pagination span.current {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-size: var(--fs-sm); font-weight: 600;
}
.pagination a:hover { border-color: var(--purple-2); color: #fff; }
.pagination span.current { background: var(--grad-cta); border-color: transparent; color: #fff; }
.pagination .ellip { color: var(--text-3); }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .icon { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--text-3); }
.empty-state h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.022em; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); margin-bottom: 22px; }
.empty-state .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.breadcrumbs { padding-top: 20px; font-size: var(--fs-xs); color: var(--text-3); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs a:hover { color: var(--purple-soft); }
.breadcrumbs .sep { opacity: 0.5; }

.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 38px; padding-top: 22px; padding-bottom: 30px; align-items: start; }
.pdp-gallery { position: sticky; top: var(--sticky-top); }
.pdp-main-img { background: #101218; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.pdp-main-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pdp-main-img img[src$='.svg'] { object-fit: contain; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb { width: 76px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #101218; padding: 0; }
.pdp-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-thumb[aria-current] { border-color: var(--purple-2); box-shadow: 0 0 0 2px rgba(107, 47, 252, 0.25); }

.pdp-info .badge { position: static; display: inline-block; margin-bottom: 12px; }
.pdp-title { font-size: clamp(1.45rem, 2.1vw, 1.8rem); font-weight: 800; letter-spacing: -0.022em; line-height: 1.2; margin-bottom: 11px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; font-size: var(--fs-xs); color: var(--text-3); margin-bottom: 18px; }
.pdp-meta b { color: var(--text-2); font-weight: 600; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pdp-price { font-size: 1.9rem; font-weight: 900; }
.pdp-compare { font-size: 1.05rem; color: var(--text-3); text-decoration: line-through; }
.pdp-save { font-size: var(--fs-xs); font-weight: 700; color: var(--green); }

.stock-line { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; margin: 10px 0 20px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.stock-line.in .stock-dot { background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, 0.7); }
.stock-line.low .stock-dot { background: var(--amber); box-shadow: 0 0 8px rgba(251, 191, 36, 0.7); }
.stock-line.out .stock-dot { background: var(--text-3); }
.stock-line.low { color: var(--amber); }
.stock-line.out { color: var(--text-2); }

.buy-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 22px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.qty-select { display: flex; align-items: center; gap: 10px; }
.qty-select label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.qty-select select { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); border-radius: 8px; height: 46px; padding: 0 12px; min-width: 70px; }
.buy-row form { flex: 1; }
.buy-note { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--text-3); margin-top: 13px; }
.buy-note .icon { width: 15px; height: 15px; color: var(--purple-soft); }

.pdp-section { margin: 26px 0; }
.pdp-section h2 { font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; color: var(--text); }
.pdp-desc { color: var(--text-2); font-size: var(--fs-base); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { color: var(--text-3); font-weight: 600; width: 38%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.policy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: var(--fs-sm); color: var(--text-2); }
.policy-list li { display: flex; gap: 9px; align-items: flex-start; }
.policy-list .icon { width: 16px; height: 16px; color: var(--purple-soft); margin-top: 2px; }

/* ==========================================================================
   Cart
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding-top: 22px; padding-bottom: 44px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 13px; }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; align-items: center; }
.cart-item-img { width: 96px; border-radius: 8px; overflow: hidden; background: #101218; }
.cart-item-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cart-item-img img[src$='.svg'] { object-fit: contain; }
.cart-item-title { font-size: var(--fs-sm); font-weight: 600; }
.cart-item-meta { font-size: var(--fs-xs); color: var(--text-3); margin-top: 3px; }
.cart-item-controls { display: flex; align-items: center; gap: 13px; margin-top: 10px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: 8px; overflow: hidden; }
.qty-stepper button { width: 36px; height: 36px; background: var(--surface-2); color: var(--text); border: 0; font-weight: 700; font-size: 1rem; }
.qty-stepper button:hover { background: var(--surface-3); }
.qty-stepper input { width: 46px; height: 36px; text-align: center; background: var(--surface); color: var(--text); border: 0; border-left: 1px solid var(--border-2); border-right: 1px solid var(--border-2); font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.remove-link { font-size: var(--fs-xs); color: var(--text-3); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.remove-link:hover { color: var(--red); }
.cart-line-price { text-align: right; }
.cart-line-price .price { font-size: 1.05rem; }
.cart-line-price .each { display: block; font-size: var(--fs-xs); color: var(--text-3); }

.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: var(--sticky-top); }
.cart-summary h2 { font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 15px; }
.summary-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--text-2); padding: 7px 0; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 9px; padding-top: 13px; color: var(--text); font-weight: 800; font-size: 1.02rem; }
.summary-note { font-size: var(--fs-xs); color: var(--text-3); margin: 11px 0 15px; display: flex; gap: 7px; align-items: center; }
.summary-note .icon { width: 14px; height: 14px; color: var(--purple-soft); }

.notice { border-radius: var(--radius); padding: 13px 16px; font-size: var(--fs-sm); margin: 14px 0; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-2); display: flex; gap: 10px; align-items: flex-start; }
.notice .icon { width: 17px; height: 17px; margin-top: 1px; flex-shrink: 0; }
.notice-warn { border-color: rgba(251, 191, 36, 0.35); color: #fcd34d; background: rgba(251, 191, 36, 0.06); }
.notice-error { border-color: rgba(248, 113, 113, 0.35); color: #fca5a5; background: rgba(248, 113, 113, 0.06); }
.notice-success { border-color: rgba(52, 211, 153, 0.35); color: #6ee7b7; background: rgba(52, 211, 153, 0.06); }

/* ==========================================================================
   Checkout result & static pages
   ========================================================================== */
.result-panel { max-width: 720px; margin: 44px auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; text-align: center; }
.result-panel .result-icon { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; }
.result-panel .result-icon.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4); color: var(--green); }
.result-panel .result-icon.warn { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.35); color: var(--amber); }
.result-panel .result-icon .icon { width: 28px; height: 28px; }
.result-panel h1 { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 10px; }
.result-panel .lede { color: var(--text-2); margin-bottom: 4px; }
.order-summary-box { text-align: left; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 24px 0; }
.order-summary-box h2 { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.order-line { display: flex; justify-content: space-between; gap: 14px; font-size: var(--fs-sm); padding: 5px 0; color: var(--text-2); }
.order-line b { color: var(--text); font-weight: 600; }

.prose { max-width: 780px; padding: 10px 0 50px; color: var(--text-2); }
.prose h2 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); margin: 30px 0 10px; }
.prose h3 { font-size: var(--fs-base); font-weight: 700; color: var(--text); margin: 20px 0 7px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--purple-soft); text-decoration: underline; text-underline-offset: 3px; }
.draft-note { border: 1px dashed var(--border-accent); border-radius: var(--radius); padding: 12px 16px; font-size: var(--fs-xs); color: var(--text-3); margin-bottom: 22px; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.faq-item summary { padding: 15px 18px; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.15rem; color: var(--purple-soft); font-weight: 400; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-body { padding: 0 18px 15px; color: var(--text-2); font-size: var(--fs-sm); }

/* ==========================================================================
   Responsive
   ========================================================================== */
.site-header .container.mobile-search { display: none; min-height: 0; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-rows: 210px 158px; gap: 12px; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 26px; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pdp-gallery { position: static; }
}

/* Below this width the hero switches art direction: the portrait environment
   sits high in frame and the copy takes the open space beneath it. */
@media (max-width: 899px) {
  .hero-env img { top: 0; height: 100%; object-position: 50% 57%; }
  .hero-shade {
    background:
      linear-gradient(to bottom, rgba(3, 4, 9, 0.9) 0%, rgba(3, 4, 9, 0.66) 12%, rgba(3, 4, 9, 0.1) 25%, rgba(3, 4, 9, 0.06) 42%, rgba(3, 4, 9, 0.55) 58%, rgba(5, 6, 10, 0.95) 74%, var(--bg) 100%);
  }
  .hero-inner {
    align-items: flex-end;
    min-height: clamp(640px, 95vh, 880px);
    padding-bottom: clamp(40px, 6vh, 76px);
  }
  .hero-copy { max-width: 34rem; }
  .hero-rule { margin-bottom: 20px; }
  .hero-sub { max-width: 30ch; margin-bottom: 28px; }
  .hero-ctas { margin-bottom: 30px; }
}

@media (max-width: 860px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters-panel { position: fixed; inset: 0; z-index: 60; border-radius: 0; max-height: none; overflow-y: auto; transform: translateX(-102%); transition: transform 0.22s ease; border: 0; padding-bottom: 90px; }
  .filters-panel.is-open { transform: translateX(0); }
  .filters-panel .filters-close { display: flex; }
  .filters-toggle { display: inline-flex; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-summary { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --chrome-h: 216px; }
  .announce .container { padding-top: 7px; padding-bottom: 7px; }
  .announce { font-size: 0.66rem; }
  .announce .container { gap: 1px 26px; line-height: 1.5; }
  .announce-line { display: block; text-align: center; }
  .announce-secondary::before { display: none; }
  .announce-line .icon { display: inline-block; vertical-align: -3px; margin-right: 7px; }
  .announce-line strong { letter-spacing: 0.1em; }
  .site-header .container.mobile-search { padding-bottom: 10px; }
  .site-header .container { flex-wrap: wrap; gap: 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .search-form { display: none; }
  .site-header .container.mobile-search { display: block; padding: 0 var(--gutter) 12px; }
  .mobile-search .search-form { display: block; max-width: none; }
  .brand-lockup { width: 166px; }
  .header-action span.label { display: none; }
  .header-actions { gap: 16px; }
  .hero-title { margin-bottom: 16px; }
  .hero-ctas { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
  .hero-ctas .btn { padding: 0 14px; font-size: 0.72rem; letter-spacing: 0.07em; }
  .home .site-header .search-form input { background: rgba(9, 10, 17, 0.72); }
  .hero-trust { gap: 10px 22px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 196px repeat(3, 130px); gap: 10px; }
  .cat-tile:first-child { grid-column: span 2; }
  .cat-tile-label { left: 14px; right: 14px; bottom: 12px; font-size: 0.74rem; }
  .cat-tile:first-child .cat-tile-label { font-size: 0.95rem; left: 16px; bottom: 15px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .product-card-body { padding: 12px 12px 13px; }
  .product-grid .product-card-title { min-height: 2.84em; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ebay-band-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ebay-band-inner .btn { width: 100%; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item-img { width: 72px; }
  .cart-line-price { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .buy-row { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pagination a, .pagination span.current { min-width: 42px; height: 42px; }
}

@media (max-width: 560px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 9px; }
}

@media (max-width: 359px) {
  .trust-strip { grid-template-columns: 1fr; }
  .hero-ctas { grid-template-columns: 1fr; }
}

/* Sticky mobile buy bar on product pages */
@media (max-width: 720px) {
  .mobile-buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(8, 9, 15, 0.97); border-top: 1px solid var(--border-2);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 14px;
  }
  .mobile-buy-bar .price { font-size: 1.15rem; }
  .mobile-buy-bar form { flex: 1; }
  body.has-buy-bar { padding-bottom: 76px; }
}
@media (min-width: 721px) {
  .mobile-buy-bar { display: none; }
}

/* JS toast (progressive enhancement) */
.js-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 90;
  background: #17181f; border: 1px solid var(--border-accent); color: var(--text);
  padding: 11px 20px; border-radius: 99px; font-size: var(--fs-sm); font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(107, 47, 252, 0.2);
  animation: toast-in 0.2s ease;
}
.js-toast.is-warn { border-color: rgba(251, 191, 36, 0.4); color: #fcd34d; }
.js-toast.is-out { opacity: 0; transition: opacity 0.3s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(8px); } }

/* ==========================================================================
   Entrance reveals (JS opt-in — content is fully visible without them)
   ========================================================================== */
.will-reveal { opacity: 0; transform: translateY(20px); }
.will-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
  .hero-env img { transform: none !important; }
}

