/* ═══════════════════════════════════════════════════════════════
   HIGHS SPA CHAIRS — Superdesign System
   Warm Latte Palette: Sand · Caramel · Mocha · Cream
   ═══════════════════════════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS (oklch) — Warm Latte Palette ── */
:root {
  --cream:       oklch(0.93 0.02 82);   /* warm cream — page bg */
  --white:       oklch(1 0 0);           /* pure white */
  --sand:        oklch(0.88 0.03 80);   /* sand — cards, light sections */
  --mocha:       oklch(0.30 0.05 50);   /* mocha — headings, dark text */
  --espresso:    oklch(0.20 0.04 42);   /* espresso — footer, darkest bg */
  --gold:        oklch(0.72 0.10 75);   /* caramel gold — primary accent */
  --gold-light:  oklch(0.82 0.08 78);  /* light caramel — hover, highlight */
  --gold-dark:   oklch(0.55 0.10 68);  /* dark caramel — button hover */
  --charcoal:    oklch(0.28 0.04 50);   /* warm charcoal — muted text */
  --muted:       oklch(0.50 0.02 50);   /* muted — secondary text */
  --border:      oklch(0.87 0.02 80);   /* warm border */

  /* Legacy aliases (for backward compat) */
  --navy:        var(--mocha);
  --navy-light:  var(--gold);

  --shadow:      oklch(0.21 0.05 255 / 0.08);
  --shadow-md:   oklch(0.21 0.05 255 / 0.14);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm:  0.375rem;
  --radius:     0.625rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--espresso); }

/* ── SELECTION ── */
::selection { background: var(--gold-light); color: var(--navy); }

/* ── FOCUS ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── LAYOUT ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--white { background: var(--white); }
.section--navy  { background: var(--espresso); color: var(--white); }
.section--navy h1,.section--navy h2,.section--navy h3 { color: var(--white); }
.section--navy p  { color: oklch(1 0 0 / 0.72); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }
p  { color: var(--charcoal); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.875rem;
}
.section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-header p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.section-header--left { text-align: left; margin: 0 0 3rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 200ms var(--ease-out);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(0.75 0.12 85 / 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--espresso);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--gold); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: oklch(1 0 0 / 0.4);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: oklch(1 0 0 / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 250ms var(--ease-out);
}
.nav.scrolled { box-shadow: 0 4px 32px var(--shadow); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo span { color: var(--gold); }
.nav__logo img { height: 44px; width: auto; display: block; }
.nav__links {
  display: flex; align-items: center; gap: 2.25rem;
}
.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 150ms ease;
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 220ms var(--ease-out);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--navy); }
.nav__links a.active::after { width: 100%; }
.nav__cta { margin-left: 0.5rem; }

/* ── HAMBURGER (Superdesign mobile nav) ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  z-index: 300;
  border-radius: var(--radius);
  transition: background 150ms;
}
.nav__hamburger:hover { background: var(--cream); }
.nav__hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mocha);
  border-radius: 2px;
  transition: all 280ms var(--ease-out);
  transform-origin: center;
}
.nav__hamburger__line:nth-child(1) { transform: translateY(-6px); }
.nav__hamburger__line:nth-child(3) { transform: translateY(6px); }

/* Open state */
.nav__hamburger.open .nav__hamburger__line:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}
.nav__hamburger.open .nav__hamburger__line:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav__hamburger.open .nav__hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  transition: color 150ms;
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms var(--ease-out);
}
.nav__mobile.open a {
  transform: translateY(0);
  opacity: 1;
}
.nav__mobile.open a:nth-child(2) { transition-delay: 80ms; }
.nav__mobile.open a:nth-child(3) { transition-delay: 140ms; }
.nav__mobile.open a:nth-child(4) { transition-delay: 200ms; }
.nav__mobile.open a:nth-child(5) { transition-delay: 260ms; }
.nav__mobile.open a:nth-child(6) { transition-delay: 320ms; }
.nav__mobile.open a:nth-child(7) { transition-delay: 380ms; }
.nav__mobile.open a:nth-child(8) { transition-delay: 440ms; }
.nav__mobile a:hover { color: var(--gold); }
.nav__mobile .btn { margin-top: 1rem; }
.nav__mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms, transform 150ms;
  -webkit-tap-highlight-color: transparent;
}
.nav__mobile-close:hover {
  background: oklch(1 0 0 / 0.2);
  transform: scale(1.08);
}
.nav__mobile-close:active {
  transform: scale(0.95);
}

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL — Superdesign Hero Slider
   ═══════════════════════════════════════════════════════════════ */

