/* ==========================================================================
   TidyMomHome - Luxury Lifestyle Amazon Affiliate Portal
   Design System: Warm Editorial, Organic Minimalism, High Conversion
   Palette: Warm White, Cream, Soft Sage, Rose Terracotta, Charcoal
   ========================================================================== */

:root {
  /* Color System */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F4EFEB;
  --bg-card: #FFFFFF;
  --bg-subtle: #F9F6F0;
  --bg-dark: #1E2320;
  --bg-dark-surface: #282F2B;

  /* Accent: Sage Green (Home Organization) */
  --sage-900: #1B291F;
  --sage-800: #293E30;
  --sage-700: #385440;
  --sage-600: #486C52;
  --sage-500: #45684E;
  --sage-200: #D8E6DB;
  --sage-100: #EBF3ED;
  --sage-50: #F4F8F5;

  /* Accent: Soft Rose / Terracotta (Baby & Mom) - WCAG AAA Contrast */
  --rose-900: #5C2227;
  --rose-800: #88343C;
  --rose-700: #B84D57;
  --rose-600: #A83B46;
  --rose-500: #B8434F;
  --rose-200: #F7D6D9;
  --rose-100: #FDF0F1;
  --rose-50: #FCF7F7;

  /* Neutral Typography & Borders - Optimized for 100/100 WCAG AAA Contrast */
  --charcoal-900: #1A1E1C;
  --charcoal-800: #2C332F;
  --charcoal-700: #444D47;
  --charcoal-600: #5F6B63;
  --charcoal-500: #556059;
  --charcoal-400: #5F6B63;
  --charcoal-200: #D5DBD7;
  --border-light: #EBE5DC;
  --border-card: #E4DDD4;

  /* Amazon Affiliate Accents */
  --amazon-gold: #FF9900;
  --amazon-rating: #E67A00;
  --amazon-prime: #007185;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Caveat', cursive;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(33, 40, 35, 0.04);
  --shadow-sm: 0 2px 8px rgba(33, 40, 35, 0.06);
  --shadow-md: 0 8px 24px rgba(33, 40, 35, 0.07);
  --shadow-lg: 0 16px 40px rgba(33, 40, 35, 0.09);
  --shadow-hover: 0 20px 48px rgba(33, 40, 35, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Strict Viewport Reset (Zero Horizontal Overflow) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--charcoal-800);
  line-height: 1.6;
}

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

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

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

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Utility Top Bar
   ========================================================================== */
.top-bar {
  background-color: #F8F5F0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--charcoal-700);
  padding: 0.55rem 0;
  font-weight: 500;
  width: 100%;
  overflow: hidden;
}

.top-bar .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar svg {
  width: 16px;
  height: 16px;
  color: var(--sage-700);
  flex-shrink: 0;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.disclosure-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--charcoal-600);
  cursor: pointer;
}

.disclosure-link:hover {
  color: var(--sage-700);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  background: var(--sage-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-700);
  border: 1px solid var(--sage-200);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--sage-800);
}

.brand-name span {
  color: var(--charcoal-900);
  font-weight: 500;
}

.brand-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-500);
  font-weight: 600;
  margin-top: 1px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-800);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--bg-subtle);
  color: var(--sage-700);
}

.nav-link.active {
  background-color: var(--sage-700);
  color: #FFFFFF;
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown {
  position: relative;
}

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

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--charcoal-800);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-primary);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--sage-50);
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item-icon.rose {
  background-color: var(--rose-50);
  color: var(--rose-600);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal-900);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--charcoal-500);
  line-height: 1.3;
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-search-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  color: var(--charcoal-500);
  font-size: 0.875rem;
  min-width: 210px;
  text-align: left;
}

.header-search-btn:hover {
  border-color: var(--charcoal-400);
  background-color: #FFFFFF;
}

.header-search-btn kbd {
  margin-left: auto;
  font-size: 0.7rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  color: var(--charcoal-400);
  font-family: inherit;
}

.action-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-700);
  background-color: var(--bg-subtle);
  position: relative;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.action-icon-btn:hover {
  background-color: var(--sage-100);
  color: var(--sage-700);
}

