/* ==========================================================================
   eDairy — Modern Dairy-Tech Professional E-Commerce Stylesheet
   Platform Facilitator: AASHA ENTERPRISE (Bettiah, West Champaran, Bihar)
   Brand Palette: Forest Green #004D3A, Dark #003D2E, Brand Green #087F45,
   Fresh Green #32A852, Leaf Green #68C63A, Light Green #EAF8E5, Mint #F3FAF0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* ==========================================================================
     eDairy Official Brand Tokens
     ========================================================================== */
  --primary: #004D3A;          /* Forest Green */
  --dark: #003D2E;             /* Deep Dark Green */
  --brand-green: #087F45;      /* Brand Green */
  --fresh-green: #32A852;      /* Fresh Green */
  --leaf-green: #68C63A;       /* Leaf Green */
  --light-green: #EAF8E5;      /* Light Green */
  --mint-bg: #F3FAF0;          /* Mint Background */
  --white: #FFFFFF;            /* White */
  --off-white: #FAFCF9;        /* Off White */
  --text: #111111;             /* Text */
  --secondary-text: #5F6B64;   /* Secondary Text */
  --border: #DDE8DF;           /* Border */

  /* Legacy & Component Mappings (Seamless, zero-breakage mapping to eDairy theme) */
  --fk-blue: #004D3A;          /* Forest Green replaces old blue */
  --fk-dark-blue: #003D2E;     /* Dark Forest Green */
  --fk-yellow: #68C63A;        /* Leaf Green */
  --fk-orange: #004D3A;        /* Forest Green for primary CTAs */
  --fk-gold: #087F45;          /* Brand Green */
  --fk-green: #32A852;         /* Fresh Green */
  --fk-green-light: #EAF8E5;   /* Light Green */
  --assured-blue: #087F45;     /* Brand Green for verified badges */

  /* Dairy Naturals & Accents */
  --dairy-green: #004D3A;
  --dairy-accent: #087F45;
  --dairy-mint: #EAF8E5;
  --dairy-cream: #F3FAF0;
  --dairy-sand: #FAFCF9;

  /* Surface & Backgrounds */
  --bg-page: #F3FAF0;          /* Mint Background #F3FAF0 */
  --bg-white: #FFFFFF;
  --bg-surface-alt: #FAFCF9;
  
  /* Text & Inks */
  --text-dark: #111111;
  --text-body: #111111;
  --text-muted: #5F6B64;
  --text-light: #7E8C83;

  /* Borders & Dividers */
  --border-light: #DDE8DF;
  --border-subtle: #E8F0EA;

  /* Status Colors */
  --status-delivered: #32A852;
  --status-delivered-bg: #EAF8E5;
  --status-attempted: #D97706;
  --status-attempted-bg: #FEF3C7;
  --status-rescheduled: #087F45;
  --status-rescheduled-bg: #EAF8E5;
  --status-scheduled: #004D3A;
  --status-scheduled-bg: #EAF8E5;
  --status-paused: #5F6B64;
  --status-paused-bg: #E8F0EA;

  /* Elevation & Soft Organic Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 77, 58, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 77, 58, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 77, 58, 0.12);
  --shadow-modal: 0 16px 40px rgba(0, 61, 46, 0.25);

  /* Modern Rounded Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout Widths */
  --container-max: 1280px;
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--fk-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--fk-dark-blue);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ==========================================================================
   eDairy OFFICIAL HEADER BAR (Matches Mockup)
   ========================================================================== */
.fk-topbar {
  background-color: #ffffff;
  color: var(--text-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 77, 58, 0.05);
}

.fk-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 1rem;
}

/* Brand Emblem with Official eDairy Logo & Tagline */
.edairy-brand-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.edairy-header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.edairy-header-text {
  display: flex;
  flex-direction: column;
}

.edairy-brand-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.edairy-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.edairy-header-text-img {
  height: 32px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  transition: transform 0.2s ease;
}

.edairy-brand-header:hover .edairy-header-text-img {
  transform: scale(1.03);
}

.edairy-footer-text-img {
  height: 32px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: inline-block;
  vertical-align: middle;
}

.edairy-tagline {
  font-size: 0.68rem;
  color: var(--secondary-text);
  font-weight: 600;
  letter-spacing: -0.1px;
}

.edairy-loc-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.edairy-loc-pill:hover {
  background-color: var(--mint-bg);
}

.edairy-loc-change {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.edairy-user-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.edairy-user-link:hover {
  color: var(--brand-green);
}

.edairy-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
}

.edairy-cart-btn:hover {
  color: var(--brand-green);
}

.edairy-cart-badge {
  background-color: var(--leaf-green);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
}

.edairy-choose-plan-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.825rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 77, 58, 0.2);
}

