:root {
  --primary: #0B6B2A;
  /* Deep Green */
  --secondary: #D4A12A;
  /* Heritage Gold */
  --accent: #D4A12A;
  /* Heritage Gold */
  --highlight: #C62828;
  /* Chilli Red */
  --light: #F8F6F3;
  /* Off White */
  --text-dark: #2C2C2C;
  /* Dark Charcoal */
  --text-light: #F8F6F3;
  --footer-bg: #2C2C2C;
  /* Dark Charcoal */
  --font-main: 'Poppins', sans-serif;
  --font-display: 'Cinzel', serif;
  --font-subheading: 'Montserrat', sans-serif;
}

* {
  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;
}

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: rgba(255, 255, 255, 0.141) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  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;
}

/* 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);
  background-color: white !important;
}

@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: #F8F6F3 !important;
  color: #3E2723 !important;
}

.icon-btn {
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.icon-btn.yellow {
  background: var(--accent);
}

.icon-btn:hover {
  transform: scale(1.1);
}

/* =============================================
   DESKTOP NAV BAR LINKS
   ============================================= */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
}

/* Animated underline bar */
.nav-link span {
  position: relative;
  z-index: 1;
}

.nav-link span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0B6B2A, #ff6b6b);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover span::after,
.nav-link.active span::after {
  width: 100%;
  left: 0;
}

/* Pill background on hover */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover::before {
  opacity: 1;
}

/* Color on hover / active */
.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* Active dot indicator */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

/* Scrolled state – dark text on white header */
header.header-scrolled .nav-link {
  color: rgba(44, 44, 44, 0.75);
}

header.header-scrolled .nav-link:hover,
header.header-scrolled .nav-link.active {
  color: var(--primary);
}

/* Shop link – always slightly highlighted */
.nav-link[href*="productsSection"] {
  background: rgba(11, 107, 42, 0.12);
  border: 1px solid rgba(11, 107, 42, 0.2);
  color: #fff;
}

header.header-scrolled .nav-link[href*="productsSection"] {
  background: rgba(11, 107, 42, 0.08);
  color: var(--primary);
}

.nav-link[href*="productsSection"]:hover {
  background: rgba(11, 107, 42, 0.22);
  box-shadow: 0 4px 16px rgba(11, 107, 42, 0.25);
}

/* Hide desktop nav on mobile – hamburger takes over */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
}

/* 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.
*/
@keyframes waveSlide {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: -100px;
  }
}

.scallop-down {
  width: 100%;
  height: 21px;
  /* Increased by 1px for overlap */
  background-repeat: repeat-x;
  background-size: 100px 20px;
  position: absolute;
  top: -1px;
  /* Slight overlap to prevent gap */
  left: 0;
  z-index: 10;
  animation: waveSlide 4s 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: 21px;
  /* Increased by 1px for overlap */
  background-repeat: repeat-x;
  background-size: 100px 20px;
  position: absolute;
  top: -20px;
  margin-top: 1px;
  /* Ensure 1px overlap into the section below */
  left: 0;
  z-index: 10;
  animation: waveSlide 4s linear infinite;
}

.bg-brown-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,0 Z' fill='%230B6B2A'/%3E%3C/svg%3E");
}

.bg-burgundy-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,0 Z' fill='%232C2C2C'/%3E%3C/svg%3E");
}

.bg-yellow-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,0 Z' fill='%23F5E9D3'/%3E%3C/svg%3E");
}

.bg-brown-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='%230B6B2A'/%3E%3C/svg%3E");
}

.bg-footer-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='%232C2C2C'/%3E%3C/svg%3E");
}

.bg-yellow-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='%23F5E9D3'/%3E%3C/svg%3E");
}

.bg-dark-green-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='%230B6B2A'/%3E%3C/svg%3E");
}

.bg-dark-green-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,0 Z' fill='%230B6B2A'/%3E%3C/svg%3E");
}

.bg-red-scallop-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='%230B6B2A'/%3E%3C/svg%3E");
}

.bg-red-scallop-down {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,0 Z' fill='%230B6B2A'/%3E%3C/svg%3E");
}

.bg-light-up {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='%23f7f2ee'/%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='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,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='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,0 L0,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: -20px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 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%;
  min-height: 100vh;
  padding-top: 0;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .hero-video-section {
    min-height: calc(100vh - 65px);
    min-height: calc(100svh - 65px);
  }
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
  width: 100%;
  background: var(--primary, #0B6B2A);
  /* Fiery red background */
  color: #F9F0B3;
  /* Bright Gold text */
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid #D4A12A;
  border-bottom: 2px solid #D4A12A;
  z-index: 5;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-content span {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-right: 40px;
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.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 panel) --- */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 2%;
  padding-top: var(--header-h, 120px);
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
  margin-top: 4vh; /* Push down slightly on larger screens instead of flex center */
}

.hero-frame {
  width: 100%;
  max-width: 1600px;
  position: relative;
  padding: 60px 40px;
  margin-top: 40px;
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 161, 42, 0.5);
  border-radius: 30px;
  -webkit-mask-image: linear-gradient(to right, black 0%, black calc(50% - 150px), transparent calc(50% - 150px), transparent calc(50% + 150px), black calc(50% + 150px), black 100%);
  mask-image: linear-gradient(to right, black 0%, black calc(50% - 150px), transparent calc(50% - 150px), transparent calc(50% + 150px), black calc(50% + 150px), black 100%);
  pointer-events: none;
}

