/**
 * Kenya Seed Company Rwanda — monday.com (Vibe) Design System
 * 
 * Tokens & Structure:
 * - Typography: Poppins (Display/Headings/Buttons) + Figtree (Body/UI)
 * - Spacing Scale: 4, 8, 12, 16, 24, 32, 48, 80px
 * - Radius Scale: 4, 8, 12, 16, 24, 9999px
 * - Colors: 10-step Forest Green (50-900), 10-step Canary Yellow (50-900), Category Status Chips
 * - Motion: Productive (70-150ms), Expressive (250-350ms), Vibe Easing Curves
 */

/* 1. Self-Hosted Fonts */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/figtree-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/figtree-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/figtree-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/figtree-700.woff2') format('woff2');
}

/* 2. Design Tokens */
:root {
  /* Font Stacks */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale (4, 8, 12, 16, 24, 32, 48, 80px only) */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-80: 80px;

  /* Corner Radius (4, 8, 12, 16, 24, 9999px) */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-pill: 9999px;

  /* Forest Green Tonal Scale */
  --color-green-50: #F2F9F5;
  --color-green-100: #E1F2E8;
  --color-green-200: #C3E5D1;
  --color-green-300: #98D1B0;
  --color-green-400: #60B686;
  --color-green-500: #2E995F;
  --color-green-600: #177A44;
  --color-green-700: #0C4928; /* Primary Logo Brand Green */
  --color-green-800: #08381E;
  --color-green-900: #042312; /* Deep Section Dark */

  /* Hero Dark Green Theme Tokens */
  --hero-bg-green: var(--color-green-700); /* #0C4928 - exact brand green from active pill and order badge */
  --hero-bg-green-dark: #062b16; /* ~15% deeper dark green for 135deg gradient */
  --hero-glow-green: rgba(74, 170, 100, 0.35); /* lighter green radial glow */
  --hero-glow-yellow: rgba(250, 204, 21, 0.14); /* warm yellow glow */
  --hero-text-headline: #fdfbf0; /* warm cream */
  --hero-accent-yellow: #facc15; /* brand yellow */
  --hero-text-body: rgba(255, 255, 255, 0.82);
  --hero-stat-num: #facc15;
  --hero-stat-label: rgba(255, 255, 255, 0.65);
  --hero-stat-divider: rgba(255, 255, 255, 0.18);
  --hero-glass-bg: rgba(255, 255, 255, 0.12);
  --hero-glass-border: rgba(255, 255, 255, 0.25);
  --hero-glass-text: #ffffff;
  --hero-quick-label: rgba(255, 255, 255, 0.7);
  --hero-dots-inactive: rgba(255, 255, 255, 0.35);
  --hero-dots-active: #facc15;

  /* How Ordering Works Section Theme Tokens */
  --ordering-glow-green: rgba(74, 170, 100, 0.30);
  --ordering-glow-green-end: rgba(74, 170, 100, 0);
  --ordering-glow-yellow: rgba(250, 204, 21, 0.10);
  --ordering-glow-yellow-end: rgba(250, 204, 21, 0);
  --ordering-card-bg: rgba(255, 255, 255, 0.06);
  --ordering-card-border: rgba(255, 255, 255, 0.14);
  --ordering-card-border-hover: rgba(250, 204, 21, 0.45);
  --ordering-card-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  --ordering-card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.28);
  --ordering-badge-bg: var(--hero-accent-yellow);
  --ordering-badge-text: var(--color-green-800);
  --ordering-badge-glow: 0 0 0 6px rgba(250, 204, 21, 0.15);
  --ordering-card-title: var(--hero-text-headline);
  --ordering-card-body: rgba(255, 255, 255, 0.78);
  --ordering-text-headline: var(--hero-text-headline);
  --ordering-intro-body: var(--hero-text-body);
  --ordering-accent-yellow: var(--hero-accent-yellow);

  /* Canary Yellow Tonal Scale */
  --color-yellow-50: #FEFDE8;
  --color-yellow-100: #FCF9C2;
  --color-yellow-200: #FAF38F;
  --color-yellow-300: #F8EE5E;
  --color-yellow-400: #F6EB3D; /* Primary Action Yellow */
  --color-yellow-500: #DEC817;
  --color-yellow-600: #B39E0C;
  --color-yellow-700: #877409;
  --color-yellow-800: #5F5008;
  --color-yellow-900: #3C3205;

  /* Category Status Chips (Data Accents) */
  --chip-veg-bg: #E1F2E8;
  --chip-veg-border: #98D1B0;
  --chip-veg-text: #08381E;

  --chip-cereal-bg: #FEF3C7;
  --chip-cereal-border: #FCD34D;
  --chip-cereal-text: #92400E;

  --chip-pasture-bg: #D1FAE5;
  --chip-pasture-border: #6EE7B7;
  --chip-pasture-text: #065F46;

  --chip-fruit-bg: #FEE2E2;
  --chip-fruit-border: #FCA5A5;
  --chip-fruit-text: #991B1B;

  /* Inks & Text */
  --color-ink-primary: #04000B;
  --color-ink-body: #374151;
  --color-ink-muted: #6B7280;
  --color-ink-inverted: #FFFFFF;

  /* Surfaces & Borders */
  --color-surface-base: #FFFFFF;
  --color-surface-subtle: #F2F9F5;
  --color-surface-dark: #042312;
  --color-border-subtle: #E5E7EB;
  --color-border-hover: #C3E5D1;
  --color-border-active: #0C4928;

  /* Feedback */
  --color-error: #B91C1C;
  --color-error-bg: #FEF2F2;

  /* Soft Tinted Elevation (monday.com Vibe) */
  --elevation-none: none;
  --elevation-card-hover: 0 10px 24px -4px rgba(4, 0, 11, 0.08), 0 4px 8px -2px rgba(4, 0, 11, 0.04);
  --elevation-sticky: 0 4px 12px rgba(4, 0, 11, 0.05);
  --elevation-modal: 0 24px 48px -12px rgba(4, 0, 11, 0.22), 0 8px 16px -4px rgba(4, 0, 11, 0.10);

  /* Motion Timing & Curves */
  --motion-productive-fast: 70ms;
  --motion-productive-normal: 120ms;
  --motion-expressive-fast: 250ms;
  --motion-expressive-normal: 350ms;

  --ease-enter: cubic-bezier(0, 0, 0.35, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout Container */
  --container-max: 1200px;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-ink-body);
  background-color: var(--color-surface-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.modal-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-green-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--motion-productive-normal) var(--ease-standard);
}