.edairy-choose-plan-btn:hover {
  background-color: var(--dark);
  transform: translateY(-1px);
}

/* Legacy Brand Helper */
.fk-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.fk-brand-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fk-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.4px;
}

.fk-plus-pill {
  background-color: var(--leaf-green);
  color: var(--dark);
  font-size: 0.625rem;
  font-weight: 900;
  font-style: italic;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  line-height: 1.2;
}

.fk-brand-sub {
  font-size: 0.68rem;
  color: var(--dairy-mint);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.fk-brand-sub strong {
  color: var(--fk-yellow);
}

/* Search Bar (Flipkart Style) */
.fk-search-wrapper {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.fk-search-box {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 77, 58, 0.06);
  overflow: hidden;
}

.fk-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
}

.fk-search-box input::placeholder {
  color: var(--text-muted);
}

.fk-search-btn {
  background: var(--primary);
  border: none;
  padding: 0.6rem 0.95rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.fk-search-btn:hover {
  background-color: var(--dark);
}

/* Header Nav Actions */
.fk-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Role Selector Dropdown in Header */
.fk-role-select {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 0.75rem;
  border-radius: 20px;
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.fk-role-select option {
  background-color: #ffffff;
  color: var(--text-dark);
}

.fk-role-select:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Cart Button with Counter */
.fk-cart-btn {
  background-color: transparent;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

.fk-cart-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.fk-cart-badge {
  background-color: var(--leaf-green);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  line-height: 1.2;
}

/* Login Button in Header */
.fk-login-btn {
  background-color: #ffffff;
  color: var(--primary);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.fk-login-btn:hover {
  background-color: var(--light-green);
  color: var(--dark);
}

/* ==========================================================================
   FLIPKART DELIVERY LOCATION STRIP
   ========================================================================== */
.fk-location-strip {
  background-color: rgba(0, 0, 0, 0.18);
  padding: 0.35rem 1rem;
  font-size: 0.775rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fk-loc-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fk-loc-pin {
  color: var(--fk-yellow);
  font-size: 0.9rem;
}

.fk-loc-change {
  color: var(--fk-yellow);
  font-weight: 700;
  cursor: pointer;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.fk-loc-slot-tag {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   FLIPKART GROCERY 11 CIRCULAR CATEGORY BUBBLES
   ========================================================================== */
.fk-cat-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 0.85rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fk-cat-strip::-webkit-scrollbar {
  display: none;
}

.fk-cat-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  min-width: max-content;
  padding-inline: 1rem;
}

.fk-cat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  width: auto;
  min-width: 62px;
  padding: 0.2rem 0.35rem;
  transition: transform 0.18s ease;
  position: relative;
}

.fk-cat-bubble:hover {
  transform: translateY(-2px);
}

.fk-cat-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  background-color: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.2s ease;
}

.fk-cat-bubble:hover .fk-cat-icon-circle,
.fk-cat-bubble.active .fk-cat-icon-circle {
  transform: scale(1.1);
}

.fk-cat-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.15;
  white-space: nowrap;
}

.fk-cat-bubble.active .fk-cat-label {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   FLIPKART PROMOTIONAL DEALS CAROUSEL BANNER
   ========================================================================== */
.fk-promo-slider {
  margin: 1rem 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.fk-slide-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.fk-slide-item {
  min-width: 100%;
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #ffffff;
  position: relative;
}

.fk-slide-bg-1 {
  background: linear-gradient(135deg, #003D2E 0%, #004D3A 60%, #087F45 100%);
}

.fk-slide-bg-2 {
  background: linear-gradient(135deg, #004D3A 0%, #087F45 65%, #32A852 100%);
}

.fk-slide-bg-3 {
  background: linear-gradient(135deg, #087F45 0%, #32A852 65%, #68C63A 100%);
  color: #ffffff;
}

.fk-slide-tag {
  display: inline-block;
  background-color: var(--leaf-green);
  color: var(--dark);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fk-slide-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.fk-slide-desc {
  font-size: 0.95rem;
  opacity: 0.92;
  max-width: 540px;
  margin-bottom: 1.2rem;
}

.fk-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  border: 1.5px solid var(--leaf-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 61, 46, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
}

.fk-slide-btn:hover {
  background-color: var(--dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.fk-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.fk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fk-dot.active {
  width: 22px;
  border-radius: 4px;
  background-color: #ffffff;
}

/* ==========================================================================
   MARKETPLACE CONTROLS: DUAL MODE TABS & FILTERS
   ========================================================================== */
.fk-filter-panel {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 77, 58, 0.04);
  border: 1px solid var(--border);
}

/* eDairy Modern Marketplace Mode Tabs */
.edairy-marketplace-header {
  margin-bottom: 1.15rem;
}

.edairy-tab-intro {
  margin-bottom: 0.85rem;
}

.edairy-tab-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.edairy-tab-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.25rem;
  letter-spacing: -0.3px;
}

.edairy-tab-subheading {
  font-size: 0.82rem;
  color: var(--secondary-text);
  margin: 0;
  line-height: 1.4;
}

.edairy-mode-segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  background: var(--off-white);
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.edairy-segment-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 77, 58, 0.03);
}

.edairy-segment-btn:hover {
  border-color: var(--fresh-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 77, 58, 0.08);
}

.edairy-segment-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 77, 58, 0.22);
}

.edairy-segment-btn .tab-badge-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.edairy-segment-btn .tab-btn-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.edairy-segment-btn .tab-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.edairy-segment-btn.active .tab-title {
  color: #ffffff;
}

.edairy-segment-btn .tab-desc {
  font-size: 0.7rem;
  color: var(--secondary-text);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.edairy-segment-btn.active .tab-desc {
  color: #d1ead7;
}

.edairy-segment-btn .tab-sparkle-tag {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--leaf-green);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 0.12rem 0.45rem;
  border-radius: 20px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(104, 198, 58, 0.4);
}

.edairy-segment-btn .tab-sparkle-tag.pan-india {
  background: #ff9800;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4);
}

.fk-mode-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.fk-mode-toggle-group {
  display: inline-flex;
  background-color: var(--bg-page);
  padding: 0.25rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.fk-mode-btn {
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.fk-mode-btn.active {
  background-color: #ffffff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.fk-filter-chips-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.fk-chips-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fk-filter-chip {
  background-color: var(--mint-bg);
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fk-filter-chip:hover {
  border-color: var(--fresh-green);
  color: var(--primary);
  background-color: var(--light-green);
}

.fk-filter-chip.active {
  background-color: var(--light-green);
  border-color: var(--fresh-green);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(8, 127, 69, 0.12);
}

/* ==========================================================================
   eDairy MODERN PRODUCT CARDS GRID (PC DESKTOP, TABLET, MOBILE)
   ========================================================================== */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.fk-product-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 77, 58, 0.04);
}

.fk-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 77, 58, 0.1);
  border-color: var(--fresh-green);
}

/* Card Header: Thumbnail & Assured Badge */
.fk-card-thumb-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.fk-card-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-color: var(--dairy-cream);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.fk-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.fk-assured-tag {
  background-color: var(--assured-blue);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  font-style: italic;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  letter-spacing: -0.2px;
}

.fk-mode-tag {
  background-color: var(--light-green);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Provider & Rating Line */
.fk-provider-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.fk-provider-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.fk-rating-pill {
  background-color: var(--fresh-green);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

/* Product Title & Info */
.fk-prod-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.fk-prod-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Flipkart Pricing Typography */
.fk-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.fk-price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
}

.fk-price-mrp {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.fk-price-discount {
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--brand-green);
}

/* 30-Day Plan Summary Box */
.fk-plan-preview-box {
  background-color: var(--light-green);
  border: 1px dashed var(--fresh-green);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-body);
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fk-plan-preview-box strong {
  color: var(--primary);
}

/* Action Buttons */
.fk-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.fk-btn-subscribe {
  flex: 1;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 2px 4px rgba(0, 77, 58, 0.15);
}

.fk-btn-subscribe:hover {
  background-color: var(--dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.fk-btn-add {
  background-color: #ffffff;
  color: var(--brand-green);
  border: 1.5px solid var(--brand-green);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fk-btn-add:hover {
  background-color: var(--light-green);
  color: var(--dark);
}

/* Stepper [- Qty +] */
.fk-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--brand-green);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #ffffff;
}

.fk-stepper-btn {
  background-color: #ffffff;
  border: none;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
  width: 28px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.fk-stepper-btn:hover {
  background-color: var(--light-green);
}

.fk-stepper-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   FLIPKART 4-STEP TRACKER & 30-DAY DELIVERY CALENDAR VIEW
   ========================================================================== */
.fk-tracker-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-xs);
}

/* Stepper Pipeline */
.fk-stepper-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0 1.25rem;
}

.fk-stepper-track::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 25px;
  right: 25px;
  height: 3px;
  background-color: #e0e0e0;
  z-index: 1;
}

.fk-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 140px;
}

.fk-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #bdbdbd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #757575;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.fk-step-node.completed .fk-step-circle {
  background-color: var(--fresh-green);
  border-color: var(--fresh-green);
  color: #ffffff;
}

.fk-step-node.active .fk-step-circle {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 77, 58, 0.2);
}

