/* ==========================================================================
   PURPES MATTRESS — CLASSY VELVET INDIGO BRAND THEME & REAL CLOTH DRAPE SYSTEM
   Brand Colors: Deep Indigo (#102445) -> Royal Marine (#1b3b6f)
                 -> Velvet Slate (#234c85) -> Soft Mineral (#3b6ea8)
   Light Mode | Pure Vanilla CSS | Hostinger Static / PHP Ready
   ========================================================================== */

:root {
  /* Brand Core Swatches — CLASSY REFINED INDIGO & VELVET BLUE (MATCHING CLOTH BLANKET) */
  --purpes-navy: #102445;
  --purpes-navy-deep: #0a1931;
  --purpes-navy-midnight: #15325e;
  --purpes-blue-royal: #1b3b6f;
  --purpes-blue: #234c85;
  --purpes-blue-light: #2c5e9e;
  --purpes-blue-slate: #3b6ea8;
  --purpes-blue-soft: #4a7bb0;
  --purpes-blue-ice: #f2f7fc;
  --purpes-indigo: #1e3a6a;

  /* Refined Classy Blue Gradients (Rich Indigo & Velvety Cloth Tones) */
  --gradient-luxury-brand: linear-gradient(135deg, #16345e 0%, #234c85 50%, #36659c 100%);
  --gradient-royal-ocean: linear-gradient(135deg, #102445 0%, #1e4277 55%, #32629b 100%);
  --gradient-aurora-glow: linear-gradient(135deg, rgba(27, 59, 111, 0.16) 0%, rgba(44, 94, 158, 0.10) 50%, rgba(59, 110, 168, 0.06) 100%);
  --gradient-glass-surface: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 254, 0.94) 100%);
  --gradient-accent-blue: linear-gradient(135deg, #1b3b6f 0%, #2e5f9e 100%);
  --gradient-header: linear-gradient(135deg, #102445 0%, #1b3b6f 55%, #25518b 100%);
  --gradient-footer: linear-gradient(145deg, #0d1e38 0%, #15325e 50%, #1e4579 100%);

  /* Light Neutral Surfaces */
  --apple-bg: #ffffff;
  --apple-bg-subtle: #f8fafd;
  --apple-bg-card: #f4f7fb;
  --apple-text-primary: #102445;
  --apple-text-secondary: #4a617d;
  --apple-text-tertiary: #788fa8;
  --apple-border: rgba(35, 76, 133, 0.16);
  --apple-border-light: rgba(35, 76, 133, 0.08);

  /* Elevation & Quilted Piping Shadows */
  --shadow-brand-glow: 0 16px 40px -8px rgba(27, 59, 111, 0.16), 0 6px 18px -4px rgba(44, 94, 158, 0.12);
  --shadow-card-float: 0 18px 40px -10px rgba(27, 59, 111, 0.10);
  --shadow-quilted-card: inset 0 0 0 3px #ffffff, inset 0 0 0 4.5px rgba(35, 76, 133, 0.16), 0 16px 36px -8px rgba(27, 59, 111, 0.10);
  --shadow-subtle: 0 6px 20px rgba(27, 59, 111, 0.05);

  /* Typography & Radii */
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --radius-pill: 980px;
  --radius-card: 28px;
  --radius-card-sm: 18px;

  /* Easing */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-apple);
  font-size: 16px;
  color: var(--apple-text-primary);
  background-color: var(--apple-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, repeat;
  background-size: 100% 100vh, 640px auto;
  background-position: center top;
  position: relative;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   SCROLL MOTION & PROGRESS BAR
   ========================================================================== */

#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-luxury-brand);
  z-index: 2000;
  transition: width 0.1s linear;
}

/* Atmospheric Ambient Blobs */
.ambient-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
  animation: pulseBlob 10s ease-in-out infinite alternate;
}

.blob-hero-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.22) 0%, rgba(37, 99, 235, 0.14) 60%, transparent 100%);
}

.blob-hero-2 {
  width: 600px;
  height: 600px;
  top: 150px;
  left: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(2, 132, 199, 0.12) 60%, transparent 100%);
}

@keyframes pulseBlob {
  0% { transform: scale(1) translate(0, 0); opacity: 0.45; }
  100% { transform: scale(1.18) translate(30px, -20px); opacity: 0.7; }
}

/* Reveal motion utilities */
.motion-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease-apple), transform 0.85s var(--ease-apple);
  will-change: opacity, transform;
}

.motion-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.motion-scale {
  opacity: 0;
  transform: scale(0.95) translateY(24px);
  transition: opacity 0.95s var(--ease-apple), transform 0.95s var(--ease-apple);
  will-change: opacity, transform;
}

.motion-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }

