/* ==========================================================================
   VINDHYA MILLETS - MOCKUP REDESIGN: FLOATING CAPSULE HEADER & DEEP GREEN FOOTER
   Matches mockup pixel-for-pixel (Header Capsule, Newsletter Strip & 5-Col Footer)
   ========================================================================== */

/* ── GOOGLE FONTS INTEGRATION ── */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&display=swap');

/* ── 1. HEADER (NORMAL AT TOP, FLOATING PILL CAPSULE ON SCROLL) ── */
@media (min-width: 769px) {
  /* Default Normal Navbar at top of page (Before scroll) */
  #header-container {
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    z-index: 10000 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.35s ease !important;
  }

  /* Floating Pill Capsule State (Triggered ONLY on scroll) */
  #header-container.is-floating {
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1320px, calc(100% - 32px)) !important;
    max-width: 1320px !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(46, 89, 54, 0.2) !important;
    box-shadow: 0 14px 36px -6px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(46, 89, 54, 0.06) !important;
  }

  [data-theme="dark"] #header-container {
    background: #0e2417 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
  }

  [data-theme="dark"] #header-container.is-floating {
    background: rgba(14, 36, 23, 0.94) !important;
    border: 1px solid rgba(74, 222, 128, 0.25) !important;
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.65) !important;
  }

  #header-container header {
    padding: 0 28px !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: padding 0.3s ease !important;
  }

  #header-container.is-floating header {
    padding: 0 20px 0 24px !important;
    max-width: 100% !important;
  }

  /* Nav container height */
  #header-container .nav-container {
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #header-container.is-floating .nav-container {
    height: 56px !important;
    gap: 12px !important;
  }

  #header-spacer {
    display: block !important;
    height: 68px !important;
  }

  /* Logo styling in Header */
  #header-container .logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    max-width: none !important;
  }

  #header-container .logo-img {
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #header-container.is-floating .logo-img {
    height: 38px !important;
  }

  #header-container .logo-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  #header-container .brand-title {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    font-family: 'Outfit', sans-serif !important;
    white-space: nowrap !important;
  }

  #header-container .brand-v {
    color: #123826 !important;
  }

  #header-container .brand-m {
    color: #d97706 !important;
  }

  #header-container .brand-subtitle {
    display: block !important;
    max-height: 20px !important;
    opacity: 1 !important;
    transform: none !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    margin-top: 1px !important;
    transition: opacity 0.25s ease, max-height 0.3s ease, transform 0.25s ease !important;
  }

  #header-container.is-floating .brand-subtitle {
    opacity: 0 !important;
    max-height: 0 !important;
    transform: translateY(-4px) !important;
    overflow: hidden !important;
    margin-top: 0 !important;
  }

  /* Navigation Links — Centered with safe auto margins & flex containment */
  #header-container .nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(8px, 1.2vw, 18px) !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 4px !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #header-container .nav-link {
    font-size: clamp(0.73rem, 0.82vw, 0.83rem) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    color: #475569 !important;
    padding: 6px clamp(8px, 0.75vw, 13px) !important;
    position: relative !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
    border: 1.5px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    background: transparent !important;
  }

  #header-container.is-floating .nav-link {
    font-size: clamp(0.70rem, 0.76vw, 0.78rem) !important;
    padding: 4px clamp(6px, 0.6vw, 10px) !important;
  }

  #header-container .nav-link:hover {
    color: #143d28 !important;
    background: rgba(20, 61, 40, 0.05) !important;
    border-color: rgba(20, 61, 40, 0.10) !important;
  }

  /* 🟢 Active Page Pill Highlight: Solid Premium Brand Green Pill with White Text */
  #header-container .nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important;
    background: #143d28 !important;
    border-color: #143d28 !important;
    box-shadow: 0 3px 12px rgba(20, 61, 40, 0.32) !important;
  }

  /* Luminous Active Indicator Dot */
  #header-container .nav-link.active::before {
    content: '' !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background: #4ade80 !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
    box-shadow: 0 0 8px #4ade80 !important;
    flex-shrink: 0 !important;
    animation: vmActiveDotPulse 2.2s infinite ease-in-out !important;
  }

  #header-container .nav-link::after,
  #header-container .nav-link.active::after {
    display: none !important;
    content: none !important;
  }

  @keyframes vmActiveDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.8; }
  }

  /* Dark Mode Navbar Pill */
  [data-theme="dark"] #header-container .nav-link,
  body.dark-mode #header-container .nav-link {
    color: #cbd5e1 !important;
  }
  [data-theme="dark"] #header-container .nav-link:hover,
  body.dark-mode #header-container .nav-link:hover {
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.08) !important;
    border-color: rgba(74, 222, 128, 0.15) !important;
  }
  [data-theme="dark"] #header-container .nav-link.active,
  body.dark-mode #header-container .nav-link.active {
    color: #052e16 !important;
    background: #4ade80 !important;
    border-color: #4ade80 !important;
    box-shadow: 0 3px 14px rgba(74, 222, 128, 0.4) !important;
    font-weight: 800 !important;
  }
  [data-theme="dark"] #header-container .nav-link.active::before,
  body.dark-mode #header-container .nav-link.active::before {
    background: #052e16 !important;
    box-shadow: 0 0 6px rgba(5, 46, 22, 0.8) !important;
  }

  /* Mobile Slide-Out Drawer Highlighting */
  @media (max-width: 991px) {
    .nav-links .nav-link {
      display: flex !important;
      align-items: center !important;
      border-radius: 8px !important;
      padding: 12px 14px !important;
      margin-bottom: 4px !important;
      transition: all 0.2s ease !important;
    }
    .nav-links .nav-link.active {
      background: linear-gradient(135deg, #eaf7ee 0%, #dcfce7 100%) !important;
      color: #143d28 !important;
      font-weight: 700 !important;
      border-left: 4px solid #166534 !important;
      border-radius: 4px 10px 10px 4px !important;
    }
    .nav-links .nav-link.active::before {
      content: '' !important;
      display: inline-block !important;
      width: 6px !important;
      height: 6px !important;
      background: #16a34a !important;
      border-radius: 50% !important;
      margin-right: 10px !important;
      box-shadow: 0 0 6px rgba(22, 163, 74, 0.7) !important;
      flex-shrink: 0 !important;
    }
    [data-theme="dark"] .nav-links .nav-link.active,
    body.dark-mode .nav-links .nav-link.active {
      background: rgba(74, 222, 128, 0.15) !important;
      color: #4ade80 !important;
      border-left-color: #4ade80 !important;
    }
  }

  /* Right Side Header Controls */
  #header-container .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  #header-container #lang-toggle-btn {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 9999px !important;
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    height: auto !important;
    transition: all 0.2s ease !important;
  }

  #header-container.is-floating #lang-toggle-btn {
    padding: 5px 12px !important;
    font-size: 0.76rem !important;
  }

  #header-container #lang-toggle-btn:hover {
    border-color: #143d28 !important;
    color: #143d28 !important;
  }

  #header-container .user-account-btn {
    background: #143d28 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 8px 20px !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(20, 61, 40, 0.25) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    height: auto !important;
    transition: all 0.25s ease !important;
  }

  #header-container.is-floating .user-account-btn {
    padding: 6px 16px !important;
    font-size: 0.8rem !important;
  }

  #header-container .user-account-btn:hover {
    background: #0c2619 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(20, 61, 40, 0.35) !important;
  }
}