.hero-eyebrow-container {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  text-align: center;
}

.hero-brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #D4A12A;
  font-family: 'Cinzel', serif;
  font-size: 1.55rem;
  letter-spacing: 5px;
  line-height: 1.2;
  text-align: center;
}

.decor-line {
  width: 22px;
  height: 2px;
  background: #D4A12A;
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.decor-line::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D4A12A;
  top: -1px;
}

.decor-line:first-child::after {
  right: -6px;
}

.decor-line:last-child::after {
  left: -6px;
}

.hero-brand-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 3px;
  margin-top: 6px;
  text-transform: uppercase;
}

.hero-sub-deco {
  color: #D4A12A;
  font-size: 0.6rem;
  vertical-align: middle;
}

.hero-left-box {
  max-width: 850px;
  position: relative;
  text-align: left;
  margin-top: 30px;
}

/* Script text above title */
.hero-script-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: #D4A12A;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-script-text .small-icon {
  font-size: 0.8rem;
  color: #D4A12A;
  opacity: 0.7;
}

.hero-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  text-shadow: 2px 4px 14px rgba(0, 0, 0, 0.55);
}

/* Line 1: "Bringing" – medium weight, white */
.hero-title .ht-line-1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0px;
  color: #fff;
  line-height: 1;
}

/* Line 2: "Authentic" – bold, white */
.hero-title .ht-line-2 {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0px;
  color: #fff;
  line-height: 0.9;
}

/* Line 3: "Godavari Taste" – gold, largest */
.hero-title .ht-line-gold {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  color: #D4A12A;
  letter-spacing: 0px;
  text-shadow: 2px 2px 12px rgba(212, 161, 42, 0.35);
  line-height: 0.95;
  margin-top: 4px;
  white-space: nowrap;
}

/* Line 4: "At Your Doorstep" – cursive script */
.hero-title .ht-line-script {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 5px;
  line-height: 1;
}

/* Decorative divider between title and subtitle */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 20px;
}

.hero-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(212, 161, 42, 0.5);
  max-width: 80px;
}

.hero-divider-icon {
  color: #D4A12A;
  font-size: 0.9rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(230, 225, 216, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
  border-left: 3px solid rgba(212, 161, 42, 0.45);
  padding-left: 18px;
}


.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-primary-btn {
  background: linear-gradient(180deg, #085220, #043011);
  border: 1px solid rgba(212, 161, 42, 0.8);
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(8, 82, 32, 0.4);
}

.hero-primary-btn:hover {
  background: linear-gradient(180deg, #0a7b31, #054117);
  box-shadow: 0 0 20px rgba(8, 82, 32, 0.6);
}

.hero-secondary-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 161, 42, 0.5);
  color: #fff;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
  background: rgba(212, 161, 42, 0.2);
  border-color: #D4A12A;
}

.hero-stamp {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.hero-stamp-svg {
  width: 100%;
  height: 100%;
}

/* --- 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(5, 5, 5, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(212, 161, 42, 0.3);
  padding: 20px 6%;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  padding: 8px 30px;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Circular gold-bordered icon */
.trust-badge-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 161, 42, 0.7);
  background: rgba(212, 161, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.trust-badge-circle i {
  font-size: 1.1rem;
  color: #D4A12A;
}

.trust-badge-item:hover .trust-badge-circle {
  background: rgba(212, 161, 42, 0.2);
}

.trust-badge-item span {
  color: rgba(255, 255, 255, 0.8);
}

.trust-badge-item span strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(212, 161, 42, 0.25);
  flex-shrink: 0;
}

/* Legacy: Highlighted count badge */
.trust-badge-item--highlight {
  background: rgba(212, 161, 42, 0.12);
  border-radius: 12px;
  border: 1px solid rgba(212, 161, 42, 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;
  }
}

/* Desktop Extension for zoom & large screens */
@media (min-width: 1200px) {
  .hero-video-section {
    min-height: 850px;
    /* Give it even more height on large desktops */
  }

}

/* --- Mobile Responsive: <= 768px --- */
@media (max-width: 768px) {
  .hero-video-section {
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px);
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 0 3%;
    padding-top: 110px;
  }

  .hero-frame {
    padding: 80px 20px 40px;
    margin-top: 60px;
    border-radius: 15px;
  }

  .hero-frame::before {
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(50% - 130px), transparent calc(50% - 130px), transparent calc(50% + 130px), black calc(50% + 130px), black 100%);
    mask-image: linear-gradient(to right, black 0%, black calc(50% - 130px), transparent calc(50% - 130px), transparent calc(50% + 130px), black calc(50% + 130px), black 100%);
  }

  .hero-eyebrow-container {
    width: 100%;
    padding: 0;
    top: -12px;
  }

  .hero-brand-name {
    font-size: 1rem;
    letter-spacing: 2px;
    gap: 8px;
  }

  .decor-line {
    width: 15px;
  }

  .hero-brand-sub {
    white-space: nowrap;
    font-size: 0.65rem;
  }

  .hero-script-text {
    font-size: 1.3rem;
    margin-bottom: 6px;
    justify-content: center;
  }

  .hero-left-box {
    margin-top: 30px;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-divider {
    justify-content: center;
    width: 100%;
  }

  .hero-title {
    gap: 0;
    margin-bottom: 14px;
  }

  .hero-title .ht-line-1 { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .hero-title .ht-line-2 { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-title .ht-line-gold { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-title .ht-line-script { font-size: clamp(1.4rem, 6vw, 2.4rem); }

  .hero-subtitle {
    border-left: none;
    padding-left: 0;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stamp {
    width: 70px;
    height: 70px;
    top: -10px;
    right: -5px;
  }

  .hero-trust-strip {
    gap: 0;
    padding: 12px 2%;
  }

  .trust-badge-item {
    padding: 4px 8px;
    gap: 8px;
    font-size: 0.68rem;
  }

  .trust-badge-circle {
    width: 34px;
    height: 34px;
  }

  .trust-badge-circle i {
    font-size: 0.85rem;
  }

  .trust-divider {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 4%;
    padding-top: var(--header-h, 90px);
  }

  .hero-frame {
    padding: 70px 15px 30px;
  }

  .hero-frame::before {
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(50% - 85px), transparent calc(50% - 85px), transparent calc(50% + 85px), black calc(50% + 85px), black 100%);
    mask-image: linear-gradient(to right, black 0%, black calc(50% - 85px), transparent calc(50% - 85px), transparent calc(50% + 85px), black calc(50% + 85px), black 100%);
  }

  .hero-brand-name {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .decor-line {
    display: none;
  }

  .hero-brand-sub {
    font-size: 0.65rem;
  }

  .hero-left-box {
    padding: 10px 10px;
    border-left: none;
    border-bottom: none;
    border-top: none;
    text-align: center;
  }

  .hero-subtitle {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }

  .hero-script-text {
    justify-content: center;
    font-size: 1.4rem;
  }

  .hero-stamp {
    width: 60px;
    height: 60px;
    top: -10px;
    right: -5px;
  }
}

.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);
}

/* Why Sree Section */
.why-sree {
  position: relative;
  overflow: hidden; /* Added to keep video contained */
  /* background-image: url('im/spicy_texture.png'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  color: #fff;
  text-align: center;
  padding: 8rem 5% 6rem;
  z-index: 5;
  border-top: 4px solid #4C6530; /* Elegant olive green border */
  border-bottom: 4px solid #4C6530;
  font-family: 'Cinzel', serif;
}

.ws-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Keep below overlay */
}

.ws-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(248 244 235 / 8%) 0%, rgb(248 244 235 / 61%) 60%, rgba(248, 244, 235, 0.15) 100%);
  z-index: 1; /* Keep above background video */
}

