:root {
  --primary-purple: #8b5cf6;
  --primary-blue: #6366f1;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-beige: #fef3e2;
  --green-light: #c8ffda99;
  --green-dark: #065f46;
  --pink-light: #ffc8c899;
  --pink-dark: #be185d;
  --blue-light: #c8dbff99;
  --blue-dark: #1e40af;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --navbar-bg: #eccba2da;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* Navbar Styles */
.navbar {
  background: var(--navbar-bg) !important;
  box-shadow: 0px 4px 4px 0px #00000040;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(45, 55, 72, 0.1);
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem;
  padding-left: 0;
}

.logo-img {
  height: auto;
  width: 256px;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 992px) {
  .navbar {
    padding: 0px;
    min-height: 80px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
    min-height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
  }
  
  /* Scroll shadow effect for mobile sticky header */
  .navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .logo-img {
    height: 45px;
  }

  .navbar-toggler {
    padding: 0.5rem;
    font-size: 1.2rem;
    min-width: 44px;
    min-height: 44px; /* WCAG AA touch target */
  }
  
  .navbar-icon-link {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar-icon-img {
    width: 20px;
    height: 20px;
  }
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-right: 20px !important;
}

@media (max-width: 767.98px) {
  .navbar-nav {
    margin-right: 0 !important;
    width: auto;
  }
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-style: Medium !important;
  font-size: 16px !important;
  line-height: 120% !important;
  letter-spacing: 0.4%;
  color: black !important;
  margin: 0px !important;
  padding: 0px !important;
  min-width: auto !important;
  transition: color 0.3s ease;
}


.navbar-nav .nav-link:hover {
  color: var(--primary-purple) !important;
}

.navbar-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-icons i {
  color: var(--text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.navbar-icons i:hover {
  color: var(--primary-purple);
}

.navbar-icon-img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: block;
  object-fit: contain;
}

.navbar-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: opacity 0.3s ease;
}

.navbar-icon-link:hover {
  opacity: 0.7;
}

.navbar-icons .navbar-icon-img:hover,
.navbar-icons a:hover .navbar-icon-img {
  opacity: 0.7;
}

/* User Dropdown Styles */
.user-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.user-dropdown button {
  display: flex !important;
  align-items: center !important;
  padding: 12px !important;
}

.user-dropdown-toggle {
  background: transparent;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: opacity 0.3s ease;
}

.user-dropdown-toggle:hover {
  opacity: 0.7;
}

.user-dropdown-toggle::after {
  display: none;
}

.user-dropdown-toggle:focus {
  box-shadow: none;
}

.dropdown-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #2c2c2c;
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.user-dropdown-toggle[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  background-color: #eccaa3;
  border: 1px solid rgba(44, 44, 44, 0.1);
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 180px;
  margin-top: 12px;
  overflow: hidden;
}

.user-dropdown-menu .dropdown-item {
  color: #2c2c2c;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 20px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  border: none;
}

.user-dropdown-menu .dropdown-item i {
  font-size: 16px;
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown-menu .dropdown-item:hover {
  background-color: #eccaa3;
  color: #2c2c2c;
}

.user-dropdown-menu .dropdown-item:active {
  background-color: #eccaa3;
  color: #2c2c2c;
}

.user-dropdown-menu .dropdown-divider {
  margin: 8px 0;
  border-color: rgba(44, 44, 44, 0.1);
  opacity: 1;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 80vh;
  height: auto;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 99;
  padding: 2rem 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 110%;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.hero-title .clean,
.hero-title .verified {
  color: #6b46c1;
  font-family: 'Playfair Display', serif !important;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 120%;
  letter-spacing: -0.015em;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 160%;
  color: black;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .hero-content {
    padding-left: 5rem;
    max-width: 50%;
  }
}

.btn-primary-custom {
  background: #696dac;
  color: white;
  border: none;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  border-radius: 0.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
  /* color: white; */
}

.btn-secondary-custom {
  background-color: #696dac33;
  color: #2d3748;
  border: 2px solid #696dac;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  min-height: 48px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-secondary-custom:hover {
  background-color: white;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    justify-content: center;
  }
}

/* Feature Tags */
.feature-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 25px;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid #6e5656;
}

.feature-tag img {
  width: 20px;
  height: 20px;
}

.tag-vegan {
  background-color: var(--green-light);
  color: #6e5656;
}

.tag-cruelty-free {
  background-color: var(--pink-light);
  color: #6e5656;
}

.tag-ewg {
  background-color: var(--blue-light);
  color: #6e5656;
}

/* Hero Section Divider Effect */
.hero-section-divider {
  position: absolute;
  bottom: -80px;
  /* push further down */
  left: 0;
  width: 100%;
  height: 180px;
  /* taller = smoother blend */

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 1) 100%);

  pointer-events: none;
  z-index: 10;
}


