/* ═══════════════════════════════════════════════════════
   THE GREEN SOLUTION — WHOLESALE PORTAL STYLES
   Professional Edition
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & CSS Variables ─── */
:root {
  /* Rich warm dark backgrounds — premium, editorial, with depth */
  --bg-primary: #131210;
  --bg-secondary: #1a1916;
  --bg-card: #1e1c19;
  --bg-card-hover: #252320;
  --bg-surface: #232120;
  --bg-surface-light: #2a2825;

  /* Warm white text — easier on the eyes than pure #fff */
  --text-primary: #f0ede8;
  --text-secondary: #9a9590;
  --text-muted: #636058;

  /* Signature accent: vibrant forest green */
  --green-primary: #4a90e2;
  --green-dark: #1e5c3a;
  --green-light: #3d9968;
  --green-glow: rgba(74, 144, 226, 0.15);

  /* Primary accent: forest green — CTAs, active states, highlights */
  --accent: #4a90e2;
  --accent-hover: #2d73c8;
  --accent-rgb: 74, 144, 226;
  --accent-glow: rgba(74, 144, 226, 0.12);

  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);

  --red: #e05555;
  --orange: #e8965a;
  --gold: #c9a227;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 30px rgba(74, 144, 226, 0.12);

  --transition: 0.2s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.4s ease;

  --header-height: 72px;
  --announce-bar-height: 40px;

  --font-xs: 0.72rem;
  --font-sm: 0.82rem;
  --font-base: 1rem;
  --font-md: 1.05rem;
  --font-lg: 1.15rem;
  --font-xl: 1.35rem;
  --font-2xl: 1.65rem;
  --font-3xl: clamp(2rem, 3.5vw, 2.75rem);
  --font-4xl: clamp(2.5rem, 5vw, 4rem);
  --font-hero: clamp(3rem, 7vw, 5.5rem);

  --font-display: 'Barlow Condensed', 'Inter', sans-serif;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevent any element wider than viewport from causing sideways scroll */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ─── Skip Navigation (Accessibility) ─── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 16px;
  color: var(--bg-primary);
}


/* ─── Focus States (Accessibility) ─── */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* ═══════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════ */

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #1a3a0a, #0f4a1a, #1a3a0a);
  border-bottom: 1px solid rgba(0, 200, 83, 0.3);
  padding: 10px 48px 10px 16px;
  text-align: center;
  z-index: 1001;
  height: var(--announce-bar-height, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.announce-emoji { font-size: 1rem; }

.announce-text {
  color: #c8f0d0;
  line-height: 1.4;
}

.announce-text strong {
  color: #5efc82;
  letter-spacing: 0.05em;
}

.announce-link {
  color: #5efc82;
  text-decoration: underline;
  font-weight: 600;
}

.announce-countdown {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #5efc82;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.announce-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(200, 240, 208, 0.5);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}

.announce-close:hover { color: #c8f0d0; }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: var(--announce-bar-height, 40px); left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(16, 15, 13, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
}

/* Slides up when scrolling down */
.header.header-hidden {
  transform: translateY(calc(-100% - var(--announce-bar-height, 40px)));
}

.header.scrolled {
  background: rgba(16, 15, 13, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--font-lg);
  text-decoration: none;
}

.logo:hover { color: var(--text-primary); }
.logo-icon { font-size: 1.6rem; }
.logo-icon-img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.logo-text { letter-spacing: -0.02em; }
.logo-sub {
  font-size: var(--font-xs);
  font-weight: 400;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 10px;
  border-left: 1px solid var(--border-light);
}

.nav {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  transition: var(--transition);
}

.btn-login:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.btn-login.logged-in {
  color: var(--accent);
  border-color: var(--green-primary);
  background: var(--green-glow);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}

.cart-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-med);
}

.cart-count.has-items {
  opacity: 1;
  transform: scale(1);
}

/* Cart bump animation */
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-count.bump { animation: cartBump 0.4s ease; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition-med);
}

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ═══════════════════════════════════════════════════════
   4/20 PROMO BANNER
   ═══════════════════════════════════════════════════════ */
.promo-banner {
  position: fixed;
  top: calc(var(--announce-bar-height, 40px) + var(--header-height));
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, #1a472a, #0d2818, #1a472a);
  border-bottom: 1px solid rgba(0, 200, 83, 0.3);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: promoSlideIn 0.5s ease;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 83, 0.08), transparent);
  animation: promoShimmer 3s ease-in-out infinite;
}

@keyframes promoShimmer {
  0%, 100% { opacity: 0.3; transform: translateX(-100%); }
  50% { opacity: 1; transform: translateX(100%); }
}

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

.promo-banner-text {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.promo-banner-text a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo-banner-text a:hover {
  color: var(--accent-hover);
}

.promo-banner-close {
  position: relative;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.promo-banner-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
}

body.has-promo-banner #app {
  /* handled by JS - shifts content down when banner visible */
}

body.has-promo-banner .hero {
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 44px + 80px);
}

body.has-promo-banner .page-header {
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 44px + 48px);
}

body.has-promo-banner .services-hero {
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 44px + 80px);
}

body.has-promo-banner .farm-hero {
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 44px + 60px);
}

body.has-promo-banner .product-detail-section {
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 44px + 32px);
}

body.has-promo-banner .nav {
  top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 44px);
}


/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--font-base);
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.21);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.12);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-danger {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-danger:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(255, 68, 68, 0.1);
}

.btn-lg { padding: 14px 32px; font-size: var(--font-md); border-radius: var(--radius); }
.btn-sm { padding: 6px 14px; font-size: var(--font-sm); }
.btn-full { width: 100%; }


/* ═══════════════════════════════════════════════════════
   PAGE TRANSITIONS
   ═══════════════════════════════════════════════════════ */
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#app {
  min-height: calc(100vh - var(--header-height));
}

#app.page-transitioning {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#app.page-entering {
  animation: pageIn 0.35s ease-out forwards;
}


/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   CINEMATIC HERO
   ═══════════════════════════════════════════════════════ */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-cinematic {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CSS gradient background — matches brand palette */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(74, 144, 226, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(74, 144, 226, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #0c0b09 0%, #131210 45%, #0e111a 100%);
  z-index: 0;
}

/* Subtle noise texture overlay for depth */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 16, 0.10) 0%,
    rgba(10, 11, 16, 0.30) 60%,
    rgba(10, 11, 16, 0.70) 100%
  );
  z-index: 1;
}

/* Edge vignette for depth */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, transparent 45%, rgba(8, 9, 14, 0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 80px) 0 60px;
  max-width: 780px;
}

/* Eyebrow badges */
.hero-eyebrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s ease both;
}

