/* ============================================================
   SLEEPYEDGE — Premium Mattress Brand CSS
   Bright, luxurious, world-class design
   ============================================================ */

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

:root {
  /* Brand Colors */
  --gold:        #C9963F;
  --gold-light:  #F0D9A8;
  --gold-dark:   #A87B2A;
  --blue:        #1B4F8A;
  --blue-light:  #EBF3FF;
  --blue-mid:    #2B6CB0;
  --teal:        #2A9D8F;
  --teal-light:  #E6F7F5;

  /* Neutrals */
  --white:       #FFFFFF;
  --cream:       #FFF8F0;
  --cream-2:     #FFF3E6;
  --ivory:       #FDFAF6;
  --dark:        #1A1A2E;
  --mid:         #4A4A5A;
  --light:       #8A8A9A;
  --border:      #E8E0D5;
  --border-soft: #F0EBE3;

  /* Typography */
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container:   1240px;
  --radius:      16px;
  --radius-sm:   10px;

  /* Shadows */
  --shadow-sm:  0 4px 20px rgba(26,26,46,0.06);
  --shadow-md:  0 12px 40px rgba(26,26,46,0.10);
  --shadow-lg:  0 24px 80px rgba(26,26,46,0.14);
  --shadow-gold: 0 8px 30px rgba(201,150,63,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; }

/* ── UTILITIES ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.sec-head {
  text-align: center;
  margin-bottom: 64px;
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.sec-sub {
  font-size: 18px;
  color: var(--mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-primary-sm:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 50px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.25);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid rgba(26,26,46,0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
/* Ghost on dark/overlay backgrounds */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(8px);
  text-decoration: none;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.3);
  border-color: var(--white);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANNOUNCEMENT BAR ────────────────────────────────────── */
.announce-bar {
  background: var(--blue);
  background-size: 200% auto;
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 200;
}
@keyframes announceShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s var(--ease);
  padding: 0 24px;
}

.nav.scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.4s, padding 0.4s;
}
.nav.scrolled .nav-inner {
  border-bottom-color: transparent;
  padding: 14px 0;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 12px;
  border: 2px solid #D9D0C0;
  transition: padding 0.4s, border-radius 0.4s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-logo:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,150,63,0.2);
}
.nav.scrolled .nav-logo {
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 10px;
}
.logo-img {
  height: 40px;
  width: auto;
  filter: none;
  transition: height 0.4s;
}
.nav.scrolled .logo-img {
  filter: none;
}
.logo-text-fallback {
  display: none;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--gold-dark); }

.nav.scrolled .nav-link { color: var(--mid); }
.nav.scrolled .nav-link:hover { color: var(--dark); }

.nav-cta { margin-left: 8px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav.scrolled .burger span { background: var(--dark); }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mob-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--white);
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transition: right 0.4s var(--ease);
}
.mob-menu.open { right: 0; }
.mob-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--mid);
}
.mob-link {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--gold); }
.mob-cta { margin-top: 24px; text-align: center; justify-content: center; }

.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.5);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(4px);
}
.mob-overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  overflow: hidden;
  /* Exact sampled background from homepage.png bedroom walls */
  background: #b4bdbf;
}

/* ── Split: 42% text / 58% image ── */
.hero-split {
  display: grid;
  grid-template-columns: 42% 58%;
  width: 100%;
}

.hero-left {
  display: flex;
  align-items: center;
  /* Nudge content towards the image */
  justify-content: flex-end;
  padding: 100px clamp(32px, 4vw, 56px) 80px clamp(24px, 5vw, 56px);
}

