/* ==========================================================================
   NUTRIFIT MASTER DESIGN SYSTEM & CORE ENGINE (BLUE & WHITE EDITION)
   Crafted for Mashambani Dairy Farm - Uganda's Purest Goat Dairy
   ========================================================================== */

:root {
  /* Brand Color Tokens: Crisp Royal Blue & Dairy White */
  --nf-blue-700: #1362A5;  /* Official NutriFit Royal Blue */
  --nf-blue-800: #0D4E85;  /* Deep Royal Blue Hover */
  --nf-blue-900: #0A2540;  /* Midnight Slate Navy for deep contrast & text */
  --nf-blue-500: #1E79C4;  /* Vibrant Sky Blue */
  --nf-blue-100: #E1EFFB;  /* Light Ice Blue Border/Surface */
  --nf-blue-50:  #F0F7FD;  /* Very Soft Ice Blue Background */

  --nf-white:      #FFFFFF;  /* Pure Dairy White */
  --nf-bg-light:   #F8FAFC;  /* Crisp Off-White Slate */
  --nf-border-subtle: rgba(19, 98, 165, 0.12);

  --nf-text-main:  #0A2540;  /* Midnight Navy for Maximum Contrast & Clarity */
  --nf-text-muted: #4B637A;  /* Balanced Slate Gray */
  --nf-text-light: #7E96AC;  /* Subtle Supporting Gray */

  --nf-badge-green: #1B8354; /* Fresh Pasture Accent for Organic/Farm badges */
  --nf-badge-green-bg: #EAF7F0;

  /* Typography */
  --nf-font-display: 'Fraunces', Georgia, serif;
  --nf-font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --nf-space-xs: 0.5rem;   /* 8px */
  --nf-space-sm: 0.75rem;  /* 12px */
  --nf-space-md: 1.25rem;  /* 20px */
  --nf-space-lg: 2rem;     /* 32px */
  --nf-space-xl: 3.5rem;   /* 56px */
  --nf-space-2xl: 5rem;    /* 80px */

  /* Borders & Radii */
  --nf-radius-sm: 8px;
  --nf-radius-md: 14px;
  --nf-radius-lg: 24px;
  --nf-radius-pill: 9999px;

  /* Shadows */
  --nf-shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.04);
  --nf-shadow-md: 0 10px 25px -5px rgba(10, 37, 64, 0.07), 0 8px 10px -6px rgba(10, 37, 64, 0.03);
  --nf-shadow-lg: 0 20px 40px -10px rgba(10, 37, 64, 0.1), 0 12px 16px -8px rgba(10, 37, 64, 0.05);

  /* Container */
  --nf-container-max: 1240px;
}

/* --------------------------------------------------------------------------
   Reset & Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.nutrifit-custom-experience {
  font-family: var(--nf-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nf-text-main);
  background-color: var(--nf-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Force override of conflicting Woodmart wrappers */
.nutrifit-custom-experience .site-content,
.nutrifit-custom-experience .main-page-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.nf-container {
  width: 100%;
  max-width: var(--nf-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--nf-font-display);
  font-weight: 700;
  color: var(--nf-text-main);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-family: var(--nf-font-sans); font-weight: 700; }

p {
  color: var(--nf-text-muted);
  line-height: 1.65;
}

.nf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nf-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nf-blue-700);
  margin-bottom: 12px;
}

.nf-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nf-blue-700);
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements (Blue & White)
   -------------------------------------------------------------------------- */
.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--nf-radius-pill);
  font-family: var(--nf-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.nf-btn--primary {
  background: var(--nf-blue-700);
  color: var(--nf-white) !important;
  box-shadow: 0 4px 14px rgba(19, 98, 165, 0.25);
}
.nf-btn--primary:hover {
  background: var(--nf-blue-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 98, 165, 0.35);
}

.nf-btn--outline {
  background: var(--nf-white);
  color: var(--nf-blue-700) !important;
  border-color: var(--nf-blue-100);
}
.nf-btn--outline:hover {
  border-color: var(--nf-blue-700);
  background: var(--nf-blue-50);
  transform: translateY(-1px);
}

.nf-btn--white {
  background: var(--nf-white);
  color: var(--nf-blue-700) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.nf-btn--white:hover {
  background: var(--nf-blue-50);
  transform: translateY(-2px);
}

.nf-btn--compact {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Floating Header (Clean Blue & White, No Announcement Bar)
   -------------------------------------------------------------------------- */
.nf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nf-border-subtle);
  transition: all 0.3s ease;
  padding: 14px 0;
}
.nf-header--scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.06);
}