.fk-step-title {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.fk-step-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* 30-Day Delivery Calendar Grid */
.calendar-grid-30 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .calendar-grid-30 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 600px) {
  .calendar-grid-30 {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}

.cal-day-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 68px;
}

.cal-day-card:hover {
  border-color: var(--fk-blue);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cal-day-card.today {
  border: 2px solid var(--fk-blue);
  background-color: #eff6ff;
}

.cal-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-day-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

.cal-day-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.cal-day-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.cal-day-status-pill {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  text-align: center;
  margin-top: 0.25rem;
  letter-spacing: -0.2px;
}

/* Status colors */
.dot-delivered { background-color: var(--status-delivered); }
.pill-delivered { background-color: var(--status-delivered-bg); color: var(--status-delivered); }

.dot-attempted { background-color: var(--status-attempted); }
.pill-attempted { background-color: var(--status-attempted-bg); color: var(--status-attempted); }

.dot-rescheduled { background-color: var(--status-rescheduled); }
.pill-rescheduled { background-color: var(--status-rescheduled-bg); color: var(--status-rescheduled); }

.dot-scheduled { background-color: var(--status-scheduled); }
.pill-scheduled { background-color: var(--status-scheduled-bg); color: var(--status-scheduled); }

.dot-paused { background-color: var(--status-paused); }
.pill-paused { background-color: var(--status-paused-bg); color: var(--status-paused); }

/* ==========================================================================
   FLIPKART CART DRAWER (Side Modal & Price Details)
   ========================================================================== */
.fk-cart-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.fk-cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.fk-cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--bg-page);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fk-cart-backdrop.active .fk-cart-drawer {
  right: 0;
}