.hero-badge-sdvosb,
.hero-badge-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-badge-sdvosb {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.hero-badge-state {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

/* The headline — this is the money shot */
.hero-headline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-line-1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: rgba(255,255,255,0.55);
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-line-2 {
  font-size: clamp(4rem, 9.5vw, 8.5rem);
  color: #ffffff;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-line-3 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  color: #ffffff;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.5s both;
}

/* Ghost button for secondary CTA */
.btn-ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* Stats bar anchored to bottom of hero */
.hero-stats-bar {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  padding: 20px 0;
  margin-top: auto;
}

.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.hero-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
}

/* keep old gradient for other places */
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════
   SECTIONS & PAGE LAYOUT
   ═══════════════════════════════════════════════════════ */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

/* Pure white section — max contrast moment */
.section-white {
  background: #ffffff;
  color: #0d0d0d;
}

.section-white .section-header h2,
.section-white h2,
.section-white h3 {
  color: #0d0d0d;
}

.section-white .section-header p,
.section-white p,
.section-white .text-muted {
  color: #444444;
}

/* Charcoal — mid-tone dark for rhythm */
.section-charcoal {
  background: #161616;
}

/* True black — for CTA/closing punch */
.section-black {
  background: #000000;
}

/* Section divider line (top edge gradient) */
.section::before,
.section-dark::before,
.section-white::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.section-white::before {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--font-4xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--font-lg);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════
   FEATURED PRODUCTS CAROUSEL
   ═══════════════════════════════════════════════════════ */

.carousel-section {
  padding: 72px 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.carousel-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.carousel-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  margin: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  transform: scale(1.08);
}

.carousel-cta {
  margin-left: 8px;
}

/* Scrollable track */
.carousel-track-wrap {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
  padding: 8px 24px 24px;
  /* Bleed past container edges */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc(50vw - 640px));
  padding-right: max(24px, calc(50vw - 640px));
  cursor: grab;
}

.carousel-track-wrap:active {
  cursor: grabbing;
}

