/* =============================================================
   Tu Dispositivo Ideal — hoja de estilos única
   Concepto: "banco de pruebas". Fondo niebla fría, fichas blancas
   donde el producto posa como en un estudio, datos en tablas finas
   y la nota de cada dispositivo como el anillo de luz de un Echo.
   Índice: 1 Tokens · 2 Base · 3 Utilidades · 4 Tipografía
           5 Componentes · 6 Secciones · 7 Ficha · 8 Comparador
           9 Responsive · 10 Movimiento
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Color */
  --bg: #EDF1F4;          /* niebla fría */
  --surface: #FFFFFF;     /* estudio de producto */
  --surface-2: #F5F7F9;
  --ink: #0D1B2A;         /* azul tinta */
  --muted: #536171;
  --line: #D6DEE5;
  --line-soft: #E6EBF0;
  --ring: #1FB8DC;        /* anillo de luz Alexa */
  --accent: #0A7EA4;      /* versión legible del anillo para texto */
  --accent-soft: #DDF3F9;
  --deal: #D9442A;
  --deal-soft: #FCE7E2;
  --good: #0E7F57;
  --good-soft: #DDF3EA;
  --bad: #B23A3A;
  --star: #F2A20C;
  --cta-bg: #0D1B2A;
  --cta-fg: #FFFFFF;
  --buy-bg: #FFB21E;      /* botón de compra: ámbar, alto contraste con la tinta */
  --buy-fg: #1D1405;
  --shadow: 0 1px 2px rgba(13, 27, 42, .05), 0 8px 24px -12px rgba(13, 27, 42, .18);
  --s1: #0A7EA4; --s2: #D9442A; --s3: #6E56CF; --s4: #0E7F57;   /* series de gráficos */

  /* Tipografía */
  --f-ui: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-read: "Newsreader", Georgia, "Times New Roman", serif;
  --f-data: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --t-xs: .78rem; --t-sm: .875rem; --t-base: 1rem; --t-md: 1.125rem;
  --t-lg: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  --t-xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  --t-2xl: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);

  /* Espacio y forma */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 104px;   /* main.js lo ajusta a la altura real */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A121A; --surface: #111C27; --surface-2: #162331; --ink: #E6EDF3; --muted: #94A4B4;
    --line: #243546; --line-soft: #1B2A39; --ring: #3CCDEE; --accent: #5CD3EF; --accent-soft: #10303D;
    --deal: #FF7A5C; --deal-soft: #3A1C16; --good: #43CF95; --good-soft: #0F2E23; --bad: #FF8A8A; --star: #FFBE3D;
    --cta-bg: #E6EDF3; --cta-fg: #0A121A; --buy-bg: #FFB21E; --buy-fg: #1D1405;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
    --s1: #4CCBEB; --s2: #FF7A5C; --s3: #A08CFF; --s4: #43CF95;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A121A; --surface: #111C27; --surface-2: #162331; --ink: #E6EDF3; --muted: #94A4B4;
  --line: #243546; --line-soft: #1B2A39; --ring: #3CCDEE; --accent: #5CD3EF; --accent-soft: #10303D;
  --deal: #FF7A5C; --deal-soft: #3A1C16; --good: #43CF95; --good-soft: #0F2E23; --bad: #FF8A8A; --star: #FFBE3D;
  --cta-bg: #E6EDF3; --cta-fg: #0A121A; --buy-bg: #FFB21E; --buy-fg: #1D1405;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  --s1: #4CCBEB; --s2: #FF7A5C; --s3: #A08CFF; --s4: #43CF95;
  color-scheme: dark;
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  font-family: var(--f-ui); font-size: var(--t-base); line-height: 1.55;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ring); color: #06121C; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .js-only { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; border-radius: var(--r-sm); background: var(--cta-bg); color: var(--cta-fg); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--muted); }
.ico { width: 18px; height: 18px; flex: none; }
/* Sin tabular-nums: la coma tabular de Schibsted separa demasiado los decimales. */

/* =============================================================
   4. Tipografía
   ============================================================= */
