:root {
  --primary: #86AEA1;
  /* Sage */
  --secondary: #0C3D42;
  /* Deep Teal */
  --accent: #D97A5E;
  /* Terracotta */
  --highlight: #E4B861;
  /* Honey */
  --light: #F7F3EB;
  /* Cream */
  --mint: #DDE9E1;
  /* Mint */
  --text-dark: #0C3D42;
  /* Deep Teal */
  --text-light: #F7F3EB;
  --footer-bg: #0C3D42;
  /* Deep Teal */
  --font-main: 'Lato', sans-serif;
  --font-display: 'Baloo 2', cursive;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--text-dark);
  overflow-x: hidden;
  width: 100% !important;
  position: relative;
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
}

.brand {
  font-size: 2.2rem;
  letter-spacing: -1px;
  color: var(--primary);
  /* Changed to primary color for white header */
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: transparent !important;
  padding: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}

.brand img {
  height: 65px;
  /* Increased from 50px */
  display: block;
}

.brand span {
  font-weight: 700;
  margin-top: -4px;
  /* Tiny adjustment for baseline alignment with logo */
}

@media (max-width: 480px) {
  .brand img {
    height: 40px;
  }

  header {
    padding: 0.6rem 3% !important;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* Navbar */
header {
  background-color: white !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.desktop-nav a:hover,
.desktop-nav a.active-link {
  color: var(--primary);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

/* Conscious Capitalism Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(255, 255, 255, 0.95);
  min-width: 260px;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 15px 40px rgba(12, 61, 66, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1200;
  border: 1.5px solid rgba(134, 174, 161, 0.15);
  backdrop-filter: blur(15px);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 18px !important;
  color: var(--secondary) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem !important;
  border-radius: 12px;
  transition: all 0.3s ease !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  position: relative;
  background: transparent !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--mint) !important;
  color: var(--secondary) !important;
  padding-left: 22px !important;
  transform: translateX(5px);
}

.dropdown-menu a i {
  font-size: 1.1rem;
  color: var(--primary);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(134, 174, 161, 0.1);
  border-radius: 8px;
}

/* Highlight Animation for Breakdown Button */
@keyframes highlight-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 122, 94, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(217, 122, 94, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 122, 94, 0);
  }
}

.highlight-pulse {
  animation: highlight-pulse 1.5s infinite !important;
  background: var(--accent) !important;
  color: white !important;
  z-index: 1000;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
}

/* Simplified header states since it's always white */
header.header-scrolled {
  padding: 0.7rem 5%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
  }

  header #mobileMenuBtn {
    justify-self: start;
  }

  header .brand {
    justify-self: center;
    margin: 0 auto;
  }

  header div:last-child {
    justify-self: end;
  }
}

header.header-light .brand {
  color: #3E2723 !important;
  /* Deep Chocolate Brown */
}

header.header-light .icon-btn:not(.yellow) {
  background: #f5f5f5 !important;
  color: #3E2723 !important;
}

.icon-btn {
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(12, 61, 66, 0.08);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* User/Profile Icon - Deep Teal Theme */
#userIcon {
  color: var(--secondary);
  background: rgba(12, 61, 66, 0.05);
}

/* Order/Box Icon - Honey Theme */
.icon-btn[onclick*="handleOrderIconClick"] {
  color: var(--highlight);
  background: rgba(228, 184, 97, 0.1);
}

/* Cart Icon - Terracotta Theme */
.icon-btn.yellow {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(217, 122, 94, 0.3);
}

.icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(12, 61, 66, 0.12);
}

.icon-btn.yellow:hover {
  box-shadow: 0 8px 20px rgba(217, 122, 94, 0.4);
}

/* Cart Badge Styling */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary) !important;
  color: white !important;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Wavy Dividers using SVG */
/* 
  Path for down-scallop: M0,0 A30,30 0 0,0 60,0 Z
  Sweep flag 0 goes counter-clockwise, which from (0,0) to (60,0) goes down to y=30.
*/
.scallop-down {
  width: 100%;
  height: 31px;
  /* Increased by 1px for overlap */
  background-repeat: repeat-x;
  background-size: 60px 30px;
  position: absolute;
  top: -1px;
  /* Slight overlap to prevent gap */
  left: 0;
  z-index: 10;
  animation: waveMove 3s linear infinite;
}

/* 
  Path for up-scallop: M0,30 A30,30 0 0,1 60,30 Z 
  From (0,30) to (60,30) with positive sweep goes up to y=0.
*/

.products-grid:empty {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 250, 244, 0.5);
  border-radius: 30px;
  border: 1px dashed #ddd;
}

.products-grid:empty::before {
  content: "Preparing the Finest Treats!";
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.products-grid:empty::after {
  content: "Our artisans are currently crafting fresh batches of your favorites. Please check back with us soon!";
  display: block;
  color: #666;
  font-size: 1.1rem;
  max-width: 500px;
  line-height: 1.6;
}

.scallop-up {
  width: 100%;
  height: 31px;
  /* Increased by 1px for overlap */
  background-repeat: repeat-x;
  background-size: 60px 30px;
  position: absolute;
  top: -30px;
  margin-top: 1px;
  /* Ensure 1px overlap into the section below */
  left: 0;
  z-index: 10;
  animation: waveMove 3s linear infinite;
}

@keyframes waveMove {
  from {
    background-position-x: 0;
  }

  to {
    background-position-x: 60px;
  }
}

.bg-brown-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='%2386AEA1'/%3E%3C/svg%3E");
}

.bg-burgundy-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='%230C3D42'/%3E%3C/svg%3E");
}

.bg-yellow-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='%23E4B861'/%3E%3C/svg%3E");
}

.bg-brown-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='%2386AEA1'/%3E%3C/svg%3E");
}

.bg-footer-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='%230C3D42'/%3E%3C/svg%3E");
}

.bg-yellow-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='%23E4B861'/%3E%3C/svg%3E");
}

.bg-dark-green-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='%230C3D42'/%3E%3C/svg%3E");
}

.bg-dark-green-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='%230C3D42'/%3E%3C/svg%3E");
}

.bg-sage-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='%2386AEA1'/%3E%3C/svg%3E");
}

.bg-sage-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='%2386AEA1'/%3E%3C/svg%3E");
}

.bg-light-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='%23F7F3EB'/%3E%3C/svg%3E");
}



/* Video Scallops */
.video-scallop {
  width: 100%;
  height: 30px;
  position: absolute;
  left: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none;
}

.video-scallop.scallop-down {
  top: 0;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='black'/%3E%3C/svg%3E");
  mask-repeat: repeat-x;
  -webkit-mask-repeat: repeat-x;
  mask-size: 60px 30px;
  -webkit-mask-size: 60px 30px;
}

.video-scallop.scallop-up {
  top: -30px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='black'/%3E%3C/svg%3E");
  mask-repeat: repeat-x;
  -webkit-mask-repeat: repeat-x;
  mask-size: 60px 30px;
  -webkit-mask-size: 60px 30px;
}

.video-scallop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}

/* ===== HERO – Premium Split Layout ===== */
.hero-video-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 750px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;

  /* Smooth Wavy bottom mask */
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,60 Q1080,120 720,60 T0,60 Z' fill='black'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  -webkit-mask-size: 1440px 60px, 100% calc(100% - 59px);
  -webkit-mask-position: 0 bottom, 0 top;
  -webkit-mask-repeat: repeat-x, no-repeat;
  mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,60 Q1080,120 720,60 T0,60 Z' fill='black'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  mask-size: 1440px 60px, 100% calc(100% - 59px);
  mask-position: 0 bottom, 0 top;
  mask-repeat: repeat-x, no-repeat;
  animation: waveScroll 25s linear infinite;
}

@media (max-width: 768px) {
  .hero-video-section {
    -webkit-mask-size: 1440px 40px, 100% calc(100% - 39px);
    mask-size: 1440px 40px, 100% calc(100% - 39px);
  }
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(10, 4, 0, 0.88) 0%,
      rgba(40, 10, 5, 0.65) 45%,
      rgba(10, 4, 0, 0.15) 100%);
  z-index: 1;
}

/* --- Hero Content (main left panel) --- */
.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: flex-start;
  /* Changed from center to flex-start for safe centering */
  justify-content: center;
  /* Centered for all screens */
  padding: 0 7%;
  padding-top: var(--header-h, 120px);
  /* increased base buffer */
  padding-bottom: 80px;
  /* increased bottom padding to avoid overlap with trust strip */
}

.hero-left {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centered */
  text-align: center;
  /* Centered */
  margin-top: auto;
  margin-bottom: auto;
}

/* Eyebrow / Tagline above title */
.hero-eyebrow {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 6px;
  opacity: 0;
  animation: heroFadeInDown 0.8s forwards 0.2s;
}

/* Main title – huge serif stacked */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 25px;
  text-align: center;
  /* Centered */
  opacity: 0;
  animation: heroFadeInUp 1s forwards 0.4s;
}

