/* ==========================================================================
   HASIRU — Design System
   Fresh + Green + Trustworthy + Local + Premium + Modern
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Baloo+2:wght@500;600;700&family=Noto+Sans+Kannada:wght@400;500;600;700;800&display=swap');

:root {
  /* Core palette — soil, leaf, harvest */
  --hs-green-900: #0f3d24;
  --hs-green-800: #14532d;
  --hs-green-700: #1b6b38;
  --hs-green-600: #2f8f4e;
  --hs-green-500: #4caf6b;
  --hs-green-400: #7fc99a;
  --hs-green-100: #e6f5ea;
  --hs-green-50:  #f3faf5;

  --hs-soil-800: #5a3a24;
  --hs-soil-600: #8a5a34;
  --hs-soil-100: #f2e6d8;

  --hs-sun-500: #f2a93b;
  --hs-sun-600: #e08e19;
  --hs-sun-100: #fdf1dc;

  --hs-cream: #fbf8f1;
  --hs-white: #ffffff;
  --hs-ink-900: #16241c;
  --hs-ink-700: #3c4a41;
  --hs-ink-500: #6b7b70;
  --hs-ink-300: #a9b8ae;
  --hs-line: #e2ece3;

  --hs-font-en: 'Poppins', 'Segoe UI', sans-serif;
  --hs-font-en-display: 'Baloo 2', 'Poppins', sans-serif;
  --hs-font-kn: 'Noto Sans Kannada', 'Poppins', sans-serif;

  --hs-radius-sm: 10px;
  --hs-radius-md: 16px;
  --hs-radius-lg: 24px;
  --hs-radius-pill: 999px;

  --hs-shadow-sm: 0 2px 8px rgba(20, 83, 45, 0.08);
  --hs-shadow-md: 0 8px 24px rgba(20, 83, 45, 0.12);
  --hs-shadow-lg: 0 16px 48px rgba(20, 83, 45, 0.16);

  --hs-container: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--hs-font-en);
  color: var(--hs-ink-900);
  background: var(--hs-cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.kn { font-family: var(--hs-font-kn); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--hs-container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1600px) {
  :root { --hs-container: 1480px; }
}

/* ---------- Utility ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hs-green-700);
  background: var(--hs-green-100);
  padding: 6px 16px;
  border-radius: var(--hs-radius-pill);
  margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 {
  font-family: var(--hs-font-en-display);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--hs-green-900);
  margin-bottom: 10px;
}
.section-head .kn-line {
  font-family: var(--hs-font-kn);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--hs-green-800);
  font-weight: 600;
  margin-bottom: 8px;
}
.section-head p { color: var(--hs-ink-500); font-size: 16px; }
.section-head.left { text-align: left; margin: 0 0 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--hs-radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--hs-green-700); color: #fff; box-shadow: var(--hs-shadow-sm); }
.btn-primary:hover { background: var(--hs-green-800); transform: translateY(-2px); box-shadow: var(--hs-shadow-md); }
.btn-sun { background: var(--hs-sun-500); color: var(--hs-green-900); box-shadow: var(--hs-shadow-sm); }
.btn-sun:hover { background: var(--hs-sun-600); transform: translateY(-2px); box-shadow: var(--hs-shadow-md); }
.btn-outline { background: transparent; color: var(--hs-green-800); border: 1.5px solid var(--hs-green-700); }
.btn-outline:hover { background: var(--hs-green-700); color: #fff; }
.btn-ghost-white { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(4px); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.28); }
.btn-heart { background: #e0554f; color: #fff; box-shadow: var(--hs-shadow-sm); }
.btn-heart:hover { background: #c8433d; transform: translateY(-2px); box-shadow: var(--hs-shadow-md); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.hs-topbar {
  background: var(--hs-green-900);
  color: var(--hs-green-100);
  font-size: 12.5px;
}
.hs-topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.hs-topbar-links { display: flex; gap: 18px; }
.hs-topbar-links a:hover { color: #fff; }
.lang-toggle { display: flex; gap: 4px; align-items: center; }
.lang-toggle button {
  color: var(--hs-green-100); font-size: 12.5px; padding: 2px 8px; border-radius: 6px;
}
.lang-toggle button.active { background: rgba(255,255,255,0.16); color: #fff; font-weight: 600; }

.hs-header {
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hs-line);
  position: sticky; top: 0; z-index: 100;
}
.hs-header .container { display: flex; align-items: center; gap: 32px; height: 76px; position: relative; }
.mobile-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--hs-green-100);
  color: var(--hs-green-800); font-size: 20px; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-scrim { display: none; }
.mobile-close {
  display: none; position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--hs-green-100); color: var(--hs-green-800); align-items: center; justify-content: center; font-size: 18px;
}
.hs-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hs-logo .mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--hs-green-600), var(--hs-green-800));
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; box-shadow: var(--hs-shadow-sm);
}
.hs-logo .word { font-family: var(--hs-font-en-display); font-weight: 700; font-size: 23px; color: var(--hs-green-900); letter-spacing: 0.01em; }
.hs-logo .word span { color: var(--hs-sun-600); }
.hs-logo .tagline { font-family: var(--hs-font-kn); font-size: 11px; color: var(--hs-ink-500); margin-top: -2px; }

.hs-nav { display: flex; align-items: center; gap: 26px; flex: 1; }
.hs-nav-search, .mobile-close { display: none; }
.hs-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--hs-ink-700);
  padding: 8px 2px; border-bottom: 2px solid transparent;
}
.hs-nav a:hover, .hs-nav a.active { color: var(--hs-green-800); border-color: var(--hs-green-600); }

.hs-search {
  flex: 1; max-width: 360px; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-pill);
  padding: 8px 8px 8px 16px; gap: 8px;
}
.hs-search input { border: none; outline: none; flex: 1; font-size: 14px; background: transparent; }
.hs-search button {
  width: 34px; height: 34px; border-radius: 50%; background: var(--hs-green-700); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hs-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--hs-green-800); font-size: 18px; position: relative; background: var(--hs-green-100);
  transition: background .15s ease;
}
.icon-btn:hover { background: var(--hs-green-400); color: #fff; }
.icon-btn .badge {
  position: absolute; top: -3px; right: -3px; background: var(--hs-sun-500); color: var(--hs-green-900);
  font-size: 10px; font-weight: 700; border-radius: 50%; width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--hs-cream);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(242,169,59,0.18), transparent 60%),
    linear-gradient(160deg, var(--hs-green-900) 0%, var(--hs-green-800) 45%, var(--hs-green-700) 100%);
  color: #fff;
  padding: 92px 0 110px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.05) 0, transparent 40%),
    radial-gradient(circle at 92% 75%, rgba(255,255,255,0.06) 0, transparent 45%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 16px; border-radius: var(--hs-radius-pill); margin-bottom: 22px;
}
.hero h1.kn-line {
  font-family: var(--hs-font-kn); font-weight: 700; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25; margin-bottom: 6px; color: #fff;
}
.hero .hero-sub-kn {
  font-family: var(--hs-font-kn); font-size: clamp(16px, 1.9vw, 20px); font-weight: 500;
  color: var(--hs-green-100); margin-bottom: 22px;
}
.hero p.desc { font-size: 16.5px; color: rgba(255,255,255,0.85); max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 24px; font-family: var(--hs-font-en-display); color: var(--hs-sun-500); }
.hero-stats div span { font-size: 12.5px; color: rgba(255,255,255,0.7); }

.hero-visual { position: relative; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-collage img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--hs-radius-lg);
  box-shadow: var(--hs-shadow-lg);
}
.hero-collage .tall { grid-row: span 2; height: 100%; }
.hero-collage .short { height: 168px; }
.hero-float-card {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--hs-ink-900);
  border-radius: var(--hs-radius-md); padding: 14px 18px; box-shadow: var(--hs-shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 230px;
}
.hero-float-card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--hs-sun-100); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hero-float-card strong { font-size: 13.5px; display: block; }
.hero-float-card span { font-size: 12px; color: var(--hs-ink-500); }

/* ---------- Marquee strip ---------- */
.trust-strip { background: var(--hs-green-100); padding: 14px 0; border-bottom: 1px solid var(--hs-line); }
.trust-strip .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--hs-green-800); font-weight: 500; }

