/* ==========================================================================
   GLOBAL MATTRESS - EXACT DESIGN STYLESHEET
   Brand Colors, Typography, Layouts & Micro-Interactions
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary-red: #D0191F;
  --color-primary-dark: #B01217;
  --color-primary-hover: #9E0F14;
  --color-red-tint: #FFF0F1;
  --color-red-border: #F8D7DA;
  
  /* Neutrals */
  --color-text-main: #18181B;
  --color-text-secondary: #4B5563;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8F9FA;
  --color-bg-subtle: #F3F4F6;
  --color-border-light: #E5E7EB;
  --color-border-dark: #D1D5DB;

  /* Accents */
  --color-star-gold: #F59E0B;
  --color-success-green: #10B981;
  --color-dark-surface: #1E2124;

  /* Typography */
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max-width-container: 1280px;
  --header-height: 84px;
  --transition-standard: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-standard);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition-standard);
}

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

ul {
  list-style: none;
}

.section-container {
  width: 100%;
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-red {
  color: var(--color-primary-red);
}

/* ==========================================================================
   BUTTONS & UI CONTROLS
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primary-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(208, 25, 31, 0.25);
  transition: var(--transition-standard);
  border: 2px solid var(--color-primary-red);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(208, 25, 31, 0.35);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: var(--transition-standard);
  backdrop-filter: blur(4px);
}

.btn-secondary-outline:hover {
  background-color: #FFFFFF;
  color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-md {
  padding: 12px 26px;
  font-size: 0.9rem;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   1. TOP PROMO BAR
   ========================================================================== */

.top-promo-bar {
  background-color: var(--color-primary-red);
  color: #FFFFFF;
  padding: 7px 16px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 50;
}

.promo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  transition: opacity 0.2s ease;
}

.promo-link:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.promo-link i {
  font-size: 1.15rem;
  margin-right: 4px;
}

/* ==========================================================================
   2. SITE HEADER & DESKTOP NAVIGATION (RED BRAND IDENTITY)
   ========================================================================== */

.site-header {
  background-color: #D0191F;
  border-bottom: 1px solid #B01217;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(208, 25, 31, 0.2);
}

.header-main-container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Search Bar (Center) */
.header-search-wrapper {
  flex: 1;
  max-width: 420px;
  position: relative;
  margin: 0 16px;
}

.search-input-group {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  padding: 2px 6px 2px 16px;
  transition: var(--transition-standard);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-input-group:focus-within {
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.search-input-group input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 0;
  font-size: 0.88rem;
  color: #111827;
  font-family: var(--font-body);
}

.search-input-group input::placeholder {
  color: #6B7280;
}

.search-submit-btn {
  background-color: transparent;
  color: #D0191F;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.search-submit-btn:hover {
  color: #111827;
}

/* Live Search Dropdown */
.search-live-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 320px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #E5E7EB;
  z-index: 200;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}

.search-live-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 360px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.25), 0 8px 16px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #E5E7EB;
  z-index: 999;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}

.search-live-dropdown.active {
  display: block;
}

/* Semantic Search Intent Banner */
.search-semantic-banner {
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF5F5 100%);
  border-bottom: 1px solid #FEE2E2;
  padding: 8px 14px;
  font-size: 0.76rem;
  color: #991B1B;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.search-semantic-icon {
  color: #D0191F;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.search-semantic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.semantic-tag-pill {
  background: #FFFFFF;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 9999px;
}

.search-results-list {
  padding: 4px 0;
  margin: 0;
  list-style: none;
}

.search-suggestion-item {
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.search-suggestion-item:hover {
  background-color: #FEF2F2;
  padding-left: 18px !important;
  color: #D0191F !important;
}

.search-result-item {
  padding: 10px 14px;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #F3F4F6;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #F8F9FA;
}

.search-result-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  flex-shrink: 0;
}

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

.search-result-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.search-result-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #18181B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-match-reason {
  font-size: 0.74rem;
  color: #059669;
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-result-match-reason.warning {
  color: #D97706;
}

.search-result-price {
  font-size: 0.84rem;
  font-weight: 800;
  color: #D0191F;
}

/* Brand Logo (Left) */
.header-logo-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.drawer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* Header Utilities (Right - White Icons & Text) */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
  position: relative;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-standard);
  text-decoration: none;
}

.utility-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.utility-icon {
  font-size: 1.15rem;
  margin-right: 3px;
  color: #FFFFFF;
}

.utility-text {
  display: inline;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}

.utility-badge {
  background-color: #FFFFFF;
  color: #D0191F;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 800;
  margin-left: 3px;
}

.cart-icon-container {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #FFFFFF;
  color: #D0191F;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn .hamburger-line {
  background-color: #FFFFFF;
}

.lang-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 4px 10px;
}

.lang-globe-icon {
  color: #FFFFFF;
  font-size: 0.9rem;
  margin-right: 3px;
}

.lang-select {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.lang-select option {
  background: #111827;
  color: #FFFFFF;
}

/* Utility Dropdown (Account) */
.utility-dropdown-wrapper {
  position: relative;
}

.account-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-light);
  padding: 16px;
  display: none;
  z-index: 120;
  animation: fadeInDown 0.2s ease forwards;
}

.account-popover.active {
  display: block;
}

.popover-greeting {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.popover-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 12px 0;
}

.popover-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  padding: 6px 0;
}

.popover-link:hover {
  color: var(--color-primary-red);
}

/* Mobile search (hidden on desktop) */
.mobile-search-container {
  display: none;
  padding: 0 16px 12px 16px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--color-text-main);
  border-radius: 2px;
}

/* Desktop Navigation Row */
.desktop-navigation {
  border-top: 1px solid var(--color-border-light);
  background: #FFFFFF;
  position: relative;
}

.nav-links-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-item.has-megamenu {
  position: static;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: #27272A;
  transition: color 0.2s ease;
}

.nav-chevron {
  font-size: 0.68rem;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link {
  color: var(--color-primary-red);
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Mega Menus */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(1060px, 95vw);
  background: #FFFFFF;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border-light);
  border-top: none;
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
  pointer-events: none;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-dropdown.single-wide {
  width: min(840px, 92vw);
}

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

.mega-dropdown-grid.cols-3 {
  grid-template-columns: repeat(2, 1fr) 280px;
  gap: 28px;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary-red);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-list a {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  transition: color 0.15s ease, transform 0.15s ease;
  display: block;
}

.mega-list a:hover {
  color: var(--color-primary-red);
  font-weight: 600;
  transform: translateX(4px);
}

.mega-promo-card {
  background: var(--color-red-tint);
  border: 1px solid var(--color-red-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.mega-promo-card.bg-light {
  background: var(--color-bg-light);
  border-color: var(--color-border-light);
}

.mega-promo-badge {
  background: var(--color-primary-red);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.mega-promo-card h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.mega-promo-card p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   3. MOBILE NAVIGATION DRAWER
   ========================================================================== */

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-standard);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: #FFFFFF;
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.drawer-close-btn {
  font-size: 1.4rem;
  color: var(--color-text-main);
  padding: 4px;
}

.drawer-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 16px;
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
}

.drawer-quick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-main);
  background: #FFFFFF;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
}

.drawer-badge {
  background: var(--color-primary-red);
  color: #FFFFFF;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.drawer-accordion-menu {
  flex: 1;
  padding: 8px 0;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border-light);
}

.accordion-trigger, .drawer-direct-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-main);
  text-align: left;
}

.accordion-trigger:hover, .drawer-direct-link:hover {
  color: var(--color-primary-red);
  background: var(--color-bg-light);
}

.accordion-icon {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  background: var(--color-bg-light);
  padding: 6px 0;
}

.accordion-item.open .accordion-content {
  display: block;
}

.sub-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.sub-accordion-content {
  display: none;
  padding: 4px 0 10px 38px;
}

