/* =============================================================
   FryScore — hoja de estilo unica, por secciones
   1. Tokens              5. Componentes        9. Comparador
   2. Reset & base        6. Cabecera / nav     10. Guia / ofertas
   3. Utilidades          7. Home               11. Footer
   4. Tipografia          8. Ficha producto     12. Responsive / motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #faf6f0;
  --bg-warm:   #f3ece1;
  --surface:   #ffffff;
  --surface-2: #fbf7f1;
  --ink:       #211d18;
  --ink-soft:  #4a4239;
  --muted:     #7a7062;
  --line:      #e7ded1;
  --line-soft: #f0e8dc;

  --accent:      #d8501c;   /* ember / "crisp" */
  --accent-ink:  #ffffff;
  --accent-tint: #fbe9df;
  --accent-2:    #12695a;   /* deep teal */
  --accent-2-tint:#e0efeb;
  --gold:        #e0972f;
  --good:        #1d7a53;
  --bad:         #b23b2e;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 1px 2px rgba(33, 26, 18, .06), 0 2px 8px rgba(33, 26, 18, .05);
  --shadow-md: 0 4px 12px rgba(33, 26, 18, .08), 0 14px 40px rgba(33, 26, 18, .09);
  --shadow-lg: 0 8px 24px rgba(33, 26, 18, .10), 0 30px 70px rgba(33, 26, 18, .14);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 68px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --media-bg: #ffffff;   /* fondo blanco para fotos de producto, en cualquier tema */
  --c1: #d8501c;  /* series colours para el radar del comparador */
  --c2: #12695a;
  --c3: #7048a8;
  --c4: #b8860b;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #16130e;
    --bg-warm:   #1d1811;
    --surface:   #201b14;
    --surface-2: #251f17;
    --ink:       #f4ece0;
    --ink-soft:  #d9cdbb;
    --muted:     #a99d89;
    --line:      #38301f;
    --line-soft: #2c2417;

    --accent:      #f0703a;
    --accent-ink:  #1a1206;
    --accent-tint: #38210f;
    --accent-2:    #58b9a6;
    --accent-2-tint:#12302b;
    --gold:        #edb457;
    --good:        #57c08a;
    --bad:         #ef8577;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 14px 40px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 30px 70px rgba(0,0,0,.55);

    --c1: #f0703a;
    --c2: #58b9a6;
    --c3: #b28ae0;
    --c4: #e6b95c;
  }
}
:root[data-theme="dark"] {
  --bg:        #16130e;
  --bg-warm:   #1d1811;
  --surface:   #201b14;
  --surface-2: #251f17;
  --ink:       #f4ece0;
  --ink-soft:  #d9cdbb;
  --muted:     #a99d89;
  --line:      #38301f;
  --line-soft: #2c2417;
  --accent:      #f0703a;
  --accent-ink:  #1a1206;
  --accent-tint: #38210f;
  --accent-2:    #58b9a6;
  --accent-2-tint:#12302b;
  --gold:        #edb457;
  --good:        #57c08a;
  --bad:         #ef8577;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 14px 40px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.5), 0 30px 70px rgba(0,0,0,.55);
  --c1: #f0703a; --c2: #58b9a6; --c3: #b28ae0; --c4: #e6b95c;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 560; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-top: .6rem; }
.section-head p { color: var(--muted); margin-top: .7rem; font-size: 1.02rem; }

/* =============================================================
   4. Tipografia auxiliar
   ============================================================= */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.2rem; margin-bottom: .7rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   5. Componentes
   ============================================================= */
.btn {
  --_bg: var(--ink); --_fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.3rem; border-radius: 999px;
  font-weight: 650; font-size: .95rem; line-height: 1;
  background: var(--_bg); color: var(--_fg);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--buy { --_bg: var(--accent); --_fg: var(--accent-ink); box-shadow: 0 6px 18px rgba(216, 80, 28, .28); }
.btn--buy:hover { box-shadow: 0 10px 26px rgba(216, 80, 28, .36); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--teal { --_bg: var(--accent-2); --_fg: #fff; }
.btn--sm { padding: .58rem .95rem; font-size: .86rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .6rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  background: var(--accent-2-tint); color: var(--accent-2);
  font-family: var(--sans);
}
.badge svg { width: 1em; height: 1em; flex: none; }
.badge--deal { background: var(--accent-tint); color: var(--accent); }
.badge--pick { background: var(--ink); color: var(--bg); }

.stars {
  display: inline-flex; align-items: center; gap: .12rem;
  color: var(--gold); font-size: .95rem; letter-spacing: .04em;
}
.stars + .stars-meta { margin-left: .5rem; color: var(--muted); font-size: .86rem; font-family: var(--sans); }

.pricebox { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price-now { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.price-note { width: 100%; color: var(--muted); font-size: .78rem; font-family: var(--sans); }
.price-none { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-soft); }

/* Tarjeta de producto */
.pcard {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.pcard-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--media-bg);
  display: grid; place-items: center; padding: 1.2rem;
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; }
.pcard-flag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
}
.pcard-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pcard-cat { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard-name { font-size: 1.12rem; line-height: 1.2; }
.pcard-name a::after { content: ""; position: absolute; inset: 0; }
.pcard-specs { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .8rem; font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); }
.pcard-specs li { display: flex; align-items: center; gap: .35rem; }
.pcard-specs li svg { width: 14px; height: 14px; flex: none; color: var(--accent-2); }
.pcard-foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; position: relative; z-index: 1; }
.pcard-compare {
  font-family: var(--sans); font-size: .8rem; font-weight: 650; color: var(--accent-2);
  display: inline-flex; align-items: center; gap: .35rem; border: 1.5px solid var(--line);
  padding: .42rem .7rem; border-radius: 999px; transition: border-color .18s, background-color .18s;
}
.pcard-compare svg { width: 14px; height: 14px; flex: none; }
.pcard-compare:hover { border-color: var(--accent-2); background: var(--accent-2-tint); }
.pcard-compare[aria-pressed="true"] { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }

.grid-cards {
  display: grid; gap: clamp(1rem, 2.5vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* =============================================================
   6. Cabecera / navegacion
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(4px)) { .site-header { background: var(--bg); } }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, var(--accent), #f0973f);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 3px 10px rgba(216,80,28,.35);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: .3rem; font-family: var(--sans); }
.nav-links a {
  padding: .5rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 550;
  color: var(--ink-soft); transition: color .16s, background-color .16s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
  background: var(--accent); color: var(--accent-ink); font-weight: 650;
}
.nav-links a.nav-cta { box-shadow: 0 4px 12px rgba(216,80,28,.28); }
.nav-cta .cmp-count {
  display: none; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--accent-ink); color: var(--accent);
  font-size: .72rem; font-weight: 800; line-height: 18px; text-align: center;
}
.nav-cta.has-items .cmp-count { display: inline-block; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* =============================================================
   7. Home
   ============================================================= */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 8vw, 5.5rem);
  background:
    radial-gradient(60% 70% at 85% 0%, var(--accent-tint), transparent 70%),
    radial-gradient(50% 60% at 5% 100%, var(--accent-2-tint), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); font-weight: 570; }
.hero .lead { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--ink-soft); margin-top: 1.1rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2rem; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 16px; height: 16px; flex: none; color: var(--accent-2); }
.hero-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--media-bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 2rem;
}
.hero-visual img { width: 100%; height: 100%; object-fit: contain; }
.hero-visual figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  font-family: var(--sans); font-size: .8rem; color: var(--muted);
  background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(4px);
  padding: .5rem .7rem; border-radius: 10px;
}