.nf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Official Logo */
.nf-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nf-logo__img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.nf-logo:hover .nf-logo__img {
  transform: scale(1.03);
}

/* Desktop Navigation */
.nf-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nf-nav__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nf-text-main);
  padding: 6px 0;
  position: relative;
}
.nf-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nf-blue-700);
  transition: width 0.25s ease;
}
.nf-nav__link:hover {
  color: var(--nf-blue-700);
}
.nf-nav__link:hover::after {
  width: 100%;
}

/* Actions */
.nf-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nf-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nf-blue-50);
  border: 1px solid var(--nf-blue-100);
  color: var(--nf-blue-700);
  transition: all 0.2s ease;
}
.nf-cart-btn:hover {
  background: var(--nf-white);
  border-color: var(--nf-blue-700);
  transform: translateY(-1px);
}
.nf-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--nf-blue-700);
  color: var(--nf-white);
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(19, 98, 165, 0.4);
}

.nf-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nf-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nf-text-main);
  transition: all 0.25s ease;
}

/* --------------------------------------------------------------------------
   Mobile Drawer
   -------------------------------------------------------------------------- */
.nf-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  visibility: hidden;
  transition: visibility 0.3s ease;
}
.nf-mobile-drawer.is-active {
  visibility: visible;
}
.nf-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nf-mobile-drawer.is-active .nf-mobile-drawer__backdrop {
  opacity: 1;
}
.nf-mobile-drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 380px;
  background: var(--nf-white);
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--nf-shadow-lg);
}
.nf-mobile-drawer.is-active .nf-mobile-drawer__content {
  transform: translateX(0);
}
.nf-mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nf-blue-100);
}
.nf-drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--nf-text-main);
  cursor: pointer;
}
.nf-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.nf-mobile-nav__link {
  font-size: 1.15rem;
  font-family: var(--nf-font-display);
  font-weight: 700;
  color: var(--nf-text-main);
  padding: 8px 0;
  border-bottom: 1px solid rgba(19, 98, 165, 0.06);
}
.nf-mobile-drawer__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--nf-blue-100);
}
.nf-drawer-contact {
  font-size: 0.8rem;
  color: var(--nf-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   HERO SECTION (Refined Blue & White Editorial Viewport)
   -------------------------------------------------------------------------- */
.nf-hero-v2 {
  padding: clamp(40px, 7vh, 72px) 0;
  background: linear-gradient(180deg, var(--nf-white) 0%, var(--nf-blue-50) 100%);
  border-bottom: 1px solid var(--nf-blue-100);
  overflow: hidden;
}

.nf-hero-v2__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.nf-hero-v2__content {
  display: flex;
  flex-direction: column;
}

.nf-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.nf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--nf-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--nf-white);
  border: 1px solid var(--nf-blue-100);
  color: var(--nf-blue-700);
}
.nf-pill--ice {
  background: var(--nf-blue-50);
  border-color: var(--nf-blue-100);
  color: var(--nf-blue-700);
}
.nf-pill--green {
  background: var(--nf-badge-green-bg);
  border-color: rgba(27, 131, 84, 0.2);
  color: var(--nf-badge-green);
}

.nf-hero-v2__title {
  margin-bottom: 18px;
  color: var(--nf-text-main);
}
.nf-hero-v2__title span {
  color: var(--nf-blue-700);
  font-style: italic;
}