/* ==========================================================================
   AUTHENTIC REAL CLOTH BLANKET SECTION DIVIDERS (DIFFERENT ORGANIC SHAPES & DRAPES)
   ========================================================================== */

.cloth-blanket-divider {
  position: relative;
  width: 100%;
  margin: -25px 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100vw;
}

.cloth-divider-img {
  width: 100%;
  min-width: 1200px;
  height: 125px;
  object-fit: fill;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(10, 24, 48, 0.32));
  transform: translateZ(0);
}



/* ==========================================================================
   REAL CLOTH CONTAINERS (VELVET BLANKET TEXTURE WITH PIPED HEMS & FOLDS)
   ========================================================================== */

.cloth-container {
  position: relative;
  background-image: url('../img/web/blanket-cloth-card.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent !important;
  border: none !important;
  padding: 44px 48px;
  color: #ffffff;
  border-radius: 20px;
  box-shadow: 
    0 24px 50px -10px rgba(10, 24, 48, 0.38),
    0 8px 20px rgba(10, 24, 48, 0.20);
  overflow: hidden;
}

.cloth-container h3, 
.cloth-container h4 {
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cloth-container p {
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.6;
}

.cloth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
}

/* ==========================================================================
   PILLOW NEUMORPHISM SYSTEM (SOFT QUILTED CUSHIONS & TACTILE PILLOW STYLING)
   ========================================================================== */

.pillow-card {
  position: relative;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.85),
    inset -2px -2px 4px rgba(16, 36, 69, 0.03);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease, background 0.28s ease;
}

.pillow-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 
    16px 20px 36px -4px rgba(16, 36, 69, 0.12),
    -12px -12px 28px rgba(255, 255, 255, 1),
    inset 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.pillow-card-inset {
  background: rgba(240, 246, 255, 0.50);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: 
    inset 4px 4px 10px rgba(16, 36, 69, 0.06),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.pillow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.24s var(--ease-spring);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.pillow-btn-primary {
  background: var(--gradient-luxury-brand);
  color: #ffffff;
  box-shadow: 
    6px 10px 24px -2px rgba(27, 59, 111, 0.32),
    -4px -4px 14px rgba(255, 255, 255, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

.pillow-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    8px 14px 28px -2px rgba(27, 59, 111, 0.40),
    -6px -6px 18px rgba(255, 255, 255, 1);
}

.pillow-btn-subtle {
  background: rgba(255, 255, 255, 0.70);
  color: var(--purpes-navy);
  box-shadow: 
    6px 8px 18px rgba(16, 36, 69, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.95),
    inset 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.pillow-btn-subtle:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 
    8px 12px 22px rgba(16, 36, 69, 0.12),
    -8px -8px 20px rgba(255, 255, 255, 1);
}

.pillow-btn:active {
  transform: translateY(1px);
  box-shadow: 
    inset 3px 3px 8px rgba(16, 36, 69, 0.12),
    inset -3px -3px 8px rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   LAYOUT CONTAINERS & APPLE LUXURY TYPOGRAPHY
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 840px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--purpes-blue);
  margin-bottom: 16px;
}

.eyebrow-luxury {
  background: var(--gradient-luxury-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline-hero {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--apple-text-primary);
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.headline-section {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--apple-text-primary);
  margin-bottom: 20px;
}

.headline-sub {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--apple-text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 72px auto;
}

/* Exotic Luxury Shimmer Text */
.gradient-luxury-text {
  background: var(--gradient-luxury-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShimmer 6s ease infinite alternate;
}

@keyframes gradientShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.gradient-ocean-text {
  background: var(--gradient-royal-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   APPLE LUXURY BUTTONS & PILLS
   ========================================================================== */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.28s var(--ease-apple);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Luxury Gradient Button */
.btn-luxury-gradient {
  background: var(--gradient-luxury-brand);
  color: #ffffff;
  box-shadow: 0 8px 22px -4px rgba(21, 44, 70, 0.28), 0 4px 12px -2px rgba(34, 88, 142, 0.22);
}

.btn-luxury-gradient:hover {
  box-shadow: 0 10px 26px -4px rgba(21, 44, 70, 0.35), 0 6px 16px -2px rgba(34, 88, 142, 0.30);
}

.btn-pill-subtle {
  background: rgba(34, 88, 142, 0.07);
  color: var(--purpes-navy);
  border: 1px solid var(--apple-border);
}

.btn-pill-subtle:hover {
  background: rgba(34, 88, 142, 0.12);
  border-color: rgba(34, 88, 142, 0.28);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.apple-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--purpes-blue);
  transition: color 0.2s ease, gap 0.2s ease;
}

.apple-arrow-link svg {
  transition: transform 0.25s var(--ease-apple);
}

.apple-arrow-link:hover {
  color: var(--purpes-blue-electric);
}

/* ==========================================================================
   1. NAVIGATION (FROSTED GLASS + THEME BLUE ACCENT LINE)
   ========================================================================== */

/* ==========================================================================
   1. NAVIGATION (SITE THEME BLUE + MUCH BIGGER CENTERED BRAND LOGO)
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gradient-header);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 28px rgba(16, 36, 69, 0.28);
}

.nav-container {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 40px;
}

.nav-links-left,
.nav-links-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-links-left {
  justify-content: flex-end;
}

.nav-links-right {
  justify-content: flex-start;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.90;
  padding: 8px 4px;
  position: relative;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.25s var(--ease-apple);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Center Big Brand Logo (Image only, no separate text label — MUCH BIGGER) */
.nav-center-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 28px;
  flex: 0 0 auto;
}

.header-logo-img {
  height: 84px;
  width: auto;
  max-width: 250px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s var(--ease-apple);
}

.header-logo-img:hover {
  transform: scale(1.05);
}

/* Header WhatsApp Direct Action Pill */
.nav-btn-pill {
  background: #ffffff;
  color: #1b3b6f;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 10px;
}

.nav-btn-pill:hover {
  background: #f4f8fc;
  color: #234c85;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   2. HERO STAGE (LUXURY AURORA + CALM MATTRESS STAGE)
   ========================================================================== */

.hero-section {
  padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 4vw, 40px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.90);
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--purpes-navy);
  margin-bottom: 14px;
  box-shadow: 6px 8px 18px rgba(16, 36, 69, 0.07), -6px -6px 16px rgba(255, 255, 255, 0.95), inset 1px 1px 2px rgba(255, 255, 255, 0.90);
}

.hero-chip-badge .chip-pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purpes-blue-slate);
  box-shadow: 0 0 0 4px rgba(35, 76, 133, 0.20);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(35, 76, 133, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(35, 76, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 76, 133, 0); }
}

