@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Quicksand:wght@600;700;800&display=swap');

/* ==========================================
   OFFICIAL BRAND BOOK DESIGN SYSTEM
   ========================================== */
:root {
  /* Fonts from Brand Book */
  --font-heading: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Theme: Light Colors from Brand Book */
  --bg-color: #FFFDF9; /* Warm Oat Cream Background */
  --card-bg: #ffffff;
  --card-bg-transparent: rgba(255, 255, 255, 0.85);
  --text-color: #292F36; /* Deep Slate Navy Text */
  --text-muted: #64748B;
  --border-color: #F1F5F9;
  --shadow-color: rgba(41, 47, 54, 0.05);
  --shadow-hover: rgba(41, 47, 54, 0.12);

  /* Official Brand Book Palette & Category Coding */
  --coral: #FF6B6B; /* Nurturing Coral: Primary Brand & Parenting */
  --coral-dark: #E85555;
  --sage: #4ECDC4; /* Sprout Mint: Recipes & Nutrition */
  --sunshine: #FFE66D; /* Playful Sunshine: Toys & Activity Reviews */
  --berry: #8E7DBE; /* Soft Lavender: Kids Fashion & Care Products */
  --navy: #292F36; /* Deep Slate Navy: Headings & Trust */
  --cream: #FFFDF9; /* Warm Oat Cream: Body background */

  /* Semantic Theme Variables */
  --primary-color: #FF6B6B; /* Nurturing Coral */
  --primary-rgb: 255, 107, 107;
  --primary-hover: #E85555;
  --secondary-color: #4ECDC4; /* Sprout Mint */
  --secondary-rgb: 78, 205, 196;
  --secondary-hover: #2AB7CA;
  --accent-color: #FFE66D; /* Sunshine */
  --fashion-color: #8E7DBE; /* Soft Lavender */
  --toys-color: #FFB800; /* Sunshine / Amber */
  --parenting-color: #FF6B6B; /* Nurturing Coral */
  --light-bg-accent: #FFF5F5;

  /* Status Colors */
  --color-success: #4ECDC4;
  --color-warning: #FFE66D;
  --color-error: #FF6B6B;

  /* Layout Constants */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
}


[data-theme="dark"] {
  /* Theme: Dark Colors */
  --bg-color: #0f0d0b;
  --card-bg: #1a1613;
  --card-bg-transparent: rgba(26, 22, 19, 0.8);
  --text-color: #f3ede6;
  --text-muted: #a39c94;
  --border-color: #2b2621;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --shadow-hover: rgba(0, 0, 0, 0.6);
  --light-bg-accent: #2c1a10;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Sticky Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--card-bg-transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px var(--shadow-color);
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: 230px;
  display: block;
  object-fit: contain;
  transition: var(--transition-fast);
}

.logo-link:hover .logo-img {
  transform: scale(1.02);
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-orange 2s infinite;
}


/* Main Navigation */
.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

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

.main-nav a.active {
  color: var(--primary-color);
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-toggle, .search-toggle, .mobile-menu-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.theme-toggle svg, .search-toggle svg, .mobile-menu-toggle svg {
  display: block;
  pointer-events: none;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.theme-toggle:hover, .search-toggle:hover, .mobile-menu-toggle:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.theme-toggle:hover svg, .search-toggle:hover svg, .mobile-menu-toggle:hover svg {
  stroke: #fff;
}

.ask-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.ask-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
  color: #fff;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
}

/* ==========================================
   HERO / CAROUSEL & HOME SECTIONS
   ========================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* Premium Card Designs */
.feature-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 480px;
  box-shadow: 0 10px 30px var(--shadow-color);
  background-color: var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

.feature-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover img {
  transform: scale(1.04);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 90%);
  z-index: 2;
}

.card-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
}

.category-tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.feature-card.recipe-theme .category-tag {
  background-color: var(--secondary-color);
}

.card-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.card-meta {
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  gap: 1.5rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mini-card {
  position: relative;
  height: 228px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: 0 6px 20px var(--shadow-color);
  transition: var(--transition-smooth);
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.mini-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

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

.mini-card .card-content {
  padding: 1.5rem;
}

.mini-card .card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ==========================================
   AGE CATEGORIES QUICK BAR
   ========================================== */
.age-bar-section {
  padding: 1.5rem 0;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.age-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.age-bar-title {
  font-size: 1.1rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.age-buttons-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
}

.age-buttons-grid::-webkit-scrollbar {
  display: none;
}

.age-btn {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
}

.age-btn:hover, .age-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
  transform: scale(1.02);
}

/* ==========================================
   SECTION HEADER COMPONENT
   ========================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.section-title-wrap {
  position: relative;
}

.section-title {
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.section-title-underline {
  position: absolute;
  bottom: -0.95rem;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  z-index: 2;
  border-radius: 2px;
}

.section-more-link {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================
   MAIN CARDS GRID (ARTICLES / RECIPES)
   ========================================== */
.main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.standard-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.standard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--border-color);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-bookmark-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

[data-theme="dark"] .card-bookmark-btn {
  background-color: rgba(26, 22, 19, 0.9);
}

.card-bookmark-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
}

.card-bookmark-btn.active {
  background-color: var(--primary-color);
  color: #fff;
}

.card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.card-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.recipe-theme .card-tag {
  color: var(--secondary-color);
}

.card-age-tag {
  font-size: 0.75rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 500;
}

.standard-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--text-color);
}

.standard-card h3 a {
  color: inherit;
}

.standard-card h3 a:hover {
  color: var(--primary-color);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==========================================
   EXPERT BANNER & COMMUNITy SECTION
   ========================================== */
.expert-banner {
  background: linear-gradient(135deg, var(--light-bg-accent) 0%, var(--card-bg) 100%);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.expert-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.expert-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.expert-avatars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expert-avatar-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: var(--transition-smooth);
}

.expert-avatar-card:hover {
  transform: translateY(-4px);
}

.expert-avatar-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--primary-color);
}

