/* Developed and designed by GHOSTY | www.prodghosty.com */
/* ============================================================
   VERTEX AUDIO - SITE CSS
   One lean stylesheet. Flat, sharp, fast. No glows, no blur,
   no animated overlays. Motion is transform and opacity only.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #05060a; --bg: #05060a; --panel: #0b0d14;
  --amber: #35e6ff; --amber-b: #35e6ff; --amber-dim: #8d96a8;
  --cream: #eef2f7; --cream-dim: #8d96a8;
  --metal: #1b202b; --free: #2dff7a; --sale: #ff3b4e;
  --line: rgba(200, 220, 255, .13); --line-2: rgba(200, 220, 255, .3);
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--cream); font-family: var(--body);
  line-height: 1.55; overflow-x: hidden; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::after, body::before { display: none !important; }
#grain { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber-b); color: #000; }
:focus-visible { outline: 2px solid var(--amber-b); outline-offset: 3px; }

/* ---------- BUTTONS ---------- */
.btn, .btn-primary, .btn-sm, .btn-ghost, .btn-add-cart, .btn-free, .nav-cta,
.checkout-submit, .cart-checkout-btn, .cookie-accept, .cookie-deny {
  font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border: 1px solid var(--amber-b); border-radius: 0;
  background: var(--amber-b); color: #05060a;
  box-shadow: none !important; text-shadow: none !important; filter: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, .btn-primary:hover, .btn-sm:hover, .btn-free:hover, .nav-cta:hover,
.checkout-submit:hover:not(:disabled), .cart-checkout-btn:hover, .cookie-accept:hover {
  background: var(--cream); border-color: var(--cream); color: #05060a; transform: none !important;
}
.btn-ghost, .btn-add-cart, .cookie-deny {
  background: transparent; color: var(--cream); border-color: var(--line-2);
}
.btn-ghost:hover, .btn-add-cart:hover, .cookie-deny:hover {
  background: transparent; color: var(--cream); border-color: var(--cream);
}
.btn-add-cart.added { border-color: var(--free); color: var(--free); }
.btn-sm { padding: .75rem 1.1rem; }
.nav-cta { padding: .7rem 1.1rem; }
.checkout-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- NAV ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(5, 6, 10, .94); border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1360px; margin: 0 auto; height: var(--nav-h);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { font-family: var(--display); font-size: 1.7rem; letter-spacing: .06em; text-decoration: none; color: var(--cream); }
.nav-logo span { color: var(--amber-b); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a, .nav-account {
  font-size: .76rem; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; color: var(--cream-dim); transition: color .15s;
}
.nav-links a:hover, .nav-links a.active, .nav-account:hover { color: var(--cream); }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.cart-icon-wrap { position: relative; cursor: pointer; color: var(--cream); display: flex; padding: 4px; }
.cart-count {
  position: absolute; top: -4px; right: -7px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--amber-b); color: #000; font-size: .65rem; font-weight: 700; border-radius: 0;
  display: none; align-items: center; justify-content: center;
}
.cart-count.has-items { display: flex; }

.mobile-menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--amber-b); }
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 9000; background: #05060a;
  display: none; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1.4rem; padding: 2rem clamp(1.5rem, 8vw, 4rem);
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
  font-family: var(--display); font-size: clamp(2.6rem, 11vw, 4rem); letter-spacing: .04em;
  color: var(--cream); text-decoration: none; line-height: 1;
}
.mobile-nav-overlay a:hover { color: var(--amber-b); }
.mobile-nav-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--amber-b); font-size: 2rem; cursor: pointer; line-height: 1; }

@media (max-width: 860px) {
  .nav-links, .nav-account, .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-right { margin-left: auto; margin-right: .6rem; }
}

/* ---------- TYPE ---------- */
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber-b); font-weight: 500; margin-bottom: 1rem; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 7rem); line-height: .92; letter-spacing: .02em; }
.section { max-width: 1360px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem); scroll-margin-top: var(--nav-h); }

