/* ============================================================
   PlantMapper — Ecosystem Tab Components
   Reusable building blocks for garden "ecosystem" pages
   (Cottage Garden first, then Mediterranean, Tropical, Wildlife,
   Shade, Pollinator, Clay Soil, Front Garden, Low Maintenance).

   Pair with plantmapper.css. Sections use a calm cream/sage/rose
   palette, rounded cards, generous spacing — premium & Pinterest-
   friendly, never cluttered.
   ============================================================ */

/* ---- page rhythm ---- */
.eco-main { padding-bottom: 40px; }

.section { margin: 46px 0; scroll-margin-top: 80px; }
.section-narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: var(--rose-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head { margin-bottom: 24px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  color: var(--ink);
}
.section-head p {
  margin: 0;
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 28px;
}

/* ===================== Hero ================================== */
.eco-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(680px 380px at 88% -8%, var(--rose-soft) 0%, transparent 62%),
    radial-gradient(720px 420px at 4% 110%, var(--green-soft) 0%, transparent 60%),
    linear-gradient(180deg, #fbf8ef 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.eco-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 44px 0 50px;
}
.eco-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 14px 0 14px;
  color: var(--ink);
}
.eco-hero-lead {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* soft floral line accent */
.floral-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rose);
  margin: 4px 0 8px;
}
.floral-rule::before, .floral-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.floral-rule svg { flex: none; }

/* placeholder image area */
.img-ph {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.5) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--green-soft), var(--rose-soft));
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  text-align: center;
  min-height: 240px;
  overflow: hidden;
}
.img-ph span {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.78);
  padding: 6px 12px;
  border-radius: 999px;
}
.img-ph-tall { min-height: 320px; }
.img-ph-wide { min-height: 180px; }

.hero-art { min-height: 320px; }
.hero-art svg { position: absolute; }

/* real photograph in the hero slot */
.hero-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: linear-gradient(160deg, var(--green-soft), var(--rose-soft));
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 470px;
  object-fit: cover;
}
.hero-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(to top, rgba(31,42,35,0.66), rgba(31,42,35,0));
  padding: 26px 14px 9px;
  text-align: right;
}
@media (max-width: 860px) {
  .hero-photo img { min-height: 260px; max-height: 330px; }
}

/* small disclaimer */
.disclaimer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.disclaimer svg { flex: none; margin-top: 1px; }

/* ===================== What-is intro ========================= */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-1);
}
.feature .ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  display: grid; place-items: center;
}
.feature h3 { margin: 0 0 3px; font-size: 0.98rem; }
.feature p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* comparison cards */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.compare-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease;
}
.compare-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.compare-card.is-feature { border-color: var(--rose); background: linear-gradient(180deg, var(--rose-soft), var(--bg-elev) 70%); }
.compare-emoji {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  display: grid; place-items: center;
  margin-bottom: 10px;
}
.compare-card.is-feature .compare-emoji { background: #fff; }
.compare-card h3 { margin: 0 0 6px; font-size: 1.04rem; font-family: var(--font-serif); }
.compare-card p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.compare-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* ===================== Design formula ======================== */
.formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.formula-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .25s ease;
}
.formula-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.formula-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose-deep);
  letter-spacing: 0.08em;
}
.formula-ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--green-soft), var(--rose-soft));
  display: grid; place-items: center;
  margin: 8px 0 10px;
}
.formula-card h3 { margin: 0 0 5px; font-size: 1rem; }
.formula-card p { margin: 0; font-size: 0.87rem; color: var(--ink-soft); }