.ws-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Keep above overlay */
}

.ws-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #2F451A;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.ws-deco {
  color: #718C44;
  font-size: 0.85rem;
}

.ws-title-group {
  margin-bottom: 1.5rem;
}

.ws-title-small {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #2F451A;
  line-height: 1.2;
  letter-spacing: 3px;
  margin: 0;
}

.ws-title-large {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #4C6530; /* Lighter olive */
  line-height: 1;
  letter-spacing: 5px;
  margin: 0.5rem 0;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.05);
}

.ws-title-small:last-child {
  color: #632B21; /* Rich maroon/brown */
}

.ws-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 2.5rem auto;
  max-width: 450px;
}

.ws-line {
  height: 1px;
  flex: 1;
  background: rgba(76, 101, 48, 0.4);
}

.ws-icon {
  color: #718C44;
  font-size: 1.4rem;
}

.ws-subtitle {
  color: #2c2c2c;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 auto 5rem;
  font-weight: 500;
  max-width: 800px;
}

.ws-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 30px;
  margin-bottom: 5rem;
}

.ws-feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background 0.4s ease;
}

.ws-feat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.22);
}

.ws-feat-icon {
  width: 90px;
  height: 90px;
  background: #506A33; /* Elegant green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  color: #fff;
  font-size: 2.4rem;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.ws-feat-item:hover .ws-feat-icon {
  transform: scale(1.05);
}

.ws-feat-item h3 {
  font-size: 1.15rem;
  color: #2F451A;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.ws-feat-item p {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

.ws-feat-divider {
  display: none; /* Hide vertical dividers when using glassmorphism cards */
}

.ws-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #4C6530;
  color: #fff;
  text-decoration: none;
  padding: 16px 45px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  border: 1px solid #D4A12A;
  box-shadow: 0 10px 25px rgba(76, 101, 48, 0.3);
  transition: all 0.3s ease;
}

.ws-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(76, 101, 48, 0.4);
  background: #3E5425;
}

.ws-features-wrapper {
  width: 100%;
  overflow: hidden;
}

.mobile-dup {
  display: none;
}

@media (max-width: 900px) {
  .mobile-dup {
    display: flex;
  }
  .ws-features-wrapper {
    margin-left: -5%;
    margin-right: -5%;
    width: 110%;
  }
  .ws-features-grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 40px;
    padding-bottom: 20px;
    animation: ws-auto-scroll 15s linear infinite;
  }
  .ws-features-grid:hover,
  .ws-features-grid:active {
    animation-play-state: paused;
  }
  .ws-feat-item {
    width: 280px; /* fixed width for mobile cards */
  }
  .ws-feat-divider {
    display: none !important;
  }
  @keyframes ws-auto-scroll {
    0% { transform: translateX(0); }
    /* 50% of 6 items + 5 gaps = 3 items + 2.5 gaps. We subtract 0.5 gap (20px) to reach 3 items + 3 gaps exactly */
    100% { transform: translateX(calc(-50% - 20px)); }
  }
  .ws-title-large {
    font-size: 3rem;
  }
}