.accent-text {
  background: linear-gradient(90deg, #fff 0%, var(--accent) 45%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
  display: inline-block;
}

.hero-title .accent-text {
  display: block;
}

@media (min-width: 769px) {

  .hero-title .accent-text,
  .nowrap-desktop {
    white-space: nowrap;
  }
}

/* Row: circular seal + subtitle text */
.hero-mid-row {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Centered */
  gap: 22px;
  margin-bottom: 38px;
  opacity: 0;
  animation: heroFadeInUp 1s forwards 0.7s;
}

/* SVG Circular Seal */
.hero-seal {
  flex-shrink: 0;
}

.seal-svg {
  width: 90px;
  height: 90px;
}

.hero-subtitle {
  font-size: 1.0rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  border-top: 1px solid var(--accent);
  padding-top: 12px;
  text-align: center;
}

/* CTA Buttons */
.hero-btns {
  display: flex;
  justify-content: center;
  /* Centered */
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: heroFadeInUp 1s forwards 1s;
}

.hero-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(117, 3, 3, 0.5);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-primary-btn:hover {
  background: #a00;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(117, 3, 3, 0.6);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-3px);
}

/* --- Trust Badge Strip at Bottom --- */
.hero-trust-strip {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 18px 6% 45px;
  /* Increased bottom padding for scallop mask */
  flex-shrink: 0;
  overflow: hidden;
}

.trust-strip-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 6px 24px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.trust-badge-item i {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-badge-item span {
  color: rgba(255, 255, 255, 0.75);
}

.trust-badge-item span strong {
  display: block;
  color: #fff;
  font-size: 0.87rem;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.mobile-clone {
  display: none !important;
}

/* Highlighted count badge */
.trust-badge-item--highlight {
  background: rgba(212, 175, 55, 0.12);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 20px;
}

.trust-count-wrap {
  text-align: center;
}

.trust-count {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.trust-count-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.trust-stars {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 3px;
  letter-spacing: 1px;
}

/* --- Keyframes --- */
@keyframes heroFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes waveScroll {
  from {
    -webkit-mask-position: 0 bottom, 0 top;
    mask-position: 0 bottom, 0 top;
  }

  to {
    -webkit-mask-position: -1440px bottom, 0 top;
    mask-position: -1440px bottom, 0 top;
  }
}

/* Desktop Extension for zoom & large screens */
@media (min-width: 1200px) {
  .hero-video-section {
    min-height: 850px;
    /* Give it even more height on large desktops */
  }

  .hero-content {
    padding-top: calc(var(--header-h, 120px) + 40px);
  }
}

/* --- Mobile Responsive: <= 768px --- */
@media (max-width: 768px) {
  .hero-video-section {
    height: auto;
    min-height: max(100svh, 680px);
  }

  .hero-content {
    padding: 0 5%;
    padding-top: calc(var(--header-h, 90px) + 40px);
    /* Extra padding for mobile header */
    align-items: flex-start;
    /* Changed from center to flex-start for safe centering */
    justify-content: center;
  }

  .hero-left {
    align-items: center;
    text-align: center;
    margin-top: 0;
    /* Force top alignment below padding */
    margin-bottom: auto;
  }

  .hero-title {
    font-size: clamp(2.1rem, 15vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 20px;
    text-align: center;
    /* Force center on mobile */
  }

  .hero-mid-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* Center on mobile */
    gap: 14px;
    margin-bottom: 26px;
  }

  .seal-svg {
    width: 70px;
    height: 70px;
  }

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

  .hero-btns {
    justify-content: center;
    /* Center on mobile */
    gap: 12px;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }

  .trust-divider--hide-mobile,
  .trust-badge-item--hide-mobile {
    display: none;
  }

  .hero-trust-strip {
    margin-top: 40px;
    padding: 14px 0 40px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  }

  .trust-strip-track {
    width: max-content;
    justify-content: flex-start;
    animation: trust-marquee 25s linear infinite;
  }

  .trust-strip-track:hover {
    animation-play-state: paused;
  }

  .trust-badge-item {
    padding: 4px 15px;
    font-size: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .trust-badge-item i {
    font-size: 1.1rem;
  }

  .mobile-clone {
    display: flex !important;
  }

  .trust-divider.mobile-clone {
    display: block !important;
  }
}

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

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

@media (max-width: 480px) {
  .hero-content {
    text-align: center;
    align-items: flex-start;
    /* Changed from center to flex-start for safe centering */
    justify-content: center;
    padding: 0 4%;
    padding-top: calc(var(--header-h, 90px) + 40px);
  }

  .hero-title {
    font-size: clamp(2.1rem, 15vw, 2.8rem);
    text-align: center;
  }

  .hero-mid-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 30px;
  }

  .hero-subtitle {
    border-left: none;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    padding-left: 0;
    padding-top: 15px;
    font-size: 0.95rem;
    max-width: 280px;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

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

  .hero-trust-strip {
    justify-content: center;
    /* ALIGN CENTER AS REQUESTED */
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 15px 5% 55px;
    gap: 20px;
    scrollbar-width: none;
    text-align: center;
  }

  .hero-trust-strip::-webkit-scrollbar {
    display: none;
  }

  .trust-badge-item {
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    /* Center icon and text */
    text-align: center;
    gap: 4px;
    padding: 0;
    min-width: 90px;
  }

  .trust-badge-item i {
    font-size: 1.1rem;
  }

  .trust-badge-item span {
    font-size: 0.65rem;
  }

  .trust-badge-item span strong {
    font-size: 0.72rem;
  }
}

/* Legacy shared button classes (used in other sections) */
.primary-btn {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.secondary-btn {
  background-color: transparent;
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-5px);
}

/* --- Transparency Section (Premium Design) --- */
.transparency-section {
  background-color: #FDF8F0;
  padding: 6rem 5% 4rem;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.transparency-content-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.transparency-left {
  flex: 0 0 58%;
  /* Achieves roughly the 60/40 split considering the gap */
  position: relative;
  text-align: left;
  /* Explicitly forces internal text alignment to left edge */
}

.transparency-header {
  margin-bottom: 40px;
  position: relative;
}

.transparency-promise-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9fa36d;
  color: #9fa36d;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.transparency-promise-badge i {
  font-size: 1.1rem;
}

.circular-stamp {
  position: absolute;
  top: 0;
  right: -80px;
  width: 100px;
  height: 100px;
  animation: spin 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.t-seal-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stamp-icon {
  font-size: 2rem;
  color: #253a29;
}

.t-section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: #1c392c;
  margin-bottom: 20px;
}

.t-section-title .t-dark {
  color: #1c392c;
}

.t-section-title .t-gold {
  color: #cca75e;
}

.t-section-subtitle {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.6;
  max-width: 550px;
}

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

.t-faq-card:hover {
  background: #254a3a !important;
  /* Slightly lighter on hover */
  transform: translateY(-5px);
}

.t-faq-card .t-card-link:hover {
  color: white !important;
}

.t-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 20px;
  border: 1px solid rgb(204 167 94 / 68%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  text-align: center;
  /* Guideline 4: Center text */
}

.t-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: rgba(204, 167, 94, 0.3);
}

.t-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(28, 57, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  /* Guideline 4: Center icon */
}

.t-icon-box i {
  font-size: 1.8rem;
  color: #1c392c;
}

.t-card h4 {
  color: #1c392c;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.t-card p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Right side - Image */
.transparency-right {
  flex: 0 0 38%;
  /* 40% of the 60/40 split approximation */
  display: flex;
  justify-content: center;
  align-items: center;
}

.t-bottle-img {
  width: 100%;
  max-width: 500px;
  /* Adjusted down from 800px to reduce the bottle size */
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.05) brightness(1.02);
  /* Slight pop to keep it looking crisp */
}

/* Bottom Strip */
.t-bottom-strip-wrap {
  width: 100%;
  max-width: 1300px;
  /* Guideline 5: Same max-width */
  margin: 60px auto 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.t-bottom-strip {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.t-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 25px 30px;
  flex: 1;
}

.t-strip-item i {
  font-size: 1.5rem;
  color: #cca75e;
  /* Gold color for default icons */
}

.t-strip-item i.ph-shield-check {
  color: #9fa36d;
}

.t-strip-text {
  display: flex;
  flex-direction: column;
}

.t-strip-text span {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.t-strip-text strong {
  font-size: 0.9rem;
  color: #1c392c;
  line-height: 1.2;
}

.t-strip-divider {
  width: 1px;
  background: #eee;
  margin: 15px 0;
}

.t-strip-highlight {
  background: #1c392c;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  min-width: 300px;
}

.t-strip-highlight i {
  font-size: 2rem;
  color: #cca75e;
}

.t-strip-highlight p {
  font-size: 0.95rem;
  line-height: 1.3;
}

.t-strip-highlight strong {
  color: #cca75e;
}

@media (max-width: 1100px) {
  .transparency-content-wrap {
    flex-direction: column;
  }

  .transparency-left {
    max-width: 100%;
    text-align: center;
    /* Override left align for mobile stack */
  }

  .t-section-subtitle {
    margin: 0 auto;
    /* Ensures the max-width block is centered */
  }

  .circular-stamp {
    display: none;
  }

  .t-bottom-strip {
    flex-wrap: wrap;
  }

  .t-strip-item {
    min-width: 200px;
  }

  .t-strip-highlight {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .transparency-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .transparency-content-wrap {
    position: relative;
  }

  .transparency-right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .t-bottle-img {
    height: 120%;
    width: auto;
    object-fit: contain;
    filter: blur(2px) contrast(1.1);
  }

  .transparency-left {
    position: relative;
    z-index: 2;
  }

  .t-card {
    padding: 20px 12px;
    background: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgb(204 167 94 / 68%);
  }

  .t-icon-box {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .t-icon-box i {
    font-size: 1.4rem;
  }

  .t-card h4 {
    font-size: 0.95rem;
  }

  .t-card p {
    font-size: 0.78rem;
  }

  .t-section-title {
    font-size: 2.5rem;
  }

  .t-bottom-strip-wrap {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.47);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .t-strip-item i,
  .t-strip-text,
  .t-strip-highlight i,
  .t-strip-highlight p {
    position: relative;
    z-index: 10;
  }

  /* Create premium 2x2 grid for strip items */
  .t-strip-item {
    flex: 0 0 50%;
    /* 50% width blocks */
    min-width: 0;
    /* Override the 200px min-width from 1100px breakpoint */
    flex-direction: column;
    /* Stack icon above text */
    justify-content: center;
    text-align: center;
    padding: 25px 15px;
  }

  /* Apply clean borders for the 2x2 layout */
  .t-strip-item:nth-child(1),
  .t-strip-item:nth-child(3) {
    border-bottom: 1px solid #eee;
  }

  .t-strip-item:nth-child(1),
  .t-strip-item:nth-child(5) {
    border-right: 1px solid #f2f2f2;
  }

  .t-strip-divider {
    display: none;
  }

  .t-strip-highlight {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 10px;
  }
}

/* The Journey Section */
.journey-section {
  position: relative;
  background: transparent;
  overflow: clip;
  /* Modern way to contain fixed elements */
  z-index: 5;
}

.journey-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  clip-path: inset(0);
  /* Creates the "window" effect */
}

.journey-bg-video {
  position: fixed;
  /* Locked to viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
  z-index: -1;
}

.journey-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(12, 61, 66, 0.8) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(12, 61, 66, 0.8) 100%);
  z-index: 2;
}

.journey-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12rem 5%;
}

.journey-header {
  text-align: center;
  margin-bottom: 8rem;
}

.journey-eyebrow {
  display: block;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--highlight);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.journey-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  color: white;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.journey-line {
  width: 100px;
  height: 4px;
  background: var(--highlight);
  margin: 25px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(228, 184, 97, 0.4);
}

/* Roadmap Wrapper */
.roadmap-wrapper {
  position: relative;
  padding: 4rem 0;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(228, 184, 97, 0.2);
  transform: translateX(-50%);
}

/* Roadmap Steps */
.roadmap-step {
  position: relative;
  width: 50%;
  padding: 2rem 4rem;
  margin-bottom: 4rem;
  box-sizing: border-box;
}

.roadmap-step.reveal-left {
  left: 0;
  text-align: right;
}

.roadmap-step.reveal-right {
  left: 50%;
  text-align: left;
}

.step-dot {
  position: absolute;
  top: 2rem;
  width: 44px;
  height: 44px;
  background: var(--highlight);
  color: #253a29;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(228, 184, 97, 0.2), 0 0 25px rgba(228, 184, 97, 0.5);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.roadmap-step.active .step-dot {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0px rgba(228, 184, 97, 0.6), 0 0 20px rgba(228, 184, 97, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(228, 184, 97, 0), 0 0 30px rgba(228, 184, 97, 0.6);
  }

  100% {
    box-shadow: 0 0 0 0px rgba(228, 184, 97, 0), 0 0 20px rgba(228, 184, 97, 0.4);
  }
}

.roadmap-step.reveal-left .step-dot {
  right: -22px;
}

.roadmap-step.reveal-right .step-dot {
  left: -22px;
}

.step-content {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform: scale(0.95);
  opacity: 0;
  filter: blur(10px);
}

.roadmap-step.active .step-content {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}

.roadmap-step:hover .step-content {
  transform: translateY(-5px);
  border-color: rgba(228, 184, 97, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.step-icon {
  width: 50px;
  height: 50px;
  background: rgba(228, 184, 97, 0.15);
  color: var(--highlight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.roadmap-step.reveal-left .step-icon {
  margin-left: auto;
}

.step-content p {
  color: white;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  opacity: 0.9;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .journey-section {
    padding: 5rem 0 8rem;
  }

  .journey-container {
    padding: 0 15px;
  }

  .journey-header {
    margin-bottom: 5rem;
  }

  .journey-title {
    font-size: 2.5rem;
  }

  .journey-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
  }

  .roadmap-wrapper {
    padding: 2rem 0;
  }

  .roadmap-line {
    left: 20px;
    opacity: 0.3;
  }

  .roadmap-step {
    width: 100%;
    left: 0 !important;
    padding: 0 0 3.5rem 55px;
    text-align: left !important;
  }

  .roadmap-step.reveal-left .step-dot,
  .roadmap-step.reveal-right .step-dot {
    left: -2px;
    right: auto;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    top: 0;
  }

  .roadmap-step.reveal-left .step-icon {
    margin-left: 0;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .step-content {
    padding: 1.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
  }

  .step-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
    /* Transition to vertical slide for mobile */
  }

  .reveal-left.active,
  .reveal-right.active {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .journey-title {
    font-size: 2.2rem;
  }

  .step-content {
    padding: 1.5rem;
  }
}

/* Transparency Section */
.transparency-section {
  padding: 100px 5%;
  background-color: var(--light);
  text-align: center;
  position: relative;
}

.container--narrow {
  max-width: 1100px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--mint);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--secondary);
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 650px;
  margin: 0 auto 50px;
}

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

.transparency-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(134, 174, 161, 0.1);
  box-shadow: 0 10px 30px rgba(12, 61, 66, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.transparency-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(12, 61, 66, 0.08);
  border-color: var(--primary);
}

.card-icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--mint);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--secondary);
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.transparency-card:hover .card-icon-wrap {
  background: var(--secondary);
  color: white;
  transform: rotate(-5deg) scale(1.1);
}

.transparency-card h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.transparency-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

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

  .transparency-section {
    padding: 70px 5%;
  }

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

/* Comparison Section */
.comparison-section {
  padding: 100px 5% 120px;
  background: linear-gradient(to bottom, #ffffff 0%, var(--light) 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Blobs for premium feel */
.comparison-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(134, 174, 161, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: floatBlob 10s infinite alternate ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.comparison-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(228, 184, 97, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: floatBlob 12s infinite alternate-reverse ease-in-out;
  z-index: 0;
  pointer-events: none;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 50px) scale(1.05);
  }
}

/* Decorative Organic Elements */
.comp-decor-leaf {
  position: absolute;
  color: var(--primary);
  opacity: 0.12;
  font-size: 4rem;
  z-index: 1;
  pointer-events: none;
  filter: blur(2px);
  animation: floatLeaf 8s ease-in-out infinite alternate;
  animation-delay: var(--float-del);
}

.comp-leaf-1 {
  top: 12%;
  left: 3%;
  font-size: 8rem;
}

.comp-leaf-2 {
  top: 35%;
  right: 4%;
  font-size: 6rem;
  opacity: 0.08;
}

.comp-leaf-3 {
  top: 70%;
  left: 8%;
  font-size: 10rem;
  color: var(--accent);
  opacity: 0.06;
  filter: blur(4px);
}

.comp-leaf-4 {
  top: 85%;
  right: 10%;
  font-size: 5rem;
}

.comp-leaf-5 {
  top: 8%;
  right: 25%;
  font-size: 4rem;
  opacity: 0.1;
}

@keyframes floatLeaf {
  0% {
    transform: translateY(0) rotate(var(--rot));
  }

  100% {
    transform: translateY(-40px) rotate(calc(var(--rot) + 20deg));
  }
}

.comparison-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.comparison-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comp-eyebrow {
  display: inline-block;
  font-family: var(--font-main);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  background: rgba(217, 122, 94, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
}

.comp-lead {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: #555;
  margin-top: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align: center;
}

.comparison-cards-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  padding: 20px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.comparison-cards-wrapper::-webkit-scrollbar {
  display: none;
}

.comp-cards-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 0 5vw;
}

.comp-card-item {
  width: calc((100vw - 10vw - 60px) / 3);
  flex-shrink: 0;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(12, 61, 66, 0.05),
    0 0 0 1px rgba(134, 174, 161, 0.1) inset;
  border: 1px solid rgb(204 167 94 / 68%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.comp-card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(12, 61, 66, 0.12),
    0 0 0 1.5px rgba(134, 174, 161, 0.35) inset;
  border-color: rgba(204, 167, 94, 0.3);
}

.comp-card-main {
  display: flex;
  position: relative;
  flex: 1;
}

.comp-side {
  flex: 1;
  padding: 35px 25px 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.comp-do-side {
  background: linear-gradient(135deg, rgba(134, 174, 161, 0.15) 0%, rgba(134, 174, 161, 0.03) 100%);
}

.comp-dont-side {
  background: linear-gradient(135deg, rgba(217, 122, 94, 0.1) 0%, rgba(217, 122, 94, 0.03) 100%);
}

.comp-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.comp-do-side .comp-icon-box {
  background: rgba(134, 174, 161, 0.25);
  color: var(--primary);
  position: relative;
}

/* Pulse animation for check icon */
.comp-do-side .comp-icon-box::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0;
  animation: pulse-soft 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.comp-card-item:hover .comp-do-side .comp-icon-box {
  transform: scale(1.15);
  background: var(--primary);
  color: white;
}

.comp-card-item:hover .comp-do-side .comp-icon-box::after {
  animation: none;
  opacity: 0;
}

.comp-dont-side .comp-icon-box {
  background: rgba(217, 122, 94, 0.2);
  color: var(--accent);
}

.comp-card-item:hover .comp-dont-side .comp-icon-box {
  transform: rotate(90deg) scale(1.1);
  background: var(--accent);
  color: white;
}

.comp-side p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}

.comp-dont-side p {
  color: #555;
  font-weight: 500;
}

.brand-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.comp-do-side .brand-tag {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(134, 174, 161, 0.3);
}

.comp-dont-side .brand-tag {
  background: rgba(0, 0, 0, 0.06);
  color: #777;
}

.comp-vs-circle {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--secondary);
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 3px solid rgba(134, 174, 161, 0.15);
  z-index: 10;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.comp-card-item:hover .comp-vs-circle {
  transform: translate(-50%, -50%) rotate(360deg) scale(1.15);
  border-color: var(--highlight);
  color: var(--highlight);
  box-shadow: 0 10px 25px rgba(229, 177, 58, 0.2);
}

.comp-reason-footer {
  background: var(--secondary);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  position: relative;
  overflow: hidden;
}

.comp-reason-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.comp-card-item:hover .comp-reason-footer::before {
  transform: translateX(100%);
}

.comp-reason-footer i {
  color: var(--highlight);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comp-card-item:hover .comp-reason-footer i {
  transform: scale(1.3) rotate(15deg);
}

.comp-reason-footer span {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

@keyframes pulse-soft {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.comparison-footer {
  text-align: center;
  margin-top: 80px;
  padding: 45px 30px;
  background: linear-gradient(135deg, rgba(228, 184, 97, 0.1) 0%, rgba(134, 174, 161, 0.05) 100%);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(228, 184, 97, 0.2);
}

/* Giant decorative quote mark */
.comparison-footer::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 140px;
  color: rgba(228, 184, 97, 0.15);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}

.comp-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--secondary);
  font-weight: 700;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Comparison Pagination Beans */
.comp-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 10px;
  position: relative;
  z-index: 10;
}

.comp-bean {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: rgba(134, 174, 161, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(134, 174, 161, 0.1);
}

.comp-bean.active {
  width: 32px;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(134, 174, 161, 0.4);
  border-color: var(--primary);
}

.comp-bean:hover:not(.active) {
  background: rgba(134, 174, 161, 0.4);
  transform: scale(1.2);
}


@media (max-width: 992px) {
  .comparison-section {
    padding: 80px 5% 100px;
  }
}

@media (max-width: 600px) {
  .comp-card-item {
    width: calc(100vw - 10vw);
  }

  .comp-card-main {
    flex-direction: column;
  }

  .comp-vs-circle {
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
    border-width: 2px;
  }

  .comparison-header {
    margin-bottom: 40px;
  }

  .comp-lead {
    font-size: 1.15rem;
  }

  .comp-quote {
    font-size: 1.25rem;
  }

  .comp-side {
    padding: 30px 15px 40px;
  }

  .comp-side p {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .brand-tag {
    font-size: 0.6rem;
  }

  .comp-icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .comp-reason-footer {
    padding: 15px 20px;
  }

  .comp-reason-footer span {
    font-size: 0.85rem;
  }
}

/* Collections */
.collections {
  background-color: #FFF9F7;
  /* Warm, sophisticated background */
  padding: 8rem 5% 6rem;
  text-align: center;
  position: relative;
}

.collections h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  color: #2D1A16;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.collections>p {
  font-family: 'Lato', sans-serif;
  color: #8D4F3D;
  font-size: 0.95rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 4rem;
  font-weight: 700;
  opacity: 0.8;
}

/* Dynamic Category Navigation */
.category-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 5% 25px;
  transition: all 0.5s ease;
}

.category-grid::-webkit-scrollbar {
  display: none;
}

/* Auto-scrolling state */
.category-grid.should-scroll {
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 20px 25px;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.category-grid.should-scroll::-webkit-scrollbar {
  display: none;
}


.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 120px;
}

.cat-img-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 3px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.cat-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.category-card span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  text-transform: none;
  transition: all 0.3s ease;
}

.category-card:hover .cat-img-wrapper {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--highlight);
}

.category-card.active .cat-img-wrapper {
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(229, 177, 58, 0.3);
}

.category-card.active span {
  color: var(--accent);
}

@media (max-width: 600px) {
  .category-grid {
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* Changed from center for better overflow */
    overflow-x: auto;
    padding: 10px 15px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
  }

  .category-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
  }

  .category-card {
    width: 85px;
    flex-shrink: 0;
  }

  .cat-img-wrapper {
    width: 70px;
    height: 70px;
  }

  .category-card span {
    font-size: 0.85rem;
  }
}

/* Shop All Button in Collections */
.collections-action {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.shop-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--secondary);
  color: white;
  text-decoration: none;
  padding: 0.95rem 2.8rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(12, 61, 66, 0.2);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid var(--secondary);
  cursor: pointer;
}

.shop-all-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.shop-all-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(217, 122, 94, 0.35);
}

.shop-all-btn:hover i {
  transform: translateX(6px);
}

.shop-all-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(217, 122, 94, 0.2);
}

@media (max-width: 600px) {
  .collections-action {
    margin-top: 1.5rem;
  }

  .shop-all-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    gap: 8px;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  max-width: 1200px;
  margin: 0 auto;
}

.category-group-wrapper {
  grid-column: 1 / -1;
  width: 100%;
}

.products-grid>.product-grid {
  grid-column: 1 / -1;
  width: 100%;
}

/* ===== PREMIUM PRODUCT CARD REDESIGN ===== */

/* Grid wrapper for all-products.html */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  width: 100%;
}

/* Reveal animation (complement to static/style.css) */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1), transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.product-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  box-shadow:
    0 2px 8px rgba(12, 61, 66, 0.04),
    0 8px 24px rgba(12, 61, 66, 0.06);
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1.5px solid rgba(134, 174, 161, 0.12);
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Ensure no weird bars appear */
.product-card::before,
.product-card::after,
.p-image-container::before {
  display: none !important;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 4px 16px rgba(12, 61, 66, 0.06),
    0 24px 56px rgba(12, 61, 66, 0.13);
  border-color: rgba(134, 174, 161, 0.45);
}

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

/* ── Image Container ── */
.p-image-container {
  width: 100%;
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(145deg, #f7f3eb 0%, #eae7e0 100%);
}

/* Subtle green-teal inner border on image container */
.p-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(12, 61, 66, 0.22) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.product-card:hover .p-image-container::after {
  opacity: 1;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Hover reveal (benefits image) */
.hover-reveal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

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

/* ── Discount Ribbon ── */
.discount-ribbon {
  position: absolute;
  top: -1px;
  left: 22px;
  right: auto;
  transform: none;
  background: linear-gradient(135deg, #d38c2f 0%, #856c10 100%);
  color: white;
  padding: 10px 8px 22px;
  font-size: 0.72rem;
  font-weight: 900;
  z-index: 10;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
  box-shadow: 0 5px 15px rgba(133, 108, 16, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  width: 48px !important;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.discount-ribbon span:first-child {
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: -2px;
}

.discount-ribbon span:last-child {
  font-size: 0.55rem;
  font-weight: 700;
  opacity: 0.95;
}

.discount-ribbon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: ribbonShimmer 3s infinite;
}

@keyframes ribbonShimmer {
  0% {
    left: -100%;
  }

  40% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.product-card:hover .discount-ribbon {
  padding-bottom: 26px;
  transform: translateY(3px);
  box-shadow: 0 8px 20px rgba(133, 108, 16, 0.4);
}

/* ── Details Area ── */
.p-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  padding: 15px 18px 18px;
  position: relative;
  z-index: 1;
  gap: 8px;
}

/* ── Product Name ── */
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--secondary);
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  cursor: pointer;
}

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

/* ── Short Description Bar ── */
.product-short-desc {
  width: 100%;
  background: linear-gradient(90deg, var(--mint) 0%, #e1f2ef 50%, var(--mint) 100%);
  color: var(--secondary);
  text-align: center;
  padding: 8px 15px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-top: 1px solid rgba(134, 174, 161, 0.1);
  border-bottom: 1px solid rgba(134, 174, 161, 0.1);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}

/* ── Tags ── */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-content: flex-start;
}

.tag-badge {
  background: linear-gradient(135deg, #e8f4f0, #dde9e1);
  color: var(--secondary);
  padding: 2px 7px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(134, 174, 161, 0.2);
  white-space: nowrap;
}

/* ── Variant Section ── */
.variant-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: -14px;
}

.variant-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* ── Variant Selector ── */
.variant-selector-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-start;
}

.btn-variant {
  background: #fdfaf5;
  border: 1px solid rgba(134, 174, 161, 0.25);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.btn-variant:hover {
  border-color: var(--primary);
  background: #e8f0ec;
  color: var(--secondary);
}

.btn-variant.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  box-shadow: 0 3px 10px rgba(12, 61, 66, 0.2);
}

.btn-variant:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Price ── */
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.product-price span.currency-symbol {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  opacity: 0.75;
}

.product-price .original-price {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-right: 4px;
}

/* ── Stock Warning ── */
.stock-warning-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent, #D97A5E);
  letter-spacing: 0.3px;
}

.p-info-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Button Group ── */
.btn-group {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(134, 174, 161, 0.1);
}

.buy-btn,
.btn-add {
  flex: 1.3;
  background: var(--secondary);
  color: white;
  border: none;
  padding: 10px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(12, 61, 66, 0.18);
  letter-spacing: 0.2px;
}

.buy-btn:hover:not(.btn-disabled),
.btn-add:hover:not(.btn-disabled) {
  background: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(134, 174, 161, 0.35);
}

.buy-now-btn {
  flex: 1;
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid rgba(12, 61, 66, 0.25);
  padding: 10px 8px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.2px;
}

.buy-now-btn:hover:not(.btn-disabled) {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(12, 61, 66, 0.2);
}

.btn-disabled {
  background: #e0e0e0 !important;
  color: #aaa !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* Qty Controls (Unused on all-products, kept for compatibility) */
.qty-control-wrapper {
  background: #fff;
  border: 1.5px solid rgba(134, 174, 161, 0.3);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  box-shadow: 0 2px 5px rgba(12, 61, 66, 0.05);
}

.qty-btn-card {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  border: none;
  background: var(--light);
  color: var(--primary);
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn-card:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}

.qty-input-styled {
  width: 35px;
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.qty-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8a7366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Mobile Responsive ── */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-card {
    border-radius: 18px;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }

  .p-image-container {
    width: 100% !important;
    aspect-ratio: 4 / 3;
    border-radius: 18px 18px 0 0;
    margin: 0 !important;
    padding: 0 !important;
    background: #fdfaf5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 18px 18px 0 0 !important;
  }

  .p-details {
    padding: 2px 10px 4px !important;
    gap: 2px;
  }

  .p-info-stack {
    gap: 4px;
  }

  .product-name {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .product-price {
    font-size: 1.1rem;
    margin-top: 0 !important;
    white-space: nowrap;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    align-items: baseline;
    gap: 6px !important;
  }

  .tag-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
  }

  .btn-variant {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .product-short-desc {
    font-size: 0.47rem;
    padding: 5px 10px;
    min-height: 28px;
  }

  .btn-group {
    padding-top: 6px;
    margin-top: auto !important;
    margin-bottom: 0px !important;
  }

  .buy-btn,
  .btn-add {
    font-size: 0.8rem;
    padding: 10px 6px;
    border-radius: 10px;
    width: 100%;
    flex: 1;
  }

  .buy-now-btn {
    display: none !important;
  }

  .discount-ribbon {
    font-size: 0.5rem;
    padding: 6px 4px 13px;
    top: -1px;
    left: 12px;
    right: auto;
    transform: none;
    width: 32px !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%) !important;
  }

  .discount-ribbon span:first-child {
    font-size: 0.62rem !important;
    margin-bottom: -3px;
  }

  .discount-ribbon span:last-child {
    font-size: 0.45rem !important;
    opacity: 0.9;
  }

  .product-card:hover .discount-ribbon {
    padding-bottom: 15px !important;
    transform: translateY(1.5px) !important;
  }

  .product-type-badge {
    padding: 3px 8px !important;
    font-size: 0.5rem !important;
    bottom: 2px !important;
    right: 2px !important;
    border-radius: 6px !important;
  }

  .stock-warning-text {
    display: none;
  }
}

.why-features-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.why-feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.why-feat-item .feat-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.why-feat-item span {
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

@media (max-width: 480px) {
  .why-features-grid {
    gap: 1.5rem;
  }

  .why-feat-item .feat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

.scattered-img-frame {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  /* Placeholder until user adds images */
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
}

.scattered-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Positions */
.scattered-img-frame.pos1 {
  top: 10%;
  left: 16%;
  rotate: -15deg;
  width: 120px;
  height: 120px;
}

.scattered-img-frame.pos2 {
  bottom: 15%;
  left: 5%;
  rotate: 10deg;
  width: 180px;
  height: 180px;
}

.scattered-img-frame.pos3 {
  top: 15%;
  right: 15%;
  rotate: 12deg;
  width: 140px;
  height: 140px;
}

.scattered-img-frame.pos4 {
  bottom: 10%;
  right: 5%;
  rotate: -8deg;
  width: 160px;
  height: 160px;
}

/* Removed Why Basil Bounty responsive styles as section was replaced */

/* Founder Legacy Section */
.basil-bounty-legacy {
  background: linear-gradient(rgba(247, 243, 235, 0.46), rgba(247, 243, 235, 0.51)), url('static/entreprenuer bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-dark);
  padding: 10rem 5%;
  /* Increased padding for better fade space */
  position: relative;
  margin-top: -50px;
  z-index: 6;
  overflow: hidden;
  /* Vertical Fade Blend */
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%);
}

/* Background Design Elements */
.basil-bounty-legacy::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(40px);
  z-index: 1;
  animation: float-slow 15s infinite alternate;
}

.basil-bounty-legacy::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.08;
  filter: blur(50px);
  z-index: 1;
  animation: float-slow 20s infinite alternate-reverse;
}

.legacy-decor-leaf {
  position: absolute;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

.leaf-1 {
  top: 15%;
  left: 10%;
  transform: rotate(-15deg);
  animation: float-leaf 8s infinite ease-in-out;
}

.leaf-2 {
  top: 25%;
  right: 15%;
  transform: rotate(45deg);
  animation: float-leaf 12s infinite ease-in-out 1s;
}

.leaf-3 {
  bottom: 15%;
  left: 15%;
  transform: rotate(110deg);
  animation: float-leaf 10s infinite ease-in-out 2s;
}

.leaf-4 {
  bottom: 20%;
  right: 8%;
  transform: rotate(-30deg);
  animation: float-leaf 9s infinite ease-in-out 0.5s;
}

@keyframes float-leaf {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot));
  }

  50% {
    transform: translateY(-20px) rotate(calc(var(--rot) + 10deg));
  }
}