.hero-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0 24px 0;
}

.hero-container {
  max-width: 1040px;
}

/* 3D Hero Perspective Stage — NO WHITE BOX CONTAINER, DIRECTLY ON MATTRESS PATTERN */
.hero-stage,
.hero-large-showcase,
.hero-floating-stage {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-stage-card,
.hero-image-frame {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-mattress-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-mattress-visual,
.hero-mattress-main-img,
.hero-mattress-heroic-img {
  width: 92%;
  max-width: 740px;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 26px 48px rgba(16, 36, 69, 0.26));
  animation: appleBreathing 6s ease-in-out infinite alternate;
}

@keyframes appleBreathing {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.hero-cloth-container {
  margin-top: 24px;
  width: 100%;
  max-width: 980px;
  text-align: left;
  background-color: transparent !important;
  border: none !important;
}

.hero-stage-caption,
.hero-quick-specs {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--apple-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pillow-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-stage-caption {
  margin-top: 36px;
  font-size: 0.875rem;
  color: var(--apple-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stage-caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.hero-stage-caption svg {
  color: var(--purpes-blue-light);
}

/* ==========================================================================
   3. "TAKE A CLOSER LOOK" ANATOMY (APPLE SEGMENTED INTERACTIVE TABS)
   ========================================================================== */

.anatomy-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 85% 15%, rgba(46, 119, 191, 0.15) 0%, rgba(34, 88, 142, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 15% 85%, rgba(34, 88, 142, 0.18) 0%, rgba(46, 119, 191, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, right -100px top -80px, left -100px bottom -80px, center top;
  border-top: 1px solid var(--apple-border-light);
}

.anatomy-nav-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.anatomy-nav-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--purpes-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    6px 8px 18px rgba(16, 36, 69, 0.06),
    -6px -6px 16px rgba(255, 255, 255, 0.95),
    inset 1px 1px 2px rgba(255, 255, 255, 0.85);
  transition: all 0.25s var(--ease-spring);
}

.anatomy-nav-btn:hover {
  color: var(--purpes-navy);
  background: rgba(255, 255, 255, 0.90);
  transform: translateY(-2px);
  box-shadow: 
    8px 12px 22px rgba(16, 36, 69, 0.10),
    -8px -8px 20px rgba(255, 255, 255, 1);
}

.anatomy-nav-btn.active {
  background: var(--gradient-luxury-brand);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.40);
  box-shadow: 
    6px 10px 24px -2px rgba(27, 59, 111, 0.35),
    -4px -4px 14px rgba(255, 255, 255, 0.90),
    inset 1px 1px 2px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.anatomy-section {
  position: relative;
  overflow: visible;
  padding: 80px 0 110px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   3D MATTRESS ANATOMY (RESTING CLOSED MATTRESS -> POP-OUT EXPLODED LAYERS)
   ========================================================================== */

/* Nearby Dynamic Layer Caption with Smooth Transition */
.anatomy-caption-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 25;
}

.anatomy-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 
    8px 12px 24px -2px rgba(16, 36, 69, 0.08),
    -6px -6px 18px rgba(255, 255, 255, 0.95),
    inset 1px 1px 2px rgba(255, 255, 255, 0.90);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 52px;
  text-align: center;
}

.anatomy-caption-pill.is-inspecting {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(35, 76, 133, 0.28);
  box-shadow: 
    10px 16px 32px -2px rgba(27, 59, 111, 0.15),
    -6px -6px 18px rgba(255, 255, 255, 1),
    inset 1px 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.anatomy-caption-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purpes-blue-slate);
  box-shadow: 0 0 0 3px rgba(35, 76, 133, 0.16);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.anatomy-caption-pill.is-inspecting .anatomy-caption-dot {
  background: var(--purpes-blue);
  box-shadow: 0 0 0 4px rgba(46, 119, 191, 0.30);
  transform: scale(1.15);
}

.anatomy-caption-text {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--purpes-navy);
  transition: opacity 0.16s cubic-bezier(0.16, 1, 0.3, 1), transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), filter 0.16s ease;
  will-change: opacity, transform, filter;
  white-space: nowrap;
}

.anatomy-caption-text.is-changing {
  opacity: 0;
  transform: translateY(-5px);
  filter: blur(3px);
}

.exploded-mattress-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  min-height: 740px;
  padding: 40px 20px;
}

/* Master Interactive Mattress Container */
.mattress-interactive-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 1. Assembled Closed Mattress (Visible before hovering) */
.mattress-assembled-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  transition: 
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s ease;
  will-change: opacity, transform;
}