/* ---------- REVEAL (only hides content when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .sale-media.reveal { transform: perspective(1000px) rotateY(-18deg) translate3d(-30px, 24px, -60px); }
.js .sale-row:nth-child(even) .sale-media.reveal { transform: perspective(1000px) rotateY(18deg) translate3d(30px, 24px, -60px); }
.js .sale-media.reveal.visible { transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--nav-h); overflow: hidden; background: var(--bg); display: flex; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 78%; pointer-events: none; opacity: .75; }
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 3vw, 3rem); align-items: center;
}
.hero-kicker { display: flex; align-items: center; gap: .9rem; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber-b); font-weight: 700; margin-bottom: 1.2rem; }
.hero-kicker::before { content: ''; width: 36px; height: 2px; background: var(--amber-b); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 9.2vw, 9rem); line-height: .86; letter-spacing: .015em; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--amber-b); }
.hero-price { display: flex; align-items: baseline; gap: .8rem; margin: 1.6rem 0 2rem; font-size: 1.1rem; color: var(--cream-dim); }
.hero-price b { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; color: var(--cream); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.stage { position: relative; height: clamp(300px, 64vh, 600px); perspective: 1200px; transform: translate3d(0, var(--sy, 0px), 0); }
.plug {
  position: absolute; display: block; text-decoration: none;
  transform: translate3d(var(--px, 0px), var(--py, 0px), var(--z, 0px)) rotateY(calc(var(--r, 0deg) + var(--ry, 0deg))) rotateX(var(--rx, 0deg));
  will-change: transform;
}
.plug img { height: 100%; width: auto; max-width: none; box-shadow: 0 34px 70px rgba(0, 0, 0, .7); animation: bob 7s ease-in-out infinite; }
.plug-label { position: absolute; left: 0; bottom: -2.1rem; font-family: var(--display); font-size: 1.5rem; letter-spacing: .06em; color: var(--cream); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.plug:hover .plug-label, .plug:focus-visible .plug-label { opacity: 1; }
.p-knock  { --z: -60px;  --r: 16deg;  left: 0;   top: 6%;  height: 54%; }
.p-purify { --z: -30px;  --r: -16deg; right: 0;  top: 0;   height: 60%; }
.p-soak   { --z: 90px;   --r: 0deg;   left: 50%; bottom: 4%; height: 52%; margin-left: -14%; }
.p-purify img { animation-delay: -2.3s; }
.p-soak img   { animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- SALE ROWS ---------- */
.sale-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.sale-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem);
  align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; border-top: 1px solid var(--line);
}
.sale-row:nth-child(even) .sale-media { order: 2; }
.tilt-wrap { perspective: 900px; }
.tilt { transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }
.sale-media { display: flex; justify-content: center; }
.sale-media img { width: auto; max-height: 460px; max-width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.sale-name { font-family: var(--display); font-weight: 400; font-size: clamp(4rem, 10vw, 9rem); line-height: .86; letter-spacing: .01em; }
.sale-tag { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-b); margin-bottom: .8rem; }
.sale-desc { max-width: 36ch; color: var(--cream-dim); margin: 1.2rem 0 1.8rem; font-size: 1.05rem; }
.sale-price { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.sale-price b { font-family: var(--display); font-weight: 400; font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--amber-b); }
.was { color: var(--cream-dim); text-decoration: line-through; font-size: 1.1rem; }
.sale-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.sale-all { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.sale-all p { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: .02em; line-height: 1; }
.sale-all p span { color: var(--amber-b); }

/* ---------- MORE PLUGINS ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(1.5rem, 4vw, 3rem); }
.more-item { display: block; text-decoration: none; }
.more-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.more-item h3 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; letter-spacing: .03em; line-height: 1; margin: 1.6rem 0 .4rem; }
.more-item p { color: var(--cream-dim); font-size: .95rem; max-width: 34ch; }
.more-price { margin-top: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--cream); }
.more-price small { color: var(--cream-dim); font-weight: 400; letter-spacing: .04em; margin-left: .4rem; }
.more-item:hover h3 { color: var(--amber-b); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; border-top: 1px solid var(--line); }
.about p { color: var(--cream-dim); font-size: 1.1rem; max-width: 46ch; margin-top: 1.4rem; }
.about img { width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.works-with { margin-top: 2rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); line-height: 2; max-width: 56ch; }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.contact .direct { margin-top: 2rem; color: var(--cream-dim); }
.contact .direct a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.contact .direct a:hover { color: var(--amber-b); border-color: var(--amber-b); }
.field { display: grid; gap: .3rem; margin-bottom: 1.2rem; }
.field label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--cream); font: inherit; font-size: 1rem;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: .7rem 0; outline: none;
  transition: border-color .15s;
}
.field select option { background: #0b0d14; color: var(--cream); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber-b); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ---------- PLUGIN PAGE ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; min-height: calc(100vh - var(--nav-h)); padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 7vw, 6rem); }
.pd-back { display: inline-block; margin-bottom: 1.6rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none; }
.pd-back:hover { color: var(--cream); }
.pd-media { display: flex; justify-content: center; }
.pd-media img { width: auto; max-width: 100%; max-height: 62vh; box-shadow: 0 34px 70px rgba(0, 0, 0, .65); }
.pd h1 { font-family: var(--display); font-weight: 400; font-size: clamp(4rem, 9vw, 8rem); line-height: .86; letter-spacing: .01em; }
.pd-tag { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-b); margin: 1rem 0 1.4rem; }
.pd-desc { color: var(--cream-dim); font-size: 1.05rem; max-width: 52ch; }
.pd-features { list-style: none; margin: 1.8rem 0; display: grid; gap: .55rem; }
.pd-features li { position: relative; padding-left: 1.3rem; font-size: .98rem; }
.pd-features li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--amber-b); }
.pd .sale-price { margin: 1.8rem 0 1.4rem; }
.pd-flag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--amber-b); color: #000; padding: .4rem .7rem; margin-bottom: 1rem; }
.pd-compat { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); line-height: 1.9; }

/* ---------- SHOP LIST ---------- */
.shop-head { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); }
.shop-list { margin-top: clamp(1.5rem, 4vw, 3rem); }
.shop-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.shop-row:last-child { border-bottom: 1px solid var(--line); }
.shop-row img { width: 170px; aspect-ratio: 4 / 3; object-fit: cover; }
.shop-row h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: .03em; line-height: 1; }
.shop-row h2 a { text-decoration: none; }
.shop-row h2 a:hover { color: var(--amber-b); }
.shop-row p { color: var(--cream-dim); font-size: .95rem; margin-top: .4rem; max-width: 50ch; }
.shop-buy { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: flex-end; }
.shop-price { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--cream); letter-spacing: .02em; }
.shop-price.sale { color: var(--amber-b); }
.shop-price small { display: block; font-family: var(--body); font-size: .74rem; letter-spacing: .08em; color: var(--cream-dim); margin-top: .3rem; text-decoration: none; }
.shop-price .was { font-family: var(--body); font-size: .9rem; margin-right: .5rem; }
.badge-sale { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: var(--amber-b); color: #000; padding: .25rem .5rem; margin-left: .8rem; vertical-align: middle; font-family: var(--body); }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: 1360px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem) 2rem; display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--display); font-size: 2rem; letter-spacing: .06em; text-decoration: none; color: var(--cream); }
.footer-nav-full, .footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer-nav-full a, .footer-legal a { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--cream-dim); }
.footer-nav-full a:hover, .footer-legal a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 1.1rem; }
.footer-social a { color: var(--cream-dim); display: flex; }
.footer-social a:hover { color: var(--amber-b); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-join { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; }
.footer-join .field { margin: 0; min-width: 240px; }
.footer-join-note { flex-basis: 100%; font-size: .78rem; color: var(--cream-dim); }
.ghosty-credit { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none; transition: color .15s; }
.ghosty-credit:hover { color: var(--cream); }
.ghost-ico { width: 18px; height: 18px; animation: ghostFloat 3.6s ease-in-out infinite; }
@keyframes ghostFloat { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-4px); } }
.footer-copy { flex-basis: 100%; font-size: .74rem; letter-spacing: .08em; color: var(--cream-dim); opacity: .7; }