.fk-cart-header {
  background-color: var(--fk-blue);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fk-cart-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fk-cart-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
}

.fk-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

/* Delivery Address Strip in Cart */
.fk-cart-deliver-to {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fk-cart-deliver-to span {
  font-size: 0.8rem;
  color: var(--text-dark);
}

.fk-cart-deliver-to strong {
  color: var(--fk-blue);
  cursor: pointer;
}

/* Cart Item Row */
.fk-cart-item {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
}

.fk-cart-item-thumb {
  width: 54px;
  height: 54px;
  background-color: var(--dairy-cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.fk-cart-item-info {
  flex: 1;
}

.fk-cart-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.fk-cart-item-prov {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* Price Details Card (Flipkart Signature) */
.fk-price-details-card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 1rem;
  margin-top: 1rem;
}

.fk-price-details-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.fk-price-row-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

.fk-price-row-item.total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  border-top: 1px dashed var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.fk-price-savings-alert {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--fk-green);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.75rem;
}

.fk-cart-footer {
  background-color: #ffffff;
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.fk-cart-footer-total {
  display: flex;
  flex-direction: column;
}

.fk-cart-footer-total span {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.fk-cart-footer-total strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
}

.fk-btn-place-order {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 77, 58, 0.2);
}

.fk-btn-place-order:hover {
  background-color: var(--dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   NON-DESKTOP (MOBILE) FIXED BOTTOM NAVIGATION BAR
   ========================================================================== */
.fk-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1500;
  padding: 0.35rem 0.5rem;
}

.fk-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.fk-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding: 0.3rem 0.5rem;
  transition: color 0.15s ease;
}

.fk-bnav-item.active {
  color: var(--primary);
  font-weight: 800;
}

.fk-bnav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   MODALS (Checkout, Day Detail, Add Product)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 61, 46, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: scale(0.96);
  transition: transform 0.2s ease;
  border: 1px solid var(--border);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--fresh-green);
  box-shadow: 0 0 0 3px rgba(50, 168, 82, 0.18);
}

