:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --ink: #15201b;
  --muted: #5d6b64;
  --line: #e1e5de;
  --brand: #0f6b4f;
  --brand-2: #c8f169;
  --amazon: #ff9900;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1412; --surface: #171e1b; --ink: #eef2ee; --muted: #9aa8a1;
    --line: #26302b; --brand: #4fd1a1; --shadow: none;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .2em 0 .4em; }
h2 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.estrecho { max-width: 720px; }
.small { font-size: .85rem; color: var(--muted); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* Cabecera */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.logo { font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand-2); box-shadow: inset 0 0 0 3px var(--brand); }
nav { display: flex; gap: 18px; font-size: .95rem; }
nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
nav a:hover { color: var(--ink); }
@media (max-width: 560px) {
  .top-in { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 6px 16px; }
  nav a:first-child { display: none; }
  nav { gap: 4px 14px; font-size: .85rem; flex-wrap: wrap; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .7em 1.15em; border-radius: 999px; font-weight: 650; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: .95rem; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #06140e; } }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-amazon { background: var(--amazon); color: #111; }
.btn-off { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn-sm { padding: .45em .9em; font-size: .85rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--brand) 0%, #0b4a37 100%); color: #fff; padding: 56px 0; }
.hero .lead { color: rgba(255,255,255,.8); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--brand-2); font-weight: 700; }
.hero-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero .btn-primary { background: var(--brand-2); color: #0b2a1f; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero-art { display: flex; justify-content: center; }
.hero-pala { width: 110px; margin: 0 -14px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.3)); }
.hero-pala:nth-child(1) { transform: rotate(-14deg); }
.hero-pala:nth-child(2) { transform: translateY(-18px); }
.hero-pala:nth-child(3) { transform: rotate(14deg); }
@media (max-width: 760px) { .hero-in { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { padding: 36px 0; } }

/* Filtros y grid */
.filtros { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 28px 0 18px; }
.filtros label { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); font-weight: 600; }
select { font: inherit; padding: .5em .8em; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 140px; }
.contador { margin-left: auto; color: var(--muted); font-size: .9rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-img { display: flex; justify-content: center; padding: 22px 0 8px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%); }
.pala { width: 70px; height: auto; }
/* Fotos: misma altura que el dibujo, sin deformar */
.pala.foto { width: auto; max-width: 100%; height: 126px; object-fit: contain; border-radius: 8px; }
.pala-grande.foto { height: 260px; }
.pala-mini.foto { height: 72px; }
.hero-pala.foto { height: 198px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card h3 a { text-decoration: none; }
.marca { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.chip-potencia { background: #fde2e1; border-color: #f7c4c1; color: #8a1c14; }
.chip-control { background: #dcf3ea; border-color: #b9e5d3; color: #0d5a40; }
.chip-polivalente { background: #fff1d6; border-color: #f5dca8; color: #7a5200; }
.mini { display: flex; gap: 14px; font-size: .85rem; color: var(--muted); }
.mini b { color: var(--ink); }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-actions .btn { flex: 1; padding: .5em; font-size: .85rem; }

/* Guía */
.guia { margin-bottom: 48px; }
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pasos > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pasos p { margin: .4em 0 0; color: var(--muted); font-size: .95rem; }

/* Ficha */
.ficha { padding-bottom: 48px; }
.migas { font-size: .85rem; color: var(--muted); margin-top: 20px; }
.aviso { background: #fff4d6; color: #6b4b00; border: 1px solid #f1d590; padding: 8px 12px; border-radius: 10px; font-size: .88rem; }
.ficha-top { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; margin: 12px 0 24px; }
.ficha-img { display: flex; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pala-grande { width: 130px; }
.perfil { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); padding: 10px 14px; border-radius: 10px; margin: 16px 0; }
.perfil p { margin: .2em 0 0; }
.acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.ficha-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.panel h2 { margin: 0 0 12px; font-size: 1.1rem; }
.barra { display: grid; grid-template-columns: 120px 1fr 24px; gap: 10px; align-items: center; margin: 8px 0; font-size: .9rem; }
.barra-fondo { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.barra-valor { height: 100%; background: var(--brand); border-radius: 99px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.specs dd::first-letter { text-transform: uppercase; }
.pros ul, .contras ul { margin: 0; padding-left: 1.1em; }
.pros li::marker { content: "+  "; color: var(--brand); font-weight: 800; }
.contras li::marker { content: "–  "; color: #c2410c; font-weight: 800; }
@media (max-width: 760px) { .ficha-top, .ficha-cols { grid-template-columns: 1fr; } }

/* Comparador */
.selector { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.sel { font: inherit; font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.sel.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); font-weight: 650; }
.sel:disabled { opacity: .4; cursor: not-allowed; }
.sel-dot { width: 10px; height: 10px; border-radius: 50%; }
.vacio { color: var(--muted); padding: 32px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.tabla-scroll { overflow-x: auto; margin-bottom: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.cmp th, .cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp th { color: var(--muted); font-weight: 600; width: 130px; white-space: nowrap; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp-head { text-align: center !important; }
.cmp-head a { text-decoration: none; font-weight: 700; }
.pala-mini { width: 40px; display: block; margin: 0 auto 6px; }
.cmp-bar { display: flex; align-items: center; gap: 8px; }
.cmp-bar div { height: 8px; border-radius: 99px; background: var(--muted); opacity: .45; }
.cmp-bar.mejor div { background: var(--brand); opacity: 1; }
.cmp-bar.mejor b { color: var(--brand); }

/* Test */
.test { display: grid; gap: 16px; margin: 24px 0; }
fieldset { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 16px 18px; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 700; padding: 0 6px; display: flex; gap: 8px; align-items: center; }
legend span { background: var(--brand); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .8rem; }
.opcion { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.opcion:hover { background: var(--bg); }
.opcion:has(input:checked) { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); font-weight: 600; }
input[type=radio] { accent-color: var(--brand); }
.test .btn { justify-self: start; }
#resultado { margin-bottom: 48px; }
.recos { display: grid; gap: 10px; margin-bottom: 16px; }
.reco { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; text-decoration: none; }
.reco:hover { border-color: var(--brand); }
.reco .pala-mini { margin: 0; }
.puesto { font-size: 1.4rem; font-weight: 800; color: var(--brand); width: 24px; }

/* Guías y artículos */
.guias { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-bottom: 32px; }
.guia-card { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; }
.guia-card:hover { border-color: var(--brand); }
.guia-card span { color: var(--muted); font-size: .9rem; }
.articulo { max-width: 800px; padding-bottom: 48px; }
.prosa { font-size: 1.05rem; }
.prosa h2 { margin-top: 2.2rem; }
.prosa h3 { margin: 1.6rem 0 .4rem; font-size: 1.1rem; }
.prosa p, .prosa li { max-width: 68ch; }
.prosa li { margin: .3em 0; }
.prosa p a, .prosa li a { color: var(--brand); }
.prosa .grid { margin: 1.2rem 0; }
.prosa .tabla-scroll { margin: 1.2rem 0 .4rem; }
.nota { background: color-mix(in srgb, var(--brand-2) 22%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.cta-test { margin: 2.4rem 0 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cta-test p { margin: .3em 0 1em; color: var(--muted); }

.texto { padding-bottom: 48px; }
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 24px 0; margin-top: 24px; }
.foot p { margin: .4em 0; }

/* Botones de varias tiendas */
.acciones .btn, .cmp-botones .btn { white-space: nowrap; }
.cmp-botones { display: flex; flex-wrap: wrap; gap: 6px; }

/* Comparativas X vs Y */
.guia-vs .vs-imgs { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.guia-vs .vs-imgs i { font-style: normal; font-weight: 800; color: var(--muted); font-size: .85rem; }
.guia-vs .pala-mini { margin: 0; }
.vs-cabecera { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px; margin: 16px 0 8px; text-align: center; }
.vs-cabecera a { text-decoration: none; display: grid; justify-items: center; gap: 8px; font-size: .95rem; }
.vs-cabecera .vs { font-weight: 900; font-size: 1.3rem; color: var(--brand); }
.duelo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.duelo-cab { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.duelo-fila { display: grid; grid-template-columns: 22px 1fr auto 1fr 22px; align-items: center; gap: 8px; margin: 8px 0; font-size: .85rem; }
.duelo-t { color: var(--muted); text-align: center; min-width: 92px; }
.duelo-v { font-weight: 700; text-align: center; color: var(--muted); }
.duelo-v.gana { color: var(--brand); }
.duelo-barra { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; display: flex; }
.duelo-barra.izq { justify-content: flex-end; }
.duelo-barra div { height: 100%; background: var(--brand); border-radius: 99px; }
.veredicto { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.veredicto > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.veredicto p { margin: .4em 0 .8em; color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .veredicto { grid-template-columns: 1fr; } .duelo-t { min-width: 70px; font-size: .78rem; } }

/* Ofertas y newsletter */
.ofertas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 20px 0; }
.oferta { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.oferta h3 { margin: 0 0 4px; font-size: 1.05rem; }
.oferta h3 a { text-decoration: none; }
.oferta-texto { margin: 0 0 6px; font-weight: 700; color: #b42318; }
.newsletter { margin: 2rem 0; background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: var(--radius); padding: 20px; }
.newsletter p { margin: .4em 0 .8em; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 200px; font: inherit; padding: .65em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.vacio a { color: var(--brand); }