.eyebrow { font-family: var(--f-data); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.h-section { font-size: var(--t-lg); font-weight: 700; }
.h-sub { font-size: var(--t-md); font-weight: 700; margin-block: 1.75rem .75rem; }
.page-title { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.035em; }
.page-intro { font-size: var(--t-md); color: var(--muted); max-width: 62ch; }
.prose { font-family: var(--f-read); font-size: 1.16rem; line-height: 1.7; max-width: 68ch; display: grid; gap: 1.1em; }
.prose .h-section, .prose h2 { font-family: var(--f-ui); margin-top: .9em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { display: grid; gap: .5em; padding-left: 1.2em; list-style: disc; }
.legal { font-size: 1.08rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(3px); }
.fineprint { font-size: var(--t-sm); color: var(--muted); margin-top: 1rem; }

/* =============================================================
   5. Componentes
   ============================================================= */
/* Aviso de afiliados superior */
.topnote { font-size: var(--t-xs); text-align: center; padding: .45rem var(--gutter); background: var(--ink); color: var(--bg); }
.topnote a { text-decoration: underline; text-underline-offset: 2px; }
.topnote-long { display: none; }

/* Cabecera */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) { .site-header { backdrop-filter: saturate(1.4) blur(12px); } }
.header-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cta" "nav nav"; align-items: center; gap: .5rem 1rem; padding-block: .6rem; }
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; white-space: nowrap; }
.nav-cta-label { display: none; }
.main-nav { grid-area: nav; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { flex: none; padding: .4rem .75rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.main-nav a:hover { color: var(--ink); background: var(--surface); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.site-header a.nav-cta, .site-header a.nav-cta:hover { grid-area: cta; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: var(--cta-bg); color: var(--cta-fg); font-weight: 600; font-size: var(--t-sm); }
.site-header a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--accent-soft); }
.nav-count { min-width: 1.35rem; height: 1.35rem; padding-inline: .3rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--ring); color: #06121C; font-size: .75rem; font-weight: 700; }

/* Migas */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding-block: 1.1rem .25rem; font-size: var(--t-sm); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.15rem; border-radius: 999px; font-weight: 650; font-size: var(--t-base); line-height: 1.1; white-space: nowrap; transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 16px; height: 16px; }
.btn-lg { min-height: 52px; padding: .8rem 1.5rem; font-size: var(--t-md); }
.btn-sm { min-height: 38px; padding: .5rem .9rem; font-size: var(--t-sm); }
.btn-primary { background: var(--cta-bg); color: var(--cta-fg); }
.btn-primary:hover { box-shadow: 0 8px 20px -10px var(--ink); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-buy { background: var(--buy-bg); color: var(--buy-fg); }
.btn-buy:hover { box-shadow: 0 10px 22px -10px var(--buy-bg); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-text { font-weight: 600; font-size: var(--t-sm); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: .5rem; }
.btn-text:hover { color: var(--ink); }

/* Botón comparar (estados) */
[data-compare-toggle] .ico-on, [data-compare-toggle] [data-label-on] { display: none; }
[data-compare-toggle][aria-pressed="true"] .ico-on, [data-compare-toggle][aria-pressed="true"] [data-label-on] { display: inline; }
[data-compare-toggle][aria-pressed="true"] .ico-add, [data-compare-toggle][aria-pressed="true"] [data-label-off] { display: none; }
[data-compare-toggle][aria-pressed="true"].btn-ghost { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn-compare-chip { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; padding: .3rem .1rem; font-size: var(--t-sm); font-weight: 600; color: var(--muted); }
.btn-compare-chip .ico { width: 16px; height: 16px; }
.btn-compare-chip:hover { color: var(--ink); }
.btn-compare-chip[aria-pressed="true"] { color: var(--accent); }

/* Insignias */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .5rem; border-radius: 6px; font-size: var(--t-xs); font-weight: 700; line-height: 1.2; }
.badge .ico { width: 13px; height: 13px; }
.badge-deal { background: var(--deal); color: #fff; }
.badge-flash { background: var(--deal-soft); color: var(--deal); }
.badge-win { background: var(--good-soft); color: var(--good); }

/* Estrellas */
.stars { position: relative; display: inline-block; line-height: 0; }
.stars-base, .stars-fill { display: flex; gap: 1px; }
.stars-base svg { fill: var(--line); }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars-fill svg { fill: var(--star); flex: none; }

/* Anillo de nota */
.ring { position: relative; display: inline-grid; place-items: center; width: var(--ring-size); height: var(--ring-size); flex: none; }
.ring svg { width: 100%; height: 100%; }
.ring-track { fill: none; stroke: var(--line-soft); stroke-width: 6; }
.ring-arc { fill: none; stroke: var(--ring); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--ring) 55%, transparent)); }
.ring-num { position: absolute; font-weight: 800; font-size: calc(var(--ring-size) * .3); letter-spacing: -0.03em; }