/* ---------- Category cards ---------- */
.cat-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.cat-tab {
  padding: 10px 22px; border-radius: var(--hs-radius-pill); font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--hs-line); color: var(--hs-ink-700); background: #fff;
}
.cat-tab.active { background: var(--hs-green-700); color: #fff; border-color: var(--hs-green-700); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border-radius: var(--hs-radius-md); overflow: hidden; border: 1px solid var(--hs-line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--hs-shadow-md); }
.cat-card .thumb { height: 140px; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cat-card:hover .thumb img { transform: scale(1.07); }
.cat-card .body { padding: 16px; }
.cat-card .body .icon { font-size: 22px; margin-bottom: 6px; }
.cat-card .body h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; color: var(--hs-ink-900); }
.cat-card .body p { font-size: 12.5px; color: var(--hs-ink-500); }
.cat-card .body .count { font-size: 12px; color: var(--hs-green-700); font-weight: 600; margin-top: 6px; }

/* ---------- Locate section ---------- */
.locate {
  background: linear-gradient(180deg, var(--hs-green-50), #fff);
  border-top: 1px solid var(--hs-line);
  border-bottom: 1px solid var(--hs-line);
}
.locate-panel {
  background: #fff; border-radius: var(--hs-radius-lg); box-shadow: var(--hs-shadow-md);
  padding: 36px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 16px; align-items: end;
  border: 1px solid var(--hs-line);
}
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--hs-ink-700); margin-bottom: 7px; }
.field select {
  width: 100%; padding: 12px 14px; border-radius: var(--hs-radius-sm); border: 1.5px solid var(--hs-line);
  font-size: 14px; color: var(--hs-ink-900); background: var(--hs-cream);
}
.locate-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.locate-result-card {
  background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-md); padding: 18px;
  display: flex; gap: 14px; align-items: center;
}
.locate-result-card img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.locate-result-card h5 { font-size: 14.5px; margin-bottom: 3px; }
.locate-result-card span { font-size: 12px; color: var(--hs-ink-500); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--hs-radius-pill); margin-top: 6px;
}
.badge-farmer { background: var(--hs-sun-100); color: var(--hs-soil-600); }
.badge-nursery { background: var(--hs-green-100); color: var(--hs-green-700); }