@keyframes float-slow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.legacy-container {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.legacy-image-wrap {
  position: relative;
  padding: 20px;
}


.legacy-blob-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob-morph 10s infinite alternate;
  z-index: -1;
}

.founder-img {
  width: 100%;
  border-radius: 30px;
  display: block;
  z-index: 2;
  position: relative;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.legacy-badge {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: var(--secondary);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 3;
  transform: rotate(5deg);
}

.legacy-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.5rem;
  align-items: center;
  box-sizing: border-box;
}

.eyebrow {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.basil-bounty-legacy h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--primary);
}

.legacy-title {
  white-space: nowrap;
}

.story-lead {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.story-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.achievement-marquee-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.achieve-item.mobile-clone {
  display: none;
}

.achieve-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.3s ease;
}

.achieve-item:hover {
  transform: translateY(-5px);
}

.achieve-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}

.achieve-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
  font-weight: 600;
}

.media-mention {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.media-mention span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #aaa;
}

.media-logos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.media-tag {
  background: white;
  padding: 5px 15px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.media-logo-img {
  height: 35px;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.media-logo-img:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 1024px) {
  .legacy-container {
    max-width: 100%;
    text-align: center;
  }

  .legacy-content {
    align-items: center;
  }

  .basil-bounty-legacy h2 {
    font-size: 2.5rem;
  }

  .media-logos {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .basil-bounty-legacy {
    padding: 6rem 5%;
    background-attachment: scroll !important;
  }

  .legacy-title,
  .basil-bounty-legacy h2 {
    white-space: normal !important;
    word-wrap: break-word;
  }

  .achieve-item.mobile-clone {
    display: flex;
  }

  .achievement-marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    padding: 0;
  }

  .achievement-grid {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 1.5rem 0;
    animation: marquee-achieve 15s linear infinite;
  }

  .achievement-grid:hover,
  .achievement-grid:active {
    animation-play-state: paused;
  }

  .achieve-item {
    flex: 0 0 auto;
    width: 150px;
  }
}

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

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

@media (max-width: 480px) {
  .basil-bounty-legacy {
    padding: 5rem 5%;
  }

  .achieve-value {
    font-size: 1.8rem;
  }

  .achieve-label {
    font-size: 0.8rem;
  }

  .basil-bounty-legacy h2 {
    font-size: 2rem;
  }

  .story-lead {
    font-size: 1.15rem;
  }

  .story-body {
    font-size: 0.95rem;
  }
}



@keyframes blob-morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  33% {
    border-radius: 60% 40% 30% 70% / 50% 40% 60% 50%;
  }

  66% {
    border-radius: 45% 55% 50% 50% / 40% 60% 55% 45%;
  }

  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Recipes Redesign */
.recipes {
  background-color: #fff6f2;
  /* Creamy light background */
  padding: 0 0 8rem;
  text-align: center;
  position: relative;
}

.recipes-header {
  background-color: #ed2424;
  padding: 6rem 5% 7rem;
  /* Increased bottom padding for card overlap */
  position: relative;
  margin-bottom: 0;
}

.recipes-header h2 {
  font-size: 8rem;
  /* Large playful title */
  color: white;
  margin: 0;
  text-transform: none;
  font-family: var(--font-display);
  letter-spacing: -2px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: -60px auto 4rem;
  /* Overlap with header */
  padding: 0 5%;
  position: relative;
  z-index: 5;
}

.recipe-card {
  background: transparent;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  aspect-ratio: 1.1;
  transform: translateY(-15px) rotate(5deg);
  /* Hover style now normal */
}

.recipe-card:hover {
  transform: translateY(0) rotate(0);
  /* Normal style now hover */
}

.recipe-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.recipe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.play-btn-serrated {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  /* Hover style now normal */
  background-color: #ed2424;
  /* Hover color now normal */
  color: white;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  /* Scalloped circle mask/clip */
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M100 50c0 3.7-2.6 7-6 8l-.3.1c-1.6 4-1.2 8.7 1.3 12.3l.2.3c-1.3 3.5-4.2 6.2-7.8 7.3l-.3.1c-.2 4.3-2.3 8.3-5.7 10.8l-.3.2c-2.7 2.7-6.5 4-10.4 3.7l-.3-.1c-1.6 4-4.8 7.3-8.8 8.9l-.3.1c-3.4 1.3-7.2 1.3-10.6 0l-.3-.1c-4-1.6-7.2-4.9-8.8-8.9l-.3.1c-3.9.3-7.7-1-10.4-3.7l-.3-.2C25 87 22.9 83 22.7 78.7l-.3-.1c-3.6-1.1-6.5-3.8-7.8-7.3l.2-.3c2.5-3.6 2.9-8.3 1.3-12.3l-.3-.1c-3.4-1-6-4.3-6-8 0-3.7 2.6-7 6-8l.3-.1c1.6-4 1.2-8.7-1.3-12.3l-.2-.3c1.3-3.4 4.2-6.2 7.8-7.3l.3-.1c.2-4.3 2.3-8.3 5.7-10.8l.3-.2c2.7-2.7 6.5-4 10.4-3.7l.3.1c1.6-4 4.8-7.3 8.8-8.9l.3-.1c3.4-1.3 7.2-1.3 10.6 0l.3.1c4 1.6 7.2 4.9 8.8 8.9l.3-.1c3.9-.3 7.7 1 10.4 3.7l.3.2c3.4-2.5 5.5-6.5 5.7-10.8l.3.1c3.6 1.1 6.5 3.9 7.8 7.3l-.2.3c-2.5 3.6-2.9 8.3-1.3 12.3l.3.1c3.4 1 6 4.3 6 8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M100 50c0 3.7-2.6 7-6 8l-.3.1c-1.6 4-1.2 8.7 1.3 12.3l.2.3c-1.3 3.5-4.2 6.2-7.8 7.3l-.3.1c-.2 4.3-2.3 8.3-5.7 10.8l-.3.2c-2.7 2.7-6.5 4-10.4 3.7l-.3-.1c-1.6 4-4.8 7.3-8.8 8.9l-.3.1c-3.4 1.3-7.2 1.3-10.6 0l-.3-.1c-4-1.6-7.2-4.9-8.8-8.9l-.3.1c-3.9.3-7.7-1-10.4-3.7l-.3-.2C25 87 22.9 83 22.7 78.7l-.3-.1c-3.6-1.1-6.5-3.8-7.8-7.3l.2-.3c2.5-3.6 2.9-8.3 1.3-12.3l-.3-.1c-3.4-1-6-4.3-6-8 0-3.7 2.6-7 6-8l.3-.1c1.6-4 1.2-8.7-1.3-12.3l-.2-.3c1.3-3.4 4.2-6.2 7.8-7.3l.3-.1c.2-4.3 2.3-8.3 5.7-10.8l.3-.2c2.7-2.7 6.5-4 10.4-3.7l.3.1c1.6-4 4.8-7.3 8.8-8.9l.3-.1c3.4-1.3 7.2-1.3 10.6 0l.3.1c4 1.6 7.2 4.9 8.8 8.9l.3-.1c3.9-.3 7.7 1 10.4 3.7l.3.2c3.4-2.5 5.5-6.5 5.7-10.8l.3.1c3.6 1.1 6.5 3.9 7.8 7.3l-.2.3c-2.5 3.6-2.9 8.3-1.3 12.3l.3.1c3.4 1 6 4.3 6 8z'/%3E%3C/svg%3E");
  mask-size: cover;
  -webkit-mask-size: cover;
  transition: all 0.3s ease;
}

.play-btn-serrated:hover {
  transform: translate(-50%, -50%) scale(1.0);
  /* Normal style now hover */
  background-color: white;
  /* Normal color now hover */
  color: #ed2424;
}

.recipe-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  text-align: left;
  z-index: 6;
}

