/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --ink: #0b1220;
  --text: #1c2536;
  --muted: #5b6678;
  --line: #e1e6ef;
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --accent-soft: #dcf5f1;
  --on-accent: #04201c;
  --buy: #ffb020;
  --buy-hover: #ffc14d;
  --on-buy: #1f1300;
  --good: #0f766e;
  --bad: #b42318;
  --offer: #e11d48;
  --display: "Sora", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 14px 34px -16px rgba(11, 18, 32, .22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1a;
    --surface: #111827;
    --surface-2: #172033;
    --ink: #e8eef8;
    --text: #d6deea;
    --muted: #93a0b4;
    --line: #253049;
    --accent: #2dd4bf;
    --accent-strong: #5eead4;
    --accent-soft: #0f2e2b;
    --on-accent: #04201c;
    --good: #5eead4;
    --bad: #fca5a5;
    --offer: #fb7185;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
  }
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 16px/1.6 var(--sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg.ic { flex: none; width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.container { width: min(100% - 32px, 1160px); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 99; background: var(--surface); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.nota { font-size: .82rem; color: var(--muted); }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.lede { font-size: 1.06rem; color: var(--muted); max-width: 60ch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }

/* =============================================================
   3. Botones y badges
   ============================================================= */
.btn-primary, .btn-ghost, .btn-amazon {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; line-height: 1.2;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-ghost.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-strong); }
.btn-amazon { background: var(--buy); color: var(--on-buy); }
.btn-amazon:hover { background: var(--buy-hover); }
.btn-amazon.is-disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.btn-primary:active, .btn-ghost:active, .btn-amazon:active { transform: scale(.98); }
.btn-sm { padding: 9px 13px; font-size: .88rem; border-radius: 10px; }

.badge { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; letter-spacing: .02em; vertical-align: middle; }
.badge-oferta { background: var(--offer); color: #fff; }
.badge-muestra { background: #fde68a; color: #5c3d00; }

/* =============================================================
   4. Header / footer
   ============================================================= */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.15rem var(--display); color: var(--ink); flex: none; }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { flex: none; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-cta, .nav-cta:hover { order: 3; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .92rem; text-decoration: none; background: var(--ink); color: var(--bg); }
.nav-links { order: 2; margin-left: auto; }
.nav-count { background: var(--accent); color: var(--on-accent); border-radius: 99px; font-size: .72rem; padding: 1px 7px; }
@media (max-width: 719px) {
  .header-inner { flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .nav-cta { order: 2; margin-left: auto; padding: 7px 10px; font-size: .84rem; }
  .logo { font-size: 1.05rem; }
  .tray { gap: 6px; padding-left: 12px; font-size: .84rem; }
  .nav-links { order: 3; width: 100%; margin-left: 0; }
  .galeria-main { aspect-ratio: 4 / 3; }
}

.banner-muestra { background: #fef3c7; color: #5c3d00; font-size: .88rem; padding: 10px 0; border-bottom: 1px solid #fde68a; }

.site-footer { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid nav { display: grid; gap: 6px; align-content: start; }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-strong); }
.footer-tag { color: var(--muted); margin-top: 8px; max-width: 34ch; }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: grid; gap: 6px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* =============================================================
   5. Hero y secciones de inicio
   ============================================================= */
.hero { padding: 48px 0 32px; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 10px 0 14px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--muted); font-size: .9rem; }
.hero-stats b { color: var(--ink); font-family: var(--display); font-size: 1.2rem; margin-right: 4px; }
.hero-art { display: none; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; }
  .hero-art { display: grid; place-items: center; }
}
.orbit { width: 300px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line); position: relative; display: grid; place-items: center;
  background: radial-gradient(circle, var(--accent-soft) 0 40%, transparent 41%); }
.bot { width: 150px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--ink) 80%, #fff), var(--shadow); position: relative; animation: bob 4s ease-in-out infinite; }
.bot::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); top: 20px; left: 50%; translate: -50% 0; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(6deg); } }

