
/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #F3F7EF;
  --surface: #FFFFFF;
  --ink: #23291D;
  --muted: #666F5B;
  --leaf: #3F7A34;
  --leaf-deep: #2C5A24;
  --leaf-soft: #D9E8D0;
  --clay: #B5502E;
  --clay-soft: #EFD9C4;
  --border: #DCE3D1;
  --serif: "Arvo", serif;
  --sans: "Karla", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 14px;
  --radius-sm: 8px;
}

/* =============================================================
   2. Reset + base mobile-native
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.16; letter-spacing: -0.005em; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--surface); color: var(--ink); z-index: 9999; border-radius: 8px; font-weight: 500; }
.skip-link:focus { top: 1rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
input, textarea, select { font-size: 16px; font-family: inherit; } /* evita el zoom de iOS al enfocar */
button, a, [role="button"] { touch-action: manipulation; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Todos los estados :hover viven aquí, detrás de un gate de capacidad —
   sin esto, un tap en móvil deja el estado "pegado" hasta el siguiente
   toque en otro sitio (falso indicador de que algo sigue seleccionado). */
@media (hover: hover) and (pointer: fine) {
  .btn-buy:hover { background: var(--leaf); transform: translateY(-1px); }
  .btn-outline:hover { background: var(--leaf-soft); }
  .cat-card:hover { transform: translateY(-3px); border-color: var(--leaf); box-shadow: 0 20px 36px -24px rgba(44,90,36,0.3); }
  .card:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 24px 44px -22px rgba(44,90,36,0.38); }
  .nav-drop:hover .nav-drop-menu { display: grid; }
  .nav-drop-menu li a:hover { background: var(--leaf-soft); }
  .crumb a:hover { color: var(--leaf-deep); }
  .site-footer a:hover { text-decoration: underline; }
  .cmp-item:hover { border-color: var(--leaf); }
}

/* =============================================================
   3. Buttons
   ============================================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; user-select: none; -webkit-user-select: none; transition: transform .16s var(--ease-out), background .2s; }
.btn:active { transform: scale(0.97); }
.btn-buy { background: var(--leaf-deep); color: var(--surface); }
.btn-outline { border: 1.5px solid var(--leaf-deep); color: var(--leaf-deep); }

/* =============================================================
   4. Header / nav
   ============================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243,247,239,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand-mark-svg { width: 34px; height: 34px; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a { font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop > a { font-weight: 600; }
.nav-drop-label { font-weight: 600; cursor: default; }
.nav-drop-menu { position: absolute; top: 100%; left: 0; display: none; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; min-width: 320px; box-shadow: 0 18px 40px -20px rgba(35,41,29,0.25); list-style: none; }
.nav-drop.is-hover .nav-drop-menu { display: grid; }
.nav-drop-menu li a { display: block; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 719px) {
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--border); display: none; gap: 14px; }
  .main-nav.is-open { display: flex; }
  .nav-drop-menu { position: static; display: grid !important; border: 0; box-shadow: none; padding: 6px 0; min-width: 0; grid-template-columns: 1fr; }
}

/* =============================================================
   5. Hero — foto real a sangre, no una tarjeta flotante genérica
   ============================================================= */
.hero-photo { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16,18,12,.78) 0%, rgba(16,18,12,.55) 32%, rgba(16,18,12,.08) 62%, rgba(16,18,12,0) 100%),
    linear-gradient(0deg, rgba(16,18,12,.55) 0%, rgba(16,18,12,.15) 40%, rgba(16,18,12,0) 65%);
}
.hero-photo-inner { padding: 56px 20px 52px; }
.hero-copy h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.9rem); margin-bottom: 16px; font-weight: 700; max-width: 16ch; }
.hero-copy p { max-width: 480px; margin: 0 0 26px; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.hero-photo-badge {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); border-radius: 999px; padding: 10px 16px 10px 12px;
  font-size: .82rem; font-weight: 700; color: var(--leaf-deep);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,.45);
}
.hero-photo-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-photo-badge strong { font-family: var(--serif); color: var(--leaf-deep); }
@media (max-width: 539px) { .hero-photo { min-height: 380px; } .hero-photo-badge { right: 12px; bottom: 12px; font-size: .74rem; padding: 8px 12px 8px 10px; } }