.recipe-info h4 {
  font-size: 1.4rem;
  color: white;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.view-all-btn {
  background-color: #750303;
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 0 #072a27;
  /* Hover style (extended shadow) now normal */
  transform: translateY(-2px);
  /* Hover transform now normal */
}

.view-all-btn:hover {
  transform: translateY(0);
  /* Normal style now hover */
  box-shadow: 0 8px 0 #072a27;
}

.view-all-btn:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #072a27;
}

/* Testimonials Redesign */
.testimonials {
  background-color: #fff6f2;
  padding: 0 0 8rem;
  /* Remove top padding as header has it */
  text-align: center;
  position: relative;
}

.testimonials-red-bg {
  background-color: #750303;
  padding: 8rem 5% 12rem;
  position: relative;
  margin-bottom: -10rem;
  /* Slider will overlap this */
}

.testimonials-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 5rem;
}

.testimonials-header h2 {
  font-size: 3.5rem;
  /* Reduced from 8rem for mobile/general sanity */
  line-height: 0.9;
  margin: 0;
  color: white;
  text-transform: none;
  font-family: var(--font-display);
  letter-spacing: -2px;
}

.heart-white-blob {
  width: 90px;
  height: 90px;
  background-color: white;
  color: #750303;
  border-radius: 40% 60% 30% 70% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  animation: blob-morph 6s infinite alternate;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reviews-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.testimonials-slider-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.review-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--light);
  padding: 40px 30px;
  border-radius: 30px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.9);
  opacity: 1;
  border: 4px solid var(--primary);
}