/* ==========================================================================
   BUTTON UTILITIES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 77, 58, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-page);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--light-green);
  border-color: var(--brand-green);
}

.btn-orange {
  background-color: var(--brand-green);
  color: #ffffff;
}

.btn-orange:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background-color: var(--dark);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 61, 46, 0.25);
  animation: slideUp 0.25s ease;
}

.toast-success { background-color: var(--fresh-green); }
.toast-info { background-color: var(--primary); }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: var(--border);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.8rem;
  border-top: 1px solid var(--primary);
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(221, 232, 223, 0.15);
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.footer-legal-tag {
  color: var(--leaf-green);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 0.85rem;
  color: #CFE3D5;
}

.footer-col h4 {
  color: var(--leaf-green);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

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

.footer-links a {
  color: #FAFCF9;
  font-size: 0.775rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--leaf-green);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #8A978F;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP VS TABLET VS MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for bottom navigation bar */
    overflow-x: hidden !important;
  }

  /* Topbar Mobile: 3 clean stacked rows without overflow */
  .fk-topbar {
    max-width: 100vw;
    overflow: hidden;
  }

  .fk-topbar-inner {
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
    gap: 0.4rem;
  }

  .edairy-brand-header {
    max-width: 60%;
    gap: 0.45rem;
  }

  .edairy-header-logo {
    height: 34px;
  }

  .edairy-brand-name {
    font-size: 1.15rem;
  }

  .edairy-header-text-img {
    height: 24px;
    max-width: 110px;
  }

  .edairy-tagline {
    display: none;
  }

  .fk-nav-actions {
    margin-left: auto;
    gap: 0.35rem;
  }

  .edairy-choose-plan-btn {
    display: none;
  }

  .edairy-user-link span {
    display: none;
  }

  .edairy-user-link {
    padding: 0.35rem 0.45rem;
  }

  .edairy-cart-btn span:last-child {
    display: none;
  }

  .edairy-cart-btn {
    padding: 0.35rem 0.55rem;
  }

  .fk-role-select {
    font-size: 0.68rem;
    padding: 0.3rem 0.45rem;
  }

  .edairy-loc-pill {
    order: 2;
    width: 100%;
    margin: 0.15rem 0;
    padding: 0.25rem 0.45rem;
    font-size: 0.725rem;
    white-space: normal;
    background-color: var(--mint-bg);
  }

  .fk-search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 0.15rem;
  }

  /* Categories Bar Mobile: Stacked & Scrollable */
  .edairy-cat-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .edairy-all-cat-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.75rem;
  }

  .edairy-sub-pill-badge {
    padding: 0.35rem 0.6rem;
    font-size: 0.68rem;
    justify-content: center;
  }

  .fk-cat-list {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 0.45rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fk-cat-list::-webkit-scrollbar {
    display: none;
  }

  /* Hero Mobile */
  .edairy-hero-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0.5rem 0;
    max-width: 100%;
    overflow: hidden;
  }

  .edairy-hero-banner {
    padding: 1.4rem 1rem;
    min-height: auto;
  }

  .edairy-hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .edairy-hero-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .edairy-hero-trust-chips {
    margin-top: 1rem;
    padding-top: 0.75rem;
    gap: 0.35rem;
  }

  .trust-chip {
    font-size: 0.68rem;
    padding: 0.25rem 0.45rem;
    white-space: normal;
  }

  .edairy-farmer-card {
    padding: 1.4rem 1rem;
  }

  .farmer-tech-title {
    font-size: 1.3rem;
  }

  /* Popular Products Mobile */
  .edairy-popular-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 1.25rem 0;
    max-width: 100%;
    overflow: hidden;
  }

  .edairy-popular-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .edairy-product-card {
    padding: 0.65rem 0.5rem;
    min-width: 0;
  }

  .edairy-card-img-wrap {
    height: 65px;
    font-size: 2.2rem;
  }

  .edairy-card-name {
    font-size: 0.8rem;
  }

  .edairy-card-desc-brief {
    font-size: 0.65rem;
  }

  .edairy-card-pricing {
    gap: 0.25rem;
  }

  .edairy-card-price-now {
    font-size: 0.95rem;
  }

  .edairy-card-price-mrp {
    font-size: 0.7rem;
  }

  .edairy-card-discount-badge {
    font-size: 0.65rem;
  }

  .edairy-card-footer-controls {
    flex-direction: column;
    gap: 0.3rem;
  }

  .edairy-qty-dropdown {
    width: 100%;
    padding: 0.25rem;
    font-size: 0.68rem;
  }

  .edairy-add-cart-btn {
    width: 100%;
    justify-content: center;
    padding: 0.35rem 0.5rem;
    font-size: 0.72rem;
  }

  .edairy-sub-promo-card {
    padding: 1.25rem 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* 4 Pillars Strip Mobile */
  .edairy-pillars-strip {
    padding: 1rem 0.75rem;
    margin: 1rem 0;
    max-width: 100%;
    overflow: hidden;
  }

  .edairy-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* App Metrics Mobile */
  .edairy-app-metrics-strip {
    padding: 1.15rem 0.85rem;
    margin: 1.25rem 0;
    max-width: 100%;
    overflow: hidden;
  }

  .edairy-metrics-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .app-download-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .metrics-counter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  /* Promo Slider & Stepper Mobile */
  .fk-slide-item {
    padding: 1.25rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  .fk-slide-title {
    font-size: 1.25rem;
  }

  .marketplace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  /* Compact modern cards on mobile */
  .fk-product-card {
    padding: 0.65rem 0.55rem;
    border-radius: 12px;
    min-width: 0;
  }

  .fk-card-thumb-row {
    margin-bottom: 0.35rem;
    gap: 0.35rem;
  }

  .fk-card-thumb {
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
    border-radius: 6px;
  }

  .fk-assured-tag {
    font-size: 0.58rem;
    padding: 0.1rem 0.3rem;
  }

  .fk-mode-tag {
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
  }

  .fk-provider-line {
    margin-bottom: 0.2rem;
  }

  .fk-provider-name {
    font-size: 0.65rem;
    max-width: 80px;
  }

  .fk-rating-pill {
    font-size: 0.62rem;
    padding: 0.05rem 0.25rem;
  }

  .fk-prod-title {
    font-size: 0.8rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
  }

  .fk-prod-desc {
    display: none; /* keep mobile clean and compact */
  }

  .fk-price-row {
    margin-bottom: 0.35rem;
    gap: 0.25rem;
    flex-wrap: wrap;
    align-items: baseline;
  }

  .fk-price-current {
    font-size: 1.05rem;
  }

  .fk-price-mrp {
    font-size: 0.7rem;
  }

  .fk-price-discount {
    font-size: 0.62rem;
  }

  .fk-price-unit {
    font-size: 0.62rem;
    color: var(--secondary-text);
  }

  .fk-plan-preview-box {
    padding: 0.35rem 0.45rem;
    font-size: 0.62rem;
    margin-bottom: 0.45rem;
  }

  .fk-card-actions {
    gap: 0.35rem;
    margin-top: auto;
  }

  .fk-btn-subscribe {
    padding: 0.45rem 0.4rem;
    font-size: 0.7rem;
  }

  .fk-btn-add {
    padding: 0.45rem 0.4rem;
    font-size: 0.7rem;
  }

  .fk-qty-stepper {
    padding: 0.15rem 0.3rem;
  }

  .fk-stepper-btn {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .fk-stepper-val {
    font-size: 0.75rem;
    min-width: 16px;
  }

  /* Mobile Mode Segmented Tabs Swipe */
  .edairy-mode-segmented-control {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0.5rem;
    padding: 0.35rem;
  }

  .edairy-mode-segmented-control::-webkit-scrollbar {
    display: none;
  }

  .edairy-segment-btn {
    flex: 0 0 85%;
    scroll-snap-align: start;
    padding: 0.65rem 0.75rem;
  }

  .edairy-segment-btn .tab-badge-icon {
    font-size: 1.25rem;
  }

  .edairy-segment-btn .tab-title {
    font-size: 0.85rem;
  }

  .edairy-segment-btn .tab-desc {
    font-size: 0.66rem;
  }

  .fk-bottom-nav {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .fk-stepper-track {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .fk-stepper-track::before {
    display: none;
  }

  .fk-step-node {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
    max-width: 100%;
  }

  .fk-step-circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* Footer Mockup Mobile */
  .edairy-mockup-footer {
    padding: 1.5rem 0 5.5rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .edairy-footer-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .edairy-footer-nav-links {
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .edairy-footer-sub-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .marketplace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .container {
    padding-inline: 0.6rem;
  }
}

/* ==========================================================================
   IPHONE & TABLET "DESKTOP SITE" MODE SUPPORT
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 100% !important;
    padding-inline: 1rem !important;
  }

  .marketplace-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }

  .edairy-popular-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .edairy-mode-segmented-control {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  button, select, input, a {
    touch-action: manipulation;
  }
}

/* iPhone Safari Safe Area & Touch Support */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(75px, env(safe-area-inset-bottom, 20px) + 60px);
  }
  .fk-bottom-nav {
    padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   eDairy MODERN MOCKUP COMPONENTS
   ========================================================================== */
.edairy-cat-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
}

.edairy-all-cat-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
  font-size: 0.825rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.edairy-all-cat-btn:hover {
  background-color: var(--dark);
}

.edairy-sub-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--light-green);
  border: 1px solid #c3e6be;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.edairy-sub-pill-badge:hover {
  background-color: #ddf2d7;
  border-color: var(--brand-green);
}

/* Split Hero Section (Matches Reference Mockup) */
.edairy-hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0 1.5rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .edairy-hero-grid {
    grid-template-columns: 1fr;
  }
}

.edairy-hero-banner {
  position: relative;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 44%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0) 100%), 
              url('assets/poster-pure-milk.png') right center / cover no-repeat;
  border-radius: var(--radius-md);
  padding: 2.5rem 2.2rem 1.6rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 77, 58, 0.08);
  border: 1px solid var(--border);
  min-height: 400px;
  overflow: hidden;
}