/* =============================================================
   6. Cards / grids
   ============================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-top: 20px; }
.cat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; text-align: left; transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.cat-card strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 700; }
.cat-card-blurb { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.cat-icon { width: 30px; height: 30px; color: var(--leaf-deep); background: var(--leaf-soft); border-radius: 10px; padding: 6px; box-sizing: content-box; }
.section-tint { background: var(--surface); }

/* --- bento de categorías (home): el tamaño refleja el ticket medio --- */
.cat-grid.bento { grid-template-columns: repeat(4, 1fr); }
.cat-grid.bento .cat-card { justify-content: flex-end; min-height: 168px; }
.cat-grid.bento .cat-card.bento-big {
  grid-column: span 2; min-height: 168px; background: var(--leaf-deep); border-color: var(--leaf-deep);
}
.cat-grid.bento .cat-card.bento-big strong { color: #fff; font-size: 1.15rem; }
.cat-grid.bento .cat-card.bento-big .cat-card-blurb { color: rgba(255,255,255,.78); }
.cat-grid.bento .cat-card.bento-big .cat-icon { background: rgba(255,255,255,.16); color: #fff; }
@media (hover: hover) and (pointer: fine) { .cat-grid.bento .cat-card.bento-big:hover { border-color: var(--leaf-deep); box-shadow: 0 20px 36px -20px rgba(0,0,0,.45); } }
@media (max-width: 860px) { .cat-grid.bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid.bento { grid-template-columns: 1fr; } .cat-grid.bento .cat-card.bento-big { grid-column: span 1; } }
.not-found { text-align: center; padding-top: 48px; }
.not-found-code {
  font-family: var(--serif); font-size: 5rem; font-weight: 700; color: var(--leaf-soft);
  line-height: 1; margin-bottom: 8px;
}
.not-found .muted { max-width: 480px; margin: 0 auto 24px; }
.not-found .cat-grid { max-width: 760px; margin-left: auto; margin-right: auto; }

/* --- trust points (home, "Cómo elegimos") --- */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 22px; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-point-icon { display: inline-flex; width: 30px; height: 30px; color: var(--leaf-deep); background: var(--leaf-soft); border-radius: 10px; padding: 7px; box-sizing: content-box; margin-bottom: 10px; }
.trust-point h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-point p { color: var(--muted); font-size: .9rem; }

/* --- category page header --- */
.cat-hero { background: linear-gradient(135deg, var(--leaf-soft), var(--bg) 70%); padding: 40px 0 44px; }
.cat-hero-inner { display: flex; align-items: center; gap: 22px; }
.cat-hero-icon { flex-shrink: 0; width: 54px; height: 54px; color: var(--leaf-deep); background: var(--surface); border-radius: 12px; padding: 12px; box-sizing: content-box; box-shadow: 0 16px 30px -18px rgba(44,90,36,0.35); }
.cat-hero h1 { font-size: clamp(1.45rem, 3.2vw, 2rem); margin: 4px 0 6px; }
.cat-hero p { color: var(--muted); max-width: 60ch; }
.cat-hero .crumb { margin-bottom: 4px; }
@media (max-width: 539px) { .cat-hero-inner { flex-direction: column; align-items: flex-start; gap: 12px; } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 20px; margin-top: 28px; }
/* Tarjeta con forma de etiqueta de vivero: una muesca + un agujerito arriba,
   como las etiquetas reales que se clavan en la maceta — reconocible por la
   silueta sola, sin depender del color. */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px 6px var(--radius) var(--radius); display: flex; flex-direction: column; position: relative; margin-top: 14px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.card::before { content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 40px; height: 18px; background: var(--leaf-deep); border-radius: 8px 8px 0 0; }
.card::after { content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%) translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--leaf-soft); }
.card-img-link { display: block; aspect-ratio: 4/3; background: var(--leaf-soft); border-radius: 6px 6px 0 0; overflow: hidden; }
.card-img-link img { width: 100%; height: 100%; object-fit: cover; }
.ph-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--leaf-deep); opacity: .5; }
.ph-img .leaf-icon { width: 44%; height: 44%; }
.ph-img.big { aspect-ratio: 1; background: var(--leaf-soft); border-radius: var(--radius); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-weight: 700; line-height: 1.3; }
.card-score { font-size: .85rem; color: var(--leaf-deep); font-weight: 700; }
.price { font-weight: 700; font-size: 1.1rem; }
.price-was { text-decoration: line-through; color: var(--muted); font-weight: 400; font-size: .9rem; }
.price-badge { background: var(--clay); color: var(--surface); font-size: .75rem; padding: 2px 8px; border-radius: 999px; font-weight: 700; }