.carousel {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: var(--espresso);
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.carousel__slide.active {
  opacity: 1;
}

.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    oklch(0.15 0.03 42 / 0.72) 0%,
    oklch(0.15 0.03 42 / 0.40) 45%,
    oklch(0.15 0.03 42 / 0.10) 100%
  );
}

.carousel__overlay--dark {
  background: linear-gradient(
    105deg,
    oklch(0.15 0.03 42 / 0.10) 0%,
    oklch(0.15 0.03 42 / 0.40) 45%,
    oklch(0.15 0.03 42 / 0.78) 100%
  );
}

.carousel__overlay--gradient {
  background: linear-gradient(
    to bottom,
    oklch(0.15 0.03 42 / 0.50) 0%,
    oklch(0.15 0.03 42 / 0.20) 50%,
    oklch(0.15 0.03 42 / 0.65) 100%
  );
}

.carousel__content {
  position: relative;
  z-index: 2;
  padding: 0 7vw;
  max-width: 640px;
  animation: slideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.carousel__content--right {
  margin-left: auto;
  text-align: right;
  padding-right: 7vw;
  padding-left: 40vw;
}

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

.carousel__slide.active .carousel__content {
  animation: slideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.carousel__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.carousel__slide.active .carousel__content--right .carousel__eyebrow::before {
  display: none;
}

.carousel__slide.active .carousel__content--right .carousel__eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  margin-left: auto;
}

.carousel__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.carousel__content p {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: oklch(1 0 0 / 0.78);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.carousel__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.35);
  border: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.carousel__dot.active {
  width: 28px;
  background: var(--gold);
}

.carousel__dot:hover:not(.active) {
  background: oklch(1 0 0 / 0.60);
}

/* Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(1 0 0 / 0.20);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow:hover { background: oklch(1 0 0 / 0.22); }
.carousel__arrow:active { transform: translateY(-50%) scale(0.95); }
.carousel__arrow--prev { left: 1.5rem; }
.carousel__arrow--next { right: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .carousel { height: 75vh; }
  .carousel__content {
    padding: 0 2rem;
    max-width: 100%;
  }
  .carousel__content--right {
    padding: 0 2rem;
    margin-left: 0;
    text-align: left;
  }
  .carousel__content h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .carousel__arrow { display: none; }
}

/* ── HERO ── */
.hero {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, oklch(0.21 0.05 255 / 0.97) 0%, oklch(0.21 0.05 255 / 0.80) 40%, oklch(0.21 0.05 255 / 0.30) 70%, oklch(0.75 0.12 85 / 0.20) 100%);
  z-index: 1;
}
.hero__image {
  position: absolute; inset: 0;
  background-image: url('../media/catalog-lm9-limited-hero.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 660px;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid oklch(0.75 0.12 85 / 0.4);
  border-radius: var(--radius-full);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: oklch(1 0 0 / 0.78);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 500px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: oklch(1 0 0 / 0.45);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 18px; height: 18px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── TRUST BAR ── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-stat {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.375rem;
  padding: 2rem 1rem;
}
.trust-stat__icon {
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.trust-stat__icon svg { width: 26px; height: 26px; }
.trust-stat__number {
  font-family: var(--font-serif);
  font-size: 2.25rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.trust-stat__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── PRODUCT CARDS ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 250ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px var(--shadow-md);
}
.product-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: oklch(0.96 0.01 85);
  position: relative;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--espresso);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}
.product-card__badge--gold {
  background: var(--gold);
  color: var(--navy);
}
.product-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.product-card__tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}
.product-card__features {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.product-card__feature {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--charcoal);
}
.product-card__feature svg {
  width: 14px; height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
}
.product-card__price small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  display: block;
}
.product-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  display: flex; align-items: center; gap: 4px;
  transition: gap 150ms ease, color 150ms;
}
.product-card__link:hover { gap: 8px; color: var(--gold-dark); }
.product-card__link svg { width: 15px; height: 15px; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.feature-item { text-align: center; }
.feature-item__icon {
  width: 64px; height: 64px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  transition: all 250ms var(--ease-out);
}
.feature-item:hover .feature-item__icon {
  background: var(--espresso);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}
.feature-item__icon svg { width: 26px; height: 26px; }
.feature-item h3 { margin-bottom: 0.6rem; }
.feature-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── SPLIT SECTION ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.split-section__image {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-section__image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease-out);
}
.split-section:hover .split-section__image img { transform: scale(1.03); }
.split-section__content {
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}
.split-section__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
.split-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.split-stat__number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.split-stat__label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--espresso);
  padding: 0;
  text-align: center;
  max-width: 1500px;
  margin: 0 auto 0 auto;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -4px;
}
.cta-band .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: oklch(1 0 0 / 0.68); margin-bottom: 2.25rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin: 0.4rem; }

