/* Estilo común de superprecios.web.app (Paula 2026-11-18: el mismo formato que la Cesta SuperPrecios). */
:root {
  color-scheme: light dark;
  --bg: #f7f8fa; --card: #ffffff; --text: #111827; --muted: #4b5563; --soft: #9ca3af; --line: #e5e7eb;
  --green: #1a5c38; --green-soft: #e8f3ec;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1512; --card: #16201b; --text: #e5e7eb; --muted: #9ca3af; --soft: #6b7280; --line: #24302a;
    --green: #7fc8a0; --green-soft: #1d2b24;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px;
}
main { max-width: 720px; margin: 0 auto; padding: 36px 16px 56px; }
a { color: var(--green); word-break: break-word; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }
strong, b { font-weight: 600; }

/* Cabecera: icono + SuperPrecios, centrados */
.top { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; margin-bottom: 26px; }
.top img { width: 38px; height: 38px; }
.top span { color: var(--green); font-weight: 600; font-size: 21px; }
.top.hero { flex-direction: column; gap: 8px; margin-bottom: 18px; }
.top.hero img { width: 104px; height: 104px; }
.top.hero span { font-size: 26px; }

.kicker { color: var(--green); font-weight: 600; font-size: 17px; text-align: center; margin-bottom: 4px; }
h1 { font-size: 29px; font-weight: 700; line-height: 1.22; margin: 4px 0 12px; letter-spacing: -0.6px; text-align: center; }
p.lead { font-size: 17px; color: var(--muted); margin: 0 0 22px; text-align: justify; }
p.lead.center { text-align: center; }
h2 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--soft);
     margin: 36px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
main p, main li { text-align: justify; }
li { margin-bottom: 6px; }

/* Tarjetas y cajas */
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; }
.box p, .box li { margin: 10px 0; }

/* Botones de descarga (con el icono de la app) */
.downloads { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 8px; }
.downloads a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
               font-size: 15px; padding: 10px 18px 10px 10px; border-radius: 14px; background: var(--green); color: #fff; }
.downloads a img { width: 28px; height: 28px; border-radius: 7px; background: #fff; }
.downloads a.alt { background: var(--card); color: var(--green); border: 1.5px solid var(--green); }
@media (prefers-color-scheme: dark) { .downloads a { color: #0f1512; } .downloads a.alt { color: var(--green); } }

/* Desplegables (datos del titular): sin flechita */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

footer { margin-top: 40px; font-size: 13px; color: var(--soft); text-align: center; padding: 0 16px 24px; }
@media (max-width: 480px) { h1 { font-size: 24px; } }