.carousel-track-wrap::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Individual carousel card */
.carousel-card {
  width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.carousel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

/* Image area */
.carousel-card-image {
  height: 220px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.carousel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.carousel-card-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
}

.carousel-farm-logo {
  opacity: 0.3;
}

.carousel-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Card body */
.carousel-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.carousel-card-farm {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.carousel-farm-icon {
  opacity: 0.6;
}

.carousel-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.carousel-card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.carousel-card-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.carousel-price-now {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.carousel-price-was {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

.carousel-price-signin,
.carousel-price-contact {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Drag-to-scroll via JS (add mouse events in app.js) */
@media (max-width: 768px) {
  .carousel-card { width: 240px; }
  .carousel-card-image { height: 180px; }
  .carousel-controls { display: none; }
}

.page-header {
  padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 48px) 0 32px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}

.page-header p {
  color: var(--text-secondary);
  margin-top: 8px;
}


/* ═══════════════════════════════════════════════════════
   STEPS / HOW IT WORKS
   ═══════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Legacy step-card — replaced by how-it-works-timeline */
.step-card { display: none; }

/* How It Works — horizontal timeline */
.how-it-works-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Icon circle */
.hiw-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hiw-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Horizontal connector line */
.hiw-connector {
  position: absolute;
  top: 40px; /* center of icon */
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #000 0%, #cccccc 100%);
  z-index: 1;
}

.hiw-connector-last {
  display: none;
}

/* Step body */
.hiw-body {
  padding: 24px 20px 0;
}

.hiw-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 10px;
}

.hiw-body p {
  color: #555555;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Mobile: stack vertically */
@media (max-width: 700px) {
  .how-it-works-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
  }
  .hiw-connector { display: none; }
  .hiw-step { flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; }
  .hiw-body { padding: 0; }
}


/* ═══════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.product-card:hover {
  border-color: var(--farm-color, var(--border-light));
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--farm-color, transparent),
    0 0 30px color-mix(in srgb, var(--farm-color, transparent) 20%, transparent);
  color: inherit;
}

.product-card:hover .product-image {
  filter: brightness(1.1);
}

.product-card:hover .product-image-icon {
  transform: scale(1.1);
}

.product-card:hover .quick-add-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: filter 0.35s ease;
  overflow: hidden;
}

/* Cannabis leaf pattern overlay on product images */
.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5c0 0-4 8-4 15s4 12 4 12 4-5 4-12S30 5 30 5z' fill='rgba(255,255,255,0.04)'/%3E%3Cpath d='M30 20c-5-3-12-2-15 2 3-1 8 0 11 4' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3Cpath d='M30 20c5-3 12-2 15 2-3-1-8 0-11 4' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* Gradient overlay for depth */
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
  z-index: 1;
}

.product-image-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.35s ease;
  z-index: 2;
  position: relative;
}

/* Product photos */
.product-image-has-photo {
  background: var(--bg-secondary);
}
.product-image-has-photo::before,
.product-image-has-photo::after {
  display: none;
}
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-photo {
  transform: scale(1.05);
}

/* Product detail photos */
.product-detail-has-photo {
  background: var(--bg-secondary) !important;
}
.product-detail-has-photo::before,
.product-detail-has-photo::after {
  display: none;
}
.product-detail-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

/* Farm logo images */
.farm-logo-img {
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
}
.farm-card-logo {
  margin-bottom: 8px;
  opacity: 0.9;
}
.farm-hero-logo {
  margin-bottom: 12px;
  opacity: 0.95;
}

/* Strains section on product detail */
.product-strains-section {
  margin: 20px 0;
}
.product-strains-section h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.strain-grid,
.strain-select-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Selectable strain tiles on product detail page */
.strain-select-tile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.strain-select-tile:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.strain-select-tile.active {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 1px var(--text-primary);
}

.pd-strain-desc {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pd-strain-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 4px 0 0;
  font-style: italic;
}

/* "Select Options" button style on cards */
.quick-select-options {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
}
.strain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.strain-pill:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-bg, rgba(45, 106, 79, 0.1));
}
.strain-has-img {
  cursor: pointer;
}
.strain-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.product-card-strains {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.product-brand-badge {
  margin: 12px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.price-contact {
  font-size: 0.85rem;
  color: var(--accent);
  font-style: italic;
}

/* Quick-Add overlay on hover */
.quick-add-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.quick-add-btn {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--font-sm);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.quick-add-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.quick-add-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

/* Product badges */
.product-tier {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
}

.tier-flagship { background: rgba(26, 26, 46, 0.9); color: #ffd700; border: 1px solid #ffd700; }
.tier-premium { background: rgba(26, 26, 46, 0.9); color: #e0e0e0; border: 1px solid #999; }
.tier-value { background: rgba(26, 26, 46, 0.9); color: #f4a261; border: 1px solid #f4a261; }

.product-badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.badge-new {
  background: rgba(0, 200, 83, 0.9);
  color: #000;
}

.badge-featured {
  background: rgba(255, 215, 0, 0.9);
  color: #000;
}

.badge-promo {
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff;
  font-weight: 700;
  animation: promo-pulse 2s ease-in-out infinite;
}

@keyframes promo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.badge-stock-in {
  background: rgba(0, 200, 83, 0.2);
  color: var(--accent);
  border: 1px solid rgba(0, 200, 83, 0.4);
}

.badge-stock-low {
  background: rgba(244, 162, 97, 0.2);
  color: var(--orange);
  border: 1px solid rgba(244, 162, 97, 0.4);
}

.badge-stock-out {
  background: rgba(255, 68, 68, 0.2);
  color: var(--red);
  border: 1px solid rgba(255, 68, 68, 0.4);
}

.product-info {
  padding: 16px;
}

.product-farm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-farm-badge a {
  color: inherit;
  text-decoration: none;
}

.product-name {
  font-size: var(--font-md);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-category {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-weight: 500;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.price-hidden {
  font-size: var(--font-sm);
  color: var(--text-muted);
  font-style: italic;
}

.price-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.product-thc {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 500;
}

/* Pack sizes on beverage cards */
.product-pack-sizes {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.pack-size-pill {
  padding: 2px 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Multi-size price grid on product cards */
.card-size-grid {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 10px;
}

.card-size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  line-height: 1.5;
}

.card-size-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.card-size-price {
  color: var(--text-primary);
  font-weight: 700;
}

/* Sale/promo strikethrough */
.price-was {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

.price-was-tile {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  line-height: 1;
}

/* Price tease for non-logged-in */
.price-tease {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════
   FARM EDITORIAL PANELS — Cinematic full-bleed sections
   ═══════════════════════════════════════════════════════ */

.farm-editorial {
  position: relative;
}

.farm-editorial-header {
  text-align: center;
  padding: 80px 24px 20px;
  background: var(--bg-primary);
}

.farm-editorial-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.farm-editorial-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Each farm panel */
.farm-panel {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Farm color glow background — clean CSS, no photo quality issues */
.farm-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 45%, color-mix(in srgb, var(--farm-color) 55%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, color-mix(in srgb, var(--farm-color) 25%, transparent) 0%, transparent 45%),
    linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

/* Flipped: glow on left side */
.farm-panel-flip .farm-panel-bg {
  background:
    radial-gradient(ellipse at 15% 45%, color-mix(in srgb, var(--farm-color) 55%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, color-mix(in srgb, var(--farm-color) 25%, transparent) 0%, transparent 45%),
    linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
}

/* Subtle noise grain overlay for texture */
.farm-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

/* Decorative number hidden — color blocking does the heavy lifting */
.farm-panel-number {
  display: none;
}

/* Content positioning */
.farm-panel-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  padding: 80px 24px;
}

.farm-panel-inner-flip {
  justify-content: flex-end;
}

.farm-panel-content {
  max-width: 520px;
  animation: fadeInUp 0.6s ease both;
}

/* Eyebrow label */
.farm-panel-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

/* Logo */
.farm-panel-logo-wrap {
  margin-bottom: 16px;
}

.farm-panel-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.92;
}

/* Farm name */
.farm-panel-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Tagline */
.farm-panel-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  font-style: italic;
}

/* Description */
.farm-panel-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
}

/* Cert pills */
.farm-panel-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.farm-panel-cert {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* CTAs */
.farm-panel-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Meta stats strip */
.farm-panel-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.farm-panel-meta span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Thin divider between panels */
.farm-panel + .farm-panel {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* Mobile: stack, full-bleed text over photo */
@media (max-width: 768px) {
  .farm-panel {
    min-height: 100vw;
  }
  .farm-panel-overlay,
  .farm-panel-overlay-flip {
    background: linear-gradient(
      180deg,
      rgba(13,13,13,0.3) 0%,
      rgba(13,13,13,0.92) 55%,
      rgba(13,13,13,0.98) 100%
    );
  }
  .farm-panel-inner,
  .farm-panel-inner-flip {
    align-items: flex-end;
    padding-bottom: 48px;
    padding-top: 40px;
    justify-content: flex-start;
  }
  .farm-panel-name { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .farm-panel-meta { gap: 12px; }
}

/* ═══════════════════════════════════════════════════════
   FARM CARDS
   ═══════════════════════════════════════════════════════ */
.farms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.farms-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.farm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: block;
}

.farm-card:hover {
  transform: translateY(-6px);
  border-color: var(--farm-color, var(--border-light));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px color-mix(in srgb, var(--farm-color, transparent) 15%, transparent);
  color: inherit;
}

.farm-card-header {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.farm-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.2));
  pointer-events: none;
}

.farm-card-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.farm-card-header h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
}

.farm-card-header p {
  color: rgba(255,255,255,0.8);
  font-size: var(--font-base);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.farm-card-body {
  padding: 20px 24px;
}

.farm-card-body p {
  color: var(--text-secondary);
  font-size: var(--font-base);
  margin-bottom: 12px;
  line-height: 1.6;
}

.farm-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-sm);
  color: var(--text-muted);
}

/* Farm stats in card */
.farm-card-stats {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.farm-card-stat {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.farm-card-stat strong {
  color: var(--text-secondary);
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════
   SOCIAL PROOF TICKER
   ═══════════════════════════════════════════════════════ */

.proof-ticker-wrap {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 18px 0;
  /* Edge fade masks */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.proof-ticker {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.proof-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  will-change: transform;
}

.proof-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  padding: 0 28px;
  white-space: nowrap;
}

.proof-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   VALUE PROPS / WHY CHOOSE US
   ═══════════════════════════════════════════════════════ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-size: var(--font-md);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.value-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════
   MARKET INSIGHTS DASHBOARD
   ═══════════════════════════════════════════════════════ */
.market-insights {
  position: relative;
}

.market-insights::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insight-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.insight-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.insight-value {
  font-size: var(--font-3xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.insight-value-sm {
  font-size: var(--font-xl);
}

.insight-detail {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  display: block;
}

.insights-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.insight-card-wide {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s ease;
}

.insight-card-wide:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.insight-card-wide .insight-emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.insight-card-wide .insight-label {
  margin-bottom: 2px;
}

.insight-card-wide .insight-value {
  font-size: var(--font-lg);
  margin-bottom: 0;
}

.insights-source {
  text-align: center;
  margin-top: 20px;
  font-size: var(--font-xs);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.insights-source a {
  color: var(--text-secondary);
}

/* Animated counter effect */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.insight-card .insight-value,
.insight-card-wide .insight-value {
  animation: countUp 0.6s ease both;
}

.insights-grid .insight-card:nth-child(1) .insight-value { animation-delay: 0.1s; }
.insights-grid .insight-card:nth-child(2) .insight-value { animation-delay: 0.2s; }
.insights-grid .insight-card:nth-child(3) .insight-value { animation-delay: 0.3s; }
.insights-grid .insight-card:nth-child(4) .insight-value { animation-delay: 0.4s; }
.insights-bottom-row .insight-card-wide:nth-child(1) .insight-value { animation-delay: 0.5s; }
.insights-bottom-row .insight-card-wide:nth-child(2) .insight-value { animation-delay: 0.6s; }
.insights-bottom-row .insight-card-wide:nth-child(3) .insight-value { animation-delay: 0.7s; }


/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle white glow at center */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-block p {
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  font-size: var(--font-lg);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════
   SHOP PAGE — FILTERS & SORT
   ═══════════════════════════════════════════════════════ */
.shop-section { padding-top: 40px; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.shop-results-bar {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort label {
  font-size: var(--font-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.shop-filters {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.filter-input, .filter-select {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--font-base);
  transition: var(--transition);
}

.filter-input:focus, .filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.filter-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Search input with clear button */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper .filter-input {
  width: 100%;
  padding-right: 36px;
}

.search-clear-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: none;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.search-clear-btn.visible {
  display: flex;
}

.search-clear-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-light);
}

.farm-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.farm-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}

.farm-pill:hover {
  border-color: var(--pill-color, var(--border-light));
  color: var(--text-primary);
  transform: translateY(-1px);
}

.farm-pill.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: var(--font-xl);
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}


/* ═══════════════════════════════════════════════════════
   RECENTLY VIEWED
   ═══════════════════════════════════════════════════════ */
.recently-viewed-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.recently-viewed-section h3 {
  font-size: var(--font-lg);
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.recently-viewed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: var(--font-sm);
}

.recently-viewed-item:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.recently-viewed-item .rv-emoji {
  font-size: 1.3rem;
}

.recently-viewed-item .rv-name {
  font-weight: 600;
  line-height: 1.3;
}

.recently-viewed-item .rv-farm {
  font-size: var(--font-xs);
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════
   FARM DETAIL PAGE
   ═══════════════════════════════════════════════════════ */
.farm-hero {
  padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}

.farm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 15, 13, 0.6));
  pointer-events: none;
}

.farm-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.farm-hero-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 12px;
}

.farm-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: white;
  margin-bottom: 10px;
}

.farm-hero-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.farm-hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.7);
  font-size: var(--font-base);
}

.farm-parent-badge {
  margin-top: 16px;
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

/* Farm stats row */
.farm-stats-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}

.farm-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  min-width: 100px;
}

.farm-stat-card .stat-num {
  display: block;
  font-size: var(--font-3xl);
  font-weight: 800;
  color: white;
  line-height: 1;
}

.farm-stat-card .stat-label {
  font-size: var(--font-xs);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.farm-detail-grid {
  max-width: 800px;
}

.farm-about h2 {
  font-size: var(--font-2xl);
  margin-bottom: 16px;
}

.farm-about p {
  color: var(--text-secondary);
  font-size: var(--font-md);
  line-height: 1.7;
  margin-bottom: 24px;
}

.farm-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-badge {
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.cert-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}


/* ═══════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Full-bleed redesign
   ═══════════════════════════════════════════════════════ */

/* ── Hero split layout ── */
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height));
  position: relative;
  overflow: hidden;
}

/* Left image pane — full height, edge to edge */
.pd-hero-image {
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
  min-height: 60vh;
}

.pd-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pd-hero-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pd-hero-no-image-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--farm-color) 20%, transparent) 0%, transparent 65%),
    var(--bg-secondary);
}