.sub-accordion-item.open .sub-accordion-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-accordion-item.open .sub-icon {
  transform: rotate(45deg);
}

.drawer-sublink {
  display: block;
  padding: 6px 28px;
  font-size: 0.84rem;
  color: var(--color-text-secondary);
}

.drawer-footer {
  padding: 16px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-primary-red);
}

.drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   4. HERO BANNER CAROUSEL (CLEAN MODERN FLAGSHIP DESIGN)
   ========================================================================== */

.hero-banner-section {
  position: relative;
  width: 100%;
  padding: 24px 0 20px;
  background-color: #F8FAFC;
}

.hero-banner-wrapper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-banner-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1.5px solid #EAECF0;
  border-radius: 28px;
  min-height: 520px;
  height: 520px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
}

/* Top Right Slider Controls (<, ||, >) */
.hero-carousel-controls {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-control-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.2px solid #E2E8F0;
  background: #FFFFFF;
  color: #1F2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

.hero-control-btn:hover {
  background: #D0191F;
  color: #FFFFFF;
  border-color: #D0191F;
  transform: scale(1.05);
}

.hero-control-btn:active {
  transform: scale(0.95);
}

/* Slide item */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s ease;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Left Content Area */
.hero-slide-left {
  width: 48%;
  max-width: 600px;
  padding: 56px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
  position: relative;
}

.hero-slide-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #D0191F;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 900;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-subtext {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 480px;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero-btn-solid {
  background: #D0191F;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(208, 25, 31, 0.28);
}

.hero-btn-solid:hover {
  background: #B91C1C;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(208, 25, 31, 0.35);
}

.hero-btn-outline {
  background: transparent;
  color: #1E293B;
  border: 1.5px solid #CBD5E1;
}

.hero-btn-outline:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-2px);
}

.hero-brand-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #D0191F;
  display: inline-block;
  flex-shrink: 0;
}

.hero-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #111827;
  letter-spacing: -0.3px;
}

.hero-brand-tagline {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 600;
}

/* Right Curved Mask & Image */
.hero-slide-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-curve-mask {
  position: absolute;
  inset: 0;
  border-top-left-radius: 140px;
  border-bottom-left-radius: 140px;
  overflow: hidden;
  background: #F1F5F9;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-visual-img {
  transform: scale(1.04);
}

