/* Hero */
.hero {
  text-align: center;
  padding: 56px 24px 48px;
  background: linear-gradient(135deg, #0a7a38 0%, #14a356 55%, #1bc467 100%);
  border-radius: var(--bevel-radius);
  border: 2px solid rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -30%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.hero h1 {
  font-size: 3.2rem;
  margin: 8px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  letter-spacing: 1px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.hero .tagline {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0 auto 32px;
  max-width: 560px;
  font-style: italic;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: white;
  color: #0a7a38;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #0a7a38;
}
.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, background 0.2s;
}
.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.15);
  color: white;
}

/* Stats */
.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 20px 8px;
}
.stat-item { text-align: center; padding: 8px 20px; }
.stat-number { font-size: 2rem; font-weight: 800; display: block; }
.stat-label { font-size: 0.85rem; opacity: 0.85; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.3); }

/* Nav cards */
.nav-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 24px;
}
.nav-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  color: white;
  display: block;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  color: white;
}
.nav-card .icon { display: flex; justify-content: center; margin-bottom: 10px; }
.nav-card .icon svg { width: 30px; height: 30px; stroke: rgba(255,255,255,0.88); stroke-width: 1.5; fill: none; }
.nav-card .nav-title { font-size: 1.05rem; font-weight: bold; display: block; }
.nav-card .nav-desc { font-size: 0.78rem; opacity: 0.8; display: block; margin-top: 4px; }

/* Product carousel */
.carousel-outer {
  position: relative;
  margin: 0 24px;
}
.carousel-wrapper { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.product-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 20px 14px;
  flex: 0 0 calc(33.333% - 11px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-sizing: border-box;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
a.product-card { text-decoration: none; color: inherit; }
.product-card img {
  width: 120px !important;
  max-width: 120px !important;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
}
.product-card h3 { text-align: center; font-size: 1rem; margin: 0; }
.product-card p  { text-align: center; font-size: 0.85rem; opacity: 0.9; margin: 0; }
.product-badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: bold;
}
.product-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.star-rating { color: #ffd700; }
.producer-name { font-size: 0.78rem; opacity: 0.8; }

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
  margin: 0;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.carousel-arrow svg  { width: 18px; height: 18px; stroke: white; stroke-width: 2.5; fill: none; }
.carousel-arrow.prev { left: -28px; }
.carousel-arrow.next { right: -28px; }

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  margin-left: 0;
  margin-right: 0;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: white; transform: scale(1.35); }

/* Map */
.map-section { margin: 28px 24px 0; }
.map-section h3 { text-align: center; margin-bottom: 14px; }
#producer-map {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.3);
}

/* Section headings */
.section-subtext {
  text-align: center;
  opacity: 0.85;
  margin: -8px 0 20px;
  font-style: italic;
}

/* Why section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.feature-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.feature-item .icon { display: flex; justify-content: center; margin-bottom: 12px; }
.feature-item .icon svg { width: 32px; height: 32px; stroke: rgba(255,255,255,0.88); stroke-width: 1.5; fill: none; }
.feature-item h3 { margin: 0 0 8px; font-size: 1rem; }

/* Lucide in product badges and map heading */
.product-badge svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; vertical-align: middle; margin-right: 3px; }
.map-section h3 svg { width: 18px; height: 18px; stroke: white; stroke-width: 1.75; fill: none; vertical-align: middle; margin-right: 6px; }
.hero-badge svg { width: 14px; height: 14px; stroke: white; stroke-width: 2; fill: none; vertical-align: middle; margin-right: 5px; }
.feature-item p { font-size: 0.85rem; opacity: 0.85; margin: 0; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 20px;
}
.testimonial-card .stars { color: #ffd700; margin-bottom: 8px; }
.testimonial-card .quote { font-style: italic; font-size: 0.95rem; margin: 0 0 12px; }
.testimonial-card .author { font-weight: bold; font-size: 0.82rem; opacity: 0.85; }

/* Search section */
.search-section { text-align: center; }
.search-section h1 { margin-bottom: 6px; }
.search-subtext { opacity: 0.8; font-style: italic; font-size: 0.95rem; margin: 0 0 24px; }

.search-form {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 8px;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.search-form:focus-within {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.17);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.07);
}
.search-icon-wrap {
  display: flex;
  align-items: center;
  opacity: 0.55;
  flex-shrink: 0;
}
.search-icon-wrap svg { width: 18px; height: 18px; stroke: white; stroke-width: 2; fill: none; }
#product-search {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: white !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 0 !important;
  text-align: left !important;
  outline: none !important;
  min-width: 0 !important;
}
.search-go-btn {
  background: white;
  color: #0a7a38;
  border: none;
  border-radius: 40px;
  padding: 10px 26px;
  font-size: 0.9rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.search-go-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* Featured products — dynamic states */
.featured-loading,
.featured-empty {
  padding: 60px 24px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.95rem;
  width: 100%;
}
.product-card-no-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-no-img svg { width: 32px; height: 32px; stroke: rgba(255,255,255,0.2); }
.new-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(96,165,250,0.18);
  color: #60a5fa;
  border-radius: 20px;
  padding: 2px 8px;
  letter-spacing: 0.4px;
}
.review-count {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
}

@media (max-width: 768px) {
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .nav-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .product-container { flex-direction: column; }
  .hero h1 { font-size: 2.2rem; }
  .stat-divider { display: none; }
}