/* ---------- CHECKOUT MODAL ---------- */
.checkout-overlay { position: fixed; inset: 0; z-index: 9100; background: rgba(0, 0, 0, .82); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .2s; overflow-y: auto; }
.checkout-overlay.open { opacity: 1; pointer-events: all; }
.checkout-modal { position: relative; width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--line-2); transform: translateY(14px); transition: transform .25s; margin: auto; }
.checkout-overlay.open .checkout-modal { transform: none; }
.checkout-close { position: absolute; top: .7rem; right: .8rem; width: 36px; height: 36px; background: none; border: 0; color: var(--cream-dim); font-size: 1.1rem; cursor: pointer; z-index: 2; }
.checkout-close:hover { color: var(--cream); }
.checkout-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.8rem 3.2rem 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.checkout-title { font-family: var(--display); font-size: 2.2rem; letter-spacing: .04em; line-height: 1; }
.checkout-subtitle { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); margin-top: .4rem; max-width: 22ch; }
.checkout-price { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--amber-b); }
.checkout-price-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); margin-top: .3rem; }
.checkout-body { padding: 1.6rem; }
.checkout-field { margin-bottom: 1.2rem; display: grid; gap: .4rem; }
.checkout-field label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); }
.checkout-field input { width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--cream); font: inherit; padding: .85rem 1rem; outline: none; border-radius: 0; }
.checkout-field input:focus { border-color: var(--amber-b); }
#payment-element { background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); padding: .9rem 1rem; min-height: 60px; font-size: .8rem; color: var(--cream-dim); }
.checkout-error { color: #ff6b6b; font-size: .85rem; min-height: 1.2rem; margin-bottom: .8rem; }
.checkout-submit { width: 100%; padding: 1.1rem; }
.checkout-footer { padding: 1rem 1.6rem 1.4rem; border-top: 1px solid var(--line); }
.checkout-secure { font-size: .72rem; letter-spacing: .08em; color: var(--cream-dim); text-align: center; }

/* ---------- CART ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 9050; background: rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; display: block; }
.cart-overlay.open { opacity: 1; visibility: visible; pointer-events: all; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--panel); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.cart-overlay.open .cart-panel { transform: none; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-header-title { font-family: var(--display); font-size: 1.9rem; letter-spacing: .06em; }
.cart-close { background: none; border: 0; color: var(--cream-dim); font-size: 1.2rem; cursor: pointer; padding: .3rem .5rem; }
.cart-close:hover { color: var(--cream); }
.cart-items { flex: 1; overflow-y: auto; padding: .5rem 1.4rem; }
.cart-empty { color: var(--cream-dim); padding: 2rem 0; font-size: .95rem; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item-img { width: 64px; height: 48px; object-fit: cover; }
.cart-item-name { font-family: var(--display); font-size: 1.4rem; letter-spacing: .04em; line-height: 1.1; }
.cart-item-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); }
.cart-item-price { font-weight: 700; }
.cart-item-remove { background: none; border: 0; color: var(--cream-dim); cursor: pointer; padding: .3rem; }
.cart-item-remove:hover { color: var(--sale); }
.cart-footer { padding: 1.3rem 1.4rem 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-dim); }
.cart-total-amount { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--amber-b); }
.cart-checkout-btn { width: 100%; padding: 1.1rem; }
.cart-continue { background: none; border: 0; color: var(--cream-dim); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: .4rem; }
.cart-continue:hover { color: var(--cream); }
#cart-toast { position: fixed; bottom: 1.5rem; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 90vw; transform: translateY(8px); background: var(--cream); color: #05060a; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .8rem 1.3rem; z-index: 9600; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }

/* ---------- COOKIE ---------- */
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; max-width: 360px; z-index: 9400; background: var(--panel); border: 1px solid var(--line-2); padding: 1rem 1.1rem; transform: translateY(150%); transition: transform .35s ease; display: block; }
.cookie-banner.visible { transform: none; }
.cookie-label { display: none; }
.cookie-text { font-size: .82rem; color: var(--cream-dim); }
.cookie-text a { color: var(--cream); }
.cookie-buttons { display: flex; gap: .6rem; margin-top: .8rem; }
.cookie-accept, .cookie-deny { padding: .65rem 1rem; font-size: .7rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; align-content: center; }
  .stage { height: clamp(260px, 44vh, 420px); order: 2; }
  .hero-copy { order: 1; padding-top: 1rem; }
  .sale-row, .about, .contact, .pd { grid-template-columns: 1fr; }
  .sale-row:nth-child(even) .sale-media { order: 0; }
  .more-grid { grid-template-columns: 1fr; }
  .more-item { display: grid; grid-template-columns: 42% 1fr; gap: 1.2rem; align-items: center; }
  .more-item h3 { margin-top: 0; font-size: 2rem; }
  .shop-row { grid-template-columns: 110px minmax(0, 1fr); }
  .shop-row img { width: 110px; }
  .shop-buy { grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .more-item { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .cart-item-remove { grid-column: 3; grid-row: 1; justify-self: end; }
  .cart-item-price { grid-column: 2; }
  .cookie-banner { right: 1rem; max-width: none; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plug img, .ghost-ico { animation: none; }
  .js .reveal, .js .sale-media.reveal { opacity: 1; transform: none; transition: none; }
  .tilt, .plug { transition: none; }
}

/* ---------- LESS TEMPLATE, MORE RAW ---------- */
.nav-logo { white-space: nowrap; }
.hero-kicker::before { display: none; }
.hero-kicker { background: var(--amber-b); color: #05060a; padding: .45rem .7rem; width: fit-content; letter-spacing: .2em; }
.hero h1 { text-transform: uppercase; }
.sale-row { border-top: 0; padding: clamp(2rem, 5vw, 4rem) 0; }
.sale-all { border-top: 0; }
.about, .contact { border-top: 0; }
.sale-tag { margin: 1rem 0 0; color: var(--cream-dim); }
.sale-desc { margin: .8rem 0 1.6rem; }
.text-link { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--cream-dim); border-bottom: 1px solid var(--line-2); padding: .3rem 0; margin-left: .6rem; }
.text-link:hover { color: var(--amber-b); border-color: var(--amber-b); }
.sale-name { text-transform: uppercase; }
@media (min-width: 981px) {
  .sale-copy { position: relative; z-index: 2; }
  .sale-row .sale-name { margin-right: -34%; font-size: clamp(6rem, 14vw, 13rem); }
  .sale-row:nth-child(even) .sale-name { margin-right: 0; margin-left: -34%; }
  .sale-row:nth-child(even) .sale-copy { text-align: left; }
  .sale-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sale-media img { max-height: 520px; }
}
.more-item { position: relative; }
.more-item img { aspect-ratio: auto; height: clamp(200px, 22vw, 320px); }
.more-item h3 { margin-top: -1.1rem; position: relative; z-index: 2; font-size: clamp(3rem, 5vw, 4.4rem); }
.more-item:nth-child(2) { margin-top: 3rem; }
.more-item:nth-child(3) { margin-top: 1.2rem; }
.shop-row, .shop-row:last-child { border: 0; }
.shop-row { padding: 1.2rem 0; }
@media (max-width: 980px) { .more-item h3 { margin-top: 0; } .more-item:nth-child(n) { margin-top: 0; } }

/* ---------- SCROLL TUNNEL ---------- */
.tunnel { position: relative; height: 420vh; background: var(--bg); }
.tunnel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tunnel-top { position: absolute; z-index: 5; top: calc(var(--nav-h) + 1.2rem); left: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber-b); font-weight: 700; pointer-events: none; }
.tunnel-top b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .08em; color: var(--cream); }
.tunnel-scene { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 46%; }
.t-item { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; padding: var(--nav-h) clamp(1rem, 4vw, 3rem) 0 clamp(1rem, 4vw, 3rem); will-change: transform, opacity; pointer-events: none; transform: translate3d(0, 0, -3000px); opacity: 0; }
.t-item.active .t-info, .t-item.active .t-img { pointer-events: auto; }
.t-name { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--display); font-size: clamp(9rem, 30vw, 34rem); line-height: .8; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 2px rgba(53, 230, 255, .22); white-space: nowrap; user-select: none; }
.t-img { position: relative; z-index: 2; grid-column: 2; grid-row: 1; justify-self: center; display: block; }
.t-img img { height: min(62vh, 560px); width: auto; max-width: 100%; box-shadow: 0 40px 90px rgba(0, 0, 0, .8); }
.t-info { position: relative; z-index: 3; grid-column: 1; grid-row: 1; max-width: 460px; }
.t-info h3 { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 6vw, 5.5rem); line-height: .9; letter-spacing: .02em; }
.t-info p { color: var(--cream-dim); margin: .8rem 0 1rem; max-width: 34ch; }
.t-info .sale-price { margin-bottom: 1.2rem; }
.t-info .sale-price b { font-size: clamp(4.5rem, 8vw, 7rem); }
.tunnel-hint { position: absolute; z-index: 5; bottom: 1.4rem; left: 0; right: 0; text-align: center; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim); transition: opacity .3s; pointer-events: none; }
.tunnel-hint::after { content: ''; display: block; width: 1px; height: 28px; background: var(--amber-b); margin: .6rem auto 0; animation: hint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.sale-all-wrap { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 0; }
.sale-all-wrap .sale-all { padding-top: 0; }
@media (max-width: 860px) {
  .t-item { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 1rem; padding-top: calc(var(--nav-h) + 2.5rem); }
  .t-img, .t-info { grid-column: 1; }
  .t-img { grid-row: 1; } .t-info { grid-row: 2; }
  .t-img img { height: 34vh; }
  .t-name { top: 36%; font-size: 36vw; }
  .t-info p { display: none; }
  .t-info h3 { font-size: 3rem; }
  .t-info .sale-price { margin-bottom: .8rem; } .t-info .sale-price b { font-size: 3.6rem; }
}
/* static fallback (reduced motion or no JS) */
.tunnel.static { height: auto; }
.tunnel.static .tunnel-sticky { position: static; height: auto; overflow: visible; padding: calc(var(--nav-h) + 3rem) 0 2rem; }
.tunnel.static .tunnel-scene { position: static; perspective: none; }
.tunnel.static .t-item { position: relative; inset: auto; transform: none !important; opacity: 1 !important; pointer-events: auto; padding-top: 2rem; padding-bottom: 2rem; }
.tunnel.static .t-item > * { pointer-events: auto; }
.tunnel.static .t-name, .tunnel.static .tunnel-hint { display: none; }
@media (max-width: 860px) { .tunnel.static .t-item { padding-top: 2rem; } }

/* ---------- OVERRIDES for pages that also load main.css ---------- */
.site-nav { padding: 0 !important; background: rgba(5, 6, 10, .94) !important; border-bottom: 1px solid var(--line) !important; }
.site-nav .nav-inner { display: flex !important; padding: 0 clamp(1rem, 3vw, 2.5rem) !important; gap: 2rem !important; }
.site-nav .nav-logo { font-family: var(--display) !important; font-size: 1.7rem !important; letter-spacing: .06em !important; color: var(--cream) !important; text-shadow: none !important; animation: none !important; }
.site-nav .nav-logo span { color: var(--amber-b) !important; font-size: 1em !important; letter-spacing: inherit !important; }
.site-nav .nav-links a, .site-nav .nav-account { font-family: var(--body) !important; font-size: .76rem !important; letter-spacing: .15em !important; color: var(--cream-dim) !important; }
.site-nav .nav-links a:hover, .site-nav .nav-links a.active { color: var(--cream) !important; }
.site-nav .nav-right { flex-direction: row !important; align-items: center !important; gap: 1.4rem !important; }
.site-nav .nav-cta { font-family: var(--body) !important; font-size: .78rem !important; letter-spacing: .14em !important; padding: .7rem 1.1rem !important; color: #05060a !important; border: 1px solid var(--amber-b) !important; background: var(--amber-b) !important; }
.site-nav .nav-cta:hover { background: var(--cream) !important; border-color: var(--cream) !important; }
@media (max-width: 860px) { .site-nav .nav-links, .site-nav .nav-account, .site-nav .nav-cta { display: none !important; } .site-nav .nav-right { margin-left: auto; margin-right: .6rem; } }
h1, h2, h3 { text-shadow: none; }

/* ---------- CINEMATIC LAYER ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: #05060a; }
main, header.hero, .site-footer { position: relative; z-index: 1; }
.hero, .tunnel { background: transparent; }
.site-footer { background: linear-gradient(to bottom, transparent, rgba(5, 6, 10, .92) 45%); }
.hero-wave { display: none; }
.hero h1 { font-size: clamp(4rem, 10.5vw, 10.5rem); text-shadow: 0 6px 40px rgba(0, 0, 0, .7); }
.hero-price { align-items: flex-end; margin: 1.4rem 0 .6rem; }
.hero-price span { font-family: var(--display); font-size: 2rem; letter-spacing: .06em; color: var(--cream); padding-bottom: .5rem; }
.hero-full { color: var(--cream-dim); font-size: 1rem; margin-bottom: 1.8rem; }
.hero-full s { color: var(--cream); text-decoration-thickness: 2px; text-decoration-color: var(--sale); }
.hero-full em { font-style: normal; color: var(--amber-b); font-weight: 700; }
.plug::before { content: ''; position: absolute; inset: -22%; background: radial-gradient(closest-side, rgba(53, 230, 255, .3), transparent 72%); z-index: -1; }
.plug img { box-shadow: 0 40px 80px rgba(0, 0, 0, .8), 0 0 0 1px rgba(200, 225, 255, .12); }
.t-img::before { content: ''; position: absolute; inset: -24%; background: radial-gradient(closest-side, rgba(53, 230, 255, .32), transparent 72%); z-index: -1; }
.t-img img { -webkit-box-reflect: below 6px linear-gradient(transparent 62%, rgba(255, 255, 255, .16)); box-shadow: 0 0 0 1px rgba(200, 225, 255, .14), 0 40px 90px rgba(0, 0, 0, .8); max-height: 52vh; }
.t-name { -webkit-text-stroke: 2px rgba(53, 230, 255, .3); }
.bundle { position: relative; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
.bundle-inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.bundle-price { display: flex; align-items: baseline; gap: 1.2rem; font-family: var(--display); line-height: .9; }
.bundle-price s { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--cream-dim); text-decoration-thickness: 3px; text-decoration-color: var(--sale); }
.bundle-price b { font-weight: 400; font-size: clamp(5rem, 11vw, 9rem); color: var(--amber-b); }
.bundle p { color: var(--cream-dim); max-width: 36ch; }
@media (max-width: 860px) { .bundle-inner { grid-template-columns: 1fr; } .t-img img { max-height: 30vh; } }

/* ---------- REALISM + INTRO ---------- */
.t-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--lx, 30%) var(--ly, 20%), rgba(230, 240, 255, .5), transparent 46%); mix-blend-mode: soft-light; }
.hero-inner { transform-origin: 30% 60%; will-change: transform, opacity; }
.js .hero h1 span { display: block; animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero h1 span:nth-child(2) { animation-delay: .12s; } .js .hero h1 span:nth-child(3) { animation-delay: .24s; }
.js .hero-kicker, .js .hero-price, .js .hero-full, .js .hero-cta { animation: fadeUp .9s ease both .5s; }
.js .plug { animation: plugIn 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.js .p-purify { animation-delay: .15s; } .js .p-soak { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(1.04); filter: blur(10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
@keyframes plugIn { from { opacity: 0; translate: 0 120px; scale: .7; } }
@media (prefers-reduced-motion: reduce) { .js .hero h1 span, .js .hero-kicker, .js .hero-price, .js .hero-full, .js .hero-cta, .js .plug { animation: none; } }

/* ============================================================
   HOMEPAGE FILM (scroll-driven 3D scene with HTML chapters)
   ============================================================ */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: none; background: #05060a; }
.gl #scene { display: block; }
#boot { position: fixed; inset: 0; z-index: 9999; background: #05060a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; transition: opacity .7s ease, visibility .7s; animation: bootFail .5s 6s forwards; }
#boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes bootFail { to { opacity: 0; visibility: hidden; } }
.boot-logo { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: .08em; color: var(--cream); }
.boot-logo span { color: var(--amber-b); }
.boot-pct { font-family: var(--display); font-size: 1.4rem; letter-spacing: .2em; color: var(--cream-dim); }

.film { position: relative; z-index: 1; }
.gl .film { height: 900vh; }
.gl .film-view { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.gl .film-view::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(5, 6, 10, .78) 0%, rgba(5, 6, 10, .35) 36%, transparent 58%); }

.ch-flag { display: inline-block; background: var(--amber-b); color: #05060a; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: .45rem .7rem; margin-bottom: 1.1rem; }
.ch-name, .hero-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .84; letter-spacing: .01em; }
.ch-name { font-size: clamp(4.6rem, 10.5vw, 11rem); }
.hero-title { font-size: clamp(4.4rem, 10vw, 10.5rem); }
.hero-title span { display: block; }
.hero-title .accent { color: var(--amber-b); }
.ch-tag { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-b); margin-top: .9rem; }
.ch-desc { color: var(--cream); opacity: .82; font-size: 1.05rem; max-width: 34ch; margin-top: .9rem; }
.ch-price { display: flex; align-items: baseline; gap: 1rem; margin: 1.3rem 0 1.4rem; font-family: var(--display); line-height: .9; }
.ch-price b { font-weight: 400; font-size: clamp(4.4rem, 8vw, 7.5rem); color: var(--amber-b); }
.ch-price s { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--cream-dim); text-decoration-thickness: 3px; text-decoration-color: var(--sale); }
.ch-price span { font-family: var(--body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-dim); }
.ch-price-xl b { font-size: clamp(6rem, 14vw, 13rem); }
.ch-price-xl s { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.ch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.hero-deal { display: flex; align-items: flex-end; gap: .8rem; margin: 1.2rem 0 .5rem; font-family: var(--display); line-height: .9; }
.hero-deal b { font-weight: 400; font-size: clamp(4.4rem, 8vw, 7.5rem); color: var(--cream); }
.hero-deal span { font-size: 2rem; letter-spacing: .06em; padding-bottom: .5rem; }
.ch-img { display: none; }

/* film mode */
.gl .ch { position: absolute; inset: 0; display: flex; align-items: center; padding: var(--nav-h) clamp(1.2rem, 5vw, 4.5rem) 0; visibility: hidden; transition: visibility 0s .35s; }
.gl .ch.on { visibility: visible; transition-delay: 0s; }
.gl .ch-body { max-width: 560px; }
.gl .ch.on .ch-body { pointer-events: auto; }
.gl .ch-body > * { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(8px); transition: opacity .3s ease, transform .3s ease, filter .3s ease; }
.gl .ch.on .ch-body > * { opacity: 1; transform: none; filter: none; transition: opacity .7s ease, transform .9s cubic-bezier(.16, .8, .2, 1), filter .7s ease; }
.gl .ch.on .ch-body > :nth-child(1) { transition-delay: .05s; }
.gl .ch.on .ch-body > :nth-child(2) { transition-delay: .12s; }
.gl .ch.on .ch-body > :nth-child(3) { transition-delay: .19s; }
.gl .ch.on .ch-body > :nth-child(4) { transition-delay: .26s; }
.gl .ch.on .ch-body > :nth-child(5) { transition-delay: .33s; }
.gl .ch.on .ch-body > :nth-child(6) { transition-delay: .40s; }
.gl .ch.on .ch-body > :nth-child(7) { transition-delay: .47s; }
.gl:not(.film-ready) .ch.on .ch-body > * { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(8px); }
.gl .ch-bundle { align-items: flex-end; justify-content: center; text-align: center; padding-bottom: 7vh; }
.gl .ch-bundle .ch-body { max-width: 760px; }
.gl .ch-bundle .ch-price, .gl .ch-bundle .ch-actions { justify-content: center; }
.gl .ch-bundle .ch-desc { margin-left: auto; margin-right: auto; }
.gl .ch-bundle .ch-name { font-size: clamp(3rem, 6vw, 5.5rem); }

.film-rail, .film-meter, .film-scroll { display: none; }
.gl .film-rail { display: flex; flex-direction: column; gap: .2rem; position: absolute; right: clamp(.8rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); pointer-events: auto; z-index: 4; }
.film-rail a { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; padding: .32rem 0; text-decoration: none; color: var(--cream-dim); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.film-rail a span { opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; }
.film-rail a i { width: 18px; height: 2px; background: currentColor; opacity: .45; transition: width .25s, opacity .25s, background .25s; }
.film-rail a:hover span, .film-rail a.cur span { opacity: 1; transform: none; }
.film-rail a.cur { color: var(--amber-b); }
.film-rail a.cur i { width: 40px; opacity: 1; }
.gl .film-meter { display: flex; align-items: baseline; gap: 1rem; position: absolute; left: clamp(1.2rem, 5vw, 4.5rem); bottom: 1.6rem; z-index: 4; }
.film-meter b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .1em; color: var(--cream); }
.film-meter span { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-dim); }
.gl .film-scroll { display: block; position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--cream-dim); z-index: 4; }
.gl .contact, .gl .site-footer { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .gl .film-view::before { background: linear-gradient(to top, rgba(5, 6, 10, .92) 0%, rgba(5, 6, 10, .6) 38%, transparent 62%); }
  .gl .ch { align-items: flex-end; padding: 0 1.1rem 4.6rem; }
  .gl .ch-body { max-width: none; width: 100%; }
  .ch-name { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .hero-title { font-size: clamp(3.4rem, 17vw, 5.6rem); }
  .ch-desc { font-size: .95rem; margin-top: .5rem; }
  .ch-tag { margin-top: .5rem; font-size: .7rem; }
  .ch-price { margin: .7rem 0 .8rem; } .ch-price b, .hero-deal b { font-size: 3.6rem; }
  .ch-price-xl b { font-size: 5.5rem; }
  .hero-deal { margin: .6rem 0 .3rem; } .hero-deal span { font-size: 1.5rem; padding-bottom: .3rem; }
  .hero-full { margin-bottom: 1rem; font-size: .92rem; }
  .ch-flag { margin-bottom: .7rem; font-size: .66rem; }
  .gl .film-rail, .gl .film-scroll { display: none; }
  .gl .film-meter { left: 1.1rem; bottom: 1.1rem; }
  .gl .ch-bundle { padding-bottom: 4.6rem; }
  .ch-actions .btn, .ch-actions .btn-add-cart, .ch-actions .btn-ghost { padding: .9rem 1.1rem; }
}

/* fallback: no WebGL or reduced motion. Plain stacked sections with real images. */
html:not(.gl) #boot { display: none; }
html:not(.gl) .film { padding-top: var(--nav-h); }
html:not(.gl) .ch { max-width: 1360px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }
html:not(.gl) .ch-unit .ch-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
html:not(.gl) .ch-unit .ch-body > * { grid-column: 1; }
html:not(.gl) .ch-unit .ch-img { display: block; grid-column: 2; grid-row: 1 / span 7; width: auto; max-height: 480px; justify-self: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
html:not(.gl) .ch-flag { justify-self: start; }
@media (max-width: 860px) {
  html:not(.gl) .ch-unit .ch-body { grid-template-columns: 1fr; }
  html:not(.gl) .ch-unit .ch-img { grid-column: 1; grid-row: auto; margin: 1rem 0; max-height: 320px; justify-self: start; }
}

.past-hero .film-scroll { opacity: 0; }
.film-scroll { transition: opacity .3s; }
@media (max-width: 860px) {
  .cookie-banner { top: calc(var(--nav-h) + .6rem); bottom: auto; left: .6rem; right: .6rem; max-width: none; padding: .7rem .8rem; transform: translateY(-260%); display: flex; align-items: center; gap: .8rem; }
  .cookie-banner.visible { transform: none; }
  .cookie-text { font-size: .72rem; line-height: 1.35; }
  .cookie-buttons { margin-top: 0; flex-shrink: 0; flex-direction: column; gap: .35rem; }
  .cookie-accept, .cookie-deny { padding: .5rem .7rem; font-size: .62rem; }
}
.film-rail a { flex-direction: row-reverse; justify-content: flex-start; }

/* accent follows the plugin on screen */
.btn, .nav-cta, .ch-flag, .checkout-submit, .cart-checkout-btn, .cookie-accept { transition: background .6s ease, border-color .6s ease, color .15s; }
.ch-price b, .hero-title .accent, .nav-logo span, .film-rail a.cur { transition: color .6s ease; }

/* keep the chapter type inside short or very wide windows */
@media (min-width: 861px) {
  .hero-title { font-size: clamp(3.4rem, min(10vw, 14.5vh), 10.5rem); }
  .ch-name { font-size: clamp(3.4rem, min(10.5vw, 17vh), 11rem); }
  .ch-price b, .hero-deal b { font-size: clamp(3.2rem, min(8vw, 11vh), 7.5rem); }
  .ch-price-xl b { font-size: clamp(4.5rem, min(14vw, 20vh), 13rem); }
  .ch-price-xl s { font-size: clamp(2rem, min(5vw, 7vh), 4.5rem); }
}
@media (min-width: 861px) and (max-height: 760px) {
  .ch-desc { font-size: .95rem; margin-top: .5rem; } .ch-price { margin: .7rem 0 .9rem; } .hero-full { margin-bottom: 1rem; } .ch-flag { margin-bottom: .7rem; }
}
.film-rail a.cur span { opacity: 0; transform: translateX(8px); }
.film-rail a:hover span { opacity: 1; transform: none; }

.ch-compat { margin-top: 1rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.gl .ch-outro .ch-name { font-size: clamp(3rem, min(7vw, 11vh), 6.5rem); }
.gl .ch-outro .ch-desc { max-width: 52ch; }
.gl .ch-outro .ch-actions { margin-top: 1.4rem; }
.shop-note { color: var(--cream-dim); max-width: 70ch; margin-top: 1rem; }

/* ---------- seamless homepage: one fixed scrim, no section edges ---------- */
.gl .film-view::before { display: none; }
.scene-scrim { display: none; }
.gl .scene-scrim { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to right, rgba(5, 6, 10, .78) 0%, rgba(5, 6, 10, .35) 36%, transparent 58%); }
@media (max-width: 860px) { .gl .scene-scrim { background: linear-gradient(to top, rgba(5, 6, 10, .92) 0%, rgba(5, 6, 10, .6) 38%, transparent 62%); } }
.gl .site-footer { border-top: 0; background: transparent; }
.gl .site-nav { border-bottom: 0 !important; background: linear-gradient(to bottom, rgba(5, 6, 10, .85), transparent) !important; }
.gl .contact { border: 0; }
.gl .ch-outro .ch-body { max-width: 1040px; }
.gl .ch-outro .ch-name { font-size: clamp(2.2rem, min(5vw, 8vh), 4.8rem); }

/* ---------- footer on account, success and legal pages: match the rest of the site ---------- */
.site-footer { padding: 0; }
.site-footer .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; max-width: 1360px; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem) 2rem; gap: 1.6rem 3rem; }
.site-footer .footer-logo { text-shadow: none !important; letter-spacing: .06em; color: var(--cream); }
.site-footer .footer-legal { border-top: 0; padding-top: 0; width: auto; justify-content: flex-start; }
.site-footer .footer-legal a, .site-footer .footer-nav-full a { font-family: var(--body); font-size: .74rem; letter-spacing: .14em; opacity: 1; color: var(--cream-dim); }
.site-footer .footer-social a { opacity: 1; }
.site-footer .footer-copy { font-family: var(--body); font-size: .74rem; letter-spacing: .08em; opacity: .7; text-align: left; }
.ghost-ico { width: 26px; height: auto; }

