/* Stylesheet for Hyra Foods */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Fredoka:wght@300..700&family=Noto+Sans+Malayalam:wght@400;700&display=swap');

/* Brand Palette Variables */
:root {
  --red: #e2211c;
  --yellow: #F5C518;
  --cream: #FFF8EE;
  --green: #2D5A27;
  --brown: #5C3D1E;
  --sage: #A8C69F;
  --orange: #E8813A;
  --white: #FFFFFF;
  
  /* Per-product accent colors */
  --accent-puttu: #C8232A;
  --accent-rice-powder: #3F8B3F;
  --accent-rava: #E07B2A;
  --accent-wheat-puttu: #5C3D1E;
  --accent-palappam: #7B2D6E;
  --accent-payasam: #C5A059;
  --accent-dates: #D9722C;
  --accent-lime: #F0C419;
  --accent-mango: #5FA83E;
  --accent-garlic: #8B7BB8;
  --accent-fish-pickle: #C23B22;

  /* Helper semantic colors */
  --text-dark: #3D2B1A;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: #8B6B4A;
  
  /* Font stacks */
  --font-display: 'Fredoka', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-malayalam: 'Noto Sans Malayalam', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Essential for Lenis to control scrolling */
  background: radial-gradient(100% 100% at 50% 0%, #FFF8EE 30%, #F5C518 100%) no-repeat fixed;
}

body {
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  background: transparent;
}

/* Lenis Scroll Smoothness */
html.lenis {
  height: auto;
}

.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}

.lenis-smooth iframe {
  pointer-events: none;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Highlighted placeholder marker text for easy identification by client */
mark {
  background-color: rgba(245, 197, 24, 0.3);
  color: inherit;
  padding: 0 4px;
  border-radius: 2px;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--brown);
  border-radius: 5px;
  border: 2px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown);
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.8rem;
}

.italic-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Decorative SVGs and Floating assets */
.float-element {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

/* Curved Section Dividers */
.curve-divider-top {
  position: relative;
  overflow: visible;
}
.curve-divider-top::before {
  content: '';
  position: absolute;
  top: -41px;
  left: -1px;
  right: -1px;
  height: 42px;
  background-color: inherit;
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: 2;
}

.curve-divider-bottom {
  position: relative;
  overflow: visible;
}
.curve-divider-bottom::after {
  content: '';
  position: absolute;
  bottom: -41px;
  left: -1px;
  right: -1px;
  height: 42px;
  background-color: inherit;
  clip-path: ellipse(60% 100% at 50% 0%);
  z-index: 2;
}

/* Curved SVG Wave Section Dividers (Fix 6) */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
  z-index: 5;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}
.wave-to-green {
  background-color: transparent;
}
.wave-to-cream {
  background-color: var(--green);
}
.wave-to-espresso {
  background-color: var(--cream);
}
.wave-to-faq {
  background-color: #3D2B1A;
}

/* Buttons / CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary, .btn-outline-dark, .btn-outline-yellow {
  position: relative;
  overflow: hidden;
  border-radius: 14px !important;
  background-image: linear-gradient(#e2211c, #e2211c), linear-gradient(135deg, #F5C518, #FFF2A3, #E5B20D) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  border: 2.5px solid transparent !important;
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(226, 33, 28, 0.25) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 200ms cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 200ms ease !important;
}

.btn-primary:hover, .btn-outline-dark:hover, .btn-outline-yellow:hover {
  transform: scale(1.04) translateY(-1px) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4), 0 0 10px rgba(226, 33, 28, 0.3) !important;
  background-image: linear-gradient(#d21f1b, #d21f1b), linear-gradient(135deg, #FFF2A3, #ffffff, #F5C518) !important;
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background-color: transparent;
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: 12px;
}

/* SECTION 1: ANNOUNCEMENT BANNER */
.announcement-banner {
  background-color: var(--red);
  color: var(--white);
  padding: 10px 24px;
  text-align: center;
  position: relative;
  z-index: 1001;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.announcement-banner .close-btn {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* SECTION 2: NAVIGATION */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  isolation: isolate;
  border-bottom: 1.5px solid #F0E6D8;
}

.nav-header.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 10px 5%;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 10;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform;
}