/* ---------- Profile cards (nursery/farmer) ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.profile-card {
  background: #fff; border-radius: var(--hs-radius-lg); overflow: hidden; border: 1px solid var(--hs-line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--hs-shadow-lg); }
.profile-card .cover { height: 120px; position: relative; overflow: hidden; }
.profile-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-card .avatar {
  width: 66px; height: 66px; border-radius: 50%; border: 4px solid #fff; object-fit: cover;
  position: absolute; left: 18px; bottom: -33px; box-shadow: var(--hs-shadow-sm);
}
.profile-card .body { padding: 42px 18px 18px; }
.profile-card h4 { font-size: 16px; margin-bottom: 2px; }
.profile-card .loc { font-size: 12.5px; color: var(--hs-ink-500); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.profile-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.profile-card .tag { background: var(--hs-green-100); color: var(--hs-green-800); font-size: 11px; padding: 4px 10px; border-radius: var(--hs-radius-pill); }
.profile-card .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--hs-ink-500); margin-bottom: 14px; }
.rating { color: var(--hs-sun-600); font-weight: 700; display: flex; align-items: center; gap: 4px; }

/* ---------- Product cards ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-chip {
  padding: 9px 18px; border-radius: var(--hs-radius-pill); font-size: 13.5px; font-weight: 600;
  border: 1.5px solid var(--hs-line); background: #fff; color: var(--hs-ink-700); display: flex; align-items: center; gap: 6px;
}
.filter-chip.active { background: var(--hs-green-800); border-color: var(--hs-green-800); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border-radius: var(--hs-radius-md); border: 1px solid var(--hs-line); overflow: hidden;
  position: relative; transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--hs-shadow-lg); }
.product-card .media { position: relative; height: 190px; overflow: hidden; background: var(--hs-green-50); }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .media img { transform: scale(1.08); }
.product-card .fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--hs-ink-500); box-shadow: var(--hs-shadow-sm);
}
.product-card .fav:hover, .product-card .fav.active { color: #e0554f; }
.product-card .seller-badge {
  position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--hs-radius-pill); display: flex; align-items: center; gap: 4px;
  box-shadow: var(--hs-shadow-sm);
}
.product-card .quickview {
  position: absolute; left: 0; right: 0; bottom: 0; background: rgba(20,83,45,0.92); color: #fff;
  text-align: center; font-size: 12.5px; font-weight: 600; padding: 9px 0;
  transform: translateY(100%); transition: transform .2s ease;
}
.product-card:hover .quickview { transform: translateY(0); }
.product-card .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat-label { font-size: 11px; color: var(--hs-green-700); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.product-card h4 { font-size: 15.5px; font-weight: 600; color: var(--hs-ink-900); }
.product-card .kn-name { font-family: var(--hs-font-kn); font-size: 13px; color: var(--hs-ink-500); margin-top: -4px; }
.product-card .seller-line { font-size: 12px; color: var(--hs-ink-500); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.product-card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.product-card .price { font-size: 18px; font-weight: 700; color: var(--hs-green-800); }
.product-card .price small { font-size: 11.5px; font-weight: 500; color: var(--hs-ink-500); }
.product-card .rating-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--hs-ink-500); }
.product-card .stock { color: var(--hs-green-700); font-weight: 600; }
.product-card .add-cart-btn {
  margin-top: 8px; width: 100%; padding: 10px; border-radius: var(--hs-radius-sm); background: var(--hs-green-700);
  color: #fff; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s ease;
}
.product-card .add-cart-btn:hover { background: var(--hs-green-800); }

/* ---------- How it works ---------- */
.how-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.how-tab {
  padding: 11px 24px; border-radius: var(--hs-radius-pill); font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--hs-line); background: #fff;
}
.how-tab.active { background: var(--hs-sun-500); border-color: var(--hs-sun-500); color: var(--hs-green-900); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-step { text-align: center; position: relative; padding: 0 12px; }
.how-step .num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--hs-green-100); color: var(--hs-green-800);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
  margin: 0 auto 16px; border: 2px dashed var(--hs-green-400);
}
.how-step h5 { font-size: 15.5px; margin-bottom: 6px; }
.how-step p { font-size: 13px; color: var(--hs-ink-500); }