.section { margin-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
.section-head a { font-weight: 700; color: var(--accent-strong); text-decoration: none; }

.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cat-card { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card h3 { font-size: 1.1rem; }
.cat-card p { color: var(--muted); font-size: .92rem; }
.cat-count { font-weight: 700; color: var(--accent-strong); font-size: .88rem; }

.como { display: grid; gap: 24px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.como h2 { color: var(--bg); margin-bottom: 10px; }
.como p { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); margin-bottom: 16px; }
.como .btn-ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, var(--ink)); }
.como-steps { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.como-steps li { counter-increment: s; display: grid; gap: 2px; padding: 14px 16px 14px 54px; position: relative; border-radius: 12px; background: color-mix(in srgb, var(--bg) 8%, var(--ink)); }
.como-steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.como-steps span { font-size: .9rem; color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
@media (min-width: 900px) { .como { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 40px; } }

.guia-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 26px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.guia-strip p { color: var(--muted); }

/* =============================================================
   6. Tarjetas y grilla
   ============================================================= */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; background: var(--surface-2); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.score-pill { position: absolute; top: 10px; right: 10px; background: var(--ink); color: var(--bg); font: 800 .9rem var(--display); padding: 5px 9px; border-radius: 10px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.card-marca { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card-title { font-size: 1.02rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--accent-strong); }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.card-actions > * { flex: 1 1 auto; }

.rating { display: flex; align-items: center; gap: 5px; font-size: .86rem; color: var(--muted); }
.rating svg { color: #f59e0b; width: 16px; height: 16px; }
.rating b { color: var(--ink); }
.rating.is-empty { font-size: .8rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--surface-2); color: var(--text); }
.chips-lg li { font-size: .82rem; padding: 5px 10px; }
.precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.precio-actual { font: 800 1.2rem var(--display); color: var(--ink); }
.precio-antes { color: var(--muted); font-size: .9rem; }
.precio-big .precio-actual { font-size: 2rem; }
.precio-nota { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }

.filtros { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.filtro-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .88rem; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.orden { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.orden select, .input { font: 600 .92rem var(--sans); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.input { width: 100%; padding: 12px 14px; font-size: 1rem; }
.filtros-vacio, .vacio { padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); }

.page-head { padding: 34px 0 22px; display: grid; gap: 10px; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); }
.otras-cats { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.otras-cats a { color: var(--accent-strong); font-weight: 600; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); padding-top: 18px; }
.breadcrumb a { color: var(--muted); }

/* =============================================================
   7. Ficha
   ============================================================= */
.ficha-top { display: grid; gap: 28px; padding: 18px 0 8px; }
.galeria-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.galeria-main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.thumbs { list-style: none; padding: 0; display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 72px; height: 72px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); overflow: hidden; padding: 4px; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ficha-head { display: grid; gap: 10px; align-content: start; }
.ficha-head h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.ficha-marca { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.destacado { font-weight: 700; color: var(--accent-strong); }
.ficha-desc { color: var(--muted); }
.ficha-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ficha-cta .btn-amazon { flex: 1 1 220px; padding: 15px 22px; font-size: 1.05rem; }
@media (min-width: 900px) { .ficha-top { grid-template-columns: 1fr 1fr; gap: 40px; } }

.ficha-cols { display: grid; gap: 18px; margin-top: 32px; }
.ficha-cols h2, .ficha-editorial h2, .ficha-resenas h2, .ficha-similares h2 { font-size: 1.35rem; margin-bottom: 14px; }
@media (min-width: 900px) { .ficha-cols { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.radar-wrap { display: grid; place-items: center; }
.radar { width: 100%; max-width: 340px; height: auto; overflow: visible; }
.r-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.r-axis { stroke: var(--line); stroke-width: 1; }
.r-poly { fill: color-mix(in srgb, var(--accent) 30%, transparent); stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.r-label { font: 600 11px var(--sans); fill: var(--muted); }
.r-val { font-weight: 800; fill: var(--ink); }
.score-total { text-align: center; margin: 8px 0 6px; color: var(--muted); }
.score-total b { font: 800 1.6rem var(--display); color: var(--ink); }

.specs { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.specs th, .specs td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs td { text-align: right; font-weight: 600; color: var(--ink); }
.specs th[scope="row"] { font-weight: 500; color: var(--text); }
.spec-grupo th { padding-top: 18px; font: 700 .76rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); border-bottom: 2px solid var(--line); }
.specs tr.is-null td { color: var(--muted); font-weight: 400; }
.specs-extra { margin-top: 12px; }
.specs-extra dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }

.ficha-editorial, .ficha-resenas, .ficha-similares { margin-top: 44px; }
.editorial-cuerpo { max-width: 72ch; display: grid; gap: 12px; }
.pros-contras { display: grid; gap: 14px; margin: 22px 0; }
@media (min-width: 720px) { .pros-contras { grid-template-columns: 1fr 1fr; } }
.pc { border-radius: 14px; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.pc h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 10px; }
.pc ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.pc li { display: flex; gap: 8px; align-items: flex-start; }
.pc li svg { margin-top: 3px; }
.pros h3, .pros li svg { color: var(--good); }
.contras h3, .contras li svg { color: var(--bad); }
.ideal-para { padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 10px; }
.cta-inline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.resenas { list-style: none; padding: 0; display: grid; gap: 12px; margin: 14px 0; }
.resena { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.resena-stars { color: #f59e0b; letter-spacing: 1px; }
.aviso-inline { margin-top: 28px; font-size: .8rem; color: var(--muted); padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* =============================================================
   8. Comparador
   ============================================================= */
.comp-picker { position: relative; margin-bottom: 20px; }
.field-label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.comp-sugerencias { list-style: none; padding: 0; display: grid; gap: 6px; margin-top: 10px; }
.comp-sugerencias button { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.comp-sugerencias button:hover { border-color: var(--accent); }
.comp-sugerencias img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--surface-2); }
.comp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.comp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.comp-table th, .comp-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.comp-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--muted); position: sticky; left: 0; background: var(--surface); min-width: 150px; }
.comp-table .comp-grupo th { text-align: left; font: 700 .74rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); background: var(--surface-2); }
.comp-table td.is-best { background: var(--accent-soft); color: var(--accent-strong); font-weight: 800; }
.comp-head { display: grid; gap: 8px; justify-items: center; min-width: 150px; }
.comp-head-media { position: relative; }
.comp-head-media img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; background: var(--surface-2); }
.comp-quitar { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.comp-quitar svg { width: 14px; height: 14px; }
.comp-head a.comp-name { font-weight: 700; color: var(--ink); text-decoration: none; font-size: .92rem; }
.comp-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.comp-radar { margin-top: 20px; display: grid; gap: 14px; justify-items: center; }
.comp-legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: .88rem; }
.comp-legend li { display: flex; align-items: center; gap: 6px; }

/* =============================================================
   9. Guía, prosa y FAQ
   ============================================================= */
.prose { max-width: 72ch; display: grid; gap: 12px; }
.prose h2 { font-size: 1.35rem; margin-top: 18px; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 6px; }
.legal { padding-top: 34px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 8px; }
.picks { margin-bottom: 36px; }
.picks h2 { font-size: 1.4rem; margin-bottom: 14px; }
.pick-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.pick { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pick-label { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); margin-bottom: 10px; }
.pick-row { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.pick-row img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: var(--surface-2); }
.pick-row h3 { font-size: 1.05rem; }
.pick-row h3 a { text-decoration: none; }
.pick-row p { color: var(--muted); font-size: .9rem; }
.pick-cta { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 720px) { .pick-row { grid-template-columns: 96px 1fr auto; } .pick-row img { width: 96px; height: 96px; } .pick-cta { grid-column: auto; flex-direction: column; } }
.faq { margin-top: 40px; max-width: 72ch; }
.faq h2 { font-size: 1.35rem; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.faq details p { margin-top: 8px; color: var(--muted); }

/* =============================================================
   10. Bandeja del comparador
   ============================================================= */
.tray { position: fixed; left: 50%; bottom: 16px; translate: -50% 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--ink); color: var(--bg); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); font-weight: 600; font-size: .9rem; max-width: calc(100% - 24px); white-space: nowrap; }
.tray-clear { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); }
.tray-clear svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) { .bot { animation: none; } }

/* =============================================================
   11. Capa visual v2
   ============================================================= */
body { background:
  radial-gradient(1200px 520px at 85% -120px, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
  radial-gradient(900px 480px at -10% 0, color-mix(in srgb, #6366f1 10%, transparent), transparent 70%),
  var(--bg) no-repeat; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
h2 { letter-spacing: -0.025em; }

/* Hero */
.hero { padding: 56px 0 28px; position: relative; }
.hero h1 { font-size: clamp(2.2rem, 6.4vw, 3.9rem); line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent-strong), #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-primary { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.hero-art { position: relative; min-height: 420px; }
.scene { width: 100%; max-width: 420px; height: auto; }
.trail { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: trail 7s ease-in-out infinite; }
@keyframes trail { 0% { stroke-dashoffset: 1400; } 60%, 100% { stroke-dashoffset: 0; } }
.bot-g { animation: roam 7s ease-in-out infinite; transform-origin: 300px 90px; }
@keyframes roam { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 14px) rotate(-8deg); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font: 800 1rem var(--display); color: var(--ink); }
.float-card small { display: block; font-size: .74rem; color: var(--muted); }
.float-card span { display: grid; max-width: 170px; }
.fc-top { left: -10px; bottom: 40px; }
.fc-a { right: 0; top: 190px; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -2s; }
.fc-b { left: 20px; top: 10px; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.atajos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.atajos span { font-weight: 700; color: var(--muted); font-size: .9rem; margin-right: 4px; }
.atajos a { padding: 9px 15px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s var(--ease); }
.atajos a:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-1px); }

.trust { margin-top: 36px; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 16px 0; }
.trust p { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--text); }
.trust svg { color: var(--accent-strong); flex: none; }

/* Anillo de nota */
.score-ring { --v: 0; --size: 46px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--accent) calc(var(--v) * 1%), color-mix(in srgb, var(--line) 80%, transparent) 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.score-ring b { position: relative; font: 800 .95rem var(--display); color: var(--ink); }
.score-ring-sm { --size: 44px; }
.card-media .score-ring { position: absolute; top: 10px; right: 10px; box-shadow: var(--shadow); }
.score-ring-lg { --size: 88px; }
.score-ring-lg::before { inset: 8px; }
.score-ring-lg b { font-size: 1.7rem; }
.score-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.score-hero-label { font: 800 1.15rem var(--display); color: var(--ink); }
.score-hero-sub { font-size: .88rem; color: var(--muted); }
.score-bars { list-style: none; padding: 0; display: grid; gap: 8px; margin: 10px 0 12px; }
.score-bars li { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 10px; font-size: .88rem; }
.sb-track { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.sb-fill { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 99px; background: linear-gradient(90deg, var(--accent), #6366f1); }
.sb-val { text-align: right; color: var(--ink); }

/* Tarjetas */
.card { border-radius: 22px; }
.card-media { background: radial-gradient(120% 90% at 50% 100%, var(--surface-2), var(--surface) 70%); border-bottom: 1px solid var(--line); }
.card-media img { transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.05) rotate(-2deg); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card-title { font-size: 1.06rem; line-height: 1.25; }
.precio-actual { font-size: 1.3rem; }

/* Categorías */
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cat-card { --tint: var(--accent); position: relative; overflow: hidden; padding: 22px; gap: 8px; background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 12%, var(--surface)), var(--surface) 60%); }
.cat-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; bottom: -60px; border-radius: 50%; background: color-mix(in srgb, var(--tint) 16%, transparent); transition: transform .4s var(--ease); }
.cat-card:hover::after { transform: scale(1.3); }
.cat-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 18%, var(--surface)); color: color-mix(in srgb, var(--tint) 75%, var(--ink)); }
.cat-icon svg { width: 26px; height: 26px; }
.cat-count { color: color-mix(in srgb, var(--tint) 70%, var(--ink)); }
.cat-economicos { --tint: #16a34a; }
.cat-aspira-y-trapea { --tint: #0ea5e9; }
.cat-autovaciado { --tint: #8b5cf6; }
.cat-mascotas { --tint: #f59e0b; }

/* Bloques de inicio */
.como { background: radial-gradient(600px 300px at 90% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), #0b1220; }
.como, .como h2 { color: #eef2f8; }
.como p { color: #b8c2d3; }
.como .btn-ghost { color: #eef2f8; border-color: #334155; }
.como-steps li { background: rgba(255, 255, 255, .06); }
.como-steps span { color: #a9b4c6; }
.guia-strip { background: linear-gradient(120deg, var(--accent-soft), color-mix(in srgb, #6366f1 12%, var(--surface))); }

/* Encabezados de página */
.page-head { position: relative; }
.page-head h1 { font-size: clamp(2rem, 5.4vw, 3rem); }

/* Ficha */
.galeria-main { background: radial-gradient(110% 90% at 50% 100%, var(--surface-2), var(--surface) 70%); border-radius: 24px; }
.ficha-head h1 { font-size: clamp(1.8rem, 4.6vw, 2.7rem); }
.ficha-cta .btn-amazon { box-shadow: 0 12px 26px -12px rgba(255, 176, 32, .8); }
.buybar { display: none; }
@media (max-width: 719px) {
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .buybar-info { min-width: 0; display: grid; }
  .buybar-info b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
  .buybar .precio-actual { font-size: 1.05rem; }
  .buybar .btn-amazon { flex: none; }
  body:has(.buybar) .tray { bottom: 84px; }
  .buybar .precio-antes, .buybar .badge, .buybar .precio-nota { display: none; }
  .buybar .precio { flex-wrap: nowrap; }
  body:has(.buybar) .site-footer { padding-bottom: 96px; }
  .hero-art { min-height: 0; }
}
@media (max-width: 959px) { .hero-art { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .trail, .bot-g, .float-card { animation: none; }
  .trail { stroke-dashoffset: 0; }
}