/* Precio */
.price { display: grid; gap: .15rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .55rem; }
.price-now { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.price-lg .price-now { font-size: 2.1rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: var(--t-sm); }
.price-note { font-size: var(--t-xs); color: var(--muted); }
.price-na { font-weight: 600; color: var(--muted); font-size: var(--t-sm); }

/* Tarjeta de producto */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #FFFFFF; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; transition: transform .5s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .badge { position: absolute; top: .8rem; left: .8rem; }
.card-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; border-top: 1px solid var(--line-soft); }
.card-title { font-size: 1.25rem; font-weight: 750; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-lead { color: var(--muted); font-size: var(--t-sm); }
.card-meta { display: flex; align-items: center; gap: .75rem; }
.card-rating { display: grid; gap: .15rem; font-size: var(--t-xs); color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .25rem; }

/* Bandeja de comparación */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.tray-inner { pointer-events: auto; max-width: 720px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .6rem .55rem .9rem; border-radius: 999px; background: var(--cta-bg); color: var(--cta-fg); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
.tray-items { display: flex; align-items: center; gap: .5rem; min-width: 0; padding-top: 6px; padding-right: 6px; }
.tray-item { position: relative; flex: none; }
.tray-thumb { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; }
.tray-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.tray-remove { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--deal); color: #fff; }
.tray-remove .ico { width: 12px; height: 12px; }
.tray-label { display: none; font-size: var(--t-sm); font-weight: 600; white-space: nowrap; }
.tray-actions { display: flex; align-items: center; gap: .25rem; }
.tray-actions .btn-text { color: inherit; opacity: .75; }
.compare-tray .btn-primary { background: var(--ring); color: #06121C; }
.buybar-on .compare-tray { bottom: 64px; }

/* =============================================================
   6. Secciones (inicio, categorías, guías, ofertas, pie)
   ============================================================= */
.section { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section-head { display: grid; gap: .4rem; margin-bottom: 1.4rem; }
.section-head.row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.section-note { color: var(--muted); font-size: var(--t-sm); max-width: 70ch; }
.section-note a { color: var(--accent); text-decoration: underline; }

/* Hero de inicio */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-copy { display: grid; gap: 1.1rem; min-width: 0; }
.hero-title { font-size: clamp(2.2rem, 1.3rem + 4vw, 4.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.hero-sub { font-size: var(--t-md); color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .4rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .6rem; font-size: var(--t-sm); color: var(--muted); }
.hero-facts strong { font-family: var(--f-data); color: var(--ink); font-size: 1.05rem; margin-right: .2rem; }
.hero-vs { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.1rem; display: grid; gap: .5rem; min-width: 0; }
.hero-vs-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--t-sm); }
.hero-vs-head a { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-weight: 600; }
.hero-vs-head .ico { width: 16px; height: 16px; }
.hero-vs-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; }
.vs-side { display: grid; justify-items: center; text-align: center; gap: .15rem; }
.vs-side img { width: min(120px, 100%); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--r-md); padding: .4rem; }
.vs-name { font-weight: 700; font-size: var(--t-sm); }
.vs-score { font-family: var(--f-data); font-size: 1.4rem; font-weight: 500; }
.vs-score span { font-size: .8rem; color: var(--muted); }
.vs-badge { font-family: var(--f-data); font-size: .8rem; padding: .35rem .5rem; border-radius: 999px; background: var(--ink); color: var(--bg); }
.radar-hero { max-width: 380px; margin-inline: auto; }

/* Categorías */
.cat-grid { display: grid; gap: 1rem; margin-top: 1.2rem; }
.cat-card { display: grid; gap: .5rem; padding: 1.2rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, transform .3s var(--ease-out); }
.cat-card:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.cat-imgs { display: flex; height: 92px; margin-bottom: .4rem; }
.cat-imgs img { width: 92px; height: 92px; object-fit: contain; background: #fff; border-radius: 50%; padding: .6rem; box-shadow: 0 0 0 3px var(--surface), var(--shadow); }
.cat-imgs img + img { margin-left: -22px; }
.cat-name { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; }
.cat-count { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--t-sm); color: var(--muted); }
.cat-count .ico { width: 16px; height: 16px; }

/* Guías */
.guide-grid { display: grid; gap: 1rem; }
.guide-card { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); transition: transform .3s var(--ease-out); }
.guide-card:hover { transform: translateY(-3px); }
.guide-title { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.guide-desc { color: var(--muted); font-size: var(--t-sm); }

/* Metodología (inicio) */
.method { display: grid; gap: 1.5rem; }
.method-copy { display: grid; gap: .8rem; align-content: start; }
.method-copy p { color: var(--muted); max-width: 48ch; }
.method-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.method-list li { display: grid; gap: .2rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.method-list span { color: var(--muted); font-size: var(--t-sm); }

/* Cabecera de página interior */
.page-head { display: grid; gap: 1.5rem; padding-block: 1.25rem 0; }
.page-head-copy { display: grid; gap: .9rem; min-width: 0; }
.page-head-aside { padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); align-self: start; }
.aside-k { font-weight: 700; margin-bottom: .6rem; }
.check-list { display: grid; gap: .5rem; font-size: var(--t-sm); }
.check-list li { display: flex; gap: .5rem; align-items: flex-start; }
.check-list .ico { width: 16px; height: 16px; color: var(--good); margin-top: .2rem; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.select { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--t-sm); color: var(--muted); }
.select select { padding: .55rem 2rem .55rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat; }
.related-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.75rem; }
.empty { padding: 1.5rem; border-radius: var(--r-md); background: var(--surface); color: var(--muted); }
.plain-links { display: grid; gap: .4rem; margin-top: 1rem; }
.plain-links a { color: var(--accent); text-decoration: underline; }

/* Ofertas */
.deal-list { display: grid; gap: 1rem; }
.deal { display: grid; gap: 1rem; padding: 1rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.deal-media { display: block; background: #fff; border-radius: var(--r-md); aspect-ratio: 4 / 3; overflow: hidden; }
.deal-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.deal-body { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.deal-pct { display: flex; align-items: center; gap: .6rem; font-family: var(--f-data); font-size: 2rem; font-weight: 500; color: var(--deal); line-height: 1; }
.deal-title { font-size: 1.4rem; font-weight: 750; }
.deal-lead { color: var(--muted); font-size: var(--t-sm); }
.deal-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1rem; margin-top: .3rem; }
.deal-data div { display: grid; }
.deal-data dt { font-size: var(--t-xs); color: var(--muted); }
.deal-data dd { font-weight: 700; }
.deal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; align-self: center; }

/* Guía tipo ranking */
.pick-list { display: grid; gap: 1.25rem; counter-reset: pick; }
.pick { counter-increment: pick; display: grid; gap: 1rem; padding: 1.1rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.pick-media { position: relative; display: block; background: #fff; border-radius: var(--r-md); aspect-ratio: 4 / 3; overflow: hidden; }
.pick-media::before { content: counter(pick); position: absolute; top: .6rem; left: .6rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--f-data); font-size: .95rem; }
.pick-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.pick-body { display: grid; gap: .6rem; align-content: start; min-width: 0; }
.pick-label { font-family: var(--f-data); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pick-title { font-size: 1.4rem; font-weight: 750; }
.pick-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: var(--t-sm); }
.pick-body > p { font-family: var(--f-read); font-size: 1.1rem; line-height: 1.6; }
.pick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .4rem; }

/* Tablas de datos */
.table-scroll { overflow-x: auto; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.data-table { width: 100%; font-size: var(--t-sm); }
.data-table th, .data-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.data-table thead th { font-family: var(--f-data); font-size: var(--t-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.data-table tbody th a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.data-table .rank { font-family: var(--f-data); color: var(--muted); }
.data-table tr:last-child > * { border-bottom: 0; }

/* Guía versus */
.verdict-vs { margin-bottom: 1.25rem; }
.vs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.vs-col { position: relative; display: grid; justify-items: center; text-align: center; gap: .6rem; padding: 1rem .75rem 1.2rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.vs-col.is-winner { box-shadow: inset 0 0 0 2px var(--good), var(--shadow); }
.vs-col .badge { position: absolute; top: .7rem; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.vs-col img { width: min(160px, 100%); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--r-md); margin-top: 1.4rem; }
.vs-col h3 { font-size: 1.15rem; }
.vs-col .btn { width: 100%; white-space: normal; text-align: center; }
.vs-col > * { max-width: 100%; }
.vs-col .price { justify-items: center; }
.vs-col .price-row { justify-content: center; }
.score-compare { display: grid; gap: 1.25rem; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { margin-top: 1rem; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 650; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-family: var(--f-data); font-size: 1.2rem; color: var(--muted); }
.faq[open] summary::after { content: "−"; }
.faq p { padding-bottom: 1.1rem; color: var(--muted); font-family: var(--f-read); font-size: 1.1rem; max-width: 68ch; }

/* Pie */
.site-footer { margin-top: clamp(2rem, 6vw, 5rem); padding-block: 3rem calc(5rem + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand p { margin-top: .8rem; color: var(--muted); font-size: var(--t-sm); max-width: 40ch; }
.footer-h { font-family: var(--f-data); font-size: var(--t-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.site-footer ul { display: grid; gap: .45rem; font-size: var(--t-sm); }
.site-footer ul a:hover { text-decoration: underline; }
.link-button { padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.link-button:hover { text-decoration: underline; }
.footer-legal { display: grid; gap: .7rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--muted); }
.footer-legal strong { color: var(--ink); }

/* =============================================================
   7. Ficha de producto
   ============================================================= */
.product-hero { display: grid; gap: 1.75rem; padding-top: 1rem; }
.gallery { display: grid; gap: .75rem; min-width: 0; }
.gallery-stage { background: #FFFFFF; border-radius: var(--r-lg); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.gallery-main { width: 100%; height: 100%; object-fit: contain; padding: clamp(1rem, 4vw, 2.5rem); transition: opacity .25s; }
.gallery-main.is-swapping { opacity: .2; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.thumb { display: block; flex: none; width: 68px; height: 68px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.thumb.is-active { box-shadow: 0 0 0 2px var(--ring); }
.product-info { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.product-title { font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.035em; }
.product-lead { font-family: var(--f-read); font-size: 1.3rem; line-height: 1.4; font-style: italic; }
.product-scores { display: grid; gap: .75rem; padding-block: .25rem; }
.score-block { display: flex; align-items: center; gap: .8rem; }
.score-block > div { display: grid; }
.score-cap { font-weight: 700; }
.score-sub { font-size: var(--t-sm); color: var(--muted); }
.score-sub a { color: var(--accent); text-decoration: underline; }
.score-amazon { padding-left: .1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { display: grid; padding: .5rem .75rem; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.chip-k { font-family: var(--f-data); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.chip-v { font-weight: 700; font-size: var(--t-sm); }
.chip-v .bool .ico { display: none; }
.buy-box { display: grid; gap: .9rem; padding: 1.2rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.buy-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.buy-actions .btn-buy { flex: 1 1 220px; }
.buy-note { font-size: var(--t-xs); color: var(--muted); }
.stock { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--t-sm); font-weight: 600; padding: .6rem .8rem; border-radius: var(--r-sm); }
.stock .ico { width: 16px; height: 16px; margin-top: .15rem; }
.stock-deal { background: var(--deal-soft); color: var(--deal); }
.stock-out { background: var(--surface-2); color: var(--muted); }

.section-tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) - 1px); z-index: 40; margin-top: 2rem; background: color-mix(in srgb, var(--bg) 92%, transparent); border-block: 1px solid var(--line); }
.section-tabs .wrap { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .4rem; }
.section-tabs .wrap::-webkit-scrollbar { display: none; }
.section-tabs a { flex: none; padding: .4rem .75rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 600; color: var(--muted); }
.section-tabs a:hover, .section-tabs a.is-active { color: var(--ink); background: var(--surface); }

.verdict { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.verdict-main { display: grid; gap: .6rem; }
.verdict-text { font-family: var(--f-read); font-size: 1.25rem; line-height: 1.55; max-width: 62ch; }
.ideal { padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--accent-soft); align-self: start; }
.ideal-k { font-family: var(--f-data); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: .3rem; }
.ideal-v { font-weight: 600; }

.rating-grid { display: grid; gap: 1.5rem; align-items: center; }
.radar { width: 100%; max-width: 440px; margin-inline: auto; min-height: 120px; }
.radar svg { width: 100%; height: auto; overflow: visible; }
.r-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.r-grid.r-outer { stroke: var(--muted); stroke-opacity: .45; }
.r-axis { stroke: var(--line); stroke-width: 1; }
.r-label { fill: var(--muted); font-family: var(--f-ui); font-size: 14px; font-weight: 600; }
.r-tick { fill: var(--muted); font-family: var(--f-data); font-size: 10px; opacity: .8; }
.r-poly { stroke-width: 2.25; stroke-linejoin: round; transform-origin: center; transform-box: view-box; animation: radar-in .8s var(--ease-out) both; }
.r-dot { stroke: var(--surface); stroke-width: 2; }
@keyframes radar-in { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.radar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; margin-top: .6rem; font-size: var(--t-sm); font-weight: 600; }
.radar-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.radar-legend i { width: 12px; height: 12px; border-radius: 3px; }

.bars { display: grid; gap: .85rem; width: 100%; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label val" "track track"; gap: .3rem .75rem; align-items: center; }
.bar-label { grid-area: label; font-size: var(--t-sm); font-weight: 600; }
.bar-val { grid-area: val; font-family: var(--f-data); font-size: var(--t-sm); }
.bar-track { grid-area: track; height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--ring)); }

/* Tabla de características */
.spec-table { width: 100%; font-size: var(--t-sm); }
.spec-table th, .spec-table td { padding: .7rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.spec-table tbody th { width: 38%; font-weight: 500; color: var(--muted); }
.spec-table td { font-weight: 600; }
.spec-group th { padding-top: 1.2rem; font-family: var(--f-data); font-size: var(--t-xs); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: var(--surface-2); }
.spec-table tbody:first-child .spec-group th { padding-top: .8rem; }
.spec-table .na { color: var(--muted); font-weight: 400; font-style: italic; opacity: .75; }
.spec-table .nd { color: var(--muted); }
.bool { display: inline-flex; align-items: center; gap: .3rem; }
.bool .ico { width: 16px; height: 16px; }
.bool-si { color: var(--good); }
.bool-no { color: var(--muted); }
.spec-table.is-compare { min-width: 520px; }
.spec-table.is-compare thead th { font-size: var(--t-sm); padding-block: .9rem; position: sticky; top: 0; background: var(--surface); }
.spec-table.is-compare thead a { text-decoration: underline; text-underline-offset: 3px; }
.spec-table.is-compare tbody th { width: auto; min-width: 150px; }
.spec-table td.is-best { background: var(--good-soft); color: var(--good); position: relative; }
.spec-table td.is-best::after { content: "Mejor"; display: block; font-family: var(--f-data); font-size: .66rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; opacity: .85; margin-top: .15rem; }
.only-diff tr[data-igual] { display: none; }
.extra-list { display: grid; gap: 0; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.extra-list div { display: grid; gap: .15rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line-soft); font-size: var(--t-sm); }
.extra-list div:last-child { border-bottom: 0; }
.extra-list dt { color: var(--muted); }
.extra-list dd { font-weight: 600; }
.sources { margin-top: 1rem; font-size: var(--t-sm); color: var(--muted); }
.sources summary { cursor: pointer; font-weight: 600; }
.sources ul { display: grid; gap: .3rem; margin-top: .5rem; padding-left: 1rem; list-style: disc; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }

/* Análisis */
.prose-section > .h-section { margin-bottom: 1.25rem; }
.pros-cons { display: grid; gap: 1rem; margin-top: 2rem; }
.pc { padding: 1.25rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.pc h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: .8rem; }
.pc h3 .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; }
.pc-pros h3 .ico { background: var(--good-soft); color: var(--good); }
.pc-cons h3 .ico { background: var(--deal-soft); color: var(--deal); }
.pc ul { display: grid; gap: .65rem; }
.pc li { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--t-sm); }
.pc li .ico { width: 17px; height: 17px; margin-top: .15rem; }
.pc-pros li .ico { color: var(--good); }
.pc-cons li .ico { color: var(--deal); }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--ink); color: var(--bg); }
.cta-inline .price-note, .cta-inline .price-was, .cta-inline .price-na { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.cta-k { font-weight: 700; margin-bottom: .2rem; }

/* Opiniones */
.opinions { display: grid; gap: 1.5rem; }
.opinions-summary { display: grid; gap: .5rem; align-content: start; padding: 1.25rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.big-rating { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.big-rating span { font-size: 1.2rem; color: var(--muted); font-weight: 600; }
.opinions-summary .muted { font-size: var(--t-sm); }
.opinions-text { font-family: var(--f-read); font-size: 1.08rem; line-height: 1.6; margin-top: .4rem; }
.reviews { display: grid; gap: .75rem; }
.review { display: grid; gap: .5rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.review p { font-size: var(--t-sm); }
.review-by { font-family: var(--f-data); font-size: var(--t-xs) !important; color: var(--muted); }

/* Alternativas */
.vs-list { display: grid; gap: .5rem; margin-block: 1.1rem 1.5rem; }
.vs-link { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; transition: box-shadow .2s; }
.vs-link:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.vs-link .vs { font-family: var(--f-data); font-size: .75rem; color: var(--muted); }
.vs-link .ico { width: 16px; height: 16px; margin-left: auto; color: var(--accent); }

/* Barra de compra fija (móvil) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .35); }
.buybar-info { display: grid; min-width: 0; }
.buybar-name { font-weight: 700; font-size: var(--t-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-price { font-weight: 800; }

/* =============================================================
   8. Comparador
   ============================================================= */
.cmp { display: grid; gap: 1.5rem; padding-top: 1.5rem; }
.cmp > *, .cmp-results > * { min-width: 0; }
.cmp-panel { padding: 1.1rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.cmp-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.cmp-panel-head h2 { font-size: 1.1rem; }
.cmp-hint { font-size: var(--t-sm); color: var(--muted); }
.cmp-search { flex: 1 1 220px; max-width: 320px; padding: .6rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.cmp-search:focus { outline: 2px solid var(--ring); outline-offset: 1px; }
.cmp-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.cmp-filter { padding: .35rem .8rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.cmp-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.cmp-option { position: relative; display: grid; justify-items: center; gap: .35rem; padding: .75rem .6rem .8rem; border-radius: var(--r-md); text-align: center; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-soft); transition: box-shadow .2s, transform .25s var(--ease-out); }
.cmp-option:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--muted); }
.cmp-option img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; }
.cmp-option-name { font-weight: 650; font-size: var(--t-sm); line-height: 1.2; }
.cmp-option-meta { font-size: var(--t-xs); color: var(--muted); }
.cmp-option-check { position: absolute; top: .5rem; right: .5rem; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.cmp-option-check .ico { width: 14px; height: 14px; opacity: 0; }
.cmp-option[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.cmp-option[aria-pressed="true"] .cmp-option-check { background: var(--accent); box-shadow: none; color: #fff; }
.cmp-option[aria-pressed="true"] .cmp-option-check .ico { opacity: 1; }
.cmp-option:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.cmp-results { display: grid; gap: 1.5rem; }
.cmp-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(140px, 1fr)); gap: .6rem; overflow-x: auto; padding-bottom: 4px; }
.cmp-col { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; gap: .5rem; padding: 1rem .6rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid var(--c); min-width: 0; }
.cmp-col-img { width: min(110px, 100%); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--r-md); }
.cmp-col h3 { font-size: 1rem; }
.cmp-col h3 a:hover { text-decoration: underline; }
.cmp-col .price { justify-items: center; }
.cmp-col .price-row { justify-content: center; }
.cmp-col .price-now { font-size: 1.15rem; }
.cmp-col .btn { width: 100%; white-space: normal; }
.cmp-remove { position: absolute; top: .5rem; right: .5rem; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.cmp-remove:hover { background: var(--surface-2); color: var(--ink); }
.cmp-remove .ico { width: 16px; height: 16px; }
.cmp-winners { display: grid; gap: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.cmp-winners li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line-soft); font-size: var(--t-sm); }
.cmp-winners li:last-child { border-bottom: 0; }
.cmp-winners strong { display: inline-flex; align-items: center; gap: .4rem; }
.cmp-winners i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cmp-switch { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--t-sm); font-weight: 600; cursor: pointer; }
.cmp-switch input { width: 18px; height: 18px; accent-color: var(--accent); }
.cmp-share { display: inline-flex; align-items: center; gap: .4rem; }
.cmp-empty { display: grid; justify-items: start; gap: .8rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-pc { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(180px, 1fr)); gap: .6rem; overflow-x: auto; }
.cmp-pc > div { padding: 1rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-sm); min-width: 0; }
.cmp-pc h3 { font-size: .95rem; margin-bottom: .6rem; }
.cmp-pc ul { display: grid; gap: .45rem; }
.cmp-pc li { display: flex; gap: .4rem; align-items: flex-start; }
.cmp-pc li .ico { width: 15px; height: 15px; margin-top: .2rem; }
.cmp-pc .is-pro .ico { color: var(--good); }
.cmp-pc .is-con .ico { color: var(--deal); }
.cmp-col .ring { margin-block: .1rem; }
.toast { position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%); z-index: 80; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: var(--t-sm); font-weight: 600; box-shadow: var(--shadow); }

/* =============================================================
   9. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-data { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vs-side img { width: 130px; }
  .tray-label { display: inline; }
  .brand-name { font-size: 1.2rem; }
  .nav-cta-label { display: inline; }
  .topnote-long { display: inline; }
}
@media (min-width: 720px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinions { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
  .opinions-summary { position: sticky; top: calc(var(--header-h) + 110px); }
  .verdict { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .deal { grid-template-columns: 200px minmax(0, 1fr); }
  .deal-cta { grid-column: 2; }
  .pick { grid-template-columns: 220px minmax(0, 1fr); }
  .rating-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .score-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra-list div { grid-template-columns: 38% 1fr; }
  .spec-table tbody th { width: 34%; }
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
  .method { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .page-head { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
  .page-head.compact, .article-head { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  :root { --header-h: 66px; }
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav cta"; padding-block: .75rem; }
  .main-nav { margin: 0; padding: 0; justify-content: center; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; }
  .product-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 50px); }
  .gallery-stage { aspect-ratio: 1; }
  .product-scores { grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 1.5rem; }
  .deal { grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; }
  .deal-cta { grid-column: auto; flex-direction: column; align-items: stretch; }
  .buybar { display: none; }
  .buybar-on .compare-tray { bottom: 0; }
  .site-footer { padding-bottom: 3rem; }
}
@media (min-width: 1280px) {
  .prose { font-size: 1.22rem; }
}

/* =============================================================
   10. Movimiento (solo se desactiva lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r-poly { animation: none; }
}

/* =============================================================
   11. Huecos de publicidad (marcadores, sin anuncios reales)
   Formatos IAB: banner 728×90 (móvil 320×100), rectángulo 300×250,
   pop-up 336×280 y notificación de esquina 300×100.
   ============================================================= */
.ad-row { display: flex; justify-content: center; padding-block: 1.25rem; }
.ad {
  display: grid; place-content: center; justify-items: center; gap: .2rem; width: 100%;
  border: 1.5px dashed var(--line); border-radius: var(--r-sm); color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface) 10px 20px);
}
.ad-label { font-family: var(--f-data); font-size: .78rem; font-weight: 500; letter-spacing: .22em; }
.ad-size { font-family: var(--f-data); font-size: .7rem; opacity: .8; }
.ad-size-desk { display: none; }
.ad-horizontal { max-width: 320px; aspect-ratio: 320 / 100; }
.ad-rectangulo { max-width: 300px; aspect-ratio: 300 / 250; }
.ad-popup { width: 100%; aspect-ratio: 336 / 280; }
.ad-notif { aspect-ratio: 300 / 100; }

.ad-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(6, 12, 18, .6); }
.ad-modal-box { position: relative; width: min(368px, 100%); padding: 2.6rem 1rem 1rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); animation: ad-pop .35s var(--ease-out) both; }
.ad-close { position: absolute; top: .55rem; right: .55rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--ink); }
.ad-close:hover { background: var(--line); }
.ad-close .ico { width: 18px; height: 18px; }
.ad-modal-open { overflow: hidden; }

.ad-corner { position: fixed; z-index: 70; right: 12px; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 12px); width: min(300px, calc(100vw - 24px)); padding: .4rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); animation: ad-slide .45s var(--ease-out) both; }
.ad-corner .ad-close-sm { top: -10px; right: -10px; width: 26px; height: 26px; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.ad-close-sm .ico { width: 14px; height: 14px; }

@keyframes ad-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes ad-slide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width: 720px) {
  .ad-horizontal { max-width: 728px; aspect-ratio: 728 / 90; }
  .ad-size-desk { display: inline; }
  .ad-size-mob { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-modal-box, .ad-corner { animation: none; }
}
