/* ========================================
   KrishixMart FARMS — Design System
   Modern Agricultural Ecommerce
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Slab:wght@400;500;600;700;800&display=swap");

/* ---------- CSS Custom Properties ---------- */
:root {
  /* ══ Primary Palette — Fresh Leaf Green ══
     Vibrant, energetic green that signals
     growth, nature, and fresh produce.       */
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  /* ══ Accent — Saffron Amber ══
     Warm Indian saffron/turmeric hue —
     harvest, prosperity, high-value crops.  */
  --gold-50:  #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;
  --gold-800: #92400e;
  --gold-900: #78350f;

  /* ══ Warm Earth — Soil / Clay ══
     Terracotta-soil tones for warmth       */
  --earth-50:  #fdf6ee;
  --earth-100: #fae8d0;
  --earth-200: #f4cfaa;
  --earth-300: #eba978;
  --earth-400: #e07d44;
  --earth-500: #c85f28;
  --earth-600: #a8481d;
  --earth-700: #853719;
  --earth-800: #662b15;
  --earth-900: #4d2010;

  /* ══ Neutrals — Cool Slate ══ */
  --neutral-50:  #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* ══ Semantic Tokens ══ */
  --primary:        #16a34a;        /* Fresh leaf green  */
  --primary-dark:   #14532d;        /* Deep jungle green */
  --primary-light:  #22c55e;        /* Bright spring green */
  --accent:         #d97706;        /* Saffron amber     */
  --accent-light:   #f59e0b;        /* Golden amber      */

  /* Backgrounds — Mint-cream, airy & clean */
  --bg-primary:   #f5fdf7;          /* Very soft mint-white  */
  --bg-secondary: #e8f8ed;          /* Pale green tint       */
  --bg-card:      #ffffff;

  /* Text */
  --text-primary:   #0f172a;        /* Near-black slate  */
  --text-secondary: #334155;        /* Slate 700         */
  --text-muted:     #64748b;        /* Slate 500         */
  --text-inverse:   #ffffff;

  /* Borders & Shadows */
  --border:       #d1fae5;          /* Soft green border */
  --shadow-sm:    0 2px 8px rgba(20, 83, 45, .05);
  --shadow-md:    0 8px 24px rgba(20, 83, 45, .08);
  --shadow-lg:    0 10px 15px -3px rgba(0, 0, 0, .07), 0 4px 6px -4px rgba(0, 0, 0, .04);
  --shadow-xl:    0 24px 48px rgba(20, 83, 45, .10);
  --shadow-glow:  0 0 40px rgba(34, 197, 94, .18);

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Roboto Slab', serif;

  /* Spacing */
  --space-xs:   .25rem;
  --space-sm:   .5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* Radius */
  --radius-sm:   .375rem;
  --radius-md:   .5rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  2rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* Layout */
  --max-width:     1280px;
  --topbar-height: 38px;
  --nav-height:    74px;
  --header-height: calc(var(--topbar-height) + var(--nav-height));
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: var(--space-md);
  padding: .35rem 1rem;
  background: var(--green-50);
  border-radius: var(--radius-full);
  border: 1px solid var(--green-200);
}

.section-label svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, .4);
}

.btn-secondary {
  background: #fff;
  color: var(--green-700);
  border: 2px solid var(--green-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--green-400);
  background: var(--green-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff;
  box-shadow: 0 4px 14px rgba(202, 138, 4, .3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(202, 138, 4, .4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .8125rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-lg);
}

/* ---------- Navigation ---------- */
/* ---------- Site Header & Top Utility Bar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.top-bar {
  background: linear-gradient(90deg, #092612 0%, #14532d 50%, #092612 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

.site-header.is-scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 1rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--green-300);
}

.top-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.top-link:hover {
  color: var(--gold-300);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.top-bar-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #86efac;
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
}

.top-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #25d366;
  color: #fff !important;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: all var(--duration-fast) ease;
}

.top-wa-btn:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
}

.top-wa-btn svg {
  width: 14px;
  height: 14px;
}

/* ---------- Modern Navigation Bar ---------- */
.navbar {
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(22, 163, 74, 0.14);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 2px 14px rgba(20, 83, 45, 0.05);
}

.site-header.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(22, 163, 74, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: transform var(--duration-fast) ease;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo-img {
  height: 46px;
  width: 46px;
  max-width: 46px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.12);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green-900);
  line-height: 1;
  letter-spacing: -0.02em;
}

.nav-logo-accent {
  color: var(--accent);
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--green-50);
}