/* Collections */
.collections {
  background-color: transparent;
  padding: 6rem 5%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.collections-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 0);
  z-index: -1;
}

.products-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.collections-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(41 41 41 / 60%);
  /* Light overlay to ensure text readability */
}

.collections h2 {
  font-size: 2.8rem;
  color: #d4a12a;
  margin-bottom: 0.5rem;
}

.collections>p {
  color: var(--light);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

/* 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(--light);
  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(--accent);
}

.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;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  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%;
}

.product-card {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  background: linear-gradient(135deg, rgba(11, 107, 42, 0.4), rgba(11, 107, 42, 0.1));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(212, 161, 42, 0.4);
  border-right: 1px solid rgba(212, 161, 42, 0.1);
  border-bottom: 1px solid rgba(212, 161, 42, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(212, 161, 42, 0.3);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent);
}

.product-name {
  color: var(--light);
  margin-bottom: 1rem;
}

.buy-btn {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.buy-btn:hover {
  background-color: var(--primary);
}

/* Variant Selector Theme */
.variant-selector-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0;
}

.btn-variant {
  background: rgba(11, 107, 42, 0.3);
  border: 1px solid var(--accent);
  color: var(--light);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: var(--font-main);
}

.btn-variant:hover {
  background: rgba(212, 161, 42, 0.2);
  transform: scale(1.05);
}

.btn-variant.active {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(212, 161, 42, 0.3);
}

.btn-variant:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Quantity Controls Theme */
.qty-control-wrapper {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 161, 42, 0.3);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.qty-btn-card {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  border: none;
  background: rgba(212, 161, 42, 0.15);
  color: var(--accent);
  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(--accent);
  color: var(--text-dark);
}

.qty-input-styled {
  width: 35px;
  border: none;
  background: transparent;
  color: var(--light);
  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;
}

/* Button Group Premium */
.btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

}

.btn-add,
.buy-btn {
  padding: 10px 15px;
  border-radius: 50px !important;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-add {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 10px rgba(122, 43, 41, 0.2);
}

.btn-add:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.buy-btn {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(59, 35, 19, 0.2);
}

.buy-btn:hover {
  background: #27160b;
  transform: translateY(-2px);
}

.btn-disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.why-features-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin: 3rem 0 4rem;
}

.feat-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(212, 161, 42, 0.3), transparent);
  margin-top: 20px;
}

.why-feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
  max-width: 250px;
}

.why-feat-item .feat-icon {
  width: 65px;
  height: 65px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.why-feat-item .feat-icon i {
  font-size: 1.8rem;
  color: #e63946;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
}

.glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 161, 42, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(212, 161, 42, 0.2), inset 0 0 10px rgba(212, 161, 42, 0.1);
}

.glow-ring::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8), 0 0 15px #D4A12A;
}

.why-feat-item span {
  font-weight: 700;
  font-size: 1.05rem;
  color: #E6E1D8;
  letter-spacing: 1px;
}

.why-feat-item p {
  font-size: 0.85rem;
  color: #a8a096;
  line-height: 1.5;
  margin: 0;
}

.why-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(180deg, #7a0e0e, #4a0505);
  border: 1px solid #D4A12A;
  color: #fff;
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.3s ease;
}

.why-btn::before,
.why-btn::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #D4A12A;
  border-radius: 50%;
  background: #1a0505;
}

.why-btn::before {
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
}

.why-btn::after {
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
}

.why-btn:hover {
  background: linear-gradient(180deg, #8f1212, #5a0808);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(212, 161, 42, 0.2);
}

.why-btn i {
  font-size: 0.9rem;
  color: #D4A12A;
}

.why-btn .icon-left {
  transform: rotate(180deg);
}

@media (max-width: 480px) {
  .why-features-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1.5rem;
    padding-bottom: 20px;
    margin-left: -5%;
    margin-right: -5%;
    padding-left: 5%;
    padding-right: 5%;
  }

  .why-features-grid::-webkit-scrollbar {
    display: none;
  }

  .why-feat-item {
    flex: 0 0 auto;
    width: 220px;
  }

  .feat-divider {
    flex: 0 0 auto;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(212, 161, 42, 0.3), transparent);
    margin-top: 20px;
  }

  .stamp-100 {
    width: 80px;
    height: 80px;
    top: -10px;
    right: 0;
  }
}



@media (max-width: 768px) {
  .why-pavani {
    padding: 7rem 5% 8rem;
  }

  .why-title-wrap {
    flex-direction: column;
    gap: 10px;
  }

  .why-title-wrap h2 {
    font-size: 2rem;
    text-align: center;
  }

  .why-pavani .badge {
    display: none;
  }

  .why-pavani h3 {
    font-size: 1.5rem;
    padding: 0 5%;
  }


}

@media (min-width: 769px) {
  .duplicated {
    display: none !important;
  }
}

/* Founder Legacy Section */
.pavani-legacy {
  background: #fcf8f5;
  color: var(--text-dark);
  padding: 10rem 5%;
  position: relative;
  margin-top: -20px;
  z-index: 6;
  overflow: hidden;
}