/* ---------- shop page: bigger, color follows the plugin under the pointer ---------- */
.shop-head h1 { font-size: clamp(4.5rem, 12vw, 12rem); }
.shop-list { margin-top: clamp(2rem, 5vw, 4rem); }
.shop-row { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.4rem, 3vw, 2.6rem) 0; transition: opacity .3s; }
.shop-list:hover .shop-row { opacity: .45; }
.shop-list:hover .shop-row:hover { opacity: 1; }
.shop-img { display: block; perspective: 900px; }
.shop-row img { width: 100%; aspect-ratio: auto; height: auto; max-height: 300px; object-fit: contain; object-position: left center; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .7)); transition: transform .25s ease-out; }
.shop-row h2 { font-size: clamp(3rem, 6vw, 6rem); transition: color .3s; }
.shop-row:hover h2 a { color: var(--amber-b); }
.shop-row p { font-size: 1.05rem; max-width: 44ch; }
.shop-price { font-size: clamp(2.6rem, 4vw, 4rem); }
.shop-buy { flex-direction: column; align-items: flex-end; gap: .9rem; }
.shop-buy > div:last-child, .shop-buy .btn-sm { }
.shop-btns { display: flex; gap: .6rem; }
@media (max-width: 980px) {
  .shop-row { grid-template-columns: 1fr; }
  .shop-row img { max-height: 240px; }
  .shop-buy { align-items: flex-start; grid-column: auto; }
  .shop-list:hover .shop-row { opacity: 1; }
}