a:hover {
  color: var(--color-green-800);
}

:focus-visible {
  outline: 2px solid var(--color-green-700);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Typography Classes */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--color-ink-primary);
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--color-ink-primary);
  letter-spacing: -0.015em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-ink-primary);
  letter-spacing: -0.01em;
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.30;
  font-weight: 600;
  color: var(--color-ink-primary);
}

p, .body-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-ink-body);
  max-width: 65ch;
}

.small-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-ink-muted);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green-700);
  margin-bottom: var(--space-8);
}

/* 5. Container & Section Rhythm (80px desktop, 48px mobile) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}

.section {
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
}

.section-tint {
  background-color: var(--color-surface-subtle);
}

.section-dark {
  background-color: var(--color-surface-dark);
  color: var(--color-ink-inverted);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-ink-inverted);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-eyebrow {
  color: var(--color-yellow-400);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  .section {
    padding-top: var(--space-48);
    padding-bottom: var(--space-48);
  }
}

/* Shared Brand Hero Dark Green Background System (Extracted for Home & Seeds) */
.brand-hero-bg {
  position: relative;
  background: linear-gradient(135deg, var(--hero-bg-green) 0%, var(--hero-bg-green-dark) 100%);
  overflow: hidden;
}

/* 1. Hero Agricultural Section (Deep Brand Green Layered Background) */
.hero-agricultural-section {
  position: relative;
  padding-top: 56px;
  padding-bottom: clamp(100px, 12vw, 150px);
  overflow: hidden;
}