.action-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--rose-600);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--charcoal-800);
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section: Split-Screen Lifestyle Showcase (Dual Niche Hero)
   Matches reference image design with precision
   ========================================================================== */
.hero-section {
  padding: 1.25rem 0 3.5rem;
  position: relative;
  width: 100%;
}

.hero-dual-wrapper {
  background: url('../images/hero-bg.webp') center center / cover no-repeat;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(33, 40, 35, 0.08);
  border: 1px solid var(--border-card);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
  min-height: 570px;
  width: 100%;
}

/* Left Hero: Home Organization */
.hero-panel {
  position: relative;
  padding: 3.5rem 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
}

.hero-panel-home {
  background: transparent;
}

.hero-panel-baby {
  background: transparent;
  border-left: none;
}

/* Hero Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-pill-badge.sage {
  color: var(--sage-800);
  border: 1px solid var(--sage-200);
}

.hero-pill-badge.rose {
  color: var(--rose-700);
  border: 1px solid var(--rose-200);
}

.hero-pill-badge svg {
  width: 17px;
  height: 17px;
}

/* Headlines */
.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #161B18;
  margin-bottom: 1rem;
  word-break: break-word;
}

.hero-headline .script-accent-green {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.28em;
  color: #385440;
  display: inline-block;
  transform: rotate(-1.5deg);
  margin-left: 0.15rem;
}

.hero-headline .script-accent-rose {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.28em;
  color: #C55E67;
  display: inline-block;
  transform: rotate(-1deg);
  margin-left: 0.15rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--charcoal-700);
  margin-bottom: 2rem;
  max-width: 440px;
  line-height: 1.55;
  font-weight: 450;
}

/* Hero CTA Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  width: fit-content;
  max-width: 100%;
}

.btn-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

.btn-cta-sage {
  background-color: var(--sage-700);
  color: #FFFFFF;
}

.btn-cta-sage:hover {
  background-color: var(--sage-800);
  box-shadow: 0 8px 20px rgba(56, 84, 64, 0.28);
  transform: translateY(-2px);
}

.btn-cta-rose {
  background-color: var(--rose-600);
  color: #FFFFFF;
}

.btn-cta-rose:hover {
  background-color: var(--rose-700);
  box-shadow: 0 8px 20px rgba(197, 94, 103, 0.28);
  transform: translateY(-2px);
}

/* ==========================================================================
   Trust & Value Bar (Feature Bar)
   ========================================================================== */
.trust-bar-wrapper {
  margin-top: -1.75rem;
  position: relative;
  z-index: 10;
  width: 100%;
}

.trust-bar {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  padding: 1.5rem 2.25rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0.5rem;
}

.trust-bar-item:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.trust-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-800);
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.trust-bar-item:hover .trust-icon-box {
  background-color: var(--sage-100);
  color: var(--sage-700);
}

.trust-text h4,
.trust-text h3 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.25;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--charcoal-500);
  line-height: 1.35;
  margin-top: 2px;
}

/* ==========================================================================
   Section Headers & Badges
   ========================================================================== */
.section-header {
  margin-bottom: 2.75rem;
  width: 100%;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-eyebrow.sage {
  color: var(--sage-700);
}

.section-eyebrow.rose {
  color: var(--rose-600);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--charcoal-600);
  margin-top: 0.85rem;
  line-height: 1.6;
  max-width: 650px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--sage-700);
  transition: all var(--transition-fast);
  max-width: 100%;
}

.view-all-link.rose {
  color: var(--rose-600);
}

.view-all-link:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   Category Showcase Grid (Home Organization & Baby & Mom)
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
  width: 100%;
  overflow: hidden;
}

.section-bg-cream {
  background-color: var(--bg-secondary);
}

.section-bg-white {
  background-color: #FFFFFF;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.category-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-card);
}

.category-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-subtle);
  width: 100%;
}

.category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.category-card:hover .category-image-wrap img {
  transform: scale(1.06);
}

.category-count-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal-700);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.category-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.category-desc {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.category-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.category-subtag {
  font-size: 0.75rem;
  background-color: var(--bg-subtle);
  color: var(--charcoal-700);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-weight: 500;
}

.category-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sage-700);
  margin-top: auto;
}