.pd-hero-farm-logo {
  position: relative;
  z-index: 1;
  opacity: 0.6;
}

.pd-tier-badge,
.pd-promo-badge {
  position: absolute;
  top: 20px;
  left: 20px;
}

.pd-promo-badge { top: 52px; }

/* Right content pane */
.pd-hero-content {
  padding: 48px 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  position: relative;
}

/* Farm color subtle top accent line */
.pd-hero-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--farm-color), transparent);
}

/* Breadcrumb */
.pd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pd-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--text-primary); }
.pd-breadcrumb span:last-child { color: var(--text-secondary); }

/* Farm tag */
.pd-farm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.pd-farm-tag:hover { color: var(--text-primary); }
.pd-farm-logo { opacity: 0.7; }

/* Product name */
.pd-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--text-primary);
  margin: 0;
}

/* Meta row */
.pd-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.pd-thc {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Description */
.pd-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* Strains */
.pd-strains { display: flex; flex-direction: column; gap: 10px; }
.pd-strains-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Pricing block */
.pd-pricing {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pd-pricing-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.pd-login-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pd-login-prompt a { color: var(--text-primary); }

.pd-single-size {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.pd-size-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pd-size-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Qty row — stepper + button side by side */
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-qty-row .selected-size-summary {
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: -4px;
}

.pd-qty-row .btn {
  flex: 1;
  padding: 14px;
  font-size: 1rem;
  min-width: 140px;
}

.pd-add-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* Qty stepper */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  background: var(--bg-surface);
  border: none;
  color: var(--text-primary);
  width: 40px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: inherit;
}

.qty-btn:hover { background: var(--bg-card-hover); }
.qty-btn:active { background: rgba(255,255,255,0.1); }

.qty-input {
  background: var(--bg-primary);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  width: 56px;
  height: 48px;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd-size-selector { margin-bottom: 4px; }

.pd-min-order {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.pd-tags { margin-top: 4px; }

/* Below-fold section */
.pd-below {
  padding: 64px 24px;
}

.pd-related-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* Mobile: stack vertically */
@media (max-width: 900px) {
  .pd-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pd-hero-image {
    height: 50vw;
    min-height: 260px;
  }
  .pd-hero-content {
    padding: 32px 24px 48px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .pd-name { font-size: 1.6rem; }
}

/* Legacy .product-detail-section still used by other pages */
.product-detail-section {
  padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 32px);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.product-detail-image {
  height: 400px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Cannabis leaf pattern on detail images too */
.product-detail-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 8c0 0-6 12-6 22s6 16 6 16 6-6 6-16S40 8 40 8z' fill='rgba(255,255,255,0.04)'/%3E%3Cpath d='M40 28c-7-4-16-3-20 3 4-1 11 0 15 5' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1.5'/%3E%3Cpath d='M40 28c7-4 16-3 20 3-4-1-11 0-15 5' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.product-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
  z-index: 1;
}

.product-detail-icon {
  font-size: 6rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
  z-index: 2;
  position: relative;
}

.product-detail-info h1 {
  font-size: var(--font-3xl);
  font-weight: 800;
  margin: 12px 0 8px;
}

.product-category-tag {
  display: inline-block;
  background: var(--bg-surface);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--font-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.product-thc-detail {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag {
  padding: 4px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Stock badge on detail page */
.product-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--font-sm);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-stock-badge .stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.stock-in .stock-dot { background: var(--accent); }
.stock-low .stock-dot { background: var(--orange); animation: pulse 2s infinite; }
.stock-out .stock-dot { background: var(--red); }

.stock-in { background: rgba(255, 255, 255, 0.06); color: var(--accent); border: 1px solid rgba(255, 255, 255, 0.18); }
.stock-low { background: rgba(244, 162, 97, 0.1); color: var(--orange); border: 1px solid rgba(244, 162, 97, 0.3); }
.stock-out { background: rgba(255, 68, 68, 0.1); color: var(--red); border: 1px solid rgba(255, 68, 68, 0.3); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.product-sizes h3 {
  font-size: var(--font-lg);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.login-prompt {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.login-prompt p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.size-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.size-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.size-option:hover,
.size-option-selected {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.size-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.size-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.size-price {
  color: var(--text-primary);
  font-weight: 700;
}

.add-btn {
  flex-shrink: 0;
}

/* Tile-style size selector for multi-size products (detail page) */
.size-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.size-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.size-tile:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.size-tile.active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb, 34,197,94), 0.1);
  box-shadow: 0 0 0 1px var(--accent);
}

.size-tile-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.size-tile-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Row below tile selector: summary + add to cart */
.size-add-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.selected-size-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.selected-size-summary strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.min-order-note {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: 12px;
}

.related-products h2 {
  font-size: var(--font-2xl);
  margin-bottom: 24px;
}


/* ═══════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════ */
.cart-section { padding-top: 40px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-actions-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cart-split-banner {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  margin-bottom: 24px;
  align-items: center;
}

.split-icon { font-size: 1.5rem; }
.cart-split-banner strong { color: var(--accent); }
.cart-split-banner p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2px;
}

.cart-farm-group {
  margin-bottom: 24px;
}

.cart-farm-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.cart-farm-header:hover {
  background: var(--bg-card-hover);
}

.cart-farm-emoji { font-size: 1.4rem; }
.cart-farm-header h3 { font-size: var(--font-md); font-weight: 700; flex: 1; }
.cart-farm-count { font-size: var(--font-sm); color: var(--text-muted); }

.cart-farm-delivery {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-left: auto;
  margin-right: 8px;
}

.cart-farm-toggle {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.cart-farm-toggle.collapsed {
  transform: rotate(-90deg);
}

.cart-farm-items {
  border: 1px solid var(--border);
  border-top: none;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.cart-farm-items.collapsed {
  max-height: 0 !important;
  opacity: 0;
  border: none;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  gap: 16px;
  transition: background 0.2s ease;
}

.cart-item:hover {
  background: var(--bg-card-hover);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-size {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-right: 8px;
}

.cart-item-price {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-control button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.qty-control button:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

.qty-control input {
  width: 48px;
  height: 36px;
  text-align: center;
  background: var(--bg-surface);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-base);
  font-weight: 600;
}

.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-control input[type=number] { -moz-appearance: textfield; }

.cart-item-total {
  font-weight: 700;
  color: var(--accent);
  min-width: 70px;
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  color: var(--red);
  background: rgba(255, 68, 68, 0.1);
}

.cart-farm-subtotal {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: var(--font-base);
}

.cart-farm-subtotal span:last-child { color: var(--accent); }

/* Cart Sidebar */
.cart-sidebar { position: sticky; top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 20px); }

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.cart-summary h3 {
  font-size: var(--font-lg);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.summary-farms {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.summary-farm-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-base);
  color: var(--text-secondary);
}

.summary-savings {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: var(--font-sm);
  color: var(--accent);
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 800;
}

.summary-total span:last-child { color: var(--accent); }

.summary-note {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ═══════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════ */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 20px);
}

.form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--font-base);
  transition: var(--transition);
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; }
.form-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; display: block; }

.form-intro h2 { font-size: var(--font-2xl); margin-bottom: 12px; }
.form-intro p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }

.vendor-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vendor-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.vendor-benefit:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.vendor-benefit span { font-size: 1.5rem; }
.vendor-benefit strong { display: block; margin-bottom: 4px; }
.vendor-benefit p { color: var(--text-secondary); font-size: 0.85rem; }

/* Contact Cards */
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.contact-card h3 { font-size: var(--font-base); color: var(--text-muted); margin-bottom: 4px; }
.contact-card p { font-size: 0.95rem; }

.contact-about h2 { font-size: var(--font-xl); margin-bottom: 12px; }
.contact-about p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }


/* ═══════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.show { opacity: 1; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s ease;
}

.modal-overlay.show .modal {
  transform: translateY(0) scale(1);
}

.modal-icon { font-size: 3rem; margin-bottom: 16px; }
.modal h2 { font-size: var(--font-2xl); margin-bottom: 12px; }
.modal p { color: var(--text-secondary); margin-bottom: 16px; }

.modal-farms {
  margin: 20px 0;
  text-align: left;
}

.modal-farm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--font-base);
}

.modal-farm-row span:first-child { font-weight: 600; }
.modal-farm-row span:last-child { color: var(--text-secondary); }

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 20px 0;
  line-height: 1.6;
}

/* Order contact form inside modal */
.modal-order-form { text-align: left; max-width: 520px; }
.modal-order-form h2 { text-align: center; }
.modal-order-form .modal-icon { text-align: center; }
.modal-order-form .modal-sub { text-align: center; }

.order-form-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.order-form-row label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); }
.order-form-row input,
.order-form-row textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: var(--font-base);
  font-family: inherit;
  width: 100%;
  transition: border-color 0.2s;
}
.order-form-row input:focus,
.order-form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
}
.order-form-row textarea { resize: vertical; min-height: 60px; }