/* ── TESTIMONIAL ── */
.testimonial { text-align: center; }
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  font-style: italic;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.testimonial__quote::before { content: '\201C'; color: var(--gold); font-size: 1.3em; }
.testimonial__quote::after  { content: '\201D'; color: var(--gold); font-size: 1.3em; }
.testimonial__author { font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.testimonial--navy .testimonial__quote { color: var(--white); }
.testimonial--navy .testimonial__author { color: oklch(1 0 0 / 0.55); }

/* ── COMPARISON TABLE ── */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
}
.compare-table thead { background: var(--espresso); color: var(--white); }
.compare-table th {
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: center;
  padding: 1rem 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.compare-table th:first-child { text-align: left; padding-left: 1.5rem; }
.compare-table td {
  text-align: center;
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  vertical-align: middle;
}
.compare-table td:first-child { text-align: left; padding-left: 1.5rem; font-weight: 500; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: oklch(0.97 0 0); }
.compare-table .check { color: var(--gold); font-weight: 700; }
.compare-table .dash { color: var(--muted); }
.compare-table .price-cell {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
}
.compare-table__thumb {
  width: 60px; height: 45px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex; align-items: center; gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 150ms ease;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--navy);
  background: var(--espresso);
  color: var(--white);
}

/* ── PRODUCT DETAIL ── */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.product-gallery__main {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: oklch(0.96 0.01 85);
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.product-gallery__main:hover img { transform: scale(1.03); }
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.product-gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: oklch(0.96 0.01 85);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 150ms;
}
.product-gallery__thumb:hover,
.product-gallery__thumb.active {
  border-color: var(--gold);
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── SPECS TABLE ── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cream);
  width: 40%;
}
.specs-table td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* ── ACCESSORIES GRID ── */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.accessory-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 200ms;
}
.accessory-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--shadow); }
.accessory-card__image { aspect-ratio: 1; background: oklch(0.96 0.01 85); overflow: hidden; }
.accessory-card__image img { width: 100%; height: 100%; object-fit: cover; }
.accessory-card__body { padding: 1rem; }
.accessory-card__name { font-size: 0.88rem; font-weight: 500; color: var(--navy); margin-bottom: 0.25rem; }
.accessory-card__price { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-dark); }

