/* =============================================================
   CocinaCompara — hoja de estilos única, organizada por secciones
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --cream:      #FAF6EE;
  --cream-2:    #F1EADC;
  --paper:      #FFFFFF;
  --ink:        #241F1A;
  --ink-soft:   #5B5147;
  --line:       #E4DACB;
  --copper:     #BC6A32;
  --copper-ink: #6E3C16;
  --copper-2:   #E7A567;
  --sage:       #5F7A55;
  --sage-2:     #E4EBDE;
  --terracotta: #A8452F;
  --terracotta-2: #F5E1DC;
  --gold:       #C79A3B;
  --shadow:     0 1px 2px rgba(36,31,26,.04), 0 8px 24px -12px rgba(36,31,26,.18);
  --shadow-lg:  0 4px 8px rgba(36,31,26,.05), 0 24px 48px -20px rgba(36,31,26,.28);
  --radius-s:   8px;
  --radius-m:   14px;
  --radius-l:   22px;
  --serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans:  "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h: 72px;
}

[data-theme="dark"] {
  --cream:      #1B1712;
  --cream-2:    #241F19;
  --paper:      #211C17;
  --ink:        #F3EBDD;
  --ink-soft:   #C7BAA6;
  --line:       #3A3227;
  --copper:     #E1934F;
  --copper-ink: #F6C795;
  --copper-2:   #C1682F;
  --sage:       #9BB98C;
  --sage-2:     #2A3324;
  --terracotta: #E0806A;
  --terracotta-2: #3A2420;
  --gold:       #DCB65C;
  --shadow:     0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  --shadow-lg:  0 4px 8px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream:      #1B1712;
    --cream-2:    #241F19;
    --paper:      #211C17;
    --ink:        #F3EBDD;
    --ink-soft:   #C7BAA6;
    --line:       #3A3227;
    --copper:     #E1934F;
    --copper-ink: #F6C795;
    --copper-2:   #C1682F;
    --sage:       #9BB98C;
    --sage-2:     #2A3324;
    --terracotta: #E0806A;
    --terracotta-2: #3A2420;
    --gold:       #DCB65C;
    --shadow:     0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
    --shadow-lg:  0 4px 8px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.6);
  }
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { 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.01em; font-family: var(--serif); font-weight: 600; }
ul, ol { padding-left: 1.15em; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--copper-2); color: var(--copper-ink); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--cream-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--copper-ink);
}
.eyebrow::before { content: ""; width: 1.4em; height: 2px; background: var(--copper); border-radius: 2px; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }
.stack { display: flex; flex-direction: column; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography scale
   ============================================================= */
.h-display { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
.h-xl { font-size: clamp(2rem, 3.6vw, 3rem); }
.h-lg { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.h-md { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
.text-soft { color: var(--ink-soft); }
.mono-num { font-variant-numeric: tabular-nums; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .96rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary, a.btn-primary, a.btn-primary:hover {
  background: var(--copper); color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--copper-ink); }
.btn-ghost, a.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-ink); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- Nav --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  background: var(--cream); /* solid fallback */
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: color-mix(in srgb, var(--cream) 86%, transparent); }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 700; font-size: 1.28rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(155deg, var(--copper-2), var(--copper));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.nav-links { display: none; align-items: center; gap: 1.9rem; font-size: .95rem; font-weight: 600; }
.nav-links a { color: var(--ink-soft); transition: color .25s var(--ease-out); position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--copper-ink); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  background: var(--copper); color: #fff; padding: .55em 1.15em; border-radius: 999px;
}
.nav-toggle { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; border: 1.5px solid var(--line); }
.nav-toggle svg { width: 18px; height: 18px; }
.mobile-nav { display: none; flex-direction: column; gap: .2rem; padding: .5rem 1.25rem 1.25rem; border-top: 1px solid var(--line); background: var(--cream); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: .7rem 0; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --- Footer --- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 3.5rem 2rem; }
.site-footer a { color: var(--cream); opacity: .78; }
.site-footer a:hover { opacity: 1; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.3fr 1fr 1fr; }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--copper-2); margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; opacity: .68; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.affiliate-disclosure {
  font-size: .82rem; color: var(--ink-soft); background: var(--cream-2);
  border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: .9rem 1.1rem; line-height: 1.55;
}
.site-footer .affiliate-disclosure { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--cream); opacity: .85; }