.nf-hero-v2__lead {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: var(--nf-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

.nf-hero-v2__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.nf-hero-v2__proof {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--nf-blue-100);
}
.nf-proof-item {
  display: flex;
  flex-direction: column;
}
.nf-proof-num {
  font-family: var(--nf-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--nf-blue-700);
  line-height: 1;
}
.nf-proof-lbl {
  font-size: 0.75rem;
  color: var(--nf-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Bottle Plinth */
.nf-hero-v2__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-hero-plinth {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: radial-gradient(circle at 50% 50%, var(--nf-white) 0%, var(--nf-blue-100) 80%);
  border-radius: 40px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nf-white);
  box-shadow: 0 20px 45px -10px rgba(19, 98, 165, 0.15);
}
.nf-hero-img-bottle {
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(10, 37, 64, 0.15));
  transition: transform 0.4s ease;
}
.nf-hero-plinth:hover .nf-hero-img-bottle {
  transform: scale(1.03) translateY(-4px);
}

.nf-hero-tag {
  position: absolute;
  bottom: 20px;
  left: -12px;
  background: var(--nf-blue-700);
  color: var(--nf-white);
  padding: 10px 18px;
  border-radius: var(--nf-radius-md);
  box-shadow: 0 8px 20px rgba(19, 98, 165, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nf-hero-tag strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
}
.nf-hero-tag span {
  font-size: 0.72rem;
  color: var(--nf-blue-100);
}

/* --------------------------------------------------------------------------
   SECTIONS & GRIDS
   -------------------------------------------------------------------------- */
.nf-section {
  padding: clamp(48px, 7vh, 80px) 0;
}
.nf-section--white {
  background-color: var(--nf-white);
}
.nf-section--ice {
  background-color: var(--nf-blue-50);
}
.nf-section--slate {
  background-color: var(--nf-bg-light);
}
.nf-section--blue {
  background-color: var(--nf-blue-700);
  color: var(--nf-white);
}
.nf-section--blue h2, .nf-section--blue h3 {
  color: var(--nf-white);
}
.nf-section--blue p {
  color: rgba(255, 255, 255, 0.85);
}

.nf-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(32px, 5vh, 48px);
}
.nf-section-header h2 {
  margin-bottom: 12px;
}
.nf-section-header p {
  font-size: 1.05rem;
}

/* High-Density Product Cards */
.nf-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.nf-product-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius-md);
  border: 1px solid var(--nf-blue-100);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nf-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(19, 98, 165, 0.12);
  border-color: var(--nf-blue-500);
}
.nf-product-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nf-blue-700);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.nf-product-card__img-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 10px;
  background: var(--nf-blue-50);
  border-radius: var(--nf-radius-sm);
}
.nf-product-card__img-wrap img {
  max-height: 170px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nf-product-card:hover .nf-product-card__img-wrap img {
  transform: scale(1.05);
}
.nf-product-card__title {
  font-family: var(--nf-font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--nf-text-main);
  line-height: 1.3;
  margin-bottom: 6px;
}
.nf-product-card__usecase {
  font-size: 0.8rem;
  color: var(--nf-text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 2.4em;
}
.nf-product-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--nf-blue-100);
}
.nf-product-card__price {
  font-family: var(--nf-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nf-blue-700);
}
.nf-product-card__vol {
  font-size: 0.75rem;
  color: var(--nf-text-muted);
  font-weight: 600;
}
.nf-product-card__btn {
  margin-top: 12px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   THE SCIENCE / COMPARISON SECTION
   -------------------------------------------------------------------------- */
.nf-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nf-compare-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--nf-blue-100);
  box-shadow: var(--nf-shadow-sm);
  display: flex;
  flex-direction: column;
}
.nf-compare-card__badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nf-blue-50);
  color: var(--nf-blue-700);
  border: 1px solid var(--nf-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nf-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.nf-compare-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.nf-compare-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}
.nf-compare-stat {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--nf-blue-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.nf-compare-stat strong {
  color: var(--nf-blue-700);
}

/* --------------------------------------------------------------------------
   MASHAMBANI FARM & OUR HERD SECTION
   -------------------------------------------------------------------------- */
.nf-farm-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.nf-farm-gallery {
  position: relative;
}
.nf-farm-img-main {
  border-radius: var(--nf-radius-lg);
  box-shadow: var(--nf-shadow-lg);
  height: 380px;
  width: 100%;
  object-fit: cover;
}
.nf-farm-stat-badge {
  position: absolute;
  bottom: -16px;
  right: 20px;
  background: var(--nf-white);
  border-radius: var(--nf-radius-md);
  padding: 14px 22px;
  box-shadow: var(--nf-shadow-md);
  border: 1px solid var(--nf-blue-100);
}
.nf-farm-stat-badge strong {
  display: block;
  font-family: var(--nf-font-display);
  font-size: 1.5rem;
  color: var(--nf-blue-700);
  line-height: 1;
}
.nf-farm-stat-badge span {
  font-size: 0.75rem;
  color: var(--nf-text-muted);
  font-weight: 600;
}

/* Authentic Farm Feature Badges */
.nf-hero-farm-badge {
  position: absolute;
  top: 14px;
  right: -14px;
  background: var(--nf-white);
  border: 1.5px solid var(--nf-blue-100);
  border-radius: var(--nf-radius-pill);
  padding: 6px 16px 6px 6px;
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: nfFloat 4s ease-in-out infinite;
  z-index: 5;
}
.nf-hero-farm-badge__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nf-blue-500);
}
.nf-hero-farm-badge__text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--nf-navy-900);
  line-height: 1.2;
}
.nf-hero-farm-badge__text span {
  font-size: 0.72rem;
  color: var(--nf-blue-700);
  font-weight: 700;
}