.review-card.featured {
  background: var(--primary) !important;
  color: white !important;
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  opacity: 1;
  border: 4px solid var(--light);
}

/* Talk Bubble Pointer */
.review-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--light) !important;
}

.review-card.featured::after {
  border-top-color: var(--primary) !important;
}

.stars {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffc107;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.reviewer {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: auto;
}

.nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}



.insta-grid a:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: linear-gradient(rgba(12, 61, 66, 0.8), rgba(12, 61, 66, 0.9)), url('static/footerbg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 5rem 5% 2rem;
  text-align: center;
  position: relative;
}

footer .brand {
  margin-bottom: 2.5rem;
  justify-content: center;
}

footer .brand img {
  filter: brightness(0) invert(1);
}


.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.7;
  flex-wrap: wrap;
}

.payment-icons {
  display: flex;
  gap: 10px;
}

.payment-icons span {
  background: white;
  color: var(--text-dark);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .desktop-only {
    display: none !important;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .why-migo h2 {
    font-size: 2.2rem;
  }

  .hero-images {
    flex-direction: column;
  }

  .img-left,
  .img-right {
    display: none;
  }

  .img-center {
    transform: none;
    width: 250px;
    height: 300px;
  }

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

  .reviews-container {
    flex-direction: column;
  }

  .review-card.featured {
    transform: none;
  }

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

  /* Font Size & Spacing Corrections for Mobile */
  .why-basil-bounty {
    text-align: center;
    padding: 3rem 1rem;
  }

  .why-basil-bounty h2 {
    font-size: 2.2rem;
  }

  .why-basil-bounty h3 {
    font-size: 1.4rem;
  }

  .why-basil-bounty p {
    font-size: 1rem !important;
  }

  .collections {
    padding: 3rem 5% !important;
  }

  .collections h2 {
    font-size: 2rem !important;
  }

  .collections>p {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .wow-yum {
    padding: 4rem 5% !important;
  }

  .yum-center h2 {
    font-size: 4rem !important;
    letter-spacing: -2px !important;
  }

  .yum-text h4 {
    font-size: 1.3rem !important;
  }

  .yum-blob {
    width: 70px !important;
    height: 70px !important;
    font-size: 2rem !important;
  }

  .testimonials-header {
    gap: 15px !important;
    margin-bottom: 3rem !important;
  }

  .testimonials-header h2 {
    font-size: 3rem !important;
  }

  .heart-white-blob {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }

  .reviewer {
    font-size: 1.4rem !important;
  }

  .insta-info h2 {
    font-size: 2.5rem !important;
  }

  .insta-info p {
    font-size: 0.95rem !important;
  }

  .footer-links a {
    font-size: 0.85rem !important;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }

  footer {
    background-attachment: scroll !important;
  }
}

/* ================= CART THEME ENHANCEMENTS ================= */
.cart-sidebar {
  background-color: white !important;
  border-left: none;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-header {
  background-color: white !important;
  color: var(--primary) !important;
  padding: 1.5rem !important;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-family: var(--font-display) !important;
  font-size: 1.6rem !important;
  text-transform: none !important;
  letter-spacing: 0;
}

.close-cart {
  color: var(--secondary) !important;
  opacity: 0.8;
  top: 25px !important;
  right: 25px !important;
}

.close-cart:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.2);
}

.cart-footer {
  background-color: white !important;
  border-top: 3px dashed #ece0d1 !important;
  padding: 25px !important;
}

.cart-total {
  color: var(--primary) !important;
  font-family: var(--font-display);
  font-size: 1.4rem !important;
  margin-bottom: 20px !important;
}

/* Button Overrides */
.btn-primary {
  background-color: var(--primary) !important;
  color: white !important;
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 12px !important;
  padding: 14px !important;
  border: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 6px 0 var(--secondary) !important;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--secondary) !important;
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--secondary) !important;
}

.input-group-styled {
  border: 2px solid #eddec9 !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: white;
}

.input-group-styled button {
  background: var(--primary) !important;
  color: white !important;
  font-family: var(--font-display) !important;
  border-radius: 0 !important;
  padding: 0 20px !important;
  font-size: 0.9rem !important;
  transition: background 0.3s;
}

.input-group-styled button:hover {
  background: var(--secondary) !important;
}

.referral-toggle {
  background: #fbf1e4 !important;
  border-radius: 12px !important;
  border: 1px dashed var(--accent) !important;
  color: var(--primary) !important;
  padding: 12px 15px !important;
  margin: 15px 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.referral-toggle .toggle-text {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 600 !important;
}

.referral-toggle .arrow-icon {
  font-size: 0.8rem !important;
  transition: transform 0.3s ease !important;
}

.referral-input-wrapper {
  margin-bottom: 15px !important;
}

.input-group-styled {
  display: flex !important;
  border: 2px solid #eddec9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: white !important;
}

.input-group-styled input {
  flex: 1 !important;
  padding: 12px 15px !important;
  border: none !important;
  outline: none !important;
  font-family: var(--font-main) !important;
  font-size: 0.95rem !important;
}

.input-group-styled button {
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  padding: 0 20px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.3s !important;
}

.input-group-styled button:hover {
  background: var(--secondary) !important;
}

.referral-msg {
  font-size: 0.85rem !important;
  margin-top: 8px !important;
  padding: 0 5px !important;
}

.referral-msg.success {
  color: #2e7d32 !important;
}

.referral-msg.error {
  color: #d32f2f !important;
}

.cart-addr-header span {
  color: var(--secondary) !important;
  font-weight: 700;
  cursor: pointer;
}


/* Cart Item Styles */
.cart-item-row {
  border-bottom: 1px solid #f1e4d1 !important;
  padding-bottom: 20px !important;
  margin-bottom: 20px !important;
}

.ci-title {
  font-family: var(--font-main) !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  font-size: 1rem !important;
}

.qty-pill {
  background: #fdf5f0 !important;
  border: 1px solid #e0d5ce !important;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 2px 5px !important;
}

.qty-pill button {
  background: white !important;
  color: var(--primary) !important;
  border: none !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  font-size: 0.8rem !important;
  transition: all 0.2s !important;
}

.qty-pill button:hover {
  background: var(--primary) !important;
  color: white !important;
}

.btn-remove {
  background: transparent !important;
  color: #bfa59a !important;
  border: none !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-left: 10px !important;
  transition: color 0.3s !important;
}

.btn-remove:hover {
  color: var(--secondary) !important;
}


.btn-text:hover {
  color: var(--primary) !important;
}

/* Star Rating System */
.star-rating {
  font-size: 2.5rem;
  color: #ffd700;
  display: flex;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.star-rating i {
  transition: transform 0.2s, color 0.2s;
}

.star-rating i.active {
  color: #ff9800;
  transform: scale(1.2);
}

.star-rating i:hover {
  transform: scale(1.1);
}

/* Review Button in Order Card */
.btn-review {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-review:hover {
  background: #ffc107;
  transform: translateY(-2px);
}

.product-review-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.featured .product-review-tag {
  color: #aaa;
}

.stars-display {
  color: #ffc107;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.testimonials-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 10px;
}

.reviews-viewport {
  flex: 1;
  overflow: hidden;
  padding: 20px 0;
}

.reviews-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Styles consolidated above */

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
}

@media (max-width: 968px) {
  .review-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .review-card {
    flex: 0 0 100%;
    opacity: 1;
    transform: scale(1);
  }

  .testimonials-slider-wrapper {
    gap: 0;
    padding: 0;
  }

  .slider-btn {
    display: none;
  }

  .reviews-viewport {
    padding: 10px 0;
  }
}

.auth-modal h3,
.auth-modal h4 {
  font-family: var(--font-display) !important;
  color: var(--primary);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* --- Premium Profile Redesign --- */
.profile-modal-content {
  background: #fff !important;
  border-radius: 24px !important;
  padding: 0 !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  max-width: 440px !important;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Improved inner scrollbar feel */
  scrollbar-gutter: stable;
}

.profile-modal-content::-webkit-scrollbar {
  width: 8px;
}

.profile-modal-content::-webkit-scrollbar-track {
  background: transparent;
  /* Transparent track makes it feel more inside */
  margin: 15px 0;
  /* Keeps it away from the curved top/bottom */
}

.profile-modal-content::-webkit-scrollbar-thumb {
  background: #e0d5ce;
  border-radius: 10px;
  /* Create "inset" effect using transparent borders */
  border: 2px solid #fff;
}

.profile-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.profile-modal-content #profileViewMain {
  padding: 35px;
}

.close-auth-circle {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 38px;
  height: 38px;
  background: #fdfaf8;
  border: none;
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.close-auth-circle:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg) scale(1.1);
}

.profile-header-new {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-avatar-big {
  width: 85px;
  height: 85px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 55px;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(117, 3, 3, 0.2);
}

.profile-title-container h3 {
  font-size: 2rem;
  color: var(--primary);
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.1;
}

.profile-title-container p {
  font-size: 0.95rem;
  color: #6a6a6a;
  margin: 8px 0 0;
  line-height: 1.4;
}

.profile-form-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1.5px solid #f5f0ed;
  border-radius: 16px;
}

.profile-field-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-field-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.profile-field-group input {
  background: #fdfaf8 !important;
  border: 1.5px solid #eae2dc !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-size: 1rem;
  color: #333;
  font-family: var(--font-main);
  transition: all 0.3s;
}

.profile-field-group input:focus:not(:disabled) {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(117, 3, 3, 0.05);
  background: #fff !important;
  outline: none;
}

.profile-field-group input:disabled {
  opacity: 0.7;
  background: #f9f9f9 !important;
  cursor: not-allowed;
}

.btn-update-profile,
.btn-order-history {
  margin-top: 10px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-update-profile:hover,
.btn-order-history:hover {
  background: #5a0202;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(117, 3, 3, 0.25);
}

.profile-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0 20px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0c3d42;
}

.section-title i {
  font-size: 1.4rem;
}

.section-title h4 {
  margin: 0;
  font-size: 1.3rem;
  font-family: var(--font-display);
}

.btn-add-new {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-add-new:hover {
  opacity: 0.7;
}

.addr-list-scroll {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  padding-right: 8px;
}

/* Premium Card Design for Addresses */
.addr-card-premium {
  background: #fff9f6;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 18px;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.addr-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(117, 3, 3, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.addr-icon-circle {
  width: 50px;
  height: 50px;
  background: #feece2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
}

.addr-content-info {
  flex: 1;
}

.addr-badge {
  background: #ffe6e6;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.addr-name-row {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.addr-name-row strong {
  color: var(--primary);
}

.addr-relationship {
  color: #a52a2a;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.7;
}

.addr-details-grid p {
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0;
  line-height: 1.5;
}

.addr-phone-premium {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 10px;
}

.addr-actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addr-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #777;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.addr-action-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.btn-order-history {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-bottom: 25px;
}

.btn-order-history:hover {
  background: #fff4f4;
  color: #5a0202;
  border-color: #5a0202;
}

.logout-container {
  text-align: center;
  margin-top: 10px;
}

.btn-logout {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 12px 25px;
  transition: all 0.3s;
  border-radius: 12px;
}

.btn-logout:hover {
  background: #fff4f4;
  transform: translateY(-2px);
}

/* Scrollbar Style */
.addr-list-scroll::-webkit-scrollbar {
  width: 5px;
}

.addr-list-scroll::-webkit-scrollbar-track {
  background: #fdfaf8;
}

.addr-list-scroll::-webkit-scrollbar-thumb {
  background: #ffd9c4;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .profile-modal-content #profileViewMain {
    padding: 25px 20px;
  }

  .profile-avatar-big {
    width: 70px;
    height: 70px;
    font-size: 45px;
  }

  .profile-title-container h3 {
    font-size: 1.6rem;
  }

  .addr-card-premium {
    padding: 15px;
    gap: 12px;
  }

  .addr-icon-circle {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* --- Secondary Views Styling --- */
.view-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px;
  padding: 0 0 15px;
  border-bottom: 1px solid #f5f0ed;
}

.view-header i {
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfaf8;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.view-header i:hover {
  background: var(--primary);
  color: white;
  transform: translateX(-3px);
}

.view-header h3 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--primary);
  font-family: var(--font-display);
}