.legacy-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.legacy-image-wrap {
  position: relative;
  padding: 20px;
}


.legacy-blob-bg {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: #8f835d;
  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-circular-badge {
  position: absolute;
  top: -15px;
  left: -20px;
  width: 130px;
  height: 130px;
  z-index: 10;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

.legacy-badge-svg {
  width: 100%;
  height: 100%;
}

.badge-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.legacy-nameplate {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4a0d0d, #290606);
  border: 1.5px solid #D4A12A;
  border-radius: 12px;
  padding: 12px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(212, 161, 42, 0.15);
  z-index: 10;
  white-space: nowrap;
  min-width: 250px;
}

.nameplate-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.decor-left,
.decor-right {
  color: #D4A12A;
  font-size: 1.2rem;
  opacity: 0.8;
}

.nameplate-text {
  text-align: center;
}

.nameplate-text h3 {
  font-family: var(--font-display, 'Outfit', serif);
  color: #D4A12A;
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.2;
}

.nameplate-text p {
  color: #f7ebd5;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  font-family: var(--font-main, sans-serif);
}

.legacy-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Centered (no-image) variant */
.legacy-centered {
  display: flex;
  justify-content: center;
  max-width: 860px;
}

.legacy-content-full {
  width: 100%;
  text-align: center;
  align-items: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #4a0d0d, #290606);
  border: 1.5px solid #D4A12A;
  border-radius: 12px;
  padding: 14px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 0 15px rgba(212,161,42,0.1);
  margin: 0.5rem 0 1rem;
}

.brand-badge-name {
  font-family: var(--font-display, 'Outfit', serif);
  color: #D4A12A;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
}

.legacy-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 1.5rem;
  width: 100%;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(212,161,42,0.25);
  border-radius: 14px;
  padding: 22px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.4;
}

.pillar-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(212,161,42,0.15);
}

.pillar-icon {
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .legacy-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-badge-name {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
  .brand-badge {
    padding: 12px 20px;
  }
}

.eyebrow {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.pavani-legacy h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--primary);
}

.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-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  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);
}

.achieve-item {
  display: flex;
  flex-direction: column;
  gap: 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;
  align-items: center;
  gap: 20px;
}

.media-mention span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #aaa;
}

.media-logos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: 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 {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .legacy-content {
    align-items: center;
  }

  .legacy-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  .pavani-legacy h2 {
    font-size: 2.5rem;
  }

  .media-mention {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .media-logos {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .achievement-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 1.5rem 0;
  }

  .achieve-value {
    font-size: 1.5rem;
  }

  .achieve-label {
    font-size: 0.65rem;
  }

  .pavani-legacy h2 {
    font-size: 2.2rem;
  }

  .legacy-badge {
    right: 10px;
    bottom: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Wholesale Section */
.wholesale-section {
  padding: 8rem 5%;
  background-color: #fcf8f5;
  /* Very light cream */
  text-align: center;
  position: relative;
}

.wholesale-header {
  margin-bottom: 5rem;
}

.wholesale-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.wholesale-line {
  width: 80px;
  height: 2px;
  background: var(--secondary);
  margin: 0 auto;
}

.wholesale-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  text-align: left;
}

.wholesale-eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1.5rem;
}

.wholesale-heading {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.wholesale-contact-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 2.5rem;
}

.wholesale-contact-bar .w-icon {
  color: var(--secondary);
  font-size: 1.5rem;
}

.wholesale-contact-bar p {
  font-size: 1.1rem;
  color: #666;
}

.whatsapp-wholesale-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-wholesale-btn:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Premium Flip Card */
.wholesale-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.premium-card-flip {
  background-color: transparent;
  width: 100%;
  max-width: 600px;
  height: 350px;
  perspective: 1000px;
  animation: float-card 5s ease-in-out infinite;
}

.p-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.premium-card-flip:hover .p-card-inner {
  transform: rotateY(180deg);
}

.p-card-front,
.p-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float-shadow 5s ease-in-out infinite;
}

@keyframes float-card {
  0% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }

  50% {
    transform: translateY(-20px) rotateX(2deg) rotateY(-1deg);
  }

  100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }
}

@keyframes float-shadow {
  0% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 45px 70px rgba(0, 0, 0, 0.15);
  }

  100% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
}

.p-card-front img,
.p-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-card-back {
  transform: rotateY(180deg);
}

.flip-hint {
  font-size: 0.9rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse-hint 2s ease-in-out infinite;
  margin-top: 10px;
}

@keyframes pulse-hint {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (max-width: 1100px) {
  .wholesale-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .wholesale-contact-bar {
    justify-content: center;
  }

  .wholesale-heading {
    font-size: 3rem;
  }

  .premium-card-flip {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .wholesale-section {
    padding: 4rem 5% 3rem;
  }

  .wholesale-heading {
    font-size: 2rem;
  }

  .premium-card-flip {
    height: 200px;
  }

  .wholesale-title {
    font-size: 2.5rem;
  }

  .wholesale-contact-bar p {
    font-size: 0.95rem;
  }

  .wholesale-contact-bar p strong {
    display: block;
    margin-top: 5px;
  }
}

@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);
}

/* Instagram */
.instagram-section {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--light);
  position: relative;
  /* Top Wave Mask */
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 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='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 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;

  margin-top: -20px;
  /* Overlap testimonial section with wavy top */
  min-height: 500px;
}