/* ── ABOUT / STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 250ms var(--ease-out);
}
.stat-block:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow); }
.stat-block__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-block__label { font-size: 0.85rem; color: var(--muted); }
.stat-block__sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ── PILLARS ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 250ms var(--ease-out);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow); }
.pillar__icon {
  width: 48px; height: 48px;
  background: oklch(0.21 0.05 255 / 0.06);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar h3 { margin-bottom: 0.6rem; }
.pillar p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group--full { grid-column: 1 / -1; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 150ms;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ── FOOTER ── */
.footer {
  background: var(--espresso);
  padding: 1.5rem 0 2rem;
}

/* ── FOOTER GRID ── */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  margin-bottom: 1.75rem;
}
.footer__brand-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}
.footer__brand-logo span { color: var(--gold); }
.footer__brand-logo img { height: 48px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer__tagline {
  font-size: 0.82rem;
  line-height: 1.65;
  color: oklch(1 0 0 / 0.5);
  max-width: 28ch;
}
.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer__logo-row .footer__cert-small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.15);
  border-radius: 3px;
  color: oklch(1 0 0 / 0.4);
}
.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.875rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer__links a {
  font-size: 0.82rem;
  color: oklch(1 0 0 / 0.65);
  transition: color 150ms;
  line-height: 1;
}
.footer__links li {
  font-size: 0.82rem;
  color: oklch(1 0 0 / 0.65);
  line-height: 1.4;
}
.footer__links a:hover { color: var(--gold); }

/* ── FOOTER BOTTOM ── */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
  color: oklch(1 0 0 / 0.35);
}
.footer__bottom-left {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: oklch(1 0 0 / 0.55);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 150ms;
  white-space: nowrap;
}
.footer__instagram:hover { color: var(--gold); }
.footer__certs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer__cert {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.15);
  border-radius: 3px;
  color: oklch(1 0 0 / 0.4);
}
.footer__cert-imgs { display: flex; gap: 0.6rem; align-items: center; }
.footer__cert-img {
  height: 28px;
  width: auto;
  border-radius: 4px;
  opacity: 0.65;
  transition: opacity 150ms;
}
.footer__cert-img:hover { opacity: 1; }