/* ===================== Calculators / tools =================== */
.tool-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 26px;
}
.tool-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.tool-badge {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--green), var(--green-deep));
  display: grid; place-items: center;
}
.tool-card-head h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 2px 0 4px;
}
.tool-card-head p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label,
.calc-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-field input[type="number"],
.calc-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
}
.calc-field select {
  padding-right: 36px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23556356' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.calc-field input:focus-visible,
.calc-field select:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(94,138,90,0.18);
}
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* option-button group (soil, sunlight, months) */
.opt-group { display: flex; flex-direction: column; gap: 8px; }
.opt-group > span.calc-label { margin-bottom: 2px; }
.opt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.opt {
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 15px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .14s ease;
}
.opt:hover { border-color: var(--green); color: var(--green-deep); }
.opt[aria-pressed="true"],
.opt.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* result panel */
.calc-result {
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--green-soft), #fbf8ef 90%);
  padding: 20px;
}
.calc-result[hidden] { display: none; }
.result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 6px;
}
.result-stat {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.result-stat .n {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1;
}
.result-stat .l {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.result-block { margin-top: 14px; }
.result-block h4 {
  margin: 0 0 8px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.result-block p { margin: 0 0 8px; color: var(--ink-soft); font-size: 0.92rem; }

.plant-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  color: var(--ink);
}
.pill-tier {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 3px 9px;
  margin-right: 6px;
}
.pill-tier.tier-mid  { background: var(--earth); }
.pill-tier.tier-front{ background: var(--rose); }

.calc-hint {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===================== Affiliate blocks ====================== */
.affiliate {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-cream);
  padding: 18px 20px;
}
.affiliate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.affiliate-head h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.paid-link-note {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--line-strong);
}
.product-thumb {
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--green-soft), var(--rose-soft));
  display: grid; place-items: center;
  margin-bottom: 9px;
}
.product-card .pname { font-size: 0.9rem; font-weight: 600; }
.product-card .pmeta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.product-card .pcta {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
}

/* affiliate kit cards (section 12) */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.kit-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
}
.kit-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.kit-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.kit-card ul li { margin-bottom: 3px; }
.kit-card .btn { margin-top: auto; }

/* ===================== AdSense placeholder =================== */
.ad-slot {
  margin: 30px 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
  min-height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
}
.ad-slot span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ad-slot small { display: block; margin-top: 3px; letter-spacing: 0; text-transform: none; }

