/* ═══════════════════════════════════════════════════════
   THEATRE — Redesigned Experience
   Premium dark aesthetic · sophisticated scroll
   ═══════════════════════════════════════════════════════ */

/* ── Fonts ── */
@font-face {
  font-family: 'Dharma Gothic M';
  src: url('fonts/Dharma Gothic M/DharmaGothicM_Regular_R.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Dharma Gothic M';
  src: url('fonts/Dharma Gothic M/DharmaGothicM_Bold_R.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'ABC Monument Grotesk';
  src: url('fonts/ABC Monument Grotesk/ABCMonumentGrotesk-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'ABC Monument Grotesk';
  src: url('fonts/ABC Monument Grotesk/ABCMonumentGrotesk-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'ABC Monument Grotesk';
  src: url('fonts/ABC Monument Grotesk/ABCMonumentGrotesk-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* ── Reset & Variables ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --bg-2: #000000;
  --bg-3: #050505;
  --fg: #e8e8e8;
  --fg-dim: #777777;
  --fg-muted: #444444;
  --red: #BB0000;
  --red-glow: rgba(187, 0, 0, 0.35);
  --red-hover: #dd2222;
  --sans: 'ABC Monument Grotesk', -apple-system, sans-serif;
  --display: 'Dharma Gothic M', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --section-gap: 100px;
  --section-padding: 60px;
  --header-transform: uppercase;
  --reveal-speed: 0.5s;
}

html {
  scroll-padding-top: 80px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Global form input readability ──
   Ensures inputs + placeholders are visible over any background (light images, dark solids, gradients) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
  background: var(--form-input-bg, rgba(0, 0, 0, 0.55)) !important;
  color: var(--fg, #e8e8e8);
  border-color: rgba(255, 255, 255, 0.18) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ══════════════════════════════════════
   PAGE TRANSITION
   ══════════════════════════════════════ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  will-change: transform;
}

.page-transition.active {
  pointer-events: all;
  animation: pageWipeIn 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.page-transition.active-out {
  animation: pageWipeOut 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.page-transition__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
}

.page-transition.active .page-transition__bar {
  animation: barSweep 0.6s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageWipeIn {
  0% {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@keyframes pageWipeOut {
  0% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: top;
  }
}

@keyframes barSweep {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* Page entry reveal */
body.page-entering {
  opacity: 0;
}

body.page-entered {
  animation: pageReveal 0.8s var(--ease-expo) forwards;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff4444);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ── Nav ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  transition: background 0.4s, padding 0.4s;
  background: rgba(10, 10, 10, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#nav.scrolled {
  /* values applied dynamically via JS from CMS nav.scrolledStyle */
}

.nav-logo img {
  height: 28px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.nav-logo:hover img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.7;
  transition: color 0.3s, opacity 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover {
  color: #ffffff;
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--red);
  opacity: 1;
}

.nav-links a.active::after {
  width: 100%;
}

#navCategoryLinks {
  display: contents;
}

/* ── Nav Cart Button ── */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--fg-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 0;
  transition: color 0.3s, background 0.3s;
  margin-left: 16px;
}

.nav-cart:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cart svg {
  display: block;
}

.nav-cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--sans);
  line-height: 16px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Nav Hamburger ── */
.nav-hamburger {
  display: none;
  /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  z-index: 1002;
}

.nav-hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

/* Hamburger → X animation */
.nav-hamburger.active .nav-hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu--open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu--open .mobile-menu__backdrop {
  opacity: 1;
}

/* Fullscreen style (default) */
.mobile-menu__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu--open .mobile-menu__content {
  opacity: 1;
  transform: scale(1);
}

/* Slide-right variant */
.mobile-menu--slide-right .mobile-menu__content {
  inset: 0 0 0 auto;
  width: 320px;
  max-width: 85vw;
  background: var(--bg);
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px 40px 40px;
  transform: translateX(100%);
}

.mobile-menu--slide-right.mobile-menu--open .mobile-menu__content {
  transform: translateX(0);
}

/* Dropdown variant */
.mobile-menu--dropdown .mobile-menu__backdrop {
  background: transparent;
}

.mobile-menu--dropdown .mobile-menu__content {
  inset: 60px 0 auto 0;
  height: auto;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 32px 40px;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateY(-20px);
}

.mobile-menu--dropdown.mobile-menu--open .mobile-menu__content {
  transform: translateY(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-menu__nav a {
  font-family: var(--display);
  font-size: clamp(42px, 10vw, 72px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
  line-height: 1.1;
}

.mobile-menu__nav a:hover {
  opacity: 1;
  color: var(--red);
}

.mobile-menu__nav>span {
  display: contents;
}

/* Slide-right variant nav styling */
.mobile-menu--slide-right .mobile-menu__nav {
  text-align: left;
  gap: 20px;
}

.mobile-menu--slide-right .mobile-menu__nav a {
  font-size: clamp(32px, 8vw, 48px);
}

/* Dropdown variant nav styling */
.mobile-menu--dropdown .mobile-menu__nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.mobile-menu--dropdown .mobile-menu__nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* ── Nav Layout Variants ── */
#nav.nav--center {
  justify-content: center;
}

#nav.nav--center .nav-links {
  margin: 0 auto;
}

#nav.nav--center .nav-logo {
  position: absolute;
  left: 40px;
}

#nav.nav--left {
  justify-content: flex-start;
  gap: 32px;
}

/* ── Nav Underlay Variants ── */
#nav.nav--gradient {
  background: linear-gradient(to bottom,
      var(--nav-gradient-start, rgba(0, 0, 0, 0.8)),
      var(--nav-gradient-end, transparent)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#nav.nav--solid {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#nav.nav--transparent {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── Nav Link Hover Variants ── */
.nav-links--hover-color a::after {
  display: none !important;
}

.nav-links--hover-glow a::after {
  display: none !important;
}

.nav-links--hover-glow a:hover {
  text-shadow: 0 0 12px var(--red), 0 0 24px var(--red-glow);
}

.nav-links--hover-none a::after {
  display: none !important;
}

/* ── Footer Layout Variants ── */
.footer--centered .footer-inner {
  text-align: center;
  align-items: center;
}

.footer--centered .footer-social {
  justify-content: center;
}

/* ── Reveal Animations ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--reveal-speed) var(--ease-out), transform var(--reveal-speed) var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Alternate reveal directions */
[data-reveal="left"] {
  transform: translateX(-60px) translateY(0);
}

[data-reveal="left"].revealed {
  transform: translateX(0) translateY(0);
}

[data-reveal="right"] {
  transform: translateX(60px) translateY(0);
}

[data-reveal="right"].revealed {
  transform: translateX(0) translateY(0);
}

[data-reveal="scale"] {
  transform: scale(0.85);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* Stagger children */
[data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

[data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}

[data-reveal]:nth-child(4) {
  transition-delay: 0.3s;
}

/* ── Section shared ── */
.section {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 60px;
  margin-bottom: var(--section-gap);
}

.section:last-child {
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  padding: 48px 40px 24px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--fg);
  line-height: 1;
  text-transform: var(--header-transform, uppercase);
}

.section-subtitle {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  margin-top: 16px;
  text-transform: var(--header-transform, uppercase);
}

/* Strikethrough inherits text color */
s,
strike,
[style*="line-through"] {
  text-decoration-color: currentColor;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 30px var(--red-glow);
}

.btn--primary:hover {
  background: var(--red-hover);
  box-shadow: 0 0 50px var(--red-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg-muted);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ══════════════════════════════════════
   HERO — Product-Forward
   ══════════════════════════════════════ */
.section--hero {
  min-height: var(--hero-height, 50vh);
  height: auto;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Split layout hero */
.hero-content--split {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 0 60px;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: var(--header-transform, uppercase);
  color: var(--fg-dim);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-transform: var(--header-transform, uppercase);
}

.hero-title-line {
  display: inline-block;
  margin-right: 0.15em;
}

.hero-title-accent {
  display: inline-block;
  color: var(--fg);
  font-size: 1em;
  letter-spacing: 0.06em;
  margin-left: -0.05em;
}

.hero-sub {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: var(--header-transform, uppercase);
  color: var(--red);
  margin-bottom: 40px;
  white-space: nowrap;
}

.hero-product {
  flex: 0 0 auto;
  position: relative;
  display: block;
  cursor: pointer;
}

.hero-product-img {
  width: 400px;
  max-width: 40vw;
  border-radius: 0;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 60px var(--red-glow);
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-product:hover .hero-product-img {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 80px var(--red-glow);
}

@keyframes heroFloat {

  0%,
  100% {
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(0);
  }

  50% {
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(-15px);
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-scroll-hint span {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: var(--header-transform, uppercase);
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-line {
  width: 1.5px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ══════════════════════════════════════
   HOME
   ══════════════════════════════════════ */
.section--home {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
}

.home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.home-brand-img {
  width: 100%;
  max-width: 480px;
  filter: brightness(0.9);
  border-radius: 0;
}

.home-tagline {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.home-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 36px;
  max-width: 440px;
}

/* ══════════════════════════════════════
   KITS — Adaptive Grid (max 4 per row)
   ══════════════════════════════════════ */
.section--kits {
  background: var(--bg-2);
  padding: 0;
  min-height: auto;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 0 60px 40px;
  max-width: 1600px;
  margin: 0 auto;
}

.product-grid>.kit-card {
  width: calc(25% - 24px);
  /* 4-col baseline: (100% - 3×32px gap) / 4 */
}

.kit-card {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-3);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.kit-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.kit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover .kit-card-img img {
  filter: brightness(0.5);
}

.kit-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover .kit-card-overlay {
  opacity: 1;
}

.kit-card-overlay span {
  font-family: var(--display);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover .kit-card-overlay span {
  color: #fff;
}

/* ── Kit Card Footer — Red Wipe Effect ── */
.kit-card-info {
  position: relative;
  padding: 20px 24px 20px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Red wipe background — slides in from left */
.kit-card-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FF0000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.kit-card:hover .kit-card-info::before {
  transform: scaleX(1);
}

.kit-card-info-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  text-align: left;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover .kit-card-info-text {
  transform: translateX(16px);
}

.kit-card-info h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover .kit-card-info h3 {
  color: #000;
}

.kit-card-info p {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card:hover .kit-card-info p {
  color: rgba(0, 0, 0, 0.6);
}

/* ── Plus Button ── */
.kit-card-plus {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: #FF0000;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card-plus svg {
  width: 16px;
  height: 16px;
  stroke: #000;
  stroke-width: 2.5;
  transition: stroke 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kit-card-check-icon {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kit-card:hover .kit-card-plus {
  background: #000;
  border-color: transparent;
}

.kit-card:hover .kit-card-plus svg {
  stroke: #fff;
}

/* Plus button own hover — red fill, black border */
.kit-card-plus:hover {
  background: #FF0000 !important;
  border-color: #000 !important;
}

.kit-card-plus:hover svg {
  stroke: #000 !important;
}

/* ── Add-to-cart checkmark state ── */
.kit-card-plus--added {
  background: #22c55e !important;
  border-color: transparent !important;
}

.kit-card-plus--added svg {
  stroke: #fff !important;
}

/* ══════════════════════════════════════
   WORKS — Masonry Gallery
   ══════════════════════════════════════ */
.section--works {
  background: var(--bg);
  padding-bottom: 48px;
  min-height: auto;
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.works-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.works-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
}

.works-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8) saturate(1.2);
}

.works-item--tall {
  min-height: 400px;
}

.works-item--tall img {
  height: 100%;
}

/* ── SoundCloud Tracks Grid ── */
.works-tracks-header {
  text-align: center;
  padding: 48px 40px 24px;
}

.works-tracks-header h3 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.works-tracks {
  display: flex;
  gap: 24px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.works-tracks::before,
.works-tracks::after {
  content: '';
  min-width: 60px;
  flex-shrink: 0;
}

.works-tracks::-webkit-scrollbar {
  display: none;
}

.sc-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-3);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease);
  flex: 0 0 var(--row-height, 300px);
  height: var(--row-height, 300px);
  scroll-snap-align: start;
}

.sc-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* SoundCloud iframe fills the square, sits behind the cover */
.sc-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  z-index: 1;
}

/* Cover image sits on top, fades on hover to reveal player */
.sc-card-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On touch devices, cover blocks touches from reaching the iframe */
@media (hover: none) {
  .sc-card-cover {
    pointer-events: auto;
  }

  /* Only fade cover when actually playing, not on hover */
  .sc-card:hover .sc-card-cover {
    opacity: 1;
  }
}

.sc-card:hover .sc-card-cover,
.sc-card--playing .sc-card-cover {
  opacity: 0;
}

.sc-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
}

.sc-card:hover .sc-card-cover img,
.sc-card--playing .sc-card-cover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

/* Fallback cover when no artwork is loaded yet */
.sc-card-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

/* Track title overlay on the cover image */
.sc-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-card:hover .sc-card-title,
.sc-card--playing .sc-card-title {
  opacity: 0;
}

.sc-card-title h4 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
}

.sc-card-title p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ══════════════════════════════════════
   VIDEOS
   ══════════════════════════════════════ */
.section--videos {
  background: var(--bg-2);
  padding-bottom: 48px;
  min-height: auto;
}

.videos-grid {
  display: flex;
  gap: 32px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.videos-grid::before,
.videos-grid::after {
  content: '';
  min-width: 60px;
  flex-shrink: 0;
}

.videos-grid::-webkit-scrollbar {
  display: none;
}

.video-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-3);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  flex: 0 0 var(--row-height, 360px);
  scroll-snap-align: start;
}

.video-card:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.video-card-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-card-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-info {
  padding: 20px 24px;
}

.video-card-info h3 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.video-card-info p {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.section--about {
  background: var(--bg);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 60px;
  margin-top: 100px;
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  max-width: 1000px;
  width: 100%;
  align-items: center;
}

.about-mark {
  width: 120px;
  border-radius: 50%;
  opacity: 0.8;
}

.about-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.about-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-dim);
  margin-bottom: 16px;
  max-width: 560px;
}

/* About with visible image background */
.section--about-img {
  position: relative;
}

.section--about-img .hero-bg img {
  object-fit: cover;
}

.about-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 60px;
  display: flex;
  align-items: flex-start;
}

.about-copy {
  max-width: 480px;
}

/* ── Horizontal Scroll Fade Indicator ── */
.scroll-fade-wrapper {
  position: relative;
}

/* Remove the pseudo-element — we now use a real JS-managed overlay */
.scroll-fade-wrapper::after {
  display: none;
}

/* Fixed gradient overlay pinned to right edge of viewport */
.scroll-fade-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--bg-2));
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s;
}

.scroll-fade-overlay.visible {
  opacity: 1;
}

/* scrolled-past no longer hides the overlay — gradient stays pinned */

.scroll-fade-wrapper .scroll-indicator {
  position: fixed;
  right: 20px;
  z-index: 6;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.scroll-fade-wrapper .scroll-indicator.visible {
  opacity: 0.9;
}

.scroll-fade-wrapper .scroll-indicator::after {
  content: '→';
  font-size: 16px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--bg-3);
  padding: 0;
  position: relative;
}

/* Gradient top divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.08) 70%, transparent 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 40px 40px;
}

/* ── Logo ── */
.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.footer-logo:hover {
  opacity: 1;
}

/* ── Tagline ── */
.footer-tagline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Newsletter ── */
.footer-newsletter {
  width: 100%;
  max-width: 440px;
}

.footer-signup-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer-form {
  display: flex;
  gap: 0;
}

.footer-form input {
  flex: 1;
  padding: 12px 16px;
  font-size: 12px;
  font-family: var(--sans);
  background: var(--form-input-bg, rgba(255, 255, 255, 0.03));
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.footer-form input:focus {
  border-color: var(--footer-accent);
  background: rgba(255, 255, 255, 0.05);
}

.footer-form input::placeholder {
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.footer-form button {
  padding: 12px 24px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--footer-accent);
  color: #fff;
  border: 1px solid var(--footer-accent);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.footer-form button:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.footer-form button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ══════════════════════════════════════
   FORM BLOCK WIDGET
   ══════════════════════════════════════ */
.section--form-block .form-block-input {
  border-radius: 0;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.section--form-block .form-block-input:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(187, 0, 0, 0.15);
  outline: none;
}

.section--form-block .form-block-input::placeholder {
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.section--form-block button[type="submit"] {
  transition: filter 0.3s, transform 0.2s;
  border-radius: 0;
}

.section--form-block button[type="submit"]:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.section--form-block button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-block-status {
  animation: formBlockFadeIn 0.4s ease;
}

.form-block-status--success {
  color: rgba(100, 220, 100, 0.9);
}

.form-block-status--error {
  color: rgba(255, 120, 80, 0.9);
}

.form-block-card {
  transition: border-color 0.3s;
}

.form-block-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

@keyframes formBlockFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .section--form-block .form-block-fields {
    flex-direction: column !important;
  }
  .section--form-block .form-block-input {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }
  .form-block-card {
    padding: 24px !important;
  }
}

/* ══════════════════════════════════════
   TEASE FORM (Coming Soon Signup)
   ══════════════════════════════════════ */
.tease-form {
  width: 100%;
}

.tease-form-fields--stacked {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tease-form-fields--inline {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.tease-form-input {
  font-family: var(--sans);
  font-size: 14px;
  padding: 14px 18px;
  background: var(--form-input-bg, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  color: var(--fg);
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  flex: 1;
  min-width: 0;
}

.tease-form-input:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(187, 0, 0, 0.15);
}

.tease-form-input::placeholder {
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}

.tease-form-btn {
  padding: 14px 36px !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.3s, transform 0.2s;
  border-radius: 0;
  white-space: nowrap;
  color: #fff;
}

.tease-form-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.tease-form-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.tease-form-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.3s;
}

.tease-form-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.tease-form-status {
  animation: teaseFormFadeIn 0.4s ease;
}

.tease-form-status--success {
  color: rgba(100, 220, 100, 0.9);
}

.tease-form-status--error {
  color: rgba(255, 120, 80, 0.9);
}

@keyframes teaseFormFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .tease-form-fields--inline {
    flex-direction: column !important;
  }
  .tease-form-input {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }
  .tease-form-card {
    padding: 24px !important;
  }
}

/* ── Social Icons ── */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 4px 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
}

.footer-social a:hover {
  color: var(--fg);
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Outline style — use stroke, not fill */
.footer-social--outline svg {
  fill: none;
}

/* Rounded style — circle bg behind icons */
.footer-social--rounded a {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  padding: 10px;
}

.footer-social--rounded a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Accent color variable for footer links */
.footer {
  --footer-accent: var(--red);
}

/* ── Contact ── */
.footer-contact {
  text-align: center;
}

.footer-contact p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1px;
}

.footer-contact a:hover {
  color: var(--footer-accent);
  border-bottom-color: var(--footer-accent);
}

/* ── Copyright ── */
.footer-bottom {
  text-align: center;
  padding: 20px 40px;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.footer-bottom p {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  opacity: 0.7;
}

/* ── Three-Column Variant ── */
.footer--three-column .footer-inner {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  gap: 40px;
}

.footer--three-column .footer-logo-wrap {
  align-items: flex-start;
  flex: 0 0 auto;
}

.footer--three-column .footer-newsletter {
  flex: 0 1 auto;
  max-width: 400px;
  text-align: center;
}

.footer--three-column .footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.footer--three-column .footer-contact {
  text-align: right;
  flex: 0 0 auto;
}

.footer--three-column .footer-social {
  justify-content: flex-end;
}

/* ── Minimal Variant ── */
.footer--minimal .footer-inner {
  display: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── Nav: hide links, show hamburger, keep cart right ── */
  #nav {
    padding: 10px !important;
  }

  html {
    scroll-padding-top: 10px;
  }

  .section--works,
  .section--videos,
  .section--about,
  .section--kits {
    scroll-margin-top: -25px;
  }

  #nav.nav--center .nav-logo {
    left: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
  }

  .nav-cart {
    margin-left: auto;
  }

  /* ── Hero stacks vertically ── */
  .hero-content--split {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 0 24px;
    gap: 32px;
  }

  .hero-text {
    max-width: 100%;
    align-items: center;
    text-align: center !important;
  }

  .hero-product-img {
    width: 280px;
    max-width: 60vw;
    transform: perspective(800px) rotateY(0) rotateX(0);
  }

  @keyframes heroFloat {

    0%,
    100% {
      transform: perspective(800px) rotateY(0) rotateX(0) translateY(0);
    }

    50% {
      transform: perspective(800px) rotateY(0) rotateX(0) translateY(-10px);
    }
  }

  .hero-sub {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 16px 20px;
  }

  .section-header {
    padding: 80px 20px 40px;
  }

  .home-inner,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
  }

  .section--home,
  .section--about {
    padding: 100px 24px;
  }

  .home-left {
    text-align: center;
  }

  .home-brand-img {
    margin: 0 auto;
    max-width: 300px;
  }

  .about-mark {
    margin: 0 auto;
  }

  .about-right {
    text-align: center;
  }

  .about-text {
    margin-left: auto;
    margin-right: auto;
  }

  .works-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px;
  }

  .works-col:nth-child(3) {
    display: none;
  }

  .videos-grid {
    gap: 24px;
    padding: 0 16px;
    margin-left: 0 !important;
    scroll-snap-type: x proximity;
  }

  .videos-grid .video-card {
    flex: 0 0 auto;
    width: calc(100vw - 32px);
    max-width: 500px;
  }

  .works-tracks {
    margin-left: 0 !important;
    scroll-snap-type: x proximity;
  }

  .works-tracks .sc-card {
    flex: 0 0 calc(100vw - 64px);
    height: auto;
    max-width: 300px;
  }

  .product-grid {
    padding: 0 16px 20px;
    gap: 20px;
  }

  .product-grid>.kit-card {
    width: calc(50% - 10px);
    /* 2-col on tablet */
  }

  .works-tracks {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }

  .works-tracks.grid-cols-1 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 40px 24px 32px;
    gap: 24px;
  }

  .footer--three-column .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer--three-column .footer-logo-wrap {
    align-items: center;
  }

  .footer--three-column .footer-contact {
    text-align: center;
  }

  .footer--three-column .footer-social {
    justify-content: center;
  }

  .footer-newsletter {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px 16px;
    gap: 12px;
  }

  .product-grid>.kit-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* Compact footer for 2-up cards — row layout */
  .product-grid .kit-card-info {
    flex-direction: row;
    align-items: center;
    padding: 10px 12px 10px 0;
  }

  .product-grid .kit-card-info-text {
    flex: 1;
    min-width: 0;
  }

  .product-grid .kit-card-info h3 {
    font-size: 16px;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
  }

  .product-grid .kit-card-info p {
    font-size: 11px;
    -webkit-line-clamp: 1;
    line-height: 1.4;
  }

  .product-grid .kit-card-plus {
    margin-left: 8px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .product-grid .kit-card-plus svg {
    width: 12px;
    height: 12px;
  }

  .product-grid .kit-card-overlay span {
    font-size: 14px;
    padding: 8px 16px;
    letter-spacing: 0.08em;
  }

  .videos-grid {
    padding: 0 16px;
    gap: 16px;
    margin-left: 0 !important;
    scroll-padding-left: 16px;
    scroll-snap-type: x proximity;
  }

  .videos-grid::before,
  .videos-grid::after {
    display: none;
  }

  .videos-grid .video-card {
    flex: 0 0 calc(100vw - 64px);
    max-width: calc(100vw - 64px);
  }

  .works-tracks {
    margin-left: 0 !important;
    padding: 0 16px;
    scroll-snap-type: x proximity;
  }

  .works-tracks::before,
  .works-tracks::after {
    display: none;
  }

  .works-tracks .sc-card {
    flex: 0 0 calc(100vw - 64px);
    height: auto;
    max-width: 260px;
  }
}

/* ══════════════════════════════════════
   PRODUCT PAGES
   ══════════════════════════════════════ */

/* Page settings */
.page-product #nav {
  background: rgba(10, 10, 10, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 40px;
}

/* ── Product Hero (Full Project) ── */
.section--product-hero {
  min-height: 100vh;
  height: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.section--product-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

/* ── Hero Animation Styles ── */
/* Fade Up (default) */
.hero-anim--fade-up [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-anim--fade-up [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim--fade-up [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}

.hero-anim--fade-up [data-reveal]:nth-child(3) {
  transition-delay: 0.3s;
}

.hero-anim--fade-up [data-reveal]:nth-child(4) {
  transition-delay: 0.45s;
}

/* Fade In */
.hero-anim--fade [data-reveal] {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-anim--fade [data-reveal].revealed {
  opacity: 1;
}

.hero-anim--fade [data-reveal]:nth-child(2) {
  transition-delay: 0.2s;
}

.hero-anim--fade [data-reveal]:nth-child(3) {
  transition-delay: 0.4s;
}

/* Scale Up */
.hero-anim--scale-up [data-reveal] {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-anim--scale-up [data-reveal].revealed {
  opacity: 1;
  transform: scale(1);
}

.hero-anim--scale-up [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}

.hero-anim--scale-up [data-reveal]:nth-child(3) {
  transition-delay: 0.3s;
}

/* Slide In */
.hero-anim--slide-in [data-reveal] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-anim--slide-in [data-reveal].revealed {
  opacity: 1;
  transform: translateX(0);
}

.hero-anim--slide-in [data-reveal]:nth-child(2) {
  transition-delay: 0.12s;
}

.hero-anim--slide-in [data-reveal]:nth-child(3) {
  transition-delay: 0.24s;
}

/* ── Immersive Section ── */
.section--immersive {
  min-height: auto;
  padding: 0;
  position: relative;
  margin-bottom: 50px;
}

.immersive-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.immersive-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.immersive-content {
  position: relative;
  z-index: 2;
  padding: 120px 60px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.immersive-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.immersive-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-dim);
  margin-bottom: 40px;
}

/* ── Sub-Kit Cards ── */
.subkit-grid {
  display: flex;
  gap: 12px;
  padding: 0 40px;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subkit-grid::-webkit-scrollbar {
  display: none;
}

.subkit-grid>.subkit-card {
  flex: 0 0 auto;
  width: 180px;
}

.subkit-card {
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  padding: 10px;
}

.subkit-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.subkit-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0;
}

.subkit-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.7);
  transition: filter 0.6s var(--ease);
}

.subkit-card:hover .subkit-card-bg img {
  filter: brightness(0.5) saturate(0.9);
}

.subkit-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.subkit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.subkit-card:hover .subkit-card-img img {
  transform: scale(1.08);
}

.subkit-card-info {
  padding: 10px 0 2px;
  position: relative;
  z-index: 1;
}

.subkit-card-info h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.subkit-card-count {
  font-size: 10px;
  color: var(--red);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.subkit-card-info p {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

/* ── Sub-Kit Gallery Layouts ── */
.section--subkit-gallery {
  padding: 0;
}

.subkit-scroll {
  display: flex;
  gap: 20px;
  padding: 0 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.subkit-scroll::-webkit-scrollbar {
  display: none;
}

/* Grid display mode (CMS dynamic) */
.subkit-grid.subkit-grid--cms {
  display: grid;
  gap: 32px;
  padding: 0 60px;
  max-width: 1600px;
  margin: 0 auto;
  overflow-x: visible;
}

@media (max-width: 768px) {
  .subkit-grid.subkit-grid--cms {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 24px;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .subkit-grid.subkit-grid--cms {
    grid-template-columns: 1fr !important;
  }
}

/* Left/Right composition: text on one side, gallery scroll on the other */
.section--subkit-left,
.section--subkit-right {
  display: flex;
  align-items: stretch;
  padding: 60px 0;
}

.section--subkit-right {
  flex-direction: row-reverse;
}

.subkit-text-side {
  flex: 0 0 360px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subkit-gallery-side {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* Stacked composition */
.section--subkit-stacked {
  padding: 60px 0;
}

.section--subkit-stacked .subkit-text-block {
  text-align: center;
  padding: 0 60px 40px;
}

@media (max-width: 768px) {

  .section--subkit-left,
  .section--subkit-right {
    flex-direction: column;
  }

  .subkit-text-side {
    flex: none;
    padding: 40px 24px;
  }

  .subkit-scroll {
    padding: 0 24px;
  }
}

/* ── Related Products Section ── */
.section--related {
  background: var(--bg-2);
  padding: 0 40px;
  min-height: auto;
}

.section--related .section-header {
  padding-top: 0;
  padding-bottom: 28px;
}

@media (max-width: 768px) {
  #relatedGrid {
    grid-template-columns: 1fr !important;
    padding: 0 24px !important;
  }
}

/* ── Horizontal Pedal Scroll ── */
.section--pedal-scroll {
  padding: 0;
  background: var(--bg);
  overflow: visible;
}

.pedal-scroll-header {
  text-align: center;
  padding: 0 40px 24px;
}

.pedal-scroll-wrapper {
  overflow: hidden;
  position: relative;
  /* height set by inline style from CMS; fallback to 50vh for legacy hardcoded pages */
}

.pedal-scroll-wrapper:not([style*="height"]) {
  height: 50vh;
}

.pedal-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.pedal-scroll-wrapper.dragging {
  cursor: grabbing;
}

.pedal-scroll-track {
  display: flex;
  gap: 20px;
  width: max-content;
  height: 100%;
}

.pedal-scroll-item {
  flex: 0 0 auto;
  width: 600px;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.pedal-scroll-item--single {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.pedal-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: brightness(0.7) contrast(1.1);
}

.pedal-scroll-item--single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.pedal-scroll-item:hover img {
  transform: scale(1.02);
  filter: brightness(0.85) contrast(1.1);
}

.pedal-scroll-item--single:hover img {
  transform: scale(1.02);
}

/* ── Image Strip Captions ── */
.strip-caption {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 24px 32px;
  color: var(--fg-dim);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.strip-caption--bottom-left {
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.strip-caption--bottom-center {
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.strip-caption--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

/* ── Audio Showcase Sections ── */
.section--audio-showcase {
  background: transparent;
  padding: 0 60px;
  position: relative;
  overflow: hidden;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.section--reversed .showcase-text {
  order: 2;
}

.section--reversed .showcase-image {
  order: 1;
}

.showcase-image {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.showcase-image img {
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease);
}

.showcase-image:hover img {
  transform: scale(1.03);
}

.showcase-title {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.showcase-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 40px;
}

/* ── Video Showcase ── */
.showcase-video {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.showcase-video-wrap {
  position: relative;
  background: #000;
}

.showcase-thumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.showcase-thumb-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay content — holds play icon + optional text */
.showcase-overlay-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Position variants */
.showcase-overlay-content.showcase-pos--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.showcase-overlay-content.showcase-pos--top-left {
  top: 20px;
  left: 24px;
  align-items: flex-start;
}

.showcase-overlay-content.showcase-pos--top-right {
  top: 20px;
  right: 24px;
  align-items: flex-end;
}

.showcase-overlay-content.showcase-pos--bottom-left {
  bottom: 20px;
  left: 24px;
  align-items: flex-start;
}

.showcase-overlay-content.showcase-pos--bottom-right {
  bottom: 20px;
  right: 24px;
  align-items: flex-end;
}

/* Play icon (img or SVG mask div) */
.showcase-play-icon {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.showcase-play-icon--svg {
  display: block;
}

.showcase-thumb-overlay:hover .showcase-play-icon {
  transform: scale(1.1);
  opacity: 1;
}

/* Overlay text */
.showcase-overlay-text {
  font-family: var(--display);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  white-space: nowrap;
}

/* Audio Player */
.audio-player {
  background: var(--bg-3);
  padding: 24px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  padding-left: 4px;
  flex-shrink: 0;
}

.play-btn:hover {
  background: var(--red-hover);
  transform: scale(1.05);
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-name {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.track-time {
  font-size: 11px;
  color: var(--fg-dim);
  font-family: monospace;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--red);
}

/* Included items Grid */
.section--included {
  background: var(--bg-2);
  padding: 0 40px;
  min-height: auto;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.included-card {
  background: var(--bg-3);
  padding: 40px;
  text-align: center;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: transform 0.3s;
}

.included-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.included-card h3 {
  font-family: var(--display);
  font-size: 56px;
  color: var(--red);
  margin-bottom: 16px;
  line-height: 1;
}

.included-card p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

/* Standard Product View (Small Product) */
.section--standard-product {
  padding: 0 60px;
  min-height: auto;
}

.product-layout {
  display: grid;
  grid-template-columns: var(--product-img-size, 50%) 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* ── Product layout variants ── */
.product-layout--right {
  grid-template-columns: 1fr var(--product-img-size, 50%);
}

.product-layout--right .product-visual {
  order: 2;
}

.product-layout--right .product-details {
  order: 1;
}

.product-layout--top {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}

.product-layout--top .product-visual {
  max-width: 600px;
  margin: 0 auto;
}

.product-layout--top .product-desc {
  text-align: center;
}

.product-layout--top .product-desc ul {
  text-align: center;
  list-style: none;
  padding-left: 0;
}

.product-layout--behind {
  grid-template-columns: 1fr;
  position: relative;
  text-align: center;
}

.product-layout--behind .product-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
}

.product-layout--behind .product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-layout--behind .product-details {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

/* ── Button width variants ── */
.btn--auto {
  width: auto;
}

.btn--medium {
  width: 280px;
  max-width: 100%;
}

/* ── TEASE mode product tiles ── */
.product-tile--tease {
  position: relative;
}

/* Dim the image only (not the whole tile), no desaturation */
.product-tile--tease .kit-card-img img {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.product-tile--tease:hover .kit-card-img img {
  opacity: 0.65;
}

.product-visual img {
  border-radius: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.product-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.product-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 24px;
}

.product-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
}

.product-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin-bottom: 40px;
}

.product-desc p {
  margin-bottom: 16px;
}

.product-desc ul {
  padding-left: 20px;
  margin-top: 24px;
}

.product-desc li {
  margin-bottom: 8px;
  color: var(--fg);
}

.audio-player--compact {
  padding: 16px;
  margin-bottom: 40px;
}

.btn--fullwidth {
  width: 100%;
  justify-content: center;
  padding: 18px;
}

/* CTA container */
.cta-container {
  text-align: center;
  padding-top: 60px;
}

/* ══════════════════════════════════════
   ENGINE GRID — Striped Column Layout
   (Shared across all product templates)
   ══════════════════════════════════════ */
.bm-engines {
  padding: 0;
}

.bm-engines__header {
  text-align: center;
  padding: 100px 40px 60px;
}

.bm-engines__header-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.bm-engines__header-sub {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ── CTA Banner — side-by-side layout ── */
.section--cta-sbs .cta-content--sbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}

.section--cta-sbs .cta-content--sbs>div:last-child {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .section--cta-sbs .cta-content--sbs {
    flex-direction: column;
    text-align: center;
  }
}

/* Grid container — default (striped) */
.bm-engines__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  min-height: 520px;
}

/* ── Cards variant ── */
.bm-engines__grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 0 40px 60px;
  min-height: auto;
}

.bm-engines__grid--cards .bm-engine {
  background: var(--bg-3) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
}

/* ── Accordion variant ── */
.bm-engines__grid--accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 60px;
  min-height: auto;
}

.bm-engines__grid--accordion .bm-engine {
  background: none !important;
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.bm-engines__grid--accordion .bm-engine:last-child {
  border-bottom: none;
}

/* Individual engine column */
.bm-engine {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.4s ease;
  position: relative;
}

.bm-engine:last-child {
  border-right: none;
}

/* Striped backgrounds — ascending gray (only in striped mode) */
.bm-engines__grid--striped .bm-engine:nth-child(1) {
  background: #080808;
}

.bm-engines__grid--striped .bm-engine:nth-child(2) {
  background: #0b0b0b;
}

.bm-engines__grid--striped .bm-engine:nth-child(3) {
  background: #0e0e0e;
}

.bm-engines__grid--striped .bm-engine:nth-child(4) {
  background: #111111;
}

.bm-engines__grid--striped .bm-engine:nth-child(5) {
  background: #141414;
}

.bm-engines__grid--striped .bm-engine:nth-child(6) {
  background: #171717;
}

.bm-engines__grid--striped .bm-engine:nth-child(7) {
  background: #1a1a1a;
}

/* Hover lift */
.bm-engine:hover {
  background: #1e1e1e;
}

.bm-engine__name {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.bm-engine__type {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.bm-engine__desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: auto;
  flex: 1;
}

.bm-engine__fx {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bm-engine__fx-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 6px;
}

.bm-engine__fx-axis {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.bm-engine__audio {
  align-self: stretch;
  width: 100%;
  margin-top: 12px;
}

.bm-engine__audio .tp-player {
  border-radius: 4px;
}

/* Responsive adjustments for product templates */
@media (max-width: 900px) {

  .showcase-inner,
  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .showcase-text,
  .product-details {
    align-items: center;
  }

  /* Override inline text-align from section-renderer */
  .showcase-title,
  .showcase-text .showcase-title {
    text-align: center !important;
  }

  .showcase-desc {
    text-align: center;
  }

  /* Center section titles across all section types */
  .section-title {
    text-align: center !important;
  }

  .showcase-text .btn,
  .product-details .btn {
    align-self: center;
  }

  .section--reversed .showcase-text {
    order: 1;
  }

  .section--reversed .showcase-image {
    order: 2;
  }

  /* Reduce section side padding on mobile */
  .section--audio-showcase {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .subkit-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    padding: 0 20px;
  }

  .pedal-scroll-item {
    width: 400px;
    height: 180px;
  }

  .section--audio-showcase {
    padding: 80px 24px;
  }

  .section--included {
    padding: 80px 20px;
  }

  .immersive-content {
    padding: 80px 24px;
  }
}

/* ══════════════════════════════════════
   ECWID DARK THEME OVERRIDES
   ══════════════════════════════════════ */
.ecwid .ec-size .ec-store {
  background: transparent !important;
}

/* Cart popup & checkout - dark bg */
div.ecwid-productBrowser,
.ecwid .ec-cart,
.ecwid .ec-cart__body,
.ecwid .ec-cart-step,
.ec-store__content-wrapper {
  background-color: #0a0a0a !important;
  color: var(--fg) !important;
}

/* Cart sidebar overlay */
.ec-cart-widget--floating .ec-cart-widget__body {
  background: #0a0a0a !important;
  border-left: 1px solid #1a1a1a !important;
}

/* Button overrides */
.ecwid .form-control__button,
.ecwid .form-control__button--primary {
  background-color: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--sans) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}

.ecwid .form-control__button:hover,
.ecwid .form-control__button--primary:hover {
  background-color: var(--red-hover) !important;
  border-color: var(--red-hover) !important;
}

/* Input fields */
.ecwid .form-control__text,
.ecwid .form-control__select,
.ecwid input[type="text"],
.ecwid input[type="email"] {
  background: #111 !important;
  border-color: #333 !important;
  color: var(--fg) !important;
  border-radius: 0 !important;
}

/* Price & text colors */
.ecwid .ec-price,
.ecwid .ec-cart__cell--price {
  color: var(--fg) !important;
}

/* Product name in cart */
.ecwid .ec-cart__cell--product-name a {
  color: var(--fg) !important;
}

/* Remove default shadows */
.ecwid .ec-cart,
.ecwid .ec-store {
  box-shadow: none !important;
}

/* ── Extended checkout flow coverage ── */

/* Checkout step headers & labels */
.ecwid .ec-cart-step__title,
.ecwid .ec-cart-step__section-title,
.ecwid .ec-confirmation__title,
.ecwid .ec-header-h1,
.ecwid .ec-header-h3,
.ecwid .ec-header-h4 {
  color: var(--fg) !important;
}

/* Checkout body text */
.ecwid .ec-cart-step__body,
.ecwid .ec-cart-step__text,
.ecwid .ec-confirmation__text,
.ecwid .ec-text-muted,
.ecwid .ec-cart-email__text,
.ecwid label,
.ecwid .ec-summary__row {
  color: var(--fg-dim) !important;
}

/* Order summary panel */
.ecwid .ec-summary,
.ecwid .ec-cart__sidebar,
.ecwid .ec-cart-step--payment,
.ecwid .ec-cart-step--address,
.ecwid .ec-cart-step--shipping,
.ecwid .ec-cart-step--confirm {
  background-color: #0a0a0a !important;
}

/* Summary totals */
.ecwid .ec-summary__total,
.ecwid .ec-summary__cell--total {
  color: var(--fg) !important;
  border-color: #222 !important;
}

/* Checkout input fields (extended) */
.ecwid input[type="tel"],
.ecwid input[type="number"],
.ecwid input[type="password"],
.ecwid select,
.ecwid textarea {
  background: #111 !important;
  border-color: #333 !important;
  color: var(--fg) !important;
  border-radius: 0 !important;
}

/* Payment method radio/checkbox labels */
.ecwid .ec-radiogroup__item,
.ecwid .ec-radiogroup__text,
.ecwid .ec-checkbox__text {
  color: var(--fg) !important;
}

/* Loading / overlay states */
.ecwid .ec-cart__overlay,
.ecwid .ec-loader {
  background: rgba(10, 10, 10, 0.8) !important;
}

/* Links in cart */
.ecwid a {
  color: var(--red) !important;
}

.ecwid a:hover {
  color: var(--red-hover) !important;
}

/* Horizontal rules / dividers */
.ecwid hr,
.ecwid .ec-cart__row--delimiter {
  border-color: #1a1a1a !important;
}

/* Breadcrumb (hidden) */
.ecwid .ec-breadcrumbs {
  display: none !important;
}

/* Footer menu (hidden) */
.ecwid .ec-footer {
  display: none !important;
}

/* ══════════════════════════════════════
   ADD-TO-CART BUTTON FEEDBACK
   ══════════════════════════════════════ */
.cart-btn--added {
  background-color: #22c55e !important;
  border-color: #22c55e !important;
  color: #fff !important;
  pointer-events: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cart-btn--added:hover {
  background-color: #22c55e !important;
  border-color: #22c55e !important;
}

/* ══════════════════════════════════════
   CART SHELF DRAWER (slides in from right)
   ══════════════════════════════════════ */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
}

.cart-modal--open {
  visibility: visible;
  pointer-events: auto;
}

/* Semi-transparent backdrop */
.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  cursor: pointer;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.cart-modal--open .cart-modal__backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Shelf panel — slides from right */
.cart-modal__body {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 460px;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: #0a0a0a;
  border-left: 1px solid #1a1a1a;
  padding: 28px 24px 40px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-modal--open .cart-modal__body {
  transform: translateX(0);
}

/* Close button */
.cart-modal__close {
  position: sticky;
  top: 0;
  float: right;
  background: none;
  border: none;
  color: var(--fg-dim);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  z-index: 2;
  transition: color 0.2s ease;
}

.cart-modal__close:hover {
  color: var(--fg);
}

/* Hide the Ecwid product catalog grid — only show cart */
.cart-modal .ecwid-productBrowser-ProductsPage,
.cart-modal .ec-store .ec-store__content-wrapper>.ec-wrapper:not(.ec-cart) {
  display: none !important;
}

/* Override Ecwid bg inside shelf */
.cart-modal #my-store-94766752,
.cart-modal .ecwid,
.cart-modal .ec-size,
.cart-modal .ec-store {
  background: transparent !important;
}

/* Scrollbar for shelf */
.cart-modal__body::-webkit-scrollbar {
  width: 5px;
}

.cart-modal__body::-webkit-scrollbar-track {
  background: #0a0a0a;
}

.cart-modal__body::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 0;
}

/* ── Coupon code placeholder fix ── */
.ecwid input::placeholder,
.ecwid input::-webkit-input-placeholder,
.ecwid input::-moz-placeholder,
.ecwid input:-ms-input-placeholder,
.ec-cart input::placeholder,
.ec-cart input::-webkit-input-placeholder,
.cart-modal input::placeholder,
.cart-modal input::-webkit-input-placeholder {
  color: #888 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #888 !important;
}

/* ── Custom empty cart message ── */
.cart-modal__empty {
  display: none;
  text-align: center;
  padding: 80px 24px;
  color: var(--fg-dim);
  font-family: var(--sans);
}

.cart-modal__empty h3 {
  font-family: var(--headline);
  font-size: 22px;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.cart-modal__empty p {
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.cart-modal__empty-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--red);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-modal__empty-btn:hover {
  background: var(--red-hover);
}

/* When cart is empty, show custom message and hide Ecwid content */
.cart-modal--empty .cart-modal__empty {
  display: block;
}

.cart-modal--empty #my-store-94766752 {
  display: none !important;
}

#my-store-94766752 {
  transition: opacity 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .cart-modal__body {
    width: 100vw;
    max-width: 100vw;
    padding: 20px 16px 32px;
  }
}

/* ═══════════════════════════════════════
   THEATRE AUDIO PLAYER — Grid Layout
   ═══════════════════════════════════════ */
.tp-player-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 900px) {

  /* Collapse 3-4 columns to 2 on tablets */
  .tp-player-grid[style*="repeat(3"],
  .tp-player-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {

  /* Collapse everything to 1 column on mobile */
  .tp-player-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hide timecode and let title wrap on 3+ column grids */
.tp-player-grid[style*="repeat(3"] .tp-time,
.tp-player-grid[style*="repeat(4"] .tp-time,
.tp-player-grid[style*="repeat(5"] .tp-time,
.tp-player-grid[style*="repeat(6"] .tp-time {
  display: none;
}

.tp-player-grid[style*="repeat(3"] .tp-title,
.tp-player-grid[style*="repeat(4"] .tp-title,
.tp-player-grid[style*="repeat(5"] .tp-title,
.tp-player-grid[style*="repeat(6"] .tp-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.tp-player {
  position: relative;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.tp-player:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.tp-player.tp-playing {
  border-color: rgba(199, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(199, 0, 0, 0.1);
}

/* Background progress fill — the scrubbable layer */
.tp-bg-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(199, 0, 0, 0.50), rgba(199, 0, 0, 0.25));
  pointer-events: none;
  z-index: 0;
}

.tp-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
}

.tp-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.tp-play:hover {
  background: rgba(199, 0, 0, 0.2);
  border-color: rgba(199, 0, 0, 0.4);
  color: #fff;
}

.tp-playing .tp-play {
  background: rgba(199, 0, 0, 0.3);
  border-color: var(--red);
}

.tp-info {
  flex: 1;
  min-width: 0;
}

.tp-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
  flex-shrink: 0;
  min-width: 40px;
  text-align: right;
}

/* ── Tag Pills (product page) ── */
.tag-pill {
  display: inline-block;
  padding: 3px 12px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.85;
}

.tag-pill--solid {
  opacity: 1;
}

/* ── Hero Title Image ── */
.hero-title-image {
  display: block;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.hero-title-image--large {
  width: 60vw;
  max-width: 900px;
}

.hero-title-image--medium {
  width: 40vw;
  max-width: 600px;
}

.hero-title-image--small {
  width: 25vw;
  max-width: 380px;
}

@media (max-width: 768px) {
  .hero-title-image--large {
    width: 85vw;
  }

  .hero-title-image--medium {
    width: 65vw;
  }

  .hero-title-image--small {
    width: 45vw;
  }
}

/* ── Responsive Multi-Column Text ── */
@media (max-width: 900px) {

  .section-body--columns,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Feature grid orphaned row — loosen width on tablet */
  .section--feature-grid > div > div:last-child:not(.feature-grid) .feature-card {
    flex: 1 1 auto !important;
    max-width: none !important;
  }
}

@media (max-width: 600px) {

  .section-body--columns,
  .feature-grid {
    grid-template-columns: 1fr !important;
  }

  /* Feature grid orphaned row — stack vertically on mobile */
  .section--feature-grid > div > div:last-child:not(.feature-grid) {
    flex-direction: column !important;
    padding: 0 24px 40px !important;
  }

  .section--feature-grid > div > div:last-child:not(.feature-grid) .feature-card {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  /* ── Related products — mobile card layout ── */
  .section--related .related-grid,
  #relatedGrid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .section--related .kit-card,
  #relatedGrid .kit-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: 100px;
    gap: 0;
    background: var(--bg-3);
    border-radius: 0;
    overflow: hidden;
  }

  .section--related .kit-card-img,
  #relatedGrid .kit-card-img {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    height: 100px;
  }

  .section--related .kit-card:hover .kit-card-img img,
  #relatedGrid .kit-card:hover .kit-card-img img {
    filter: none;
  }

  .section--related .kit-card-overlay,
  #relatedGrid .kit-card-overlay {
    display: none;
  }

  .section--related .kit-card-info,
  #relatedGrid .kit-card-info {
    position: relative;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100px;
    box-sizing: border-box;
  }

  /* Red wipe — fills info area on hover */
  .section--related .kit-card-info::before,
  #relatedGrid .kit-card-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FF0000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
  }

  .section--related .kit-card:hover .kit-card-info::before,
  #relatedGrid .kit-card:hover .kit-card-info::before {
    transform: scaleX(1);
  }

  .section--related .kit-card-info-text,
  #relatedGrid .kit-card-info-text {
    text-align: left;
    position: relative;
    z-index: 1;
    transform: translateX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .section--related .kit-card:hover .kit-card-info-text,
  #relatedGrid .kit-card:hover .kit-card-info-text {
    transform: translateX(8px);
  }

  .section--related .kit-card-info h3,
  #relatedGrid .kit-card-info h3 {
    font-size: 15px;
    white-space: normal;
    line-height: 1.2;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .section--related .kit-card:hover .kit-card-info h3,
  #relatedGrid .kit-card:hover .kit-card-info h3 {
    color: #000;
  }

  .section--related .kit-card-info p,
  #relatedGrid .kit-card-info p {
    font-size: 11px;
    -webkit-line-clamp: 1;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .section--related .kit-card:hover .kit-card-info p,
  #relatedGrid .kit-card:hover .kit-card-info p {
    color: rgba(0, 0, 0, 0.6);
  }

  /* Plus button — left-aligned below text */
  .section--related .kit-card-plus,
  #relatedGrid .kit-card-plus {
    display: flex !important;
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    margin-left: 0;
    margin-top: 4px;
    align-self: flex-start;
    background: #FF0000;
    flex-shrink: 0;
    transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .section--related .kit-card-plus svg,
  #relatedGrid .kit-card-plus svg {
    width: 12px;
    height: 12px;
  }

  .section--related .kit-card:hover .kit-card-plus,
  #relatedGrid .kit-card:hover .kit-card-plus {
    background: #000;
    border-color: transparent;
  }

  .section--related .kit-card:hover .kit-card-plus svg,
  #relatedGrid .kit-card:hover .kit-card-plus svg {
    stroke: #fff;
  }
}


/* ── Horizontal Scroll Indicators ── */
.scroll-indicator-wrap {
  position: relative;
}

.scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.scroll-indicator--left {
  left: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.7) 0%, transparent 100%);
}

.scroll-indicator--right {
  right: 0;
  background: linear-gradient(-90deg, rgba(10, 10, 10, 0.7) 0%, transparent 100%);
}

.scroll-indicator.visible {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  stroke: var(--fg);
  stroke-width: 2.5;
  fill: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.scroll-indicator:hover svg {
  opacity: 1;
}

/* ── Skeleton Loading Cards ── */
.skeleton-card {
  border-radius: 6px;
  background: var(--bg-3, #1a1a1a);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 40%,
      rgba(255, 255, 255, 0.06) 50%,
      rgba(255, 255, 255, 0.04) 60%,
      transparent 100%);
  animation: skeleton-shimmer 1.5s ease infinite;
}

@keyframes skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.skeleton-bar {
  background: var(--bg-3, #1a1a1a);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 40%,
      rgba(255, 255, 255, 0.06) 50%,
      rgba(255, 255, 255, 0.04) 60%,
      transparent 100%);
  animation: skeleton-shimmer 1.5s ease infinite;
}

/* ══════════════════════════════════════
   CARD ICON — inline SVG icons on cards
   ══════════════════════════════════════ */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto;
  color: currentColor;
  opacity: 0.85;
}

/* Engine grid: icons follow the card's align-items instead of auto-centering */
.bm-engine .card-icon {
  margin: 8px 0;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════
   CURSOR FX — Canvas overlay
   ═══════════════════════════════════════ */
.cursor-fx-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: screen;
}

@media (hover: none), (pointer: coarse) {
  .cursor-fx-canvas { display: none !important; }
}

/* ═══════════════════════════════════════
   AMBIENT CANVAS — Hero particle system
   ═══════════════════════════════════════ */
.ambient-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

@media (hover: none), (pointer: coarse) {
  .ambient-canvas { display: none !important; }
}

/* ═══════════════════════════════════════
   PROMO BANNER — Configurable from CMS
   ═══════════════════════════════════════ */
:root {
  --promo-banner-height: 0px;
}

.promo-banner {
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--promo-bg, #c70000);
  color: var(--promo-text, #fff);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  pointer-events: auto;
}

/* ── Top Bar ── */
.promo-banner--top {
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 48px 12px 24px;
  transform: translateY(-100%);
}
.promo-banner--top.promo-banner--visible {
  transform: translateY(0);
}

/* ── Bottom Bar ── */
.promo-banner--bottom {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 48px 12px 24px;
  transform: translateY(100%);
}
.promo-banner--bottom.promo-banner--visible {
  transform: translateY(0);
}

/* ── Corner Popup ── */
.promo-banner--corner {
  bottom: 24px;
  right: 24px;
  border-radius: 8px;
  padding: 16px 48px 16px 20px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
  transform: translateY(20px);
  opacity: 0;
}
.promo-banner--corner.promo-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

/* ── Dismissed ── */
.promo-banner--dismissed {
  pointer-events: none !important;
}
.promo-banner--dismissed.promo-banner--top {
  transform: translateY(-100%) !important;
}
.promo-banner--dismissed.promo-banner--bottom {
  transform: translateY(100%) !important;
}
.promo-banner--dismissed.promo-banner--corner {
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

/* ── Banner Elements ── */
.promo-banner__text {
  flex: 1;
  min-width: 0;
}

.promo-banner__code {
  background: rgba(255, 255, 255, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  color: inherit;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.promo-banner__code:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.promo-banner__close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px 8px;
  line-height: 1;
}
.promo-banner__close:hover {
  opacity: 1;
}

/* Push nav down when top banner is visible */
.promo-banner--top.promo-banner--visible ~ #nav,
.promo-banner--top.promo-banner--visible ~ nav {
  top: var(--promo-banner-height, 44px);
}

@media (max-width: 600px) {
  .promo-banner {
    font-size: 12px;
    gap: 10px;
  }
  .promo-banner--corner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
  .promo-banner__code {
    font-size: 12px;
    padding: 3px 8px;
  }
}