.edairy-hero-tagline-pre {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5F6B64;
  margin-bottom: 0.4rem;
}

.edairy-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.12;
  color: #004D3A;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.edairy-hero-pills-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.edairy-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #004D3A;
}

.edairy-hero-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 480px;
  color: #4A5568;
  margin-bottom: 1.5rem;
}

.edairy-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #004D3A;
  color: #ffffff;
  border: none;
  font-size: 0.925rem;
  font-weight: 800;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 77, 58, 0.25);
  transition: all 0.15s ease;
  width: fit-content;
}

.edairy-hero-cta-btn:hover {
  background-color: #003D2E;
  transform: translateY(-2px);
}

.edairy-hero-trust-chips {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 77, 58, 0.12);
}

.trust-chip {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid #DDE8DF;
  padding: 0.38rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #004D3A;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 4px rgba(0, 77, 58, 0.05);
}

/* Right Farmer Tech Card (Matches Reference Mockup) */
.edairy-farmer-card {
  position: relative;
  background: linear-gradient(90deg, #003828 0%, #004D3A 52%, rgba(0, 77, 58, 0.78) 68%, rgba(0, 77, 58, 0.15) 100%), 
              url('assets/indian-farmer.jpg') right center / cover no-repeat;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 77, 58, 0.1);
  overflow: hidden;
  min-height: 400px;
}