.hero-right {
  /* Stick image to bottom so mattress sits at the page edge */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-img {
  /* Full image visible — no cropping at all */
  width: 100%;
  height: auto;
  display: block;
  /* Slight upscale so image fills the right column height */
  min-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 500px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-title em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: 18px;
  color: var(--dark);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-btn { font-size: 15px; padding: 16px 36px; }

.hero-badges {
  display: flex;
  align-items: center;
  gap: 32px;
}
.h-badge { text-align: center; }
.hb-num {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hb-label {
  display: block;
  font-size: 12px;
  color: var(--mid);
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.h-badge-sep {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track { display: flex; overflow: hidden; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  padding-right: 32px;
}
.marquee-inner span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
}
.marquee-inner .star { color: rgba(255,255,255,0.6); font-size: 10px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── LIFESTYLE BAND ──────────────────────────────────────── */
.lifestyle-band {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}
.lifestyle-band-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.lifestyle-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 45, 0.72) 0%,
    rgba(10, 20, 45, 0.45) 45%,
    rgba(10, 20, 45, 0.08) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 clamp(32px, 7vw, 120px);
}
.lifestyle-band-text {
  max-width: 560px;
}
.lifestyle-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.lifestyle-band-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.lifestyle-band-text h2 em {
  font-style: italic;
  color: var(--gold-light);
}

/* ── COLLECTION ──────────────────────────────────────────── */
.collection {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prod-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid var(--border-soft);
}
.prod-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.prod-card--featured {
  border: 2px solid var(--gold);
  position: relative;
}
.prod-card--featured::before {
  content: '✦ Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: 0 0 12px 12px;
  z-index: 5;
  white-space: nowrap;
}
.prod-card--featured .prod-badge {
  top: 56px;
}

.prod-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--cream);
  overflow: hidden;
}
.prod-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.5s var(--ease);
}
.prod-card:hover .prod-img { transform: scale(1.05); }

.prod-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 3;
}
.badge-entry   { background: var(--blue-light); color: var(--blue); }
.badge-pro     { background: #EEF7F0; color: #2D7A3A; }
.badge-elevate { background: var(--teal-light); color: var(--teal); }
.badge-best    { background: var(--gold); color: var(--white); }
.badge-attune  { background: #F5EEF8; color: #6B3FA0; }
.badge-premium { background: var(--cream-2); color: var(--gold-dark); }

.prod-hover-cta {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.prod-card:hover .prod-hover-cta { opacity: 1; }
.prod-hover-cta a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  background: var(--gold);
  padding: 12px 28px;
  border-radius: 50px;
  transition: background 0.3s;
}
.prod-hover-cta a:hover { background: var(--gold-dark); }

.prod-body {
  padding: 24px;
}
.prod-series {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.prod-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.prod-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 16px;
}
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.prod-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 50px;
}
.prod-card--featured .prod-tags span {
  color: var(--gold-dark);
  background: var(--cream-2);
}

/* ── SIZE SELECTOR ───────────────────────────────────────── */
.prod-sizes {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.size-btn {
  padding: 5px 13px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  line-height: 1.4;
}
.size-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.size-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  font-weight: 600;
}
.prod-card--featured .size-btn.active {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
}

.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}
.prod-price {
  font-size: 14px;
  color: var(--mid);
}
.prod-price strong {
  font-size: 20px;
  color: var(--dark);
  font-weight: 700;
}

/* ── FEATURES ────────────────────────────────────────────── */
.features {
  padding: var(--section-pad) 0;
  background: var(--white);
}

/* ── Feature hero (1 image + text split) ─ */
.feat-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
  background: var(--ivory);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feat-hero-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.feat-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.feat-hero:hover .feat-hero-img img { transform: scale(1.04); }
.feat-hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.feat-hero-body {
  padding: 48px 48px 48px 0;
}

/* Shared text styles */
.feat-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.feat-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.feat-desc {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding-left: 20px;
  position: relative;
}
.feat-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 2px;
}