/* Seeds Hero Header (Compact Shared Brand Green System) */
.seeds-hero-section {
  position: relative;
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(72px, 9vw, 104px);
  overflow: hidden;
}

.seeds-hero-section .hero-wave-divider svg {
  height: clamp(36px, 5vw, 68px);
}

/* Seeds Hero Breadcrumbs */
.hero-breadcrumb {
  margin-bottom: var(--space-12);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--font-body);
  font-size: 13px;
  transition: color var(--motion-productive-normal) var(--ease-standard);
}

.hero-breadcrumb a:hover {
  color: #ffffff;
}

.hero-breadcrumb .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 4px;
  font-size: 12px;
}

.hero-breadcrumb .breadcrumb-current {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 13px;
}

/* Direct Contact & Agronomist CTA Banner Strip */
.cta-banner-card {
  border-radius: var(--radius-24);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  box-shadow: 0 16px 40px rgba(12, 73, 40, 0.22);
  border: 1px solid var(--hero-glass-border);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  flex-wrap: wrap;
}

.cta-banner-content {
  flex: 1 1 auto;
  max-width: 620px;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  color: var(--hero-text-headline);
  margin-bottom: var(--space-8);
}

.cta-banner-text {
  font-size: 16px;
  line-height: 24px;
  color: var(--hero-text-body);
}

.cta-banner-action {
  flex-shrink: 0;
}

.btn-cta-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--hero-accent-yellow);
  color: var(--color-green-800);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.btn-cta-yellow:hover {
  background-color: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
  color: var(--color-green-900);
}

@media (max-width: 768px) {
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-20);
  }
  .cta-banner-content {
    width: 100%;
  }
  .cta-banner-action {
    width: 100%;
  }
  .btn-cta-yellow {
    width: 100%;
    justify-content: center;
  }
}

/* 4. How Ordering Works Section (Hero Sibling Theme) */
.how-ordering-section {
  position: relative;
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
}

.how-ordering-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
  margin-top: -1px;
}

.how-ordering-wave-top svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 72px);
  vertical-align: top;
  margin-top: -1px;
}

.how-ordering-wave-top path {
  fill: var(--color-surface-base);
}

.how-ordering-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
  margin-bottom: -1px;
}

.how-ordering-wave-bottom svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 72px);
  vertical-align: bottom;
  margin-bottom: -1px;
}

.how-ordering-wave-bottom path {
  fill: var(--color-surface-base);
}

.ordering-glow-center {
  position: absolute;
  width: 720px;
  height: 500px;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--ordering-glow-green) 0%, var(--ordering-glow-green-end) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.ordering-glow-top {
  position: absolute;
  width: 540px;
  height: 280px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--ordering-glow-yellow) 0%, var(--ordering-glow-yellow-end) 70%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 1;
}

.how-ordering-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-48) auto;
  position: relative;
  z-index: 2;
}

.how-ordering-eyebrow {
  color: var(--ordering-accent-yellow);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-8);
}

.how-ordering-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--ordering-text-headline);
  line-height: 1.18;
  margin-top: 0;
  margin-bottom: var(--space-12);
}

.how-ordering-title .highlight-yellow {
  color: var(--ordering-accent-yellow);
}

.how-ordering-intro {
  color: var(--ordering-intro-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 26px;
  margin: 0 auto;
}

.ordering-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
  position: relative;
  z-index: 2;
}

.ordering-step-card {
  background-color: var(--ordering-card-bg);
  border: 1px solid var(--ordering-card-border);
  border-radius: var(--radius-24);
  padding: var(--space-32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--ordering-card-shadow);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.ordering-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--ordering-card-border-hover);
  box-shadow: var(--ordering-card-shadow-hover);
}

@media (prefers-reduced-motion: reduce) {
  .ordering-step-card:hover {
    transform: none;
  }
}