/* ── LAPTOPS & TABLETS INTERMEDIATE BREAKPOINT (769px to 1180px) ── */
@media (min-width: 769px) and (max-width: 1180px) {
  #header-container {
    width: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  #header-container.is-floating {
    width: calc(100% - 24px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  #header-container header {
    padding: 0 14px !important;
  }
  #header-container .brand-subtitle,
  #header-container.is-floating .brand-subtitle {
    display: none !important;
  }
  #header-container .nav-links {
    gap: 6px !important;
    margin: 0 2px !important;
  }
  #header-container .nav-link {
    font-size: 0.72rem !important;
    padding: 6px 5px !important;
  }
  #header-container.is-floating .nav-link {
    font-size: 0.7rem !important;
    padding: 4px 4px !important;
  }
  #header-container #lang-toggle-btn {
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
  }
  #header-container .user-account-btn {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
}

/* ── 2. NEWSLETTER STRIP ("Join Our Millet Movement") ── */
.footer-newsletter-section {
  background-color: #FAF7F2;
  position: relative;
  padding: 68px 0 64px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.nl-leaf-left {
  position: absolute;
  top: -15px;
  left: -20px;
  width: 170px;
  max-width: 18vw;
  pointer-events: none;
  opacity: 0.9;
  transform: rotate(-10deg);
  z-index: 1;
}

.nl-leaf-right {
  position: absolute;
  top: 10px;
  right: -25px;
  width: 160px;
  max-width: 18vw;
  pointer-events: none;
  opacity: 0.9;
  transform: scaleX(-1) rotate(15deg);
  z-index: 1;
}

.nl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-center-content {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.nl-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 8px;
}

.nl-heading {
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  font-weight: 800;
  color: #112b1b;
  line-height: 1.18;
  margin: 0 0 10px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.nl-highlight {
  color: #d97706;
}

.nl-subtext {
  font-size: 0.96rem;
  color: #64748b;
  margin: 0 auto 28px;
  max-width: 520px;
  line-height: 1.55;
}

.nl-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.nl-input-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 6px 5px 18px;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.nl-input-pill:focus-within {
  border-color: #143d28;
  box-shadow: 0 8px 24px -4px rgba(20, 61, 40, 0.16);
}

.nl-input-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.nl-email-input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 0.94rem !important;
  color: #1e293b !important;
  width: 100% !important;
  min-width: 0 !important;
  font-family: inherit !important;
  padding: 8px 0 !important;
}

.nl-email-input::placeholder {
  color: #94a3b8;
}

.nl-submit-btn {
  background: #143d28 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 11px 24px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(20, 61, 40, 0.25) !important;
}

.nl-submit-btn:hover {
  background: #0b2417 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(20, 61, 40, 0.35) !important;
}

/* Handwritten Cursive Script Badge on Newsletter Right */
.nl-cursive-badge {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  line-height: 1.05;
  color: #475569;
  pointer-events: none;
  opacity: 0.85;
}

.nl-cursive-badge span {
  display: block;
}

/* Organic Wave SVG Transition to Footer */
.nl-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 3;
}