.nav-link.active {
  color: var(--primary-dark);
  font-weight: 600;
  background: var(--green-100);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Badges inside links */
.nav-pill-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-full);
  line-height: 1;
}

.nav-pill-badge-gold {
  background: var(--gold-100);
  color: var(--gold-900);
  border-color: var(--gold-300);
}

/* Resources Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) ease;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  min-width: 270px;
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--duration-fast) ease;
}

.dropdown-link:hover {
  background: var(--green-50);
}

/* ── Catalog Highlight Link ─────────────────────────────── */
.dropdown-link--catalog {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  position: relative;
}

.dropdown-link--catalog .dropdown-icon-box {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,0.35);
}

.dropdown-link--catalog .dropdown-title {
  color: #92400e;
  font-weight: 700;
  font-size: 0.9rem;
}

.dropdown-link--catalog .dropdown-desc {
  color: #b45309;
}

.dropdown-link--catalog:hover {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  box-shadow: 0 4px 16px rgba(245,158,11,0.2);
  transform: translateY(-1px);
}

.dropdown-link--catalog:hover .dropdown-icon-box {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: scale(1.08);
}

/* Mobile drawer catalog highlight */
.drawer-link--catalog {
  background: linear-gradient(90deg, #fffbeb, #fef9ed);
  border-left: 3px solid #f59e0b;
  font-weight: 700;
  color: #92400e !important;
}
/* ───────────────────────────────────────────────────────── */

.dropdown-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) ease;
}

.dropdown-link:hover .dropdown-icon-box {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.dropdown-icon-box svg {
  width: 18px;
  height: 18px;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
}

.dropdown-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-800);
}

.dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Multi-column and Wide Dropdown Enhancements */
.nav-dropdown-wide {
  min-width: 440px;
  padding: 0.75rem;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.dropdown-header-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  padding: 0.4rem 0.75rem 0.2rem;
}

.dropdown-quick-links {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding-left: 0.5rem;
}

.dropdown-quick-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dropdown-quick-pill {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.dropdown-quick-pill:hover {
  background: var(--green-100);
  color: var(--primary-dark);
}

/* Nav Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.btn-nav-quote {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.btn-nav-quote:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  border: 1.5px solid var(--green-300);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.btn-nav-login:hover {
  background: var(--green-50);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 83, 45, 0.1);
}

.login-icon {
  width: 16px;
  height: 16px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--green-200);
  background: var(--green-50);
  color: var(--primary-dark);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  padding: 0;
  box-shadow: 0 2px 6px rgba(20, 83, 45, 0.08);
}

.nav-toggle:hover {
  background: var(--green-100);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.04);
}

.nav-toggle-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  display: block;
}

/* ---------- Off-Canvas Mobile Drawer & Overlay ---------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(350px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 1999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow: hidden;
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden;
}

/* Drawer Header */
.drawer-header {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--neutral-100);
  background: var(--green-50);
}

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

.drawer-logo-img {
  width: 44px;
  height: 44px;
  max-width: 44px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.12);
  flex-shrink: 0;
}

.drawer-logo-text {
  display: flex;
  flex-direction: column;
}

.drawer-logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.drawer-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.drawer-close:hover {
  background: var(--green-100);
  color: var(--primary);
  transform: rotate(90deg);
}

.drawer-close svg {
  width: 20px;
  height: 20px;
}

/* Farmer Quick Contact Strip */
.drawer-contact-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--neutral-100);
}

.drawer-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.5rem;
  background: var(--neutral-100);
  color: var(--neutral-800);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.drawer-contact-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--primary);
}

.drawer-contact-wa {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.drawer-contact-wa svg {
  fill: #10b981;
  stroke: none;
}

/* Drawer Body (Scrollable Nav) */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.drawer-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--neutral-400);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-lg);
  color: var(--neutral-700);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
  position: relative;
}

.drawer-link:hover {
  background: var(--green-50);
  color: var(--primary);
}

.drawer-link.active {
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 600;
}

.drawer-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  color: var(--neutral-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast) ease;
}

.drawer-link:hover .drawer-link-icon,
.drawer-link.active .drawer-link-icon {
  background: var(--primary);
  color: #fff;
}

.drawer-link-icon svg {
  width: 16px;
  height: 16px;
}

.drawer-link-title {
  flex: 1;
}

.drawer-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--radius-full);
}

.drawer-badge-gold {
  background: var(--gold-100);
  color: var(--gold-900);
}

.drawer-badge-pdf {
  background: #fee2e2;
  color: #dc2626;
}

.drawer-arrow {
  width: 14px;
  height: 14px;
  color: var(--neutral-400);
  transition: transform var(--duration-fast) ease;
}