.expert-avatar-card.secondary-theme img {
  border-color: var(--secondary-color);
}

.expert-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-color);
}

.expert-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Forum/Q&A Card List */
.qna-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.qna-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: var(--transition-smooth);
}

.qna-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.qna-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.qna-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar-placeholder {
  width: 38px;
  height: 38px;
  background-color: var(--light-bg-accent);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user-info-text {
  line-height: 1.3;
}

.user-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.qna-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.qna-tag {
  font-size: 0.8rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  color: var(--primary-color);
  font-weight: 600;
}

.qna-question {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.qna-answer-box {
  background-color: var(--bg-color);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-bottom: 1.5rem;
}

.qna-answer-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.qna-expert-badge {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.qna-answer-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.qna-actions {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.qna-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
}

.qna-action-btn:hover {
  color: var(--primary-color);
}

/* ==========================================
   NEWSLETTER SUBSCRIPTION SIGNUP
   ========================================== */
.newsletter-section {
  padding: 5rem 0;
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  position: relative;
}

.newsletter-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-box h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.newsletter-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 0.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.newsletter-form input {
  flex-grow: 1;
  border: none;
  background: none;
  padding: 0 1.5rem;
  color: var(--text-color);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

.newsletter-form button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.site-footer {
  background-color: #1a1613;
  color: #a39c94;
  padding: 5rem 0 2rem;
  border-top: 1px solid #2b2621;
}

[data-theme="dark"] .site-footer {
  background-color: #0c0b0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: #fff;
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-about {
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2c2621;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #a39c94;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #2c2621;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #a39c94;
}

/* ==========================================
   PAGE DETAIL STYLING (SINGLE-ARTICLE / RECIPE)
   ========================================== */
.breadcrumbs {
  margin-top: calc(var(--header-height) + 2rem);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--border-color);
}

.article-header,
div.article-header,
header.article-header,
.post-header-wrap {
  position: static !important;
  top: auto !important;
  left: auto !important;
  z-index: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: none !important;
  margin-top: 1rem !important;
  margin-bottom: 2.5rem !important;
  text-align: center !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.article-header h1,
.post-header-wrap h1,
.post-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.article-header-meta {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  font-size: 0.95rem !important;
  color: var(--text-muted) !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.article-header-meta .author-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.article-header-meta .card-author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.article-featured-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2, .article-content h3 {
  margin: 2.5rem 0 1rem;
}

.article-content blockquote {
  border-left: 5px solid var(--primary-color);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background-color: var(--light-bg-accent);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.article-tags {
  display: flex;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.tag-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tag-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ==========================================
   SEO TABLE OF CONTENTS (TOC) COMPONENT
   ========================================== */
.mpc-heading-target,
.article-content h2[id],
.article-content h3[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.mpc-toc-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--coral);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 2.5rem 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: var(--transition-fast);
}

.mpc-toc-wrapper:hover {
  box-shadow: 0 8px 30px var(--shadow-hover);
}

.mpc-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mpc-toc-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mpc-toc-icon {
  stroke: var(--coral);
}

.mpc-toc-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.mpc-toc-toggle-btn {
  background: var(--light-bg-accent);
  color: var(--coral);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mpc-toc-toggle-btn:hover {
  background: var(--coral);
  color: #ffffff;
  border-color: var(--coral);
}

.mpc-toc-body {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  transition: max-height 0.35s ease, opacity 0.3s ease;
  overflow: hidden;
}

.mpc-toc-body.collapsed {
  display: none;
}

.mpc-toc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mpc-toc-item {
  line-height: 1.45;
}

.mpc-toc-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mpc-toc-link:hover {
  color: var(--coral);
  transform: translateX(3px);
}

.mpc-toc-num {
  font-weight: 700;
  color: var(--coral);
  font-size: 0.88rem;
}

.mpc-toc-text {
  color: inherit;
}

.mpc-toc-sublist {
  list-style: none !important;
  padding: 0 0 0 1.5rem !important;
  margin: 0.4rem 0 0 0 !important;
  border-left: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mpc-toc-level-3 .mpc-toc-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mpc-toc-level-3 .mpc-toc-link:hover {
  color: var(--coral);
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.widget {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

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

.widget-post-item {
  display: flex;
  gap: 1rem;
}

.widget-post-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  background-color: var(--border-color);
}

.widget-post-info h4 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   MODERN BRANDED COMMENTS & DISCUSSION SYSTEM
   ========================================== */
.comments-area,
.comments-section {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 2px solid var(--border-color);
}

.comments-header-bar {
  margin-bottom: 2.5rem;
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.comments-title svg {
  stroke: var(--coral);
}

.comments-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Comment Form / Reply Box */
#respond,
.comment-respond,
.mpc-modern-respond {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: 0 8px 30px var(--shadow-color);
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

#respond::before,
.comment-respond::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--accent-color), var(--sage));
}

.comment-reply-title,
#reply-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.reply-badge {
  display: inline-block;
  margin-right: 0.35rem;
}

.cancel-comment-reply a,
#cancel-comment-reply-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: var(--light-bg-accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

.cancel-comment-reply a:hover,
#cancel-comment-reply-link:hover {
  background: var(--coral);
  color: #fff;
}

.comment-notes,
#email-notes {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Logged-In User Bar */
.logged-in-as {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--light-bg-accent);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-color);
  border: 1px solid rgba(255, 107, 107, 0.15);
}

.logged-in-as strong {
  color: var(--coral-dark);
}

.logged-in-as a {
  color: var(--coral);
  font-weight: 600;
}

.logged-in-as .logged-in-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* Comment Form Fields */
.comment-form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.comment-form-group,
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.comment-form-group label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.comment-form-group label .required,
.comment-form-comment label .required {
  color: var(--coral);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
  width: 100%;
  background-color: var(--bg-color);
  border: 1.5px solid var(--border-color);
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-color);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.comment-form textarea,
#commentform textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.comment-form input:focus,
.comment-form textarea:focus,
#commentform input:focus,
#commentform textarea:focus {
  border-color: var(--coral);
  outline: none;
  background-color: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--coral);
  cursor: pointer;
  flex-shrink: 0;
}

.comment-form-cookies-consent label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}

/* Submit Button */
.form-submit,
p.form-submit {
  margin-top: 1rem;
  margin-bottom: 0;
}

.submit-btn,
.submit-comment-btn,
.form-submit input[type="submit"],
#commentform input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--coral) 0%, #FF8E53 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 0.95rem 2.25rem !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.submit-btn:hover,
.submit-comment-btn:hover,
.form-submit input[type="submit"]:hover,
#commentform input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4) !important;
  background: linear-gradient(135deg, #E85555 0%, #FF7A3D 100%) !important;
}

/* Comments List & Cards */
.comment-list,
ol.commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 3rem 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.comment-item,
li.comment {
  list-style: none !important;
}

.comment-body {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 15px var(--shadow-color);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  position: relative;
  transition: var(--transition-fast);
}

.comment-body:hover {
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.comment-avatar-wrap {
  flex-shrink: 0;
}

.comment-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  background-color: var(--cream);
  display: block;
}

.comment-content-wrap {
  min-width: 0;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

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

.comment-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.comment-author-name a {
  color: var(--navy);
}

.comment-badge-author {
  display: inline-block;
  background: var(--light-bg-accent);
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 107, 107, 0.25);
}

.comment-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-color);
}