#ordersView,
#addressForm {
  padding: 35px;
}

#addressForm .input-style {
  background: #fdfaf8 !important;
  border: 1.5px solid #eae2dc !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: all 0.3s;
}

#addressForm .input-style:focus {
  border-color: var(--primary) !important;
  background: white !important;
  box-shadow: 0 4px 15px rgba(117, 3, 3, 0.05);
  outline: none;
}

#addressForm label {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-scroll::-webkit-scrollbar {
  width: 5px;
}

.orders-scroll::-webkit-scrollbar-thumb {
  background: #ffd9c4;
  border-radius: 10px;
}

@media (max-width: 480px) {

  #ordersView,
  #addressForm {
    padding: 25px 20px;
  }

  .view-header h3 {
    font-size: 1.4rem;
  }
}

/* --- Desktop Refinement for Profile Section --- */
@media (min-width: 1024px) {
  .profile-modal-content {
    max-width: 400px !important;
    border-radius: 28px !important;
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(0, 0, 0, 0.03) !important;
  }

  .profile-modal-content #profileViewMain,
  #ordersView,
  #addressForm {
    padding: 28px !important;
  }

  .close-auth-circle {
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
  }

  .profile-header-new {
    gap: 16px;
    margin-bottom: 25px;
  }

  .profile-avatar-big {
    width: 70px;
    height: 70px;
    font-size: 44px;
    box-shadow: 0 8px 20px rgba(117, 3, 3, 0.15);
  }

  .profile-title-container h3 {
    font-size: 1.6rem;
  }

  .profile-title-container p {
    font-size: 0.88rem;
    margin-top: 4px;
  }

  .profile-form-container {
    padding: 20px;
    gap: 15px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #fdfaf8);
  }

  .profile-field-group label {
    font-size: 0.68rem;
    letter-spacing: 1px;
  }

  .profile-field-group input {
    padding: 10px 16px !important;
    font-size: 0.92rem;
  }

  .btn-update-profile,
  .btn-order-history {
    padding: 14px;
    font-size: 0.88rem;
    border-radius: 12px;
    margin-top: 6px;
  }

  .profile-section-header {
    margin: 30px 0 15px;
  }

  .section-title h4 {
    font-size: 1.15rem;
  }

  .section-title i {
    font-size: 1.2rem;
  }

  .btn-add-new {
    font-size: 0.9rem;
  }

  .addr-card-premium {
    padding: 16px;
    gap: 14px;
    border-radius: 18px;
  }

  .addr-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 12px;
  }

  .addr-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    margin-bottom: 6px;
  }

  .addr-name-row {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .addr-relationship {
    font-size: 0.88rem;
  }

  .addr-details-grid p {
    font-size: 0.82rem;
    margin: 3px 0;
  }

  .addr-phone-premium {
    font-size: 0.88rem;
    margin-top: 8px;
  }

  .addr-actions-vertical {
    gap: 8px;
  }

  .addr-action-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .logout-container {
    margin-top: 5px;
  }

  .btn-logout {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .view-header {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .view-header h3 {
    font-size: 1.4rem;
  }

  .view-header i {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  #ordersListContainer {
    max-height: 350px !important;
  }

  #addressForm .input-style {
    padding: 12px 18px !important;
    font-size: 0.88rem !important;
    border-radius: 10px !important;
  }

  #addressForm {
    gap: 8px !important;
  }
}

/* ========================================================
   FRANCHISE SECTION
   ======================================================== */

/* --- Main Section --- */
.franchise-section {
  position: relative;
  background: linear-gradient(135deg, #750303 0%, #5a0202 40%, #8b0000 70%, #750303 100%);
  padding: 100px 5% 80px;
  z-index: 7;
  margin-top: -30px;

  /* Scallop Mask - Fixes color mismatch by making the section background itself wavy */
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='black'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  -webkit-mask-size: 60px 30px, 100% calc(100% - 29.5px);
  -webkit-mask-position: top, bottom;
  -webkit-mask-repeat: repeat-x, no-repeat;

  mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0,30 A30,30 0 0,1 60,30 Z' fill='black'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  mask-size: 60px 30px, 100% calc(100% - 29.5px);
  mask-position: top, bottom;
  mask-repeat: repeat-x, no-repeat;
}

/* Decorative background pattern - removed gold accents */
.franchise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Inner layout --- */
.franchise-inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

.franchise-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-areas:
    "text visual"
    "cta visual";
  gap: 0 80px;
  align-items: center;
}

.franchise-text-group {
  grid-area: text;
}

.franchise-visual {
  grid-area: visual;
}

.franchise-cta-group {
  grid-area: cta;
}

/* --- Left Content --- */
.franchise-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.franchise-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 22px;
}

.franchise-heading-accent {
  background: linear-gradient(90deg, #fff 0%, #ffcfcf 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: franchise-shine 4s linear infinite;
}

@keyframes franchise-shine {
  to {
    background-position: 200% center;
  }
}

.franchise-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}

.franchise-desc strong {
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

/* Stats row - removed gold border */
.franchise-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px 0;
  overflow: hidden;
}

.fstat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.fstat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.fstat-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.fstat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* CTA buttons */
.franchise-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.franchise-btn-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
}

.franchise-btn-info:hover {
  background: #fff;
  color: #750303;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.franchise-btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: #fff;
  color: #750303;
  border: 1.5px solid #fff;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.franchise-btn-apply:hover {
  background: #f7f2ee;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* --- Right Visual Card --- */
.franchise-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.franchise-card-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: franchise-pulse 3s ease-in-out infinite;
}

@keyframes franchise-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.franchise-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 32px 28px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  max-width: 380px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.franchise-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #750303;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.franchise-card-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.fcard-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.fcard-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.fcard-item>i {
  font-size: 1.2rem;
  color: #fff;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.fcard-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fcard-item div strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.fcard-item div span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.fcard-apply-btn {
  width: 100%;
  padding: 13px;
  background: #fff;
  color: #750303;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fcard-apply-btn:hover {
  background: #f7f2ee;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* Floating decorative elements */
.franchise-float-1,
.franchise-float-2 {
  position: absolute;
  color: #fff;
  pointer-events: none;
  animation: franchise-float 3s ease-in-out infinite;
}

.franchise-float-1 {
  top: -20px;
  right: -10px;
  font-size: 1.8rem;
  opacity: 0.2;
  animation-delay: 0s;
}

.franchise-float-2 {
  bottom: 10px;
  left: -15px;
  font-size: 1.1rem;
  opacity: 0.15;
  animation-delay: 1.5s;
}

@keyframes franchise-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(15deg);
  }
}

/* ========================================================
   FRANCHISE OVERLAYS & MODALS
   ======================================================== */

.franchise-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.franchise-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.franchise-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
  z-index: 10;
}

.franchise-modal-close:hover {
  background: #fff;
  color: #750303;
  transform: scale(1.1);
}

/* --- Info Modal (image viewer) --- */
.franchise-info-modal {
  position: relative;
  background: #750303;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px 36px 32px;
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.franchise-overlay.active .franchise-info-modal,
.franchise-overlay.active .franchise-apply-modal {
  transform: scale(1) translateY(0);
}

.franchise-modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.franchise-info-img-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.franchise-info-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fallback cards */
.franchise-img-fallback {
  padding: 20px;
}

.ffallback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.ffallback-card {
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ffallback-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.ffallback-card p {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

/* Info footer */
.franchise-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.franchise-info-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.franchise-info-footer p i {
  color: #fff;
  margin-right: 4px;
}

.franchise-info-footer p strong {
  color: #fff;
}

.franchise-btn-apply-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: #750303;
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-main);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.franchise-btn-apply-bottom:hover {
  background: #f7f2ee;
  transform: translateY(-2px);
}

/* --- Apply Modal --- */
.franchise-apply-modal {
  position: relative;
  background: #750303;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px 36px 36px;
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.franchise-apply-header {
  text-align: center;
  margin-bottom: 28px;
}

.franchise-apply-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #750303;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.franchise-apply-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
}

.franchise-apply-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.franchise-apply-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fform-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fform-group.full {
  grid-column: span 2;
}

.fform-group label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fform-group label i {
  color: #fff;
  font-size: 0.75rem;
}

.fform-group input,
.fform-group select,
.fform-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: all 0.25s;
  width: 100%;
}

.fform-group input::placeholder,
.fform-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.fform-group input:focus,
.fform-group select:focus,
.fform-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.fform-group select option {
  background: #750303;
  color: #fff;
}

.fform-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: #fff;
  color: #750303;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-main);
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fform-submit-btn:hover {
  background: #f7f2ee;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.fform-submit-btn:disabled {
  opacity: 0.6;
}

.franchise-success-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 16px;
}

.fsuccess-icon {
  font-size: 4rem;
  color: #fff;
  animation: franchise-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes franchise-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.franchise-success-msg h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #fff;
}

.franchise-success-msg p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Franchise Outlets Section --- */
.franchise-outlets {
  margin-top: 100px;
  position: relative;
  z-index: 5;
  width: 100%;
  overflow: hidden;
}

.outlets-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 5%;
}

.outlets-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 12px;
}