.insta-info {
  flex: 1;
  min-width: 300px;
  padding: 4rem 5% 3rem;
  /* More compact padding to match earlier height */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.insta-info h2 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.insta-info p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 300px;
}

.follow-btn {
  background-color: var(--secondary);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.insta-grid-wrapper {
  flex: 2;
  min-width: 300px;
  overflow: hidden;
  position: relative;
  max-height: 500px;
  /* Restored earlier height limit */
  align-self: stretch;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 250px;
}

.insta-grid.scrolling {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  animation: instaMarqueeVertical 20s linear infinite;
}

.insta-grid.scrolling:hover {
  animation-play-state: paused;
}

@keyframes instaMarqueeVertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-grid a:hover img {
  transform: scale(1.1);
}

/* Pre-Footer Banner */
.pre-footer-banner {
  width: 100%;
  height: 100%; /* Adjust height as needed */
  position: relative;
  overflow: hidden;
  display: block;
}

.pre-footer-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}

@media (max-width: 768px) {
  .pre-footer-banner {
    height: 200px;
  }
}

/* Footer */
footer {
  background-color: #0a421c;
  color: var(--light, #F8F6F3);
  padding: 5rem 5% 2rem;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(212, 161, 42, 0.2);
}

footer .brand {
  margin-bottom: 2.5rem;
  justify-content: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links a {
  color: var(--light, #F8F6F3);
  text-decoration: none;
  font-family: var(--font-subheading, 'Montserrat', sans-serif);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
  text-shadow: 0 5px 15px rgba(212, 161, 42, 0.3);
}

.footer-social {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-icons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icon-link {
  width: 45px;
  height: 45px;
  background: rgba(212, 161, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(212, 161, 42, 0.3);
}

.social-icon-link:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 161, 42, 0.4);
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.7;
  flex-wrap: wrap;
  text-align: center;
}

.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-pavani {
    padding: 6rem 5% 4rem;
  }

  .why-pavani h2 {
    font-size: 2.5rem !important;
  }

  .why-pavani h3 {
    font-size: 1.4rem !important;
  }

  .why-pavani 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;
  }
}

/* ================= 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: #750303 !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 #4a1a18 !important;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #8c3634 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #4a1a18 !important;
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #4a1a18 !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: var(--primary);
}

.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, 161, 42, 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, 161, 42, 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: -20px;

  /* 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='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 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='100' height='20'%3E%3Cpath d='M0,10 C30,25 70,-5 100,10 L100,20 L0,20 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;
  display: none;
  /* Hidden by default, shown if outlets exist */
}

.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;
  }
}

/* ================= PHONE OTP AUTH STYLES ================= */

/* Auth Phone Header */
.auth-phone-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-phone-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #750303, #a52a2a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 5px;
  box-shadow: 0 10px 25px rgba(117, 3, 3, 0.25);
  animation: pulseIcon 2s ease-in-out infinite;
}

.auth-phone-icon.otp-icon {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.25);
}

.auth-phone-icon.profile-icon {
  background: linear-gradient(135deg, #e65100, #ff6d00);
  box-shadow: 0 10px 25px rgba(230, 81, 0, 0.25);
}

@keyframes pulseIcon {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Phone Input Group */
.phone-input-group {
  display: flex;
  align-items: center;
  border: 2px solid #eae2dc;
  border-radius: 14px;
  overflow: hidden;
  background: #fdfaf8;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.phone-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(117, 3, 3, 0.08);
  background: #fff;
}

.phone-country-code {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--primary);
  background: #f5ece5;
  border-right: 2px solid #eae2dc;
  font-size: 1rem;
  min-width: 55px;
  text-align: center;
  user-select: none;
}

.phone-input-group input {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 14px 16px !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  letter-spacing: 2px;
  background: transparent !important;
  font-family: var(--font-main);
}

.phone-input-group input::placeholder {
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.95rem;
  color: #aaa;
}

/* OTP Input Group */
.otp-input-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.otp-box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid #eae2dc;
  border-radius: 14px;
  background: #fdfaf8;
  color: var(--primary);
  transition: all 0.3s ease;
  outline: none;
  font-family: var(--font-main);
}

.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(117, 3, 3, 0.1);
  background: #fff;
  transform: translateY(-2px);
}

.otp-box.filled {
  border-color: #2e7d32;
  background: #f1fdf1;
}

.otp-box.error {
  border-color: #d32f2f;
  background: #ffeaea;
  animation: shakeOtp 0.4s ease;
}