.nf-farm-sub-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  background: var(--nf-white);
  border-radius: var(--nf-radius-pill);
  padding: 6px 16px 6px 6px;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.14);
  border: 1px solid var(--nf-blue-100);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}
.nf-farm-sub-badge__img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10B981;
}
.nf-farm-sub-badge strong {
  display: block;
  font-size: 0.82rem;
  color: var(--nf-navy-900);
  line-height: 1.2;
}
.nf-farm-sub-badge span {
  font-size: 0.72rem;
  color: var(--nf-slate-600);
  font-weight: 600;
}

.nf-breed-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 28px;
}
.nf-breed-chip {
  background: var(--nf-blue-50);
  border-radius: var(--nf-radius-sm);
  padding: 12px;
  border: 1px solid var(--nf-blue-100);
}
.nf-breed-chip h5 {
  font-size: 0.85rem;
  font-family: var(--nf-font-sans);
  color: var(--nf-text-main);
  margin-bottom: 4px;
}
.nf-breed-chip span {
  font-size: 0.75rem;
  color: var(--nf-text-muted);
}

/* --------------------------------------------------------------------------
   KAMPALA STORE LOCATOR ENGINE
   -------------------------------------------------------------------------- */
.nf-locator-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.nf-locator-search-wrap {
  position: relative;
  max-width: 540px;
}
.nf-locator-search {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border-radius: var(--nf-radius-pill);
  border: 1.5px solid var(--nf-blue-100);
  background: var(--nf-white);
  font-family: var(--nf-font-sans);
  font-size: 0.95rem;
  color: var(--nf-text-main);
  outline: none;
  transition: all 0.2s ease;
}
.nf-locator-search:focus {
  border-color: var(--nf-blue-700);
  box-shadow: 0 0 0 3px rgba(19, 98, 165, 0.15);
}
.nf-locator-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nf-blue-700);
}

.nf-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nf-filter-pill {
  padding: 8px 18px;
  border-radius: var(--nf-radius-pill);
  background: var(--nf-white);
  border: 1px solid var(--nf-blue-100);
  font-family: var(--nf-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nf-blue-700);
  cursor: pointer;
  transition: all 0.2s ease;
}
.nf-filter-pill:hover {
  background: var(--nf-blue-50);
}
.nf-filter-pill.is-active {
  background: var(--nf-blue-700);
  color: var(--nf-white);
  border-color: var(--nf-blue-700);
  box-shadow: 0 3px 8px rgba(19, 98, 165, 0.25);
}

