/* SQI — PERSONALIZACIÓN RÁPIDA
   Cambie estos valores; no se necesita compilar ni instalar nada.
   Las imágenes se sustituyen en la carpeta assets conservando el nombre.
*/
:root {
  --ink: #162e30;
  --muted: #536264;
  --red: #ad243b;
  --paper: #f8f5ed;
  --green: #183f3c;
  --book-campaign: 220px;
  --book-campaign-mobile: 150px;
  --book-feature: 315px;
  --book-feature-mobile: 250px;
  --book-download: 145px;
  --book-download-mobile: 100px;
}
.book-intro img { width: var(--book-campaign); flex-shrink: 0; }
.book-intro { gap: 32px; }
.cover-stage { min-height: 560px; }
.cover-stage img { width: var(--book-feature); }
.download-row { grid-template-columns: var(--book-download) 1fr auto; }
.download-row img { width: var(--book-download); }
.optional-fields { border: 0; border-top: 1px solid var(--line); padding: 18px 0 0; margin: 24px 0 0; min-width: 0; }
.optional-fields legend { padding: 0 8px 0 0; font-size: 15px; font-weight: 650; }
.optional-fields legend span { color: var(--muted); font-weight: 400; }
.optional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-help { font-size: 12px !important; color: var(--muted); line-height: 1.55; margin: 7px 0 0 !important; }
@media (max-width: 850px) {
  .download-row { grid-template-columns: var(--book-download-mobile) 1fr; }
  .download-row img { width: var(--book-download-mobile); }
  .book-intro { gap: 22px; }
  .book-intro img { width: 150px; }
}
@media (max-width: 650px) {
  .book-intro img { width: var(--book-campaign-mobile); }
  .book-intro h3 { font-size: 20px; }
  .book-intro { gap: 20px; }
  .cover-stage { min-height: 460px; }
  .cover-stage img { width: var(--book-feature-mobile); }
}
@media (max-width: 400px) {
  .optional-grid { grid-template-columns: 1fr; }
  .book-intro { align-items: flex-start; }
  .book-intro img { width: 135px; }
}

/* Página de producto completa */
.product-jumps { padding-block: 20px; justify-content: space-between; border-bottom: 1px solid var(--line); }
.product-author { display: block; width: 220px; margin: 30px 0 15px; border-radius: 3px; }
.full-benefits { columns: 2; column-gap: 60px; padding-left: 24px; margin: 30px 0 0; }
.full-benefits li { break-inside: avoid; padding: 12px 0 12px 7px; border-bottom: 1px solid var(--line); }
.full-benefits li::marker { color: var(--red); font-weight: 650; }
.product-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 40px; }
.product-quotes .quote p { font-size: 23px; }
.edition-options { align-items: stretch; gap: 30px; }
.edition-options article { border: 1px solid var(--line); padding: 32px; }
.edition-options h3 { font: 36px Georgia,serif; }
.chapter-list summary { display: flex; gap: 14px; }
.chapter-no { color: var(--red); font-size: 13px; min-width: 22px; }
@media(max-width:650px) { .full-benefits { columns: 1; } .product-quotes { grid-template-columns: 1fr; gap: 35px; } .product-jumps { gap: 15px; justify-content: flex-start; } }

/* Production: match the website menu width and keep every book unobstructed. */
main, body > .footer, body > .mobile-cta { max-width:1000px; margin-inline:auto; }
.wrap { max-width:1000px; }
.hero-grid { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:40px; }
.split { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; }
.hero-grid > *, .split > *, .download-row > * { min-width:0; }
.book-intro { flex-wrap:wrap; }
.book-intro img { transform:none; }
.cover-stage img { transform:none; max-width:100%; }
.cover-stage .seal { display:none; }
.author img { flex-shrink:0; }
.form-card input[type=hidden] { display:none; }
@media(max-width:760px) {
  .hero-grid,.split,.product-hero .split { grid-template-columns:1fr; }
  .hero-grid h1 { font-size:clamp(38px,7vw,58px); }
  .book-intro { flex-wrap:nowrap; }
}
@media(max-width:400px) {
  .book-intro { flex-wrap:wrap; }
  .form-card { padding:22px 18px; }
  .download-row { grid-template-columns:80px minmax(0,1fr); gap:16px; }
  .download-row img { width:80px; }
}
