/* ==========================================================================
   Cualcomprar · hoja de estilos
   1 Tokens · 2 Base · 3 Layout · 4 Componentes · 5 Páginas · 6 Comparador · 7 Responsive
   ========================================================================== */

/* 0 · TIPOGRAFÍAS (alojadas aquí mismo, no en Google Fonts) --------------- */
/* Bricolage Grotesque y Inter son fuentes variables (un único fichero
   cubre todo el rango de peso): por eso varios @font-face con distinto
   font-weight apuntan al mismo .woff2, igual que hace Google. Solo se
   incluyen los subconjuntos "latin" y "latin-ext" (bastan para español). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 1 · TOKENS ------------------------------------------------------------- */
:root {
  --bg: #f5f3ee;
  --bg-alt: #ece9e1;
  --surface: #ffffff;
  --ink: #111317;
  --ink-2: #2a2e36;
  --muted: #5b616b;
  --line: #e2ded3;
  --accent: #ff5a1f;
  --accent-d: #e24a10;
  --accent-soft: #fff0e8;
  --graphite: #14171c;
  --graphite-2: #1d2128;
  --ok: #0f7a57;
  --ok-soft: #e6f5ef;
  --bad: #b3361d;
  --bad-soft: #fbece8;
  --blue: #2563eb;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-1: 0 1px 2px rgba(17, 19, 23, .06), 0 6px 18px -8px rgba(17, 19, 23, .14);
  --shadow-2: 0 2px 4px rgba(17, 19, 23, .06), 0 22px 44px -18px rgba(17, 19, 23, .28);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* 2 · BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.ico { flex: none; }

/* 3 · LAYOUT ------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.wrap.narrow { margin: 0 auto; }
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section-tight { padding-top: 8px; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: clamp(22px, 3vw, 36px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { font: 600 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-d); margin: 0 0 .7em; }
.eyebrow-light { color: #ff9a73; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); }
.link-arrow:hover { color: var(--accent-d); }

/* 4 · COMPONENTES -------------------------------------------------------- */
/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.4rem/1 var(--font-display); letter-spacing: -.03em; text-decoration: none; }
.brand-mark { display: block; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { background: rgba(17, 19, 23, .06); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-cta { margin-left: 6px; }
.cmp-count:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .75rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent; background: var(--ink); color: #fff; font: 600 .95rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-buy { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 90, 31, .7); }
.btn-buy:hover { background: var(--accent-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost[aria-pressed="true"] { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-small { padding: 9px 15px; font-size: .88rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.cmp-on { display: none; }
[aria-pressed="true"] .cmp-on { display: inline; }
[aria-pressed="true"] .cmp-off { display: none; }

/* Tarjetas */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card, .card-flat { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.card { box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card-flat { padding: clamp(18px, 3vw, 30px); }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.card-media { display: block; background: #fff; aspect-ratio: 1; padding: 18px; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .eyebrow { margin: 0; color: var(--muted); letter-spacing: .08em; }
.card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--accent-d); }
.card-tag { align-self: flex-start; font-size: .74rem; font-weight: 600; color: var(--accent-d); background: var(--accent-soft); padding: 5px 10px; border-radius: 8px; line-height: 1.3; }
.badge { display: inline-block; background: var(--ink); color: #fff; font: 600 .72rem/1 var(--font-body); padding: 7px 11px; border-radius: 99px; max-width: calc(100% - 28px); }
.badge-off { position: static !important; background: var(--bad); margin-left: 8px; }
.chips { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; }
.chips li { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: .8rem; font-weight: 500; }
.rating { font-size: .88rem; }
.stars { color: #f0a000; letter-spacing: 1px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-now { font: 800 1.55rem/1 var(--font-display); letter-spacing: -.03em; }
.price-old { color: var(--muted); }
.price-note { flex-basis: 100%; font-size: .78rem; color: var(--muted); }
.card-score { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: .82rem; color: var(--muted); }
.card-score b { font: 800 1.05rem var(--font-display); color: var(--ink); }
.card-score i, .bar i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--w), var(--line) var(--w)); }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-actions .btn { flex: 1; }
.empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); text-align: center; color: var(--ink-2); }
.empty h3 { margin-bottom: .4em; }

/* Migas, toolbar, tablas */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 18px 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-d); }
.toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.toolbar select { margin-left: 8px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: inherit; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tbody th[scope="row"] { font-weight: 500; color: var(--muted); width: 42%; }
.spec-table td { font-weight: 600; }
.spec-table td.na { color: #a7aab0; font-weight: 400; }
.spec-table .group-row th { background: var(--bg); font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-d); padding-top: 14px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table.mini thead th { background: var(--bg); font-weight: 700; }

/* Pie */
.site-footer { background: var(--graphite); color: #cfd3da; padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .muted { color: #9aa1ac; }
.disclosure { background: var(--graphite-2); border: 1px solid #2c323c; border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 20px; font-size: .92rem; margin-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.footer-grid ul a { color: #cfd3da; text-decoration: none; }
.footer-grid ul a:hover { color: #fff; text-decoration: underline; }
.legal-line { margin-top: 36px; padding-top: 22px; border-top: 1px solid #2c323c; font-size: .8rem; color: #8a919c; max-width: 90ch; }

/* 5 · PÁGINAS ------------------------------------------------------------ */
/* Hero */
.hero { background: radial-gradient(900px 480px at 85% 10%, rgba(255, 90, 31, .24), transparent 60%), linear-gradient(180deg, #14171c, #0d0f13); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 20%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.15rem; color: #c3c8d0; max-width: 56ch; margin-bottom: 1.6em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #aab0ba; font-size: .9rem; }
.hero-points li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 700; }
.hero-card { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; padding: 20px 20px 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero-card-head { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: #d3d7de; margin-bottom: 4px; }
.hero-card-head i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; }
.hero-card-link { display: block; text-align: center; color: #fff; font-weight: 600; text-decoration: none; padding-top: 6px; }
.hero-card-link:hover { color: var(--accent); }

/* Categorías */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.cat-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--accent); }
.cat-card .ico { color: var(--accent); margin-bottom: 8px; }
.cat-card b { font: 700 1.05rem var(--font-display); }
.cat-card span { color: var(--muted); font-size: .85rem; }
.cat-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cat-card-lg p { margin: 8px 0 0; font-size: .92rem; color: var(--ink-2); }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-d); font: 800 1.1rem var(--font-display); margin-bottom: 14px; }
.guide-card { padding: 28px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.guide-card h3 { font-size: 1.4rem; }
.guide-card p:not(.eyebrow) { color: var(--ink-2); }
.guide-card .link-arrow { align-self: flex-start; margin-top: auto; }

/* Cabecera de página */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(8px, 2vw, 20px); }
.page-head h1 { margin-bottom: .35em; }
.page-head-compact { padding-bottom: 0; }
.section-tail { margin-top: 48px; }
.plain { list-style: none; padding: 0; display: grid; gap: 8px; }

/* Ficha */
.ficha-top { padding: 18px 0 40px; }
.ficha-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.gallery-main .slide { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 74px; height: 74px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 5px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ficha-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.quick-facts { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.quick-facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; }
.quick-facts b { font: 800 1.5rem/1 var(--font-display); letter-spacing: -.03em; }
.quick-facts span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.quick-facts em { font-style: normal; font-size: .76rem; color: var(--accent-d); font-weight: 600; margin-top: 4px; }
.ficha-info .cta-row { margin: 18px 0 10px; }
.affiliate-note { font-size: .8rem; color: var(--muted); }
.ficha-nav { position: sticky; top: 68px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.ficha-nav .wrap { display: flex; gap: 6px; overflow-x: auto; }
.ficha-nav a { padding: 14px 14px; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; color: var(--ink-2); border-bottom: 3px solid transparent; }
.ficha-nav a:hover { border-color: var(--accent); }
.radar-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 48px); align-items: center; }
.radar-wrap { max-width: 440px; margin: 0 auto; width: 100%; }
.radar { width: 100%; height: auto; display: block; overflow: visible; }
.radar-ring { fill: none; stroke: #d9d5ca; stroke-width: 1; }
.radar-ring:nth-of-type(5) { stroke: #bdb8aa; }
.radar-axis { stroke: #d9d5ca; stroke-width: 1; }
.radar-label { font: 600 12.5px var(--font-body); fill: var(--ink-2); }
.radar-dark .radar-ring, .radar-dark .radar-axis { stroke: rgba(255, 255, 255, .16); }
.radar-dark .radar-label { fill: #d3d7de; }
.big-score { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.big-score b { font: 800 4.2rem/1 var(--font-display); letter-spacing: -.05em; color: var(--accent-d); }
.big-score span { font-weight: 600; line-height: 1.3; }
.big-score em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .88rem; }
.score-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.score-list li { display: grid; grid-template-columns: 120px 1fr 28px; gap: 12px; align-items: center; font-size: .92rem; }
.score-list b { text-align: right; font-family: var(--font-display); }
.bar { display: block; }
.bar i { grid-column: auto; }
.verdict { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.spec-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.included { position: sticky; top: 140px; }
.included h3 { margin-bottom: 14px; }
.tick { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.tick li { position: relative; padding-left: 26px; font-size: .93rem; }
.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.prose { font-size: 1.07rem; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.pc { border-radius: var(--radius); padding: 22px 24px; }
.pc h3 { margin-bottom: 12px; font-size: 1.05rem; }
.pc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.pc li { position: relative; padding-left: 26px; }
.pros { background: var(--ok-soft); } .pros h3 { color: var(--ok); }
.cons { background: var(--bad-soft); } .cons h3 { color: var(--bad); }
.pros li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: var(--ok); width: 18px; text-align: center; }
.cons li::before { content: "–"; position: absolute; left: 0; font-weight: 800; color: var(--bad); width: 18px; text-align: center; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.fit h3 { font-size: 1.02rem; margin-bottom: 6px; }
.fit p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.cta-center { text-align: center; margin-top: 32px; }
.reviews { display: grid; gap: 14px; margin: 22px 0; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.review blockquote { margin: 6px 0 10px; font-size: 1.02rem; }
.review figcaption { font-size: .82rem; color: var(--muted); }
.sources { margin-top: 18px; font-size: .9rem; }
.sources summary { cursor: pointer; font-weight: 600; }
.sticky-buy { display: none; }

/* Guías */
.answer { border-left: 4px solid var(--accent); margin: 24px 0 14px; }
.answer b { font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-d); }
.answer p { margin: 8px 0 0; font-size: 1.05rem; }
.picks { display: grid; gap: 20px; }
.pick { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; }
.pick img { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 10px; width: 180px; height: 180px; object-fit: contain; }
.pick-rank { position: absolute; top: -12px; left: -8px; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1.1rem var(--font-display); z-index: 2; }
.pick-body .eyebrow { margin-bottom: .4em; }
.pick-body h3 { font-size: 1.35rem; margin-bottom: .3em; }
.pick-body h3 a { text-decoration: none; }
.mini-pc { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: .92rem; }
.mini-pc li { position: relative; padding-left: 22px; }
.mini-pc .ok::before { content: "+"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.mini-pc .ko::before { content: "–"; position: absolute; left: 3px; color: var(--bad); font-weight: 800; }
.pick-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.criteria { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: c; }
.criteria li { counter-increment: c; position: relative; padding-left: 52px; }
.criteria li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-d); display: grid; place-items: center; font: 800 1rem var(--font-display); }
.criteria h3 { font-size: 1.12rem; margin-bottom: .25em; }
.criteria p { margin: 0; color: var(--ink-2); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-d); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--ink-2); }

/* 6 · COMPARADOR --------------------------------------------------------- */
.cmp-picker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 26px; }
.cmp-picker-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.cmp-picker h2 { font-size: 1.15rem; margin: 0; }
.cmp-search { flex: 1 1 220px; max-width: 340px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: inherit; }
.cmp-options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cmp-option { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.cmp-option:hover { border-color: var(--ink); }
.cmp-option[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.cmp-option[disabled] { opacity: .45; cursor: not-allowed; }
.cmp-option img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; flex: none; }
.cmp-option span { display: grid; font-size: .86rem; line-height: 1.3; }
.cmp-option b { font-weight: 600; }
.cmp-option em { font-style: normal; color: var(--muted); }
.cmp-option .tick-mark { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .8rem; flex: none; background: #fff; }
.cmp-option[aria-pressed="true"] .tick-mark { background: var(--accent); border-color: var(--accent); color: #fff; }
.cmp-hint { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.cmp-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cmp-empty { text-align: center; padding: 40px 20px; }
.cmp-result { display: grid; gap: 26px; }
.cmp-top { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.cmp-heads { display: grid; gap: 14px; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.cmp-head { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.cmp-head img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; }
.cmp-head h3 { font-size: 1rem; margin: 0; }
.cmp-head h3 a { text-decoration: none; }
.cmp-head .price-now { font-size: 1.3rem; }
.cmp-head .rating { font-size: .8rem; }
.cmp-head .btn { margin-top: auto; }
.cmp-remove { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; line-height: 1; }
.cmp-remove:hover { background: var(--ink); color: #fff; }
.cmp-radar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px 18px; }
.cmp-radar .radar { max-width: 420px; margin: 0 auto; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: .84rem; margin-top: 6px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.wins { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.win { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; }
.win b { font: 800 1.6rem var(--font-display); display: block; line-height: 1.1; }
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 520px; font-size: .94rem; }
.cmp-table th, .cmp-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp-table thead th { background: var(--bg); position: sticky; top: 0; font-family: var(--font-display); border-top: 4px solid var(--c, transparent); font-size: .95rem; }
.cmp-table tbody th[scope="row"] { font-weight: 500; color: var(--muted); background: var(--surface); position: sticky; left: 0; z-index: 1; min-width: 150px; box-shadow: 1px 0 0 var(--line); }
.cmp-table .group-row th { background: var(--bg); font: 700 .76rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--accent-d); position: static; box-shadow: none; }
.cmp-table td { font-weight: 600; }
.cmp-table td.na { color: #a7aab0; font-weight: 400; }
.cmp-table td.best { background: var(--ok-soft); color: var(--ok); position: relative; }
.cmp-table td.best::after { content: "★"; font-size: .7rem; margin-left: 6px; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.cmp-tools label { font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.cmp-tray { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--graphite); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-2); max-width: calc(100vw - 24px); }
.cmp-tray[hidden] { display: none; }
.cmp-tray span { font-weight: 600; font-size: .92rem; }
.cmp-tray button { background: transparent; color: #cfd3da; border: 0; cursor: pointer; text-decoration: underline; font-size: .85rem; }

/* 7 · RESPONSIVE --------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .ficha-grid, .radar-block, .spec-layout, .cmp-top { grid-template-columns: minmax(0, 1fr); }
  .gallery, .included { position: static; }
  .hero-card { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px var(--gutter) 16px; gap: 2px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .sticky-buy { display: flex; position: fixed; z-index: 55; left: 10px; right: 10px; bottom: 10px; background: var(--graphite); color: #fff; border-radius: 18px; padding: 10px 10px 10px 16px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-2); }
  .sticky-buy div { display: grid; min-width: 0; }
  .sticky-buy b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: #c3c8d0; }
  .sticky-buy span { font: 800 1.2rem var(--font-display); }
  .site-footer { padding-bottom: 96px; }
  .cmp-tray { bottom: 84px; }
}
@media (max-width: 640px) {
  .pros-cons, .fit { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .pick img { width: 140px; height: 140px; }
  .score-list li { grid-template-columns: 100px 1fr 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-actions { flex-wrap: wrap; }
  .cmp-heads { grid-template-columns: repeat(var(--n), minmax(150px, 1fr)); overflow-x: auto; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .big-score b { font-size: 3.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Evita que contenidos con scroll propio (miniaturas, tablas) ensanchen la cuadrícula */
.ficha-grid > *, .radar-block > *, .spec-layout > *, .cmp-top > *, .hero-grid > * { min-width: 0; }
.thumbs { max-width: 100%; }