/* ---------- shop page over the live 3D scene ---------- */
.film-backdrop { display: none; }
.gl .shop-head, .gl .pd-more { position: relative; z-index: 1; }
.shop-buy .ch-price { margin: 0; justify-content: flex-end; }
.shop-buy .ch-price b { font-size: clamp(2.4rem, 3.4vw, 3.6rem); }
.shop-buy .ch-price s { font-size: 1.2rem; text-decoration-thickness: 2px; }
.shop-buy .ch-price span { font-size: .66rem; }
.shop-row h2 a { text-decoration: none; }
@media (min-width: 981px) {
  .gl .shop-head { min-height: 100vh; }
  .gl .shop-list { max-width: min(820px, 54vw); }
  .gl .shop-row { grid-template-columns: minmax(0, 1fr) auto; opacity: .42; padding: clamp(1rem, 2.2vh, 1.8rem) 0; }
  .gl .shop-row .shop-img { display: none; }
  .gl .shop-row.cur, .gl .shop-list:hover .shop-row.cur { opacity: 1; }
  .gl .shop-list:hover .shop-row { opacity: .42; }
  .gl .shop-row.cur h2 a { color: var(--amber-b); }
  .gl .shop-row h2 { font-size: clamp(2.6rem, min(5vw, 8vh), 5rem); }
  .gl .shop-head h1 { font-size: clamp(3.4rem, min(9vw, 13vh), 9rem); }
}
@media (max-width: 980px) { .shop-buy .ch-price { justify-content: flex-start; } }

/* ---------- plugin page: one-shot film, details underneath ---------- */
.pd-back { display: block; margin-bottom: 1.2rem; }
.gl .ch.on .ch-body > :nth-child(8) { transition-delay: .54s; }
.gl .ch.on .ch-body > :nth-child(9) { transition-delay: .61s; }
.pd-more { padding-top: clamp(3rem, 7vw, 6rem); }
.pd-more .h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.pd-more .pd-features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; max-width: 900px; }
@media (max-width: 700px) { .pd-more .pd-features { grid-template-columns: 1fr; } }
html:not(.gl) .film-single .ch { padding-top: calc(var(--nav-h) + 2rem); }

/* handwritten line on the last homepage stop */
.ch-hand { font-family: 'Homemade Apple', 'Segoe Script', cursive; font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1.5; color: var(--cream); margin: 1rem auto .4rem; transform: rotate(-2.5deg); }
/* plugin under the pointer in the 3D scene is clickable */
.scene-hover body, html.scene-hover { cursor: pointer; }