.ordering-step-badge {
  width: 48px;
  height: 48px;
  background-color: var(--ordering-badge-bg);
  color: var(--ordering-badge-text);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: var(--space-20, 20px);
  box-shadow: var(--ordering-badge-glow);
  flex-shrink: 0;
}

.ordering-step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ordering-card-title);
  margin-top: 0;
  margin-bottom: var(--space-12);
}

.ordering-step-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 22px;
  color: var(--ordering-card-body);
  margin: 0;
}

/* Subtle Agricultural SVG Line Pattern (white wheat/leaves/seeds tile at 6% opacity) */
.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/hero-agri-pattern.svg');
  background-repeat: repeat;
  background-size: 120px 120px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Radial Glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Large Soft Green Radial Glow behind the right image card */
.hero-glow-green {
  width: 620px;
  height: 620px;
  right: -5%;
  top: 5%;
  background: radial-gradient(circle, var(--hero-glow-green) 0%, rgba(74, 170, 100, 0) 70%);
  filter: blur(85px);
  animation: floatBlobGreen 26s ease-in-out infinite alternate;
}

/* Smaller Warm Yellow Glow near top-left behind headline */
.hero-glow-yellow {
  width: 440px;
  height: 440px;
  left: 1%;
  top: 2%;
  background: radial-gradient(circle, var(--hero-glow-yellow) 0%, rgba(250, 204, 21, 0) 70%);
  filter: blur(70px);
  animation: floatBlobYellow 22s ease-in-out infinite alternate;
}

/* Floating Blob Keyframes (transform only for 60fps performance) */
@keyframes floatBlobGreen {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 25px) scale(1.08); }
  100% { transform: translate(25px, -30px) scale(0.96); }
}

@keyframes floatBlobYellow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.06); }
  100% { transform: translate(-20px, 25px) scale(0.95); }
}

/* Bottom Wavy SVG Divider flowing into pure white (#ffffff / var(--color-surface-base)) */
.hero-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
  margin-bottom: -1px;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(48px, 6vw, 100px);
  vertical-align: bottom;
  margin-bottom: -1px;
}

/* Hero Section Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-48);
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--hero-glass-bg);
  border: 1px solid var(--hero-glass-border);
  color: var(--hero-glass-text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-pill .hero-pulse-dot {
  background: var(--hero-accent-yellow);
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4);
  animation: heroPulseYellow 2s infinite;
}

@keyframes heroPulseYellow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hero-text-headline);
  margin-top: 4px;
  margin-bottom: var(--space-16);
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-title-highlight {
  color: var(--hero-accent-yellow);
}

.hero-desc {
  font-size: 17px;
  line-height: 26px;
  color: var(--hero-text-body);
  margin-bottom: var(--space-24);
  max-width: 58ch;
}

.hero-metrics-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-24);
  margin-bottom: var(--space-24);
  padding-bottom: var(--space-20);
  border-bottom: 1px solid var(--hero-stat-divider);
}

@media (max-width: 480px) {
  .hero-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .hero-metric-val {
    font-size: 18px;
  }
  .hero-metric-lbl {
    font-size: 10px;
    letter-spacing: 0.02em;
  }
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
}

.hero-metric-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--hero-stat-num);
  line-height: 1.1;
}

.hero-metric-lbl {
  font-size: 12px;
  color: var(--hero-stat-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Hero Search Bar on Dark Green */
.hero-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--hero-accent-yellow);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  max-width: 540px;
  margin-bottom: 20px;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.hero-search-form:focus-within {
  border-color: var(--hero-accent-yellow);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-search-icon {
  color: var(--color-green-700);
  margin-right: 12px;
  flex-shrink: 0;
}

.hero-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
  color: var(--color-ink-primary);
  font-family: var(--font-body);
}