.drawer-link:hover .drawer-arrow {
  transform: translateX(3px);
  color: var(--primary);
}

/* Mobile Drawer Accordion Styles */
.drawer-accordion {
  border-bottom: 1px solid var(--neutral-100);
  margin-bottom: 0.25rem;
}

.drawer-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-lg);
  color: var(--neutral-800);
  font-size: 0.9375rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--duration-fast) ease;
}

.drawer-accordion-btn:hover,
.drawer-accordion.open .drawer-accordion-btn {
  background: var(--green-50);
  color: var(--primary-dark);
}

.drawer-accordion-chevron {
  width: 16px;
  height: 16px;
  color: var(--neutral-400);
  margin-left: auto;
  transition: transform var(--duration-fast) ease;
}

.drawer-accordion.open .drawer-accordion-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.drawer-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.drawer-accordion.open .drawer-accordion-body {
  max-height: 400px;
  padding-bottom: 0.5rem;
}

.drawer-sublink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--neutral-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.drawer-sublink:hover,
.drawer-sublink.active {
  color: var(--primary);
  background: var(--green-50);
}

.drawer-sublink-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neutral-300);
  transition: background var(--duration-fast) ease;
}

.drawer-sublink:hover .drawer-sublink-bullet,
.drawer-sublink.active .drawer-sublink-bullet {
  background: var(--primary);
}

/* Drawer Footer */
.drawer-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  flex-shrink: 0;
}

.drawer-footer-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.btn-drawer-quote {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
}

.btn-drawer-login {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.drawer-trust-note {
  font-size: 0.75rem;
  color: var(--neutral-500);
  text-align: center;
  line-height: 1.4;
}

/* Responsive Navigation Breakpoints */
@media (max-width: 1080px) {
  .nav-links {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  .top-bar-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-bar-right .top-bar-item,
  .top-bar-divider,
  .top-bar-badge {
    display: none !important;
  }
  .top-bar-inner {
    justify-content: space-between;
    padding: 0 0.5rem;
  }
  .top-bar {
    font-size: 0.72rem;
  }
}

@media (max-width: 440px) {
  .top-bar-item {
    font-size: 0.72rem;
  }
  .top-wa-btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.6875rem;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
  background: url("../assets/images/backgrounds/page-header-bg-1-1.webp") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 240, 0.85);
  /* Earthy overlay */
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(202, 138, 4, .06), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp .8s var(--ease-out);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem .4rem .4rem;
  background: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--green-100);
}

.hero-badge .badge-dot {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .7rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight-gold {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
}

.hero-stat-label {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight .8s var(--ease-out) .2s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  text-align: center;
  padding: 2rem;
}

.hero-image-placeholder .plant-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: float 4s ease-in-out infinite;
}

.hero-image-placeholder p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-700);
  font-weight: 600;
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .8);
  animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 10%;
  right: -30px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

.hero-floating-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: .25rem;
}

.hero-floating-card .card-text {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-floating-card .card-sub {
  font-size: .7rem;
  color: var(--text-muted);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .25rem;
  background: linear-gradient(135deg, #fff, var(--gold-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Cards (General) ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}

.glass-card {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-xl);
  padding: var(--space-sm);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(22, 163, 74, .1);
  border-color: var(--green-200);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-50), var(--earth-50));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.product-card-image .product-emoji {
  font-size: 3.5rem;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.product-card:hover .product-card-image .product-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.product-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: .25rem .75rem;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}

.product-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .375rem;
  line-height: 1.3;
}

.product-card-desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  flex: 1;
  line-height: 1.6;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

/* ---------- Feature Cards ---------- */
.feature-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-500));
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border: 1px solid var(--green-200);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(22, 163, 74, .15);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text-primary);
}

.feature-text {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Category Cards ---------- */
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform var(--duration-slow) var(--ease-out);
}

.category-card:hover .category-card-bg {
  transform: scale(1.1);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .7));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}

.category-card-count {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--green-200);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-200), var(--gold-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green-800);
  font-size: .9rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: .8125rem;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--duration-normal) ease;
}

.faq-item.active {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: var(--bg-card);
  transition: all var(--duration-fast) ease;
}

.faq-question:hover {
  background: var(--green-50);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
  font-size: 1.25rem;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: url("../assets/images/backgrounds/contact-bg-2.webp") center/cover no-repeat;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 125, 50, 0.9);
  /* Forest green overlay */
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .75);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: url("../assets/images/backgrounds/footer-bg-1-1.webp") center/cover no-repeat;
  color: rgba(255, 255, 255, .9);
  padding-top: var(--space-4xl);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.95);
  /* Dark neutral overlay */
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.footer-brand p {
  font-size: .9375rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, .6);
}

