/* =========================================================
   World That Grows — v2
   Warm botanical palette · DM Sans + Playfair Display
   ========================================================= */

:root {
  --ink: #1a2e21;
  --ink-soft: #2d4a36;
  --muted: #6b7f6e;
  --cream: #f0ede2;
  --paper: #faf9f4;
  --green: #1b5e3b;
  --green-light: #24744b;
  --green-pale: #e8f2eb;
  --lime: #c8e64e;
  --lime-soft: #e4f2a0;
  --orange: #e07a42;
  --line: #dddacc;
  --line-light: #eceadf;
  --shadow-sm: 0 1px 3px rgba(26,46,33,.06);
  --shadow-md: 0 4px 16px rgba(26,46,33,.08);
  --shadow-lg: 0 8px 32px rgba(26,46,33,.1);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 5px;
  --max-w: 1140px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--green); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--green-light); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 600; margin-bottom: .75rem; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { max-width: 68ch; }
::selection { background: var(--lime-soft); color: var(--ink); }

/* Layout */
.shell { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
section { margin-bottom: 3.5rem; }

/* ── TOPBAR ── */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  padding: .4rem 1rem;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.topbar span { color: var(--lime); }

/* ── HEADER ── */
header {
  background: rgba(250,249,244,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  padding: .85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand:hover { color: var(--green); }
.brandmark { display: flex; align-items: center; }
header nav { display: flex; gap: 1.75rem; align-items: center; }
header nav a {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
header nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width .2s var(--ease);
}
header nav a:hover { color: var(--green); }
header nav a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.zone-pill {
  background: var(--green-pale);
  border: 1px solid transparent;
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--green);
  transition: all .15s var(--ease);
}
.zone-pill:hover { background: var(--green); color: white; }
.zone-pill.active { background: var(--green); color: white; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.hamburger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .85rem;
  width: 100%;
  padding: 1.25rem 0 .5rem;
  border-top: 1px solid var(--line-light);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.mobile-menu a:hover { color: var(--green); }

@media (max-width: 768px) {
  header nav { display: none; }
  .hamburger { display: flex; }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  padding-top: 1.25rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* ── EYEBROW ── */
.eyebrow {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .4rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--green);
  color: white;
  padding: 3.5rem 3rem;
  border-radius: var(--radius);
  margin: 1.25rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(200,230,78,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(36,116,75,.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { color: white; margin-bottom: .75rem; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; line-height: 1.1; }
.hero em { font-style: italic; color: var(--lime); }
.hero-copy { opacity: .88; max-width: 480px; margin-bottom: 1.5rem; line-height: 1.7; font-size: .95rem; }
.searchbox {
  display: flex;
  gap: .5rem;
  max-width: 440px;
  margin-bottom: 1rem;
}
.searchbox input {
  flex: 1;
  padding: .8rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  background: white;
  color: var(--ink);
  transition: border-color .15s;
}
.searchbox input:focus { outline: none; border-color: var(--lime); }
.searchbox button, .zipline button {
  padding: .65rem 1.2rem;
  background: var(--lime);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .85rem;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s var(--ease), transform .1s;
}
.searchbox button:hover, .zipline button:hover { background: #b8d83e; }
.searchbox button:active, .zipline button:active { transform: scale(.97); }
.trending-searches { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; font-size: .82rem; opacity: .8; margin-bottom: .65rem; }
.trending-searches span { opacity: .65; font-size: .78rem; }
.trend-tag {
  background: rgba(255,255,255,.12);
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  color: white;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .15s;
}
.trend-tag:hover { background: rgba(255,255,255,.22); }
.zipline {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  opacity: .8;
}
.zipline input {
  width: 76px;
  padding: .35rem .55rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,.1);
  color: white;
  font-size: .82rem;
  font-family: var(--font-mono);
}
.zipline input::placeholder { color: rgba(255,255,255,.4); }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-photo { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,.2); }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1.5rem; }
  .hero-art { display: none; }
  .searchbox { margin-inline: auto; }
  .trending-searches { justify-content: center; }
  .zipline { justify-content: center; }
}

/* ── STATS BAR ── */
.stats-bar {
  border-bottom: 1px solid var(--line-light);
  padding: 1.75rem 0;
  margin-bottom: 2.5rem;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin-inline: auto;
}
.stat { text-align: center; }
.stat-num {
  font-size: 1.6rem;
  font-family: var(--font-display);
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); margin-top: .1rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem 1.6rem;
  background: var(--green);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .88rem;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: background .15s var(--ease), transform .1s;
}
.btn:hover { background: var(--green-light); color: white; }
.btn:active { transform: scale(.97); }
.btn-outline { background: transparent; border: 1.5px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: white; }

/* ── SECTION HEADS ── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.section-head a {
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .15s;
}
.section-head a:hover { border-color: var(--green); }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: box-shadow .2s var(--ease);
}
.step:hover { box-shadow: var(--shadow-md); }
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .85rem;
  font-family: var(--font-mono);
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--muted); margin-inline: auto; }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── SEASON / PLANT CARDS ── */
.season-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
}
.season-intro {
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  min-height: 200px;
}
.plant-grid, .related-grid, .plant-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.plant-card {
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.plant-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.plant-card .plant-img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--cream); }
.plant-card .plant-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.plant-card:hover .plant-img img { transform: scale(1.04); }
.plant-tag {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-soft);
}
.companion-tag {
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  color: var(--green);
}
.plant-card .plant-info { padding: 1rem; flex: 1; }
.plant-card h3 { font-size: .98rem; margin-bottom: .3rem; }
.plant-card .sci-name { font-size: .78rem; color: var(--muted); margin-bottom: .4rem; font-style: italic; }
.plant-card .plant-meta { font-size: .72rem; color: var(--muted); display: flex; gap: .65rem; flex-wrap: wrap; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .03em; }