/* Product Count Card */
.product-count-card {
  position: absolute;
  top: 3rem;
  right: 30%;
  background: white;
  padding: 1.25rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.product-count-card i {
  color: var(--green-dark);
  font-size: 1.5rem;
}

.product-count-text {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    padding: 2rem;
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-content {
    padding: 1.5rem;
    max-width: 100%;
    text-align: center;
  }

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

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .feature-tags {
    justify-content: center;
  }

  .product-count-card {
    position: static;
    margin: 2rem auto 1rem;
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    justify-content: center;
    max-width: 100%;
  }

  .feature-tag {
    font-size: 0.75rem;
    padding: 0.625rem 0.75rem;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    min-width: 0;
  }

  .feature-tag img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .product-count-card {
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
  }

  .product-count-text {
    font-size: 0.85rem;
  }
}

/* Standards Section Styles */
.standards-section {
  position: relative;
  background: #faf9f7;
  padding: 100px 0;
  overflow: hidden;
  margin-top: 0;
  /* Removed gap */
}

.standards-bg-circle {
  position: absolute;
  width: 535px;
  height: 535px;
  background: linear-gradient(196.22deg, #f0e4d5 10.21%, #d2976a 90.67%);
  filter: blur(200px);
  z-index: 0;
  opacity: 0.6;
  border-radius: 50%;
}

.circle-left {
  left: -150px;
  bottom: -150px;
}

.circle-right {
  right: -150px;
  top: -100px;
}

.standards-leaves {
  position: absolute;
  top: 50px;
  left: -50px;
  width: 340px;
  height: 236px;
  background: url('../img/golden-leaves.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.standards-container {
  position: relative;
  z-index: 1;
}

.promise-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px 20px;
  background: rgba(214, 191, 175, 0.6);
  border: 1px solid #d6bfaf;
  border-radius: 100px;
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 20px;
  line-height: 145%;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
}

.standards-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 48px;
  line-height: 125%;
  letter-spacing: -0.004em;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.standards-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 17px;
  line-height: 160%;
  color: #6e6e6e;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.standard-card {
  background: #f5f2ee;
  border: 1px solid #696dac;
  border-radius: 12px;
  padding: 23px 22px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0px 0px 6px #696dac;
  transform: translateY(-5px);
}

.standard-card:hover {
  border: 1px solid #696dac;
  box-shadow: 0px 0px 8px rgba(105, 109, 172, 0.6);
  transform: translateY(-7px);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  position: relative;
}

.icon-pink {
  background: #f5cec7;
  border: 1px solid #6e5656;
  color: #6e5656;
}

.icon-green {
  background: #d5efd3;
  border: 1px solid #566e5e;
  color: #566e5e;
}

.icon-blue {
  background: #d4d8e7;
  border: 1px solid #565a6e;
  color: #565a6e;
}

.icon-white {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #2c2c2c;
  color: #1c1b1f;
}

.standard-card h4 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 25px;
  line-height: 135%;
  color: #000000;
  margin: 0;
}

.standard-card p {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin: 0;
}

.standards-footer {
  margin-top: 4rem;
  text-align: center;
}

/* Standards Section Divider Effect */
.standards-section-divider {
  position: absolute;
  bottom: -80px;
  left: 0;
  width: 100%;
  height: 180px;

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  background: linear-gradient(to bottom,
      rgba(250, 249, 247, 0) 0%,
      rgba(250, 249, 247, 0.6) 50%,
      rgba(250, 249, 247, 1) 100%);

  pointer-events: none;
  z-index: 10;
}

.btn-standards {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  background: rgba(105, 109, 172, 0.1);
  border: 2px solid #696dac;
  border-radius: 12px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0.005em;
  color: #2c2c2c;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-standards:hover {
  background: rgba(105, 109, 172, 0.2);
  color: #2c2c2c;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .standards-section {
    padding: 60px 20px;
  }

  .standard-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .standards-bg-circle {
    width: 300px;
    height: 300px;
    filter: blur(100px);
  }

  .standards-section {
    padding: 50px 15px;
  }

  .standards-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .standards-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    padding: 0 15px;
  }

  .promise-badge {
    font-size: 16px;
    padding: 4px 16px;
  }

  .standard-card h4 {
    font-size: 22px;
  }

  .standard-card p {
    font-size: 14px;
  }

  .btn-standards {
    padding: 15px 30px;
    font-size: 16px;
  }

  .standards-leaves {
    width: 200px;
    height: 140px;
    left: -20px;
  }
}

/* Best Sellers Section Styles */
.best-sellers-section {
  position: relative;
  background: #faf9f7;
  padding: 100px 0;
  overflow: hidden;
}