.nav-logo img {
  display: block;
  height: 50px;
  width: auto;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 900;
  font-size: 24px;
  border: 3px solid var(--yellow);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-bounce);
}

.nav-logo:hover .nav-logo-badge {
  transform: rotate(-10deg) scale(1.08);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-smooth);
}

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

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--brown);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-icon-btn:hover {
  color: var(--red);
  background-color: rgba(227, 30, 36, 0.05);
}

.nav-icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
  border: 1.5px solid var(--cream);
}

/* Mobile hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--brown);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--cream);
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  display: none;
}

.mobile-nav-drawer-overlay.active {
  display: block;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: var(--brown);
  cursor: pointer;
  font-size: 28px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
}

.mobile-nav-links a:hover {
  color: var(--red);
}

/* SECTION 3: HERO SECTION */
.hero-section {
  min-height: 90vh;
  display: flex;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 40px 5%;
  align-items: center;
}

.hero-watermark-bg {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: min(80vw, 550px);
  height: min(80vw, 550px);
  background-image: url('assets/images/logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-watermark-bg {
    left: 50%;
    top: 40%;
    width: min(85vw, 420px);
    height: min(85vw, 420px);
    opacity: 0.08;
  }
}

.hero-landscape-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

.hero-left {
  width: 55%;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero-products-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-product-pack {
  position: absolute;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

/* Static positioning of hero images */
.hero-product-pack-1 {
  bottom: 10%;
  left: 5%;
  z-index: 10;
}

.hero-product-pack-2 {
  bottom: 12%;
  left: 28%;
  z-index: 12;
}

.hero-product-pack-3 {
  bottom: 10%;
  left: 50%;
  z-index: 11;
}

.hero-right {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 3;
  padding-left: 20px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: #2D5A27;
  margin-bottom: 24px;
}

.hero-headline {
  margin-bottom: 20px;
}

.hero-headline span {
  display: inline-block;
}

.hero-headline-primary {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 400;
  color: #5C3D1E;
  letter-spacing: -1px;
  line-height: 1;
  display: block;
}

.hero-headline-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 0.95;
  display: block;
  margin-top: 5px;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: #8B6B4A;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* SECTION 4: BRAND PROMISE STRIP (Marquee) */
.brand-promise-strip {
  background: linear-gradient(135deg, #e2211c 0%, #C8232A 100%);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-container {
  display: flex;
  width: 100%;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.marquee-content {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
}

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

/* SECTION 5: VALUE PROPOSITION (4 Pillars) */
.pillars-section {
  background-color: transparent;
  padding: 100px 5% 80px;
  text-align: center;
  position: relative;
}

.section-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  text-align: center;
  color: var(--brown);
  position: relative;
  margin-bottom: 48px !important;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red);
  margin: 12px auto 0;
}

.section-title-underline {
  display: none !important;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(92,61,30,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(92, 61, 30, 0.12);
}

.pillar-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 24px;
  background-color: rgba(226, 33, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-label {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.pillar-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* SECTION 6: OUR SPICES (Showcase) */
.spices-section {
  background-color: transparent;
  padding: 80px 5%;
}

.spices-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.spice-showcase-card {
  display: flex;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(92,61,30,0.12);
  z-index: 1;
}

.spice-showcase-card.puttu { background-color: #e2211c; }
.spice-showcase-card.rice-powder { background-color: #2D5A27; }
.spice-showcase-card.rava { background-color: #E8813A; }
.spice-showcase-card.wheat-puttu { background-color: #5C3D1E; }
.spice-showcase-card.palappam { background-color: #7B2D6E; }

.spice-showcase-card.even {
  flex-direction: row-reverse;
}

.spice-visual-side {
  width: 45%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: transparent !important;
  z-index: 2;
}

.spice-scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.spice-pack-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  width: auto;
  z-index: 3;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.3));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spice-showcase-card:hover .spice-pack-image {
  transform: translateX(-50%) translateY(-10px) scale(1.05);
}

.spice-content-side {
  width: 55%;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: transparent !important;
  z-index: 2;
  color: var(--white);
}

.spice-pill-tag {
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
}

.spice-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--yellow) !important;
  margin-bottom: 4px;
}

.spice-tagline {
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.spice-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.spice-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.spice-badge-tag {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
}

.spice-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.spice-price-info {
  display: flex;
  flex-direction: column;
}

.spice-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow) !important;
}

.spice-price mark {
  background: transparent;
  color: inherit;
}

.spice-weight {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.spice-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spice-know-more {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow) !important;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.spice-know-more:hover {
  transform: translateX(4px);
}

.spice-know-more:hover {
  transform: translateX(4px);
}

/* Weight Selector & Pills */
.spice-showcase-card .weight-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.spice-showcase-card .weight-pill {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}
.spice-showcase-card .weight-pill:hover, .spice-showcase-card .weight-pill.active {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}

/* Packaging Brand Badges (Fix 9) */
.badge-real-taste {
  background: #FFF8EE;
  border: 1.5px solid var(--red);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-cook-easy {
  background: var(--yellow);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #2D5A27;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-badge-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

/* Pickle Range Section (Fix 4) */
.pickle-range {
  background-color: transparent;
  padding: 100px 5%;
  text-align: center;
}
.pickle-intro {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 50px;
  font-family: var(--font-body);
}
.pickle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .pickle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .pickle-grid {
    grid-template-columns: 1fr;
  }
}
.pickle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: transparent;
}
.pickle-ring-stack {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pickle-ring {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pickle-ring-outer {
  width: 280px;
  height: 280px;
  z-index: 1;
}
.pickle-ring-middle {
  width: 230px;
  height: 230px;
  z-index: 2;
}
.pickle-ring-inner {
  width: 180px;
  height: 180px;
  z-index: 3;
}
.pickle-card:hover .pickle-ring-outer {
  transform: translate(-50%, -50%) scale(1.05);
}
.pickle-card:hover .pickle-ring-middle {
  transform: translate(-50%, -50%) scale(1.08);
}
.pickle-card:hover .pickle-ring-inner {
  transform: translate(-50%, -50%) scale(1.12);
}
.pickle-card:hover img {
  transform: scale(1.1) rotate(3deg);
}
.pickle-card img {
  height: 160px;
  position: relative;
  z-index: 4;
  transition: transform 0.5s ease;
}
.pickle-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: #5C3D1E;
  margin: 10px 0 2px;
  font-weight: 700;
}
.pickle-ml-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: #8B6B4A;
}
.pickle-weight-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brown);
  background: rgba(92, 61, 30, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}
.pickle-btn-add {
  color: var(--white);
  border-radius: 24px;
  padding: 10px 24px;
  border: none;
  font-family: var(--font-body);
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  max-width: 220px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pickle-btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* SECTION 7: DARK GREEN HERITAGE SECTION */
.heritage-section {
  color: var(--white);
  padding: 160px 8% 100px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  background-image: linear-gradient(
    to bottom,
    #2D5A27 0%,
    rgba(45, 90, 39, 0.2) 15%,
    rgba(45, 90, 39, 0.1) 30%,
    rgba(45, 90, 39, 0.6) 65%,
    rgba(45, 90, 39, 0.95) 85%,
    #2D5A27 100%
  ), url('assets/images/hyra-kitchens.png');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  min-height: 75vh;
}

.heritage-left {
  width: 50%;
  z-index: 3;
}

.heritage-number {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 10px;
}

.heritage-subtitle {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--sage);
  margin-bottom: 24px;
}

.heritage-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 520px;
}

.heritage-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
}

.heritage-logo-container {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(245, 197, 24, 0.3);
  border: 8px solid var(--yellow);
  transition: var(--transition-smooth);
}

.heritage-logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 100px rgba(245, 197, 24, 0.45);
}

.heritage-logo-badge {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 900;
  transform: rotate(-5deg);
}

/* Brand Story Overhaul (Fix 8) */
.story-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: #F5C518;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.story-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: #F5C518;
  line-height: 1.1;
  margin-bottom: 12px;
}
.story-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: #A8C69F;
  margin-bottom: 32px;
  display: block;
}
.story-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 520px;
}
.story-image {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.story-image:hover {
  transform: scale(1.02);
}

/* SECTION 8: MEET THE FARMERS */
.farmers-section {
  background-color: var(--cream);
  padding: 100px 5%;
  text-align: center;
}

.farmers-mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
  align-items: end;
}