/* =============================================================
   7. Sample badge
   ============================================================= */
.sample-badge { background: var(--clay-soft); color: var(--clay); font-size: .78rem; font-weight: 700; padding: 8px 14px; border-radius: 6px 6px 0 0; }
.ficha .sample-badge { border-radius: var(--radius-sm); margin-bottom: 20px; }

/* =============================================================
   8. Ficha
   ============================================================= */
.crumb { color: var(--muted); font-size: .85rem; margin-bottom: 20px; }
.ficha-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
@media (min-width: 720px) { .ficha-grid { grid-template-columns: 1fr 1fr; } }
.ficha-grid.two-col { align-items: start; }
.ficha-gallery .gallery-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--leaf-soft); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 1px solid var(--border); touch-action: manipulation; }
.ficha-main h1 { font-size: 1.55rem; margin-bottom: 8px; }
.ficha-main .price { margin: 10px 0 4px; font-size: 1.4rem; }
.ficha-main .btn { margin-top: 14px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec-table th { font-weight: 500; color: var(--muted); width: 55%; }
.specs-more { margin-top: 14px; }
.specs-more summary { cursor: pointer; color: var(--leaf-deep); font-weight: 700; font-size: .9rem; touch-action: manipulation; }
.grow-row { display: flex; gap: 12px; align-items: flex-end; justify-content: space-between; max-width: 460px; padding-top: 20px; }
.grow-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.grow-gauge {
  width: 100%; max-width: 32px; height: 200px; background: var(--leaf-soft); border-radius: 999px;
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  background-image: repeating-linear-gradient(to top, transparent 0, transparent calc(20% - 1px), rgba(44,90,36,.3) calc(20% - 1px), rgba(44,90,36,.3) 20%);
}
.grow-gauge-fill { width: 100%; background: linear-gradient(180deg, var(--leaf), var(--leaf-deep)); border-radius: 999px; position: relative; }
.grow-gauge-fill .leaf-icon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; color: var(--leaf-deep); }
.grow-val { font-family: var(--serif); font-weight: 700; font-size: .95rem; }
.grow-label { font-size: .68rem; color: var(--muted); text-align: center; font-weight: 600; line-height: 1.2; }
@media (max-width: 420px) { .grow-row { gap: 7px; } .grow-label { font-size: .6rem; } .grow-gauge { max-width: 25px; height: 170px; } }
.review-pulse { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--leaf-deep); border-radius: var(--radius-sm); max-width: 460px; }
.review-pulse-icon { flex-shrink: 0; width: 26px; height: 26px; color: var(--leaf-soft); margin-top: 2px; }
.review-pulse p { margin: 0; font-size: .92rem; color: var(--ink); font-style: italic; line-height: 1.55; }
.ficha-editorial { margin: 36px 0; }
.ficha-editorial p { margin-bottom: 14px; }
.pros-cons { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 22px 0; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons h3 { font-size: 1rem; margin-bottom: 10px; }
.pros-cons ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pros li::before { content: "✓ "; color: var(--leaf); font-weight: 700; }
.cons li::before { content: "✕ "; color: var(--clay); font-weight: 700; }
.ideal-para { background: var(--leaf-soft); border-left: 4px solid var(--leaf-deep); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.ficha-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.ficha-relacionados { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }

/* =============================================================
   9. Comparador
   ============================================================= */
.comparador-picker { margin: 24px 0; }
.cmp-search { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--surface); }
.cmp-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cmp-filter-btn { padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; background: var(--surface); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.cmp-filter-btn.is-active { background: var(--leaf-deep); color: var(--surface); border-color: var(--leaf-deep); }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; max-height: 620px; overflow-y: auto; padding: 4px; }
.cmp-item { position: relative; display: flex; flex-direction: column; padding: 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; transition: border-color .15s, background .15s; }
.cmp-item.is-checked { border-color: var(--leaf-deep); background: var(--leaf-soft); }
.cmp-item input[type="checkbox"] { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; accent-color: var(--leaf-deep); z-index: 1; }
.cmp-item img { width: 100%; height: 110px; object-fit: contain; border-radius: 6px; background: var(--bg); margin-bottom: 10px; }
.cmp-item-name { font-weight: 700; font-size: .88rem; line-height: 1.3; margin-bottom: 4px; }
.cmp-item-meta { font-size: .78rem; color: var(--muted); }
.cmp-item.is-hidden { display: none; }
.cmp-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
#cmp-result table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: .9rem; }
#cmp-result th, #cmp-result td { border: 1px solid var(--border); padding: 10px; text-align: left; }
#cmp-result th { background: var(--surface); }

/* =============================================================
   9b. Rankings
   ============================================================= */
.ranking-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.ranking-row { display: grid; grid-template-columns: auto 120px 1fr; gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ranking-pos { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--leaf-deep); line-height: 1; padding-top: 4px; }
.ranking-img { display: block; width: 120px; height: 120px; border-radius: var(--radius-sm); overflow: hidden; background: var(--leaf-soft); flex-shrink: 0; }
.ranking-img img { width: 100%; height: 100%; object-fit: cover; }
.ranking-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; display: block; margin-bottom: 2px; }
.ranking-nota { margin: 8px 0; }
.ranking-cta { background: var(--leaf-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .ranking-row { grid-template-columns: auto 1fr; } .ranking-img { grid-column: 1 / -1; order: -1; width: 100%; height: 160px; } }

/* =============================================================
   10. Legal / trust
   ============================================================= */
.legal h2 { margin: 28px 0 12px; font-size: 1.22rem; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 6px; }
.legal p a:not(.btn) { color: var(--leaf-deep); text-decoration: underline; text-decoration-color: var(--leaf-soft); text-underline-offset: 3px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .legal p a:not(.btn):hover { text-decoration-color: var(--leaf-deep); } }
.articulo-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); background: var(--leaf-soft); margin: 18px 0 8px; }
.guide-h2 { display: flex; align-items: center; font-size: 1.55rem; font-weight: 700; color: var(--leaf-deep); padding-bottom: 10px; border-bottom: 2px solid var(--leaf-soft); }
.guide-h2-icon { display: inline-flex; flex-shrink: 0; width: 26px; height: 26px; color: var(--leaf-deep); background: var(--leaf-soft); border-radius: 8px; padding: 5px; box-sizing: content-box; vertical-align: middle; margin-right: 10px; }
.guide-pick { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin: 4px 0 26px; }
.guide-pick-img { flex-shrink: 0; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--leaf-soft); display: block; }
.guide-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.guide-pick-body { display: flex; flex-direction: column; gap: 3px; }
.guide-pick-label { font-size: .68rem; font-weight: 700; color: var(--leaf-deep); text-transform: uppercase; letter-spacing: .04em; }
.guide-pick-title { font-weight: 700; line-height: 1.3; }
.guide-pick-body .price { font-size: .82rem; margin: 0; }
.guide-pick-body .btn { align-self: flex-start; padding: 8px 16px; font-size: .82rem; margin-top: 4px; }
.guide-pick-pair { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
@media (min-width: 640px) { .guide-pick-pair { grid-template-columns: 1fr 1fr; } .guide-pick-pair .guide-pick { margin-bottom: 0; } }
@media (max-width: 420px) { .guide-pick { flex-direction: column; align-items: flex-start; } .guide-pick-img { width: 100%; height: 140px; } }

/* =============================================================
   11. Footer
   ============================================================= */
.site-footer { background: var(--leaf-deep); color: var(--surface); padding: 48px 0 24px; margin-top: 60px; }
.site-footer .brand { color: var(--surface); }
.site-footer h3 { font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
@media (min-width: 720px) { .footer-grid.no-rankings { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .muted { color: rgba(255,255,255,0.72); }
.affiliate-disclosure { max-width: 70ch; }

/* =============================================================
   12. Cookie banner
   ============================================================= */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 24px 50px -20px rgba(35,41,29,0.4); z-index: 999; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .85rem; margin-bottom: 12px; }
.cookie-banner-actions { display: flex; gap: 10px; justify-content: flex-end; }