@keyframes shakeOtp {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* OTP Actions */
.otp-actions {
  text-align: center;
  margin-top: 15px;
}

.otp-timer {
  font-size: 0.85rem;
  color: #888;
}

.otp-timer strong {
  color: var(--primary);
}

.btn-resend-otp {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-resend-otp:hover {
  background: #fff4f4;
  transform: translateY(-1px);
}

/* Alt Auth Options (Google / Email buttons) */
.alt-auth-options {
  display: flex;
  gap: 12px;
  width: 100%;
}

.btn-alt-auth {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #eae2dc;
  background: #fff;
  color: #333;
  font-family: var(--font-main);
}

.btn-alt-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-alt-auth.btn-google {
  border-color: #ea4335;
  color: #ea4335;
}

.btn-alt-auth.btn-google:hover {
  background: #ea4335;
  color: white;
}

.btn-alt-auth.btn-email-auth {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-alt-auth.btn-email-auth:hover {
  background: var(--primary);
  color: white;
}

/* reCAPTCHA container */
#recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  min-height: 0;
  transition: min-height 0.3s ease;
}

#recaptcha-container>div {
  transform: scale(0.9);
  transform-origin: center;
}

/* Mobile OTP responsive */
@media (max-width: 400px) {
  .otp-box {
    width: 42px;
    height: 50px;
    font-size: 1.3rem;
    border-radius: 10px;
  }

  .otp-input-group {
    gap: 6px;
  }

  .auth-phone-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .phone-country-code {
    padding: 12px 12px;
    font-size: 0.9rem;
    min-width: 48px;
  }

  .alt-auth-options {
    flex-direction: column;
  }
}

/* Trust Badges & GST */
.trust-badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.badge-icon {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge-icon:hover {
  opacity: 1;
  transform: translateY(-8px) scale(1.1);
  filter: none;
}

.gst-number {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  border: 1.5px solid rgba(212, 161, 42, 0.4);
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.gst-number:hover {
  background: rgba(212, 161, 42, 0.1);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(212, 161, 42, 0.2);
}

@media (max-width: 480px) {
  .trust-badges-container {
    gap: 25px;
    margin-bottom: 2rem;
  }

  .badge-icon {
    height: 38px;
  }

  .gst-number {
    font-size: 0.85rem;
    padding: 8px 18px;
    width: 100%;
    max-width: 280px;
  }
}

/* =========================================
   PROCESS TIMELINE SECTION
========================================= */
/* =========================================
   PROCESS TIMELINE SECTION (PREMIUM DARK)
========================================= */
.process-timeline-section {
  margin: 60px 2%;
  border-radius: 40px;
  padding: 120px 5%;
  background: linear-gradient(135deg, #1f0000 0%, #3a0000 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 30px 60px rgba(117, 3, 3, 0.15);
}

.process-timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 161, 42, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.process-eyebrow {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #D4A12A;
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.process-header h2 {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.process-header p {
  color: #e0d5c1;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.timeline-container {
  max-width: 1050px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Dashed background line */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(212, 161, 42, 0.2) 0, rgba(212, 161, 42, 0.2) 10px, transparent 10px, transparent 20px);
  transform: translateX(-50%);
}

/* Glowing progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  background: #D4A12A;
  transform: translateX(-50%);
  border-radius: 4px;
  height: 0%;
  transition: height 0.4s ease-out;
  box-shadow: 0 0 15px #D4A12A, 0 0 30px rgba(212, 161, 42, 0.6);
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  flex-direction: row-reverse;
}

/* Connecting Horizontal Lines */
.timeline-connector {
  position: absolute;
  top: 50%;
  width: calc(50% - 40px);
  height: 2px;
  background: rgba(212, 161, 42, 0.1);
  z-index: 0;
  transition: background 0.8s ease;
}

.timeline-item.left .timeline-connector {
  right: 50%;
}

.timeline-item.right .timeline-connector {
  left: 50%;
}

.timeline-item.visible .timeline-connector {
  background: linear-gradient(90deg, rgba(212, 161, 42, 0.8), transparent);
}

.timeline-item.left.visible .timeline-connector {
  background: linear-gradient(270deg, rgba(212, 161, 42, 0.8), transparent);
}

/* Glassmorphism Cards */
.timeline-content.glass-card {
  width: 43%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  border: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  overflow: hidden;
  z-index: 2;
}

.timeline-content.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(212, 161, 42, 0.3);
}

.timeline-item.left .timeline-content {
  text-align: right;
}

/* Background Number Watermark */
.step-watermark {
  position: absolute;
  top: -25px;
  right: -15px;
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 11rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  z-index: 0;
  pointer-events: none;
  transition: color 0.4s ease, transform 0.4s ease;
}

.timeline-item.left .step-watermark {
  left: -15px;
  right: auto;
}

.timeline-content.glass-card:hover .step-watermark {
  color: rgba(212, 161, 42, 0.06);
  transform: scale(1.05);
}

.timeline-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #D4A12A, #aa8a29);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(212, 161, 42, 0.3);
}

.timeline-item.left .timeline-icon {
  margin-left: auto;
}

.timeline-content.glass-card:hover .timeline-icon {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 10px 25px rgba(212, 161, 42, 0.6);
}

.timeline-content h3 {
  font-family: var(--font-display, 'Cinzel', serif);
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

.timeline-content p {
  color: #d1c7b8;
  font-size: 1.05rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Glowing Dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #1f0000;
  border: 4px solid rgba(212, 161, 42, 0.3);
  border-radius: 50%;
  z-index: 3;
  transition: all 0.5s ease;
}

.dot-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(212, 161, 42, 0.6);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
}

.timeline-item.visible .timeline-dot {
  background: #D4A12A;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(212, 161, 42, 0.8);
}

.timeline-item.visible .dot-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .process-timeline-section {
    margin: 30px 0;
    border-radius: 0;
    padding: 80px 5%;
  }

  .process-header h2 {
    font-size: 2.8rem;
  }

  .timeline-line,
  .timeline-progress {
    left: 35px;
    transform: none;
  }

  .timeline-dot {
    left: 35px;
    transform: translate(-50%, -50%);
  }

  .timeline-connector {
    display: none;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .timeline-content.glass-card {
    width: calc(100% - 70px);
    margin-left: 70px;
    text-align: left !important;
    padding: 25px;
  }

  .timeline-item.left .timeline-icon {
    margin-left: 0;
  }

  .step-watermark {
    font-size: 7rem;
    right: -5px;
    left: auto !important;
  }
}

/* ===== OWNERS SECTION ===== */
.owners-section {
  padding: 100px 5%;
  background: url('im/godavari_bg.png') center/cover no-repeat fixed;
  background-color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.owners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.31); /* Light overlay to ensure text readability */
  z-index: 1;
}

.owners-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(252, 248, 245, 0), #fcf8f5);
  z-index: 1;
  pointer-events: none;
}

.owners-container {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.owners-eyebrow {
  color: #0B6B2A;
  font-family: var(--font-subheading, 'Montserrat', sans-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.o-leaf-left {
  transform: rotate(-30deg);
}
.o-leaf-right {
  transform: rotate(30deg) scaleX(-1);
}

.owners-floral-icon {
  margin-bottom: 5px;
}

.owners-title {
  font-family: var(--font-display, 'Cinzel', serif);
  margin-bottom: 20px;
  line-height: 1.1;
}

.ot-line-1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #0B6B2A;
  font-weight: 600;
}

.ot-line-2 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  color: #D4A12A;
  font-weight: 700;
}

.owners-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.o-line {
  height: 1px;
  width: 50px;
  background: #0B6B2A;
}

.o-div-leaf {
  color: #0B6B2A;
  font-size: 0.9rem;
  transform: rotate(45deg);
}

.owners-text-box {
  max-width: 750px;
  margin: 0 auto 50px;
}

.owners-text-box p {
  font-family: var(--font-subheading, 'Montserrat', sans-serif);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.o-highlight {
  color: #0B6B2A;
  font-weight: 700;
}

.owners-text-box em {
  font-style: italic;
  color: #555;
}

.o-text-separator {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.owners-badges {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  flex-wrap: nowrap;
  margin-bottom: 50px;
}

.o-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 250px;
}

.o-badge-separator {
  width: 1px;
  background: rgba(212, 161, 42, 0.4);
  margin: 10px 0;
}

.o-badge-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px dashed #D4A12A;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: inset 0 0 10px rgba(212, 161, 42, 0.1);
}

.o-badge-icon {
  font-size: 2.2rem;
  color: #0B6B2A;
}

.o-badge-circle .b-leaf-left {
  position: absolute;
  left: -15px;
  bottom: 10px;
  color: #0B6B2A;
  font-size: 0.8rem;
  transform: rotate(-45deg);
}

.o-badge-circle .b-leaf-right {
  position: absolute;
  right: -15px;
  bottom: 10px;
  color: #0B6B2A;
  font-size: 0.8rem;
  transform: rotate(45deg) scaleX(-1);
}

.o-badge-dots {
  position: absolute;
  bottom: -6px;
  background: #fff;
  padding: 0 5px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.o-badge-dots span {
  width: 3px;
  height: 3px;
  background: #D4A12A;
  border-radius: 50%;
}
.o-badge-dots .center-dot {
  width: 5px;
  height: 5px;
}

.o-badge-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B6B2A;
  line-height: 1.3;
  margin: 0 0 10px;
  text-transform: uppercase;
  text-align: center;
}

.o-badge-desc {
  font-family: var(--font-subheading, 'Montserrat', sans-serif);
  font-size: 0.8rem;
  color: #444;
  line-height: 1.5;
  text-align: center;
}

.owners-bottom-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid #D4A12A;
  padding: 12px 30px;
  border-radius: 6px;
  background: #fff;
}

.owners-bottom-banner span {
  font-family: var(--font-subheading, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: #0B6B2A;
}

.owners-bottom-banner i {
  color: #D4A12A;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .owners-badges-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
  }
  .owners-badges {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 40px;
    padding-right: 40px; /* Account for the missing 16th gap for perfect -50% translation */
    animation: owners-auto-scroll 20s linear infinite;
  }
  .o-badge {
    min-width: 250px;
  }
  .o-badge-separator {
    display: block; /* Keep separator visible for inline scroll */
  }
  .owners-badges .o-badge.mobile-dup {
    display: flex !important;
  }
  .owners-badges .o-badge-separator.mobile-dup {
    display: block !important;
  }
}

@keyframes owners-auto-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .o-badge {
    min-width: 200px;
  }
  .owners-bottom-banner {
    padding: 12px 15px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .owners-bottom-banner span {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

/* ===== COMMON THEME SECTION HEADER ===== */
.theme-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.theme-eyebrow {
  color: #0B6B2A;
  font-family: var(--font-subheading, 'Montserrat', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.theme-leaf-left {
  transform: rotate(-30deg);
}

.theme-leaf-right {
  transform: rotate(30deg) scaleX(-1);
}

.theme-floral-icon {
  margin-bottom: 5px;
}

.theme-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #0B6B2A;
  margin-bottom: 15px;
  line-height: 1.2;
}

.theme-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.t-line {
  height: 1px;
  width: 50px;
  background: #0B6B2A;
}

.theme-divider i {
  color: #D4A12A;
  font-size: 0.9rem;
}