/* Bottom Dot Indicators */
.hero-indicators-bar {
  position: absolute;
  bottom: 20px;
  left: 48px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 22px;
  height: 5px;
  border-radius: 9999px;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  width: 44px;
  background: #D0191F;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-banner-card {
    height: auto;
    min-height: 480px;
  }
  
  .hero-slide-left {
    width: 55%;
    padding: 44px 32px 36px;
  }
  
  .hero-slide-right {
    width: 50%;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-banner-wrapper {
    padding: 0 16px;
  }

  .hero-banner-card {
    height: auto;
    min-height: auto;
    border-radius: 20px;
  }

  .hero-slide {
    position: relative;
    flex-direction: column;
    display: none;
  }

  .hero-slide.active {
    position: relative;
    display: flex;
  }

  .hero-slide-left {
    width: 100%;
    max-width: 100%;
    padding: 32px 20px 24px;
    order: 2;
    min-height: auto;
  }

  .hero-slide-right {
    position: relative;
    width: 100%;
    height: 240px;
    order: 1;
  }

  .hero-curve-mask {
    border-radius: 0;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .hero-carousel-controls {
    top: 14px;
    right: 14px;
  }

  .hero-indicators-bar {
    left: 20px;
    bottom: 16px;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   5. VALUE PROPOSITIONS BAR (4 Pillars)
   ========================================================================== */

.value-props-section {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 32px 0;
}

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

.value-prop-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  transition: transform 0.2s ease;
}

.value-prop-card:hover {
  transform: translateY(-3px);
}

.prop-icon-wrapper {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}

.prop-icon {
  font-size: 1.25rem;
  color: var(--color-primary-red);
}

.prop-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.prop-description {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   5.1 FINANCING & PREQUALIFICATION 3-CARD BANNER
   ========================================================================== */

.financing-banner-section {
  padding: 16px 0 36px;
  background-color: var(--color-bg-light);
}

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

.financing-card {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.financing-card:hover {
  transform: translateY(-3px);
  border-color: #D1D5DB;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.partner-logo-wrapper {
  margin-bottom: 12px;
}

.partner-logo-pill {
  display: inline-block;
  background: #F3F4F6;
  color: #6B7280;
  font-family: monospace;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  letter-spacing: 0.5px;
}

.financing-card-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: #374151;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.financing-card-desc {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
}

.financing-cta-link {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #D0191F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
  width: fit-content;
}

/* ==========================================================================
   5.1 FINANCING & PREQUALIFICATION BAR (EXACT DESIGN MATCH)
   ========================================================================== */

.financing-banner-section {
  padding: 24px 0 28px;
  background-color: #FFFFFF;
}

.financing-bar-container {
  background-color: #F4F4F6;
  border-radius: 16px;
  padding: 22px 32px;
  display: grid;
  grid-template-columns: 220px 1.2fr 1fr 1fr;
  align-items: center;
  gap: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.financing-brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.synchrony-card-badge-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  object-fit: contain;
}

.financing-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.financing-bar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.4px;
  margin: 0;
  text-transform: uppercase;
}

.financing-bar-desc {
  font-size: 0.84rem;
  color: #4B5563;
  line-height: 1.35;
  margin: 0 0 8px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-financing-pill {
  background-color: #D0191F;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(208, 25, 31, 0.25);
  white-space: nowrap;
}

.btn-financing-pill:hover {
  background-color: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(208, 25, 31, 0.35);
}

@media (max-width: 1024px) {
  .financing-bar-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .financing-brand-badge {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .financing-bar-container {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .financing-brand-badge {
    grid-column: span 1;
  }
}

/* ==========================================================================
   6. SHOP BY CATEGORY (BENTO GRID DESIGN)
   ========================================================================== */

.shop-category-section {
  padding: 64px 0 54px;
  background-color: #FFFFFF;
}

.bento-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.bento-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.5px;
}

.bento-section-subtitle {
  font-size: 0.95rem;
  color: #6B7280;
  max-width: 460px;
  line-height: 1.5;
  text-align: right;
}

/* Bento Grid: 12-column layout */
.bento-categories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* 1. Shop by Size (Tall Left Card) */
.bento-card-size {
  grid-column: span 3;
  grid-row: span 2;
  background-color: #FAF0EB;
}

/* 2. Find your comfort level (Wide Top Center) */
.bento-card-comfort {
  grid-column: 4 / span 6;
  grid-row: 1 / span 1;
  background-color: #F2F4F7;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

/* 3. Shop by Style (Bottom Center Left) */
.bento-card-style {
  grid-column: 4 / span 3;
  grid-row: 2 / span 1;
  background-color: #FCF4E8;
}

/* 4. Accessories (Bottom Center Right) */
.bento-card-accessories {
  grid-column: 7 / span 3;
  grid-row: 2 / span 1;
  background-color: #EDF4FC;
}

/* 5. Shop by Type (Tall Right Card) */
.bento-card-type {
  grid-column: 10 / span 3;
  grid-row: span 2;
  background-color: #FAF0EB;
  color: #111827;
}

/* Photo wrappers in Bento cards */
.bento-photo-wrapper {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bento-comfort-photo-wrap {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.bento-small-photo-wrap {
  height: 110px;
}

.bento-cat-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-cat-photo {
  transform: scale(1.08);
}

/* Typography in Bento Cards */
.bento-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #D0191F;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.bento-eyebrow.text-red {
  color: #EF4444;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.bento-title.text-white {
  color: #FFFFFF;
}

/* Bento Filter Pills */
.bento-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.bento-pill-btn {
  background-color: #FFFFFF;
  color: #1F2937;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-pill-btn:hover {
  background-color: #111827;
  color: #FFFFFF;
  border-color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(17, 24, 39, 0.15);
}

.bento-pill-btn.pill-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #F3F4F6;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}

.bento-pill-btn.pill-dark:hover {
  background-color: #FFFFFF;
  color: #111827;
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.bento-category-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #D0191F;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.bento-category-link.link-light {
  color: #93C5FD;
}

.bento-category-link:hover {
  gap: 10px;
  color: #B91C1C;
}

.bento-category-link.link-light:hover {
  color: #FFFFFF;
}

/* Bento Responsive Media Queries */
@media (max-width: 1024px) {
  .bento-categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-card-size { grid-column: span 3; }
  .bento-card-comfort { grid-column: span 6; flex-direction: column; align-items: flex-start; }
  .bento-comfort-photo-wrap { width: 100%; height: 120px; }
  .bento-card-style { grid-column: span 3; }
  .bento-card-accessories { grid-column: span 3; }
  .bento-card-type { grid-column: span 3; }
}

@media (max-width: 640px) {
  .bento-categories-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-size,
  .bento-card-comfort,
  .bento-card-style,
  .bento-card-accessories,
  .bento-card-type {
    grid-column: span 1;
  }
}

/* Bento Responsive Media Queries */
@media (max-width: 1024px) {
  .bento-categories-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
  }
  
  .bento-card-size {
    grid-column: span 3;
    grid-row: span 1;
    min-height: 280px;
  }
  
  .bento-card-type {
    grid-column: span 3;
    grid-row: span 1;
    min-height: 280px;
  }

  .bento-card-comfort {
    grid-column: span 6;
    grid-row: auto;
  }

  .bento-card-style {
    grid-column: span 3;
    grid-row: auto;
  }

  .bento-card-accessories {
    grid-column: span 3;
    grid-row: auto;
  }
  
  .financing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bento-section-subtitle {
    text-align: left;
  }

  .bento-categories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bento-card-size,
  .bento-card-comfort,
  .bento-card-style,
  .bento-card-accessories,
  .bento-card-type {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
  }

  .bento-card-comfort {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .bento-visual-comfort {
    display: none;
  }
}

/* ==========================================================================
   7. FEATURED PRODUCTS CATALOG (UPDATED DETAILED CARD DESIGN)
   ========================================================================== */

.featured-products-section {
  padding: 64px 0;
  background-color: var(--color-bg-light);
}

.featured-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title-bold {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.section-tagline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-primary-red);
  display: block;
  margin-bottom: 4px;
}

.product-filter-tabs {
  display: flex;
  gap: 8px;
  background: #FFFFFF;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-light);
}

.filter-tab-btn {
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
}

.filter-tab-btn.active {
  background: var(--color-primary-red);
  color: #FFFFFF;
}

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

/* Product Card - Exact Match to Reference & Full Bleed Image */
.product-item-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #CBD5E1;
}

/* Wishlist Icon Button */
.card-wishlist-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #4B5563;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card-wishlist-toggle:hover {
  color: #D0191F;
  border-color: #D0191F;
  transform: scale(1.1);
}

.card-wishlist-toggle.active {
  color: #D0191F;
}

/* Product Image Box - Full Width, No White Borders */
.product-image-container {
  height: 220px;
  width: 100%;
  background: #F3F4F6;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.prod-card-thumb {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item-card:hover .prod-card-thumb {
  transform: scale(1.06);
}

/* Red Brand Ribbon Banner */
.card-brand-ribbon {
  background-color: #D0191F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.card-brand-logo-svg {
  width: 18px;
  height: 18px;
}

/* Product Card Body */
.product-card-body {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.25;
}

.product-name a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.product-name a:hover {
  color: #D0191F;
}

.product-model-code {
  font-size: 0.78rem;
  color: #6B7280;
  margin-bottom: 10px;
}

.product-price-row {
  margin-bottom: 8px;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.5px;
}

/* Size Selector Dropdown in Card */
.card-size-selector-group {
  margin-bottom: 12px;
}

/* Compact Financing & PayPal Box Below Buttons */
.card-financing-compact {
  background: #F9FAFB;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
  margin-bottom: 8px;
  border: 1px solid #F3F4F6;
}

.card-financing-compact .card-bnpl-paypal {
  font-size: 0.75rem;
  color: #4B5563;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-financing-compact .card-synchrony-line {
  font-size: 0.74rem;
  color: #6B7280;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.paypal-icon {
  color: #003087;
  font-size: 0.88rem;
}

.card-size-dropdown {
  width: 100%;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 500;
  color: #111827;
  background-color: #F9FAFB;
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.card-size-dropdown:focus {
  border-color: #111827;
  background-color: #FFFFFF;
}

/* 2 Action Buttons */
.card-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-card-outline {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid #D0191F;
  color: #D0191F;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.84rem;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-card-outline:hover {
  background: rgba(208, 25, 31, 0.06);
  color: #B91C1C;
  border-color: #B91C1C;
}

.btn-card-solid {
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: #D0191F;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(208, 25, 31, 0.25);
}

.btn-card-solid:hover {
  background: #B91C1C;
}

.btn-card-solid:active {
  transform: scale(0.98);
}

/* Compare Checkbox */
.card-compare-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.card-compare-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
}

.card-compare-checkbox {
  width: 15px;
  height: 15px;
  accent-color: #D0191F;
  cursor: pointer;
}

/* ==========================================================================
   8. DREAM FACTORY SPOTLIGHT SECTION
   ========================================================================== */

.dream-factory-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.dream-factory-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.factory-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.factory-visual {
  height: 480px;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
    url('assets/images/dream-factory-plant.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.factory-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary-red);
  box-shadow: var(--shadow-md);
}

.factory-content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.factory-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-red);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.factory-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.factory-p1 {
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.7;
  margin-bottom: 14px;
}

.factory-p2 {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.factory-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.factory-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.factory-highlight-item i {
  color: var(--color-primary-red);
  font-size: 1rem;
}

.factory-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.factory-call-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.factory-call-link:hover {
  color: var(--color-primary-red);
}

/* ==========================================================================
   9. VIRTUAL SHOWROOM 3D EXPERIENCE (STACKED LAYOUT)
   ========================================================================== */

.virtual-showroom-section {
  padding: 72px 0;
  background-color: var(--color-bg-light);
}

.showroom-header-stacked {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.showroom-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-red);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.showroom-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 14px;
}

.showroom-desc {
  font-size: 1.02rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.showroom-perks-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.perk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-main);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.perk-badge i {
  color: var(--color-primary-red);
}

.showroom-viewer-stacked {
  max-width: 1200px;
  margin: 0 auto;
}

.showroom-embed-frame {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  border: 4px solid #FFFFFF;
}

.showroom-3d-scene {
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
    url('assets/images/hero-showroom-consultants.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.showroom-3d-hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--color-primary-red);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.showroom-3d-hotspot.hs-1 { top: 45%; left: 35%; }
.showroom-3d-hotspot.hs-2 { top: 55%; left: 68%; }
.showroom-3d-hotspot.hs-3 { top: 30%; left: 82%; }

.hotspot-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-red);
  animation: pulseRipple 1.8s infinite;
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.showroom-3d-hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 14px);
}

.showroom-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   10. CUSTOMER REVIEWS
   ========================================================================== */

.reviews-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.reviews-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.gold-stars-row {
  color: var(--color-star-gold);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.reviews-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 8px;
}

.reviews-sub {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

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

.review-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-standard);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.author-avatar-initials {
  width: 46px;
  height: 46px;
  background: var(--color-primary-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-text-main);
}

.author-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.review-stars {
  color: var(--color-star-gold);
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.review-quote {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.reviews-cta-center {
  text-align: center;
}

/* ==========================================================================
   11. SLEEP CONSULTANTS CALL TO ACTION (PILL BUTTONS LAYOUT)
   ========================================================================== */

.consultants-section {
  padding: 80px 0;
  background-color: #FAFAFA;
}

.consultants-pill-header {
  text-align: center;
  margin-bottom: 48px;
}

.consultants-heading-modern {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #111827;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.consultants-pills-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.consultant-pill-btn {
  background: #F3F4F6;
  border-radius: 9999px;
  padding: 14px 32px 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  min-width: 260px;
}

.consultant-pill-btn:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: #D0191F;
}

.consultant-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #FCA5A5;
  background: #FEF2F2;
  color: #D0191F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.consultant-pill-btn:hover .consultant-pill-icon {
  background: #D0191F;
  color: #FFFFFF;
  border-color: #D0191F;
}

.consultant-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.pill-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.pill-sub {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 2px;
}

/* ==========================================================================
   FLOATING ACTION BUTTON (BRAND RED, PULSE, TOOLTIP)
   ========================================================================== */

.floating-help-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.floating-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: #111827;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 24px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.floating-help-widget:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.tooltip-arrow {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #111827;
}

.floating-fab-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #D0191F;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 24px rgba(208, 25, 31, 0.45);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.floating-fab-btn:hover {
  background: #B91C1C;
  transform: scale(1.08);
}