.hero-search-btn {
  background-color: var(--hero-accent-yellow);
  color: var(--color-green-800);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.hero-search-btn:hover {
  background-color: #fde047;
  transform: translateY(-1px);
}

/* Quick Portfolios Chips on Dark Green */
.hero-quick-portfolios {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-quick-label);
  margin-right: 4px;
}

.hero-portfolio-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--hero-glass-bg);
  border: 1px solid var(--hero-glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--hero-glass-text);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  transition: all var(--motion-productive-normal) var(--ease-standard);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-portfolio-chip:hover {
  background-color: var(--hero-accent-yellow);
  border-color: var(--hero-accent-yellow);
  color: var(--color-green-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

/* 2. Auto-Rotating Slideshow Image Card on Dark Green */
.hero-showcase {
  position: relative;
  border-radius: var(--radius-24);
  overflow: hidden;
  border: 1px solid var(--hero-glass-border);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.5), 0 10px 24px -5px rgba(0, 0, 0, 0.35);
  background-color: #042312;
  outline: none;
  user-select: none;
}

.hero-showcase:focus-visible {
  outline: 3px solid var(--color-green-700);
  outline-offset: 3px;
}

.hero-showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-surface-subtle);
}

/* Slides with Smooth Crossfade */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), visibility 800ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Ken Burns Subtle Zoom (1.00 to 1.06 over 5 seconds) */
.hero-slide-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.0);
  transform-origin: center center;
}

.hero-slide.active .hero-slide-img {
  animation: kenBurnsZoom 5000ms ease-out forwards;
}

@keyframes kenBurnsZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}

/* Thin Top Progress Bar */
.hero-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.15);
  z-index: 6;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-yellow-400);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.8);
  transition: width 100ms linear;
}

/* Floating Badge */
.hero-floating-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(12, 73, 40, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-green-800);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 5;
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green-600);
  box-shadow: 0 0 0 0 rgba(12, 73, 40, 0.4);
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(12, 73, 40, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(12, 73, 40, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(12, 73, 40, 0); }
}

/* Glass Info Panel at Card Bottom */
.hero-caption-card {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-16);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(12, 73, 40, 0.1);
  z-index: 5;
}

.hero-caption-info {
  flex: 1;
  min-width: 0;
  transition: opacity 250ms ease, transform 250ms ease;
}

.hero-caption-info.updating {
  opacity: 0;
  transform: translateY(4px);
}