.category-card.rose .category-explore-link {
  color: var(--rose-600);
}

/* ==========================================================================
   Interactive Product Tabs & Featured Product Cards
   ========================================================================== */
.product-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  width: 100%;
}

.filter-pill-btn {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-700);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover {
  background-color: var(--bg-subtle);
  border-color: var(--charcoal-400);
}

.filter-pill-btn.active {
  background-color: var(--charcoal-900);
  color: #FFFFFF;
  border-color: var(--charcoal-900);
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  width: 100%;
}

/* Premium Product Card */
.product-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  box-shadow: var(--shadow-xs);
  width: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-card);
}

.product-badge-wrap {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge-choice {
  background-color: var(--sage-700);
  color: #FFFFFF;
}

.badge-parent {
  background-color: var(--rose-600);
  color: #FFFFFF;
}

.badge-space {
  background-color: #3B7280;
  color: #FFFFFF;
}

.badge-trending {
  background-color: var(--amazon-gold);
  color: var(--charcoal-900);
}

.product-wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-600);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

.product-wishlist-btn:hover {
  color: var(--rose-600);
  background-color: #FFFFFF;
  transform: scale(1.1);
}

.product-wishlist-btn.saved {
  color: var(--rose-600);
  background-color: var(--rose-100);
}

.product-media-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background-color: #FBF9F6;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.product-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-media-wrap img {
  transform: scale(1.05);
}

.quick-view-overlay-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background-color: rgba(26, 30, 28, 0.88);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-card:hover .quick-view-overlay-btn {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.product-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-category-tag {
  color: var(--charcoal-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Verified Amazon Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--charcoal-800);
  flex-wrap: wrap;
}

.rating-stars {
  display: flex;
  align-items: center;
  color: var(--amazon-gold);
}

.rating-stars svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.rating-count {
  font-weight: 500;
  color: var(--charcoal-500);
  font-size: 0.75rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.35;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--sage-700);
}

.product-summary {
  font-size: 0.85rem;
  color: var(--charcoal-600);
  line-height: 1.5;
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Key Benefits Checklist */
.product-key-benefits {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background-color: var(--bg-subtle);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  width: 100%;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--charcoal-700);
  font-weight: 500;
}

.benefit-item svg {
  width: 14px;
  height: 14px;
  color: var(--sage-700);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing & Affiliate CTA */
.product-card-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--charcoal-900);
}

.original-price {
  font-size: 0.85rem;
  color: var(--charcoal-400);
  text-decoration: line-through;
}

.prime-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: #EBF8FA;
  color: #007185;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* High-Converting Amazon Affiliate CTA Button */
.btn-amazon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(180deg, #FAD02C 0%, #F5B025 100%);
  color: #111111;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(245, 176, 37, 0.3);
  transition: all var(--transition-fast);
  border: 1px solid #D69719;
  width: 100%;
}