/* ---------- CTA join ---------- */
.join-cta {
  background: linear-gradient(120deg, var(--hs-soil-800), var(--hs-green-900));
  border-radius: var(--hs-radius-lg); padding: 56px; color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.join-cta::after {
  content: "🌿"; position: absolute; font-size: 220px; right: -30px; bottom: -60px; opacity: 0.08; transform: rotate(-12deg);
}
.join-cta h3 { font-family: var(--hs-font-en-display); font-size: 28px; margin-bottom: 10px; }
.join-cta .kn-line { font-family: var(--hs-font-kn); font-size: 18px; color: var(--hs-sun-500); margin-bottom: 14px; font-weight: 600; }
.join-cta p { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.join-cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-md); padding: 24px; }
.testi-card .stars { color: var(--hs-sun-500); font-size: 14px; margin-bottom: 12px; }
.testi-card p { font-size: 14px; color: var(--hs-ink-700); margin-bottom: 16px; }
.testi-who { display: flex; align-items: center; gap: 10px; }
.testi-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testi-who strong { font-size: 13.5px; display: block; }
.testi-who span { font-size: 12px; color: var(--hs-ink-500); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--hs-green-100); border-radius: var(--hs-radius-lg); padding: 44px; text-align: center; }
.newsletter h3 { font-family: var(--hs-font-en-display); font-size: 24px; color: var(--hs-green-900); margin-bottom: 8px; }
.newsletter p { color: var(--hs-ink-500); margin-bottom: 22px; }
.newsletter form { display: flex; max-width: 440px; margin: 0 auto; gap: 10px; }
.newsletter input {
  flex: 1; padding: 13px 18px; border-radius: var(--hs-radius-pill); border: 1.5px solid var(--hs-line); font-size: 14px;
}