@media (max-width: 768px) {
  .season-grid { grid-template-columns: 1fr 1fr; }
  .season-intro { min-height: auto; }
}
@media (max-width: 480px) {
  .season-grid { grid-template-columns: 1fr; }
}

/* ── CATEGORIES (home) ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
}
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.4rem 1rem;
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink);
  transition: box-shadow .2s var(--ease), transform .15s var(--ease);
}
.category:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category .emoji { font-size: 2.2rem; margin-bottom: .2rem; }
.category strong { font-size: .9rem; }
.category small { font-size: .7rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; }

/* ── ZONE BANNER ── */
.zone-banner {
  background: var(--green-pale);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2.5rem 0;
  border: 1px solid #c8dece;
}
.zone-banner h2 { color: var(--green); }
.zip {
  display: flex;
  max-width: 340px;
  margin: 1.25rem auto 0;
  gap: .5rem;
}
.zip input {
  flex: 1;
  padding: .7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color .15s;
}
.zip input:focus { outline: none; border-color: var(--green); }
.zip button {
  padding: .7rem 1.25rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background .15s var(--ease);
}
.zip button:hover { background: var(--green-light); }

/* ── LATEST / ARTICLES ── */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.article {
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  display: block;
  transition: box-shadow .2s var(--ease), transform .15s var(--ease);
}
.article:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-body { padding: 1rem; }
.article h3 { font-size: .98rem; margin-bottom: .35rem; }
.meta { font-size: .7rem; color: var(--muted); margin-bottom: .4rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }

/* ── TRUST ── */
.trust { text-align: center; padding: 2rem 1rem; }
.trust p { color: var(--muted); margin-bottom: 1rem; margin-inline: auto; font-size: .88rem; }
.trust-logos { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.trust-logo { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ════════════════════════════════════════════════
   PLANT PAGE
   ════════════════════════════════════════════════ */
.plant-page { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.plant-header { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; margin-bottom: 2.5rem; align-items: start; }
.plant-header-text .eyebrow { color: var(--green); }
.plant-header-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.plant-header-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.img-credit { display: block; font-size: .68rem; color: var(--muted); padding: .35rem .6rem; }
.plant-intro { font-size: 1.05rem; color: var(--muted); margin-top: .6rem; line-height: 1.75; }
.scientific-name { color: var(--muted); font-size: .95rem; font-style: italic; }
@media (max-width: 768px) {
  .plant-header { grid-template-columns: 1fr; }
  .plant-header-img { order: -1; }
}

/* Quick Facts */
.quick-facts { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.fact {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--green-pale);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
}
.fact-icon { font-size: 1rem; }
.fact-label { color: var(--muted); font-size: .72rem; font-family: var(--font-mono); }
.fact-value { font-weight: 600; color: var(--green); }

/* Growing guide */
.growing-guide { max-width: 700px; }
.growing-guide h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.growing-guide h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
.growing-guide p { margin-bottom: 1rem; color: var(--ink-soft); }
.growing-guide ul, .growing-guide ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--ink-soft); }
.growing-guide li { margin-bottom: .35rem; }

/* Calendar table */
.calendar-table-wrap { overflow-x: auto; margin-top: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-light); }
.calendar-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.calendar-table th { background: var(--cream); padding: .65rem .85rem; text-align: left; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-family: var(--font-mono); }
.calendar-table td { padding: .65rem .85rem; border-bottom: 1px solid var(--line-light); }
.calendar-table tr:last-child td { border-bottom: none; }
.calendar-table a { color: var(--green); font-weight: 500; }