@media (max-width: 719px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Badge / chip --- */
.badge {
  display: inline-flex; align-items: center; gap: .4em; font-size: .74rem; font-weight: 700;
  letter-spacing: .03em; padding: .38em .75em; border-radius: 999px; text-transform: uppercase;
}
.badge-copper { background: var(--copper-2); color: var(--copper-ink); }
.badge-sage { background: var(--sage-2); color: var(--sage); }
.badge-terracotta { background: var(--terracotta-2); color: var(--terracotta); }
.badge-outline { border: 1.5px solid var(--line); color: var(--ink-soft); background: transparent; }
[data-theme="dark"] .badge-copper, :root:not([data-theme="light"]) .badge-copper { color: #2A1607; }

/* --- Rating stars --- */
.stars { display: inline-flex; align-items: center; gap: .4rem; }
.stars-track { position: relative; display: inline-block; width: 5.6em; height: 1em; line-height: 1; }
.stars-track svg { width: 100%; height: 100%; }
.stars-bg, .stars-fg { position: absolute; inset: 0; display: flex; gap: .12em; }
.stars-bg svg path, .stars-fg svg path { fill: var(--line); }
.stars-fg { overflow: hidden; }
.stars-fg svg path { fill: var(--gold); }
.stars-count { font-size: .84rem; color: var(--ink-soft); }

/* --- Card: product --- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--copper-2); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--cream-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.045); }
.card-badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-cat { font-size: .76rem; font-weight: 700; color: var(--copper-ink); text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-size: 1.08rem; line-height: 1.28; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title { position: relative; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .4rem; }
.card-price { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; }
.card-price-before { font-size: .84rem; color: var(--ink-soft); text-decoration: line-through; margin-left: .35em; }
.card-actions { display: flex; gap: .5rem; padding: 0 1.25rem 1.25rem; position: relative; z-index: 1; }

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

/* --- Compare checkbox on card --- */
.compare-check {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  padding: .35em .75em .35em .55em; font-size: .78rem; font-weight: 600; box-shadow: var(--shadow);
}
.compare-check input { width: 15px; height: 15px; accent-color: var(--copper); }

/* --- Hero --- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); overflow: visible; }
.hero-halo { position: absolute; inset: -20% -10% -40% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 40% at 22% 20%, color-mix(in srgb, var(--copper) 22%, transparent), transparent 72%),
              radial-gradient(38% 32% at 82% 10%, color-mix(in srgb, var(--sage) 18%, transparent), transparent 70%);
  filter: blur(60px);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
.hero-copy { max-width: 640px; }
.hero-copy h1 { margin-block: .6rem 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-stats { display: flex; gap: 1.8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--copper-ink); }
.hero-stat span { font-size: .82rem; color: var(--ink-soft); }
.hero-visual { position: relative; }
.hero-visual .card { max-width: 380px; margin-inline: auto; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

/* --- How we choose block --- */
.how-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 2.2rem; }
.how-item { padding: 1.5rem; border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--line); }
.how-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--sage-2); color: var(--sage); display: grid; place-items: center; margin-bottom: .9rem; }
.how-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.how-item p { font-size: .9rem; color: var(--ink-soft); }

/* --- Category chips row --- */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  transition: all .25s var(--ease-out);
}
.chip:hover, .chip.is-active { border-color: var(--copper); color: var(--copper-ink); background: var(--copper-2); }

/* --- Section head --- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.1rem; }

/* =============================================================
   6. Ficha (product page)
   ============================================================= */