.fab-icon {
  font-size: 1.75rem;
}

.fab-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #D0191F;
  animation: pulseFabRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulseFabRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ==========================================================================
   FIRST VISIT NEWSLETTER VIP POPUP MODAL
   ========================================================================== */

.modal-newsletter-vip {
  max-width: 720px;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.newsletter-vip-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.vip-img-side {
  position: relative;
  background: #111827;
}

.vip-promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-badge-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #D0191F;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.8px;
}

.vip-content-side {
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vip-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #D0191F;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.vip-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 10px;
}

.vip-desc {
  font-size: 0.86rem;
  color: #6B7280;
  line-height: 1.5;
  margin-bottom: 18px;
}

.vip-input {
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.vip-submit-btn {
  background: #D0191F;
  padding: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(208, 25, 31, 0.25);
}

.vip-submit-btn:hover {
  background: #B91C1C;
}

.vip-dismiss-btn {
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 0.78rem;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.vip-dismiss-btn:hover {
  color: #4B5563;
}

/* Empty Cart Browse Button */
.btn-empty-cart-browse {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Header Language Selector Styles */
.lang-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: #F3F4F6;
  border-radius: var(--radius-full);
  border: 1px solid #E5E7EB;
}

.lang-globe-icon {
  font-size: 0.85rem;
  color: #6B7280;
}

.lang-select {
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  outline: none;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-vip-grid {
    grid-template-columns: 1fr;
  }

  .vip-img-side {
    height: 160px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .consultants-pills-container {
    flex-direction: column;
  }

  .consultant-pill-btn {
    width: 100%;
  }

  .floating-help-widget {
    bottom: 20px;
    right: 20px;
  }

  .floating-tooltip {
    display: none;
  }
}

/* ==========================================================================
   12. NEWSLETTER SIGNUP BANNER
   ========================================================================== */

.newsletter-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.newsletter-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-inputs-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.input-field-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 220px;
}

.input-field-wrapper label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.input-field-wrapper input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-field-wrapper input:focus {
  border-color: var(--color-primary-red);
}

.btn-newsletter-submit {
  padding: 12px 28px;
  background: var(--color-primary-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  height: 45px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-newsletter-submit:hover {
  background: var(--color-primary-hover);
}

.newsletter-feedback {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.88rem;
}

/* ==========================================================================
   13. COMPREHENSIVE RED FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--color-primary-red);
  color: #FFFFFF;
  padding: 64px 0 28px 0;
}

.footer-container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-symbol {
  width: 48px;
  height: 48px;
}

.footer-logo-svg {
  width: 100%;
  height: 100%;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.footer-brand-sub {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  margin-top: 2px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-standard);
}

.social-btn:hover {
  background: #FFFFFF;
  color: var(--color-primary-red);
  transform: translateY(-2px);
}

.footer-cols-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 220px;
  gap: 28px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.footer-links-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  transition: var(--transition-standard);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-col-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-action-btn {
  background: #FFFFFF;
  color: var(--color-primary-red);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-standard);
}

.footer-action-btn:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-action-btn.outline-btn {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.footer-action-btn.outline-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-accessibility-block {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}

.footer-accessibility-block p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-accessibility-block a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 700;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.legal-dot {
  opacity: 0.5;
}

/* ==========================================================================
   14. INTERACTIVE MODALS & DRAWERS
   ========================================================================== */

/* Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 210;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-standard);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  max-width: 440px;
  background: #FFFFFF;
  z-index: 211;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-header-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-close {
  font-size: 1.3rem;
  color: var(--color-text-main);
  padding: 4px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-state {
  text-align: center;
  padding: 48px 0;
  color: var(--color-text-muted);
}

.empty-cart-state i {
  font-size: 3.5rem;
  color: var(--color-border-dark);
  margin-bottom: 16px;
}

.cart-item-card {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: var(--color-bg-light);
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #E5E7EB;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.2;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-red);
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.qty-control-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-dark);
  border-radius: 4px;
  background: #FFFFFF;
}

.qty-btn {
  padding: 2px 8px;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.qty-display {
  padding: 2px 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.remove-cart-item-btn {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.remove-cart-item-btn:hover {
  color: var(--color-primary-red);
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--color-border-light);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-summary-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary-red);
}

.free-shipping-tag {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.cart-guarantee-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* General Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-standard);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: zoomIn 0.25s ease forwards;
}

.modal-window.modal-lg {
  max-width: 800px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.modal-close-btn:hover {
  color: var(--color-text-main);
}

.modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

/* Store Locator Inside Modal */
.store-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.store-filter-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  outline: none;
}

.stores-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.store-card {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--color-bg-light);
}

.store-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary-red);
  margin-bottom: 4px;
}

.store-address {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.store-phone {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-main);
}

/* Quiz Modal */
.quiz-step-indicator {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary-red);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-opt-btn {
  background: var(--color-bg-light);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-main);
  transition: var(--transition-standard);
}

.quiz-opt-btn i {
  font-size: 1.4rem;
  color: var(--color-primary-red);
}

.quiz-opt-btn:hover {
  border-color: var(--color-primary-red);
  background: var(--color-red-tint);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-result-card {
  text-align: center;
  padding: 16px;
}

.match-badge {
  background: #DCFCE7;
  color: #166534;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.matched-product-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.matched-product-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.matched-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-primary-red);
  margin-bottom: 20px;
}

/* Contact Form Modal */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* FAQ Modal Styles */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-light);
}

.faq-question-btn {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-text-main);
  text-align: left;
  background: #FFFFFF;
}

.faq-question-btn:hover {
  color: var(--color-primary-red);
}

.faq-question-btn i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question-btn i {
  transform: rotate(180deg);
}

.faq-answer-content {
  display: none;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--color-border-light);
}

.faq-item.open .faq-answer-content {
  display: block;
}

/* Blog Modal Styles */
.blog-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.blog-preview-card {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-light);
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card-body {
  padding: 16px;
}

.blog-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-red);
  text-transform: uppercase;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 6px 0 8px 0;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #18181B;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--color-success-green);
  font-size: 1.1rem;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) STYLES
   ========================================================================== */

.breadcrumb-bar {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
}

.breadcrumb-list a:hover {
  color: var(--color-primary-red);
}

.breadcrumb-separator {
  font-size: 0.65rem;
  color: var(--color-text-light);
}

.breadcrumb-list li.active {
  font-weight: 700;
  color: var(--color-text-main);
}

.pdp-main-section {
  padding: 48px 0 80px 0;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: start;
}

/* Gallery Column */
.pdp-gallery-column {
  position: sticky;
  top: 100px;
}