.best-sellers-bg-circle {
  position: absolute;
  width: 535px;
  height: 535px;
  background: linear-gradient(196.22deg, #f0e4d5 10.21%, #d2976a 90.67%);
  filter: blur(200px);
  z-index: 0;
}

.bs-circle-left {
  left: -337px;
  bottom: 15%;
  /* Adjusted from top: 1068px relative to doc */
}

.bs-circle-right {
  right: -200px;
  bottom: -260px;
}

.bs-leaves {
  position: absolute;
  width: 342px;
  height: 235px;
  background: url('../img/golden-leaves.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  transform: rotate(-32.86deg);
  top: 50px;
  left: -100px;
  z-index: 0;
  pointer-events: none;
}

.bs-leaves-right {
  position: absolute;
  width: 306px;
  height: 212px;
  background: url('../img/golden-leaves.png') no-repeat center center;
  background-size: contain;
  opacity: 0.1;
  transform: rotate(167.96deg);
  right: -55px;
  bottom: 150px;
  z-index: 0;
  pointer-events: none;
}

.best-sellers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* Align bottom to match design */
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.best-sellers-title-group h2 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 48px;
  line-height: 125%;
  letter-spacing: -0.004em;
  color: #2c2c2c;
  margin: 0;
}

.curated-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px 15px;
  background: rgba(214, 191, 175, 0.6);
  border: 1px solid #d6bfaf;
  border-radius: 100px;
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 20px;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.btn-view-all {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  gap: 10px;
  background: rgba(105, 109, 172, 0.1);
  border: 2px solid #696dac;
  border-radius: 12px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  color: #2c2c2c;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 64px;
}

.btn-view-all:hover {
  background: #696dac;
  color: white;
}

/* =====================================================
   Shared Flower Decoration (used on all themed pages)
   ===================================================== */
.page-flower-container {
  position: relative;
  overflow: visible;
}

/* Warm color blob - Top Left */
.page-flower-container::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  left: -200px;
  top: -60px;
  background: radial-gradient(circle, #f0e0cc 0%, #d2976a 60%, transparent 100%);
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Warm color blob - Bottom Right */
.page-flower-container::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: 60px;
  background: radial-gradient(circle, #f0e0cc 0%, #d2976a 60%, transparent 100%);
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Flower image - Top Left */
.page-flower-top-left {
  position: absolute;
  top: -20px;
  left: -60px;
  width: 280px;
  height: auto;
  transform: rotate(135deg) scaleX(-1);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  filter: sepia(0.2) saturate(1.1);
}

/* Flower image - Bottom Right */
.page-flower-bottom-right {
  position: absolute;
  bottom: 430px;
  right: -147px;
  width: 300px;
  height: auto;
  transform: rotate(-60deg) scaleX(-1);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  filter: sepia(0.2) saturate(1.1);
}

/* Products page container - needed for flower positioning */
.products-page-container {
  position: relative;
  overflow: visible;
}

/* Warm color blob - Top Left (accompanies flower) */
.products-page-container::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  left: -200px;
  top: -60px;
  background: radial-gradient(circle, #f0e0cc 0%, #d2976a 60%, transparent 100%);
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Flower decoration - Top Left (below hero section) */
.products-flower-top-left {
  position: absolute;
  top: 150px;
  left: -260px;
  width: 280px;
  height: auto;
  transform: rotate(125deg) scaleX(-1);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  filter: sepia(0.2) saturate(1.1);
}

/* Warm color blob - Bottom Right (accompanies flower) */
.products-page-container::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: 60px;
  background: radial-gradient(circle, #f0e0cc 0%, #d2976a 60%, transparent 100%);
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Flower decoration - Bottom Right (of product list) */
.products-flower-bottom-right {
  position: absolute;
  bottom: 430px;
  right: -147px;
  width: 300px;
  height: auto;
  transform: rotate(-60deg) scaleX(-1);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  filter: sepia(0.2) saturate(1.1);
}

/* Updated Product Card Styles based on 8-card request */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 50px;
  position: relative;
  z-index: 1;
}

/* Best Sellers home grid — uses Bootstrap row/col for responsive tiers:
   mobile: 2 cols (col-6) | tablet: 3 cols (col-md-4) | desktop: 4 cols (col-lg-3) */
.best-sellers-grid {
  position: relative;
  z-index: 1;
}
.best-sellers-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.best-sellers-grid .product-card {
  flex: 1;
  height: 100%;
}
/* Tighter image height on small phones */
@media (max-width: 575.98px) {
  .best-sellers-grid .product-image-container {
    height: 180px;
  }
  .best-sellers-grid .product-name {
    font-size: 13px;
    /* Line clamp for mobile grid alignment */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    max-height: calc(1.2em * 2); /* Fallback for non-webkit browsers */
  }
  .best-sellers-grid .product-price {
    font-size: 13px;
  }
}
/* Comfortable image height on mid-size phones / tablets */
@media (min-width: 576px) and (max-width: 991.98px) {
  .best-sellers-grid .product-image-container {
    height: 220px;
  }
}

.product-card {
  background: #ffffff;
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.25);
  padding-bottom: 20px;
  /* More padding at bottom */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-container {
  width: 100%;
  height: 292px;
  background-color: #f0f0f0;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* For overlay */
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* Specific Placeholders since we don't have images */
.product-1 .product-image-container {
  background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.product-2 .product-image-container {
  background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
}

.product-3 .product-image-container {
  background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
}

.product-4 .product-image-container {
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.product-badge {
  position: absolute;
  top: 28px;
  right: 15px;
  background: #6F8F7A;
  border-radius: 9999px;
  padding: 5px 12px;
  color: white;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 13px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hover Overlay */
.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 10;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-add-to-cart {
  background: #696dac;
  border-radius: 8px;
  color: #faf9f7;
  font-family: 'Inter', sans-serif !important;
  padding: 16px 20px;
  width: 100%;
  min-height: 48px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

/* Content below image */
.product-details {
  padding: 15px 15px 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.product-name {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 22px;
  color: #2c2c2c;
  margin: 0;
  line-height: 1.3;
}

.price-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 18px;
  color: #2c2c2c;
  margin: 0;
}

.product-rating {
  display: flex;
  gap: 2px;
  align-items: center;
}

.star-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.star-filled {
  filter: brightness(0) saturate(100%) invert(78%) sepia(89%) saturate(1352%) hue-rotate(358deg) brightness(101%) contrast(94%);
}

.star-empty {
  filter: brightness(0) saturate(100%) invert(90%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  opacity: 0.5;
}

.star-half {
  filter: brightness(0) saturate(100%) invert(78%) sepia(89%) saturate(1352%) hue-rotate(358deg) brightness(101%) contrast(94%);
  clip-path: inset(0 50% 0 0);
}

.product-icons {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn img {
  width: 16px;
  height: 16px;
}

.icon-eco {
  background: #e3fcef;
  border: 1px solid #566e5e;
  color: #566e5e;
}

.icon-fav {
  background: #ffebe6;
  border: 1px solid #6e5656;
  color: #6e5656;
}

.icon-view {
  background: #deebff;
  border: 1px solid #565a6e;
  color: #565a6e;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.icon-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-to-cart:hover {
  background: #565a8c;
  transform: translateY(-2px);
}

.btn-add-to-cart:active {
  transform: translateY(0);
}

.product-brand {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  color: #6e6e6e;
  margin-top: 5px;
}

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

@media (max-width: 992px) {
  .best-sellers-section {
    padding: 60px 20px;
  }

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

@media (max-width: 768px) {
  .best-sellers-section {
    padding: 50px 15px;
  }

  .best-sellers-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .best-sellers-title-group h2 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .curated-badge {
    font-size: 16px;
  }

  .btn-view-all {
    padding: 15px 30px;
    font-size: 16px;
  }

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

  /* Products page: 3 per row */
  .products-grid--three-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .product-name {
    font-family: var(--font-serif), 'Playfair Display', serif !important;
    font-weight: 500;
    font-size: 22px;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.3;
    /* Line clamp for mobile grid alignment */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 2); /* Fallback for non-webkit browsers */
  }

  .product-name a {
    font-family: var(--font-serif), 'Playfair Display', serif !important;
  }

  .price-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
  }
}

/* Brand Marquee Section */
.brand-marquee-section {
  position: relative;
  height: 180px;
  background: #faf9f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Gradient Blur Overlay from design */
}

.marquee-overlay-right {
  position: absolute;
  width: 535px;
  height: 535px;
  right: -346px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(196.22deg, #f0e4d5 10.21%, #d2976a 90.67%);
  filter: blur(100px);
  /* Reduced blur slightly for performance */
  z-index: 2;
  pointer-events: none;
  opacity: 0.8;
}

.marquee-track {
  display: flex;
  gap: 107.55px;
  /* From design */
  animation: scroll 20s linear infinite;
  white-space: nowrap;
  /* Ensure we have enough items to scroll */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }

  /* Needs adjustment based on content width */
}

/* Ideally we duplicate content to make it seamless. 
             For this CSS-only approach, we'll assume the HTML duplicates the list 
             and we scroll half-way if needed, or scroll purely. 
             Better implementation: scroll from 0 to -50% if content is doubled? 
             Let's try standard marquee keyframes. */

.marquee-content {
  display: flex;
  gap: 100px;
  animation: marquee-scroll 30s linear infinite;
  padding-left: 100px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  height: 60px;
}

.brand-logo img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand-marquee-section {
    height: 120px;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-logo img {
    max-width: 120px;
  }

  .marquee-content {
    gap: 60px;
  }

  /* Product title line clamping for 2-column mobile grid */
  .product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Enhanced touch targets for mobile */
  .icon-btn {
    width: 48px;
    height: 48px;
    margin: 2px; /* Add margin for easier tapping */
  }

  .btn-add-to-cart {
    min-height: 52px;
    padding: 18px 20px;
    font-size: 16px;
  }

  .product-icons {
    gap: 12px; /* Increase gap between icon buttons */
    margin-top: 8px;
  }
}

/* Ingredient Checker Section */
.ingredient-checker-section {
  position: relative;
  background: #faf9f7;
  padding: 100px 0;
  overflow: hidden;
}

/* Ingredient Flower Background */
.ingredient-flower-bg {
  position: absolute;
  width: 300px;
  right: -50px;
  bottom: -50px;
  /* Moved further down */
  background-image: url('../img/flower.png');
  background-size: contain;
  background-repeat: no-repeat;
  height: 450px;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

/* Leaves Background (Top Left) - Reusing existing asset or if new one provided */
.ingredient-checker-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: url('../img/golden-leaves.png') no-repeat;
  background-size: contain;
  transform: rotate(180deg);
  /* Adjust rotation as needed */
  opacity: 0.1;
  z-index: 1;
}

.checker-content-wrapper {
  position: relative;
  z-index: 2;
}

.checker-text-col {
  padding-right: 50px;
}

.tool-label {
  font-family: 'Playfair Display', serif !important;
  font-size: 20px;
  color: #6e6e6e;
  margin-bottom: 10px;
}

.checker-heading {
  font-family: 'Playfair Display', serif !important;
  font-size: 48px;
  color: #2c2c2c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.checker-description {
  font-family: 'Inter', sans-serif !important;
  font-size: 18px;
  color: #6e6e6e;
  margin-bottom: 30px;
  line-height: 1.6;
}

.legend-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  color: #2c2c2c;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green {
  background-color: #2ecc71;
}

.dot-yellow {
  background-color: #f1c40f;
}

.dot-red {
  background-color: #e74c3c;
}

.btn-checker-cta {
  background: #696dac;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.btn-checker-cta:hover {
  background: #565a8c;
  color: white;
}

.ingredient-checker-card {
  display: flex;
  justify-content: flex-end;
}

/* Checker Card Mockup */
.checker-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  width: 100%;
}

.checker-card h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.checker-input-mockup {
  background: #efefef;
  border-radius: 8px;
  padding: 15px;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px;
  color: #6e6e6e;
  height: 120px;
  margin-bottom: 20px;
}

.btn-analyze {
  background: #696dac;
  color: white;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  margin-bottom: 25px;
  cursor: pointer;
}

.example-results-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 10px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  margin-bottom: 5px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px;
}

.bg-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.bg-yellow {
  background: #fff8e1;
  color: #f57f17;
}

.bg-red {
  background: #ffebee;
  color: #c62828;
}

/* Optional */

.status-badge {
  font-weight: 600;
}

@media (max-width: 992px) {
  .ingredient-checker-section {
    padding: 60px 20px;
  }

  .checker-text-col {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .legend-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .checker-card {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .ingredient-checker-section {
    padding: 50px 15px;
  }

  .checker-heading {
    font-size: clamp(28px, 6vw, 36px);
  }

  .tool-label {
    font-size: 16px;
  }

  .checker-description {
    font-size: 16px;
  }

  .btn-checker-cta {
    padding: 12px 24px;
    font-size: 15px;
  }

  .checker-card {
    padding: 20px;
  }
}

/* For Brands Section */
.for-brands-section {
  position: relative;
  background: #faf9f7;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Background Elements */
.brands-bg-ellipse-1 {
  position: absolute;
  width: 535px;
  height: 535px;
  left: -383px;
  top: -200px;
  background: linear-gradient(196.22deg, #f0e4d5 10.21%, #d2976a 90.67%);
  filter: blur(200px);
  z-index: 1;
  opacity: 0.6;
}

.brands-bg-ellipse-2 {
  position: absolute;
  width: 535px;
  height: 535px;
  right: -427px;
  bottom: 50px;
  background: linear-gradient(196.22deg, #f0e4d5 10.21%, #d2976a 90.67%);
  filter: blur(200px);
  z-index: 1;
  opacity: 0.6;
}

.brands-content-container {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1240px;
}

.brands-header {
  text-align: center;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.brands-eyebrow {
  font-family: 'Playfair Display', serif !important;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  color: #6e6e6e;
  letter-spacing: 0.002em;
}

.brands-title {
  font-family: 'Playfair Display', serif !important;
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  color: #000000;
  letter-spacing: -0.003em;
  line-height: 1.3;
}

.brands-description {
  font-family: 'Inter', sans-serif !important;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  text-align: center;
  color: #666666;
  max-width: 700px;
}

.brands-cards-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 53px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-benefit-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 22px;
  gap: 24px;
  width: 311px;
  /* Fixed width based on design */
  background: #f5f2ee;
  border: 1px solid #696dac;
  box-shadow: 0px 0px 6px rgba(105, 109, 172, 0.4);
  /* Adjusted shadow color for visibility */
  border-radius: 12px;
  flex: 1 1 300px;
  /* Allow flex shrink/grow with base */
  max-width: 350px;
}

.icon-circle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(209, 195, 179, 0.2);
  border-radius: 50%;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.benefit-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin-bottom: 20px;
}

.benefit-desc {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  color: #666666;
}

.btn-brand-apply {
  background: #696dac;
  border-radius: 12px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #faf9f7;
  text-decoration: none;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 18px;
  transition: background 0.3s;
}

.btn-brand-apply:hover {
  background: #565a8c;
  color: white;
}

@media (max-width: 992px) {
  .for-brands-section {
    padding: 60px 20px;
  }

  .brands-cards-row {
    gap: 30px;
  }

  .brand-benefit-card {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .for-brands-section {
    padding: 50px 15px;
  }

  .brands-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .brands-description {
    font-size: 16px;
  }

  .brands-cards-row {
    flex-direction: column;
    align-items: center;
  }

  .brand-benefit-card {
    width: 100%;
    max-width: 100%;
  }

  .btn-brand-apply {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* Main Footer */
.main-footer {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 0 0;
  /* Adjusted padding from 40px to 100px for consistency */
  gap: 24px;
  isolation: isolate;
  position: relative;
  /* Changed from absolute to relative for normal flow */
  background: #f5f2ee;
  border-top: 1px solid #e8e5e1;
  overflow: hidden;
}

/* Footer Background Elements */
.footer-bg-3d {
  position: absolute;
  width: 300px;
  height: 300px;
  left: -50px;
  top: 20px;
  background: url('../img/3d.png') no-repeat;
  background-size: contain;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.footer-bg-ellipse {
  position: absolute;
  width: 535px;
  height: 535px;
  right: -427px;
  top: -250px;
  background: linear-gradient(196.22deg, #f0e4d5 10.21%, #d2976a 90.67%);
  filter: blur(200px);
  z-index: 0;
  opacity: 0.6;
}

.footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* Newsletter Row */
.footer-newsletter-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 60px;
  gap: 40px;
  width: 100%;
  border-bottom: 1px solid #e8e5e1;
}

.newsletter-text h5 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  color: #000000;
  margin-bottom: 6px;
}

.newsletter-text p {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #666666;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.newsletter-input-group {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 20px;
  width: 300px;
  height: 48px;
  background: #f5f2ee;
  border: 1px solid #696dac;
  border-radius: 8px;
}

.newsletter-input-group input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  color: #696dac;
}

.newsletter-input-group input::placeholder {
  color: #696dac;
  opacity: 0.7;
}

.btn-subscribe {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  width: 120px;
  height: 48px;
  background: #696dac;
  box-shadow:
    0px 8px 24px rgba(44, 44, 44, 0.08),
    0px 4px 12px rgba(44, 44, 44, 0.1);
  border-radius: 8px;
  border: none;
  color: #f9f8f6;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}

.btn-subscribe:hover {
  background: #565a8c;
  transform: translateY(-2px);
}

/* Footer Main Grid */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  width: 100%;
}

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

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-brand-desc p {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #2c2c2c;
  margin-bottom: 12px;
  max-width: 280px;
}

.footer-nav-col h6 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #2c2c2c;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Footer Vetting & Socials */
.footer-middle-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e8e5e1;
  width: 100%;
}

.vetting-badges {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.vetting-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
  color: #2c2c2c;
}

.vetting-badge i {
  font-size: 20px;
  color: #2c2c2c;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  font-size: 24px;
  color: #2c2c2c;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #696dac;
}

/* Footer Legal Bar */
.footer-legal-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 40px;
  width: 100%;
}

.footer-copyright {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  color: #6e6e6e;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
  font-size: 12px;
  color: #6e6e6e;
  text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .main-footer {
    padding: 60px 20px 0;
  }

  .footer-newsletter-row {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input-group {
    width: 100%;
  }

  .btn-subscribe {
    width: 100%;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-middle-bar {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 50px 15px 0;
  }

  .footer-newsletter-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 0 40px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .newsletter-input-group {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .btn-subscribe {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-brand-col {
    align-items: center;
  }

  .footer-nav-list {
    align-items: center;
  }

  .vetting-badges {
    flex-direction: column;
    gap: 15px;
  }

  .footer-legal-bar {
    flex-direction: column;
    gap: 10px;
  }
}

/* =============================================================
   Responsive Modal Overrides
   Ensure .modal-dialog (and all size variants) never exceed
   95vw on small screens. Applied globally so every modal in
   the theme is covered without per-file HTML changes.
   ============================================================= */

/* WhatsApp Widget Mobile Fixes */
@media (max-width: 768px) {
  /* Add bottom padding to body to prevent WhatsApp widget from covering content */
  body {
    padding-bottom: 90px; /* WhatsApp icon height + bottom position + safety margin */
  }

  /* Shrink WhatsApp widget on mobile */
  .__floating-btn {
    bottom: 20px;
    right: 12px;
  }

  .wa-messenger-svg-whatsapp {
    width: 36px;
    height: 36px;
  }

  .wa-widget-send-button {
    width: 36px;
    height: 36px;
  }

  /* Adjust floating button group positioning */
  .floating-btn-grp {
    bottom: 20px;
    right: 12px;
  }
  
  .floating-btn-grp.has-product-details-sticky {
    bottom: 130px; /* Reduced from 150px for mobile */
  }
  
  /* Touch-friendly form elements for mobile */\n  input[type=\"text\"], \n  input[type=\"email\"], \n  input[type=\"tel\"], \n  input[type=\"password\"], \n  select, \n  textarea {\n    font-size: 16px !important; /* Prevents zoom on iOS */\n    min-height: 44px;\n  }\n  \n  /* Ensure buttons meet touch target requirements */\n  .btn, button, [role=\"button\"] {\n    min-height: 44px;\n    min-width: 44px;\n  }\n}

/* Ultra-small screens (iPhone 5/SE, older Android) */\n@media (max-width: 360px) {\n  body {\n    padding-bottom: 70px;\n  }\n\n  .container {\n    padding-left: 10px;\n    padding-right: 10px;\n  }\n  \n  .wa-messenger-svg-whatsapp {\n    width: 30px;\n    height: 30px;\n  }\n\n  .wa-widget-send-button {\n    width: 30px;\n    height: 30px;\n  }\n  \n  .__floating-btn {\n    bottom: 12px;\n    right: 8px;\n  }\n  \n  .floating-btn-grp {\n    bottom: 18px;\n    right: 8px;\n  }\n  \n  .floating-btn-grp.has-product-details-sticky {\n    bottom: 110px;\n  }\n}

@media (max-width: 480px) {
  /* Even more compact on very small screens */
  body {
    padding-bottom: 80px;
  }

  .__floating-btn {
    bottom: 15px;
    right: 10px;
  }

  .wa-messenger-svg-whatsapp {
    width: 32px;
    height: 32px;
  }

  .wa-widget-send-button {
    width: 32px;
    height: 32px;
  }

  .floating-btn-grp {
    bottom: 15px;
    right: 10px;
  }
}

/* All viewport sizes: honour the 95vw cap as a safety net */
.modal-dialog {
  max-width: min(var(--modal-max-w, 500px), 95vw);
  width: 95vw;
  margin-left: auto;
  margin-right: auto;
}

/* Restore Bootstrap's intended widths above 576px, with 95vw cap */
@media (min-width: 576px) {
  .modal-dialog          { --modal-max-w: 500px; width: auto; }
  .modal-dialog.modal-sm { --modal-max-w: 300px; }
  .modal-dialog.modal-md { --modal-max-w: 500px; }
}

@media (min-width: 768px) {
  .modal-dialog          { --modal-max-w: 500px; }
  .modal-dialog.modal-lg { --modal-max-w: 800px; }
}

@media (min-width: 992px) {
  .modal-dialog.modal-xl { --modal-max-w: 1140px; }
}

/* Below 576px: hard cap at 95vw for every modal size variant */
@media (max-width: 575.98px) {
  .modal-dialog,
  .modal-dialog.modal-sm,
  .modal-dialog.modal-md,
  .modal-dialog.modal-lg,
  .modal-dialog.modal-xl {
    width: 95vw !important;
    max-width: 95vw !important;
    margin: 0.5rem auto !important;
  }

  /* Newsletter mobile optimization for very small screens */
  .footer-newsletter-row {
    padding: 0 0 30px;
    gap: 16px;
  }

  .newsletter-form {
    gap: 12px;
    padding: 0 10px;
  }

  .newsletter-input-group {
    padding: 12px 16px;
    height: 52px;
  }

  .newsletter-input-group input {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .btn-subscribe {
    padding: 12px 20px;
    height: 52px;
    font-size: 16px;
  }

  /* Maximum touch-friendly targets for small mobile */
  .icon-btn {
    width: 50px;
    height: 50px;
    margin: 4px;
  }
  
  .btn-add-to-cart {
    min-height: 56px;
    padding: 20px;
    font-size: 16px;
  }

  .product-icons {
    gap: 16px;
    justify-content: center;
  }

  /* Prevent modal-content from overflowing horizontally */
  .modal-content {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Make scrollable modal bodies work on small screens */
  .modal-dialog-scrollable .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Ensure form elements inside modals don't overflow */
  .modal-body input,
  .modal-body select,
  .modal-body textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ========== COMPREHENSIVE RESPONSIVE DESIGN ========== */

/* Extra Small Devices (iPhone 5/SE, Galaxy S, etc.) */
@media (max-width: 360px) {
  .navbar {
    padding: 8px 12px;
    min-height: 60px;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .navbar-icons i {
    font-size: 18px;
  }
  
  .feature-tags {
    gap: 0.5rem;
  }
  
  .newsletter-section {
    padding: 20px 15px;
  }
  
  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* Small Mobile Devices (iPhone 6/7/8, Galaxy A series) */
@media (max-width: 414px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .navbar-brand {
    padding: 0.25rem;
  }
  
  .feature-tags .feature-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .hero-title-shop {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .hero-subtitle-shop {
    font-size: 14px;
  }
}

/* Medium Mobile Devices (iPhone X/11/12/13, Samsung S series) */
@media (max-width: 428px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-card {
    padding: 12px;
  }
  
  .newsletter-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Tablet Portrait (iPad, Android tablets) */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    padding: 12px 20px;
    min-height: 75px;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .feature-tags {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .newsletter-section {
    padding: 40px 30px;
  }
}

/* Large Tablets (iPad Pro, Surface) */
@media (min-width: 1024px) and (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .feature-tags {
    gap: 2rem;
  }
}

/* Mobile Cart Slide-Out Drawer */
@media (max-width: 768px) {
  /* Hide default cart dropdown on mobile */
  .cart-dropdown {
    display: none !important;
  }
  
  /* Mobile cart drawer overlay */
  .mobile-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .mobile-cart-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Mobile cart drawer */
  .mobile-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  }
}

/* Extra small screens - adjust cart drawer */
@media (max-width: 360px) {
  .mobile-cart-drawer {
    width: 95%;
  }
  
  .mobile-cart-header {
    padding: 12px 16px;
  }
  
  .mobile-cart-title {
    font-size: 16px;
  }
  
  .mobile-cart-close {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .mobile-cart-body {
    padding: 12px 16px;
  }
  
  .mobile-cart-footer {
    padding: 12px 16px;
  }
  
  .mobile-cart-checkout {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .mobile-cart-drawer.active {
    transform: translateX(0);
  }
  
  /* Cart drawer header */
  .mobile-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    flex-shrink: 0;
  }
  
  .mobile-cart-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .mobile-cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: #6c757d;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
  }
  
  .mobile-cart-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #2c2c2c;
  }
  
  /* Cart drawer body */
  .mobile-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
  }
  
  /* Cart drawer footer */
  .mobile-cart-footer {
    padding: 16px 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    flex-shrink: 0;
  }
  
  /* Mobile cart items styling */
  .mobile-cart-drawer .widget-cart-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .mobile-cart-drawer .widget-cart-item:last-child {
    border-bottom: none;
  }
  
  .mobile-cart-drawer .widget-cart-item .media {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  
  .mobile-cart-drawer .widget-cart-item .media img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
  }
  
  /* Mobile checkout button */
  .mobile-cart-checkout {
    width: 100%;
    padding: 14px 20px;
    background: #696dac;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: background 0.2s ease;
    margin-top: 12px;
  }
  
  .mobile-cart-checkout:hover {
    background: #565a8c;
    color: white;
    text-decoration: none;
  }
  
  /* Cart total in drawer */
  .mobile-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
  }
  
  /* Empty cart state */
  .mobile-cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
  }
  
  .mobile-cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
  }
}

/* ========== DEVICE-SPECIFIC OPTIMIZATIONS ========== */

/* iPhone 6/7/8 */\n@media (max-width: 375px) {\n  .hero-title-shop {\n    font-size: 32px;\n  }\n  \n  .newsletter-section {\n    padding: 25px 18px;\n  }\n  \n  .products-grid {\n    gap: 10px;\n  }\n}\n\n/* iPhone 6/7/8 Plus */\n@media (max-width: 414px) {\n  .mobile-cart-drawer {\n    width: 88%;\n  }\n}\n\n/* iPhone X/XS/XR and similar */\n@media (max-width: 428px) and (min-height: 800px) {\n  /* Account for notch and safe areas */\n  .navbar {\n    padding-top: max(10px, env(safe-area-inset-top));\n  }\n  \n  .mobile-cart-drawer {\n    padding-top: max(0px, env(safe-area-inset-top));\n  }\n}\n\n/* Landscape phone optimization */\n@media (max-height: 500px) and (orientation: landscape) {\n  .navbar {\n    min-height: 50px;\n    padding: 5px 15px;\n  }\n  \n  .logo-img {\n    height: 35px;\n  }\n  \n  .mobile-cart-drawer {\n    width: 60%;\n    max-width: 300px;\n  }\n  \n  .hero-section {\n    padding: 20px 0;\n  }\n  \n  .hero-title-shop {\n    font-size: 28px;\n  }\n}\n\n/* iPad Mini and similar small tablets */\n@media (min-width: 768px) and (max-width: 834px) {\n  .products-grid {\n    grid-template-columns: repeat(3, 1fr);\n    gap: 18px;\n  }\n  \n  .mobile-cart-drawer {\n    width: 50%;\n    max-width: 400px;\n  }\n}\n\n/* iPad Pro and large tablets */\n@media (min-width: 1024px) and (max-width: 1366px) {\n  .container {\n    max-width: 1200px;\n  }\n  \n  .products-grid {\n    grid-template-columns: repeat(4, 1fr);\n    gap: 24px;\n  }\n}\n\n/* High DPI displays */\n@media (-webkit-min-device-pixel-ratio: 2) {\n  .logo-img,\n  .navbar-icon-img {\n    image-rendering: -webkit-optimize-contrast;\n  }\n}\n\n/* Ensure accessibility for high contrast mode */\n@media (prefers-contrast: high) {\n  .mobile-cart-drawer {\n    border: 2px solid;\n  }\n  \n  .navbar {\n    border-bottom: 2px solid;\n  }\n}\n\n/* Respect reduced motion preferences */\n@media (prefers-reduced-motion: reduce) {\n  .mobile-cart-drawer,\n  .mobile-cart-overlay,\n  .navbar {\n    transition: none !important;\n  }\n  \n  .mobile-product-image {\n    transition: none !important;\n  }\n}