.btn-amazon:hover {
  background: linear-gradient(180deg, #F7C61E 0%, #EE9E18 100%);
  box-shadow: 0 4px 12px rgba(245, 176, 37, 0.45);
  transform: translateY(-1px);
}

.btn-amazon svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.amazon-disclaimer-sub {
  font-size: 0.7rem;
  color: var(--charcoal-400);
  text-align: center;
  margin-top: -0.35rem;
}

/* ==========================================================================
   Editorial Content / Buying Guides & Advice (Equal Height & Uniform Grid)
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
  align-items: stretch;
}

.guide-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-base);
  width: 100%;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-card);
}

.guide-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-subtle);
  flex-shrink: 0;
}

.guide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.guide-card:hover .guide-img-wrap img {
  transform: scale(1.05);
}

.guide-body {
  padding: 1.65rem 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  width: fit-content;
}

.guide-category-pill.sage {
  background-color: var(--sage-100);
  color: var(--sage-800);
}

.guide-category-pill.rose {
  background-color: var(--rose-100);
  color: var(--rose-800);
}

.guide-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--charcoal-900);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.45rem;
}

.guide-title a:hover {
  color: var(--sage-700);
}

.guide-excerpt {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.1rem;
}

.guide-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--charcoal-500);
}

.guide-author-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-text strong {
  display: block;
  color: var(--charcoal-900);
  font-size: 0.8125rem;
  line-height: 1.2;
}

.author-text span {
  font-size: 0.72rem;
  color: var(--charcoal-500);
}

.guide-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--sage-700);
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-read-btn.rose {
  color: var(--rose-600);
}

.guide-read-btn svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.guide-card:hover .guide-read-btn svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Room-By-Room Interactive Small Space Makeover Showcase
   ========================================================================== */
.space-solutions-section {
  background-color: var(--bg-secondary);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.space-showcase-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.space-tabs-nav {
  display: flex;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
}

.space-tabs-nav::-webkit-scrollbar {
  display: none;
}

.space-tab-btn {
  padding: 1.25rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal-600);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.space-tab-btn:hover {
  color: var(--charcoal-900);
  background-color: rgba(255, 255, 255, 0.5);
}

.space-tab-btn.active {
  color: var(--sage-800);
  background-color: #FFFFFF;
  border-bottom-color: var(--sage-700);
}

.space-tab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.space-tab-content-panel {
  display: none;
  padding: 3rem;
  width: 100%;
}

.space-tab-content-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.space-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  width: 100%;
}

.space-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal-900);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.hotspot-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sage-700);
}

.space-text-content {
  width: 100%;
}

.space-text-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 1rem;
}

.space-text-content p {
  font-size: 1rem;
  color: var(--charcoal-600);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.space-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.space-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--charcoal-700);
}

.space-checklist-item svg {
  width: 18px;
  height: 18px;
  color: var(--sage-700);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   Why Trust Our Recommendations (Credibility & Pillars)
   ========================================================================== */
.trust-section {
  background-color: #FFFFFF;
  width: 100%;
  overflow: hidden;
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

.trust-pillar-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all var(--transition-base);
  width: 100%;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  background-color: #FFFFFF;
  border-color: var(--sage-200);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-color: #FFFFFF;
  color: var(--sage-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--charcoal-600);
  line-height: 1.55;
}

/* Stats Counter Strip */
.stats-strip {
  background: linear-gradient(135deg, var(--sage-800) 0%, var(--sage-900) 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  width: 100%;
}

.stat-item h3,
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  color: #FFFFFF;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--sage-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   Newsletter & Free Guide (High-Converting Opt-in)
   ========================================================================== */
.newsletter-section {
  padding: 3rem 0 5.5rem;
  width: 100%;
  overflow: hidden;
}

.newsletter-card {
  background: linear-gradient(135deg, #FBF8F5 0%, #F5EFEB 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.newsletter-text {
  position: relative;
  z-index: 2;
  width: 100%;
}

.newsletter-text h3 {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.newsletter-text p {
  font-size: 1.05rem;
  color: var(--charcoal-700);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.newsletter-perks {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.newsletter-perk-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-800);
}

.newsletter-perk-item svg {
  width: 17px;
  height: 17px;
  color: var(--sage-700);
  flex-shrink: 0;
}

.newsletter-form-box {
  position: relative;
  z-index: 2;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.newsletter-form-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-900);
  margin-bottom: 0.5rem;
}

.newsletter-form-box p {
  font-size: 0.85rem;
  color: var(--charcoal-500);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  font-size: 0.95rem;
  color: var(--charcoal-800);
  transition: all var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--sage-700);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(56, 84, 64, 0.12);
}

.btn-subscribe {
  background-color: var(--sage-700);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.btn-subscribe:hover {
  background-color: var(--sage-800);
  transform: translateY(-1px);
}

.privacy-notice {
  font-size: 0.72rem;
  color: var(--charcoal-400);
  text-align: center;
  margin-top: 0.85rem;
}

/* ==========================================================================
   Footer & Mandatory Amazon Affiliate Compliance
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #D3DAD5;
  padding-top: 5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  width: 100%;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand-logo .brand-icon-wrapper {
  background-color: var(--sage-800);
  border-color: var(--sage-700);
  color: #FFFFFF;
}

.footer-brand-logo .brand-name {
  color: #FFFFFF;
}

.footer-brand-logo .brand-name span {
  color: #E2E8E4;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: #A0ABA3;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-dark-surface);
  color: #A0ABA3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

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

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: #A0ABA3;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
}

/* Amazon Associate Disclosure Box */
.footer-disclosure-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 3rem 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #929E96;
  width: 100%;
}

.footer-disclosure-box strong {
  color: #E2E8E4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: #98A49C;
  padding-top: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

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

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

/* ==========================================================================
   Modals, Search Overlay & Toast Feedback
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 22, 20, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  width: 100%;
}

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

.modal-container {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-base);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-700);
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--charcoal-200);
  color: var(--charcoal-900);
}

/* Quick View Modal Internal Layout */
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.25rem;
  width: 100%;
}

.qv-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-subtle);
  aspect-ratio: 1/1;
  width: 100%;
}