.ficha-top { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .ficha-top { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.ficha-galeria { position: sticky; top: calc(var(--header-h) + 1.2rem); }
.galeria-main { border-radius: var(--radius-l); overflow: hidden; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 1/1; }
.galeria-main img { width: 100%; height: 100%; object-fit: cover; }
.galeria-thumbs { display: flex; gap: .6rem; margin-top: .8rem; overflow-x: auto; padding-bottom: .3rem; }
.galeria-thumbs li { flex: none; }
.galeria-thumbs button {
  width: 62px; height: 62px; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent;
  background: var(--paper); padding: 0;
}
.galeria-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.galeria-thumbs button.is-active { border-color: var(--copper); }

.ficha-marca { font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--copper-ink); }
.ficha-nombre { margin-top: .35rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.ficha-rating { margin-top: .8rem; }
.ficha-precio { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.precio-actual { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; }
.precio-antes { font-size: 1.1rem; color: var(--ink-soft); text-decoration: line-through; }
.precio-nota { width: 100%; font-size: .82rem; color: var(--ink-soft); margin-top: .2rem; }
.ficha-head .btn-comprar { margin-top: 1.3rem; }
.ficha-head .btn-comprar-repeat { margin-top: 2.4rem; }

.ficha-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }

/* --- Radar --- */
.ficha-radar, .compare-radar-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.6rem; }
.radar-figure { display: flex; justify-content: center; }
.radar-figure svg { width: 100%; max-width: 420px; height: auto; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: center; margin-top: .8rem; font-size: .82rem; }
.radar-legend-item { display: flex; align-items: center; gap: .45em; }
.radar-legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* --- Specs table --- */
.specs-table { font-size: .93rem; }
.specs-table caption { text-align: left; font-weight: 700; padding-block: .8rem .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--copper-ink); }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table th, .specs-table td { text-align: left; padding: .68rem .4rem; font-weight: 400; }
.specs-table th { color: var(--ink-soft); width: 46%; font-weight: 500; }
.specs-table td { font-weight: 600; }
.specs-extra { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .3rem 1rem; }
.specs-extra summary { cursor: pointer; font-weight: 600; padding: .7rem 0; }

/* --- Editorial / pros-contras --- */
.editorial-cuerpo { font-size: 1.02rem; line-height: 1.75; color: var(--ink); }
.editorial-cuerpo p + p { margin-top: 1.1em; }
.pros-contras { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
@media (min-width: 640px) { .pros-contras { grid-template-columns: 1fr 1fr; } }
.pc-col { padding: 1.3rem 1.4rem; border-radius: var(--radius-m); border: 1px solid var(--line); }
.pc-col.pros { background: var(--sage-2); }
.pc-col.contras { background: var(--terracotta-2); }
.pc-col h3 { display: flex; align-items: center; gap: .5em; font-size: 1rem; font-family: var(--sans); font-weight: 700; margin-bottom: .7rem; }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col.pros h3 { color: var(--sage); }
.pc-col.contras h3 { color: var(--terracotta); }
.pc-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .93rem; }
.pc-col li { display: flex; gap: .55em; }
.pc-col li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .15em; }
.pc-col.pros li svg { color: var(--sage); }
.pc-col.contras li svg { color: var(--terracotta); }

.ideal-para { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--copper); background: var(--cream-2); border-radius: 0 var(--radius-m) var(--radius-m) 0; font-size: .98rem; }