.nl-wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 54px;
}

/* ── 3. MAIN FOOTER BODY ── */
.footer-main-wrap {
  background: #0d2316;
  position: relative;
  color: #e2ede5;
  padding: 48px 0 36px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Sunset Farm Panorama Backdrop */
.footer-sunset-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 380px;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
}

.footer-sunset-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #0d2316 0%, rgba(13, 35, 22, 0.7) 40%, rgba(13, 35, 22, 0.25) 75%, rgba(13, 35, 22, 0.9) 100%);
}

/* Foreground Left Decor: Golden Wheat & Millet Sack */
.footer-left-decor {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: 2;
}

.f-wheat-stalks {
  position: absolute;
  bottom: 60px;
  left: -20px;
  width: 180px;
  opacity: 0.65;
  transform: rotate(18deg);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}

.f-millet-sack {
  position: absolute;
  bottom: -15px;
  left: 5px;
  width: 220px;
  transform: scaleX(-1) rotate(-6deg);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.7));
}

.f-cursive-india {
  position: absolute;
  bottom: 24px;
  left: 18px;
  font-family: 'Caveat', cursive;
  font-size: 1.55rem;
  color: #fdf6e7;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  transform: rotate(-6deg);
  z-index: 3;
}

/* Container & 5-Column Grid */
.footer-content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.footer-grid-5col {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr 1.8fr;
  gap: 32px;
  align-items: start;
}

/* Col 1: Brand Profile */
.f-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.f-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.f-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.f-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  font-family: 'Outfit', sans-serif;
  display: flex;
  gap: 5px;
}

.f-gold {
  color: #f59e0b;
}

.f-brand-tagline {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.f-brand-p {
  font-size: 0.86rem;
  color: #c9d8ce;
  line-height: 1.68;
  margin: 0;
  max-width: 380px;
}

.f-trust-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 4px 0;
  max-width: 340px;
}