.farmer-tech-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-family: 'Outfit', sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.farmer-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.farmer-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.farmer-check-item span.check-icon {
  background-color: #32A852;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.farmer-card-btn {
  background-color: #ffffff;
  color: #004D3A;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.farmer-card-btn:hover {
  background-color: #EAF8E5;
  transform: translateY(-2px);
}

.farmer-card-subtag {
  font-size: 1.1rem;
  font-style: italic;
  color: #EAF8E5;
  font-weight: 700;
  align-self: flex-end;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  text-align: right;
  margin-top: 1rem;
}

/* 4-Pillar Value Proposition Strip */
.edairy-pillars-strip {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xs);
}

.edairy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .edairy-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .edairy-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--light-green);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pillar-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pillar-item span {
  display: block;
  font-size: 0.725rem;
  color: var(--secondary-text);
  margin-top: 0.15rem;
}

/* App Download & Trust Metrics Strip */
.edairy-app-metrics-strip {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-xs);
}

.edairy-metrics-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.app-download-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.store-badge-btn {
  background-color: #111111;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.725rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.metrics-counter-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric-item {
  text-align: center;
}

.metric-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}

.metric-item span {
  font-size: 0.725rem;
  color: var(--secondary-text);
  font-weight: 600;
}

/* Phone Mockup for App Download (Matches Mockup) */
.app-phone-mockup {
  width: 44px;
  height: 72px;
  background: #003D2E;
  border: 2.5px solid #111111;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  position: relative;
}

.app-mockup-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.app-mockup-label {
  font-size: 0.5rem;
  font-weight: 800;
  color: #68C63A;
  letter-spacing: -0.2px;
}

/* Landscape Good Food Badge (Matches Mockup) */
.edairy-good-food-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FAFCF9;
  border: 1px solid #C2E6BE;
  border-radius: 12px;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 77, 58, 0.05);
}

.edairy-good-food-img {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.edairy-good-food-content {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.edairy-good-food-text {
  font-size: 0.825rem;
  font-weight: 800;
  color: #004D3A;
  line-height: 1.2;
  font-family: 'Outfit', sans-serif;
}

.edairy-good-food-leaf {
  font-size: 1.25rem;
}

/* ==========================================================================
   POPULAR PRODUCTS & 30-DAY SUBSCRIPTION DUAL LAYOUT (Matches Mockup)
   ========================================================================== */
.edairy-popular-layout {
  display: grid;
  grid-template-columns: 2.85fr 1.15fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .edairy-popular-layout {
    grid-template-columns: 1fr;
  }
}

.edairy-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.edairy-section-head h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.edairy-section-head p {
  font-size: 0.8rem;
  color: var(--secondary-text);
  margin-top: 0.2rem;
}

.edairy-view-all-link {
  color: var(--brand-green);
  font-weight: 700;
  font-size: 0.825rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.edairy-view-all-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Mockup Popular Product Cards: Exactly 5 columns on desktop */
.edairy-popular-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 1200px) {
  .edairy-popular-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .edairy-popular-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .edairy-popular-cards-grid {
    grid-template-columns: 1fr;
  }
}

.edairy-product-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0, 77, 58, 0.04);
  transition: all 0.2s ease;
  position: relative;
}

.edairy-product-card:hover {
  box-shadow: 0 4px 14px rgba(0, 77, 58, 0.12);
  border-color: var(--brand-green);
  transform: translateY(-3px);
}

.edairy-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 0.35rem;
}

.edairy-card-badge-pill {
  background-color: #004D3A;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
}

.edairy-wishlist-btn {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.15rem;
  transition: color 0.15s ease;
  margin-left: auto;
}