.outlets-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.outlets-marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  /* Premium fade effect on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.outlets-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: outletsScroll 40s linear infinite;
  padding-left: 30px;
}

.outlets-track:hover {
  animation-play-state: paused;
}

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

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

.outlet-card {
  flex: 0 0 350px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
}

.outlet-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.outlet-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.outlet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.outlet-card:hover .outlet-img {
  transform: scale(1.15);
}

.outlet-img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.15);
}

.outlet-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  color: #750303;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.outlet-badge.coming-soon {
  background: #750303;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.outlet-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.outlet-info h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.outlet-addr {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
}

.outlet-addr i {
  color: #ffa500;
  /* Subtle gold accent for markers */
  margin-top: 4px;
}

.outlet-contact {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outlet-contact span {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.outlet-contact i {
  color: rgba(255, 255, 255, 0.6);
}

.outlet-card.upcoming {
  opacity: 0.85;
}

/* ========================================================
   RESPONSIVE — FRANCHISE SECTION
   ======================================================== */

@media (max-width: 900px) {
  .franchise-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "visual"
      "cta";
    gap: 0;
  }

  .franchise-visual {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .franchise-section {
    padding: 80px 5% 60px;
    text-align: center;
  }

  .franchise-eyebrow {
    justify-content: center;
    margin-bottom: 15px;
  }

  .franchise-heading {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .franchise-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .franchise-stats-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
  }

  .fstat {
    flex: 0 0 calc(50% - 10px);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .fstat-val {
    font-size: 1.4rem;
  }

  .fstat-divider {
    display: none;
  }

  .franchise-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .franchise-btn-info,
  .franchise-btn-apply {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }

  .franchise-visual {
    margin-bottom: 60px;
  }

  .franchise-card {
    padding: 25px 20px;
  }

  .fcard-item {
    padding: 12px;
    gap: 12px;
  }

  .outlets-header {
    margin-bottom: 30px;
  }

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

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

  .outlet-card {
    flex: 0 0 280px;
  }

  .outlets-track {
    animation-duration: 30s;
    gap: 20px;
  }

  /* Form & Modal Responsive Restored */
  .fform-row {
    grid-template-columns: 1fr;
  }

  .fform-group.full {
    grid-column: span 1;
  }

  .franchise-apply-modal,
  .franchise-info-modal {
    padding: 30px 20px 24px;
  }

  .franchise-info-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Scroll Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Roadmap Line Animation */
.roadmap-wrapper .roadmap-line {
  height: 0;
  transition: height 1.5s ease-out;
}

.roadmap-wrapper.animate-line .roadmap-line {
  height: 100%;
}

/* Staggered Delay for Roadmap Steps */
.roadmap-step[data-step="1"] {
  transition-delay: 0.1s;
}

.roadmap-step[data-step="1"] .step-content {
  transition-delay: 0.2s;
}

.roadmap-step[data-step="2"] {
  transition-delay: 0.3s;
}

.roadmap-step[data-step="2"] .step-content {
  transition-delay: 0.4s;
}

.roadmap-step[data-step="3"] {
  transition-delay: 0.5s;
}

.roadmap-step[data-step="3"] .step-content {
  transition-delay: 0.6s;
}

.roadmap-step[data-step="4"] {
  transition-delay: 0.7s;
}

.roadmap-step[data-step="4"] .step-content {
  transition-delay: 0.8s;
}

.roadmap-step[data-step="5"] {
  transition-delay: 0.9s;
}

.roadmap-step[data-step="5"] .step-content {
  transition-delay: 1.0s;
}

.roadmap-step[data-step="6"] {
  transition-delay: 1.1s;
}

.roadmap-step[data-step="6"] .step-content {
  transition-delay: 1.2s;
}

/* ========================================================
   CUSTOMER REVIEWS MARQUEE
   ======================================================== */
.customer-reviews {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

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

.customer-reviews h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.customer-reviews .subtitle {
  color: #888;
  font-size: 1.1rem;
  margin: 0;
}

.reviews-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  /* Edge fade effect */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding-left: 30px;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

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

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

.review-card {
  flex: 0 0 380px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
}

.review-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(134, 174, 161, 0.1);
}

.review-card .stars {
  color: #ffb400;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
  font-weight: 400;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #f5f5f5;
  padding-top: 20px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.user-details h4 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: #000;
  margin: 0;
  margin-bottom: 2px;
}

.user-details p {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

/* ========================================================
   VIDEO REVIEWS (UNBOXING THE TRUTH)
   ======================================================== */
.video-reviews-section {
  padding: 80px 0;
  background: #0a0a0a;
  /* Dark premium background */
  color: #fff;
  overflow: hidden;
}

.video-reviews-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.video-reviews-header {
  text-align: center;
  margin-bottom: 10px;
  padding: 0 5%;
}

.video-reviews-header h2 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.video-reviews-header .section-subtitle {
  font-size: 1.1rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

.video-grid-wrapper {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px 0;
  position: relative;
  /* Edge fade effect */
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.video-grid-wrapper::-webkit-scrollbar {
  display: none;
}

.video-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0 5%;
}

.video-card-premium {
  flex: 0 0 240px;
  aspect-ratio: 9 / 16;
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-card-premium:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(134, 174, 161, 0.15);
}

.video-card-premium video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 40%);
  pointer-events: none;
}

.video-card-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.video-card-info h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .video-reviews-section {
    padding: 60px 0;
  }

  .video-reviews-header {
    margin-bottom: 25px;
  }

  .video-reviews-header h2 {
    font-size: 2.2rem;
  }

  .video-grid-wrapper {
    padding-top: 0;
  }

  .video-grid {
    justify-content: center;
    padding-left: 0;
    gap: 12px;
  }

  .video-card-premium {
    flex: 0 0 160px;
  }

  .reviews-track {
    /* Mobile animation duration will be set via JS */
  }
}

/* Floating Cart Popup */
.floating-cart-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--secondary);
  padding: 10px 15px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  color: white;
  min-width: 280px;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-cart-popup.show {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
  opacity: 1;
}

.floating-cart-popup:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cart-thumbnails {
  display: flex;
  align-items: center;
  position: relative;
  height: 45px;
  min-width: 45px;
}

.cart-thumb {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid white;
  background: white;
  object-fit: contain;
  position: relative;
}

.cart-thumb:not(:first-child) {
  margin-left: -20px;
}

.cart-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#floatingCartItemsCount {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 500;
  margin-bottom: -2px;
}

#floatingCartTotalPrice {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.cart-btn-pill {
  background: var(--highlight);
  color: var(--secondary);
  height: 45px;
  padding: 0 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cart-btn-pill i:first-child {
  font-size: 1.1rem;
}

.cart-btn-pill i:last-child {
  font-size: 0.7rem;
  opacity: 0.7;
}

.floating-cart-popup:hover .cart-btn-pill {
  background: white;
}

@media (max-width: 768px) {
  .floating-cart-popup {
    bottom: 20px;
    width: calc(100% - 160px);
    min-width: unset;
    padding: 8px 12px;
  }

  .cart-thumb {
    width: 40px;
    height: 40px;
  }

  .cart-thumbnails {
    height: 40px;
    min-width: 40px;
  }

  #floatingCartTotalPrice {
    font-size: 1.1rem;
  }

  .cart-btn-pill {
    height: 40px;
    padding: 0 15px;
  }
}

/* Reports Modal & Button */
.report-btn {
  background: var(--light);
  border: 1.5px solid var(--primary);
  color: var(--secondary);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.report-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.reports-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 61, 66, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.reports-overlay.open {
  visibility: visible;
  opacity: 1;
}

.reports-modal {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.reports-overlay.open .reports-modal {
  transform: scale(1) translateY(0);
}

.reports-modal h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 20px;
  text-align: center;
}

.reports-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-link-item {
  background: #f9f9f9;
  padding: 14px 20px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  border: 1px solid rgba(134, 174, 161, 0.1);
  transition: all 0.2s ease;
}

.report-link-item:hover {
  background: var(--light);
  border-color: var(--primary);
  transform: translateX(5px);
}

.report-link-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.close-reports {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  border: none;
  background: var(--secondary);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-reports:hover {
  background: var(--primary);
}

.product-report-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-report-icon:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 15px rgba(217, 122, 94, 0.4);
}

.report-btn {
  background: white;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  width: fit-content;
}

.report-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 122, 94, 0.2);
}

/* Price Breakdown Button */
.price-breakdown-btn {
  margin-left: 10px;
  background: var(--light);
  color: var(--secondary);
  border: 1px solid rgba(12, 61, 66, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.6rem;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}

.price-breakdown-btn .mobile-text {
  display: none;
}

.price-breakdown-btn i {
  display: none;
}

.price-breakdown-btn:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(12, 61, 66, 0.15);
  border-color: var(--secondary);
}

@media (max-width: 768px) {
  .product-price {
    flex-wrap: wrap !important;
  }

  .p-price-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .price-breakdown-btn {
    flex: 0 0 100%;
    width: fit-content;
    margin-left: 0 !important;
    margin-top: 4px;
    padding: 2px 8px;
    height: auto;
    border-radius: 50px;
    background: var(--light);
    border: 1px dashed var(--secondary);
    color: var(--secondary);
    justify-content: center;
    font-size: 0.55rem;
    box-shadow: 0 2px 5px rgba(12, 61, 66, 0.05);
  }

  /* Specific override for Product Detail Page to sit next to discount */
  .p-price-row .price-breakdown-btn {
    flex: 0 0 auto;
    margin-top: 0;
    margin-left: 0 !important;
    padding: 2px 6px;
    font-size: 0.52rem;
  }

  .price-breakdown-btn .desktop-text {
    display: none;
  }

  .price-breakdown-btn .mobile-text {
    display: inline;
    font-weight: 700;
  }

  .price-breakdown-btn i {
    display: none;
  }
}


/* Ensure relative positioning for badge overlays */
.main-image-wrapper,
.p-image-container {
  position: relative !important;
}

/* Product Type Badges Refinement */
.product-type-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-type-badge.organic {
  background-color: rgba(232, 245, 233, 0.9);
  color: #1b5e20;
}

.product-type-badge.natural {
  background-color: rgba(255, 243, 224, 0.9);
  color: #e65100;
}

/* Ensure badges in product cards look consistent */
.p-info-stack .product-type-badge {
  margin-bottom: 5px;
}

/* Custom Highlights for headings */
.highlight-healthy {
  background: var(--primary);
  /* Sage */
  color: #fff;
  padding: 2px 12px;
  border-radius: 12px;
  display: inline-block;
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 4px 15px rgba(134, 174, 161, 0.4);
  font-weight: 800;
}

.highlight-entrepreneur {
  background: var(--highlight);
  /* Honey */
  color: var(--secondary);
  /* Deep Teal */
  padding: 2px 12px;
  border-radius: 12px;
  display: inline-block;
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 4px 15px rgba(228, 184, 97, 0.4);
  font-weight: 800;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 120px 7% 100px;
  background-color: #fdfaf6;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.reviews-faq-divider {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.reviews-faq-divider svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 80px;
  left: 50%;
  transform: translateX(-50%);
}

.reviews-faq-divider svg path {
  fill: #FFFFFF;
}

@media (max-width: 768px) {
  .reviews-faq-divider svg {
    height: 50px;
    width: calc(200% + 1.3px);
  }
}


/* Background blob */
.faq-bg-blob {
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background-color: #ebefe5;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: -1;
  opacity: 0.7;
}