.f-trust-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f1f5f2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.f-social-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.f-social-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fa396;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.f-social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.f-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.f-social-btn:hover {
  transform: translateY(-3px);
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0d2316;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.f-social-btn svg,
.f-social-btn i {
  width: 15px;
  height: 15px;
  display: block;
}

/* Nav Columns (Cols 2, 3, 4) */
.f-col-heading {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f59e0b;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}

.f-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: #f59e0b;
  border-radius: 2px;
}

.f-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-nav-links li a {
  font-size: 0.88rem;
  color: #c9d8ce;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.f-nav-links li a:hover {
  color: #fbbf24;
  transform: translateX(4px);
}

.f-nav-links li a svg {
  width: 14px;
  height: 14px;
  color: #f59e0b;
  flex-shrink: 0;
}

/* Col 5: GET IN TOUCH Luxury Sand/Cream Cards */
.f-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fbf7ee;
  border-radius: 14px;
  padding: 11px 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.f-card:not(.no-click):hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}

.f-card-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.brown-icon { background: #854d0e; }
.green-icon { background: #16a34a; }
.amber-icon { background: #d97706; }
.red-icon   { background: #991b1b; }

.f-card-icon svg {
  width: 17px;
  height: 17px;
}

.f-card-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
}

.f-card-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.brown-text { color: #854d0e; }
.green-text { color: #16a34a; }
.amber-text { color: #d97706; }
.red-text   { color: #991b1b; }

.f-card-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1c1917;
  word-break: break-word;
  line-height: 1.25;
}

.f-card-sub {
  font-size: 0.72rem;
  color: #78716c;
}

/* ── 4. FOOTER BOTTOM BAR ── */
.footer-bottom-bar-new {
  background: #06130b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  position: relative;
  z-index: 4;
}

.footer-bottom-flex {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.f-bottom-copy {
  font-size: 0.82rem;
  color: #94a3b8;
  white-space: nowrap;
}

.f-bottom-copy strong {
  color: #e2e8f0;
}

.f-bottom-slogan {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.gold-text {
  color: #f59e0b;
  font-weight: 600;
}

.divider-dot {
  color: rgba(255, 255, 255, 0.2);
}

.f-bottom-slogan a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.f-bottom-slogan a:hover {
  color: #f59e0b;
}

.f-bottom-dev {
  font-size: 0.82rem;
  color: #94a3b8;
  white-space: nowrap;
}

.f-bottom-dev a {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 600;
}

.f-bottom-dev a:hover {
  text-decoration: underline;
}

/* Circular Scroll-to-Top Button */
.f-scroll-top-btn {
  background: #14532d;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.f-scroll-top-btn:hover {
  background: #16a34a;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

/* ── 5. RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 1200px) {
  .footer-grid-5col {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 28px;
  }
  .f-contact-col {
    grid-column: 1 / -1;
  }
  .f-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
  }
  .nl-cursive-badge {
    display: none;
  }
}

@media (max-width: 992px) {
  .footer-grid-5col {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
  .f-brand-col {
    grid-column: 1 / -1;
  }
  .f-products-col {
    grid-column: 1;
  }
  .f-explore-col {
    grid-column: 2;
  }
  .f-policies-col {
    grid-column: 3;
  }
  .f-contact-col {
    grid-column: 1 / -1;
  }
  .f-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .f-millet-sack {
    width: 170px;
    opacity: 0.5;
  }
  .f-wheat-stalks {
    width: 140px;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .footer-newsletter-section {
    padding: 44px 0 48px;
  }
  .nl-leaf-left, .nl-leaf-right {
    display: none;
  }
  .nl-subtext {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  .nl-input-pill {
    padding: 4px 5px 4px 14px;
  }
  .nl-submit-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .footer-main-wrap {
    padding: 38px 0 28px;
  }
  .footer-grid-5col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .f-brand-col {
    grid-column: 1 / -1;
    gap: 12px;
  }
  .f-products-col {
    grid-column: 1;
    min-width: 0;
  }
  .f-explore-col {
    grid-column: 2;
    min-width: 0;
  }
  .f-policies-col {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .f-policies-col .f-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .f-contact-col {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: 6px;
  }
  .f-contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .f-card {
    padding: 10px 14px;
    gap: 12px;
    border-radius: 12px;
  }
  .f-card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
  }
  .f-card-val {
    font-size: 0.86rem;
  }
  .f-brand-p {
    max-width: 100%;
  }
  .footer-left-decor {
    display: none;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .f-bottom-copy,
  .f-bottom-dev,
  .f-bottom-slogan a {
    white-space: normal;
  }
  .f-bottom-slogan {
    justify-content: center;
    font-size: 0.78rem;
    line-height: 1.6;
    gap: 6px;
  }
  .cookie-prefs-link-btn {
    font-size: 0.78rem;
  }
  .footer-bottom-bar-new {
    padding-bottom: 84px; /* Account for mobile dock */
  }
}

@media (max-width: 520px) {
  .footer-content-container {
    padding: 0 16px;
  }
  .footer-grid-5col {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }
  .f-brand-header {
    gap: 10px;
  }
  .f-brand-logo {
    height: 44px;
  }
  .f-brand-title {
    font-size: 1.25rem;
  }
  .f-brand-p {
    font-size: 0.82rem;
    line-height: 1.55;
  }
  .f-trust-pills {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    gap: 6px;
  }
  .f-trust-pill {
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 5px;
    justify-content: center;
  }
  .f-trust-pill svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
  }
  .f-col-heading {
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }
  .f-col-heading::after {
    width: 18px;
  }
  .f-nav-links {
    gap: 8px;
  }
  .f-nav-links li a {
    font-size: 0.81rem;
    gap: 6px;
    word-break: normal;
  }
  .f-nav-links li a svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .f-policies-col .f-nav-links {
    gap: 8px 14px;
  }
  .f-contact-cards {
    gap: 8px;
  }
  .f-card {
    padding: 9px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .f-card-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
  }
  .f-card-icon svg {
    width: 15px;
    height: 15px;
  }
  .f-card-title {
    font-size: 0.65rem;
  }
  .f-card-val {
    font-size: 0.82rem;
  }
  .f-card-sub {
    font-size: 0.68rem;
  }
  .nl-form {
    max-width: 100%;
  }
  .f-bottom-copy {
    font-size: 0.76rem;
  }
  .f-bottom-slogan {
    font-size: 0.74rem;
  }
  .f-bottom-dev {
    font-size: 0.76rem;
  }
}

@media (max-width: 370px) {
  .footer-content-container {
    padding: 0 12px;
  }
  .footer-grid-5col {
    gap: 20px 10px;
  }
  .f-nav-links li a {
    font-size: 0.76rem;
    gap: 5px;
  }
  .f-nav-links li a svg {
    width: 12px;
    height: 12px;
  }
  .f-trust-pill {
    padding: 4px 6px;
    font-size: 0.68rem;
  }
  .f-card {
    padding: 8px 10px;
    gap: 8px;
  }
  .f-card-val {
    font-size: 0.78rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION DOCK (ORGANIC FLOATING ISLAND 2026)
   ══════════════════════════════════════════════════════════════ */
.mobile-bottom-nav.vm-mobile-dock {
    display: none;
    position: fixed !important;
    bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 420px !important;
    height: 64px !important;
    background: #FAF8F3 !important;
    border: 1.8px solid #1E472A !important;
    border-radius: 36px !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(10, 30, 16, 0.15) !important;
    z-index: 999999 !important;
    padding: 0 !important;
    margin: 0 !important;
    will-change: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Center Arch Overhang SVG */
.vm-dock-arch-svg {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 124px;
    height: 36px;
    pointer-events: none;
    z-index: 1;
}

/* Inner Navigation Content */
.vm-dock-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    box-sizing: border-box;
}

/* Nav Link Item */
.vm-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #173d27;
    height: 52px;
    min-width: 0;
    border-radius: 26px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex: 1 1 0;
    max-width: 68px;
    padding: 0 2px;
    box-sizing: border-box;
    overflow: visible; /* Do not clip badges */
}

.vm-dock-item:active {
    transform: scale(0.92);
}

.vm-dock-item .vm-item-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eaf3ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #173d27;
    transition: all 0.22s ease;
    margin-bottom: 2px;
    flex-shrink: 0;
    position: relative;
}

.vm-dock-item .vm-item-icon-wrap svg {
    width: 16px;
    height: 16px;
}

.vm-dock-item .vm-item-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 1;
    color: #173d27;
    transition: color 0.22s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

/* Active State: Rich Forest Green Pill Capsule */
.vm-dock-item.active {
    background: #0f341d !important;
    color: #ffffff !important;
    padding: 4px 8px 5px !important;
    height: 52px !important;
    max-width: 80px !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28), 0 4px 14px rgba(12, 44, 24, 0.45) !important;
}

.vm-dock-item.active .vm-item-icon-wrap {
    background: transparent !important;
    color: #ffffff !important;
    width: 26px !important;
    height: 22px !important;
    margin-bottom: 1px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vm-dock-item.active .vm-item-icon-wrap svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    stroke-width: 2.3 !important;
}

.vm-dock-item.active .vm-item-label {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.66rem !important;
}

/* Active White Pill Bar under label */
.vm-dock-item.active::after {
    content: '';
    display: block;
    width: 18px;
    height: 3px;
    background: #ffffff;
    border-radius: 99px;
    margin-top: 2px;
}

/* Cart Icon Wrap & Badge */
.vm-cart-wrap {
    position: relative;
}

.vm-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e27211 !important;
    color: #ffffff !important;
    font-size: 0.58rem !important;
    font-weight: 900 !important;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 99px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FAF8F3 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28) !important;
    line-height: 1;
    z-index: 5;
    box-sizing: border-box;
}

.vm-dock-item.active .vm-cart-badge {
    border-color: #0f341d !important;
    top: -5px;
    right: -7px;
}

/* Center Brand Emblem */
.vm-dock-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    text-decoration: none !important;
    cursor: pointer;
    flex: 0 0 96px;
    width: 96px;
    position: relative;
    z-index: 3;
}

.vm-center-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 1.8px solid #1e472a !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease;
    padding: 2px;
    box-sizing: border-box;
}

.vm-dock-center:hover .vm-center-circle,
.vm-dock-center:active .vm-center-circle {
    transform: scale(1.06);
}

.vm-center-logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

.vm-center-slogan {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
    white-space: nowrap;
}

.vm-slogan-line {
    width: 12px;
    height: 1px;
    background: #4a6750;
    opacity: 0.8;
}

.vm-slogan-text {
    font-size: 0.38rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #3e5b44;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
}

.vm-nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #1E472A;
}