/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: var(--font-base);
  font-weight: 500;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast .toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast.success {
  border-color: var(--accent);
  color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 255, 255, 0.05));
}

.toast.warning {
  border-color: var(--orange);
  color: var(--orange);
  background: linear-gradient(135deg, var(--bg-card), rgba(244, 162, 97, 0.08));
}

.toast.info {
  border-color: var(--border-light);
  background: linear-gradient(135deg, var(--bg-card), rgba(255,255,255,0.02));
}

.toast.error {
  border-color: var(--red);
  color: var(--red);
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 68, 68, 0.08));
}


/* ═══════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
   ═══════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
}


/* ═══════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════ */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: skeletonShimmer 1.5s ease infinite;
}

@keyframes skeletonShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-image {
  height: 180px;
  background: var(--bg-surface);
}

.skeleton-text {
  height: 14px;
  margin: 12px 16px;
  border-radius: 4px;
}

.skeleton-text-short {
  width: 60%;
}

.skeleton-text-medium {
  width: 80%;
}


/* ═══════════════════════════════════════════════════════
   STORE FINDER
   ═══════════════════════════════════════════════════════ */

.store-finder-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - var(--announce-bar-height, 40px) - var(--header-height) - 120px);
  min-height: 600px;
}

/* Sidebar */
.store-finder-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.store-filter-section {
  padding: 20px 16px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.store-filter-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.store-farm-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-farm-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.store-farm-btn:hover {
  border-color: var(--farm-color, var(--accent));
  color: var(--text-primary);
}

.store-farm-btn.active {
  background: rgba(255,255,255,0.06);
  border-color: var(--farm-color, var(--accent));
  color: var(--text-primary);
}

/* Store list */
.store-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.store-list-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.store-list-item:hover { background: rgba(255,255,255,0.04); }
.store-list-item.active { background: rgba(255,255,255,0.08); border-left: 2px solid var(--accent); }

.store-list-main { flex: 1; min-width: 0; }

.store-list-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-list-address {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-list-farms {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.store-farm-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.store-count {
  padding: 10px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* Map */
.store-map-wrap {
  position: relative;
}

#store-map {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
}

/* Override Leaflet for dark theme */
.leaflet-container { background: #1a1a1a !important; }
.leaflet-tile { filter: brightness(0.85) saturate(0.7); }
.leaflet-control-zoom a {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}
.leaflet-popup-content-wrapper {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}
.leaflet-popup-tip { background: var(--bg-secondary) !important; }

/* Farm pin */
.map-farm-pin {
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.map-farm-pin img { transform: rotate(45deg); }

/* Store pin */
.map-store-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.map-store-multi {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  bottom: -3px;
  right: -3px;
  border: 1px solid rgba(255,255,255,0.6);
}

/* Legend */
.map-legend {
  position: absolute;
  bottom: 20px;
  right: 12px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  z-index: 999;
  min-width: 130px;
}

.map-legend-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
}

.map-legend-icon { font-size: 0.9rem; }

/* Mobile: stack */
@media (max-width: 768px) {
  .store-finder-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 400px;
    height: auto;
  }
  .store-finder-sidebar { max-height: 280px; }
}

/* ─────────────────────────────────────────
   VETERAN DISCOUNT BANNER
───────────────────────────────────────── */

.vet-discount-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 3px solid rgba(255,255,255,0.12);
  padding: 36px 0;
}

.vet-discount-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.vet-discount-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vet-discount-ribbon {
  font-size: 3rem;
  flex-shrink: 0;
}

.vet-discount-left h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.vet-discount-left p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.vet-discount-center {
  text-align: center;
  padding: 20px 32px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.vet-discount-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.vet-discount-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.vet-discount-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vet-discount-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vet-discount-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 3px 0;
}

/* ─────────────────────────────────────────
   SERVICE CARD PRICING
───────────────────────────────────────── */

.service-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.service-pkg-grid-solo {
  grid-template-columns: 1fr;
  max-width: 260px;
}

.service-pkg {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.service-pkg-mid,
.service-pkg-highlight {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

.service-pkg-name {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.service-pkg-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-pkg-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.service-retainer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.service-vet-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  color: #d4af37;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .vet-discount-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vet-discount-left { flex-direction: column; text-align: center; }
  .vet-discount-center { margin: 0 auto; }
  .vet-discount-right { align-items: center; }
  .service-pkg-grid { grid-template-columns: 1fr; }
  .service-pkg-grid-solo { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   GREEN ACCENT ENHANCEMENTS
   Dark theme stays — green replaces white as primary accent
   ═══════════════════════════════════════════════════════ */

/* Active nav link — green */
.nav-link.active {
  color: var(--accent);
  background: rgba(74, 144, 226, 0.10);
}
.nav-link.active::after { background: var(--accent); }

/* Cart count badge — green */
.cart-count { background: var(--accent); color: #fff; }

/* Strain select active — green */
.strain-select-tile:hover { border-color: rgba(45,122,80,0.5); }
.strain-select-tile.active {
  border-color: var(--accent);
  background: rgba(74, 144, 226, 0.12);
  box-shadow: 0 0 0 1px var(--accent);
  color: var(--accent);
}

/* Size tile active — green fill */
.size-tile.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.size-tile:hover { border-color: rgba(45,122,80,0.5); }

/* Pricing card featured — green border glow */
.pricing-card-featured {
  border-color: var(--accent) !important;
  box-shadow: 0 8px 40px rgba(74, 144, 226, 0.20) !important;
}
.pricing-card-popular { background: var(--accent) !important; color: #fff !important; }

/* Service card AI badge — green */
.service-card-ai .service-card-ai-badge {
  background: rgba(74, 144, 226, 0.15);
  color: var(--accent);
  border-color: rgba(45,122,80,0.3);
}

/* Store finder active — green */
.store-farm-btn.active {
  background: rgba(74, 144, 226, 0.10);
  border-color: var(--farm-color, var(--accent));
}

/* Filter focus — green ring */
.filter-input:focus, .filter-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

/* FAQ — fix readability: explicit dark bg + light text */
.faq-item {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.faq-question span { color: var(--text-primary) !important; }
.faq-answer p { color: var(--text-secondary) !important; }
.faq-toggle { color: var(--accent) !important; }

/* section-white How It Works — keep white bg, fix text to be dark */
.section-white .section-header h2,
.section-white .hiw-step h3 { color: #0f0f0f !important; }
.section-white .section-header p,
.section-white .hiw-body p { color: #444444 !important; }
.section-white .hiw-icon-wrap { background: var(--accent) !important; }
.section-white .hiw-connector { background: rgba(74, 144, 226, 0.3) !important; }

/* Value props section (charcoal) — ensure text is readable */
.section-charcoal .section-header h2 { color: #f0ede8 !important; }
.section-charcoal .section-header p { color: #9a9590 !important; }

/* Btn-outline — green */
.btn-outline {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.btn-outline:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
  background: #111111;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
}
.footer-logo .logo-text { display: none; }

.footer-desc {
  color: var(--text-muted);
  font-size: var(--font-base);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sdvosb-badge {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: var(--font-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: var(--font-base);
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-col p { color: var(--text-secondary); font-size: var(--font-base); padding: 4px 0; }

/* Newsletter */
.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter h4 {
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-primary);
  padding: 10px 14px;
  font-family: inherit;
  font-size: var(--font-sm);
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form button {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 16px;
  font-weight: 700;
  font-size: var(--font-md);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-hover);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: var(--font-sm);
}

.footer-legal {
  margin-top: 8px;
  font-size: var(--font-xs) !important;
  color: var(--text-muted);
  opacity: 0.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════ */

/* Services Hero */
.services-hero {
  position: relative;
  padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 80px) 0 80px;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 20%, rgba(0, 100, 83, 0.05) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

.services-hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.services-hero-content h1 {
  font-size: var(--font-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.services-hero-content .hero-sub {
  animation: fadeInUp 0.6s ease 0.2s both;
}

.services-hero-content .hero-actions {
  animation: fadeInUp 0.6s ease 0.3s both;
}

.services-hero-content .hero-badge {
  animation: fadeInUp 0.6s ease 0s both;
}

/* Two-Column Services Layout */
.services-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.services-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-col-header {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.services-col-header-farms {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.services-col-header-retail {
  background: linear-gradient(135deg, rgba(100, 149, 237, 0.12), rgba(65, 105, 225, 0.06));
  border: 1px solid rgba(100, 149, 237, 0.25);
}

.services-col-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

.services-col-header h3 {
  font-size: var(--font-2xl);
  font-weight: 800;
  margin-bottom: 4px;
}

.services-col-header p {
  color: var(--text-secondary);
  font-size: var(--font-base);
}

/* Service Cards */
.service-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
}

.service-card-content h4 {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card-content p {
  color: var(--text-secondary);
  font-size: var(--font-base);
  line-height: 1.6;
}

/* AI Service Cards */
.service-card-ai {
  flex-direction: column;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 255, 255, 0.02));
  position: relative;
}

.service-card-ai:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 30px rgba(255, 255, 255, 0.06);
}

.service-card-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-bottom: 4px;
}

.service-features {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-features li strong {
  color: var(--text-primary);
}

.feature-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

/* Inline pricing on service cards */
.service-pricing-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.service-price-setup {
  font-weight: 700;
  color: var(--text-primary);
  font-size: var(--font-base);
}

.service-price-divider {
  color: var(--text-muted);
  font-weight: 300;
}

.service-price-monthly {
  font-weight: 700;
  color: var(--accent);
  font-size: var(--font-base);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

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

.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), var(--bg-card));
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

.pricing-card-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.09), var(--shadow-lg);
}

.pricing-card-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-primary);
  padding: 4px 20px;
  border-radius: 100px;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-tier-label {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card-header h3 {
  font-size: var(--font-xl);
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-tagline {
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.pricing-card-price {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-setup {
  font-size: var(--font-base);
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.pricing-setup span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: var(--font-sm);
}

.pricing-monthly {
  font-size: var(--font-3xl);
  font-weight: 800;
  color: var(--accent);
}

.pricing-monthly span {
  font-size: var(--font-base);
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features li:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.testimonial-quote {
  font-size: var(--font-md);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: var(--font-base);
}

.testimonial-author span {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.open {
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-weight: 600;
  font-size: var(--font-md);
  user-select: none;
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: var(--font-base);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stagger animation for grid items */
.products-grid .product-card,
.farms-grid .farm-card {
  animation: fadeInUp 0.4s ease both;
}

.products-grid .product-card:nth-child(1) { animation-delay: 0s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(n+7) { animation-delay: 0.3s; }


/* ═══════════════════════════════════════════════════════
   MOBILE NAV OVERLAY
   ═══════════════════════════════════════════════════════ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (1024px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .form-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-bottom-row { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  /* On mobile the .nav inside <header> is hidden — we use the JS overlay instead */
  .nav {
    display: none !important;
  }

  /* Mobile nav cart link */
  .mobile-nav-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    margin-top: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-weight: 600;
    font-size: var(--font-lg);
    text-decoration: none;
  }

  .mobile-nav-cart:hover {
    color: var(--accent-hover);
  }

  .mobile-nav-cart .mobile-cart-count {
    background: var(--accent);
    color: var(--bg-primary);
    font-size: var(--font-xs);
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
  }

  .nav-link {
    padding: 16px;
    font-size: var(--font-lg);
    border-radius: var(--radius-sm);
  }

  .nav-link.active::after { display: none; }

  .mobile-menu-btn { display: flex; z-index: 1101; position: relative; }

  /* Big, clear, tap-friendly nav links in the full-screen overlay */
  .nav-link {
    width: 280px;
    max-width: 100%;
    padding: 16px 24px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    text-align: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .nav-link:hover, .nav-link:active {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
    color: var(--accent) !important;
  }
  .nav-link.active {
    color: var(--accent) !important;
    border-color: rgba(74, 144, 226, 0.4);
  }

  .logo-sub { display: none; }

  .hero {
    min-height: auto;
    padding: 0 0 32px;
  }

  /* hero-content already handles the fixed-header offset — avoid double-stacking */
  .hero-content {
    padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 24px);
    padding-bottom: 32px;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: var(--font-md); }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 1.8rem; }

  .steps-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .value-grid { grid-template-columns: 1fr; }
  .farms-grid { grid-template-columns: 1fr; }

  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-image { height: 250px; }

  .section { padding: 48px 0; }
  .section-header h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }

  .contact-info-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-columns { grid-template-columns: 1fr; }
  .services-hero { min-height: auto; padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 48px) 0 48px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .shop-filters { flex-direction: column; }
  .filter-group { min-width: unset; }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-item-controls { width: 100%; justify-content: space-between; }

  .page-header h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .pd-name { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  .scroll-top-btn { bottom: 20px; right: 20px; width: 44px; height: 44px; }

  .farm-stats-row { gap: 12px; }
  .farm-stat-card { padding: 12px 16px; min-width: 80px; }
  .farm-stat-card .stat-num { font-size: var(--font-2xl); }

  /* Touch-friendly controls */
  .qty-control button { width: 44px; height: 44px; }
  .qty-control input { height: 44px; width: 56px; }
  .cart-item-remove { padding: 10px; }

  .quick-add-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .recently-viewed-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  /* Market insights mobile */
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-bottom-row { grid-template-columns: 1fr; }
  .insight-value { font-size: var(--font-2xl); }

  /* Promo banner mobile */
  .promo-banner { padding: 8px 16px; gap: 8px; }
  .promo-banner-text { font-size: 0.78rem; }

  body.has-promo-banner .hero {
    padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 40px + 48px);
  }
  body.has-promo-banner .page-header {
    padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 40px + 48px);
  }
  body.has-promo-banner .services-hero {
    padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 40px + 48px);
  }
  body.has-promo-banner .farm-hero {
    padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 40px + 60px);
  }
  body.has-promo-banner .product-detail-section {
    padding-top: calc(var(--announce-bar-height, 40px) + var(--header-height) + 40px + 32px);
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (480px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .farm-pills { gap: 6px; }
  .farm-pill { font-size: var(--font-sm); padding: 6px 12px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-image { height: 140px; }
  .product-info { padding: 12px; }
  .product-name { font-size: var(--font-base); }
  .farm-stats-row { flex-wrap: wrap; }
  .insights-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .insight-card { padding: 16px 12px; }
  .insight-value { font-size: var(--font-xl); }
}


/* ═══════════════════════════════════════════════════════
   FARM HERO PHOTO & GALLERY
   ═══════════════════════════════════════════════════════ */

.farm-hero-has-photo {
  position: relative;
  overflow: hidden;
}

.farm-hero-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.8);
  z-index: 0;
}

.farm-hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: multiply;
}

.farm-hero-has-photo .container {
  position: relative;
  z-index: 2;
}

/* Farm detail grid with gallery */
.farm-detail-has-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.farm-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}

.farm-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.farm-gallery-main {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

.farm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.farm-gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .farm-detail-has-gallery {
    grid-template-columns: 1fr;
  }
  .farm-gallery {
    order: -1;
  }
}

/* ═══════════════════════════════════════════════════════
   4/20 PROMO SECTION
   ═══════════════════════════════════════════════════════ */

.promo-420 {
  position: relative;
  overflow: hidden;
  background: #050f07;
  border-top: 1px solid rgba(0, 200, 83, 0.15);
  border-bottom: 1px solid rgba(0, 200, 83, 0.15);
}

.promo-420-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 200, 83, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(180, 130, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.promo-420-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px;
}

.promo-420-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.promo-420-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.promo-420-num {
  display: block;
  font-size: clamp(4rem, 10vw, 7rem);
  background: linear-gradient(135deg, #00c853, #69f0ae, #ffd740);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.promo-420-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 28px;
}

.promo-420-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Countdown Card */
.countdown-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0, 200, 83, 0.25);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 60px rgba(0, 200, 83, 0.08), inset 0 1px 0 rgba(255,255,255,0.04);
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.countdown-timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.countdown-num {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #5efc82;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 2ch;
  text-shadow: 0 0 20px rgba(94, 252, 130, 0.4);
}

.countdown-unit-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(0, 200, 83, 0.4);
  line-height: 1;
  padding-top: 2px;
}

.countdown-note {
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}

/* New Products Strip */
.new-products-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .promo-420-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }
  .promo-420-title { font-size: 2.5rem; }
  .promo-420-num { font-size: 4rem; }
  .countdown-card { padding: 24px 16px; }
  .countdown-num { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE POLISH — All newer sections
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Announce bar — mobile: hide text, show countdown only ── */
  .announce-bar { padding: 0 40px 0 12px; }
  .announce-emoji { display: none; }
  .announce-text { display: none; }
  .announce-link { display: none; }
  .announce-inner { gap: 6px; flex-wrap: nowrap; }
  .announce-countdown { font-size: 0.75rem; padding: 2px 8px; }

  /* ── Header — hide login text, icon only ── */
  .btn-login span#loginText { display: none; }
  .btn-login { padding: 8px 10px; gap: 0; }
  .logo-sub { display: none; }

  /* ── Hero text ── */
  .hero-line-1 { font-size: clamp(2rem, 7vw, 3.5rem); }
  .hero-line-2 { font-size: clamp(2.8rem, 10vw, 5rem); }
  .hero-line-3 { font-size: clamp(2rem, 7.5vw, 3.8rem); }

  /* ── Hero stats bar — 2×2 grid on mobile ── */
  .hero-stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    justify-items: center;
  }
  .hero-stat-item {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hero-stat-item:nth-child(even) { border-right: none; }
  .hero-stat-item:nth-child(3),
  .hero-stat-item:nth-child(4) { border-bottom: none; }
  .hero-stat-divider { display: none; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.6rem; white-space: normal; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }

  /* ── Farm editorial panels ── */
  .farm-panel { min-height: auto; }
  .farm-panel-inner,
  .farm-panel-inner-flip {
    padding: 52px 20px 48px;
    justify-content: flex-start;
  }
  .farm-panel-content { max-width: 100%; }
  .farm-panel-name { font-size: clamp(2.4rem, 10vw, 4rem); }
  .farm-panel-logo-img { height: 44px; }
  .farm-panel-desc { font-size: 0.9rem; }
  .farm-panel-actions { flex-direction: column; gap: 10px; }
  .farm-panel-actions .btn { width: 100%; text-align: center; }
  .farm-panel-meta { gap: 12px 24px; }

  /* ── Product carousel ── */
  .carousel-track-wrap {
    /* Remove the full-bleed negative margin on mobile — causes horizontal overflow */
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .carousel-track { gap: 12px; padding: 0 0 16px; }
  .carousel-card { width: 180px; flex-shrink: 0; }
  .carousel-btn { width: 36px; height: 36px; font-size: 0.9rem; }

  /* ── New This Season strip ── */
  .new-products-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* ── 4/20 promo section ── */
  .promo-420-title { font-size: 2.2rem; }
  .promo-420-num  { font-size: 3.5rem; }
  .countdown-units { gap: 8px; }
  .countdown-card { padding: 16px 12px; min-width: 60px; }
  .countdown-num  { font-size: 1.8rem; }
  .countdown-label { font-size: 0.6rem; }

  /* ── Social proof ticker ── */
  .proof-ticker { padding: 12px 0; }
  .proof-item { font-size: 0.8rem; gap: 10px; }

  /* ── Service pricing grid ── */
  .service-pkg-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .service-pkg-grid-solo { max-width: 100%; }
  .service-pkg { padding: 20px 16px; }
  .service-pkg-mid { transform: none; border-top: 2px solid var(--accent); }
  .service-pkg-name { font-size: 0.85rem; }
  .service-pkg-price { font-size: 1.4rem; }

  /* ── Veteran discount banner ── */
  .vet-discount-banner { padding: 24px 0; }
  .vet-discount-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 0 20px;
  }
  .vet-discount-ribbon { font-size: 0.65rem; padding: 6px 14px; }
  .vet-discount-amount { font-size: 3.5rem; }
  .vet-discount-list { text-align: left; }

  /* ── Store finder ── */
  .store-finder-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 1fr;
    height: auto;
    min-height: unset;
  }
  .store-finder-sidebar {
    order: 2;
    max-height: 380px;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .store-map-wrap { order: 1; height: 300px; }
  #store-map { height: 100%; }
  .store-filter-bar { flex-wrap: wrap; gap: 6px; }
  .store-farm-btn { font-size: 0.72rem; padding: 5px 12px; }

  /* ── Product detail ── */
  .pd-hero { grid-template-columns: 1fr; }
  .pd-hero-left { min-height: 240px; }
  .pd-name { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .pd-size-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-actions { flex-direction: column; gap: 10px; }
  .pd-actions .btn { width: 100%; text-align: center; }

  /* ── Farm detail page ── */
  .farm-hero { padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 24px) 0 48px; }
  .farm-hero-logo { height: 60px; }
  .farm-hero h1 { font-size: clamp(2rem, 9vw, 3.5rem); }
  .farm-gallery { grid-template-columns: 1fr 1fr; }
  .farm-gallery-item:first-child { grid-column: span 2; }

  /* ── Section headers ── */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* ── Page header ── */
  .page-header { padding: calc(var(--announce-bar-height, 40px) + var(--header-height) + 32px) 0 32px; }
  .page-header h1 { font-size: clamp(1.8rem, 8vw, 3rem); }

  /* ── Footer ── */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-legal { gap: 12px; }
  .footer-newsletter-form { flex-direction: column; gap: 8px; }
  .footer-newsletter-form input,
  .footer-newsletter-form button { width: 100%; border-radius: var(--radius-sm) !important; }

  /* ── Auth / sign-in modal ── */
  .auth-modal-inner { padding: 32px 20px; margin: 16px; }
  .auth-modal-title { font-size: 1.4rem; }

  /* ── Cart sidebar (full-page on mobile) ── */
  .cart-overlay-panel { width: 100vw; right: -100vw; }
  .cart-overlay-panel.open { right: 0; }
}

/* ── 380px and below (small phones) ── */
@media (max-width: 380px) {
  .hero-line-2 { font-size: 2.4rem; }
  .hero-line-3 { font-size: 1.8rem; }
  .farm-panel-name { font-size: 2.2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .new-products-strip { grid-template-columns: 1fr; }
  .service-pkg-grid { grid-template-columns: 1fr !important; }
  .pd-size-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   SVG ICON UTILITIES
   ═══════════════════════════════════════════════════════ */

/* Generic inline icon sizing */
.hiw-icon svg,
.value-icon svg,
.service-card-icon svg,
.empty-icon svg {
  display: block;
}

/* How It Works icon circles */
.hiw-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* Value prop icons */
.value-icon {
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

/* Empty state icon */
.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Service feature list icons */
.feature-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.85;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.feature-icon-svg svg {
  display: block;
}

/* Service card icon */
.service-card-icon {
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* Cart delivery icon */
.cart-farm-delivery svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--text-secondary);
}

/* Recently Viewed inline icon */
.recently-viewed-heading svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* ═══════════════════════════════════════════════════════
   MEDIA KIT
   ═══════════════════════════════════════════════════════ */

.mk-section {
  margin-bottom: 64px;
}

.mk-section:last-child {
  margin-bottom: 0;
}

.mk-section-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mk-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mk-section-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.mk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.mk-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.mk-thumb {
  background: #1a1a1a;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.mk-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.mk-card-body {
  padding: 12px 12px 4px;
  flex: 1;
}

.mk-card-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.mk-card-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Logo groups */
.mk-logo-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mk-logo-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.mk-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mk-logo-row .mk-card {
  width: 160px;
  flex-shrink: 0;
}

/* Drive photo cards */
.mk-drive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.mk-drive-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.mk-drive-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.mk-drive-thumb {
  background: #1a1a1a;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.mk-drive-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mk-drive-body {
  padding: 14px 14px 8px;
  flex: 1;
}

.mk-drive-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mk-drive-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mk-drive-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.mk-drive-btn {
  font-size: 1rem;
  padding: 14px 28px;
}

.mk-drive-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.mk-drive-note a {
  color: var(--accent);
}

.mk-download-btn {
  display: block;
  margin: 10px 12px 12px;
  padding: 8px 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mk-download-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  .mk-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE NAV OVERLAY
   Rendered as direct child of <body> — no stacking context traps
   ═══════════════════════════════════════════════════════ */
#mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f0e0c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow-y: auto;
  padding: 24px;
}

#mobile-nav-overlay.mnav-show {
  opacity: 1;
  transform: scale(1);
}

.mnav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
}

.mnav-link {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mnav-link:hover,
.mnav-link:active {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.35);
  color: #7ab8f5;
}

/* ═══════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════ */
@media print {
  .header, .footer, .scroll-top-btn, .toast, .promo-banner { display: none; }
  body { background: white; color: black; }
  .section-dark { background: #f5f5f5; }
}