.pdp-main-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  background: #F9FAFB;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.pdp-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pdp-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary-red);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--font-heading);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.pdp-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
}

.pdp-thumbnails-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.pdp-thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border-light);
  overflow: hidden;
  cursor: pointer;
  background: #F9FAFB;
  transition: var(--transition-standard);
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumb-item.active, .pdp-thumb-item:hover {
  border-color: var(--color-primary-red);
  box-shadow: 0 0 0 2px rgba(208, 25, 31, 0.2);
}

.pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.trust-item i {
  font-size: 1.2rem;
  color: var(--color-primary-red);
}

/* Info Column */
.pdp-category-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-primary-red);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pdp-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1.15;
  margin-bottom: 12px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pdp-stars {
  color: var(--color-star-gold);
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.pdp-rating-val {
  font-weight: 800;
  font-size: 0.9rem;
}

.pdp-reviews-anchor {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.pdp-stock-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-success-green);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.pdp-price-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.pdp-current-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary-red);
}

.pdp-old-price {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pdp-save-badge {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pdp-financing-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.pdp-financing-box i {
  color: var(--color-primary-red);
}

.pdp-financing-box a {
  color: var(--color-primary-red);
  text-decoration: underline;
  font-weight: 700;
}

.pdp-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 24px 0;
}

/* Option Groups */
.pdp-option-group {
  margin-bottom: 24px;
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.option-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.option-selected-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-red);
}

.pdp-size-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-pill {
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-text-main);
  text-align: center;
  transition: var(--transition-standard);
}

.size-pill:hover {
  border-color: var(--color-primary-red);
}

.size-pill.active {
  background: var(--color-red-tint);
  border-color: var(--color-primary-red);
  color: var(--color-primary-red);
  box-shadow: 0 0 0 2px rgba(208, 25, 31, 0.2);
}

/* Comfort Scale */
.comfort-scale-bar {
  margin-top: 8px;
}

.comfort-track {
  height: 8px;
  background: linear-gradient(90deg, #93C5FD 0%, #FDE047 50%, #F87171 100%);
  border-radius: 4px;
  position: relative;
  margin-bottom: 8px;
}

.comfort-indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border: 3px solid var(--color-primary-red);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.comfort-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Base Options */
.pdp-base-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.base-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-standard);
}

.base-option-card input[type="radio"] {
  accent-color: var(--color-primary-red);
  width: 18px;
  height: 18px;
}

.base-option-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.base-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.base-price {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-primary-red);
}

.base-option-card.active {
  background: var(--color-red-tint);
  border-color: var(--color-primary-red);
}

/* Actions */
.pdp-action-box {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdp-qty-row {
  display: flex;
  gap: 14px;
}

.pdp-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  background: #FFFFFF;
  padding: 2px;
  width: 120px;
}

.pdp-qty-btn {
  width: 36px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text-secondary);
}

.pdp-qty-selector input {
  width: 44px;
  border: none;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  outline: none;
  background: transparent;
}

.btn-add-to-cart-lg {
  flex: 1;
  font-size: 1.05rem;
  padding: 14px 28px;
}

.btn-whatsapp-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  transition: var(--transition-standard);
}

.btn-whatsapp-order:hover {
  background: #1EBE5B;
  transform: translateY(-2px);
}

.delivery-notice-box {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* Layers & Specs Section */
.pdp-details-tabs-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--color-border-light);
}

.layers-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.layer-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: var(--transition-standard);
}

.layer-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-red);
  box-shadow: var(--shadow-md);
}

.layer-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--color-primary-red);
  opacity: 0.3;
  margin-bottom: 8px;
}

.layer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.layer-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.pdp-specs-container {
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.specs-table-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.9rem;
}

.specs-table tr:nth-child(even) {
  background: var(--color-bg-light);
}

.pdp-related-section {
  margin-top: 80px;
}