.footer-socials {
  display: flex;
  gap: .75rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: all var(--duration-fast) ease;
  font-size: 1.1rem;
}

.footer-socials a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-links li {
  margin-bottom: .75rem;
}

.footer-links a {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .55);
  transition: all var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.footer-links a:hover {
  color: var(--green-400);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: var(--space-md);
  font-size: .9375rem;
}

.footer-contact .contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .4);
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 98px;
  right: 28px;
  z-index: 997;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: all var(--duration-normal) var(--ease-spring);
  color: #fff;
  font-size: 1.75rem;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .5);
}

.whatsapp-float .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .25);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 98px;
  z-index: 996;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ---------- Page Headers (Inner Pages) ---------- */
.page-header {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: url("../assets/images/backgrounds/page-header-bg-1-1.webp") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 125, 50, 0.85);
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 163, 74, .06), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--space-lg);
  font-size: .875rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb a {
  color: #fff;
  font-weight: 500;
}

.page-header .breadcrumb span {
  opacity: .5;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}

.page-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

/* ---------- Product Filters — Old (kept for compatibility) ---------- */
.product-filters {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--green-300);
  color: var(--primary);
  background: var(--green-50);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ══════════════════════════════════════════════════
   ✦  PREMIUM FILTER DOCK  ✦
   ══════════════════════════════════════════════════ */

.filter-dock {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--space-2xl);
}

/* ── Tabs strip ── */
.filter-dock-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(22, 163, 74, 0.14);
  border-radius: var(--radius-2xl);
  padding: 0.375rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  box-shadow:
    0 4px 24px rgba(20, 83, 45, 0.07),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filter-dock-tabs::-webkit-scrollbar { display: none; }

/* ── Individual tab button ── */
.filter-dock-tabs .filter-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  letter-spacing: 0.01em;
}

.filter-dock-tabs .filter-tab:hover {
  color: var(--primary);
  background: var(--green-50);
}

.filter-dock-tabs .filter-tab.active {
  color: var(--green-800);
  background: transparent; /* pill sits behind via sliding indicator */
}

/* Icon */
.filter-tab-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.filter-tab-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  transition: stroke var(--duration-fast) ease;
}

.filter-dock-tabs .filter-tab.active .filter-tab-icon svg {
  stroke: var(--primary);
}

/* Count badge on "All Products" */
.filter-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.filter-dock-tabs .filter-tab.active .filter-tab-count {
  background: var(--primary);
  color: #fff;
}

/* ── Sliding pill indicator ── */
.filter-sliding-pill {
  position: absolute;
  top: 0.375rem;
  left: 0;
  height: calc(100% - 0.75rem);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff 0%, var(--green-50) 100%);
  box-shadow:
    0 2px 10px rgba(22, 163, 74, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid var(--green-200);
  pointer-events: none;
  transition: left 0.32s cubic-bezier(0.34, 1.2, 0.64, 1),
              width 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: 0;
}

/* ── Search wrap ── */
.filter-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-2xl);
  padding: 0.65rem 1rem;
  box-shadow: 0 2px 12px rgba(20, 83, 45, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  max-width: 420px;
}

.filter-search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow:
    0 0 0 3.5px rgba(22, 163, 74, 0.12),
    0 2px 16px rgba(22, 163, 74, 0.1);
}

.filter-search-icon {
  width: 17px;
  height: 17px;
  stroke: var(--text-muted);
  flex-shrink: 0;
  transition: stroke var(--duration-fast) ease;
}

.filter-search-wrap:focus-within .filter-search-icon {
  stroke: var(--primary);
}

.filter-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.filter-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.filter-search-kbd {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (min-width: 769px) {
  .filter-dock {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .filter-dock-tabs {
    flex: 1;
    min-width: 0;
  }
  .filter-search-wrap {
    flex-shrink: 0;
    width: 260px;
  }
}

@media (max-width: 768px) {
  .filter-search-wrap {
    max-width: 100%;
  }
  .filter-search-kbd {
    display: none;
  }
}

/* ── Old search-box (kept for non-product pages) ── */
.search-box {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  flex: 1;
  max-width: 320px;
  margin-left: auto;
  transition: border-color var(--duration-fast) ease;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .1);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: .875rem;
  color: var(--text-primary);
}

.search-box .search-icon {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-size: .9375rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-200), var(--gold-200));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: .3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--green-100);
  transform: translateX(-5.5px);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .375rem;
}