/* Metodo / como elegimos */
.method-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.method-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.method-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: .8rem; }
.method-card .ic svg { width: 20px; height: 20px; }
.method-card h3 { font-size: 1.05rem; }
.method-card p { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

/* Categorias */
.cat-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.cat-card h3 svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.cat-card p { color: var(--muted); font-size: .88rem; }
.cat-card .cat-count { margin-top: auto; font-family: var(--sans); font-size: .8rem; font-weight: 650; color: var(--accent-2); }
.cat-card a::after { content: ""; position: absolute; inset: 0; }

/* =============================================================
   8. Ficha de producto
   ============================================================= */
.breadcrumb { font-family: var(--sans); font-size: .82rem; color: var(--muted); padding-top: 1.2rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--line); }

.ficha-top { display: grid; gap: clamp(1.5rem, 4vw, 3rem); padding-top: 1.5rem; }

/* Galeria */
.gallery { display: flex; flex-direction: column; gap: .8rem; }
.gallery-main {
  position: relative; aspect-ratio: 1 / 1; background: var(--media-bg); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; padding: 1.6rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .55rem; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 64px; height: 64px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #f4efe7; padding: 6px; overflow: hidden; transition: border-color .16s;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); }

/* Cabecera de la ficha */
.ficha-head .ficha-brand { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ficha-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .4rem 0 .7rem; }
.ficha-flags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.ficha-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.ficha-buy {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .8rem;
}
.ficha-buy .pricebox { margin-bottom: .2rem; }
.ficha-summary { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; font-family: var(--sans); font-size: .9rem; }
.ficha-summary li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-soft); }
.ficha-summary li svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; color: var(--accent-2); }