/* ── FOOTER MOBILE: ACCORDION ── */
@media (max-width: 768px) {
  .cta-band {
    min-height: 220px;
    padding: 2rem 1rem;
  }
  .cta-band .container {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cta-band h2 {
    font-size: 1.25rem;
  }
  .footer {
    padding: 3rem 0 1.75rem;
  }
  .footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    padding-bottom: 0;
  }
  .footer__grid > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 1.5rem;
  }
  .footer__tagline {
    max-width: none;
  }
  .footer__logo-row {
    margin-top: 0.25rem;
  }
  .footer__col {
    padding: 0.75rem 0;
    display: block !important;
  }
  .footer__col-title {
    margin-bottom: 0.5rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .footer__links {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .footer__col-toggle {
    display: none !important;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    grid-column: 1 / -1;
  }
  .footer__certs {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .footer__grid > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }
  .footer__tagline {
    max-width: none;
  }
  .footer__col {
    padding: 0.5rem 0;
    display: block !important;
  }
  .footer__col-title {
    margin-bottom: 0.4rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .footer__links {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .footer__col-toggle {
    display: none !important;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    grid-column: 1 / -1;
  }
}

/* ── ACCESSORY CARD GALLERY HOVER ── */
.accessory-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.accessory-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px oklch(0.21 0.05 255 / 0.12); }
.accessory-card__img-wrap { position: relative; overflow: hidden; }
.accessory-card__img-wrap img { transition: transform 0.35s var(--ease-out); }
.accessory-card:hover .accessory-card__img-wrap img { transform: scale(1.05); }
.accessory-card__overlay {
  position: absolute; inset: 0;
  background: oklch(0.21 0.05 255 / 0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
  color: #fff;
}
.accessory-card:hover .accessory-card__overlay { opacity: 1; }

/* ── GALLERY MODAL ── */
.gallery-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: oklch(0.21 0.05 255 / 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(4px);
}
.gallery-modal.open { opacity: 1; pointer-events: all; }
.gallery-modal__content { display: flex; flex-direction: column; align-items: center; max-width: 800px; width: 100%; padding: 1rem; }
.gallery-modal__main-img {
  width: 100%; max-height: 60vh; object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--white);
}
.gallery-modal__thumbs {
  display: flex; gap: 0.5rem; margin-top: 1rem;
  flex-wrap: wrap; justify-content: center;
  max-height: 100px; overflow-y: auto;
}
.gallery-modal__thumb-btn {
  background: none; border: 2px solid transparent;
  padding: 0; cursor: pointer; border-radius: var(--radius-sm);
  overflow: hidden; width: 64px; height: 48px; flex-shrink: 0;
  transition: border-color 0.2s;
}
.gallery-modal__thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.gallery-modal__thumb-btn.active,
.gallery-modal__thumb-btn:hover { border-color: var(--gold); }
.gallery-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: oklch(1 0 0 / 0.1); border: none; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: background 0.2s;
}
.gallery-modal__close:hover { background: oklch(1 0 0 / 0.2); }
.gallery-modal__prev,
.gallery-modal__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: oklch(1 0 0 / 0.1); border: none; border-radius: 50%;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: background 0.2s;
}
.gallery-modal__prev { left: 1rem; }
.gallery-modal__next { right: 1rem; }
.gallery-modal__prev:hover,
.gallery-modal__next:hover { background: oklch(1 0 0 / 0.2); }
.gallery-modal__counter {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  color: oklch(1 0 0 / 0.6); font-family: var(--font-mono); font-size: 0.8rem;
}
@media (max-width: 600px) {
  .gallery-modal__prev { left: 0.25rem; }
  .gallery-modal__next { right: 0.25rem; }
  .gallery-modal__content { padding: 0.5rem; }
}
.footer__cert {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: 4px;
  color: oklch(1 0 0 / 0.45);
}
.footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}
.footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: oklch(1 0 0 / 0.55);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__instagram:hover { color: var(--gold); }
.footer__cert-imgs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer__cert-img {
  height: 32px;
  width: auto;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer__cert-img:hover { opacity: 1; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-section__image { min-height: 340px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom-left { flex-direction: row; gap: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .split-section__content {
    padding: 1.5rem;
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Index page: show 3 products by default, rest hidden */
  .product-card.extra {
    display: none;
  }
  #showMoreBtn {
    display: inline-flex;
  }
  /* Mobile: show only 1 product on index page */
  @media (max-width: 767px) {
    .section--white .product-card.extra {
      display: none;
    }
    .section--white .product-card:nth-child(n+2) {
      display: none;
    }
    #showMoreBtn {
      display: inline-flex;
    }
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.5rem; }
}

/* ── MOBILE COMPARE TABLE: card-based per row ── */
@media (max-width: 768px) {
  .compare-table-wrap { overflow-x: auto; display: inline-block; width: auto; min-width: 100%; }

  /* Let the table shrink to the width of visible columns, not full viewport */
  .compare-table { width: auto; min-width: 0; table-layout: auto; }
  .compare-table tbody { display: block; }
  .compare-table tr { display: flex; flex-direction: row; flex-wrap: nowrap; min-width: 0; }
  .compare-table th { display: flex; align-items: center; justify-content: center; }
  .compare-table td { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; }

  /* Header row — show feature col only, rest as flex */
  .compare-table thead tr { overflow-x: auto; }
  .compare-table thead th:first-child { display: none; }

  /* Feature label column → row title */
  .compare-table tbody td:first-child {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding: 0.5rem 0.75rem 0.1rem 0.75rem;
    background: transparent !important;
    border: none;
    width: auto;
    min-width: 80px;
  }

  /* Product cells: equal flex share of remaining space */
  .compare-table tbody td:not(:first-child) {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hide filtered-out header cells on mobile (product image columns) */
  .compare-table[data-filter="flagship"] th:nth-child(n+4),
  .compare-table[data-filter="hair-wash"] th:nth-child(2),
  .compare-table[data-filter="hair-wash"] th:nth-child(3),
  .compare-table[data-filter="hair-wash"] th:nth-child(5),
  .compare-table[data-filter="hair-wash"] th:nth-child(7),
  .compare-table[data-filter="hair-wash"] th:nth-child(8),
  .compare-table[data-filter="hair-wash"] th:nth-child(9),
  .compare-table[data-filter="hair-wash"] th:nth-child(10),
  .compare-table[data-filter="premium"] th:nth-child(n+2):not(:nth-child(5)),
  .compare-table[data-filter="standard"] th:nth-child(n+2):not(:nth-child(7)):not(:nth-child(8)),
  .compare-table[data-filter="plumbing-free"] th:nth-child(-n+8) {
    display: none;
  }

  /* Hide filtered-out body cells on mobile via visibility (keeps flex layout) */
  .compare-table[data-filter="flagship"] td:nth-child(n+4),
  .compare-table[data-filter="hair-wash"] td:nth-child(2),
  .compare-table[data-filter="hair-wash"] td:nth-child(3),
  .compare-table[data-filter="hair-wash"] td:nth-child(5),
  .compare-table[data-filter="hair-wash"] td:nth-child(7),
  .compare-table[data-filter="hair-wash"] td:nth-child(8),
  .compare-table[data-filter="hair-wash"] td:nth-child(9),
  .compare-table[data-filter="hair-wash"] td:nth-child(10),
  .compare-table[data-filter="premium"] td:nth-child(2),
  .compare-table[data-filter="premium"] td:nth-child(3),
  .compare-table[data-filter="premium"] td:nth-child(4),
  .compare-table[data-filter="premium"] td:nth-child(6),
  .compare-table[data-filter="premium"] td:nth-child(7),
  .compare-table[data-filter="premium"] td:nth-child(8),
  .compare-table[data-filter="premium"] td:nth-child(9),
  .compare-table[data-filter="premium"] td:nth-child(10),
  .compare-table[data-filter="standard"] td:nth-child(2),
  .compare-table[data-filter="standard"] td:nth-child(3),
  .compare-table[data-filter="standard"] td:nth-child(4),
  .compare-table[data-filter="standard"] td:nth-child(5),
  .compare-table[data-filter="standard"] td:nth-child(6),
  .compare-table[data-filter="standard"] td:nth-child(9),
  .compare-table[data-filter="standard"] td:nth-child(10),
  .compare-table[data-filter="plumbing-free"] td:nth-child(2),
  .compare-table[data-filter="plumbing-free"] td:nth-child(3),
  .compare-table[data-filter="plumbing-free"] td:nth-child(4),
  .compare-table[data-filter="plumbing-free"] td:nth-child(5),
  .compare-table[data-filter="plumbing-free"] td:nth-child(6),
  .compare-table[data-filter="plumbing-free"] td:nth-child(7),
  .compare-table[data-filter="plumbing-free"] td:nth-child(8) {
    visibility: hidden;
    flex: 0 0 0;
    min-width: 0;
    padding: 0;
    opacity: 0;
  }

  /* Full-span rows — always show */
  .compare-table td[data-cat="all"] {
    visibility: visible !important;
    flex: none !important;
    width: 100% !important;
    display: block !important;
    padding: 0.875rem 0.75rem !important;
  }
  .compare-table tr:has(td[data-cat="all"]) { display: block; }
  .compare-table tr:has(td[data-cat="all"]) td:not(:first-child) { visibility: hidden !important; }
}

/* ── COMPARE TABLE COLUMN FILTER ── */
/* Column positions (1-based, fixed DOM order):
   1=Feature | 2=LM9Limited(flagship) | 3=LM9(flagship)
   4=HW9(hairwash) | 5=W7(premium) | 6=HW8(hairwash)
   7=W8(standard) | 8=WS8(standard) | 9=NW8(plumbing-free) | 10=Z8(plumbing-free) */

/* Narrow the feature column when a filter is active */
.compare-table.filtered th:first-child,
.compare-table.filtered td:first-child {
  width: 110px;
  min-width: 110px;
  padding-left: 0.75rem;
  font-size: 0.8rem;
}

/* Default: all product columns fully visible */
.compare-table th:not(:first-child),
.compare-table td:not(:first-child) { visibility: visible; }

/* Flagship filter: keep cols 2,3 — collapse all others */
.compare-table[data-filter="flagship"] th:nth-child(n+4) {
  visibility: hidden;
  width: 0;
  padding: 0;
  border: none;
}
.compare-table[data-filter="flagship"] td:nth-child(n+4) {
  visibility: collapse;
}

/* Hair Wash filter: keep cols 4,6 — collapse all others */
.compare-table[data-filter="hair-wash"] th:nth-child(2),
.compare-table[data-filter="hair-wash"] th:nth-child(3),
.compare-table[data-filter="hair-wash"] th:nth-child(5),
.compare-table[data-filter="hair-wash"] th:nth-child(7),
.compare-table[data-filter="hair-wash"] th:nth-child(8),
.compare-table[data-filter="hair-wash"] th:nth-child(9),
.compare-table[data-filter="hair-wash"] th:nth-child(10) {
  visibility: hidden;
  width: 0;
  padding: 0;
  border: none;
}
.compare-table[data-filter="hair-wash"] td:nth-child(2),
.compare-table[data-filter="hair-wash"] td:nth-child(3),
.compare-table[data-filter="hair-wash"] td:nth-child(5),
.compare-table[data-filter="hair-wash"] td:nth-child(7),
.compare-table[data-filter="hair-wash"] td:nth-child(8),
.compare-table[data-filter="hair-wash"] td:nth-child(9),
.compare-table[data-filter="hair-wash"] td:nth-child(10) {
  visibility: collapse;
}

/* Premium filter: keep col 5 — collapse all others */
.compare-table[data-filter="premium"] th:nth-child(n+2):not(:nth-child(5)),
.compare-table[data-filter="premium"] td:nth-child(n+2):not(:nth-child(5)) {
  visibility: collapse;
}
.compare-table[data-filter="premium"] th:nth-child(n+2):not(:nth-child(5)) {
  visibility: hidden;
  width: 0;
  padding: 0;
  border: none;
}

/* Standard filter: keep cols 7,8 — collapse all others */
.compare-table[data-filter="standard"] th:nth-child(n+2):not(:nth-child(7)):not(:nth-child(8)),
.compare-table[data-filter="standard"] td:nth-child(n+2):not(:nth-child(7)):not(:nth-child(8)) {
  visibility: collapse;
}
.compare-table[data-filter="standard"] th:nth-child(n+2):not(:nth-child(7)):not(:nth-child(8)) {
  visibility: hidden;
  width: 0;
  padding: 0;
  border: none;
}

/* Plumbing-Free filter: keep cols 9,10 — collapse all others */
.compare-table[data-filter="plumbing-free"] th:nth-child(-n+8),
.compare-table[data-filter="plumbing-free"] td:nth-child(-n+8) {
  visibility: collapse;
}
.compare-table[data-filter="plumbing-free"] th:nth-child(-n+8) {
  visibility: hidden;
  width: 0;
  padding: 0;
  border: none;
}

/* Full-span rows (data-cat="all") always stay visible */
.compare-table th[data-cat="all"],
.compare-table td[data-cat="all"] { visibility: visible !important; width: auto !important; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: oklch(0 0 0 / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  cursor: zoom-out;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 32px 80px oklch(0 0 0 / 0.5);
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.12);
  border: 1px solid oklch(1 0 0 / 0.20);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
}

.lightbox__close:hover { background: oklch(1 0 0 / 0.22); }
.lightbox__close svg { width: 20px; height: 20px; }