/* ===================== Plant finder grid ===================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all .14s ease;
}
.chip:hover { border-color: var(--green); color: var(--green-deep); }
.chip.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.chip-reset {
  border-style: dashed;
  color: var(--muted);
}

.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 18px;
}
.pcard {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pcard-art {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-soft), var(--rose-soft));
}
.pcard-art::before {
  content: "";
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 130'><g fill='none' stroke='%235e8a5a' stroke-width='1.3' opacity='0.85'><path d='M100 122 C 96 84, 112 54, 150 40'/><path d='M100 122 C 104 84, 88 54, 50 40'/><path d='M100 122 L 100 64'/></g><g fill='%23c98a93' opacity='0.85'><circle cx='150' cy='40' r='9'/><circle cx='50' cy='40' r='9'/><circle cx='100' cy='58' r='10'/></g></svg>");
}
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; }
.pcard-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0;
}
.pcard-latin {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 4px;
}
.pcard-facts {
  margin: 6px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  font-size: 0.82rem;
}
.pcard-facts div { display: flex; flex-direction: column; }
.pcard-facts dt {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.pcard-facts dd { margin: 0; color: var(--ink); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag {
  font-size: 0.72rem;
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 3px 9px;
}
.tag.tag-bee { background: #f7eccf; color: var(--bee); }
.tag.tag-scent { background: var(--rose-soft); color: var(--rose-deep); }

.toxic {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  background: #fdeede;
  border: 1px solid #f0d2a8;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.8rem;
  color: #8a5a1c;
}
.toxic svg { flex: none; margin-top: 1px; }

/* ===================== Combination cards ===================== */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.combo-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .25s ease;
}
.combo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.combo-banner {
  height: 92px;
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--green-soft), var(--rose-soft));
  position: relative;
}
.combo-banner.b-sun    { background: linear-gradient(135deg, #f6e6c4, #f4dfe1); }
.combo-banner.b-pastel { background: linear-gradient(135deg, #efe4ef, #e7eede); }
.combo-banner.b-clay   { background: linear-gradient(135deg, #e4ddcf, #e7eede); }
.combo-banner.b-dry    { background: linear-gradient(135deg, #eee9d4, #e3ece2); }
.combo-banner.b-shade  { background: linear-gradient(135deg, #dde6df, #e8e2ec); }
.combo-banner.b-poll   { background: linear-gradient(135deg, #f1e7c8, #f3dfe2); }
.combo-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  margin: 0;
  color: var(--ink);
}
.combo-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 9px; }
.combo-plants { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-plants .pill { background: var(--green-soft); border-color: transparent; }
.combo-facts { display: flex; flex-direction: column; gap: 5px; font-size: 0.85rem; }
.combo-facts div { display: flex; gap: 7px; }
.combo-facts dt {
  flex: none;
  width: 92px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 1px;
}
.combo-facts dd { margin: 0; color: var(--ink-soft); }

/* ===================== Maintenance calendar ================== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.month-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  box-shadow: var(--shadow-1);
  transition: transform .15s ease, box-shadow .2s ease;
}
.month-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.month-card.is-now { border-color: var(--rose); background: linear-gradient(180deg, var(--rose-soft), var(--bg-elev) 65%); }
.month-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  margin-bottom: 5px;
}
.month-season {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 2px 8px;
}
.month-season.s-spring { background: #7fae5d; }
.month-season.s-summer { background: var(--rose); }
.month-season.s-autumn { background: var(--earth); }
.month-season.s-winter { background: #7d93a6; }
.month-card p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }
.month-card .now-tag {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* ===================== Beginner mistakes ===================== */
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 14px;
}
.mistake-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  box-shadow: var(--shadow-1);
}
.mistake-card h3 {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 5px;
  font-size: 0.97rem;
}
.mistake-card h3 .x {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
  display: grid; place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}
.mistake-card p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }

/* ===================== Etsy coming-soon CTA ================== */
.etsy-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rose);
  background:
    radial-gradient(420px 220px at 88% 0%, var(--rose-soft) 0%, transparent 70%),
    linear-gradient(160deg, #fbf8ef, var(--bg-elev));
  padding: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items: center;
}
.etsy-cta .eyebrow { background: #fff; }
.etsy-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  margin: 6px 0 10px;
}
.etsy-cta p { margin: 0 0 18px; color: var(--ink-soft); max-width: 52ch; }
.etsy-preview {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.55);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 22px 16px;
  overflow: hidden;
}
/* Decorative 3-page placeholder (still used by "coming soon" boxes that have
   no real preview yet). */
.etsy-preview .pages { display: flex; gap: 6px; margin-bottom: 4px; }
.etsy-preview .page {
  width: 34px; height: 46px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: var(--shadow-1);
}
.etsy-preview .page:nth-child(2) { transform: translateY(-4px) rotate(-4deg); }
.etsy-preview .page:nth-child(3) { transform: translateY(2px) rotate(5deg); }
/* Layered product shot: cover prominent, two inside pages fanned behind.
   Image sizes are FIXED in px (not % of the container) so the shot renders
   identically regardless of how wide the CTA column is. */
.etsy-preview .kit-shot {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 250px;
  margin: 0 auto;
}
.etsy-preview .kit-shot img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
}
.etsy-preview .kit-cover {
  width: 150px;
  transform: translate(-50%, -50%) rotate(-2deg);
  box-shadow: var(--shadow-2);
  z-index: 3;
}
.etsy-preview .kit-pg {
  width: 138px;
  box-shadow: var(--shadow-1);
}
.etsy-preview .kit-pg--left {
  transform: translate(-78%, -50%) rotate(-7deg);
  z-index: 1;
}
.etsy-preview .kit-pg--right {
  transform: translate(-22%, -50%) rotate(7deg);
  z-index: 2;
}
.etsy-preview small { color: var(--muted); font-size: 0.78rem; }

/* Page-count badge on the product thumbnail (V1.1) */
.kit-pages {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  background: var(--green-deep, #2f5d3a);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  pointer-events: none;
}

/* Clickable mockup: the layered product shot links to the free preview PDF. */
a.kit-shot { display: block; cursor: pointer; text-decoration: none; }
a.kit-shot img { transition: transform 0.18s ease; }
a.kit-shot:hover .kit-cover { transform: translate(-50%, -50%) rotate(-2deg) scale(1.03); }
a.kit-shot:focus-visible { outline: 2px solid var(--rose-deep, #426544); outline-offset: 4px; border-radius: 8px; }

/* Free-sample download: a calm, themed call-out beneath the planner caption.
   Badge + downward arrow + link stack centred under the mockup. Uses the
   garden's own muted rose-deep/rose-soft tones — no bright colour, no motion. */
.sample-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-top: 14px;
}
.sample-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep, #426544);
  background: var(--rose-soft, #e7eee8);
  padding: 3px 10px;
  border-radius: 999px;
}
.sample-arrow {
  line-height: 0;
  color: var(--rose-deep, #426544);
  opacity: 0.5;
}
.sample-arrow svg { display: block; }
.preview-dl {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--rose-deep, #426544);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.preview-dl:hover { border-bottom-color: currentColor; }

/* newsletter sign-up form */
.news-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.news-input {
  flex: 1; min-width: 190px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}
.news-input:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(94,138,90,0.18);
}

/* ===================== Compliance block ====================== */
.compliance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.compliance .note {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.compliance .note h4 {
  margin: 0 0 5px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.compliance .note p { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }

/* ===================== quick-nav anchor chips ================ */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 4px;
}
.anchor-nav a {
  font-size: 0.83rem;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  transition: all .14s ease;
}
.anchor-nav a:hover { border-color: var(--green); color: var(--green-deep); background: var(--green-soft); }

/* ===================== Responsive ============================ */
@media (max-width: 860px) {
  .eco-hero-inner { grid-template-columns: 1fr; gap: 22px; padding: 30px 0 36px; }
  .hero-art { min-height: 220px; }
  .etsy-cta { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 540px) {
  .section { margin: 34px 0; }
  .section-card, .tool-card { padding: 20px; }
  .calc-result { padding: 16px; }
  .combo-facts dt { width: 80px; }
}

/* Stacked dual PDF promotion panels */
.etsy-cta + .etsy-cta { margin-top: 26px; }

/* ============================================================
   IMMERSIVE FULL-WIDTH HERO  (matches the homepage benchmark)
   Opt-in via  <header class="eco-hero eco-hero--photo"
                       style="--eco-hero-img:url('…')">
   The page's own relevant photograph becomes a full-bleed
   background with a dark wash; the old side image is hidden and
   the text sits over the photo in white. One component → every
   garden-type + grow/fruit landing page looks premium at once.
   ============================================================ */
/* ===== PlantMapper Hero Glass — brand component =====
   The photograph leads. Hero text sits on a FROSTED-GLASS cream panel
   (var --pm-glass): ~82% warm cream + backdrop blur so the image shows
   through softly at the edges. Soft shadow, no hard border, generous
   air — elegant and modern, never a heavy article box. Text stays crisp
   (deep forest-green, AA over any photo). One design across every hero. */
.eco-hero--photo {
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(10,18,13,.22) 0%, rgba(10,18,13,.16) 50%, rgba(10,18,13,.34) 100%),
    var(--eco-hero-img) center 38%/cover no-repeat;
}
.eco-hero--photo .eco-hero-inner {
  grid-template-columns: 1fr;
  align-content: center;
  min-height: clamp(380px, 54vh, 580px);
  padding: clamp(48px, 9vw, 104px) 0;
}
.eco-hero--photo .eco-hero-inner > div {
  max-width: 528px;
  background: rgba(250,247,239,.80);           /* frosted warm cream */
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
          backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 26px;
  padding: clamp(30px, 3.6vw, 48px);
  box-shadow: 0 10px 30px rgba(14,28,19,.13);
}
.eco-hero--photo .hero-photo { display: none; }          /* photo is the background */
.eco-hero--photo .floral-rule {                          /* re-enabled as a brand divider */
  display: block; width: 48px; height: 3px; border: 0; border-radius: 3px;
  margin: 0 0 18px; background: linear-gradient(90deg, #4a7a4f, #8bb072);
}
.eco-hero--photo .eyebrow {
  color: #1f5730; background: rgba(255,255,255,.55);
  border: 1px solid rgba(74,122,79,.35); backdrop-filter: none;
}
.eco-hero--photo h1 {
  color: #14321d; text-shadow: none;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
}
.eco-hero--photo .eco-hero-lead {
  color: #33493b; max-width: 58ch; text-shadow: none;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}
.eco-hero--photo .disclaimer { color: #46564b; text-shadow: none; }
.eco-hero--photo .disclaimer svg circle,
.eco-hero--photo .disclaimer svg path { stroke: #46564b; }
.eco-hero--photo .btn-outline {
  border-color: rgba(74,122,79,.45); color: #1f5730; background: rgba(255,255,255,.4);
}
.eco-hero--photo .btn-outline:hover { background: rgba(255,255,255,.72); border-color: #4a7a4f; color: #14321d; }
@media (max-width: 720px) {
  .eco-hero--photo .eco-hero-inner { min-height: clamp(300px, 62vw, 440px); }
  .eco-hero--photo .eco-hero-inner > div { padding: 22px 20px; }
}