.assembled-mattress-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 22px 42px rgba(16, 36, 69, 0.22));
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When Hovering or Active on Mobile: Assembled Mattress Fades Out */
.mattress-interactive-container:hover .mattress-assembled-view,
.mattress-interactive-container.is-exploded .mattress-assembled-view {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  pointer-events: none;
}

/* 2. 5 Pop-Out Mattress Layers Stack (Popped out on hover) */
.mattress-layers-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 760px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* Individual Layer Slice */
.mattress-layer-slice {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateY(0px) scale(0.95);
  transition: 
    transform 0.70s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.55s ease,
    filter 0.40s ease;
  will-change: transform, opacity, filter;
  -webkit-tap-highlight-color: transparent;
}

.mattress-layer-slice .layer-slice-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(16, 36, 69, 0.16));
  transition: filter 0.40s ease;
}

/* Pop-Out Animation: Layers expand into exploded 3D view on hover/touch */
.mattress-interactive-container:hover .mattress-layer-slice,
.mattress-interactive-container.is-exploded .mattress-layer-slice {
  opacity: 1;
  pointer-events: auto;
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-1,
.mattress-interactive-container.is-exploded .mattress-layer-slice.layer-1 {
  z-index: 9;
  transform: translate(-50%, -50%) translateY(-235px) scale(1);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-2,
.mattress-interactive-container.is-exploded .mattress-layer-slice.layer-2 {
  z-index: 8;
  transform: translate(-50%, -50%) translateY(-118px) scale(1);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-3,
.mattress-interactive-container.is-exploded .mattress-layer-slice.layer-3 {
  z-index: 7;
  transform: translate(-50%, -50%) translateY(0px) scale(1);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-4,
.mattress-interactive-container.is-exploded .mattress-layer-slice.layer-4 {
  z-index: 6;
  transform: translate(-50%, -50%) translateY(118px) scale(1);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-5,
.mattress-interactive-container.is-exploded .mattress-layer-slice.layer-5 {
  z-index: 5;
  transform: translate(-50%, -50%) translateY(235px) scale(1);
}

/* Individual Layer Hover Micro-Animation */
.mattress-interactive-container:hover .mattress-layer-slice:hover,
.mattress-interactive-container.is-exploded .mattress-layer-slice.is-active {
  z-index: 20 !important;
}

.mattress-interactive-container:hover .mattress-layer-slice:hover .layer-slice-img,
.mattress-interactive-container.is-exploded .mattress-layer-slice.is-active .layer-slice-img {
  filter: 
    drop-shadow(0 24px 38px rgba(27, 59, 111, 0.40))
    brightness(1.05)
    contrast(1.02);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-1:hover,
.mattress-layers-stack.has-hover .mattress-layer-slice.layer-1.is-active {
  transform: translate(-50%, -50%) translateY(-248px) scale(1.025);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-2:hover,
.mattress-layers-stack.has-hover .mattress-layer-slice.layer-2.is-active {
  transform: translate(-50%, -50%) translateY(-126px) scale(1.025);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-3:hover,
.mattress-layers-stack.has-hover .mattress-layer-slice.layer-3.is-active {
  transform: translate(-50%, -50%) translateY(0px) scale(1.025);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-4:hover,
.mattress-layers-stack.has-hover .mattress-layer-slice.layer-4.is-active {
  transform: translate(-50%, -50%) translateY(126px) scale(1.025);
}

.mattress-interactive-container:hover .mattress-layer-slice.layer-5:hover,
.mattress-layers-stack.has-hover .mattress-layer-slice.layer-5.is-active {
  transform: translate(-50%, -50%) translateY(248px) scale(1.025);
}

/* Inactive layers softly dim while hovering on a specific layer */
.mattress-layers-stack.has-hover .mattress-layer-slice:not(:hover):not(.is-active) {
  opacity: 0.65;
}

/* Ground shadow */
.mattress-ground-shadow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16, 36, 69, 0.24) 0%, rgba(16, 36, 69, 0.05) 55%, transparent 75%);
  pointer-events: none;
  transition: transform 0.65s ease, opacity 0.65s ease;
}

.mattress-interactive-container:hover .mattress-ground-shadow,
.mattress-interactive-container.is-exploded .mattress-ground-shadow {
  transform: translateX(-50%) scale(1.15);
  opacity: 0.90;
}

/* ==========================================================================
   4. MATTRESS LINEUP (LUXURY BRAND ACCENT TILES + FILTER TABS)
   ========================================================================== */

.lineup-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 15% 20%, rgba(61, 136, 219, 0.16) 0%, rgba(46, 119, 191, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 85% 80%, rgba(34, 88, 142, 0.18) 0%, rgba(21, 44, 70, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, left -100px top -80px, right -100px bottom -80px, center top;
}

.lineup-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.lineup-filter-btn {
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--purpes-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    6px 8px 18px rgba(16, 36, 69, 0.06),
    -6px -6px 16px rgba(255, 255, 255, 0.95),
    inset 1px 1px 2px rgba(255, 255, 255, 0.85);
  transition: all 0.25s var(--ease-spring);
}

.lineup-filter-btn:hover {
  background: rgba(255, 255, 255, 0.90);
  color: var(--purpes-navy);
  transform: translateY(-2px);
  box-shadow: 
    8px 12px 22px rgba(16, 36, 69, 0.10),
    -8px -8px 20px rgba(255, 255, 255, 1);
}

.lineup-filter-btn.active {
  background: var(--gradient-luxury-brand);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.40);
  box-shadow: 
    6px 10px 24px -2px rgba(27, 59, 111, 0.35),
    -4px -4px 14px rgba(255, 255, 255, 0.90),
    inset 1px 1px 2px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

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

.product-tile {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 34px 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease, background 0.28s ease;
}

.product-tile:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 
    16px 22px 36px -4px rgba(16, 36, 69, 0.12),
    -12px -12px 28px rgba(255, 255, 255, 1),
    inset 2px 2px 4px rgba(255, 255, 255, 0.95);
}

.product-tile.featured-tile::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-luxury-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tile-tag-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gradient-luxury-brand);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(21, 44, 70, 0.25);
}

.tile-img-box {
  background: rgba(240, 246, 253, 0.60);
  border-radius: 20px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 4px 4px 10px rgba(16, 36, 69, 0.05),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.tile-img-box img {
  max-height: 210px;
  max-width: 95%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-apple);
}

.tile-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purpes-blue-light);
  margin-bottom: 6px;
}

.tile-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purpes-navy);
  margin-bottom: 8px;
}