/* ── Benefit icon cards ─ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.benefit-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFD54F 0%, #FFAB40 60%, var(--gold) 100%);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 20px 60px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(26,26,46,0.65);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.stat-sep {
  width: 1px;
  height: 80px;
  background: rgba(26,26,46,0.15);
}

/* ── SLEEP SCIENCE ───────────────────────────────────────── */
.science {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.science-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.science-text .sec-title { text-align: left; margin-bottom: 24px; }
.science-p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.science-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.sci-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sci-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}
.sci-feat strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 4px;
}
.sci-feat p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* MATTRESS LAYER DIAGRAM */
.science-visual { position: relative; }
.sci-card-stack {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sci-layer {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  transition: transform 0.3s var(--ease);
  cursor: default;
}
.sci-layer:hover { transform: translateX(10px); z-index: 2; }
.sci-layer--1 { background: #FFF8F0; min-height: 60px; }
.sci-layer--2 { background: #FDF0E0; min-height: 80px; }
.sci-layer--3 { background: #F5E8D5; min-height: 70px; }
.sci-layer--4 { background: #EBF3FF; min-height: 100px; }
.sci-layer--5 { background: #D6E8F7; min-height: 80px; }

.layer-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.3px;
}
.sci-layer--1 .layer-label::before { content: '🌟  '; }
.sci-layer--2 .layer-label::before { content: '☁️  '; }
.sci-layer--3 .layer-label::before { content: '💧  '; }
.sci-layer--4 .layer-label::before { content: '🔧  '; }
.sci-layer--5 .layer-label::before { content: '🏗️  '; }

.sci-caption {
  text-align: center;
  font-size: 13px;
  color: var(--light);
  margin-top: 16px;
  font-style: italic;
}

/* ── WHY US ──────────────────────────────────────────────── */
.why-us {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s var(--ease);
}
.why-card:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.why-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.reviews {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}
.reviews .sec-head .eyebrow { color: var(--gold); }
.reviews .sec-title { color: var(--dark); }
.overall-rating {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.stars-big { font-size: 22px; color: var(--gold); letter-spacing: 2px; }
.overall-rating p { font-size: 15px; color: var(--mid); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.review-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
}
.review-author p { font-size: 12px; color: var(--light); margin-top: 2px; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .sec-title { text-align: left; }
.about-p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-quote {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--blue);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  line-height: 1.5;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.val-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.val-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.about-img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-img-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 20, 45, 0.88) 0%, transparent 100%);
  display: flex;
  justify-content: space-around;
  padding: 40px 24px 22px;
}
.ais-item {
  text-align: center;
  color: #fff;
}
.ais-item span {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.ais-item small {
  font-size: 11px;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.cert-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cert-badge {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}
.cert-badge small {
  display: block;
  font-weight: 400;
  color: var(--light);
  margin-top: 4px;
  font-size: 11px;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.contact-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.c-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.c-info-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gold-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-info-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.c-info-item a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}
.c-info-item a:hover { color: var(--blue); }
.c-info-item p { font-size: 15px; color: var(--mid); line-height: 1.6; }

.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.soc-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.2s;
}
.soc-link:hover { background: var(--blue); color: var(--white); }

/* CONTACT FORM */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,150,63,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 16px;
  border: none;
  cursor: pointer;
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-success {
  display: none;
  margin-top: 16px;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.footer-logo-img {
  height: 40px;
  filter: none;
}
.footer-logo-fallback {
  display: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social a {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--dark); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--light); }
.footer-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--light);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first fixes
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet landscape (≤1100px) ──────────────────────────── */
@media (max-width: 1100px) {
  .prod-grid     { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait (≤1024px) ───────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .science-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .stat-item     { padding: 20px 32px; }
}

/* ── Mobile (≤768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }

  /* Announce bar */
  .announce-bar { font-size: 11px; padding: 8px 12px; }

  /* ─ Nav ─ */
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav { top: 34px; padding: 0 16px; }
  .nav.scrolled { top: 0; }
  .nav-inner { padding: 12px 0; gap: 0; }

  /* Logo pill — smaller on mobile */
  .nav-logo { padding: 6px 12px; border-radius: 10px; }
  .logo-img  { height: 32px; }

  /* ─ HERO — mobile: stack vertically ─ */
  .hero { height: auto; min-height: 100svh; }
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .hero-left {
    order: 1;
    justify-content: flex-start;
    padding: 100px 24px 32px;
  }
  .hero-right {
    order: 2;
    min-height: 360px;
    align-items: flex-end;
  }
  .hero-img {
    width: 100%;
    height: auto;
    min-height: unset;
    object-fit: contain;
    object-position: center bottom;
  }

  /* Lifestyle band — shorter on mobile */
  .lifestyle-band { height: 320px; }
  .lifestyle-band-overlay { padding: 0 28px; }

  /* Hero content stacks centrally */
  .hero-content {
    max-width: 100%;
    padding: 0 0 48px;
    text-align: center;
    align-items: center;
  }

  .hero-eyebrow { margin-bottom: 12px; }

  .hero-title {
    font-size: clamp(36px, 11vw, 56px);
    max-width: 100%;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }
  .hero-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    font-size: 14px;
    padding: 14px 28px;
  }

  .hero-badges {
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
  }
  .hb-num  { font-size: 22px; }
  .hb-label { font-size: 11px; }
  .h-badge-sep { height: 32px; }

  /* Scroll indicator hide on mobile */
  .hero-scroll { display: none; }

  /* ─ Marquee ─ */
  .marquee-inner { gap: 20px; }
  .marquee-inner span { font-size: 11px; }

  /* ─ Section headings ─ */
  .sec-head { margin-bottom: 40px; }
  .sec-title { font-size: clamp(28px, 7vw, 40px); }
  .sec-sub   { font-size: 15px; }

  /* ─ Products ─ */
  .prod-grid     { grid-template-columns: 1fr; gap: 20px; }
  .prod-card--featured::before { font-size: 10px; }

  /* ─ Features ─ */
  .feat-hero { grid-template-columns: 1fr; margin-bottom: 32px; border-radius: var(--radius); }
  .feat-hero-img { aspect-ratio: 16/9; }
  .feat-hero-body { padding: 28px 24px; }
  .feat-title  { font-size: 26px; }
  .feat-desc   { font-size: 15px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .benefit-card { padding: 24px 18px; }
  .benefit-icon { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }

  /* ─ Stats ─ */
  .stats-bar { padding: 48px 0; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-sep  { display: none; }
  .stat-item { padding: 24px 16px; border-bottom: 1px solid rgba(26,26,46,0.08); }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(26,26,46,0.08); }
  .stat-num  { font-size: 44px; }
  .stat-label { font-size: 12px; }

  /* ─ Sleep Science ─ */
  .science-text .sec-title { text-align: center; }
  .science-p { font-size: 15px; }
  .sci-layer { padding: 14px 18px; }
  .layer-label { font-size: 12px; }

  /* ─ Why Us ─ */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-card { padding: 24px 16px; }
  .why-icon { font-size: 32px; }
  .why-card h4 { font-size: 16px; }
  .why-card p  { font-size: 13px; }

  /* ─ Reviews ─ */
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .overall-rating { flex-direction: column; gap: 4px; }

  /* ─ About ─ */
  .about-inner   { grid-template-columns: 1fr; gap: 36px; }
  .about-text .sec-title { text-align: center; }
  .about-quote   { font-size: 16px; }
  .about-values  { grid-template-columns: 1fr; }
  .asc-row       { grid-template-columns: 1fr 1fr; }
  .asc-num       { font-size: 32px; }
  .cert-badges   { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cert-badge    { padding: 12px 8px; font-size: 11px; }

  /* ─ Contact ─ */
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-form  { padding: 24px 20px; }
  .form-row      { grid-template-columns: 1fr; }

  /* ─ Footer ─ */
  .footer        { padding: 56px 0 0; }
  .footer-top    { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-desc   { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-trust  { flex-wrap: wrap; }
}

/* ── Small mobile (≤480px) ───────────────────────────────── */
@media (max-width: 480px) {
  .announce-bar { display: none; } /* Too cluttered — hide on tiny screens */
  .nav { top: 0; }

  .hero { height: 100dvh; }
  .hero-title { font-size: clamp(32px, 12vw, 48px); }
  .hero-badges { gap: 12px; }
  .h-badge-sep { height: 24px; }

  .why-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .cert-badges { grid-template-columns: 1fr 1fr; }

  .prod-tags { display: none; } /* Save space on tiny screens */

  .footer-social { gap: 12px; }
  .footer-col h5 { margin-bottom: 12px; }
}

/* ═══════════════════════════════════════════════════════
   CART ICON BUTTON (nav)
═══════════════════════════════════════════════════════ */
.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  padding: 6px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.cart-icon-btn:hover { opacity: 0.75; }
.nav.scrolled .cart-icon-btn { color: var(--dark); }

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════════════════ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 900;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}
.cart-drawer-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #999;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.cart-drawer-close:hover { color: var(--dark); background: #f5f5f5; }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-empty-msg {
  text-align: center;
  color: #999;
  font-size: 15px;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--cream);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px;
}
.cart-item-price {
  font-size: 14px;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 10px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-qty-btn:hover { background: #f5f5f5; }
.cart-qty-num {
  font-size: 14px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  font-size: 16px;
  padding: 4px;
  align-self: flex-start;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #e55; }

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}
.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--dark);
}
.cart-drawer-total strong { font-size: 18px; color: var(--gold-dark); }
.cart-drawer-note {
  font-size: 12px;
  color: #aaa;
  margin: 0 0 16px;
}
.cart-checkout-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
}

/* Add-to-cart button loading state */
.add-to-cart-btn.loading {
  opacity: 0.65;
  pointer-events: none;
}
.add-to-cart-btn.added {
  background: #2D7A3A !important;
  border-color: #2D7A3A !important;
  color: var(--white) !important;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ═══════════════════════════════════════════════════════════
   NEW ANIMATIONS & EFFECTS
   ═══════════════════════════════════════════════════════════ */

/* ── Hero stat badges — gentle float ── */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.h-badge:nth-child(1) { animation: floatBadge 3s ease-in-out infinite; }
.h-badge:nth-child(3) { animation: floatBadge 3s ease-in-out 0.8s infinite; }
.h-badge:nth-child(5) { animation: floatBadge 3s ease-in-out 1.6s infinite; }

/* ── Featured product card — gold pulse ring ── */
@keyframes featuredPulse {
  0%   { box-shadow: 0 0 0 0   rgba(201,150,63,0.45), var(--shadow-md); }
  60%  { box-shadow: 0 0 0 12px rgba(201,150,63,0),   var(--shadow-md); }
  100% { box-shadow: 0 0 0 0   rgba(201,150,63,0),    var(--shadow-md); }
}
.prod-card--featured {
  animation: featuredPulse 2.8s ease-out infinite;
}

/* ── Hero primary CTA — soft gold glow pulse ── */
@keyframes heroBtnGlow {
  0%,100% { box-shadow: 0 0 0 0   rgba(201,150,63,0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(201,150,63,0); }
}
.hero-ctas .btn-primary {
  animation: heroBtnGlow 2.5s ease-in-out infinite;
}

/* ── Marquee — pause on hover ── */
.marquee-wrap:hover .marquee-inner {
  animation-play-state: paused;
}

/* ── Product card — enhanced hover glow ── */
.prod-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(201,150,63,0.18), var(--shadow-md);
}

/* ── Benefit cards — enhanced hover ── */
.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(201,150,63,0.15);
  border-color: var(--gold-light);
}

/* ── Why-us cards — gold on hover ── */
.why-card:hover {
  background: var(--cream-2);
  border-color: var(--gold-light);
}

/* ── Scroll reveal — slightly snappier spring ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Science layer hover — brighter slide ── */
.sci-layer:hover {
  transform: translateX(14px);
  box-shadow: -4px 0 0 var(--gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

/* ── About quote — teal highlight ── */
.about-quote {
  color: var(--teal);
}


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

/* Breadcrumb */
.pd-breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-top: 80px;
  font-size: 13px;
  color: var(--light);
}
.pd-breadcrumb a { color: var(--mid); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb span { margin: 0 8px; }

/* Product section */
.pd-section {
  padding: 60px 0 80px;
  background: #fff;
}

/* Two-column layout */
.pd-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.pd-gallery { position: sticky; top: 100px; }
.pd-main-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.pd-thumbs {
  display: flex;
  gap: 12px;
}
.pd-thumb {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--cream);
}
.pd-thumb.active,
.pd-thumb:hover { border-color: var(--gold); }

/* Product info */
.pd-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px;
  line-height: 1.2;
}
.pd-desc-text {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin: 0 0 20px;
}

/* Size selector */
.pd-size-section { margin: 24px 0; }
.pd-size-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 12px;
}
.pd-size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pd-size-btn {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark);
  text-align: left;
  transition: all 0.2s;
  font-family: var(--sans);
}
.pd-size-btn:hover { border-color: var(--gold); }
.pd-size-btn.active {
  border-color: var(--gold);
  background: rgba(201,150,63,0.06);
  color: var(--gold-dark);
}
.pd-size-btn strong { color: var(--gold-dark); }

/* Price */
.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0 20px;
}
.pd-price-label { font-size: 14px; color: var(--light); }
.pd-price-val {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--serif);
}

/* Add to cart */
.pd-add-btn {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

/* Trust signals */
.pd-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
}

/* Features list */
.pd-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pd-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--mid);
}
.pd-features li:last-child { border-bottom: none; }

/* Explore more section */
.explore-more-section { padding: 80px 0; }

/* Responsive */
@media (max-width: 900px) {
  .pd-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pd-gallery { position: static; }
  .pd-size-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .pd-size-grid { grid-template-columns: 1fr; }
  .pd-trust { grid-template-columns: 1fr; }
}