/* Bloques de seccion en la ficha */
.ficha-block { padding-block: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.ficha-block > h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: 1.2rem; }
.ficha-block > h2 .muted-note { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: .3rem; }

/* Radar */
.radar-wrap { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: minmax(0, 360px) 1fr; }
.radar-figure { position: relative; width: 100%; max-width: 340px; min-height: 280px; margin-inline: auto; align-self: start; }
.radar-figure canvas { width: 100%; height: 100%; }
.score-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-family: var(--sans); }
.score-list li { display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; align-items: center; font-size: .9rem; }
.score-bar { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.score-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #f0973f); }
.score-val { font-weight: 700; color: var(--ink); }

/* Tabla de especificaciones */
.spec-table { font-family: var(--sans); font-size: .92rem; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table caption { text-align: left; font-weight: 700; padding: .8rem 1rem; background: var(--surface-2); color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: .72rem 1rem; vertical-align: top; }
.spec-table tbody tr:not(:last-child) th, .spec-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line-soft); }
.spec-table th { width: 42%; color: var(--muted); font-weight: 550; }
.spec-table td { color: var(--ink); font-weight: 550; }
.spec-group + .spec-group { margin-top: 1.2rem; }
.spec-extra { margin-top: 1rem; }
.spec-extra summary { cursor: pointer; font-family: var(--sans); font-weight: 650; font-size: .9rem; padding: .6rem 0; color: var(--accent-2); }
.spec-extra table { margin-top: .5rem; }

/* Editorial + pros/contras */
.editorial-body { max-width: 68ch; }
.editorial-body p { margin-bottom: 1rem; color: var(--ink-soft); }
.editorial-body h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.proscons { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: 1.6rem; }
.proscons-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; }
.proscons-col h3 { font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: .45rem; margin-bottom: .7rem; }
.proscons-col h3 svg { width: 16px; height: 16px; flex: none; }
.proscons-col.pros h3 { color: var(--good); }
.proscons-col.contras h3 { color: var(--bad); }
.proscons-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-family: var(--sans); font-size: .9rem; }
.proscons-col li { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-soft); }
.proscons-col li svg { width: 15px; height: 15px; flex: none; margin-top: .22rem; }
.proscons-col.pros li svg { color: var(--good); }
.proscons-col.contras li svg { color: var(--bad); }
.ideal-para { margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--accent-2-tint); border-radius: var(--radius-sm); font-family: var(--sans); font-size: .95rem; color: var(--ink); border-left: 4px solid var(--accent-2); }

/* Reseñas */
.reviews-summary { font-family: var(--sans); color: var(--ink-soft); max-width: 66ch; margin-bottom: 1.4rem; }
.review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.review-item .rh { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .5rem; font-family: var(--sans); font-size: .85rem; }
.review-item .rh strong { font-weight: 700; }
.review-verified { display: inline-flex; align-items: center; gap: .3rem; color: var(--good); font-weight: 650; font-size: .78rem; }
.review-verified svg { width: 13px; height: 13px; flex: none; }
.review-item p { font-family: var(--sans); font-size: .92rem; color: var(--ink-soft); }
.review-note { margin-top: 1rem; font-family: var(--sans); font-size: .8rem; color: var(--muted); }

/* Similares */
.similar-strip { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 1rem; }

/* =============================================================
   9. Comparador
   ============================================================= */
.cmp-hero { background: radial-gradient(70% 80% at 80% 0%, var(--accent-2-tint), transparent 70%); }
.cmp-picker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.cmp-picker h2 { font-size: 1.15rem; margin-bottom: .9rem; }
.cmp-search { position: relative; margin-bottom: 1rem; }
.cmp-search input {
  width: 100%; padding: .8rem 1rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface-2); font: inherit; color: var(--ink);
}
.cmp-search input:focus-visible { border-color: var(--accent); outline: none; }
.cmp-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.cmp-opt {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2);
  font-family: var(--sans); font-size: .86rem; font-weight: 550; transition: border-color .16s, background-color .16s;
}
.cmp-opt:hover { border-color: var(--accent-2); }
.cmp-opt[aria-pressed="true"] { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.cmp-opt img { width: 26px; height: 26px; object-fit: contain; background: var(--media-bg); border-radius: 6px; padding: 2px; flex: none; }

.cmp-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); font-family: var(--sans); }
.cmp-empty svg { width: 40px; height: 40px; margin-bottom: .8rem; color: var(--line); }