.tile-desc {
  font-size: 0.875rem;
  color: var(--apple-text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 40px;
}

.tile-price-box {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--apple-border-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tile-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--purpes-navy);
}

.tile-price-sub {
  font-size: 0.8rem;
  color: var(--apple-text-tertiary);
  text-decoration: line-through;
  margin-left: 6px;
}

/* ==========================================================================
   4B. APPLE LIFESTYLE FILMSTRIP / HORIZONTAL GALLERY
   ========================================================================== */

.lifestyle-section {
  padding: 130px 0 140px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 85% 15%, rgba(46, 119, 191, 0.15) 0%, rgba(34, 88, 142, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 15% 85%, rgba(34, 88, 142, 0.18) 0%, rgba(46, 119, 191, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, right -100px top -80px, left -100px bottom -80px, center top;
}

.filmstrip-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.filmstrip-controls {
  display: flex;
  gap: 12px;
}

.filmstrip-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--apple-border);
  background: var(--apple-bg-card);
  color: var(--purpes-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.filmstrip-ctrl-btn:hover {
  background: var(--gradient-luxury-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(34, 88, 142, 0.3);
}

.filmstrip-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filmstrip-track::-webkit-scrollbar {
  display: none;
}

.lifestyle-card {
  flex: 0 0 440px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  overflow: hidden;
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}

.lifestyle-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 
    16px 20px 36px -4px rgba(16, 36, 69, 0.12),
    -12px -12px 28px rgba(255, 255, 255, 1);
}

.lifestyle-img-wrap {
  width: 100%;
  height: 330px;
  overflow: hidden;
  position: relative;
  background: rgba(240, 246, 253, 0.60);
}

.lifestyle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-content {
  padding: 30px 28px;
}

.lifestyle-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purpes-blue-light);
  margin-bottom: 8px;
  display: block;
}