.comment-text p {
  margin: 0 0 0.75rem 0;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

.comment-actions .comment-reply-link,
.comment-reply-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: var(--light-bg-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.comment-actions .comment-reply-link:hover,
.comment-reply-link:hover {
  background: var(--coral);
  color: #fff;
}

/* Threaded comments (replies) */
ol.children {
  list-style: none !important;
  margin: 1.25rem 0 0 3rem !important;
  padding: 0 0 0 1.25rem !important;
  border-left: 2.5px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Empty State Card */
.no-comments-yet-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card-bg);
  border: 1.5px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 2.5rem;
}

.no-comments-yet-card .no-comments-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.no-comments-yet-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.no-comments-yet-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.no-comments-notice {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 1.5rem;
  background: var(--light-bg-accent);
  border-radius: 12px;
}

@media (max-width: 768px) {
  .comment-form-fields-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comment-body {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  ol.children {
    margin-left: 1rem !important;
    padding-left: 0.75rem !important;
  }
  #respond, .comment-respond {
    padding: 1.75rem 1.25rem;
  }
}

/* Recipe specifics */
.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.recipe-meta-item {
  border-right: 1px solid var(--border-color);
}

.recipe-meta-item:last-child {
  border-right: none;
}

.recipe-meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.recipe-meta-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.recipe-ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.ingredients-box, .instructions-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.ingredients-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}

.ingredients-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

.instructions-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 28px;
  height: 28px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================
   MODAL POPUP SYSTEM
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--border-color);
}

.modal-close-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Custom Search Overlay Drawers */
.search-drawer {
  position: fixed;
  top: -120px;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: var(--card-bg);
  border-bottom: 2px solid var(--border-color);
  z-index: 1500;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-drawer.active {
  transform: translateY(120px);
}

.search-drawer-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1.5rem;
}

.search-input-wrap {
  position: relative;
  flex-grow: 1;
}

.search-input-wrap input {
  width: 100%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 1rem 1.5rem 1rem 3.5rem;
  font-size: 1.2rem;
  color: var(--text-color);
}