.cmp-scroll { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cmp-table { font-family: var(--sans); font-size: .88rem; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.cmp-table thead th { position: sticky; top: 0; background: var(--surface); z-index: 3; border-bottom: 1px solid var(--line); }
.cmp-table tbody th {
  position: sticky; left: 0; background: var(--surface); z-index: 2;
  color: var(--muted); font-weight: 550; min-width: 150px; border-right: 1px solid var(--line);
}
.cmp-table .cmp-prodhead { min-width: 190px; }
.cmp-prodhead .ph-media { width: 100%; height: 132px; overflow: hidden; background: var(--media-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: .5rem; margin-bottom: .5rem; }
.cmp-prodhead .ph-media img { height: 118px; width: auto; max-width: 100%; object-fit: contain; }
.cmp-prodhead .ph-name { font-family: var(--serif); font-size: 1rem; font-weight: 600; display: block; margin-bottom: .3rem; }
.cmp-prodhead .ph-remove { color: var(--muted); font-size: .78rem; display: inline-flex; align-items: center; gap: .25rem; }
.cmp-prodhead .ph-remove:hover { color: var(--bad); }
.cmp-prodhead .ph-remove svg { width: 12px; height: 12px; }
.cmp-table td.is-best { background: var(--accent-tint); color: var(--ink); font-weight: 700; position: relative; }
.cmp-table td.is-best .cmp-best-tag { position: absolute; top: .3rem; right: .5rem; font-size: .62rem; font-weight: 800; color: var(--accent); letter-spacing: .04em; text-transform: lowercase; }
.cmp-table tbody tr.cmp-row-buy td { padding-top: 1rem; padding-bottom: 1rem; }
.cmp-radar-panel { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.cmp-radar-panel h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.cmp-radar-layout { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 440px) 1fr; align-items: center; }
.cmp-radar-figure { position: relative; width: 100%; max-width: 420px; min-height: 320px; margin-inline: auto; align-self: start; }
.cmp-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-family: var(--sans); font-size: .9rem; }
.cmp-legend li { display: flex; align-items: center; gap: .55rem; }
.cmp-legend .sw { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.cmp-share { margin-top: 1.2rem; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; font-family: var(--sans); font-size: .84rem; color: var(--muted); }

/* =============================================================
   10. Guia / ofertas
   ============================================================= */
.guide-hero { background: radial-gradient(65% 75% at 15% 0%, var(--accent-tint), transparent 70%); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; font-family: var(--sans); margin-bottom: 2rem; }
.toc strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc ol { margin: 0 0 0 1.1rem; display: grid; gap: .35rem; }
.toc a { color: var(--accent-2); }
.pick-card {
  display: grid; gap: 1.2rem; grid-template-columns: 200px 1fr; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.pick-card .pick-media { aspect-ratio: 1/1; background: var(--media-bg); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 1rem; overflow: hidden; }
.pick-card .pick-media img { width: 100%; height: 100%; object-fit: contain; }
.pick-card .pick-rank { font-family: var(--serif); font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.pick-card h3 { font-size: 1.25rem; margin: .3rem 0 .5rem; }
.pick-card h3 a:hover { color: var(--accent); }
.pick-card .pick-why { font-family: var(--sans); font-size: .92rem; color: var(--ink-soft); margin-bottom: .8rem; }
.pick-card .pick-foot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.ofertas-empty, .cat-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); font-family: var(--sans); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Filtros de categoria */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; font-family: var(--sans); }
.filterbar select { padding: .55rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--ink); }

/* =============================================================
   11. Footer
   ============================================================= */
.disclosure-bar {
  background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: .82rem; color: var(--muted);
  padding-block: .9rem;
}
.disclosure-bar p { max-width: 70ch; }
.site-footer { background: var(--bg-warm); border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-family: var(--sans); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-grid h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid a { color: var(--ink-soft); font-size: .9rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-about { color: var(--muted); font-size: .88rem; max-width: 34ch; margin-top: .6rem; }
.footer-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; }

/* =============================================================
   12. Responsive & motion
   ============================================================= */
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .ficha-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .ficha-buy { position: sticky; top: calc(var(--nav-h) + 16px); }
}
@media (min-width: 960px) {
  .ficha-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
@media (max-width: 899px) {
  .radar-wrap { grid-template-columns: 1fr; }
  .cmp-radar-layout { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .proscons { grid-template-columns: 1fr; }
  .pick-card { grid-template-columns: 1fr; }
  .pick-card .pick-media { max-width: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.4rem;
    transform: translateY(-120%); transition: transform .3s var(--ease-out);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: .8rem .6rem; font-size: 1rem; }
  .nav-links a.nav-cta { justify-content: center; margin-top: .4rem; }
}
@media (max-width: 539px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; }
  .pcard-specs { grid-template-columns: 1fr; }
  .gallery-thumbs button { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-links { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Estado sin JS: la nav movil siempre accesible como lista */
.no-js .nav-toggle { display: none; }
@media (max-width: 860px) {
  .no-js .nav-links { position: static; transform: none; flex-direction: row; flex-wrap: wrap; background: none; box-shadow: none; padding: 0 0 .8rem; border: 0; }
}

/* =============================================================
   13. Bloques SEO/GEO y engagement (añadido v2)
   ============================================================= */
.answer-box {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent-2);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin: 1.4rem 0 2rem;
  box-shadow: var(--shadow-sm);
}
.answer-box__label {
  font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: .5rem;
}
.answer-box__body { font-family: var(--sans); color: var(--ink); font-size: .98rem; line-height: 1.6; }
.answer-box__body p { margin-bottom: .5rem; }
.answer-box__body p:last-child { margin-bottom: 0; }
.answer-box__body strong { font-weight: 700; }
.answer-box__body a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* Decisión rápida (home) */
.decide { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.decide-card {
  display: flex; flex-direction: column; gap: .4rem; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.3rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.decide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.decide-card .q { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.decide-card .a { font-family: var(--sans); font-size: .88rem; color: var(--muted); }
.decide-card .pick { font-family: var(--sans); font-size: .86rem; font-weight: 650; color: var(--accent-2); margin-top: auto; padding-top: .5rem; }
.decide-card a::after { content: ""; position: absolute; inset: 0; }

/* Comparativas populares */
.vs-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.vs-card {
  display: flex; align-items: center; gap: .7rem; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-sm); font-family: var(--sans);
  transition: border-color .18s, transform .18s var(--ease-out);
}
.vs-card:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.vs-card .vs-mid { color: var(--muted); font-weight: 800; font-size: .8rem; }
.vs-card .vs-name { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.vs-card a::after { content: ""; position: absolute; inset: 0; }

/* Ranking (páginas "mejores X") */
.rank-list { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: rank; display: grid; gap: 1.1rem; }
.rank-item {
  display: grid; grid-template-columns: 52px 150px 1fr; gap: 1.1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow-sm);
}
.rank-item .rnum {
  counter-increment: rank; font-family: var(--serif); font-weight: 600; font-size: 1.7rem;
  color: var(--accent); width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint);
  display: grid; place-items: center;
}
.rank-item .rnum::before { content: counter(rank); }
.rank-item .rmedia { aspect-ratio: 1/1; background: var(--media-bg); border-radius: var(--radius-sm); display: grid; place-items: center; padding: .8rem; overflow: hidden; }
.rank-item .rmedia img { width: 100%; height: 100%; object-fit: contain; }
.rank-item h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.rank-item h3 a:hover { color: var(--accent); }
.rank-item .rwhy { font-family: var(--sans); font-size: .9rem; color: var(--ink-soft); margin-bottom: .7rem; }
.rank-item .rmeta { font-family: var(--sans); font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-bottom: .8rem; }
.rank-item .rfoot { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
@media (max-width: 640px) {
  .rank-item { grid-template-columns: 44px 1fr; }
  .rank-item .rmedia { grid-column: 1 / -1; max-width: 180px; }
}

/* Enlaces internos "sigue leyendo" */
.more-guides { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.5rem; }
.more-guides a {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; font-family: var(--sans); font-weight: 600; font-size: .92rem;
  transition: border-color .18s, transform .18s var(--ease-out);
}
.more-guides a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--accent); }
.more-guides a span { display: block; font-weight: 450; font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* Selector de idioma (EN / ES) */
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; margin-left: .5rem; padding-left: .55rem; border-left: 1px solid var(--line); font-family: var(--sans); }
.lang-switch a {
  padding: .3rem .5rem; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--muted);
  line-height: 1; transition: color .16s, background .16s;
}
.lang-switch a:hover { color: var(--ink); background: var(--surface); }
.lang-switch a[aria-current="true"] { color: var(--ink); background: var(--accent-tint); }
@media (max-width: 900px) {
  .lang-switch { margin-left: 0; padding-left: 0; border-left: 0; margin-top: .5rem; }
}