.lifestyle-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--purpes-navy);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.lifestyle-desc {
  font-size: 0.9rem;
  color: var(--apple-text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   4C. SIGNATURE ACCESSORIES & PILLOWS BENTO
   ========================================================================== */

.accessories-section {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 15% 20%, rgba(46, 119, 191, 0.15) 0%, rgba(34, 88, 142, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 85% 80%, rgba(34, 88, 142, 0.18) 0%, rgba(46, 119, 191, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, left -100px top -80px, right -100px bottom -80px, center top;
}

.accessories-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.accessory-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 38px 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}

.accessory-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 
    16px 22px 36px -4px rgba(16, 36, 69, 0.12),
    -12px -12px 28px rgba(255, 255, 255, 1);
}

.accessory-card.large-feature {
  background: rgba(255, 255, 255, 0.75);
}

.accessory-img-box {
  background: rgba(240, 246, 253, 0.60);
  border-radius: 20px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  margin-bottom: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 4px 4px 10px rgba(16, 36, 69, 0.05),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.accessory-img-box img {
  max-height: 220px;
  max-width: 95%;
  object-fit: contain;
}

.accessory-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--purpes-navy);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.accessory-desc {
  font-size: 0.9rem;
  color: var(--apple-text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.accessory-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(34, 88, 142, 0.12);
}

.accessory-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purpes-navy);
}

/* ==========================================================================
   4D. "THE ART OF THE STITCH" CRAFTSMANSHIP MACRO GALLERY
   ========================================================================== */

.craftsmanship-section {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 85% 15%, rgba(46, 119, 191, 0.15) 0%, rgba(34, 88, 142, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 15% 85%, rgba(34, 88, 142, 0.18) 0%, rgba(46, 119, 191, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, right -100px top -80px, left -100px bottom -80px, center top;
}

.macro-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.macro-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 26px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}

.macro-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 
    16px 20px 36px -4px rgba(16, 36, 69, 0.12),
    -12px -12px 28px rgba(255, 255, 255, 1);
}

.macro-img-wrap {
  height: 290px;
  overflow: hidden;
  position: relative;
}

.macro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.macro-body {
  padding: 24px 20px;
}

.macro-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purpes-blue);
  margin-bottom: 6px;
  display: block;
}

.macro-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--purpes-navy);
  margin-bottom: 6px;
}

.macro-text {
  font-size: 0.85rem;
  color: var(--apple-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   5. CUSTOM SIZE CALCULATOR (APPLE LUXURY GRADIENT CARD)
   ========================================================================== */

.calculator-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 85% 15%, rgba(46, 119, 191, 0.15) 0%, rgba(34, 88, 142, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 15% 85%, rgba(34, 88, 142, 0.18) 0%, rgba(46, 119, 191, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, right -100px top -80px, left -100px bottom -80px, center top;
  border-top: 1px solid var(--apple-border-light);
}

.calculator-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
  position: relative;
}

.calculator-controls-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 42px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
  display: flex;
  flex-direction: column;
}

.calc-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purpes-navy);
  margin-bottom: 16px;
}

.size-pill-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.size-pill-btn {
  background: rgba(255, 255, 255, 0.70);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 13px 8px;
  text-align: center;
  cursor: pointer;
  box-shadow: 
    4px 6px 12px rgba(16, 36, 69, 0.05),
    -4px -4px 10px rgba(255, 255, 255, 0.95),
    inset 1px 1px 2px rgba(255, 255, 255, 0.80);
  transition: all 0.24s var(--ease-spring);
}

.size-pill-btn:hover {
  background: rgba(255, 255, 255, 0.90);
  transform: translateY(-2px);
}

.size-pill-btn strong {
  display: block;
  font-size: 0.875rem;
  color: var(--apple-text-primary);
}

.size-pill-btn span {
  font-size: 0.75rem;
  color: var(--apple-text-tertiary);
}