/* Store Cards Grid */
.nf-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.nf-store-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius-md);
  border: 1px solid var(--nf-blue-100);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.nf-store-card:hover {
  border-color: var(--nf-blue-500);
  box-shadow: var(--nf-shadow-sm);
}
.nf-store-card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--nf-blue-50);
  color: var(--nf-blue-700);
  margin-bottom: 10px;
}
.nf-store-card__tag--carrefour {
  background: #E5F0FA;
  color: var(--nf-blue-700);
}
.nf-store-card__tag--farm {
  background: var(--nf-badge-green-bg);
  color: var(--nf-badge-green);
}
.nf-store-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nf-text-main);
  margin-bottom: 6px;
}
.nf-store-card__loc {
  font-size: 0.85rem;
  color: var(--nf-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.nf-store-card__status {
  font-size: 0.78rem;
  color: var(--nf-blue-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.nf-store-card__status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nf-blue-700);
}
.nf-store-card__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   FOOTER (Midnight Slate Navy & Pure White)
   -------------------------------------------------------------------------- */
.nf-footer {
  background: var(--nf-blue-900);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(56px, 8vh, 80px) 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nf-footer-logo-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--nf-radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  margin-bottom: 20px;
  transition: transform var(--nf-transition-fast), box-shadow var(--nf-transition-fast);
}
.nf-footer-logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.nf-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}
.nf-footer__grid--3col {
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 56px;
}
.nf-footer__bio {
  margin: 18px 0 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.nf-footer__cert-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nf-cert-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--nf-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: var(--nf-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.nf-footer__heading {
  font-family: var(--nf-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nf-white);
  margin-bottom: 20px;
}
.nf-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nf-footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.nf-footer__links a:hover {
  color: var(--nf-white);
  padding-left: 2px;
}
.nf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}
.nf-footer__bottom-links {
  display: flex;
  gap: 20px;
}
.nf-footer__bottom-links a:hover {
  color: var(--nf-white);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nf-nav {
    display: none;
  }
  .nf-mobile-toggle {
    display: flex;
  }
  .nf-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nf-hero-v2__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nf-hero-v2__lead {
    margin-left: auto;
    margin-right: auto;
  }
  .nf-hero-v2__actions {
    justify-content: center;
  }
  .nf-hero-v2__proof {
    justify-content: center;
  }
  .nf-compare-grid {
    grid-template-columns: 1fr;
  }
  .nf-farm-grid {
    grid-template-columns: 1fr;
  }
  .nf-footer__grid {
    grid-template-columns: 1fr;
  }
  .nf-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   INTERACTIVE SPLIT-SCREEN STORE LOCATOR & LEAFLET MAP
   -------------------------------------------------------------------------- */
.nf-container--wide {
  max-width: 1400px;
}

.nf-locator-split {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.nf-locator-list-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.nf-locator-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nf-locator-search-icon {
  position: absolute;
  left: 18px;
  color: var(--nf-blue-500);
  pointer-events: none;
}

.nf-locator-search {
  width: 100%;
  padding: 14px 44px 14px 48px;
  border-radius: var(--nf-radius-pill);
  border: 1.5px solid var(--nf-blue-200);
  background: var(--nf-white);
  color: var(--nf-navy-900);
  font-family: var(--nf-font-sans);
  font-size: 0.95rem;
  transition: all var(--nf-transition-fast);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.nf-locator-search:focus {
  outline: none;
  border-color: var(--nf-blue-700);
  box-shadow: 0 0 0 3px var(--nf-blue-100);
}

.nf-search-clear {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--nf-blue-500);
  cursor: pointer;
  padding: 4px;
}

.nf-locator-pills-row {
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
}

.nf-locator-pills-row .nf-filter-pills {
  flex-wrap: wrap;
  gap: 8px;
}

.nf-locator-counter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nf-blue-700);
}

.nf-live-dot-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10B981;
  font-weight: 600;
  font-size: 0.8rem;
}

.nf-live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: nfPulseDot 2s infinite;
}

@keyframes nfPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nf-store-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 240px);
  min-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

.nf-store-feed::-webkit-scrollbar {
  width: 6px;
}
.nf-store-feed::-webkit-scrollbar-track {
  background: var(--nf-blue-50);
  border-radius: 4px;
}
.nf-store-feed::-webkit-scrollbar-thumb {
  background: var(--nf-blue-200);
  border-radius: 4px;
}
.nf-store-feed::-webkit-scrollbar-thumb:hover {
  background: var(--nf-blue-500);
}

.nf-store-card-interactive {
  background: var(--nf-white);
  border: 1.5px solid var(--nf-blue-100);
  border-radius: var(--nf-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--nf-transition-fast);
  cursor: pointer;
}

.nf-store-card-interactive:hover {
  border-color: var(--nf-blue-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 98, 165, 0.1);
}

.nf-store-card-interactive.is-active {
  border-color: var(--nf-blue-700);
  background: var(--nf-blue-50);
  box-shadow: 0 10px 28px rgba(19, 98, 165, 0.16);
  transform: scale(1.01);
}

.nf-store-card-interactive__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.nf-store-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--nf-radius-pill);
  background: var(--nf-blue-100);
  color: var(--nf-blue-800);
}

.nf-store-card__tag--carrefour {
  background: #E0F2FE;
  color: #0369A1;
}

.nf-store-card__tag--farm {
  background: #DCFCE7;
  color: #15803D;
}

.nf-store-card__hours {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nf-slate-500);
}

.nf-store-card-interactive__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nf-navy-900);
  margin: 0;
}

.nf-store-card-interactive__loc {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--nf-slate-600);
  line-height: 1.4;
}

.nf-store-card-interactive__loc svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--nf-blue-700);
}

.nf-store-card-interactive__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nf-blue-700);
  background: var(--nf-white);
  padding: 4px 10px;
  border-radius: var(--nf-radius-sm);
  border: 1px solid var(--nf-blue-100);
  width: fit-content;
}