.hero-caption-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink-heading);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-caption-sub {
  font-size: 12px;
  color: var(--color-ink-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Controls: Tab Pills and Progress Dots */
.hero-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-photo-switch-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-switch-btn {
  background: var(--hero-glass-bg);
  border: 1px solid var(--hero-glass-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--motion-productive-normal) var(--ease-standard);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero-switch-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-switch-btn.active {
  background-color: var(--hero-accent-yellow);
  border-color: var(--hero-accent-yellow);
  color: var(--color-green-800);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Slide Progress Dots */
.hero-dots-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: var(--hero-dots-inactive);
  padding: 0;
  cursor: pointer;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.hero-dot-btn:hover {
  background-color: rgba(255, 255, 255, 0.65);
}

.hero-dot-btn.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background-color: var(--hero-dots-active);
}

/* Ask Agronomist Button in Glass Panel */
.btn-hero-agronomist {
  background-color: var(--color-green-700);
  border: 1px solid var(--color-green-700);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  transition: all var(--motion-productive-normal) var(--ease-standard);
  box-shadow: 0 2px 8px rgba(12, 73, 40, 0.25);
}

.btn-hero-agronomist:hover {
  background-color: var(--color-green-800);
  border-color: var(--color-green-800);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Reduced Motion Overrides */
@media (prefers-reduced-motion: reduce) {
  .hero-glow-green,
  .hero-glow-yellow,
  .hero-badge-pill .hero-pulse-dot {
    animation: none !important;
  }
  .hero-slide.active .hero-slide-img {
    animation: none !important;
    transform: none !important;
  }
  .hero-slide {
    transition: opacity 300ms ease !important;
  }
}

@media (max-width: 480px) {
  .hero-agricultural-section {
    padding-top: 36px;
    padding-bottom: clamp(90px, 16vw, 130px);
  }
  .hero-caption-card {
    padding: 8px 12px;
  }
  .hero-caption-title {
    font-size: 12px;
  }
  .hero-caption-sub {
    display: none;
  }
  .hero-floating-badge {
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 11px;
  }
  .hero-photo-switch-strip {
    gap: 4px;
  }
  .hero-switch-btn {
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* Responsive Content Grids */
.contact-strip-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .contact-strip-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: flex-start;
}

@media (max-width: 860px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
}

.about-mandate-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-48);
  align-items: flex-start;
}

@media (max-width: 860px) {
  .about-mandate-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

/* 6. Site Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: var(--elevation-sticky);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-16);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  color: var(--color-ink-primary);
}

.header-brand img {
  height: 54px;
  width: 54px;
  object-fit: contain;
  transition: transform var(--motion-productive-normal) var(--ease-standard);
}

.header-brand:hover img {
  transform: scale(1.05);
}

.header-brand-title {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: var(--color-green-700);
  letter-spacing: -0.01em;
}

.header-brand-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 16px;
  color: var(--color-ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-32);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-body);
  text-decoration: none;
  padding: var(--space-8) var(--space-4);
  position: relative;
  transition: color var(--motion-productive-normal) var(--ease-standard);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-green-700);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background-color: var(--color-green-700);
  border-radius: var(--radius-pill);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

/* Order Drawer Button in Header */
.btn-order-list {
  background-color: var(--color-green-50);
  color: var(--color-green-700);
  border: 1px solid var(--color-green-200);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  cursor: pointer;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.btn-order-list:hover {
  background-color: var(--color-green-100);
  border-color: var(--color-green-400);
  transform: translateY(-1px);
}

.order-badge {
  background-color: var(--color-green-700);
  color: var(--color-ink-inverted);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  transition: transform var(--motion-expressive-fast) var(--ease-enter);
}

.order-badge.popping {
  transform: scale(1.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-8);
  padding: var(--space-8);
  cursor: pointer;
  color: var(--color-ink-primary);
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-surface-base);
    border-bottom: 1px solid var(--color-border-subtle);
    padding: var(--space-24);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-16);
    box-shadow: var(--elevation-modal);
  }

  .site-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-brand-subtitle {
    display: none;
  }
  .header-brand-title {
    font-size: 14px;
  }
  .btn-order-list span.order-btn-text {
    display: none;
  }
  .btn-order-list {
    padding: 6px 10px;
  }
}

/* 7. Action Buttons (Pill-shaped 9999px, hover lift, press scale) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--motion-productive-normal) var(--ease-standard),
              box-shadow var(--motion-productive-normal) var(--ease-standard),
              background-color var(--motion-productive-normal) var(--ease-standard),
              border-color var(--motion-productive-normal) var(--ease-standard);
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 0, 11, 0.12);
}

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

/* Primary Action Yellow Button (The monday.com CTA) */
.btn-primary {
  background-color: var(--color-yellow-400);
  color: var(--color-ink-primary);
  border-color: var(--color-yellow-400);
}

.btn-primary:hover {
  background-color: var(--color-yellow-500);
  border-color: var(--color-yellow-500);
  color: var(--color-ink-primary);
}

/* WhatsApp Brand Forest Green Button */
.btn-whatsapp {
  background-color: var(--color-green-700);
  color: var(--color-ink-inverted);
  border-color: var(--color-green-700);
}

.btn-whatsapp:hover {
  background-color: var(--color-green-800);
  border-color: var(--color-green-800);
  color: var(--color-ink-inverted);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Secondary Neutral Outline Button */
.btn-secondary {
  background-color: var(--color-surface-base);
  color: var(--color-ink-primary);
  border-color: var(--color-border-subtle);
}

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

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  min-height: 36px;
}

/* 8. Category Status Chips (Flat monday.com Badges) */
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-transform: capitalize;
}

.category-chip-vegetables {
  background-color: var(--chip-veg-bg);
  border-color: var(--chip-veg-border);
  color: var(--chip-veg-text);
}

.category-chip-cereals {
  background-color: var(--chip-cereal-bg);
  border-color: var(--chip-cereal-border);
  color: var(--chip-cereal-text);
}

.category-chip-pasture {
  background-color: var(--chip-pasture-bg);
  border-color: var(--chip-pasture-border);
  color: var(--chip-pasture-text);
}

.category-chip-fruits {
  background-color: var(--chip-fruit-bg);
  border-color: var(--chip-fruit-border);
  color: var(--chip-fruit-text);
}

/* 9. Universal Seed Card Component */
.seed-card {
  background-color: var(--color-surface-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-16);
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform var(--motion-expressive-fast) var(--ease-standard),
              border-color var(--motion-expressive-fast) var(--ease-standard),
              box-shadow var(--motion-expressive-fast) var(--ease-standard);
  text-align: left;
  user-select: none;
}

.seed-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-green-300);
  box-shadow: var(--elevation-card-hover);
}