/* Background dots */
.faq-bg-dots-top {
  position: absolute;
  top: 60px;
  right: 80px;
  width: 200px;
  height: 150px;
  background-image: radial-gradient(#d5d7d3 2.5px, transparent 2.5px);
  background-size: 20px 20px;
  z-index: -1;
}

.faq-bg-dots-bottom {
  position: absolute;
  bottom: 120px;
  left: 60px;
  width: 150px;
  height: 180px;
  background-image: radial-gradient(#d5d7d3 2.5px, transparent 2.5px);
  background-size: 20px 20px;
  z-index: -1;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: stretch;
}

.faq-sticky-sidebar {
  flex: 0 0 350px;
  position: sticky;
  top: calc(var(--header-h, 100px) + 40px);
  height: fit-content;
  z-index: 10;
  padding-bottom: 50px;
}

.faq-sticky-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-title-large {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  line-height: 1;
  color: var(--secondary);
  margin: 0;
  font-weight: 800;
  letter-spacing: -1px;
}

.faq-title-underline {
  width: 50px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 5px;
}

.faq-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-top: 10px;
  max-width: 90%;
}

.faq-leaf-container {
  margin-top: 40px;
  margin-left: -50px;
  width: 450px;
  max-width: none;
  pointer-events: none;
}

.faq-leaf-graphic {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transform: rotate(-15deg);
  filter: contrast(1.1) saturate(1.2);
}


.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.faq-item {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: rgba(134, 174, 161, 0.2);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: 0 15px 40px rgba(12, 61, 66, 0.08);
  border-color: rgba(134, 174, 161, 0.3);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.faq-q-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ebefe5;
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-question h3 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.faq-icon-box {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ebefe5;
  border-radius: 50%;
  color: var(--secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-box {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  /* Large enough for content */
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 30px 30px 30px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  padding-left: 20px;
  list-style-type: none;
}

.faq-answer li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

.faq-answer li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Tablet & Mobile */
@media (max-width: 1024px) {
  .faq-title-large {
    font-size: 6rem;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 5%;
  }

  .faq-bg-blob {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
  }

  .faq-bg-dots-top,
  .faq-bg-dots-bottom {
    display: none;
  }

  .faq-container {
    flex-direction: column;
    gap: 20px;
  }

  .faq-sticky-sidebar {
    position: relative;
    top: 0;
    flex: none;
    width: 100%;
    padding-bottom: 0;
  }

  .faq-sticky-content {
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .faq-title-large {
    font-size: 5rem;
    letter-spacing: -2px;
  }

  .faq-leaf-container {
    margin-left: 0;
    margin-top: 20px;
    width: 300px;
    margin: 20px auto 0;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 0.85rem;
  }

  .faq-q-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    gap: 12px;
  }

  .faq-q-left {
    gap: 12px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px 20px;
  }
}


.faq-bottom-leaf-wrap {
  position: absolute;
  bottom: -70px;
  left: -160px;
  width: 650px;
  z-index: -1;
  pointer-events: none;
  transform: rotate(10deg);
  opacity: 0.7;
}

.faq-bottom-leaf {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05) saturate(1.1);
}

@media (max-width: 768px) {
  .faq-bottom-leaf-wrap {
    width: 400px;
    bottom: -80px;
    left: -80px;
    opacity: 0.5;
  }
}

/* ========================================================
   IMPROVED MOBILE CURTAIN MENU
   ======================================================== */

.mobile-menu-overlay {
  background: rgba(12, 61, 66, 0.4) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.curtain-panel {
  background: var(--secondary) !important;
  border-right: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.3);
}

/* Subtle pattern overlay on panels */
.curtain-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(228, 184, 97, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.mobile-nav-links {
  gap: 12px !important;
  padding: 0 10% !important;
  width: 100%;
  max-width: 600px;
  align-items: flex-start !important;
  text-align: left !important;
}

.mobile-nav-links a {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  color: white !important;
  letter-spacing: -1.5px !important;
  line-height: 1 !important;
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  position: relative;
  padding: 8px 0 !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(-30px);
}

.mobile-menu-overlay.open .mobile-nav-links a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-links a.active-link {
  color: var(--highlight) !important;
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--highlight);
  transition: width 0.4s ease;
  border-radius: 2px;
}

.mobile-nav-links a:hover {
  padding-left: 15px !important;
  color: var(--highlight) !important;
}

.mobile-nav-links a:hover::before {
  width: 30px;
}

/* Sub-menu styling for Consciousness Capitalism */
.mobile-nav-links div {
  margin-left: 25px !important;
  border-left: 1.5px solid rgba(228, 184, 97, 0.4);
  padding-left: 25px !important;
  margin-top: 0;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px !important;
}

.mobile-nav-links div a {
  font-size: 1.05rem !important;
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.5px !important;
  opacity: 0 !important;
  transform: translateX(-20px) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-shadow: none !important;
  padding: 2px 0 !important;
}

.mobile-menu-overlay.open .mobile-nav-links div a {
  opacity: 0.7 !important;
  transform: translateX(0) !important;
}

.mobile-nav-links div a:hover {
  opacity: 1 !important;
  color: var(--highlight) !important;
  padding-left: 10px !important;
}

.mobile-nav-links div a::before {
  height: 1.5px !important;
  bottom: 0 !important;
}

/* Refined Staggered Animations */
.mobile-menu-overlay.open .mobile-nav-links a:nth-child(1) {
  transition-delay: 0.35s !important;
}

.mobile-menu-overlay.open .mobile-nav-links a:nth-child(2) {
  transition-delay: 0.45s !important;
}

.mobile-menu-overlay.open .mobile-nav-links a:nth-child(3) {
  transition-delay: 0.55s !important;
}

/* Sub-links delays */
.mobile-menu-overlay.open .mobile-nav-links div a:nth-child(1) {
  transition-delay: 0.65s !important;
}

.mobile-menu-overlay.open .mobile-nav-links div a:nth-child(2) {
  transition-delay: 0.7s !important;
}

.mobile-menu-overlay.open .mobile-nav-links div a:nth-child(3) {
  transition-delay: 0.75s !important;
}

.mobile-menu-overlay.open .mobile-nav-links div a:nth-child(4) {
  transition-delay: 0.8s !important;
}

.mobile-menu-overlay.open .mobile-nav-links a:nth-child(5) {
  transition-delay: 0.9s !important;
}

.mobile-menu-overlay.open .mobile-nav-links a:nth-child(6) {
  transition-delay: 1s !important;
}

.mobile-menu-overlay.open .mobile-nav-links a:nth-child(7) {
  transition-delay: 1.1s !important;
}

/* Elegant Close Button */
.close-menu {
  top: 35px !important;
  right: 35px !important;
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-size: 1.4rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.close-menu:hover {
  background: var(--highlight) !important;
  color: var(--secondary) !important;
  transform: rotate(180deg) scale(1.1);
  border-color: var(--highlight) !important;
}

/* Menu Footer with Branding */
.mobile-menu-footer {
  bottom: 40px !important;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 1.2s !important;
}

.mobile-menu-overlay.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-footer img {
  height: 50px !important;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.mobile-menu-footer::after {
  content: 'Authentic. Traditional. Pure.';
  font-size: 0.7rem;
  color: white;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.4;
  font-family: var(--font-main);
}

/* Responsive adjustments for shorter screens to prevent overlapping */
@media (max-height: 850px) {
  .mobile-nav-links {
    gap: 10px !important;
  }

  .mobile-nav-links a {
    font-size: 2.4rem !important;
    padding: 6px 0 !important;
  }

  .mobile-nav-links div {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .mobile-nav-links div a {
    font-size: 1rem !important;
  }

  .mobile-menu-footer {
    bottom: 30px !important;
    gap: 12px !important;
  }

  .mobile-menu-footer img {
    height: 45px !important;
  }
}

@media (max-height: 700px) {
  .mobile-nav-links {
    gap: 8px !important;
  }

  .mobile-nav-links a {
    font-size: 2.0rem !important;
    padding: 4px 0 !important;
  }

  .mobile-nav-links div {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .mobile-nav-links div a {
    font-size: 0.9rem !important;
  }

  .mobile-menu-footer {
    bottom: 20px !important;
    gap: 10px !important;
  }

  .mobile-menu-footer img {
    height: 35px !important;
  }

  .mobile-menu-footer::after {
    font-size: 0.65rem;
    letter-spacing: 3px;
  }
}

@media (max-height: 600px) {
  .mobile-nav-links {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-bottom: 20px !important;
  }

  .mobile-nav-links a {
    font-size: 1.7rem !important;
  }

  .mobile-nav-links div a {
    font-size: 0.85rem !important;
  }
}

/* Product Story Accordion Styles */
.p-story-accordion {
  border-bottom: 1.5px solid rgba(134, 174, 161, 0.1);
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.p-story-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  cursor: pointer;
  user-select: none;
}

.p-story-header h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.p-story-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfaf6;
  border: 1px solid rgba(134, 174, 161, 0.2);
  border-radius: 50%;
  color: var(--secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.75rem;
}

.p-story-accordion.active .p-story-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.p-story-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.p-story-accordion.active .p-story-content {
  max-height: 1500px;
  opacity: 1;
  padding-bottom: 30px;
}

.p-story-content-inner p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.p-story-content-inner p:last-child {
  margin-bottom: 0;
}

.story-intro {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

/* ==========================================================================
   Consumer Education (Blogs) Section
   ========================================================================== */
.consumer-education-section {
  padding: 80px 5%;
  background: #fff;
  position: relative;
  z-index: 5;
}

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

.edu-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(217, 122, 94, 0.1);
  color: var(--accent);
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.edu-subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-top: 15px;
}

.blog-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(134, 174, 161, 0.15);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-badge-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-content h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.3s ease;
  font-family: var(--font-display);
}

.blog-card:hover .blog-card-content h3 {
  color: var(--accent);
}

.blog-card-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.blog-card:hover .read-more {
  color: var(--accent);
  gap: 12px;
}

/* ===== Inspiration Section ===== */
.inspiration-section {
  padding: 120px 5% 80px 5%; /* Increased top padding to accommodate negative margin */
  margin-top: -60px; /* Pull it up to sit under the fading legacy section */
  background-image: url('static/inspired/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--light);
  text-align: center;
  position: relative;
  z-index: 5; /* Sit behind legacy section which is z-index: 6 */
  /* Fade in the background smoothly */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%);
}

.inspiration-header {
  margin-bottom: 60px;
}

.inspiration-eyebrow {
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.inspiration-title {
  font-size: 2.8rem;
  color: var(--secondary);
  font-family: var(--font-display);
}

.inspiration-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 15px 0 25px 0;
  color: #588166; /* Match the leaf color from the design */
}

.inspiration-divider .line {
  height: 2px;
  width: 90px;
  background-color: #588166;
  opacity: 0.8;
}

.inspiration-divider i {
  font-size: 1.5rem;
}

.inspiration-subtitle {
  font-size: 1.15rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.inspiration-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.inspiration-card {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(134, 174, 161, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.inspiration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(134, 174, 161, 0.05) 100%);
  z-index: -1;
  border-radius: 24px;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.inspiration-card:hover::before {
  opacity: 1;
}

.inspiration-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(12, 61, 66, 0.12);
  border-color: var(--primary);
}

.inspiration-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  border: 4px solid var(--mint);
  transition: all 0.5s ease;
  background-color: #f5f5f5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.inspiration-card:hover .inspiration-img-wrap {
  transform: scale(1.08);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(217, 122, 94, 0.2);
}

.inspiration-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.inspiration-card:hover .inspiration-img-wrap img {
  transform: scale(1.1);
}

.inspiration-name {
  font-size: 1.5rem;
  color: var(--secondary);
  font-family: var(--font-display);
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.inspiration-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 25px;
  flex: 1;
}

.inspiration-logo-wrap {
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(134, 174, 161, 0.3);
  position: relative;
}

.inspiration-logo-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(134, 174, 161, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.inspiration-card:hover .inspiration-logo-wrap::before {
  opacity: 1;
}

.inspiration-logo-wrap img {
  height: 80px; /* Forced height to ensure it scales up */
  width: 100%;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(1.1); /* Slight default scale to overcome padding */
}

.inspiration-card:hover .inspiration-logo-wrap img {
  transform: scale(1.25);
}

.quote-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: white;
  border-radius: 50% 50% 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(134, 174, 161, 0.3);
  z-index: 5;
}

@media (max-width: 768px) {
  .inspiration-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    scroll-behavior: smooth;
    /* Allow bleed to edges */
    margin-left: -5%;
    margin-right: -5%;
    padding-left: 5%;
    padding-right: 5%;
  }
  
  .inspiration-grid::-webkit-scrollbar {
    display: none;
  }
  
  .inspiration-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
  }
}

/* ===== Frontside Labelling Modal ===== */
.frontside-modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

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

.frontside-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.frontside-modal.active .frontside-modal-content {
  transform: scale(1);
}

.frontside-modal-content img {
  max-width: 100%;
  max-height: calc(90vh - 20px);
  display: block;
  border-radius: 8px;
}

.frontside-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 10;
  transition: background 0.3s ease;
}

.frontside-modal-close:hover {
  background: var(--mint);
}