.timeline-text {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Partners Benefits ---------- */
.step-card {
  text-align: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--space-lg);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step-text {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Map Container ---------- */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

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

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .4;
  }

  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
  transition-delay: .1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: .2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: .3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: .4s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: .5s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-description {
    margin: 0 auto var(--space-2xl);
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 34px;
    --nav-height: 64px;
    --header-height: calc(var(--topbar-height) + var(--nav-height));
    --space-4xl: 3.5rem;
    --space-3xl: 2.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }

  .product-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: none;
    margin-left: 0;
  }

  .filter-btn {
    text-align: center;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-float,
  .floating-whatsapp {
    bottom: 82px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }

  .back-to-top {
    bottom: 20px;
    right: 82px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Leaf Decoration ---------- */
.leaf-decoration {
  position: absolute;
  pointer-events: none;
  opacity: .06;
  font-size: 8rem;
}

.leaf-decoration.top-right {
  top: -2rem;
  right: -2rem;
  transform: rotate(30deg);
}

.leaf-decoration.bottom-left {
  bottom: -2rem;
  left: -2rem;
  transform: rotate(-30deg);
}

/* ---------- Product Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

/* ---------- No Results ---------- */
.no-results {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--text-muted);
}

.no-results .no-results-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.no-results h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-500));
  z-index: 1001;
  transition: width 100ms linear;
}

/* ---------- Product Details Modal ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  padding: var(--space-lg);
}

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

.product-modal-content {
  background: var(--bg-card);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-2xl);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all var(--duration-normal) var(--ease-spring);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.product-modal.active .product-modal-content {
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .product-modal-content {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 10;
  transition: all var(--duration-fast) ease;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.modal-gallery {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
}

.modal-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.modal-info {
  padding: var(--space-xl) var(--space-xl) var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .modal-info {
    padding: var(--space-lg);
  }

  .modal-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-800);
  line-height: 1.2;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.modal-description p {
  margin-bottom: 1rem;
}

.modal-description strong {
  color: var(--text-primary);
}

.modal-actions {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-md);
}

/* ---------- Interactive & Premium Additions ---------- */

/* Floating WhatsApp & Callback Widgets */
.floating-whatsapp {
  position: fixed;
  bottom: 98px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 997;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
}
.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}
.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Sticky Get Quote Ribbons */
.sticky-quote-ribbon {
  position: fixed;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-weight: 700;
  cursor: pointer;
  z-index: 998;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: all var(--duration-fast) ease;
}
.sticky-quote-ribbon:hover {
  background: var(--accent-light);
  right: 0;
}

@media (max-width: 768px) {
  .sticky-quote-ribbon {
    display: none !important;
  }
}

/* Modal Popup Framework (General Use) */
.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.custom-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.custom-modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 550px;
  padding: var(--space-xl);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--duration-normal) var(--ease-spring);
}
.custom-modal-overlay.active .custom-modal-box {
  transform: translateY(0) scale(1);
}
.custom-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.custom-modal-close:hover {
  background: var(--primary);
  color: #fff;
}

/* Interactive Problem-to-Solution Module */
.problem-solution-container {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  margin-top: var(--space-lg);
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.symptom-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-spring);
}
.symptom-card:hover, .symptom-card.active {
  background: var(--green-100);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.symptom-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}
.symptom-title {
  font-weight: 600;
  color: var(--text-primary);
}
.solution-result-box {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  border-left: 5px solid var(--primary);
  display: none;
}
.solution-result-box.active {
  display: block;
}

/* Crop Solutions System */
.crop-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.crop-tab-btn {
  padding: .75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}
.crop-tab-btn:hover, .crop-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.crop-content-box {
  display: none;
}
.crop-content-box.active {
  display: block;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.crop-schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #fff;
}
.crop-schedule-table th, .crop-schedule-table td {
  padding: 1rem var(--space-lg);
  border-bottom: 1px solid var(--neutral-100);
}
.crop-schedule-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.crop-schedule-table tr:hover {
  background: var(--bg-primary);
}

/* Knowledge Center (Blog) Grid */
.blog-filters {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.blog-filter-btn {
  padding: .5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}
.blog-filter-btn:hover, .blog-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-meta {
  padding: var(--space-md) var(--space-lg) 0;
  font-size: .8125rem;
  color: var(--text-muted);
  display: flex;
  gap: var(--space-md);
}
.blog-content {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  flex-grow: 1;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.blog-excerpt {
  color: var(--text-secondary);
  font-size: .9375rem;
  line-height: 1.6;
}

/* Download Center Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}
.download-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.download-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}
.download-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
}
.download-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.download-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Certificates Lightbox Grid */
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}
.certificate-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--duration-normal) ease;
}
.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.certificate-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.certificate-title {
  padding: var(--space-md);
  text-align: center;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text-primary);
}