.farmer-photo-card {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  background-color: var(--brown);
}

.farmer-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.farmer-photo-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* Alternate heights for grid masonry */
.farmer-col-1, .farmer-col-5 {
  height: 420px;
}

.farmer-col-2, .farmer-col-4 {
  height: 320px;
}

.farmer-col-3 {
  height: 370px;
}

/* SECTION 9: SOURCED WITH CARE */
.sustainability-section {
  display: flex;
  width: 100%;
  min-height: 520px;
}

.sustainability-left {
  width: 50%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  background-color: var(--brown);
}

.sustainability-img-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.sustainability-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.sustainability-img-wrapper:hover img {
  transform: scale(1.05);
}

.sustainability-right {
  width: 50%;
  background-color: #8B1A1A;
  color: var(--white);
  padding: 80px 8% 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.sustainability-icon {
  margin-bottom: 24px;
  color: var(--yellow);
}

.sustainability-title {
  color: var(--white);
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.sustainability-body {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

/* SECTION 10: WHY HYRA (ICON GRID) */
.why-section {
  background-color: transparent;
  padding: 100px 5%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.why-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(227, 30, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
  transition: var(--transition-bounce);
}

.why-item:hover .why-icon {
  transform: scale(1.1);
  background-color: var(--red);
  color: var(--white);
}

.why-label {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.why-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* SECTION 11: VIDEO SECTION */
.video-section {
  background-color: var(--text-dark);
  padding: 120px 5% 100px;
  text-align: center;
  color: var(--cream);
}

.video-section .section-title {
  color: var(--yellow);
  margin-bottom: 40px;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto 40px;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  background-color: #000;
}

.video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-wrapper:hover .video-thumbnail-img {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(245, 197, 24, 0.4);
  z-index: 3;
  transition: var(--transition-bounce);
}

.video-play-btn svg {
  margin-left: 4px;
  color: var(--brown);
}

.video-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--white);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.video-modal-content {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.video-modal-content iframe, .video-modal-content video {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* SECTION 12: BLOGS / RECIPES PREVIEW */
.blog-section {
  background-color: var(--cream);
  padding: 100px 5%;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 40px;
}

.blog-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-thumb-wrapper {
  height: 220px;
  overflow: hidden;
}

.blog-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumb-wrapper img {
  transform: scale(1.05);
}

.blog-info-wrapper {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag-pill {
  color: var(--red);
  background-color: rgba(227, 30, 36, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.blog-card-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.blog-read-more {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.blog-read-more:hover {
  color: #b5151b;
  gap: 8px;
}

/* SECTION 13: FAQ */
.faq-section {
  background-color: transparent;
  padding: 100px 5%;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #DDD3C7;
  padding: 22px 0;
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 0;
}

.faq-toggle-icon {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--red);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding-top: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.8s cubic-bezier(1, 0, 1, 0);
}

/* SECTION 14: FOOTER BANNER (ILLUSTRATED) */
.footer-banner-section {
  min-height: 300px;
  background: linear-gradient(135deg, #2D5A27 0%, #1A3A18 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  overflow: hidden;
}

.footer-banner-svg-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
}

.footer-banner-logo {
  width: 160px;
  height: auto;
  margin-bottom: 20px;
  z-index: 2;
}

.footer-banner-logo img {
  display: block;
}

.footer-banner-tagline {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* SECTION 15: MAIN FOOTER */
.main-footer {
  background-color: #3D1A0A;
  color: var(--white);
  padding: 80px 8% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-logo-wordmark {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  color: var(--yellow);
  transition: var(--transition-smooth);
}

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

.footer-heading {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--yellow);
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-address {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
  background-color: var(--red);
  color: var(--white);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background-color: #b5151b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--yellow);
}

/* ========================================================
   SHOP PAGE SPECIFIC STYLES
   ======================================================== */
.shop-hero {
  background-color: var(--green);
  color: var(--white);
  padding: 60px 5%;
  text-align: center;
}

.shop-hero h1 {
  color: var(--yellow);
  font-size: 42px;
}

/* STORY PAGE SPECIFIC STYLES */
.story-hero {
  position: relative;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 248, 238, 0.25) 0%,
    rgba(255, 248, 238, 0.1) 40%,
    rgba(226, 33, 28, 0.4) 75%,
    rgba(226, 33, 28, 0.95) 92%,
    var(--red) 100%
  ), url('assets/images/hyra-kitchens.png');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 80px 20px 60px;
}

.story-hero-title {
  color: var(--white) !important;
  font-size: 56px !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.story-hero-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  max-width: 650px !important;
  line-height: 1.6 !important;
  margin: 0 auto !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
}

@media (max-width: 768px) {
  .story-hero {
    min-height: 45vh;
    padding: 120px 20px 40px;
  }
  .story-hero-title {
    font-size: 38px !important;
  }
  .story-hero-subtitle {
    font-size: 15px !important;
  }
}

.shop-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 5%;
  display: flex;
  gap: 40px;
  position: relative;
}

.shop-sidebar {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brown);
  border-bottom: 2px solid #E6DDD0;
  padding-bottom: 8px;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--brown);
  cursor: pointer;
}

.filter-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.filter-select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1.5px solid #DDD3C7;
  background-color: var(--white);
  font-family: var(--font-body);
  color: var(--brown);
  font-size: 14px;
  cursor: pointer;
}

.mobile-filter-bar {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  background-color: var(--white);
  border-bottom: 1.5px solid #E6DDD0;
  position: sticky;
  top: 70px;
  z-index: 100;
}

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

.shop-product-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 30px; /* space for overlapping images */
}

.shop-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(92,61,30,0.16);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 10;
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-card-img-wrapper {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  position: relative;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Accent Color Bands for Shop Cards */
.shop-product-card.puttu .product-card-img-wrapper { background-color: #C8232A; }
.shop-product-card.rice-powder .product-card-img-wrapper { background-color: #3F8B3F; }
.shop-product-card.rava .product-card-img-wrapper { background-color: #E07B2A; }
.shop-product-card.wheat-puttu .product-card-img-wrapper { background-color: #5C3D1E; }
.shop-product-card.palappam .product-card-img-wrapper { background-color: #7B2D6E; }
.shop-product-card.fish-pickle .product-card-img-wrapper { background-color: #8B1A1A; }
.shop-product-card.dates-pickle .product-card-img-wrapper { background-color: #D9722C; }
.shop-product-card.lime-pickle .product-card-img-wrapper { background-color: #F0C419; }
.shop-product-card.mango-pickle .product-card-img-wrapper { background-color: #5FA83E; }
.shop-product-card.garlic-pickle .product-card-img-wrapper { background-color: #8B7BB8; }
.shop-product-card.payasam .product-card-img-wrapper { background-color: #E8813A; }

.product-card-img-wrapper img {
  height: 140px;
  width: auto;
  position: relative;
  z-index: 2;
  margin-top: 60px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.shop-product-card:hover .product-card-img-wrapper img {
  transform: scale(1.08) rotate(2deg);
}

.product-card-info {
  padding: 50px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.product-card-name {
  font-size: 18px;
  margin-bottom: 2px;
}

.product-card-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F3EDE3;
}

.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown);
}

.btn-add-cart-sm {
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-add-cart-sm:hover {
  background-color: #b5151b;
}

/* ========================================================
   OUR STORY PAGE SPECIFIC STYLES
   ======================================================== */
.timeline-section {
  padding: 100px 5%;
  background-color: transparent;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 140px;
  bottom: 100px;
  left: 50%;
  width: 3px;
  background-color: var(--sage);
  transform: translateX(-50%);
}

.timeline-container {
  max-width: 1000px;
  margin: 60px auto 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--red);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--sage);
  z-index: 2;
}

.timeline-content-wrapper {
  width: 45%;
}

.timeline-item.even .timeline-content-wrapper {
  margin-left: auto;
}

.timeline-content-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red);
  margin-bottom: 8px;
  font-weight: 800;
}

.timeline-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.team-section {
  background-color: var(--cream);
  padding: 80px 5% 100px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto 0;
}

.team-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  text-align: center;
}

.team-avatar-wrapper {
  height: 260px;
  background-color: #F1ECE3;
  overflow: hidden;
}

.team-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 24px;
}

.team-name {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}

/* ========================================================
   CONTACT PAGE SPECIFIC STYLES
   ======================================================== */
.contact-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 5%;
  display: flex;
  gap: 50px;
}

.contact-left {
  width: 55%;
  background-color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.04);
}

.contact-left h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #DDD3C7;
  border-radius: 8px;
  background-color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--brown);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background-color: var(--white);
  outline: none;
}

.contact-right {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-icon {
  color: var(--red);
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-content p {
  font-size: 14px;
  color: var(--text-muted);
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  height: 300px;
  background-color: #EEE;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================================
   MALAYALAM & WEIGHT SELECTOR HELPERS
   ======================================================== */
.ml-text {
  font-family: var(--font-malayalam);
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.spice-showcase-card .ml-text {
  color: rgba(255, 255, 255, 0.9);
}

.weight-selector {
  display: flex;
  gap: 6px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.weight-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border: 1.5px solid #DDD3C7;
  border-radius: 12px;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.weight-pill:hover,
.weight-pill.active {
  border-color: var(--red);
  background-color: var(--red);
  color: var(--white);
}

/* ========================================================
   SECTION 8: OUR PICKLE RANGE (Concentric Circles)
   ======================================================== */
.pickles-section {
  background-color: var(--cream);
  padding: 80px 5%;
  text-align: center;
}

.pickles-grid {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns because we have 5 pickles! */
  gap: 20px;
}

.pickle-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: var(--transition-bounce);
}

.pickle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.pickle-ring-container {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pickle-ring-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.15;
  border: 6px double currentColor;
  animation: spinSlow 30s linear infinite;
}

.pickle-ring-bg-inner {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  opacity: 0.25;
  border: 2px dashed currentColor;
  animation: spinSlowReverse 20s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.pickle-jar-image {
  max-width: 100px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
  transition: var(--transition-smooth);
}

.pickle-card:hover .pickle-jar-image {
  transform: scale(1.08) rotate(3deg);
}

.pickle-flag {
  background-color: var(--accent);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
  clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 0% 0%);
  width: 95%;
  text-align: center;
}

.pickle-flag .ml-text {
  color: var(--white);
  font-size: 11px;
}

/* Per-pickle colors override */
.pickle-card.dates { color: var(--accent-dates); --accent: var(--accent-dates); }
.pickle-card.lime { color: var(--accent-lime); --accent: var(--accent-lime); }
.pickle-card.mango { color: var(--accent-mango); --accent: var(--accent-mango); }
.pickle-card.garlic { color: var(--accent-garlic); --accent: var(--accent-garlic); }
.pickle-card.fish { color: var(--accent-fish-pickle); --accent: var(--accent-fish-pickle); }

/* ========================================================
   RESPONSIVE MEDIA QUERIES
   ======================================================== */
@media (max-width: 1199px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.2rem; }
  
  .hero-section {
    flex-direction: column-reverse;
    padding-top: 80px;
    text-align: center;
    gap: 40px;
  }
  
  .hero-left {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
  }
  
  .hero-product-pack {
    position: static !important;
    max-width: 26% !important;
    height: auto !important;
    transform: none !important;
  }
  
  .hero-right {
    width: 100%;
    padding-left: 0;
    align-items: center;
  }
  
  .hero-headline-primary { font-size: 54px; }
  .hero-headline-accent { font-size: 68px; }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .spice-showcase-card {
    flex-direction: column !important;
  }
  
  .spice-visual-side, .spice-content-side {
    width: 100%;
  }
  
  .spice-visual-side {
    padding: 60px 40px;
  }
  
  .spice-pack-image {
    max-width: 200px;
  }
  
  .heritage-section {
    flex-direction: column;
    text-align: center;
    padding: 160px 5% 60px;
    background-image: linear-gradient(
      to bottom,
      #2D5A27 0%,
      rgba(45, 90, 39, 0.2) 20%,
      rgba(45, 90, 39, 0.8) 55%,
      #2D5A27 85%
    ), url('assets/images/hyra-kitchens.png') !important;
    background-position: center 25% !important;
    min-height: auto;
  }
  
  .heritage-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .heritage-right {
    display: none !important;
  }
  
  .farmers-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
  .farmer-photo-card.farmer-col-4,
  .farmer-photo-card.farmer-col-5 {
    display: none;
  }
  
  .sustainability-section {
    flex-direction: column;
  }
  
  .sustainability-left, .sustainability-right {
    width: 100%;
  }
  
  .sustainability-left {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    height: 300px;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-card:last-child {
    display: none;
  }
  
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-header {
    justify-content: space-between;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 5% 14px;
    background-color: var(--white) !important;
    box-shadow: 0 2px 12px rgba(92, 61, 30, 0.08);
    border-bottom: 1.5px solid #F0E6D8;
  }
  
  .nav-actions .btn {
    display: none; /* Hide Shop Now button on mobile header */
  }
  
  .hero-headline-primary { font-size: 40px; }
  .hero-headline-accent { font-size: 50px; }
  
  .hero-left {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    position: relative;
  }
  
  .hero-product-pack {
    position: static !important;
    max-width: 30% !important;
    height: auto !important;
    transform: none !important;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  
  .pillars-grid, .why-grid, .blog-grid, .shop-grid, .team-grid, .pickles-grid {
    grid-template-columns: 1fr;
  }
  
  .farmers-mosaic {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .farmer-photo-card {
    height: 250px !important;
  }
  .farmer-photo-card.farmer-col-4,
  .farmer-photo-card.farmer-col-5 {
    display: block;
  }
  
  .sustainability-left {
    grid-template-columns: 1fr;
    height: auto;
  }
  .sustainability-img-wrapper {
    height: 200px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .shop-container {
    flex-direction: column;
    margin-top: 20px;
  }
  
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--cream);
    z-index: 1100;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    padding: 80px 30px 40px;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .shop-sidebar.active {
    left: 0;
  }
  
  .mobile-filter-bar {
    display: flex;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-item::after {
    left: 20px;
  }
  
  .timeline-content-wrapper {
    width: 100%;
    padding-left: 40px;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-left, .contact-right {
    width: 100%;
  }
  
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================================
   REDUCED MOTION SUPPORT
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
    transform: none !important;
    filter: none !important;
  }
  .marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Hide all product pricing across the site (showcase-only catalog) */
.spice-price-info,
.product-card-bottom {
  display: none !important;
}

/* Infinite Scrolling Image Slider */
@keyframes scroll-left-gallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-5 * (300px + 24px)));
  }
}

.gallery-slider-section .infinite-scroll {
  animation: scroll-left-gallery 25s linear infinite;
}

.gallery-slider-section .scroll-container {
  mask: linear-gradient(
    90deg,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    90deg,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.gallery-slider-section .image-item {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-slider-section .image-item:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Responsive slider for smaller screens */
@media (max-width: 767px) {
  @keyframes scroll-left-gallery-mobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-5 * (200px + 16px)));
    }
  }
  
  .gallery-slider-section .infinite-scroll {
    animation: scroll-left-gallery-mobile 20s linear infinite;
    gap: 16px !important;
  }
  
  .gallery-slider-section .image-item {
    width: 200px !important;
    height: 200px !important;
    border-radius: 12px !important;
  }
}

/* FLOATING CONTACT WIDGET */
.floating-contact-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.floating-btn {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.floating-btn:active {
  transform: scale(0.95);
}

.btn-whatsapp {
  background-color: #25D366;
  border: 1.5px solid #1ebe57;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-call {
  background-color: var(--red);
  border: 1.5px solid #b01a16;
}

.btn-call:hover {
  box-shadow: 0 8px 24px rgba(226, 33, 28, 0.4);
}

/* WHOLESALE BULK INQUIRY BOX */
.bulk-inquiry-box {
  display: none;
  margin-top: 12px;
  background: rgba(92, 61, 30, 0.05);
  padding: 12px;
  border-radius: 12px;
  gap: 8px;
  flex-direction: column;
  width: 100%;
  border: 1.5px dashed rgba(92, 61, 30, 0.15);
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