/* --- Reviews --- */
.resenas-resumen { font-size: 1rem; color: var(--ink-soft); max-width: 72ch; }
.resenas-list { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.resena-card { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
.resena-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.resena-autor { font-weight: 700; font-size: .92rem; }
.resena-texto { font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }
.resena-verified { font-size: .74rem; color: var(--sage); font-weight: 700; display: inline-flex; align-items: center; gap: .3em; margin-top: .5rem; }
.review-verified svg { width: 1.15em; height: 1.15em; flex: none; }

/* --- Similar products strip --- */
.similares-strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .4rem; }
.similares-strip .card { min-width: 220px; max-width: 220px; }

/* =============================================================
   7. Comparador
   ============================================================= */
.comparador-picker { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.6rem; box-shadow: var(--shadow); }
.picker-search { position: relative; }
.picker-search input {
  width: 100%; padding: .9em 1.1em .9em 2.6em; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--cream); font: inherit; color: var(--ink);
}
.picker-search svg { position: absolute; left: 1em; top: 50%; transform: translateY(-50%); width: 1.1em; height: 1.1em; color: var(--ink-soft); }
.picker-results { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; max-height: 320px; overflow-y: auto; }
.picker-row {
  display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; border-radius: var(--radius-s);
  border: 1px solid transparent; transition: background .2s;
}
.picker-row:hover { background: var(--cream-2); }
.picker-row img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--cream-2); }
.picker-row-name { font-size: .9rem; font-weight: 600; flex: 1; }
.picker-row-price { font-size: .86rem; color: var(--ink-soft); }
.picker-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--copper); }

.compare-slots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 1.3rem; }
.compare-slot {
  position: relative; border: 1.5px dashed var(--line); border-radius: var(--radius-m);
  padding: .8rem; text-align: center; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
}
.compare-slot.is-filled { border-style: solid; background: var(--paper); }
.compare-slot img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.compare-slot-name { font-size: .78rem; font-weight: 600; line-height: 1.25; }
.slot-remove {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta); color: #fff; display: grid; place-items: center; font-size: .8rem; box-shadow: var(--shadow);
}

.compare-empty { text-align: center; padding: 3rem 1.5rem; color: var(--ink-soft); }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--paper); }
.compare-table { min-width: 640px; font-size: .92rem; }
.compare-table th, .compare-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--cream-2); position: sticky; top: 0; }
.compare-table .row-label { color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.compare-table td.is-best { background: var(--sage-2); font-weight: 700; border-radius: var(--radius-s); }
.compare-col-head { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; min-width: 160px; }
.compare-col-head img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-s); background: var(--cream-2); }
.compare-col-head .btn { margin-top: .3rem; }

.compare-radars { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 1.6rem; }

/* =============================================================
   8. Ofertas / rankings
   ============================================================= */
.discount-badge { background: var(--terracotta); color: #fff; }
.oferta-empty { text-align: center; padding: 4rem 1.5rem; }
.oferta-empty .ico { width: 56px; height: 56px; margin-inline: auto 0; margin-bottom: 1.2rem; color: var(--copper); }

/* =============================================================
   9. Guide / blog article
   ============================================================= */
.article-head { max-width: 780px; margin-inline: auto; text-align: center; }
.article-meta { display: flex; gap: .8rem; justify-content: center; align-items: center; font-size: .84rem; color: var(--ink-soft); margin-top: .9rem; }
.article-body { max-width: 720px; margin-inline: auto; font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { margin-top: 2.4rem; margin-bottom: .8rem; font-size: 1.5rem; }
.article-body p { margin-bottom: 1.1em; color: var(--ink); }
.article-body ul { margin-bottom: 1.1em; }
.article-body li { margin-bottom: .4em; }
.faq-item { border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item p { margin-top: .7rem; color: var(--ink-soft); }

/* =============================================================
   10. Legal pages
   ============================================================= */
.legal-body { max-width: 760px; margin-inline: auto; font-size: 1rem; line-height: 1.75; }
.legal-body h2 { margin-top: 2rem; margin-bottom: .6rem; font-size: 1.25rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: .8em; }

/* =============================================================
   11. Effects
   ============================================================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-out); }

/* =============================================================
   12. Responsive helpers
   ============================================================= */
@media (max-width: 539px) {
  .hero-stats { gap: 1.2rem; }
  .compare-table th, .compare-table td { padding: .65rem .7rem; }
}