.seed-card-media {
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-12);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-12);
}

.seed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-12);
  transition: transform var(--motion-expressive-fast) var(--ease-standard);
}

.seed-card:hover .seed-card-media img {
  transform: scale(1.04);
}

.seed-card-media .category-chip {
  position: absolute;
  top: var(--space-8);
  left: var(--space-8);
  z-index: 2;
}

.seed-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  color: var(--color-ink-primary);
  margin-bottom: var(--space-8);
}

.seed-card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.size-tag {
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-4);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-ink-body);
  padding: 2px 6px;
}

.seed-card-footer {
  margin-top: auto;
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seed-card-price {
  display: flex;
  flex-direction: column;
}

.seed-card-price .price-prefix {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-ink-muted);
  line-height: 14px;
}

.seed-card-price .price-amount {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: var(--color-green-700);
}

/* Quick Add Button on Card */
.btn-add-quick {
  background-color: var(--color-green-100);
  color: var(--color-green-800);
  border: 1px solid var(--color-green-300);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.btn-add-quick:hover {
  background-color: var(--color-green-700);
  color: var(--color-ink-inverted);
  border-color: var(--color-green-700);
  transform: scale(1.08);
}

.btn-add-quick svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* 10. Board Catalogue View (/seeds/) */
.catalogue-toolbar {
  position: sticky;
  top: 72px;
  z-index: 45;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  margin-bottom: var(--space-32);
}

.catalogue-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.catalogue-search-box {
  position: relative;
  flex: 1 1 280px;
  max-width: 440px;
}

.catalogue-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-ink-muted);
}

.catalogue-search-input {
  width: 100%;
  height: 42px;
  padding: 8px 16px 8px 42px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-subtle);
  color: var(--color-ink-primary);
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.catalogue-search-input:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--color-green-700);
  box-shadow: 0 0 0 3px rgba(12, 73, 40, 0.12);
}

.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pills-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface-base);
  color: var(--color-ink-body);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

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

.filter-pill.active {
  background-color: var(--color-green-700);
  color: var(--color-ink-inverted);
  border-color: var(--color-green-700);
}

.filter-pill-count {
  font-size: 11px;
  opacity: 0.8;
}

/* View Mode & Sort Controls */
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.sort-select {
  height: 38px;
  padding: 6px 32px 6px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-8);
  background-color: var(--color-surface-base);
  color: var(--color-ink-body);
  cursor: pointer;
}

.view-mode-toggle {
  display: inline-flex;
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px;
}

.view-toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-ink-muted);
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.view-toggle-btn.active {
  background-color: var(--color-surface-base);
  color: var(--color-ink-primary);
  box-shadow: 0 1px 3px rgba(4, 0, 11, 0.08);
}

/* Cards View Grid */
.seed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--space-24);
}