@media (max-width: 900px) {
  .pdp-grid {
    grid-template-columns: 1fr;
  }
  .pdp-gallery-column {
    position: static;
  }
  .layers-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .layers-showcase-grid {
    grid-template-columns: 1fr;
  }
  .pdp-size-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

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

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-cols-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-col-actions {
    grid-column: span 3;
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .desktop-navigation {
    display: none;
  }
  .header-search-wrapper {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-search-container {
    display: block;
  }
  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dream-factory-split {
    grid-template-columns: 1fr;
  }
  .showroom-split {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .consultants-grid {
    grid-template-columns: 1fr;
  }
  .stores-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .slide-heading {
    font-size: 2.2rem;
  }
  .carousel-container {
    height: 480px;
  }
  .slide-content-box {
    padding: 0 20px;
    margin-left: 0;
  }
  .value-props-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols-grid {
    grid-template-columns: 1fr;
  }
  .footer-col-actions {
    grid-column: span 1;
    flex-direction: column;
  }
  .utility-text {
    display: none;
  }
  .phone-utility {
    display: none;
  }
  .newsletter-card {
    padding: 28px 18px;
  }
  .newsletter-inputs-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-newsletter-submit {
    width: 100%;
  }
}

/* ==========================================================================
   CATALOG PAGE STYLING
   ========================================================================== */

.catalog-breadcrumbs-bar {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 0;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: #6B7280;
}

.breadcrumbs-list a {
  color: #4B5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs-list a:hover {
  color: #D0191F;
}

.breadcrumb-separator {
  font-size: 0.65rem;
  color: #9CA3AF;
}

.breadcrumbs-list li.active {
  color: #111827;
  font-weight: 600;
}

.catalog-page-main {
  padding: 40px 0 80px;
  background-color: #FAFAFA;
}

.catalog-header-banner {
  margin-bottom: 32px;
}

.catalog-tagline {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: #D0191F;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.catalog-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  color: #111827;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.catalog-main-desc {
  font-size: 0.98rem;
  color: #4B5563;
  max-width: 780px;
  line-height: 1.6;
}

.catalog-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Filters */
.catalog-sidebar-filters {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.sidebar-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 20px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-clear-filters {
  background: transparent;
  border: none;
  color: #D0191F;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-clear-filters:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F3F4F6;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #374151;
  cursor: pointer;
}

.filter-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: #D0191F;
}

.filter-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-size-pill {
  padding: 6px 12px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-size-pill:hover,
.sidebar-size-pill.active {
  background: #111827;
  color: #FFFFFF;
  border-color: #111827;
}

.sidebar-factory-seal {
  background: #FFF5F5;
  border: 1px solid #FED7D7;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  margin-top: 20px;
}

.seal-icon {
  color: #D0191F;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.sidebar-factory-seal h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #9B1C1C;
  margin-bottom: 4px;
}

.sidebar-factory-seal p {
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.4;
}

/* Catalog Toolbar */
.catalog-toolbar {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.catalog-items-count {
  font-size: 0.88rem;
  color: #4B5563;
}

.active-filter-chips {
  display: inline-flex;
  gap: 8px;
  margin-left: 14px;
}

.filter-chip {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.remove-chip {
  cursor: pointer;
  color: #9CA3AF;
}

.remove-chip:hover {
  color: #D0191F;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #4B5563;
}

.catalog-sort-dropdown {
  padding: 6px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.view-mode-toggle {
  display: flex;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  overflow: hidden;
}

.btn-view-mode {
  background: #FFFFFF;
  border: none;
  padding: 6px 10px;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-mode.active {
  background: #111827;
  color: #FFFFFF;
}

.catalog-pagination-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  border-color: #111827;
  color: #111827;
}

.pagination-btn.active {
  background: #D0191F;
  color: #FFFFFF;
  border-color: #D0191F;
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   ABOUT US PAGE STYLING
   ========================================================================== */

.about-hero-section {
  padding: 64px 0 72px;
  background: #FFFFFF;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #D0191F;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 400;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-hero-lead {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-stats-row {
  display: flex;
  gap: 36px;
  border-top: 1px solid #E5E7EB;
  padding-top: 24px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #D0191F;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: #6B7280;
  margin-top: 4px;
  display: block;
}

.about-hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #D0191F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-philosophy-section {
  padding: 80px 0;
  background: #F9FAFB;
}

.philosophy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-heading-dark {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #111827;
  margin-bottom: 12px;
}

.philosophy-sub {
  font-size: 1rem;
  color: #6B7280;
  line-height: 1.6;
}

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

.philosophy-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.philosophy-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FEF2F2;
  color: #D0191F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.philosophy-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.philosophy-card-text {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.6;
}

.about-gallery-section {
  padding: 60px 0 80px;
  background: #FFFFFF;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.gallery-item-card {
  border-radius: 20px;
  overflow: hidden;
  background: #F3F4F6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.gallery-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.gallery-photo-caption {
  padding: 16px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}

/* ==========================================================================
   CHECKOUT PAGE STYLING
   ========================================================================== */

.checkout-body {
  background-color: #F8F9FA;
}

.checkout-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
}

.checkout-header-container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-trust-group {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #374151;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-phone-link {
  color: #374151;
  text-decoration: none;
}

.checkout-phone-link:hover {
  color: #D0191F;
}

.checkout-main-section {
  padding: 36px 0 80px;
}

.checkout-stepper-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.step-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #E5E7EB;
  color: #6B7280;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
}

.step-badge.active {
  background: #111827;
  color: #FFFFFF;
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.step-line {
  width: 40px;
  height: 2px;
  background: #E5E7EB;
}

.step-line.active {
  background: #111827;
}

.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.checkout-card-section {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.checkout-section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.sec-num-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D0191F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.checkout-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: #111827;
}

.checkout-section-subtitle {
  font-size: 0.84rem;
  color: #6B7280;
  margin-top: 2px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-form-grid .span-2 {
  grid-column: span 2;
}

.co-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.co-input:focus {
  border-color: #111827;
}

.co-select {
  cursor: pointer;
  background-color: #FFFFFF;
}

.delivery-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delivery-option-card.selected {
  border-color: #D0191F;
  background: #FFF9F9;
}

.co-delivery-radio {
  accent-color: #D0191F;
  width: 18px;
  height: 18px;
}

.delivery-opt-info {
  flex: 1;
}

.delivery-opt-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #111827;
  margin-bottom: 4px;
}

.delivery-price.free {
  color: #16A34A;
  font-weight: 700;
}

.delivery-opt-desc {
  font-size: 0.82rem;
  color: #6B7280;
}

.payment-tabs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.co-payment-tab {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.co-payment-tab:hover,
.co-payment-tab.active {
  border-color: #111827;
  background: #FFFFFF;
  color: #111827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.tab-sync-icon {
  height: 16px;
  object-fit: contain;
}

.ath-badge-pill {
  background: #FF6600;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
}

.payment-panel {
  display: none;
}

.payment-panel.active {
  display: block;
}

.synchrony-checkout-box,
.paypal-checkout-box,
.ath-checkout-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.synchrony-panel-logo {
  max-width: 140px;
  margin-bottom: 12px;
}

.paypal-panel-icon {
  font-size: 2.4rem;
  color: #003087;
  margin-bottom: 10px;
}

.ath-logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FF6600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin: 0 auto 12px;
}

.place-order-row {
  margin-top: 28px;
}

.btn-place-order {
  width: 100%;
  padding: 16px;
  background: #D0191F;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(208, 25, 31, 0.3);
  transition: all 0.2s ease;
}

.btn-place-order:hover {
  background: #B91C1C;
  transform: translateY(-1px);
}

.co-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 14px;
  text-align: center;
}

/* Order Summary Sticky Card */
.checkout-summary-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 90px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.summary-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: #111827;
  padding-bottom: 14px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 18px;
}

.co-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.co-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
}

.co-item-info {
  flex: 1;
}

.co-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: #111827;
}

.co-item-size {
  font-size: 0.78rem;
  color: #6B7280;
}

.co-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #111827;
}

.co-promo-wrapper {
  margin-bottom: 20px;
}

.promo-input-group {
  display: flex;
  gap: 8px;
}

.promo-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 0.84rem;
  outline: none;
}

.btn-apply-coupon {
  padding: 8px 14px;
  background: #111827;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.co-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #4B5563;
  margin-bottom: 20px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
}

.breakdown-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 6px 0;
}

.total-row {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.co-grand-total {
  color: #D0191F;
  font-size: 1.25rem;
}

.co-financing-callout {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #1E40AF;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.co-stamp-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #E5E7EB;
}

.co-stamp-badge i {
  color: #D0191F;
  font-size: 1.4rem;
}

.co-stamp-badge strong {
  font-size: 0.82rem;
  color: #111827;
  display: block;
}

.co-stamp-badge p {
  font-size: 0.74rem;
  color: #6B7280;
}

/* Success Window */
.modal-success-window {
  text-align: center;
  max-width: 540px;
  padding: 40px 32px;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #DEF7EC;
  color: #0E9F6E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.success-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0E9F6E;
  letter-spacing: 1.5px;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: #111827;
  margin: 6px 0 12px;
}

.success-desc {
  font-size: 0.92rem;
  color: #6B7280;
  line-height: 1.55;
  margin-bottom: 24px;
}

.order-receipt-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #4B5563;
  margin-bottom: 8px;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.success-actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .catalog-layout-grid,
  .about-hero-grid,
  .about-gallery-grid,
  .checkout-grid-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar-filters {
    position: static;
  }

  .philosophy-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .philosophy-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-row {
    flex-direction: column;
    gap: 16px;
  }

  .payment-tabs-row {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form-grid .span-2 {
    grid-column: span 1;
  }
}

/* ==========================================================================
   SMART PERSONALIZED CROSS-SELL RECOMMENDER (COMPLETE YOUR ORDER)
   ========================================================================== */

.pdp-related-section {
  padding: 60px 0 80px;
  background-color: #FAFAFB;
  border-top: 1px solid #EAECF0;
  margin-top: 60px;
}

.section-subtitle-center {
  font-size: 0.95rem;
  color: #4B5563;
  text-align: center;
  max-width: 620px;
  margin: 8px auto 20px;
}

/* Quiz Integration Alert Banner */
.quiz-recommendation-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF1F2 100%);
  border: 1.5px solid #FECDD3;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 0 auto 36px;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(208, 25, 31, 0.05);
}

.quiz-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D0191F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quiz-banner-text {
  flex-grow: 1;
  font-size: 0.88rem;
  color: #1F2937;
  line-height: 1.4;
}

.quiz-banner-text strong {
  display: block;
  color: #991B1B;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.btn-retake-quiz {
  background: #FFFFFF;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-retake-quiz:hover {
  background: #DC2626;
  color: #FFFFFF;
}

/* Cross-sell Grid */
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

@media (max-width: 1100px) {
  .cross-sell-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .cross-sell-grid {
    grid-template-columns: 1fr;
  }
}

/* Cross-sell Card */
.cross-sell-card {
  background: #FFFFFF;
  border: 1.5px solid #EAECF0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
}

.cross-sell-card:hover {
  transform: translateY(-4px);
  border-color: #D0191F;
  box-shadow: 0 12px 28px rgba(208, 25, 31, 0.08);
}

.cross-sell-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}

.cross-sell-tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  color: #D0191F;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cross-sell-match {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.cross-sell-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #F4F4F6;
  display: block;
}

.cross-sell-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cross-sell-card:hover .cross-sell-img-wrap img {
  transform: scale(1.06);
}

.cross-sell-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cross-sell-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cross-sell-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 8px;
  min-height: 38px;
}

.cross-sell-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cross-sell-title a:hover {
  color: #D0191F;
}