/* Info forms alignment styling */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 576px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: .875rem;
  margin-bottom: .35rem;
  color: var(--text-primary);
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-300);
  background: #fff;
  transition: all var(--duration-fast) ease;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  outline: none;
}

.stat-number-large {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label-large {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: .5rem;
}

/* ---------- Global Polish & Aesthetic Revamp ---------- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Card Hover Elevation & Smooth Micro-Interactions */
.glass-card,
.product-card,
.feature-card,
.solution-card,
.problem-card {
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal) ease;
}

.glass-card:hover,
.feature-card:hover,
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 83, 45, 0.12);
  border-color: rgba(22, 163, 74, 0.25);
}

/* Filter Tabs Polish */
.filter-tab {
  transition: all var(--duration-fast) ease;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

/* ════════════════════════════════════════════════
   ✦  V9 COMPREHENSIVE AESTHETIC POLISH LAYER  ✦
   ════════════════════════════════════════════════ */

/* ── 1. Branded Scrollbar ─────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--green-50); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-400), var(--green-600));
  border-radius: 8px;
  border: 2px solid var(--green-50);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── 2. Text Selection Branding ───────────────── */
::selection {
  background: var(--green-200);
  color: var(--green-900);
}

/* ── 3. Global Focus Rings ────────────────────── */
*:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── 4. Scroll Progress Bar Enhancement ──────── */
.scroll-progress {
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-500), var(--green-400));
  background-size: 200% 100%;
  animation: shimmerBG 3s linear infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

@keyframes shimmerBG {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── 5. Button Shimmer Sweep on Hover ─────────── */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.btn:hover::before {
  transform: translateX(100%);
}

/* ── 6. Section Label — Left Dot Accent ──────── */
.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--gold-500));
  margin-right: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.35);
}

/* ── 7. Enhanced Section Title Typography ─────── */
.section-title {
  letter-spacing: -0.02em;
}

h1, h2, h3 {
  -webkit-font-smoothing: antialiased;
}

.hero-title {
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

/* ── 8. Product Card — Shimmer Overlay ────────── */
.product-card {
  position: relative;
  isolation: isolate;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.product-card:hover::after {
  transform: translateX(100%) translateY(100%);
}

/* ── 9. Product Card — Gradient Top Border on Hover */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400), var(--green-400));
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  z-index: 2;
  border-radius: inherit;
}

.product-card:hover::before {
  opacity: 1;
}

/* ── 10. Feature Card — Gradient Icon on Hover ─── */
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border-color: var(--green-600);
  color: #fff;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.25);
}

/* ── 11. Testimonial Card — Top Accent Bar ───── */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--gold-400));
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover {
  box-shadow: 0 20px 40px rgba(20, 83, 45, 0.1);
}