.edairy-wishlist-btn:hover {
  color: #e53e3e;
}

.edairy-card-img-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem 0 0.5rem;
}

.edairy-card-prod-img {
  max-height: 105px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.edairy-product-card:hover .edairy-card-prod-img {
  transform: scale(1.05);
}

.edairy-card-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.2rem;
  font-family: 'Outfit', sans-serif;
}

.edairy-card-desc-brief {
  font-size: 0.7rem;
  color: var(--secondary-text);
  margin-bottom: 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edairy-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.edairy-card-price-now {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
}

.edairy-card-price-mrp {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: var(--secondary-text);
}

.edairy-card-discount-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--brand-green);
}

.edairy-card-footer-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.edairy-qty-dropdown {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
  flex: 1;
}

.edairy-add-cart-btn {
  background-color: #004D3A;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.38rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.edairy-add-cart-btn:hover {
  background-color: #003D2E;
  transform: scale(1.03);
}

/* 30-Day Milk Subscription Featured Box (Matches Mockup) */
.edairy-sub-promo-card {
  background: #EAF8E5;
  border: 1.5px solid #C2E6BE;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(0, 77, 58, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.edairy-sub-badge-pop {
  background-color: #004D3A;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.edairy-sub-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #004D3A;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.edairy-sub-card-subtitle {
  font-size: 0.8rem;
  color: #5F6B64;
  margin-bottom: 1rem;
}

.edairy-sub-body-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.edairy-sub-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.edairy-sub-check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #111111;
  font-weight: 600;
}

.edairy-sub-check-item .sub-check-icon {
  background-color: #ffffff;
  color: #32A852;
  border: 1.5px solid #32A852;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

.edairy-sub-bottle-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  flex-shrink: 0;
}

.edairy-sub-bottle-img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.edairy-sub-cursive-note {
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  color: #004D3A;
  text-align: center;
  margin-top: 0.25rem;
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
}

.edairy-sub-card-cta-btn {
  background-color: #004D3A;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 77, 58, 0.2);
  transition: all 0.15s ease;
  width: 100%;
}

.edairy-sub-card-cta-btn:hover {
  background-color: #003D2E;
  transform: translateY(-2px);
}

.edairy-sub-card-cta-btn:hover {
  background-color: var(--dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   eDairy MOCKUP FOOTER BAR
   ========================================================================== */
.edairy-mockup-footer {
  background-color: var(--dark);
  color: #FAFCF9;
  padding: 1.5rem 0 1rem;
  border-top: 2px solid var(--primary);
}

.edairy-footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.edairy-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.edairy-footer-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.edairy-footer-brand-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.edairy-footer-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
}

.edairy-footer-nav-links a {
  color: #EAF8E5;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.edairy-footer-nav-links a:hover {
  color: var(--leaf-green);
}

.edairy-footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.edairy-social-icon-btn {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.edairy-social-icon-btn:hover {
  background-color: var(--brand-green);
  transform: translateY(-2px);
}

.edairy-footer-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  font-size: 0.775rem;
  color: #CFE3D5;
}

/* ==========================================================================
   PAN-INDIA HEADQUARTERS & GOOGLE MAPS INTEGRATION
   ========================================================================== */
.edairy-hq-map-section {
  margin: 2rem auto;
  width: 100%;
  max-width: var(--container-max);
  overflow: hidden;
}

.edairy-map-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

@media (max-width: 900px) {
  .edairy-map-card {
    grid-template-columns: 1fr;
  }
}

.edairy-map-info {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 480px) {
  .edairy-map-info {
    padding: 1.25rem 1rem;
  }
}

.edairy-map-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--light-green);
  color: var(--primary);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid #c2e6be;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.edairy-map-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.25;
}

.edairy-map-desc {
  font-size: 0.85rem;
  color: var(--secondary-text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.edairy-map-address-box {
  background-color: var(--mint-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.map-addr-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.edairy-map-address-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 800;
}

.edairy-map-address-box p {
  font-size: 0.825rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0.15rem 0;
}

.map-addr-meta {
  font-size: 0.72rem;
  color: var(--secondary-text);
}

.edairy-map-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 550px) {
  .edairy-map-features {
    grid-template-columns: 1fr;
  }
}

.map-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.map-feat-item .feat-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-feat-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.map-feat-item span {
  display: block;
  font-size: 0.7rem;
  color: var(--secondary-text);
}

.edairy-map-embed-wrap {
  position: relative;
  min-height: 360px;
  width: 100%;
  background-color: #e5e7eb;
}

.edairy-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .edairy-map-embed-wrap,
  .edairy-map-iframe {
    min-height: 280px;
  }
}