.size-pill-btn.active {
  background: var(--gradient-luxury-brand);
  border-color: rgba(255, 255, 255, 0.40);
  box-shadow: 
    4px 8px 18px rgba(27, 59, 111, 0.35),
    inset 1px 1px 2px rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.size-pill-btn.active strong,
.size-pill-btn.active span {
  color: #ffffff !important;
}

.range-wrap {
  background: rgba(240, 246, 253, 0.60);
  border-radius: 20px;
  padding: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 4px 4px 10px rgba(16, 36, 69, 0.05),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.range-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.apple-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}

.apple-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-luxury-brand);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(34, 88, 142, 0.35);
  cursor: pointer;
}

/* Quote Summary Box */
.calc-summary-box {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90);
}

.summary-headline {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--purpes-navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.summary-sub {
  font-size: 0.875rem;
  color: var(--apple-text-secondary);
  margin-bottom: 24px;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  color: var(--apple-text-secondary);
}

.summary-list strong {
  color: var(--apple-text-primary);
}

.summary-price-total {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--purpes-navy);
  margin-bottom: 22px;
}

/* ==========================================================================
   6. BENTO GRID (EXOTIC LUXURY ACCENTS & HERITAGE BROCHURE CARD)
   ========================================================================== */

.bento-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 253, 0.55) 60%, rgba(255, 255, 255, 0.78) 100%),
    radial-gradient(circle at 15% 20%, rgba(46, 119, 191, 0.15) 0%, rgba(34, 88, 142, 0.04) 40%, transparent 65%),
    radial-gradient(circle at 85% 80%, rgba(34, 88, 142, 0.18) 0%, rgba(46, 119, 191, 0.05) 45%, transparent 65%),
    url('../img/MattPatt.png');
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: 100% 100%, 850px 850px, 900px 900px, 640px auto;
  background-position: center top, left -100px top -80px, right -100px bottom -80px, center top;
}

.bento-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.bento-card-clean {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 34px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
  box-shadow: 
    12px 14px 28px -4px rgba(16, 36, 69, 0.08),
    -10px -10px 24px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.bento-card-clean:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 
    16px 22px 36px -4px rgba(16, 36, 69, 0.12),
    -12px -12px 28px rgba(255, 255, 255, 1);
}

.bento-img-box {
  background: rgba(240, 246, 253, 0.60);
  border-radius: 18px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 4px 4px 10px rgba(16, 36, 69, 0.05),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.bento-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.bento-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}

.bento-card-clean h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purpes-navy);
  margin-bottom: 10px;
}

.bento-card-clean p {
  font-size: 0.9rem;
  color: var(--apple-text-secondary);
  line-height: 1.55;
}

/* Kerala Factory Heritage Banner */
.heritage-card-wide {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  padding: 50px 46px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 
    14px 18px 36px -4px rgba(16, 36, 69, 0.08),
    -12px -12px 28px rgba(255, 255, 255, 0.95),
    inset 2px 2px 4px rgba(255, 255, 255, 0.90),
    inset -2px -2px 4px rgba(16, 36, 69, 0.02);
}

.heritage-doc-visual {
  background: rgba(240, 246, 253, 0.60);
  border-radius: 24px;
  padding: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    inset 4px 4px 10px rgba(16, 36, 69, 0.05),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.heritage-doc-visual img {
  border-radius: 12px;
  max-height: 240px;
  object-fit: contain;
}

/* ==========================================================================
   7. FOOTER (SITE THEME BLUE + EMBEDDED BRAND IDENTITY)
   ========================================================================== */

.site-footer {
  padding: 90px 0 60px 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-footer);
  border-top: 3.5px dashed rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 12px 28px rgba(15, 23, 42, 0.22);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.90);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand-logo img {
  height: 72px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.28));
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS (ALL SECTIONS)
   ========================================================================== */