/* ── 12. Stat Numbers — Gradient Text ─────────── */
.stat-number-large {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 13. Blog Card — Image Zoom + Top Accent ──── */
.blog-card {
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
  z-index: 2;
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover .blog-image {
  transform: scale(1.04);
}

.blog-image {
  transition: transform var(--duration-slow) var(--ease-out);
}

/* ── 14. Download Card — Icon Lift ───────────── */
.download-card:hover .download-icon {
  transform: translateY(-6px) scale(1.1);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.download-icon {
  transition: transform var(--duration-normal) var(--ease-out);
  display: block;
}

/* ── 15. Certificate Card — Overlay Reveal ────── */
.certificate-card {
  position: relative;
}

.certificate-card::after {
  content: 'View';
  position: absolute;
  inset: 0 0 auto 0;
  top: 0;
  height: 250px;
  background: rgba(22, 163, 74, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.certificate-card:hover::after {
  opacity: 1;
}

/* ── 16. Form Inputs — Enhanced Focus Glow ───── */
.form-input:focus,
.form-textarea:focus,
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(22, 163, 74, 0.12), 0 2px 8px rgba(22, 163, 74, 0.08);
  background: #fff;
}

/* ── 17. Filter Buttons — Active Glow ────────── */
.filter-btn.active {
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

.crop-tab-btn.active {
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

/* ── 18. Footer Link — Arrow Slide on Hover ──── */
.footer-links a::before {
  content: '›';
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--duration-fast) ease;
  display: inline-block;
  color: var(--green-400);
  font-size: 1.1em;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-links a:hover {
  padding-left: 4px;
}

/* ── 19. Page Header — Decorative Orbs ───────── */
.page-header {
  isolation: isolate;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* ── 20. CTA Section — Animated Diagonal Pattern */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.025) 20px,
    rgba(255, 255, 255, 0.025) 40px
  );
  z-index: 2;
  pointer-events: none;
}

.cta-content {
  z-index: 3;
}

/* ── 21. Navbar — Active Page Indicator ──────── */
.nav-link.active-page {
  color: var(--primary) !important;
  font-weight: 700;
}

.nav-link.active-page::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  margin-top: 2px;
  animation: slideIn 0.3s var(--ease-out);
}

@keyframes slideIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── 22. Floating WhatsApp — Tooltip ─────────── */
.floating-whatsapp,
.whatsapp-float {
  position: relative;
}

.floating-whatsapp::before,
.whatsapp-float::before {
  content: 'Chat with Agronomist';
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease;
  font-family: var(--font-sans);
}

.floating-whatsapp:hover::before,
.whatsapp-float:hover::before {
  opacity: 1;
}

/* ── 23. Animate-on-Scroll Refinement ────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 24. Stats Bar — Shimmer Underline ───────── */
.stat-number {
  position: relative;
  display: inline-block;
}

.stat-item {
  transition: transform var(--duration-normal) ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

/* ── 25. Section Divider — Gradient Rule ─────── */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-200), var(--gold-200), transparent);
  border: none;
  margin: 0;
}

/* ── 26. Card Image — Consistent Overlay Tint ─── */
.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.06));
  pointer-events: none;
}

/* ── 27. Back-to-Top — Enhanced ─────────────── */
.back-to-top {
  color: var(--primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform var(--duration-fast) ease;
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* ── 28. Prefers-Reduced-Motion Safety ───────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 29. Navbar Backdrop Blur on Scroll ──────── */
.site-header.is-scrolled .navbar {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ── 30. Hero Floating Cards — Glass Polish ───── */
.hero-floating-card {
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(20, 83, 45, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── 31. Responsive Image Lazy Load Fade ─────── */
img[loading="lazy"] {
  transition: opacity 0.4s ease;
}

/* ── 32. Alternating Section Subtle Gradient ─── */
.section:nth-of-type(even) {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* end v9 polish */

/* ════════════════════════════════════════════════
   ✦  CATEGORY AUTO-SCROLL MARQUEE SLIDER  ✦
   ════════════════════════════════════════════════ */

.cat-slider-section {
  padding-bottom: var(--space-3xl);
  position: relative;
}

/* Viewport — clips the scrolling track, fades edges */
.cat-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--space-md) 0;
  /* Soft fade-out at left & right edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

/* Scrolling track */
.cat-slider-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: catMarquee 32s linear infinite;
  will-change: transform;
}

/* Pause on hover/focus */
.cat-slider-viewport:hover .cat-slider-track,
.cat-slider-track:focus-within {
  animation-play-state: paused;
}

/* Marquee keyframe */
@keyframes catMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual card sizing inside the slider */
.cat-slider-track .category-card {
  width: 260px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-md);
}

.cat-slider-track .category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(20, 83, 45, 0.18);
}

.cat-slider-track .category-card-bg {
  position: absolute;
  inset: 0;
  transition: transform var(--duration-slow) var(--ease-out);
}

.cat-slider-track .category-card:hover .category-card-bg {
  transform: scale(1.08);
}

.cat-slider-track .category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 40, 20, 0.82));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background var(--duration-normal) ease;
}

.cat-slider-track .category-card:hover .category-card-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 40, 20, 0.92));
}

.cat-slider-track .category-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.cat-slider-track .category-card-count {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* Controls (prev / next) */
.cat-slider-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  padding: 0 var(--space-lg) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.cat-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1.5px solid var(--green-200);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  box-shadow: var(--shadow-sm);
}

.cat-slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.cat-slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .cat-slider-track .category-card {
    width: 200px;
  }
  .cat-slider-track {
    animation-duration: 24s;
  }
}

@media (max-width: 480px) {
  .cat-slider-track .category-card {
    width: 165px;
  }
  .cat-slider-track {
    gap: 0.75rem;
    animation-duration: 20s;
  }
}
/* end category slider */

/* ══════════════════════════════════════════════════════════════
   KrishiX Product Catalogue Grid & Cards (Matching usr/?p=Ecart)
   ══════════════════════════════════════════════════════════════ */
