/* Radar de Precios: estilos públicos */

:root {
  --bg: #F1F3F6;
  --card: #FFFFFF;
  --text: #1D2129;
  --muted: #646B76;
  --border: #E1E4E9;
  --link: #1B5FCC;
  --brand: #C2410C;
  --brand-hover: #9A3412;
  --off-bg: #FDECEC;
  --off-text: #C92A2A;
  --low-bg: #E6F4EA;
  --low-text: #1E7B34;
  --high-text: #C92A2A;

  --amazon: #232F3E;
  --temu: #F26B1D;
  --shein: #7C3AED;
  --other: #6C7A89;

  --wrap: 1200px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.25; font-weight: 700; }
h1 { font-size: 26px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.demo-strip { background: #FFF4CC; color: #5C4400; text-align: center; font-size: 13px; padding: 6px 12px; border-bottom: 1px solid #F0DC92; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; }
.brand__mark svg { width: 18px; height: 18px; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.header-search { flex: 1; max-width: 560px; display: flex; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.header-search:focus-within { background: var(--card); border-color: var(--link); }
.header-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 10px 12px; color: var(--text); outline: 0; }
.header-search button { border: 0; background: none; padding: 0 12px; color: var(--muted); cursor: pointer; display: grid; place-items: center; height: 40px; }
.header-search svg { width: 18px; height: 18px; }
.header-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.header-links a { color: var(--text); font-weight: 600; }
.header-links a[aria-current] { color: var(--brand); }
.header-links .btn-channel { background: #229ED9; color: #fff; padding: 7px 12px; border-radius: var(--radius); font-size: 14px; }
.header-links .btn-channel:hover { text-decoration: none; background: #1B87BB; }
.menu-toggle { display: none; }

.cat-bar { background: var(--card); border-bottom: 1px solid var(--border); }
.cat-bar ul { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-bar ul::-webkit-scrollbar { display: none; }
.cat-bar a { display: block; padding: 10px 12px; color: var(--text); font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.cat-bar a:hover { text-decoration: none; color: var(--brand); }
.cat-bar a[aria-current] { border-bottom-color: var(--brand); color: var(--brand); font-weight: 600; }

@media (max-width: 860px) {
  .site-header__bar { gap: 12px; height: 56px; }
  .header-links { display: none; }
  .header-search { order: 3; }
  .menu-toggle { display: inline-flex; margin-left: auto; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 6px 10px; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
  .site-header__bar { flex-wrap: wrap; height: auto; padding: 8px 0; }
  .header-search { flex-basis: 100%; max-width: none; }
  .mobile-menu { display: none; background: var(--card); border-bottom: 1px solid var(--border); }
  .mobile-menu.is-open { display: block; }
  .mobile-menu a { display: block; padding: 12px 16px; color: var(--text); border-top: 1px solid var(--border); font-weight: 600; }
}
@media (min-width: 861px) { .mobile-menu { display: none !important; } }

/* ---------- Estructura ---------- */
.page { padding: 20px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.panel__head h2, .panel__head h1 { margin: 0; font-size: 18px; }
.panel__body { padding: 16px; }
.panel__more { display: block; text-align: center; padding: 12px; border-top: 1px solid var(--border); font-weight: 600; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.section-title h2 { margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.empty { color: var(--muted); padding: 16px; }
.draft-note { background: #FFF4CC; padding: 6px 10px; border-radius: 6px; font-size: 13px; display: inline-block; margin-bottom: 10px; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600; }
.tabs a:hover { background: var(--bg); text-decoration: none; }
.tabs a[aria-current] { background: var(--text); color: #fff; }

/* ---------- Etiquetas pequeñas ---------- */
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 4px; line-height: 1.4; white-space: nowrap; }
.badge--low { background: var(--low-bg); color: var(--low-text); }
.badge--off { background: var(--off-bg); color: var(--off-text); }
.badge--high { background: var(--off-bg); color: var(--high-text); }
.badge--plain { background: var(--bg); color: var(--muted); }

/* ---------- Imagen o icono de producto ---------- */
.thumb { background: #fff; display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb .ph { width: 46%; height: 46%; color: #A6ADB8; }
.thumb--ph { background: #F6F7F9; background: color-mix(in srgb, var(--tint, #A6ADB8) 10%, #fff); }
.thumb--ph .ph { color: #A6ADB8; color: color-mix(in srgb, var(--tint, #A6ADB8) 75%, #fff); }

/* ---------- Fila de oferta (listado) ---------- */
.deal { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); align-items: center; }
.deal:last-child { border-bottom: 0; }
.deal .thumb { width: 104px; height: 104px; border-radius: 6px; border: 1px solid var(--border); }
.deal__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.deal__time { font-size: 12px; color: var(--muted); }
.deal__title { font-size: 16px; font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.deal__title a { color: var(--text); }
.deal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.deal__price strong { font-size: 22px; font-weight: 800; color: var(--text); }
.deal__store { font-size: 14px; color: var(--muted); }
.deal__avg { font-size: 13px; color: var(--muted); }
.deal__side { display: grid; gap: 6px; justify-items: end; }
.deal__hist { font-size: 13px; }
@media (max-width: 640px) {
  .deal { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .deal .thumb { width: 84px; height: 84px; }
  .deal__side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .deal__hist { text-align: left; }
  .deal__price strong { font-size: 20px; }
  .deal .badge--plain, .deal__avg { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; padding: 10px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: #C5CAD2; }
.btn--buy { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--buy:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn--sm { padding: 7px 12px; font-size: 14px; }

/* ---------- Tarjeta de producto (cuadrícula) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; color: var(--text); }
.pcard:hover { text-decoration: none; border-color: #C5CAD2; box-shadow: 0 2px 8px rgba(29, 33, 41, 0.06); }
.pcard .thumb { aspect-ratio: 1; border-radius: 6px; margin-bottom: 10px; }
.pcard__badge { position: absolute; top: 18px; left: 18px; }
.pcard__title { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__price { margin-top: auto; font-size: 13px; color: var(--muted); }
.pcard__price strong { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
.pcard__stores { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .pcard { padding: 10px; } .pcard__price strong { font-size: 18px; } }

/* ---------- Barra lateral ---------- */
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px solid var(--border); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; color: var(--text); }
.side-list a:hover { background: var(--bg); text-decoration: none; }
.side-list span { color: var(--muted); font-size: 13px; }
.mini-post { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.mini-post:last-child { border-bottom: 0; }
.mini-post:hover { background: var(--bg); text-decoration: none; }
.mini-post .thumb { width: 72px; height: 54px; border-radius: 4px; }
.mini-post .thumb img { object-fit: cover; }
.mini-post__title { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mini-post__meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.channel-box { padding: 16px; }
.channel-box p { margin-bottom: 12px; }
.channel-box .btn { width: 100%; background: #229ED9; border-color: #229ED9; color: #fff; }

/* ---------- Artículos en listados (revista) ---------- */
.feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); margin-bottom: 16px; }
.feature:hover { text-decoration: none; }
.feature__img { background: #E9ECF0; min-height: 260px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.feature__kicker, .acard__kicker { display: block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.feature__title { display: block; font-size: 24px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; }
.feature__excerpt { display: block; color: var(--muted); margin: 0 0 12px; }
.byline { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature__img { min-height: 180px; } .feature__body { padding: 16px; } .feature__title { font-size: 20px; } }

.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.acard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.acard:hover { text-decoration: none; border-color: #C5CAD2; }
.acard__img { aspect-ratio: 16 / 9; background: #E9ECF0; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard__img .ph { width: 48px; height: 48px; color: #A6ADB8; }
.acard__img.thumb--ph { display: grid; place-items: center; background: #E9ECF0; background: color-mix(in srgb, var(--tint, #A6ADB8) 12%, #fff); }
.acard__img.thumb--ph .ph { color: color-mix(in srgb, var(--tint, #A6ADB8) 75%, #fff); }
.pcard__price .pcard__noprice { font-size: 15px; font-weight: 700; color: var(--link); }
.acard__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.acard__title { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.acard__excerpt { display: block; font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.acard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.score { display: inline-flex; align-items: baseline; gap: 2px; background: var(--text); color: #fff; font-weight: 800; border-radius: 6px; padding: 3px 8px; font-size: 15px; }
.score small { color: #C9CED6; font-weight: 600; font-size: 11px; }
.score--lg { font-size: 34px; padding: 8px 14px; border-radius: 8px; }
.score--lg small { font-size: 14px; }

/* ---------- Ficha de producto ---------- */
.pp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; margin-bottom: 20px; }
.pp__gallery { padding: 24px; }
.pp__gallery .thumb { aspect-ratio: 1; }
.pp__gallery .thumb .ph { width: 34%; height: 34%; }
.pp__info { padding: 20px; }
.pp__info h1 { font-size: 24px; margin-bottom: 6px; }
.pp__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pp__verdict { border-radius: var(--radius); padding: 10px 12px; margin-bottom: 16px; background: var(--bg); font-size: 14px; }
.pp__verdict strong { display: block; font-size: 15px; }
.pp__verdict--low, .pp__verdict--good { background: var(--low-bg); color: #14532D; }
.pp__verdict--high { background: var(--off-bg); color: #7F1D1D; }
.pp__best { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 14px; }
.pp__best strong { font-size: 32px; font-weight: 800; line-height: 1; }
.pp__best s { color: var(--muted); }
@media (max-width: 860px) { .pp { grid-template-columns: 1fr; } .pp__gallery { padding: 16px; } .pp__gallery .thumb { max-height: 320px; aspect-ratio: auto; height: 260px; } }

.offers { width: 100%; border-collapse: collapse; }
.offers th, .offers td { padding: 12px 8px; border-top: 1px solid var(--border); text-align: left; vertical-align: middle; }
.offers thead th { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; padding-top: 0; }
.offers__store { font-weight: 700; }
.offers__note { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.offers__price { font-size: 18px; font-weight: 800; white-space: nowrap; }
.offers td:last-child { text-align: right; }
.offers tr.is-best .offers__price { color: var(--low-text); }
.fineprint { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
@media (max-width: 560px) { .offers thead { display: none; } .offers td { padding: 10px 4px; } .offers .btn { padding: 8px 10px; font-size: 13px; } }

.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.seg button { font: inherit; font-size: 13px; font-weight: 600; border: 0; border-left: 1px solid var(--border); background: var(--card); color: var(--text); padding: 6px 12px; cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--text); color: #fff; }
.chart-box { position: relative; height: 320px; }
@media (max-width: 560px) { .chart-box { height: 240px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); margin: 16px -16px -16px; }
.stats div { padding: 12px 16px; border-left: 1px solid var(--border); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 12px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-size: 17px; font-weight: 800; }
.stats-caption { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--border); } }

/* ---------- Página de artículo ---------- */
.art { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.art__head { padding: 24px 28px 8px; }
.art__head h1 { font-size: 32px; line-height: 1.2; margin-bottom: 10px; }
.art__lead { font-size: 18px; color: #3C4350; margin-bottom: 12px; }
.art__cover { margin: 8px 0 0; }
.art__cover img { width: 100%; max-height: 460px; object-fit: cover; }
.art__body { padding: 8px 28px 28px; }
@media (max-width: 640px) { .art__head { padding: 16px 16px 4px; } .art__head h1 { font-size: 25px; } .art__body { padding: 4px 16px 20px; } }

.review-box { border: 1px solid var(--border); border-radius: var(--radius); margin: 20px 0; }
.review-box__top { display: flex; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); background: #FAFBFC; }
.review-box__verdict { margin: 0; font-weight: 600; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; }
.proscons > div { padding: 14px 16px; }
.proscons > div + div { border-left: 1px solid var(--border); }
.proscons h2 { font-size: 15px; margin-bottom: 6px; }
.proscons ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.proscons li { position: relative; padding-left: 20px; margin-bottom: 4px; }
.list-pros li::before, .list-cons li::before { position: absolute; left: 0; font-weight: 800; }
.list-pros li::before { content: '+'; color: var(--low-text); }
.list-cons li::before { content: '−'; color: var(--off-text); }
@media (max-width: 560px) { .proscons { grid-template-columns: 1fr; } .proscons > div + div { border-left: 0; border-top: 1px solid var(--border); } }

.prose { font-size: 17px; line-height: 1.7; max-width: 720px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { font-size: 18px; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.3em; }
.prose blockquote { margin: 1.4em 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--border); color: #3C4350; }
.prose img { border-radius: 6px; margin: 1.2em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.prose thead th { background: var(--bg); }
.table-scroll { overflow-x: auto; margin: 1.2em 0; }

/* Producto dentro de un artículo */
.pbox { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin: 22px 0; max-width: 720px; font-size: 15px; line-height: 1.45; }
.pbox .thumb { width: 96px; height: 96px; border-radius: 6px; border: 1px solid var(--border); }
.pbox__name { font-weight: 700; margin: 0 0 4px; }
.pbox__name a { color: var(--text); }
.pbox__price { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pbox__price strong { font-size: 22px; font-weight: 800; }
.pbox__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pbox .fineprint { grid-column: 1 / -1; margin-top: 4px; }
@media (max-width: 480px) { .pbox { grid-template-columns: 72px minmax(0, 1fr); } .pbox .thumb { width: 72px; height: 72px; } }

.compare { border-collapse: collapse; width: 100%; min-width: 520px; }
.compare th, .compare td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; font-size: 15px; }
.compare thead th { font-size: 12px; color: var(--muted); background: var(--bg); }
.compare tbody th a { color: var(--text); font-weight: 600; }
.compare .num { white-space: nowrap; font-weight: 700; }

.side-product { padding: 16px; }
.side-product .thumb { aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--border); margin-bottom: 12px; }
.side-product__name { font-weight: 700; margin-bottom: 6px; }
.side-product__price { font-size: 26px; font-weight: 800; }
.side-product .btn { width: 100%; margin-top: 10px; }
.sticky { position: sticky; top: 84px; }

/* ---------- Cabecera de listados ---------- */
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.list-head h1 { margin: 0; }
.list-head p { margin: 4px 0 0; color: var(--muted); max-width: 60ch; }
.sortform { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sortform select, .sortform button { font: inherit; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chips a { padding: 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--text); font-size: 14px; }
.chips a:hover { text-decoration: none; border-color: #C5CAD2; }
.chips a[aria-current] { background: var(--text); border-color: var(--text); color: #fff; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--border); font-weight: 600; }
.pager span { color: var(--muted); font-weight: 400; }
.search-page { display: flex; max-width: 640px; margin-top: 10px; }
.search-page input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); }
.search-page button { font: inherit; font-weight: 700; padding: 0 18px; border: 0; background: var(--text); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; }

/* ---------- Pie ---------- */
.site-footer { background: var(--card); border-top: 1px solid var(--border); padding: 32px 0 20px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--text); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
.site-footer__name { font-weight: 800; font-size: 17px; color: var(--text); margin-bottom: 6px; }
.site-footer__title { font-weight: 700; color: var(--text); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer__note { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 14px; font-size: 12px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }

.prose .amz-cta { display: inline-block; margin: 4px 10px 22px 0; }
.affiliate-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.prose .amz-cta .btn { text-decoration: none; }
.side-list span:empty { display: none; }

.toc { border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin: 0 0 24px; background: var(--bg); max-width: 680px; }
.toc__title { font-weight: 700; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc a { color: var(--link); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose h2 { scroll-margin-top: 90px; }

/* ---------- Seguir un producto y avisos ---------- */
.follow { max-width: 760px; }
.follow h1 { font-size: 30px; }
.follow__lead { font-size: 17px; color: #3C4350; max-width: 62ch; }
.follow__form label { display: block; font-weight: 700; margin-bottom: 6px; }
.follow__row { display: flex; gap: 8px; flex-wrap: wrap; }
.follow__row input { flex: 1; min-width: 220px; font: inherit; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius); }
.follow__row input[aria-invalid="true"] { border-color: var(--off-text); }
.form-error { color: var(--off-text); font-weight: 600; margin: 8px 0 0; }
.follow__done { border-left: 4px solid var(--low-text); }
.follow__done h2 { font-size: 20px; }
.follow__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.follow__steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .follow__steps { grid-template-columns: 1fr; } }
.alert-box { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.alert-box label { display: block; margin-bottom: 8px; }
.alert-box__row { display: flex; align-items: center; gap: 8px; }
.alert-box__row input { width: 120px; font: inherit; padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--radius); text-align: right; }
.header-follow { font-weight: 700; }
.hook { border-left: 4px solid var(--brand); }
.hook h1 { font-size: 28px; margin-bottom: 6px; }
.hook p { color: #3C4350; max-width: 62ch; }
.hook .follow__row { max-width: 720px; }