.vm-dock-item.active .vm-nav-avatar {
    border-color: #ffffff;
}

.mobile-bottom-nav-spacer {
    display: none;
    height: calc(82px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    background: transparent;
}

@keyframes vmDockEntrance {
    0% { transform: translate(-50%, 80px) scale(0.92); opacity: 0; }
    100% { transform: translate(-50%, 0) scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .mobile-bottom-nav.vm-mobile-dock {
        display: block !important;
    }
    .mobile-bottom-nav-spacer {
        display: block !important;
    }
}

/* ── Very small phones (≤ 400px): hide slogan, tighten center ── */
@media (max-width: 400px) {
    .mobile-bottom-nav.vm-mobile-dock {
        width: calc(100% - 16px) !important;
        height: 62px !important;
        border-radius: 32px !important;
    }
    .vm-dock-content { padding: 0 2px; }
    .vm-dock-center {
        flex: 0 0 84px;
        width: 84px;
    }
    .vm-center-slogan { display: none; }
    .vm-center-circle { width: 48px; height: 48px; }
    .vm-dock-item {
        max-width: 60px;
    }
    .vm-dock-item.active {
        max-width: 72px !important;
        padding: 4px 6px 5px !important;
    }
    .vm-dock-item .vm-item-icon-wrap {
        width: 28px;
        height: 28px;
    }
    .vm-dock-item .vm-item-label { font-size: 0.58rem; }
}

/* ── Galaxy S/A very narrow (≤ 360px) ── */
@media (max-width: 360px) {
    .mobile-bottom-nav.vm-mobile-dock {
        width: calc(100% - 12px) !important;
        height: 60px !important;
    }
    .vm-dock-center { flex: 0 0 76px; width: 76px; }
    .vm-center-circle { width: 44px; height: 44px; }
    .vm-dock-item { max-width: 56px; }
    .vm-dock-item.active { max-width: 68px !important; }
    .vm-dock-item .vm-item-label { font-size: 0.55rem; }
}