.search-icon-placeholder {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 116, 33, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 116, 33, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 116, 33, 0);
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    height: 380px;
  }
  
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sidebar {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  h1 { font-size: 1.8rem; }
  
  .site-header {
    height: var(--header-height);
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .main-nav.active {
    left: 0;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.15);
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .ask-btn {
    display: none;
  }
  
  .expert-banner {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  
  .expert-avatars-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .recipe-ingredients-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .card-content {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.6rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .expert-avatars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   KIDS FASHION & TOYS EXTENSION SYSTEM
   ========================================== */
:root {
  --fashion-color: #e91e8c;
  --fashion-rgb: 233, 30, 140;
  --fashion-hover: #c2185b;
  --fashion-light: #fdf2f8;
  --toys-color: #f57421;
  --toys-rgb: 245, 116, 33;
  --toys-hover: #ea580c;
  --toys-light: #fff7ed;
}

[data-theme="dark"] {
  --fashion-light: #2d0e21;
  --toys-light: #2e1709;
}

/* SECTION HERO STYLES */
.section-hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
}

.section-hero .container {
  position: relative;
  z-index: 2;
}

.fashion-hero {
  background: linear-gradient(135deg, #e91e8c 0%, #d946ef 50%, #7c3aed 100%);
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.25);
}

.toys-hero {
  background: linear-gradient(135deg, #f57421 0%, #ea580c 50%, #f59e0b 100%);
  box-shadow: 0 10px 30px rgba(245, 116, 33, 0.25);
}

.section-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 680px;
  margin: 0 auto 1.75rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stat-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* AFFILIATE DISCLOSURE NOTICE */
.affiliate-notice {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  padding: 0.85rem 1.4rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 2px 8px var(--shadow-color);
}

body[data-page='fashion'] .affiliate-notice {
  border-left-color: var(--fashion-color);
}

body[data-page='toys'] .affiliate-notice {
  border-left-color: var(--toys-color);
}

/* SECTION TABS (PRODUCTS VS BLOGS) */
.section-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-tab-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-tab-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

body[data-page='fashion'] .section-tab-btn:hover {
  border-color: var(--fashion-color);
}

body[data-page='toys'] .section-tab-btn:hover {
  border-color: var(--toys-color);
}

body[data-page='fashion'] .section-tab-btn.active {
  background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
  color: #ffffff;
  border-color: #e91e8c;
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.35);
}

body[data-page='toys'] .section-tab-btn.active {
  background: linear-gradient(135deg, #f57421 0%, #ea580c 100%);
  color: #ffffff;
  border-color: #f57421;
  box-shadow: 0 6px 20px rgba(245, 116, 33, 0.35);
}

.section-tab-panel {
  display: none;
}

.section-tab-panel.active {
  display: block;
  animation: panelFadeIn 0.35s ease;
}

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

/* FILTER BAR */
.filter-bar {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-end;
  justify-content: space-between;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 1 150px;
  min-width: 140px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.filter-select, .filter-input {
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.filter-select:focus, .filter-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

body[data-page='fashion'] .filter-select:focus,
body[data-page='fashion'] .filter-input:focus {
  border-color: var(--fashion-color);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.15);
}

body[data-page='toys'] .filter-select:focus,
body[data-page='toys'] .filter-input:focus {
  border-color: var(--toys-color);
  box-shadow: 0 0 0 3px rgba(245, 116, 33, 0.15);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23666360%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.2rem;
  cursor: pointer;
}

.filter-search-group {
  flex: 1.3 1 220px;
  position: relative;
}

.filter-search-group input {
  padding-left: 2.5rem;
}

.filter-search-icon {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.3);
}

body[data-page='fashion'] .product-card:hover {
  border-color: rgba(233, 30, 140, 0.4);
}

body[data-page='toys'] .product-card:hover {
  border-color: rgba(245, 116, 33, 0.4);
}

.product-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: var(--bg-color);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.store-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.store-amazon {
  background-color: #ff9900;
  color: #111;
}

.store-flipkart {
  background-color: #2874f0;
  color: #fff;
}

.store-meesho {
  background-color: #f43397;
  color: #fff;
}

.product-discount-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background-color: #e53935;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  z-index: 2;
}

.product-info {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
}

.product-age-badge {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 600;
}

.product-rating {
  color: #f59e0b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.product-title a {
  color: inherit;
}

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

body[data-page='fashion'] .product-title a:hover {
  color: var(--fashion-color);
}

body[data-page='toys'] .product-title a:hover {
  color: var(--toys-color);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
}

body[data-page='fashion'] .product-price {
  color: var(--fashion-color);
}

body[data-page='toys'] .product-price {
  color: var(--toys-color);
}

.product-mrp {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  transition: var(--transition-smooth);
}

body[data-page='fashion'] .btn-buy {
  background-color: var(--fashion-color);
}

body[data-page='fashion'] .btn-buy:hover {
  background-color: var(--fashion-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 30, 140, 0.35);
  color: #fff;
}

body[data-page='toys'] .btn-buy {
  background-color: var(--toys-color);
}

body[data-page='toys'] .btn-buy:hover {
  background-color: var(--toys-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 116, 33, 0.35);
  color: #fff;
}

.btn-details {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-details:hover {
  background-color: var(--card-bg);
  border-color: var(--text-muted);
}

/* FEATURED TOY OF THE WEEK STRIP */
.featured-toy-strip {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--toys-light) 100%);
  border: 2px solid rgba(245, 116, 33, 0.3);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 8px 25px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.featured-toy-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f57421, #d97706);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(245, 116, 33, 0.3);
}

.featured-toy-img-wrap {
  height: 220px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--bg-color);
}

.featured-toy-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-toy-strip:hover .featured-toy-img-wrap img {
  transform: scale(1.05);
}

.featured-toy-details h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.featured-toy-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.featured-toy-specs {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.featured-toy-specs span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* SECTION BLOGS GRID & HEADERS */
.section-blogs-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-blogs-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-blogs-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* SINGLE BLOG SPECIFICS */
.back-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px var(--shadow-color);
}

.back-tab-btn:hover {
  transform: translateX(-4px);
  border-color: var(--primary-color);
}

body[data-page='fashion'] .back-tab-btn:hover {
  border-color: var(--fashion-color);
  color: var(--fashion-color);
}

body[data-page='toys'] .back-tab-btn:hover {
  border-color: var(--toys-color);
  color: var(--toys-color);
}

.about-review-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--fashion-color);
  border-radius: var(--border-radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.about-review-box.toys-theme {
  border-left-color: var(--toys-color);
}

.about-review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.about-review-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.about-review-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.about-review-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.about-review-item-val {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* AUTHOR BIO CARD */
.author-bio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.author-bio-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}

.author-bio-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-bio-role {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

body[data-page='fashion'] .author-bio-role {
  color: var(--fashion-color);
}

body[data-page='toys'] .author-bio-role {
  color: var(--toys-color);
}

.author-bio-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* SOCIAL SHARE BAR */
.social-share-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 2.5rem 0;
  padding: 1.2rem 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  flex-wrap: wrap;
}

.social-share-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 0.5rem;
  color: var(--text-color);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition-fast);
  cursor: pointer;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.social-facebook { background-color: #1877f2; }
.social-twitter { background-color: #1da1f2; }
.social-whatsapp { background-color: #25d366; }
.social-copy { background-color: #4b5563; }

/* RELATED PRODUCTS SIDEBAR WIDGET */
.widget-related-products {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.related-product-card {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 1rem;
  padding: 0.85rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.related-product-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

body[data-page='fashion'] .related-product-card:hover {
  border-color: var(--fashion-color);
}

body[data-page='toys'] .related-product-card:hover {
  border-color: var(--toys-color);
}

.related-product-card img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.related-product-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-product-info h5 {
  font-size: 0.92rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-product-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.related-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
}

body[data-page='fashion'] .related-price {
  color: var(--fashion-color);
}

body[data-page='toys'] .related-price {
  color: var(--toys-color);
}

.related-store-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.related-view-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body[data-page='fashion'] .related-view-link {
  color: var(--fashion-color);
}

body[data-page='toys'] .related-view-link {
  color: var(--toys-color);
}

/* RESPONSIVE ADJUSTMENTS FOR NEW COMPONENTS */
@media (max-width: 992px) {
  .featured-toy-strip {
    grid-template-columns: 1fr;
  }
  .featured-toy-img-wrap {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .section-hero h1 {
    font-size: 2.2rem;
  }
  .section-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .section-tab-btn {
    justify-content: center;
  }
  .author-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-bio-card img {
    margin: 0 auto;
  }
}


/* ==========================================================================
   MYPARENTINGCIRCLE - SECTION HUBS, PRODUCTS, REVIEWS & COMMERCE MODULE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SECTION & HUB ROOT DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Section Hub Colors */
  --hub-parenting: #2a9d8f;
  --hub-parenting-rgb: 42, 157, 143;
  --hub-parenting-light: #e6f6f4;
  --hub-parenting-dark: #1d7066;

  --hub-fashion: #e91e8c;
  --hub-fashion-rgb: 233, 30, 140;
  --hub-fashion-light: #fde8f4;
  --hub-fashion-dark: #b01066;

  --hub-toys: #f57421;
  --hub-toys-rgb: 245, 116, 33;
  --hub-toys-light: #fef1e8;
  --hub-toys-dark: #bf550f;

  /* Store Brand Palette */
  --store-amazon: #FF9900;
  --store-amazon-rgb: 255, 153, 0;
  --store-amazon-hover: #e68a00;
  --store-amazon-bg: #fff8eb;
  --store-amazon-contrast: #111111;

  --store-flipkart: #2874F0;
  --store-flipkart-rgb: 40, 116, 240;
  --store-flipkart-hover: #1e5bc2;
  --store-flipkart-bg: #eff5ff;
  --store-flipkart-contrast: #ffffff;

  --store-meesho: #F43397;
  --store-meesho-rgb: 244, 51, 151;
  --store-meesho-hover: #d21d7b;
  --store-meesho-bg: #fdf0f7;
  --store-meesho-contrast: #ffffff;

  /* Glassmorphism System */
  --glass-bg-card: rgba(255, 255, 255, 0.78);
  --glass-bg-subtle: rgba(255, 255, 255, 0.6);
  --glass-bg-elevated: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-border-subtle: rgba(238, 233, 226, 0.85);
  --glass-blur: blur(14px);
  --glass-shadow: 0 10px 30px -5px rgba(43, 43, 43, 0.08), 0 4px 10px -2px rgba(43, 43, 43, 0.04);
  --glass-shadow-hover: 0 20px 40px -8px rgba(43, 43, 43, 0.16), 0 8px 16px -4px rgba(43, 43, 43, 0.08);

  /* Rating & Accent */
  --star-color-active: #ffb703;
  --star-color-empty: #e2dcd5;
  --best-price-badge-bg: #2a9d8f;
  --best-price-badge-rgb: 42, 157, 143;
}

[data-theme="dark"] {
  --hub-parenting-light: rgba(42, 157, 143, 0.18);
  --hub-fashion-light: rgba(233, 30, 140, 0.18);
  --hub-toys-light: rgba(245, 116, 33, 0.18);

  --store-amazon-bg: rgba(255, 153, 0, 0.14);
  --store-flipkart-bg: rgba(40, 116, 240, 0.14);
  --store-meesho-bg: rgba(244, 51, 151, 0.14);

  --glass-bg-card: rgba(26, 22, 19, 0.75);
  --glass-bg-subtle: rgba(26, 22, 19, 0.55);
  --glass-bg-elevated: rgba(33, 28, 24, 0.92);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-subtle: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
  --glass-shadow-hover: 0 22px 45px -8px rgba(0, 0, 0, 0.65);

  --star-color-empty: #3a342f;
}

/* --------------------------------------------------------------------------
   2. SECTION HERO BANNERS
   -------------------------------------------------------------------------- */
.section-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 2.5rem;
  margin-bottom: 2.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  isolation: isolate;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.section-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Parenting Hub - Teal Gradient */
.section-hero.parenting-hero {
  background: linear-gradient(135deg, #185a52 0%, #2a9d8f 52%, #38b2a3 100%);
  border: 1px solid rgba(42, 157, 143, 0.35);
}

.section-hero.parenting-hero::after {
  background: radial-gradient(circle, rgba(168, 230, 207, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Kids Fashion - Pink Gradient */
.section-hero.fashion-hero {
  background: linear-gradient(135deg, #880e4f 0%, #c2185b 35%, #e91e8c 75%, #f06292 100%);
  border: 1px solid rgba(233, 30, 140, 0.35);
}

.section-hero.fashion-hero::after {
  background: radial-gradient(circle, rgba(255, 175, 204, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Toys Hub - Orange Gradient */
.section-hero.toys-hero {
  background: linear-gradient(135deg, #b84305 0%, #e65c00 40%, #f57421 80%, #ff9e42 100%);
  border: 1px solid rgba(245, 116, 33, 0.35);
}

.section-hero.toys-hero::after {
  background: radial-gradient(circle, rgba(255, 221, 150, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
}

.section-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.section-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-hero h1,
.section-hero-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.section-hero-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin-bottom: 1.75rem;
}

.section-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.section-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   3. SECTION TABS & PANELS (SMOOTH ANIMATED NAVIGATION)
   -------------------------------------------------------------------------- */
.section-tabs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: var(--card-bg-transparent);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  margin-bottom: 2.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.section-tabs::-webkit-scrollbar {
  display: none;
}

.section-tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.section-tab-btn:hover {
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .section-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.section-tab-btn.active {
  color: #ffffff;
  background: var(--primary-color);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.35);
}

/* Section-colored tab active states */
.parenting-tabs .section-tab-btn.active {
  background: var(--hub-parenting);
  box-shadow: 0 6px 18px rgba(var(--hub-parenting-rgb), 0.38);
}

.fashion-tabs .section-tab-btn.active {
  background: var(--hub-fashion);
  box-shadow: 0 6px 18px rgba(var(--hub-fashion-rgb), 0.38);
}

.toys-tabs .section-tab-btn.active {
  background: var(--hub-toys);
  box-shadow: 0 6px 18px rgba(var(--hub-toys-rgb), 0.38);
}

.section-tab-btn .tab-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

/* Tab Panels */
.section-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.section-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: tabFadeIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* --------------------------------------------------------------------------
   4. FILTER BAR & SELECTION CONTROLS
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.filter-bar:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--card-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666360' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 10px 7px;
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 2.25rem 0.55rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

[data-theme="dark"] .filter-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a39c94' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
}

.filter-select:hover {
  border-color: var(--text-muted);
}

.filter-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-color);
  border-color: var(--text-muted);
  background: rgba(0, 0, 0, 0.02);
}

.filter-btn.active {
  background: var(--text-color);
  color: var(--card-bg);
  border-color: var(--text-color);
}

.filter-results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   5. PRODUCTS GRID
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

/* --------------------------------------------------------------------------
   6. PRODUCT CARD (GLASSMORPHISM & HOVER ANIMATIONS)
   -------------------------------------------------------------------------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.35);
}

/* Product Card Image */
.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06));
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

/* Age Badge */
.age-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.age-badge.age-infant { background: rgba(42, 157, 143, 0.88); }
.age-badge.age-toddler { background: rgba(245, 116, 33, 0.88); }
.age-badge.age-kid { background: rgba(233, 30, 140, 0.88); }

/* Product Card Body */
.product-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.35rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-color);
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.product-card:hover .product-card-title {
  color: var(--primary-color);
}

/* Product Rating */
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-card-rating .rating-stars {
  color: var(--star-color-active);
  letter-spacing: 1px;
}

.product-card-rating .rating-count {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}

/* Product Price */
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.product-card-price .current-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-color);
}

.product-card-price .original-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-price .discount-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(42, 157, 143, 0.14);
  color: var(--hub-parenting);
}

/* Product Card Stores Strip */
.product-card-stores {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.product-card-stores-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}

/* Product Card Action CTA */
.product-card-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card-action .btn-details {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: var(--border-radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.product-card-action .btn-details:hover {
  border-color: var(--text-color);
  background: var(--text-color);
  color: var(--card-bg);
}

/* --------------------------------------------------------------------------
   7. STORE BADGES & AVAILABILITY PILLS
   -------------------------------------------------------------------------- */
.badge-amazon,
.badge-flipkart,
.badge-meesho,
.store-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-amazon:hover,
.badge-flipkart:hover,
.badge-meesho:hover,
.store-icon-pill:hover {
  transform: translateY(-2px);
}

/* Amazon Badge */
.badge-amazon {
  background: var(--store-amazon-bg);
  color: #c97500;
  border: 1px solid rgba(255, 153, 0, 0.4);
}

.badge-amazon:hover {
  background: var(--store-amazon);
  color: #111111;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.35);
}

/* Flipkart Badge */
.badge-flipkart {
  background: var(--store-flipkart-bg);
  color: var(--store-flipkart);
  border: 1px solid rgba(40, 116, 240, 0.4);
}

.badge-flipkart:hover {
  background: var(--store-flipkart);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(40, 116, 240, 0.35);
}

/* Meesho Badge */
.badge-meesho {
  background: var(--store-meesho-bg);
  color: var(--store-meesho);
  border: 1px solid rgba(244, 51, 151, 0.4);
}

.badge-meesho:hover {
  background: var(--store-meesho);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 51, 151, 0.35);
}

/* Store Icons Group Container */
.store-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.store-icon-pill {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

/* --------------------------------------------------------------------------
   8. STORE BUY BUTTONS (CALL-TO-ACTIONS)
   -------------------------------------------------------------------------- */
.btn-buy-amazon,
.btn-buy-flipkart,
.btn-buy-meesho {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  isolation: isolate;
}

.btn-buy-amazon::after,
.btn-buy-flipkart::after,
.btn-buy-meesho::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-buy-amazon:hover::after,
.btn-buy-flipkart:hover::after,
.btn-buy-meesho:hover::after {
  left: 140%;
}

/* Buy on Amazon */
.btn-buy-amazon {
  background: var(--store-amazon);
  color: #111111;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.3);
}

.btn-buy-amazon:hover {
  background: var(--store-amazon-hover);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4);
}

/* Buy on Flipkart */
.btn-buy-flipkart {
  background: var(--store-flipkart);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(40, 116, 240, 0.3);
}

.btn-buy-flipkart:hover {
  background: var(--store-flipkart-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 116, 240, 0.4);
}

/* Buy on Meesho */
.btn-buy-meesho {
  background: var(--store-meesho);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 51, 151, 0.3);
}

.btn-buy-meesho:hover {
  background: var(--store-meesho-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 51, 151, 0.4);
}

/* --------------------------------------------------------------------------
   9. FEATURED PRODUCT STRIP (SPOTLIGHT BANNER)
   -------------------------------------------------------------------------- */
.featured-product-strip {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr auto;
  gap: 2.25rem;
  align-items: center;
  padding: 2rem 2.5rem;
  margin-bottom: 3.5rem;
  border-radius: var(--border-radius-lg);
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 2px solid rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.08);
  overflow: hidden;
}

.featured-product-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.featured-product-strip-img {
  width: 100%;
  height: 220px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.featured-product-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-product-strip:hover .featured-product-strip-img img {
  transform: scale(1.05);
}

.featured-product-strip-content h3 {
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  color: var(--text-color);
}

.featured-product-strip-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.featured-product-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.featured-product-strip-action {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.featured-product-strip-price {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-color);
}

/* --------------------------------------------------------------------------
   10. PRICE COMPARISON TABLE (BEST PRICE HIGHLIGHTING)
   -------------------------------------------------------------------------- */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  margin-bottom: 2.5rem;
}

.price-table th {
  background: rgba(0, 0, 0, 0.02);
  padding: 1.15rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .price-table th {
  background: rgba(255, 255, 255, 0.03);
}

.price-table-row {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.price-table-row td {
  padding: 1.25rem 1.5rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.price-table-row:last-child td {
  border-bottom: none;
}

.price-table-row:hover td {
  background-color: rgba(var(--primary-rgb), 0.03);
}

/* Best Price Highlight */
.price-table-row.best-price td {
  background-color: rgba(42, 157, 143, 0.07);
  position: relative;
}

.price-table-row.best-price:hover td {
  background-color: rgba(42, 157, 143, 0.12);
}

.price-table-row.best-price .price-table-price {
  color: var(--hub-parenting);
  font-weight: 800;
}

.best-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--hub-parenting);
  color: #ffffff;
  border-radius: 999px;
  margin-left: 0.5rem;
}

.price-table-store {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
}

.price-table-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.price-table-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

/* --------------------------------------------------------------------------
   11. PRODUCT DETAIL & SPECIFICATIONS VIEW
   -------------------------------------------------------------------------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--glass-bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-gallery-main:hover img {
  transform: scale(1.08);
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.product-gallery-thumbs .thumb-item {
  width: 76px;
  height: 76px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--card-bg);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.product-gallery-thumbs .thumb-item:hover,
.product-gallery-thumbs .thumb-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

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

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
}

.product-info-category {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.product-info h1,
.product-info-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.product-info-rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.product-info-price-box {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-info-price-main {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-color);
}

.product-info-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.product-info-buy-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Specifications Table */
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.product-specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.product-specs-table tr:last-child {
  border-bottom: none;
}

.product-specs-table th,
.product-specs-table .spec-label {
  width: 35%;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.02);
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
}

[data-theme="dark"] .product-specs-table th,
[data-theme="dark"] .product-specs-table .spec-label {
  background: rgba(255, 255, 255, 0.03);
}

.product-specs-table td,
.product-specs-table .spec-value {
  padding: 0.85rem 1.15rem;
  color: var(--text-color);
}

/* --------------------------------------------------------------------------
   12. INTERACTIVE STAR RATING & REVIEW SYSTEM
   -------------------------------------------------------------------------- */
.review-form {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  margin-bottom: 3rem;
  box-shadow: var(--glass-shadow);
}

.review-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* CSS-Only Interactive Star Rating */
.star-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 1.85rem;
}

.star-rating-input input[type="radio"] {
  display: none;
}

.star-rating-input label {
  color: var(--star-color-empty);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
  user-select: none;
  line-height: 1;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
  color: var(--star-color-active);
}

.star-rating-input label:hover {
  transform: scale(1.3) rotate(-6deg);
}

/* Reviews List & Cards */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.review-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-author {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-author .verified-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--hub-parenting);
}

.review-stars {
  color: var(--star-color-active);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-color);
}

/* --------------------------------------------------------------------------
   13. SECTION BLOG CARDS & CATEGORY TAGS
   -------------------------------------------------------------------------- */
.section-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
}

.section-blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.section-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.section-blog-card:hover .section-blog-card-img img {
  transform: scale(1.06);
}

.section-blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Category Tags */
.section-blog-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-blog-tag.tag-parenting {
  background: var(--hub-parenting-light);
  color: var(--hub-parenting);
  border: 1px solid rgba(var(--hub-parenting-rgb), 0.3);
}

.section-blog-tag.tag-fashion {
  background: var(--hub-fashion-light);
  color: var(--hub-fashion);
  border: 1px solid rgba(var(--hub-fashion-rgb), 0.3);
}

.section-blog-tag.tag-toys {
  background: var(--hub-toys-light);
  color: var(--hub-toys);
  border: 1px solid rgba(var(--hub-toys-rgb), 0.3);
}

.section-blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.section-blog-card:hover .section-blog-card-title {
  color: var(--primary-color);
}

.section-blog-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   14. AFFILIATE DISCLOSURE & TRUST CALLOUT
   -------------------------------------------------------------------------- */
.affiliate-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

[data-theme="dark"] .affiliate-notice {
  background: rgba(255, 255, 255, 0.02);
}

.affiliate-notice-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE MEDIA QUERIES (MOBILE-FIRST BREAKPOINTS)
   -------------------------------------------------------------------------- */

/* Tablet & Smaller (max-width: 768px) */
@media (max-width: 768px) {
  .section-hero {
    padding: 2.5rem 1.75rem;
    min-height: auto;
  }

  .section-hero h1,
  .section-hero-title {
    font-size: 2.1rem;
  }

  .section-hero-desc {
    font-size: 1rem;
  }

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

  .featured-product-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }

  .featured-product-strip-img {
    height: 200px;
  }

  .featured-product-strip-action {
    align-items: flex-start;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-gallery {
    position: static;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
  }

  .filter-group {
    width: 100%;
    justify-content: flex-start;
  }

  .price-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
  .section-hero {
    padding: 2rem 1.25rem;
    border-radius: var(--border-radius-md);
  }

  .section-hero h1,
  .section-hero-title {
    font-size: 1.75rem;
  }

  .section-tabs {
    padding: 0.35rem;
    gap: 0.4rem;
  }

  .section-tab-btn {
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
  }

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

  .product-card-body {
    padding: 1.15rem;
  }

  .product-card-title {
    font-size: 1.05rem;
  }

  .product-info h1,
  .product-info-title {
    font-size: 1.75rem;
  }

  .review-form {
    padding: 1.35rem;
  }

  .review-card {
    padding: 1.25rem;
  }

  .star-rating-input {
    font-size: 1.6rem;
  }

  .price-table th,
  .price-table-row td {
    padding: 0.85rem 1rem;
  }

  .price-table-price {
    font-size: 1.05rem;
  }

  .price-table-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   ARCHIVE & BLOG FILTER BAR (MATCHING OFFLINE PREMIUM SPEC)
   ========================================================================== */
.filter-section {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}

.archive-header {
  margin-bottom: 2rem;
}

.archive-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.archive-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 750px;
  line-height: 1.5;
}

.filter-controls-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  background-color: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, #f0ede6);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(41, 47, 54, 0.05);
}

.filter-dropdowns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  flex-grow: 1;
}