.qv-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qv-details {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.qv-badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.qv-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--charcoal-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.qv-desc {
  font-size: 0.925rem;
  color: var(--charcoal-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.qv-benefits {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Search Modal */
.search-modal-container {
  max-width: 680px;
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.search-input-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  gap: 1rem;
}

.search-input-header input {
  border: none;
  outline: none;
  font-size: 1.15rem;
  width: 100%;
  color: var(--charcoal-900);
}

.search-results-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.search-result-item:hover {
  background-color: var(--bg-subtle);
}

.search-result-item img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Toast Feedback */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: calc(100vw - 4rem);
}

.toast {
  background-color: var(--charcoal-900);
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 22, 20, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background-color: #FFFFFF;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

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

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

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav-link:hover {
  color: var(--sage-700);
}

/* ==========================================================================
   Responsive Breakpoints: 1200px, 992px, 768px, 640px, 480px
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-headline {
    font-size: 2.35rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .trust-bar-item:nth-child(2) {
    border-right: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .top-bar {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-dual-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    background: none;
  }

  .hero-panel {
    padding: 3rem 2.25rem;
  }
  .hero-panel-home {
    background: linear-gradient(135deg, rgba(245, 248, 245, 0.9) 0%, rgba(245, 248, 245, 0.75) 100%),
                url('../images/hero-bg.webp') left center / cover no-repeat;
  }

  .hero-panel-baby {
    background: linear-gradient(135deg, rgba(253, 246, 247, 0.9) 0%, rgba(253, 246, 247, 0.75) 100%),
                url('../images/hero-bg.webp') right center / cover no-repeat;
    border-left: none;
    border-top: 3px solid #FFFFFF;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .space-tab-content-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 2.5rem;
  }

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

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .container,
  .container-wide {
    padding: 0 1.25rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-info {
    padding: 1.1rem;
  }

  .trust-bar {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .trust-bar-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
  }

  .space-tab-content-panel {
    padding: 2rem 1.5rem;
  }

  .space-tab-btn {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }

  .quick-view-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {

  .container,
  .container-wide {
    padding: 0 1rem;
  }

  .header-search-btn {
    min-width: auto;
    padding: 0.45rem;
    border: none;
    background: transparent;
  }

  .header-search-btn span,
  .header-search-btn kbd {
    display: none;
  }

  .hero-panel {
    padding: 2.25rem 1.25rem 2.75rem;
  }

  .hero-headline {
    font-size: 1.95rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-cta {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .trust-bar {
    padding: 1.25rem 1rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .space-showcase-box {
    border-radius: var(--radius-lg);
  }

  .space-tab-content-panel.active {
    padding: 1.5rem 1rem;
  }

  .space-text-content h3 {
    font-size: 1.5rem;
  }

  .trust-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
    padding: 1.75rem 1rem;
    gap: 1.25rem;
  }

  .stat-item h3,
  .stat-item .stat-number {
    font-size: 2rem;
  }

  .newsletter-card {
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .newsletter-text h3 {
    font-size: 1.75rem;
  }

  .newsletter-form-box {
    padding: 1.5rem 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 1rem;
  }
}