/* ---------- Footer ---------- */
.hs-footer { background: var(--hs-green-900); color: var(--hs-green-100); padding: 64px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 44px; }
.footer-grid h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 13.5px; color: var(--hs-green-100); opacity: 0.85; }
.footer-grid ul a:hover { opacity: 1; text-decoration: underline; }
.footer-about p { font-size: 13.5px; opacity: 0.8; margin: 14px 0 18px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-social a:hover { background: var(--hs-sun-500); color: var(--hs-green-900); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; display: flex; justify-content: space-between;
  font-size: 12.5px; opacity: 0.75; flex-wrap: wrap; gap: 10px;
}

/* ---------- Breadcrumb / page header ---------- */
.page-banner {
  background: linear-gradient(160deg, var(--hs-green-800), var(--hs-green-700));
  color: #fff; padding: 46px 0; text-align: center;
}
.page-banner h1 { font-family: var(--hs-font-en-display); font-size: 32px; margin-bottom: 6px; }
.page-banner .kn-line { font-family: var(--hs-font-kn); font-size: 17px; color: var(--hs-green-100); margin-bottom: 10px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sidebar filters (listing page) ---------- */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.filter-panel { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-md); padding: 22px; align-self: start; position: sticky; top: 92px; }
.filter-panel h5 { font-size: 14px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--hs-line); }
.filter-group { margin-bottom: 22px; }
.filter-group h6 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--hs-ink-500); margin-bottom: 10px; }
.filter-opt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--hs-ink-700); margin-bottom: 9px; }
.filter-opt input { accent-color: var(--hs-green-700); }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.listing-toolbar select { padding: 9px 14px; border-radius: var(--hs-radius-sm); border: 1.5px solid var(--hs-line); font-size: 13.5px; }

/* ---------- Product Detail Page ---------- */
.pd-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; }
.pd-gallery-main { border-radius: var(--hs-radius-lg); overflow: hidden; height: 420px; margin-bottom: 14px; box-shadow: var(--hs-shadow-md); }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; }
.pd-thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.active { border-color: var(--hs-green-600); }
.pd-info h1 { font-family: var(--hs-font-en-display); font-size: 28px; margin-bottom: 4px; }
.pd-info .kn-name { font-family: var(--hs-font-kn); font-size: 17px; color: var(--hs-ink-500); margin-bottom: 14px; }
.pd-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--hs-green-800); margin-bottom: 4px; }
.pd-price small { font-size: 14px; color: var(--hs-ink-500); font-weight: 500; }
.pd-seller-card {
  display: flex; align-items: center; gap: 12px; background: var(--hs-green-50); border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius-md); padding: 14px 16px; margin: 18px 0;
}
.pd-seller-card img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.pd-seller-card .info { flex: 1; }
.pd-seller-card strong { font-size: 14.5px; display: block; }
.pd-seller-card span { font-size: 12.5px; color: var(--hs-ink-500); }
.pd-qty { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--hs-line); border-radius: var(--hs-radius-pill); overflow: hidden; }
.qty-stepper button { width: 38px; height: 38px; font-size: 16px; color: var(--hs-green-700); }
.qty-stepper span { width: 40px; text-align: center; font-weight: 600; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 26px; }
.pd-tabs { display: flex; gap: 26px; border-bottom: 1.5px solid var(--hs-line); margin-bottom: 20px; }
.pd-tabs button { padding: 12px 2px; font-weight: 600; font-size: 14.5px; color: var(--hs-ink-500); border-bottom: 2px solid transparent; }
.pd-tabs button.active { color: var(--hs-green-800); border-color: var(--hs-green-700); }
.pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 13.5px; }
.pd-specs div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--hs-line); }
.pd-specs div b { color: var(--hs-ink-500); font-weight: 500; }

/* ---------- Nursery/Farmer profile page ---------- */
.profile-hero { position: relative; }
.profile-hero .cover-img { height: 260px; overflow: hidden; }
.profile-hero .cover-img img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-info {
  background: #fff; margin-top: -70px; position: relative; border-radius: var(--hs-radius-lg);
  box-shadow: var(--hs-shadow-md); padding: 26px 32px; display: flex; gap: 22px; align-items: center;
  border: 1px solid var(--hs-line);
}
.profile-hero-info img.avatar-lg { width: 100px; height: 100px; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--hs-shadow-sm); object-fit: cover; margin-top: -50px; }
.profile-hero-info .grow { flex: 1; }
.profile-hero-info h1 { font-family: var(--hs-font-en-display); font-size: 24px; }
.profile-hero-info .loc { color: var(--hs-ink-500); font-size: 13.5px; margin-top: 4px; }
.stat-strip { display: flex; gap: 30px; margin-top: 14px; }
.stat-strip div strong { display: block; font-size: 18px; color: var(--hs-green-800); }
.stat-strip div span { font-size: 12px; color: var(--hs-ink-500); }