.nf-stock-pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--nf-blue-700);
  border-radius: 50%;
}

.nf-store-card-interactive__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

/* RIGHT COLUMN: STICKY MAP */
.nf-locator-map-col {
  position: sticky;
  top: 90px;
  height: calc(100vh - 130px);
  min-height: 580px;
  max-height: 840px;
}

.nf-sticky-map-card {
  height: 100%;
  background: var(--nf-white);
  border: 1.5px solid var(--nf-blue-100);
  border-radius: var(--nf-radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.08);
  display: flex;
  flex-direction: column;
}

.nf-map-card-header {
  padding: 12px 18px;
  background: var(--nf-navy-900);
  color: var(--nf-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.nf-map-header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nf-blue-100);
}

.nf-radar-dot {
  width: 8px;
  height: 8px;
  background: #38BDF8;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
  animation: nfPulseDot 2s infinite;
}

.nf-near-me-btn {
  background: var(--nf-white);
  border: 1.5px solid var(--nf-blue-200);
  color: var(--nf-blue-800);
  font-family: var(--nf-font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--nf-radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  transition: all var(--nf-transition-fast);
}

.nf-near-me-btn:hover {
  background: var(--nf-blue-50);
  border-color: var(--nf-blue-600);
  color: var(--nf-blue-700);
  transform: translateY(-1px);
}

.nf-near-me-btn.is-locating {
  opacity: 0.7;
  pointer-events: none;
}

.nf-near-me-btn.is-active {
  background: var(--nf-blue-700);
  border-color: var(--nf-blue-700);
  color: var(--nf-white);
}

.nf-map-layer-toggles {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--nf-radius-pill);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nf-layer-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--nf-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nf-layer-btn:hover {
  color: #ffffff;
}

.nf-layer-btn.is-active {
  background: #ffffff;
  color: var(--nf-navy-900);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.nf-distance-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #BFDBFE;
}

/* User location pulsed marker */
.nf-user-location-pin {
  width: 22px;
  height: 22px;
  position: relative;
}

.nf-user-location-dot {
  width: 14px;
  height: 14px;
  background: #2563EB;
  border: 3px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.nf-user-location-pulse {
  width: 22px;
  height: 22px;
  background: rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: nfPulseUser 2s infinite ease-out;
}

@keyframes nfPulseUser {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.nf-map-reset-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--nf-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--nf-radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--nf-transition-fast);
}

.nf-map-reset-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.nf-store-map {
  flex: 1;
  width: 100%;
  min-height: 480px;
}

.nf-map-legend {
  padding: 8px 16px;
  background: var(--nf-blue-50);
  border-top: 1px solid var(--nf-blue-100);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nf-slate-600);
  text-align: center;
}

/* LEAFLET CUSTOM STYLING */
.nf-leaflet-pin {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.nf-leaflet-pin__core {
  width: 32px;
  height: 32px;
  background: var(--nf-blue-700);
  border: 2.5px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nf-leaflet-pin__core svg {
  transform: rotate(45deg);
}

.nf-leaflet-pin.is-active .nf-leaflet-pin__core {
  background: var(--nf-navy-900);
  transform: rotate(-45deg) scale(1.25);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.45);
}

.nf-leaflet-pin__pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--nf-blue-500);
  opacity: 0;
  animation: nfPulsePin 2.4s infinite ease-out;
  pointer-events: none;
}

@keyframes nfPulsePin {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  border-radius: var(--nf-radius-md) !important;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.2) !important;
  padding: 4px !important;
  border: 1px solid var(--nf-blue-100) !important;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  line-height: 1.4 !important;
  font-family: var(--nf-font-sans) !important;
}

.nf-popup-wrap h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--nf-navy-900);
  margin: 0 0 4px;
}

.nf-popup-wrap p {
  font-size: 0.82rem;
  color: var(--nf-slate-600);
  margin: 0 0 10px;
}

.nf-popup-wrap .nf-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--nf-blue-700);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--nf-radius-pill);
  text-decoration: none;
  width: 100%;
}

.nf-popup-wrap .nf-popup-btn:hover {
  background: var(--nf-navy-900);
  color: #fff;
}

@media (max-width: 1024px) {
  .nf-locator-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nf-locator-map-col {
    position: relative;
    top: 0;
    height: 420px;
    min-height: 420px;
    order: -1;
  }
  .nf-store-feed {
    max-height: none;
    min-height: auto;
  }
}