.cross-sell-reason {
  font-size: 0.78rem;
  color: #374151;
  background: #FEF2F2;
  border-left: 3px solid #D0191F;
  padding: 6px 8px;
  border-radius: 0 6px 6px 0;
  line-height: 1.35;
  margin: 0 0 14px;
  flex-grow: 1;
}

.cross-sell-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.cross-sell-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}

.cross-sell-old-price {
  font-size: 0.85rem;
  color: #9CA3AF;
  text-decoration: line-through;
}

.btn-cross-sell-add {
  width: 100%;
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1.5px solid #D0191F;
  color: #D0191F;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-cross-sell-add:hover {
  background: #D0191F;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(208, 25, 31, 0.25);
  transform: translateY(-1px);
}

.btn-cross-sell-add.added {
  background: #16A34A !important;
  border-color: #16A34A !important;
  color: #FFFFFF !important;
}

/* Bundle Savings Callout */
.bundle-savings-callout {
  max-width: 800px;
  margin: 0 auto;
  background: #FFFBEB;
  border: 1px dashed #F59E0B;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #92400E;
  text-align: center;
}

/* ==========================================================================
   MATTRESS MATCH QUIZ MODAL & MULTI-MODEL RECOMMENDATIONS
   ========================================================================== */

.modal-quiz-window {
  max-width: 780px !important;
  border-radius: 20px !important;
  overflow: hidden;
}

.quiz-progress-track {
  width: 100%;
  height: 6px;
  background: #F3F4F6;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #D0191F 0%, #EF4444 100%);
  border-radius: 9999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeInStep 0.3s ease;
}

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

.quiz-step-header {
  text-align: center;
  margin-bottom: 24px;
}

.quiz-step-indicator {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  color: #D0191F;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
}

.quiz-hint {
  font-size: 0.86rem;
  color: #6B7280;
  margin: 0;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
}

.quiz-opt-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-opt-btn i {
  font-size: 1.4rem;
  color: #4B5563;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.quiz-opt-btn:hover {
  border-color: #D0191F;
  background: #FEF2F2;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(208, 25, 31, 0.08);
}

.quiz-opt-btn:hover i {
  color: #D0191F;
}

.quiz-opt-text {
  display: flex;
  flex-direction: column;
}

.quiz-opt-text strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
}

.quiz-opt-text span {
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 2px;
  line-height: 1.3;
}

/* Quiz Results Container */
.quiz-results-header {
  text-align: center;
  margin-bottom: 24px;
}

.quiz-results-badge {
  background: #DCFCE7;
  color: #15803D;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 8px;
}

.quiz-results-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
}

.quiz-results-sub {
  font-size: 0.88rem;
  color: #4B5563;
  margin: 0;
}

.quiz-models-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  max-height: 400px;
  overflow-y: auto;
  padding: 4px;
}

.quiz-matched-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.quiz-matched-card.top-match {
  border-color: #D0191F;
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
  box-shadow: 0 6px 20px rgba(208, 25, 31, 0.1);
}

.quiz-card-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.quiz-rank-tag {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: #991B1B;
  letter-spacing: 0.4px;
}

.quiz-match-pct {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
}

.quiz-card-content-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 540px) {
  .quiz-card-content-grid {
    grid-template-columns: 1fr;
  }
}

.quiz-card-img-wrap {
  width: 100%;
  height: 95px;
  border-radius: 10px;
  overflow: hidden;
  background: #F3F4F6;
}

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

.quiz-card-info {
  display: flex;
  flex-direction: column;
}

.quiz-item-cat {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
}

.quiz-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  margin: 2px 0 4px;
}

.quiz-item-reason {
  font-size: 0.8rem;
  color: #374151;
  margin: 0 0 10px;
  line-height: 1.35;
}

.quiz-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.quiz-item-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #D0191F;
}

.quiz-item-finance {
  font-size: 0.78rem;
  color: #4B5563;
}

.quiz-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quiz-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #E5E7EB;
  padding-top: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   INTERACTIVE MATTRESS COMPARE SYSTEM & SIDE-BY-SIDE MATRIX
   ========================================================================== */

/* PDP Compare Widget */
.pdp-compare-widget {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 18px;
}

.pdp-compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.pdp-compare-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-compare-badge {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.pdp-compare-desc {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0 0 12px;
  line-height: 1.35;
}

.pdp-compare-controls {
  display: flex;
  gap: 10px;
}

@media (max-width: 500px) {
  .pdp-compare-controls {
    flex-direction: column;
  }
}

.pdp-compare-select {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.82rem;
  background: #FFFFFF;
  color: #334155;
  outline: none;
  cursor: pointer;
}

.btn-compare-action {
  padding: 8px 16px;
  background: #111827;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-compare-action:hover {
  background: #D0191F;
  box-shadow: 0 4px 12px rgba(208, 25, 31, 0.25);
}

/* Floating Sticky Compare Dock (Bottom Screen Bar) */
.sticky-compare-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111827;
  color: #FFFFFF;
  z-index: 950;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 0;
}

.sticky-compare-dock.active {
  transform: translateY(0);
}

.compare-dock-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.compare-dock-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.compare-dock-badge {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #F87171;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare-dock-thumbnails {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-dock-thumb-item {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #374151;
  background: #1F2937;
}

.compare-dock-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dock-remove-thumb {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: #D0191F;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.compare-dock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-compare-open {
  background: #D0191F;
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-compare-open:hover {
  background: #B91C1C;
  transform: translateY(-1px);
}

.btn-compare-clear {
  background: transparent;
  color: #9CA3AF;
  border: 1px solid #374151;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-compare-clear:hover {
  color: #FFFFFF;
  border-color: #6B7280;
}

/* Compare Modal Window (Side-by-Side Table) */
.modal-compare-window {
  max-width: 980px !important;
  width: 95% !important;
  border-radius: 20px !important;
  overflow: hidden;
}

.compare-matrix-wrapper {
  overflow-x: auto;
  padding: 6px 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.compare-feature-col {
  width: 220px;
  vertical-align: top;
  padding: 16px;
  background: #F9FAFB;
  border-right: 1.5px solid #EAECF0;
  border-bottom: 2px solid #EAECF0;
}

.compare-legend strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: #111827;
}

.compare-legend span {
  font-size: 0.76rem;
  color: #6B7280;
}

.compare-add-col-box {
  margin-top: 14px;
}

.compare-add-dropdown {
  width: 100%;
  padding: 6px 8px;
  border: 1px dashed #CBD5E1;
  border-radius: 6px;
  font-size: 0.76rem;
  background: #FFFFFF;
  color: #475569;
}

.compare-product-col {
  width: calc((100% - 220px) / 2);
  vertical-align: top;
  padding: 16px;
  background: #FFFFFF;
  border-right: 1px solid #F1F5F9;
  border-bottom: 2px solid #EAECF0;
  position: relative;
}

.compare-product-col:last-child {
  border-right: none;
}

.compare-card-top {
  display: flex;
  flex-direction: column;
  position: relative;
}

.btn-remove-matrix-col {
  position: absolute;
  top: 0;
  right: 0;
  background: #F3F4F6;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-matrix-col:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.compare-img-link {
  width: 100%;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  background: #F8FAFC;
  display: block;
  margin-bottom: 8px;
}

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

.compare-cat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.compare-prod-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 2px 0 8px;
  min-height: 38px;
}

.compare-prod-name a {
  color: #111827;
  text-decoration: none;
}

.compare-prod-name a:hover {
  color: #D0191F;
}

.compare-size-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.76rem;
  color: #4B5563;
}

.matrix-size-select {
  padding: 4px 8px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 0.76rem;
  background: #FFFFFF;
}

.compare-price-block {
  margin-bottom: 12px;
}

.compare-main-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #D0191F;
}

.compare-monthly-finance {
  font-size: 0.75rem;
  color: #4B5563;
}