.filter-select-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-select-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-select {
  background-color: var(--bg-color, #FFFDF9);
  border: 1px solid var(--border-color, #eae6df);
  padding: 0.6rem 2.4rem 0.6rem 1rem;
  border-radius: 10px;
  color: var(--text-color, #292F36);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23292F36%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  min-width: 170px;
  transition: all 0.2s ease;
}

.custom-select:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.archive-search {
  width: 300px;
  position: relative;
}

.archive-search input {
  width: 100%;
  background-color: var(--bg-color, #FFFDF9);
  border: 1px solid var(--border-color, #eae6df);
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border-radius: 10px;
  color: var(--text-color, #292F36);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.archive-search input:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.archive-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.no-articles-found-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--card-bg, #ffffff);
  border-radius: 16px;
  border: 1px dashed var(--border-color, #e5e7eb);
  color: var(--text-muted);
}

.no-articles-found-msg h3 {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.reset-filter-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: #FF6B6B;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reset-filter-btn:hover {
  background: #fa5252;
}

[data-theme="dark"] .custom-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23F7F5F0%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
}

@media (max-width: 768px) {
  .filter-controls-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem;
  }
  .filter-dropdowns {
    flex-direction: column;
    width: 100%;
  }
  .custom-select {
    width: 100%;
    min-width: unset;
  }
  .archive-search {
    width: 100%;
  }
}

/* ==========================================================================
   HOMEPAGE EXPANDED SECTIONS (CARE, FASHION, TOYS, DEALS, TRUST)
   ========================================================================== */

/* Category Quick Jump Pills under Hero */
.category-quick-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.category-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 999px;
  color: var(--text-color, #292F36);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.category-quick-pill:hover {
  transform: translateY(-2px);
  border-color: #FF6B6B;
  color: #FF6B6B;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.15);
}

.category-quick-pill.pill-care:hover {
  border-color: #2a9d8f;
  color: #2a9d8f;
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.15);
}

.category-quick-pill.pill-fashion:hover {
  border-color: #e91e8c;
  color: #e91e8c;
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.15);
}

.category-quick-pill.pill-toys:hover {
  border-color: #f57421;
  color: #f57421;
  box-shadow: 0 6px 20px rgba(245, 116, 33, 0.15);
}

.category-quick-pill.pill-recipes:hover {
  border-color: #2a9d8f;
  color: #2a9d8f;
}

/* 4-Column Product Grid */
.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

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

/* Section Header Badges & Accents */
.homepage-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-color, #f0ede6);
}

.section-badge-pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.badge-care-light {
  background: rgba(42, 157, 143, 0.12);
  color: #2a9d8f;
}

.badge-fashion-light {
  background: rgba(233, 30, 140, 0.12);
  color: #e91e8c;
}

.badge-toys-light {
  background: rgba(245, 116, 33, 0.12);
  color: #f57421;
}

.badge-recipe-light {
  background: rgba(42, 157, 143, 0.12);
  color: #2a9d8f;
}

/* Fashion Hybrid Showcase Grid */
.fashion-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fashion-editorial-lead {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
}

.fashion-editorial-lead img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fashion-editorial-lead:hover img {
  transform: scale(1.04);
}

.fashion-editorial-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(41, 47, 54, 0.88) 60%, rgba(41, 47, 54, 0.98) 100%);
  color: #ffffff;
}