@media (max-width: 1200px) {
  .lineup-grid { grid-template-columns: repeat(2, 1fr); }
  .accessories-bento-grid { grid-template-columns: 1fr 1fr; }
  .macro-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-mattress-main-img {
    max-width: 620px;
    max-height: 440px;
  }
  .calculator-card,
  .heritage-card-wide {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .exploded-mattress-stage {
    min-height: 560px;
    padding: 24px 10px;
  }
  .mattress-interactive-container {
    height: 520px;
    max-width: 580px;
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-1,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-1 {
    transform: translate(-50%, -50%) translateY(-165px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-2,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-2 {
    transform: translate(-50%, -50%) translateY(-82px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-3,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-3 {
    transform: translate(-50%, -50%) translateY(0px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-4,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-4 {
    transform: translate(-50%, -50%) translateY(82px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-5,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-5 {
    transform: translate(-50%, -50%) translateY(165px) scale(1);
  }
  .bento-trio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Layout Containers */
  .container {
    padding: 0 18px;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .headline-section {
    font-size: clamp(2rem, 5.5vw, 2.6rem);
    margin-bottom: 12px;
  }

  /* Header & Logo */
  .nav-container {
    padding: 10px 16px;
    min-height: 80px;
    justify-content: center;
  }
  .header-logo-img {
    height: 64px;
    max-width: 190px;
  }

  /* Hero Section */
  .hero-section {
    padding: 24px 0 28px 0;
  }
  .hero-mattress-main-img {
    width: 95%;
    max-width: 500px;
    max-height: 360px;
  }
  .blob-hero-1, .blob-hero-2 {
    display: none;
  }

  /* Cloth Blanket Dividers */
  .cloth-blanket-divider {
    margin: -15px 0;
  }
  .cloth-divider-img {
    min-width: 100%;
    width: 100%;
    height: 75px;
    object-fit: cover;
  }

  /* Anatomy Interactive Section */
  .anatomy-caption-wrap {
    margin-bottom: 18px;
  }
  .anatomy-caption-pill {
    padding: 10px 22px;
    min-height: 46px;
    gap: 10px;
  }
  .anatomy-caption-text {
    font-size: 0.98rem;
    white-space: normal;
  }
  .exploded-mattress-stage {
    min-height: 440px;
    padding: 16px 8px;
  }
  .mattress-interactive-container {
    width: 95%;
    max-width: 380px;
    height: 380px;
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-1,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-1 {
    transform: translate(-50%, -50%) translateY(-112px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-2,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-2 {
    transform: translate(-50%, -50%) translateY(-56px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-3,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-3 {
    transform: translate(-50%, -50%) translateY(0px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-4,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-4 {
    transform: translate(-50%, -50%) translateY(56px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-5,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-5 {
    transform: translate(-50%, -50%) translateY(112px) scale(1);
  }

  /* Lifestyle Section */
  .filmstrip-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .filmstrip-track {
    gap: 16px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .lifestyle-card {
    flex: 0 0 85vw;
    max-width: 340px;
    border-radius: 20px;
  }
  .lifestyle-img-wrap {
    height: 220px;
  }
  .lifestyle-content {
    padding: 22px 18px;
  }

  /* Mattress Models, Accessories & Craftsmanship */
  .lineup-grid { grid-template-columns: 1fr; gap: 20px; }
  .accessories-bento-grid { grid-template-columns: 1fr; gap: 18px; }
  .macro-gallery-grid { grid-template-columns: 1fr; gap: 18px; }

  /* Custom Calculator */
  .calculator-controls-card {
    padding: 28px 18px;
    border-radius: 22px;
  }
  .size-pill-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .range-wrap {
    padding: 18px 14px;
  }
  .cloth-container {
    padding: 28px 18px;
    border-radius: 22px;
  }

  /* Heritage */
  .bento-card-clean,
  .heritage-card-wide {
    padding: 26px 18px;
    border-radius: 22px;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 24px 0;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 480px) {
  /* Smaller phones */
  .container {
    padding: 0 14px;
  }
  .nav-container {
    padding: 8px 12px;
    min-height: 72px;
  }
  .header-logo-img {
    height: 54px;
    max-width: 160px;
  }
  .hero-section {
    padding: 20px 0 24px 0;
  }
  .hero-mattress-main-img {
    width: 100%;
    max-width: 360px;
    max-height: 280px;
  }

  .cloth-blanket-divider {
    margin: -10px 0;
  }
  .cloth-divider-img {
    height: 56px;
  }

  .anatomy-caption-wrap {
    margin-bottom: 12px;
  }
  .anatomy-caption-pill {
    padding: 8px 16px;
    min-height: 42px;
    gap: 8px;
  }
  .anatomy-caption-text {
    font-size: 0.88rem;
    white-space: normal;
  }
  .exploded-mattress-stage {
    min-height: 380px;
    padding: 12px 4px;
  }
  .mattress-interactive-container {
    width: 96%;
    max-width: 310px;
    height: 330px;
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-1,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-1 {
    transform: translate(-50%, -50%) translateY(-92px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-2,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-2 {
    transform: translate(-50%, -50%) translateY(-46px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-3,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-3 {
    transform: translate(-50%, -50%) translateY(0px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-4,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-4 {
    transform: translate(-50%, -50%) translateY(46px) scale(1);
  }
  .mattress-interactive-container:hover .mattress-layer-slice.layer-5,
  .mattress-interactive-container.is-exploded .mattress-layer-slice.layer-5 {
    transform: translate(-50%, -50%) translateY(92px) scale(1);
  }

  .lifestyle-card {
    flex: 0 0 88vw;
    max-width: 310px;
  }
  .lifestyle-img-wrap {
    height: 190px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .floating-whatsapp {
    bottom: 14px;
    right: 14px;
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}