/* Feature Table Rows */
.compare-table tbody tr {
  border-bottom: 1px solid #F1F5F9;
}

.compare-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}

.feature-label-cell {
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #1E293B;
  background: #F9FAFB;
  border-right: 1.5px solid #EAECF0;
  white-space: nowrap;
}

.feature-val-cell {
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #334155;
  border-right: 1px solid #F1F5F9;
  vertical-align: middle;
}

.feature-val-cell:last-child {
  border-right: none;
}

/* Comfort Meter in Matrix */
.compare-comfort-meter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comfort-meter-track {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.comfort-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #D0191F 100%);
  border-radius: 9999px;
}

.comfort-meter-text {
  font-size: 0.78rem;
  color: #1E293B;
}

.compare-match-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.3;
}

/* ==========================================================================
   AI SLEEP CONSULTANT COMPARISON VERDICT & SCENARIOS
   ========================================================================== */

.compare-ai-verdict-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-verdict-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-badge-pill {
  background: linear-gradient(90deg, #D0191F 0%, #EF4444 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.ai-models-tag {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 600;
}

.ai-verdict-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #E2E8F0;
  margin: 0 0 16px;
}

.ai-verdict-text strong {
  color: #FFFFFF;
}

.ai-quick-scenario-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 12px;
  flex-wrap: wrap;
}

.ai-scenario-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #F8FAFC;
  white-space: nowrap;
}

.ai-scenario-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-scenario-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-scenario-chip:hover {
  background: #D0191F;
  border-color: #D0191F;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ai-scenario-chip.active {
  background: #D0191F;
  border-color: #D0191F;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(208, 25, 31, 0.6);
}

/* Winner Column Highlighting */
.compare-product-col.ai-winner-col {
  background: #FEF2F2 !important;
  border: 2px solid #D0191F !important;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 4px 20px rgba(208, 25, 31, 0.15);
}

.ai-winner-badge-ribbon {
  background: #D0191F;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
  padding: 4px 6px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  animation: pulseWinner 2s infinite ease-in-out;
}

@keyframes pulseWinner {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(1.02); }
}

/* AI Superpower Row */
.ai-highlight-row {
  background: #FFFBEB !important;
}

.ai-superpower-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-superpower-card strong {
  color: #92400E;
  font-size: 0.85rem;
  line-height: 1.35;
}

.ai-bestfor-note {
  font-size: 0.78rem;
  color: #166534;
  line-height: 1.3;
}

.ai-consider-note {
  font-size: 0.75rem;
  color: #1E40AF;
  line-height: 1.3;
}

/* ==========================================================================
   QUIZ MATCH INTEGRATION IN SIDE-BY-SIDE COMPARE MODAL
   ========================================================================== */

.quiz-active-card {
  background: linear-gradient(135deg, #064E3B 0%, #0F172A 100%) !important;
  border: 1.5px solid #10B981 !important;
}

.btn-retake-quiz-mini {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-retake-quiz-mini:hover {
  background: #10B981;
  border-color: #10B981;
}

.btn-launch-quiz-cta {
  background: #D0191F;
  color: #FFFFFF;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-launch-quiz-cta:hover {
  background: #B91C1C;
  transform: translateY(-1px);
}

.quiz-user-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.quiz-profile-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #D1FAE5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quiz-runnerup-badge {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #374151;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  padding: 3px 6px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Quiz Matrix Row */
.quiz-matrix-highlight-row {
  background: #F0FDF4 !important;
}

.quiz-matrix-match-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiz-matrix-score-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quiz-score-meter-track {
  flex: 1;
  height: 8px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 9999px;
  overflow: hidden;
}

.quiz-score-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  border-radius: 9999px;
}

.quiz-matrix-pct-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: #065F46;
  white-space: nowrap;
}

.quiz-matrix-reason-text {
  font-size: 0.76rem;
  color: #1F2937;
  margin: 0;
  line-height: 1.35;
}

.btn-quiz-cell-cta {
  background: #FFFFFF;
  border: 1.5px dashed #10B981;
  color: #065F46;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-quiz-cell-cta:hover {
  background: #ECFDF5;
  border-style: solid;
}


/* ==========================================================================
   RESPONSIVE OVERFLOW FIX
   --------------------------------------------------------------------------
   The header row (logo + utilities + language selector) had no responsive
   treatment of its own, so it forced a 1095px minimum content width on
   desktop and 580px on phones. Any narrower viewport got a horizontally
   overflowing document, which also pushed position:fixed elements anchored
   to `right` outside the visible area.
   Verified with no horizontal overflow from 320px to 1440px.
   ========================================================================== */

/* A bare `1fr` grid track is minmax(auto, 1fr): content can push it wider
   than its container. This layout needs an explicit zero minimum. */
.catalog-layout-grid { grid-template-columns: 280px minmax(0, 1fr); }

/* --------------------------------------------------------------------------
   SHOWROOM VIRTUAL (Matterport)
   El iframe viene de Matterport con 853x480 fijos. Tal cual desbordaría en
   móvil, que es justo el problema que costó arreglar en toda la web, así que
   se estira al contenedor y el alto lo pone la proporción.
   -------------------------------------------------------------------------- */
.showroom-matterport {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1100px) {
  .header-main-container { padding: 12px 16px; gap: 12px; }

  /* Two product-detail columns stop fitting before the old 900px breakpoint */
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-gallery-column { position: static; }
  .header-utilities { gap: 10px; min-width: 0; }
  .utility-item { padding: 6px; }
  .utility-text { display: none; }
  .phone-utility { display: none; }
}

@media (max-width: 900px) {
  .header-main-container { padding: 12px 14px; gap: 10px; }
  .header-utilities { gap: 8px; }
  .utility-item { padding: 6px 4px; }

  /* Filter pills scroll sideways instead of stretching the page */
  .product-filter-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .product-filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab-btn { flex-shrink: 0; }

  .compare-dock-actions { flex-wrap: wrap; justify-content: flex-end; }

  /* En una pantalla estrecha, 480px de alto fijo deja el recorrido en un
     rectángulo casi vertical. Mejor que el alto lo mande la proporción. */
  .showroom-embed-frame {
    height: auto;
    aspect-ratio: 4 / 3;
    border-width: 3px;
    border-radius: 16px;
  }
  /* Sin min-height a propósito: junto a aspect-ratio, un alto mínimo acaba
     fijando el ANCHO para cumplir la proporción (260px de alto forzaban 347px
     de ancho) y desbordaba en pantallas de 320. */

  /* A bare `1fr` track is minmax(auto, 1fr), so the product detail content
     could push the column wider than the viewport. Clamp the minimum. */
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-gallery-column,
  .pdp-info-column { min-width: 0; }
  .catalog-layout-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-sidebar-filters,
  .catalog-products-content { min-width: 0; }
}

@media (max-width: 640px) {
  /* No room for the language pill on a phone header - app.js relocates the
     node into the mobile drawer header, which is always in view. */
  .lang-selector-wrapper { display: none; }
  .drawer-header .lang-selector-wrapper { display: flex; margin-left: auto; }
  .hotspot-tooltip { max-width: 60vw; white-space: normal; text-align: center; }
}

@media (max-width: 380px) {
  .header-main-container { padding: 10px; gap: 8px; }
  .header-utilities { gap: 4px; }
  .utility-item { padding: 6px 2px; }

  /* Price, strikethrough and savings badge stop fitting on one line */
  .pdp-price-row { flex-wrap: wrap; }
  .toolbar-right { flex-wrap: wrap; justify-content: flex-start; }
  .checkout-trust-group { flex-wrap: wrap; gap: 10px; }

  /* Three checkout step badges plus their connectors need to scroll */
  .checkout-stepper-row { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .checkout-stepper-row::-webkit-scrollbar { display: none; }
  .step-badge { padding: 8px 12px; flex-shrink: 0; }
}