/* Companions */
.companion-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; margin-top: .75rem; }
.companion-card { padding: .9rem; border-radius: var(--radius-sm); }
.companion-card.good { background: #eef6e5; border: 1px solid #c2dea5; }
.companion-card.bad { background: #fdf0e8; border: 1px solid #eeceae; }
.companion-card strong { display: block; margin-bottom: .25rem; font-size: .9rem; }
.companion-card p { font-size: .78rem; color: var(--muted); }

/* Nutrition */
.nutrition-grid { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1rem; }
.nutr {
  text-align: center;
  background: var(--green-pale);
  padding: .9rem 1.3rem;
  border-radius: var(--radius-sm);
  min-width: 80px;
}
.nutr strong { display: block; font-size: 1.2rem; color: var(--green); font-variant-numeric: tabular-nums; }
.nutr span { font-size: .72rem; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; }

/* Difficulty badge */
.difficulty-badge { display: inline-block; padding: .18rem .55rem; border-radius: 999px; font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.difficulty-easy { background: #e5f3dc; color: #1f6b1f; }
.difficulty-moderate { background: #fff2e0; color: #b06e00; }
.difficulty-hard { background: #fde8e8; color: #b03030; }

/* ════════════════════════════════════════════════
   ZONE PAGE
   ════════════════════════════════════════════════ */
.zone-page { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.zone-hero { margin-bottom: 2.5rem; }
.zone-hero .zone-subtitle { font-size: 1.05rem; color: var(--muted); }
.zone-stats-row { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.zone-stat {
  background: var(--green-pale);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 120px;
}
.zone-stat strong { display: block; font-size: 1.5rem; font-family: var(--font-display); color: var(--green); font-variant-numeric: tabular-nums; }
.zone-stat span { font-size: .75rem; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; }

/* Frost dates */
.frost-dates { margin-bottom: 2.5rem; }
.frost-grid { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.frost-card { flex: 1; min-width: 200px; padding: 1.5rem; border-radius: var(--radius); text-align: center; }
.frost-card.spring { background: #eef6e5; border: 1px solid #c2dea5; }
.frost-card.fall { background: #e8eff7; border: 1px solid #a5c2df; }
.frost-icon { font-size: 1.75rem; display: block; margin-bottom: .4rem; }
.frost-date { display: block; font-size: 1.2rem; font-weight: 700; color: var(--green); margin-top: .35rem; font-family: var(--font-display); }

/* Month strip */
.month-strip { display: flex; gap: .45rem; flex-wrap: wrap; }
.month-pill {
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  transition: all .15s var(--ease);
}
.month-pill:hover { background: var(--green); color: white; border-color: var(--green); }
.month-pill.current { background: var(--green); color: white; border-color: var(--green); }

/* Category nav chips */
.category-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.cat-chip {
  padding: .35rem .8rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--ink-soft);
  transition: all .15s var(--ease);
}
.cat-chip:hover { background: var(--green); color: white; border-color: var(--green); }
.cat-chip span { color: var(--muted); font-size: .72rem; }

/* Plant table */
.plant-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line-light); }
.plant-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.plant-table th { background: var(--cream); padding: .55rem .75rem; text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; font-family: var(--font-mono); }
.plant-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--line-light); }
.plant-table tr:last-child td { border-bottom: none; }
.plant-table tr:hover { background: var(--green-pale); }
.plant-link { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 500; }
.plant-link:hover { color: var(--green); }
.plant-thumb { border-radius: var(--radius-xs); object-fit: cover; }
.category-section { margin-bottom: 2.5rem; }
.category-section h3 { margin-bottom: .85rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-light); }
.count { color: var(--muted); font-weight: 400; font-size: .85rem; }

/* ════════════════════════════════════════════════
   CALENDAR PAGE
   ════════════════════════════════════════════════ */
.calendar-page { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .85rem; margin: 1.5rem 0 2.5rem; }
.calendar-month-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--line-light);
  background: white;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
  color: var(--ink);
}
.calendar-month-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.calendar-month-card.current { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.calendar-month-card.spring { border-left: 3px solid #4caf50; }
.calendar-month-card.summer { border-left: 3px solid var(--orange); }
.calendar-month-card.fall { border-left: 3px solid #a0713a; }
.calendar-month-card.winter { border-left: 3px solid #5a8bb5; }
.month-header { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.month-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.now-badge { background: var(--lime); color: var(--ink); font-size: .6rem; padding: .12rem .4rem; border-radius: 999px; font-weight: 700; font-family: var(--font-mono); }
.month-count strong { font-size: 1.6rem; font-family: var(--font-display); color: var(--green); display: block; font-variant-numeric: tabular-nums; }
.month-count span { font-size: .75rem; color: var(--muted); }
.month-season { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: .35rem; font-family: var(--font-mono); }

/* Calendar month page */
.calendar-month-page { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.month-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.month-nav h1 { text-align: center; }
.month-nav .zone-label { font-size: 1rem; color: var(--muted); font-weight: 400; }
.month-nav-link { color: var(--muted); font-size: .88rem; font-weight: 500; }
.month-nav-link:hover { color: var(--green); }
.month-summary { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.summary-stat {
  text-align: center;
  background: white;
  border: 1px solid var(--line-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  min-width: 110px;
}
.summary-stat strong { display: block; font-size: 1.5rem; color: var(--green); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.planting-section { margin-bottom: 2.5rem; }
.planting-section h2 { margin-bottom: .5rem; }
.planting-section > p { color: var(--muted); margin-bottom: 1rem; font-size: .9rem; }
.month-strip-nav { margin-top: 2.5rem; }

/* ════════════════════════════════════════════════
   CATEGORY PAGE
   ════════════════════════════════════════════════ */
.category-page { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.category-header { text-align: center; margin-bottom: 2rem; }
.category-icon { font-size: 3rem; display: block; margin-bottom: .5rem; }
.category-count { color: var(--muted); font-size: .9rem; }
.category-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.category-chips .trend-tag { background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-size: .8rem; text-decoration: none; }
.category-chips .trend-tag:hover { background: var(--green); color: white; border-color: var(--green); }
.sort-bar { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .82rem; }
.sort-bar > span { color: var(--muted); font-size: .78rem; }
.sort-link {
  color: var(--muted);
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .15s var(--ease);
}
.sort-link:hover { color: var(--green); border-color: var(--line); }
.sort-link.active { background: var(--green); color: white; border-color: var(--green); }

/* ════════════════════════════════════════════════
   ZONES INDEX
   ════════════════════════════════════════════════ */
.zones-index { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.zip-lookup-box {
  background: var(--green-pale);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2rem 0;
  border: 1px solid #c8dece;
}
.zip-form { display: flex; max-width: 340px; margin: 1rem auto 0; gap: .5rem; }
.zip-form input { flex: 1; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: .95rem; font-family: var(--font); transition: border-color .15s; }
.zip-form input:focus { outline: none; border-color: var(--green); }
.zip-form button { padding: .7rem 1.25rem; background: var(--green); color: white; border: none; border-radius: var(--radius-sm); font-weight: 600; font-family: var(--font); cursor: pointer; transition: background .15s; }
.zip-form button:hover { background: var(--green-light); }
.zip-result { margin-top: 1rem; font-size: 1.05rem; font-weight: 600; color: var(--green); }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem; }
.zone-card {
  background: white;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow .2s var(--ease), transform .15s var(--ease);
  color: var(--ink);
}
.zone-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.zone-number { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--green); }
.zone-name { font-size: .82rem; color: var(--muted); margin: .25rem 0; }
.zone-temp { font-size: .82rem; font-variant-numeric: tabular-nums; }
.zone-plant-count { font-size: .75rem; color: var(--muted); margin-top: .4rem; font-family: var(--font-mono); }

/* FAQ */
.zone-faq { max-width: 680px; margin-top: 2rem; }
.zone-faq details { margin-bottom: .65rem; border: 1px solid var(--line-light); border-radius: var(--radius-sm); background: white; }
.zone-faq summary { padding: .9rem 1rem; cursor: pointer; font-weight: 600; font-size: .92rem; }
.zone-faq summary:hover { color: var(--green); }
.zone-faq details[open] summary { border-bottom: 1px solid var(--line-light); }
.zone-faq details p { padding: .75rem 1rem 1rem; color: var(--muted); font-size: .9rem; }

/* Zone switcher */
.zone-switcher { margin-top: 2.5rem; }
.zone-pills { display: flex; flex-wrap: wrap; gap: .45rem; }

/* ── ERROR PAGE ── */
.error-page { text-align: center; padding: 5rem 1rem; }
.error-icon { font-size: 3.5rem; display: block; margin-bottom: 1.25rem; }
.error-page h1 { margin-bottom: .75rem; }
.error-page p { color: var(--muted); margin-inline: auto; margin-bottom: 1.5rem; }
.error-links { display: flex; gap: .75rem; justify-content: center; }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--cream);
  padding: 3rem 1.25rem;
  margin-top: 2rem;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
}
.newsletter h2 { font-size: 1.45rem; margin-bottom: .35rem; }
.newsletter p { color: var(--muted); font-size: .92rem; }
.subscribe { display: flex; gap: .5rem; }
.subscribe input {
  flex: 1;
  padding: .7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  background: white;
  transition: border-color .15s;
}
.subscribe input:focus { outline: none; border-color: var(--green); }
.subscribe button {
  padding: .7rem 1.25rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s var(--ease);
}
.subscribe button:hover { background: var(--green-light); }
@media (max-width: 768px) {
  .newsletter-inner { grid-template-columns: 1fr; text-align: center; }
  .subscribe { max-width: 400px; margin-inline: auto; }
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}
footer .shell { max-width: var(--max-w); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 { color: white; margin-bottom: .85rem; font-size: .92rem; }
.footer-about { font-size: .85rem; line-height: 1.7; opacity: .8; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: .84rem; margin-bottom: .45rem; transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-top: .5rem; }
.footer-links a { color: rgba(255,255,255,.4); font-size: .78rem; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink);
  color: white;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Print */
@media print {
  .topbar, header, footer, .newsletter, .toast, .hamburger, .mobile-menu { display: none !important; }
  body { font-size: 11pt; background: white; color: black; }
  .hero { background: #eee !important; color: black !important; }
  .hero h1 { color: black !important; }
  a { color: inherit; }
}
/* Listsidor (Discover Plants, kategorier, guider): mörk text på ljus bakgrund */
.category-page .category-header h1,
.category-page .category-header p,
.category-page .category-header .category-count { color: #1f3a2b; }
.category-page .category-header p { opacity: .8; }
.category-page .category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.category-page .category-chips .trend-tag { color: #244d37; background: #eef3e2; border: 1px solid #d6e2bd;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; }
.category-page .category-chips .trend-tag:hover { background: #dfe9c9; }