/* Table View (monday.com Board Table) */
.seed-table-wrap {
  background-color: var(--color-surface-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-16);
  overflow-x: auto;
  box-shadow: var(--elevation-none);
}

.seed-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.seed-table th {
  background-color: var(--color-surface-subtle);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.seed-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

.seed-table tr {
  transition: background-color var(--motion-productive-normal) var(--ease-standard);
}

.seed-table tbody tr:hover {
  background-color: var(--color-green-50);
}

.table-crop-cell {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.table-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-8);
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  padding: 4px;
  object-fit: contain;
}

.table-seed-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-primary);
  cursor: pointer;
}

.table-seed-name:hover {
  color: var(--color-green-700);
}

/* 11. Pop-Out Seed Detail Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 0, 11, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-expressive-fast) var(--ease-enter),
              visibility var(--motion-expressive-fast);
}

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

.seed-modal-panel {
  background-color: var(--color-surface-base);
  border-radius: var(--radius-24);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  box-shadow: var(--elevation-modal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(12px);
  transition: transform var(--motion-expressive-normal) var(--ease-enter);
}

.modal-backdrop.open .seed-modal-panel {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-primary);
  z-index: 10;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.modal-close-btn:hover {
  background-color: var(--color-border-subtle);
  transform: scale(1.08);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow-y: auto;
  max-height: calc(90vh - 40px);
}

.modal-gallery {
  background-color: #ffffff;
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--color-border-subtle);
}

.modal-main-img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 150ms ease;
}

.modal-details {
  padding: var(--space-32);
}

.modal-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-12);
  padding: var(--space-16);
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}

.fact-item-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-ink-muted);
}

.fact-item-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-primary);
}

.modal-actions-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  margin-top: var(--space-16);
  margin-bottom: var(--space-24);
}

@media (max-width: 860px) {
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .seed-modal-panel {
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  .modal-backdrop.open .seed-modal-panel {
    transform: translateY(0);
  }
  .modal-body {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .modal-gallery {
    border-right: none;
    border-bottom: 1px solid var(--color-border-subtle);
    padding: var(--space-24);
  }
  .modal-main-img {
    max-height: 240px;
  }
  .modal-details {
    padding: var(--space-24);
  }
  .modal-actions-row {
    grid-template-columns: 1fr;
  }
}

/* 12. Order List Slide-out Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 0, 11, 0.5);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-expressive-fast) var(--ease-enter), visibility var(--motion-expressive-fast);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.order-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background-color: var(--color-surface-base);
  z-index: 95;
  display: flex;
  flex-direction: column;
  box-shadow: var(--elevation-modal);
  border-left: 1px solid var(--color-border-subtle);
  transform: translateX(100%);
  transition: transform var(--motion-expressive-normal) var(--ease-enter);
}

.order-drawer.open {
  transform: translateX(0);
}

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

.drawer-body {
  padding: var(--space-24);
  overflow-y: auto;
  flex: 1;
}

.drawer-footer {
  padding: var(--space-24);
  border-top: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface-subtle);
}

.order-item-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.order-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-8);
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  object-fit: contain;
  padding: 4px;
}

/* Quantity Stepper */
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-base);
  height: 34px;
}

.stepper-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
}

.stepper-btn:hover {
  background-color: var(--color-surface-subtle);
}

.stepper-input {
  width: 36px;
  text-align: center;
  border: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-primary);
  background: none;
}

/* 13. Form Controls */
.form-group {
  margin-bottom: var(--space-16);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-primary);
  margin-bottom: var(--space-4);
}

.form-input, .form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink-primary);
  background-color: var(--color-surface-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-8);
  padding: 10px 14px;
  transition: all var(--motion-productive-normal) var(--ease-standard);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-green-700);
  box-shadow: 0 0 0 3px rgba(12, 73, 40, 0.12);
}

.form-input.error {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

/* 14. Scroll Reveal Animations (IntersectionObserver) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 350ms var(--ease-enter), transform 350ms var(--ease-enter);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 15. prefers-reduced-motion Overrides */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