.fashion-editorial-overlay h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.fashion-editorial-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

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

@media (max-width: 900px) {
  .fashion-showcase-grid {
    grid-template-columns: 1fr;
  }
}

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

/* Best Deal / Featured Product Comparison Strip */
.featured-deal-banner {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(245, 116, 33, 0.06) 100%);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.featured-deal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-deal-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.featured-deal-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.featured-deal-body h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.featured-deal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.deal-stores-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.deal-store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.deal-store-pill.is-best {
  border-color: #2a9d8f;
  background: rgba(42, 157, 143, 0.08);
  color: #2a9d8f;
}

@media (max-width: 850px) {
  .featured-deal-grid {
    grid-template-columns: 1fr;
  }
  .featured-deal-banner {
    padding: 1.75rem;
  }
}

/* Trust Pillars Section */
.trust-pillars-section {
  background: var(--card-bg, #ffffff);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 0;
  margin: 3.5rem 0;
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.trust-pillar-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 14px;
  background: var(--bg-color, #FFFDF9);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.trust-pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.trust-pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.trust-pillar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

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

@media (max-width: 500px) {
  .trust-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WOOCOMMERCE BRAND INTEGRATION STYLING
   ========================================================================== */
.woocommerce-main-wrapper {
  background: var(--bg-color, #FFFDF9);
}

.woocommerce-content-area {
  margin-top: 1.5rem;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.75rem !important;
  margin: 0 0 2rem 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products:before,
.woocommerce ul.products:after {
  content: none !important;
}

.woocommerce ul.products li.product {
  background: var(--card-bg, #ffffff) !important;
  border-radius: 16px !important;
  border: 1px solid var(--border-color, #e5e7eb) !important;
  padding: 1.25rem !important;
  box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.04)) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  width: 100% !important;
  position: relative;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px var(--shadow-hover, rgba(0, 0, 0, 0.08)) !important;
}

.woocommerce span.onsale {
  background: #FF6B6B !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  padding: 0.35rem 0.85rem !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  top: 15px !important;
  left: 15px !important;
  right: auto !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--text-color, #292F36) !important;
  margin: 0.75rem 0 0.5rem !important;
  line-height: 1.35 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product .price {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #2a9d8f !important;
  margin-bottom: 1rem !important;
}

.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: #FF6B6B !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  text-align: center !important;
  transition: all 0.25s ease !important;
  margin-top: auto !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #e05353 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
}

/* Single product styling */
.woocommerce div.product .product_title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: var(--text-color, #292F36) !important;
  margin-bottom: 0.75rem !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #2a9d8f !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid var(--border-color, #e5e7eb) !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 8px 8px 0 0 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  margin: 0 4px -2px 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--card-bg, #fff) !important;
  border: 1px solid var(--border-color, #e5e7eb) !important;
  border-bottom-color: var(--card-bg, #fff) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 700 !important;
  color: var(--text-color, #292F36) !important;
}


