/*
 * LeBonRobot — Critical Overrides
 * Petit fichier synchrone (< 2KB) chargé après style-critical.css
 * Aligne notre système de design avec les variables pr.css existantes
 * Pas de !important — haute spécificité via sélecteurs composés
 */

/* ── Harmonisation des tokens ── */
:root {
  /* Nos tokens pointent vers les variables pr.css existantes */
  --hp-ink:  var(--pr-ink,  #0B0E09);
  --hp-fo:   var(--pr-forest, #1C4D12);
  --hp-fo2:  var(--pr-forest-mid, #2B6B1C);
  --hp-gr:   var(--pr-grass, #5C9C2A);
  --hp-li:   var(--pr-lime,  #AAD838);
  --hp-p:    var(--pr-paper, #F4EFE5);
  --hp-p2:   var(--pr-paper-2, #EBE6DA);
  --hp-w:    var(--pr-white, #FFFFFF);
  --hp-serif:"Lora", Georgia, serif;
  --hp-sans: "DM Sans", system-ui, sans-serif;
  --hp-line: rgba(11,14,9,.08);
  --hp-mu:   #47503E;
  --hp-fa:   #717969;
  --hp-tx:   var(--pr-ink-2, #151A12);
  /* Surcharge: dli (lime clair) si absent dans pr.css */
  --dli: #BDE83A;
}

/* ── lbr-bg inline → aligner sur pr.css paper ── */
html, body {
  background: var(--pr-paper, #F4EFE5);
  color: var(--pr-ink-2, #151A12);
}

/* ── Typographie sérif garantie ── */
body.pr h1,
body.pr h2,
body.pr h3,
body.pr .badge,
body.pr .score-num,
body.pr .pnum,
body.pr .snum {
  font-family: var(--hp-serif);
}

/* ── Hero dark — garantir fond et couleurs ── */
body.pr .hero:not(.hm-hero),
body.pr .lbr-test-hero-block,
body.pr .test-hero,
body.pr .hm-hero {
  background: var(--pr-ink, #0B0E09);
}

body.pr .hm-hero h1,
body.pr .lbr-test-hero-block h1,
body.pr .test-hero h1 {
  font-family: var(--hp-serif);
  color: #EDE8DC;
}

/* ── Sections section-box ── */
body.pr .section-box,
body.pr .box {
  background: var(--pr-white, #fff);
  border: 1px solid var(--hp-line);
  border-radius: 16px;
}

/* ── Badges ── */
body.pr .badge {
  background: rgba(28,77,18,.08);
  color: var(--pr-forest, #1C4D12);
  border: 1px solid rgba(28,77,18,.14);
}

/* ── CTAs ── */
body.pr .btn-forest,
body.pr .be {
  background: var(--pr-forest, #1C4D12);
  color: #fff;
}

/* ── Score circle ── */
body.pr .sc-arc {
  stroke: var(--pr-lime, #AAD838);
}

/* ── Header ── */
body.pr header {
  background: rgba(244,239,229,.96);
  border-bottom: 1px solid var(--hp-line);
}

/* ── Footer ── */
body.pr footer {
  background: var(--pr-ink, #0B0E09);
}

/* ── Tables ── */
body.pr .tw table,
body.pr .tbl-wrap table {
  background: var(--pr-white, #fff);
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  overflow: hidden;
}

body.pr .tw th,
body.pr .tbl-wrap th {
  background: var(--pr-paper-2, #EBE6DA);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-fa);
}

/* ── Depth sections ── */
body.pr .depth-section h3 {
  font-family: var(--hp-sans);
  font-size: 1rem;
  font-weight: 750;
  color: var(--pr-ink, #0B0E09);
  margin: 0 0 8px;
}

body.pr .depth-section p {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--hp-mu);
  margin: 0 0 12px;
}

/* ── Checklist sections ── */
body.pr .lbr-checklist h2,
body.pr .lbr-sources h2 {
  font-family: var(--hp-sans);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--pr-ink, #0B0E09);
}

/* ── Responsive mobile ── */
@media (max-width: 768px) {
  body.pr main {
    padding-top: 56px;
  }
  body.pr h1 {
    font-size: clamp(28px, 7vw, 42px);
  }
}
/* Fix global hero + menu drawer — LeBonRobot */
body.pr .offres-hero,
body.pr .lbr-offers-premium-hero,
body.pr .conversion-command-hero {
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  padding: clamp(28px, 5vw, 64px) !important;
  margin: clamp(16px, 3vw, 34px) auto !important;
  overflow: visible !important;
}

body.pr .offres-hero .wrap,
body.pr .lbr-offers-premium-hero .wrap,
body.pr .conversion-command-hero .wrap {
  position: relative !important;
  z-index: 2 !important;
  max-width: 980px !important;
}

body.pr .offres-hero *,
body.pr .lbr-offers-premium-hero *,
body.pr .conversion-command-hero * {
  visibility: visible !important;
}

body.pr .burger[aria-expanded="true"] + .main-nav {
  display: flex !important;
  position: fixed !important;
  top: 82px !important;
  left: 16px !important;
  right: 16px !important;
  z-index: 10050 !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 18px !important;
  border-radius: 24px !important;
  background: rgba(250, 247, 238, 0.98) !important;
  border: 1px solid rgba(31, 61, 31, 0.16) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

body.pr .burger[aria-expanded="true"] + .main-nav a {
  display: flex !important;
  width: 100% !important;
  padding: 13px 14px !important;
  border-radius: 14px !important;
  color: #151A12 !important;
  background: rgba(255, 255, 255, 0.74) !important;
  border: 1px solid rgba(25, 29, 21, 0.08) !important;
  text-decoration: none !important;
}

body.pr .burger[aria-expanded="true"] + .main-nav a[aria-current="page"],
body.pr .burger[aria-expanded="true"] + .main-nav a.active {
  background: #1C4D12 !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  body.pr .offres-hero,
  body.pr .lbr-offers-premium-hero,
  body.pr .conversion-command-hero {
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 34px 22px 42px !important;
  }

  body.pr .offres-hero h1,
  body.pr .lbr-offers-premium-hero h1,
  body.pr .conversion-command-hero h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.05 !important;
  }

  body.pr .offres-hero .lead,
  body.pr .lbr-offers-premium-hero .lead,
  body.pr .conversion-command-hero .lead {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }
}
/* HOTFIX — hero visible + menu visible */
body.pr .hm-hero,
body.pr .hero,
body.pr .page-hero,
body.pr .offers-hero,
body.pr .lbr-hero,
body.pr .premium-hero,
body.pr .editorial-hero {
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  padding-top: clamp(36px, 6vw, 72px) !important;
  padding-bottom: clamp(42px, 6vw, 76px) !important;
  overflow: visible !important;
}

body.pr .hm-hero .wrap,
body.pr .hero .wrap,
body.pr .page-hero .wrap,
body.pr .offers-hero .wrap,
body.pr .lbr-hero .wrap,
body.pr .premium-hero .wrap,
body.pr .editorial-hero .wrap,
body.pr .hero-inner,
body.pr .hero-left,
body.pr .hero-aside,
body.pr .hero-stats,
body.pr .hero-actions,
body.pr .hero-note,
body.pr .hero-sub,
body.pr .hero-eyebrow,
body.pr .map-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

@media (min-width: 900px) {
  body.pr .site-header .main-nav,
  body.pr header .main-nav,
  body.pr .lbr-header .main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.pr .site-header .burger,
  body.pr header .burger,
  body.pr .lbr-header .burger {
    display: none !important;
  }
}

@media (max-width: 899px) {
  body.pr .site-header:has(.burger[aria-expanded="true"]) .main-nav,
  body.pr header:has(.burger[aria-expanded="true"]) .main-nav,
  body.pr .burger[aria-expanded="true"] + .main-nav,
  body.pr .burger[aria-expanded="true"] ~ .main-nav,
  body.pr .main-nav.is-open,
  body.pr .main-nav.open {
    display: flex !important;
    position: fixed !important;
    top: 92px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 100000 !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 18px !important;
    border-radius: 24px !important;
    background: rgba(250, 247, 238, 0.98) !important;
    border: 1px solid rgba(31, 61, 31, 0.16) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
  }

  body.pr .main-nav a {
    padding: 13px 14px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
  }

  body.pr .hm-hero,
  body.pr .hero,
  body.pr .page-hero,
  body.pr .offers-hero,
  body.pr .lbr-hero,
  body.pr .premium-hero,
  body.pr .editorial-hero {
    padding-top: 34px !important;
    padding-bottom: 42px !important;
  }

  body.pr .hero-aside {
    display: none !important;
  }
}
/* FIX COMPARATIF — hero clair lisible */
body[data-page-kind="comparison"] .lbr-comparison-premium-hero,
body[data-page-kind="comparison"] .lbr-comparison-premium-hero * {
  color: #151A12 !important;
  -webkit-text-fill-color: #151A12 !important;
  opacity: 1 !important;
}

body[data-page-kind="comparison"] .lbr-comparison-premium-hero p,
body[data-page-kind="comparison"] .lbr-comparison-premium-hero .lead,
body[data-page-kind="comparison"] .lbr-comparison-premium-hero .affiliate-page-note {
  color: rgba(21, 26, 18, .78) !important;
  -webkit-text-fill-color: rgba(21, 26, 18, .78) !important;
}

body[data-page-kind="comparison"] .lbr-comparison-premium-hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(64, 120, 42, 0.14), transparent 34%),
    linear-gradient(135deg, #FAF7EE 0%, #F4EFE5 55%, #EEF3E7 100%) !important;
}
/* FIX OFFRES — supprimer l'encart gris des CTA hero */
body[data-page-kind="price-watch"] .lbr-offers-premium-hero > .wrap > .u-flex-actions-lg {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  max-width: none !important;
}

/* Bouton principal hero offres */
body[data-page-kind="price-watch"] .lbr-offers-premium-hero > .wrap > .u-flex-actions-lg .btn-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  background: #C8F53A !important;
  color: #0B1208 !important;
  -webkit-text-fill-color: #0B1208 !important;
  border: 1px solid #C8F53A !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Bouton secondaire hero offres */
body[data-page-kind="price-watch"] .lbr-offers-premium-hero > .wrap > .u-flex-actions-lg .btn-ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #F4EFE5 !important;
  -webkit-text-fill-color: #F4EFE5 !important;
  border: 1px solid rgba(244, 239, 229, .28) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
/* FIX OFFRES — cartes Top 5 qui se chevauchent */
body[data-page-kind="price-watch"] #achats-prioritaires .priority-offers-grid,
body[data-page-kind="price-watch"] #offres-exactes-petit-budget .priority-offers-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  margin-top: 28px !important;
}

/* Reset dur des cartes offres */
body[data-page-kind="price-watch"] .priority-offer-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;

  height: auto !important;
  min-height: 260px !important;
  max-height: none !important;
  overflow: visible !important;

  padding: 22px !important;
  border-radius: 22px !important;
  background: #fff !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 18px 42px rgba(21, 26, 18, .06) !important;
}

/* Neutralise les anciens effets qui créent les bandes/chevauchements */
body[data-page-kind="price-watch"] .priority-offer-card::before,
body[data-page-kind="price-watch"] .priority-offer-card::after {
  content: none !important;
  display: none !important;
}

/* Chaque élément reprend sa place naturelle */
body[data-page-kind="price-watch"] .priority-offer-card > * {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  float: none !important;
}

/* Titre */
body[data-page-kind="price-watch"] .priority-offer-card > strong {
  display: block !important;
  color: #151A12 !important;
  -webkit-text-fill-color: #151A12 !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

/* Badges et infos */
body[data-page-kind="price-watch"] .priority-offer-card .offer-badge,
body[data-page-kind="price-watch"] .priority-offer-card .offer-surface,
body[data-page-kind="price-watch"] .priority-offer-card .offer-price,
body[data-page-kind="price-watch"] .priority-offer-card .price-check-note {
  display: block !important;
  width: 100% !important;
  min-height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(21, 26, 18, .78) !important;
  -webkit-text-fill-color: rgba(21, 26, 18, .78) !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

/* Badge */
body[data-page-kind="price-watch"] .priority-offer-card .offer-badge {
  align-self: flex-start !important;
  width: auto !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(31, 85, 25, .08) !important;
  color: #1f5519 !important;
  -webkit-text-fill-color: #1f5519 !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}

/* Prix */
body[data-page-kind="price-watch"] .priority-offer-card .offer-price {
  color: #151A12 !important;
  -webkit-text-fill-color: #151A12 !important;
  font-weight: 800 !important;
}

/* Note */
body[data-page-kind="price-watch"] .priority-offer-card .price-check-note {
  font-size: .88rem !important;
}

/* Bouton en bas, sans chevauchement */
body[data-page-kind="price-watch"] .priority-offer-card .btn-p {
  margin-top: auto !important;
  width: 100% !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  background: #C8F53A !important;
  border: 1px solid #A9D92E !important;
  color: #0B1208 !important;
  -webkit-text-fill-color: #0B1208 !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}
/* FIX OFFRES — image éditoriale trop massive */
body[data-page-kind="price-watch"] .ed-visual {
  max-width: 980px !important;
  margin: 34px auto !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 18px 44px rgba(21, 26, 18, .08) !important;
}

body[data-page-kind="price-watch"] .ed-visual img {
  display: block !important;
  width: 100% !important;
  height: clamp(180px, 22vw, 280px) !important;
  object-fit: cover !important;
  object-position: center !important;
}

body[data-page-kind="price-watch"] .ed-visual figcaption {
  padding: 14px 18px !important;
  background: #fff !important;
  color: rgba(21, 26, 18, .78) !important;
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

body[data-page-kind="price-watch"] .ed-visual figcaption strong {
  display: block !important;
  color: #151A12 !important;
  font-weight: 900 !important;
  margin-bottom: 3px !important;
}

@media (max-width: 760px) {
  body[data-page-kind="price-watch"] .ed-visual {
    max-width: calc(100% - 32px) !important;
    margin: 24px auto !important;
    border-radius: 18px !important;
  }

  body[data-page-kind="price-watch"] .ed-visual img {
    height: 170px !important;
  }
}
/* FIX OFFRES — image éditoriale trop massive */
body[data-page-kind="price-watch"] .ed-visual {
  max-width: 980px !important;
  margin: 34px auto !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 18px 44px rgba(21, 26, 18, .08) !important;
}

body[data-page-kind="price-watch"] .ed-visual img {
  display: block !important;
  width: 100% !important;
  height: clamp(180px, 22vw, 280px) !important;
  object-fit: cover !important;
  object-position: center !important;
}

body[data-page-kind="price-watch"] .ed-visual figcaption {
  padding: 14px 18px !important;
  background: #fff !important;
  color: rgba(21, 26, 18, .78) !important;
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

body[data-page-kind="price-watch"] .ed-visual figcaption strong {
  display: block !important;
  color: #151A12 !important;
  font-weight: 900 !important;
  margin-bottom: 3px !important;
}

@media (max-width: 760px) {
  body[data-page-kind="price-watch"] .ed-visual {
    max-width: calc(100% - 32px) !important;
    margin: 24px auto !important;
    border-radius: 18px !important;
  }

  body[data-page-kind="price-watch"] .ed-visual img {
    height: 170px !important;
  }
}
/* FIX GUIDE — illustration éditoriale lisible, non rognée */
body:has(a[href="guide.html"][aria-current="page"]) .ed-visual,
body:has(a[href="guide.html"].active) .ed-visual {
  position: relative !important;
  z-index: 1 !important;
  max-width: 980px !important;
  margin: 44px auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #fff !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 18px 44px rgba(21, 26, 18, .08) !important;
}

/* Surtout pas de crop sur les illustrations qui contiennent du texte */
body:has(a[href="guide.html"][aria-current="page"]) .ed-visual img,
body:has(a[href="guide.html"].active) .ed-visual img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* La légende doit rester sous l’image, pas au-dessus */
body:has(a[href="guide.html"][aria-current="page"]) .ed-visual figcaption,
body:has(a[href="guide.html"].active) .ed-visual figcaption {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  padding: 14px 18px !important;
  background: #fff !important;
  color: rgba(21, 26, 18, .78) !important;
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .ed-visual figcaption strong,
body:has(a[href="guide.html"].active) .ed-visual figcaption strong {
  display: block !important;
  color: #151A12 !important;
  font-weight: 900 !important;
  margin-bottom: 3px !important;
}

/* Séparation nette avec le bloc sombre au-dessus */
body:has(a[href="guide.html"][aria-current="page"]) .hero + .ed-visual,
body:has(a[href="guide.html"].active) .hero + .ed-visual,
body:has(a[href="guide.html"][aria-current="page"]) .section-box + .ed-visual,
body:has(a[href="guide.html"].active) .section-box + .ed-visual {
  margin-top: 52px !important;
}

@media (max-width: 760px) {
  body:has(a[href="guide.html"][aria-current="page"]) .ed-visual,
  body:has(a[href="guide.html"].active) .ed-visual {
    max-width: calc(100% - 32px) !important;
    margin: 32px auto !important;
    border-radius: 18px !important;
  }
}
/* FIX GUIDE — visuel diagnostic taille premium, lisible */
body:has(a[href="guide.html"][aria-current="page"]) .ed-visual,
body:has(a[href="guide.html"].active) .ed-visual {
  max-width: 920px !important;
  margin: 46px auto 44px !important;
  padding: 0 !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 18px 44px rgba(21, 26, 18, .08) !important;
}

/* Image lisible : pleine largeur, pas rognée, pas miniaturisée */
body:has(a[href="guide.html"][aria-current="page"]) .ed-visual img,
body:has(a[href="guide.html"].active) .ed-visual img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #F7FAF2 !important;
}

/* Légende propre et compacte */
body:has(a[href="guide.html"][aria-current="page"]) .ed-visual figcaption,
body:has(a[href="guide.html"].active) .ed-visual figcaption {
  position: static !important;
  padding: 16px 20px !important;
  border-top: 1px solid rgba(21, 26, 18, .08) !important;
  background: #fff !important;
  color: rgba(21, 26, 18, .72) !important;
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .ed-visual figcaption strong,
body:has(a[href="guide.html"].active) .ed-visual figcaption strong {
  display: block !important;
  color: #151A12 !important;
  font-weight: 900 !important;
  margin-bottom: 3px !important;
}

@media (max-width: 760px) {
  body:has(a[href="guide.html"][aria-current="page"]) .ed-visual,
  body:has(a[href="guide.html"].active) .ed-visual {
    max-width: calc(100% - 28px) !important;
    margin: 30px auto !important;
    border-radius: 20px !important;
  }
}
/* GUIDE — remplacer le schéma image par un diagnostic lisible */
body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic,
body:has(a[href="guide.html"].active) .garden-diagnostic {
  max-width: 980px !important;
  margin: 46px auto 54px !important;
  padding: 30px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(189, 232, 58, .16), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(57, 105, 48, .10), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAF2 100%) !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 20px 52px rgba(21, 26, 18, .08) !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-head,
body:has(a[href="guide.html"].active) .garden-diagnostic-head {
  max-width: 760px !important;
  margin-bottom: 24px !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-head h2,
body:has(a[href="guide.html"].active) .garden-diagnostic-head h2 {
  margin: 12px 0 8px !important;
  color: #151A12 !important;
  font-family: "Lora", Georgia, serif !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-head p,
body:has(a[href="guide.html"].active) .garden-diagnostic-head p {
  margin: 0 !important;
  color: rgba(21, 26, 18, .72) !important;
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-grid,
body:has(a[href="guide.html"].active) .garden-diagnostic-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-card,
body:has(a[href="guide.html"].active) .garden-diagnostic-card {
  min-height: 170px !important;
  padding: 18px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .82) !important;
  border: 1px solid rgba(21, 26, 18, .10) !important;
  box-shadow: 0 12px 28px rgba(21, 26, 18, .05) !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-card--wide,
body:has(a[href="guide.html"].active) .garden-diagnostic-card--wide {
  grid-column: span 2 !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-card span,
body:has(a[href="guide.html"].active) .garden-diagnostic-card span {
  display: inline-flex !important;
  width: fit-content !important;
  margin-bottom: 10px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(31, 85, 25, .08) !important;
  color: #1f5519 !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-card strong,
body:has(a[href="guide.html"].active) .garden-diagnostic-card strong {
  display: block !important;
  margin-bottom: 8px !important;
  color: #151A12 !important;
  font-size: 1.08rem !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-card p,
body:has(a[href="guide.html"].active) .garden-diagnostic-card p {
  margin: 0 !important;
  color: rgba(21, 26, 18, .72) !important;
  font-size: .96rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic,
  body:has(a[href="guide.html"].active) .garden-diagnostic {
    max-width: calc(100% - 32px) !important;
    padding: 22px !important;
  }

  body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-grid,
  body:has(a[href="guide.html"].active) .garden-diagnostic-grid {
    grid-template-columns: 1fr !important;
  }

  body:has(a[href="guide.html"][aria-current="page"]) .garden-diagnostic-card--wide,
  body:has(a[href="guide.html"].active) .garden-diagnostic-card--wide {
    grid-column: auto !important;
  }
}