/* ---------- Misc ---------- */
.mb-0 { margin-bottom: 0 !important; }
.bg-white-section { background: #fff; }
.divider-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .hs-search { max-width: 240px; }
  .hs-nav { gap: 16px; }
}

@media (max-width: 900px) {
  .hs-nav { display: none; }
  .hs-search { display: none; }
  .mobile-toggle { display: flex; }
  .hs-header .container { gap: 14px; height: 68px; }

  .hs-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 320px);
    background: var(--hs-cream); z-index: 200; padding: 90px 24px 24px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.18);
    animation: hs-slide-in .22s ease-out;
    overflow-y: auto;
  }
  .hs-nav.open a {
    padding: 15px 4px; font-size: 16px; border-bottom: 1px solid var(--hs-line); border-radius: 0;
  }
  .hs-nav.open a.active { color: var(--hs-green-800); }
  .hs-nav.open .hs-nav-search {
    display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--hs-line);
    border-radius: var(--hs-radius-pill); padding: 8px 8px 8px 16px; margin-bottom: 20px;
  }
  .hs-nav.open .hs-nav-search input { border: none; outline: none; flex: 1; font-size: 14px; background: transparent; }
  .hs-nav.open .hs-nav-search button {
    width: 32px; height: 32px; border-radius: 50%; background: var(--hs-green-700); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .nav-scrim.open {
    display: block; position: fixed; inset: 0; background: rgba(15, 61, 36, 0.45); z-index: 150;
    animation: hs-fade-in .2s ease-out;
  }
  .mobile-close { display: flex !important; }

  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero p.desc { margin-left: auto; margin-right: auto; }

  .locate-panel { grid-template-columns: 1fr; }
  .locate-results, .how-steps, .testi-grid { grid-template-columns: 1fr; }
  .join-cta { grid-template-columns: 1fr; text-align: center; }
  .join-cta-actions { align-items: center; }
  .join-cta { padding: 36px 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-about { grid-column: 1 / -1; }

  .section { padding: 52px 0; }
  .pd-info h1 { font-size: 24px; }
}

@keyframes hs-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes hs-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  .hs-topbar .hs-topbar-links { display: none; }
  .hs-topbar .container { justify-content: center; height: 30px; }

  .hs-logo .word { font-size: 19px; }
  .hs-logo .mark { width: 36px; height: 36px; font-size: 18px; }
  .hs-logo .tagline { font-size: 10px; }
  .hs-header-actions { gap: 8px; }
  .hs-header-actions .btn-sm { padding: 9px 14px; font-size: 13px; }
  .icon-btn { width: 36px; height: 36px; font-size: 16px; }

  .section-head h2 { font-size: 24px; }
  .hero-stats { gap: 20px 26px; }
  .hero-stats div strong { font-size: 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .cat-tabs, .filter-bar, .how-tabs { gap: 8px; }
  .cat-tab, .filter-chip, .how-tab { padding: 8px 14px; font-size: 12.5px; }

  .product-card .media { height: 130px; }
  .product-card .body { padding: 12px; gap: 4px; }
  .product-card h4 { font-size: 13.5px; }
  .product-card .price { font-size: 15.5px; }

  .profile-card .cover { height: 96px; }
  .profile-card .avatar { width: 54px; height: 54px; left: 14px; bottom: -27px; }
  .profile-card .body { padding: 36px 14px 14px; }

  .newsletter { padding: 30px 20px; }
  .newsletter form { flex-direction: column; }

  .pd-gallery-main { height: 280px; }
  .pd-thumbs img { width: 60px; height: 60px; }
  .pd-actions { flex-direction: column; }
  .pd-specs { grid-template-columns: 1fr; }

  .profile-hero .cover-img { height: 150px; }
  .profile-hero-info { flex-direction: column; align-items: flex-start; padding: 20px; margin-top: -50px; }
  .profile-hero-info img.avatar-lg { width: 80px; height: 80px; margin-top: -46px; }
  .stat-strip { flex-wrap: wrap; gap: 16px 22px; }

  .listing-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .listing-toolbar select { width: 100%; }
}