.kx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(22, 163, 74, 0.14);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(20, 83, 45, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.kx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.16);
  border-color: rgba(22, 163, 74, 0.32);
}

.kx-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.1rem;
  flex-shrink: 0;
  background: linear-gradient(145deg, #f0faf0 0%, #e6f4ea 50%, #f1f8f4 100%);
}

.kx-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 8px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.kx-card:hover .kx-img-wrap img {
  transform: scale(1.07) translateY(-3px);
}

.kx-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid currentColor;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.kx-ribbon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #ffffff;
  padding: 0.24rem 0.52rem;
  border-radius: 7px;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
  pointer-events: none;
}

.kx-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.kx-card:hover .kx-overlay {
  opacity: 1;
}

.kx-overlay-btn {
  background: #ffffff;
  color: #166534;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.kx-overlay-btn:hover {
  transform: scale(1.06);
  background: #f0fdf4;
}

.kx-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.kx-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kx-card:hover .kx-accent-bar {
  opacity: 1;
}

.kx-name {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  cursor: pointer;
}

.kx-card:hover .kx-name {
  color: #15803d;
}

.kx-price,
.kx-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.85rem;
}

.kx-dp {
  font-size: 1.25rem;
  font-weight: 800;
  color: #15803d;
  letter-spacing: -0.01em;
}

.kx-mrp {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
}

.kx-pv {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}

.kx-pv::before {
  content: '◆';
  font-size: 0.55rem;
}

.kx-inquiry {
  font-size: 0.85rem;
  font-style: italic;
  color: #9ca3af;
  background: #f0fdf4;
  border: 1px dashed #bbf7d0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* ══════════════════════════════════════════════════════════════
   Product Detail Modal (Matching usr/?p=Ecart)
   ══════════════════════════════════════════════════════════════ */
.modal-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  width: 100%;
}

@media (max-width: 768px) {
  .modal-top {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
}

.modal-img-side {
  background: linear-gradient(160deg, #f0fdf4 0%, #e6f4ea 50%, #f8fafc 100%) !important;
  border-radius: 1.5rem 0 0 1.5rem;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 2rem 1.25rem !important;
  gap: 1.25rem !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-img-side {
    border-radius: 1.5rem 1.5rem 0 0 !important;
    padding: 1.5rem 1rem !important;
  }
}

.modal-main-img-wrap {
  width: 100% !important;
  max-width: 270px !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.08), inset 0 0 0 1.5px rgba(22, 163, 74, 0.12) !important;
  padding: 1.25rem !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.modal-main-img-wrap:hover {
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.16), inset 0 0 0 1.5px rgba(22, 163, 74, 0.22) !important;
}

.modal-main-img-wrap img {
  max-width: 95% !important;
  max-height: 95% !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: 8px;
}

.modal-main-img-wrap:hover img {
  transform: scale(1.06);
}

.modal-thumbnails-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
  width: 100% !important;
  max-width: 270px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0.25rem !important;
  margin: 0 !important;
}

.modal-thumb-card {
  position: relative !important;
  width: 58px !important;
  height: 58px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 4px !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.modal-thumb-card:hover {
  border-color: #22c55e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.18) !important;
}

.modal-thumb-card.active {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3), 0 4px 12px rgba(22, 163, 74, 0.2) !important;
  transform: scale(1.05) !important;
}

.modal-thumb-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  border-radius: 6px !important;
}

.modal-price,
#modalPrice {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal-dp {
  font-size: 1.45rem;
  font-weight: 800;
  color: #15803d;
  letter-spacing: -0.02em;
}

.modal-mrp {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.modal-discount {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.modal-pv {
  margin-left: auto;
  background: rgba(22, 163, 74, 0.1);
  border: 1.5px solid rgba(22, 163, 74, 0.25);
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  line-height: 1;
}

.modal-pv::before {
  content: '◆ ';
  font-size: 0.6rem;
}

.modal-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: auto !important;
  padding-top: 1rem !important;
  border-top: 1px solid #f1f5f9 !important;
}

.modal-btn-primary {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
}

.modal-btn-primary:active {
  transform: translateY(0);
}

.modal-btn-secondary {
  height: 48px;
  padding: 0 1.25rem;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.modal-btn-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
}

.modal-btn-primary.enquiry-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.modal-btn-primary.enquiry-gradient:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.modal-qty-stepper {
  height: 48px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  gap: 8px;
  flex-shrink: 0;
}

.modal-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
}

.modal-qty-btn:hover {
  background: #15803d;
  transform: scale(1.05);
}

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

.modal-qty-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #15803d;
  min-width: 32px;
  text-align: center;
  user-select: none;
}