/* ═══════════════════════════════════════════════════════════════════════════
 * 20-test-5-heridas.css · el acabado del RESULTADO del test (página 5570)
 *
 * POR QUÉ ESTÁ AQUÍ. Estas reglas vivían en el fragmento 466 de Code Snippets
 * («Resultado Test 5 heridas premium 30-jul-2026»), que las imprimía en un
 * <style> dentro de <head> en TODAS las páginas de la web (medido el 2-oct-2026:
 * 7 de 7 páginas servidas lo llevaban), aunque solo casan en /test-5-heridas/
 * porque todas empiezan por body.page-id-5570. Ahora van en su hoja, que solo
 * se pide en la página del test, igual que su script (20-test-5-heridas.js).
 *
 * POR QUÉ CONSERVAN EL !important. Pisan los estilos propios del test, que van
 * en un <style> dentro del contenido de la página (en el <body>, o sea DESPUÉS
 * de esta hoja), y algunos de esos llevan !important (t5-book-price, t5-book-dis).
 * Se copian tal cual para que el resultado se vea EXACTAMENTE igual que hoy.
 * Fundirlas con el <style> del contenido y quitar los !important es otra tarea.
 *
 * ORDEN. Se encola con dependencia de 'az-sistema' para salir detrás de
 * 02-az-base.css y 10-az-sistema.css, como salía el fragmento.
 * ═══════════════════════════════════════════════════════════════════════════ */
body.page-id-5570 .page-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.page-id-5570 .t5-wrap {
  box-sizing: border-box !important;
  width: min(calc(100% - 32px), 760px) !important;
  max-width: 760px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.page-id-5570 .t5-result {
  width: 100% !important;
  max-width: 100% !important;
}
body.page-id-5570 .t5-rhero {
  background: linear-gradient(135deg, #1f3d2b 0%, #102218 100%) !important;
  color: #ffffff !important;
  padding: clamp(30px, 5vw, 46px) clamp(22px, 5vw, 42px) !important;
}
body.page-id-5570 .t5-rhero .t5-rkick {
  color: #f0c978 !important;
  font-size: .78rem !important;
  line-height: 1.5 !important;
}
body.page-id-5570 .t5-rhero h2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 5vw, 2.75rem) !important;
  line-height: 1.08 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
body.page-id-5570 .t5-guide,
body.page-id-5570 .t5-guide p {
  color: #21362a !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}
body.page-id-5570 .t5-guide .t5-gesto {
  color: #21362a !important;
  background: #faf6ec !important;
}
body.page-id-5570 .t5-hyp .t5-hyphero {
  background: linear-gradient(135deg, #1f3d2b 0%, #102218 100%) !important;
  color: #ffffff !important;
}
body.page-id-5570 .t5-hyp .t5-hyphero h3 {
  color: #ffffff !important;
}
body.page-id-5570 .t5-hyp .t5-hyphero p {
  color: #f5efe1 !important;
  opacity: 1 !important;
}

body.page-id-5570 .t5-book {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) !important;
  gap: clamp(22px, 4vw, 34px) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: clamp(22px, 4vw, 32px) !important;
  background: linear-gradient(135deg, #ffffff 0%, #faf6ec 100%) !important;
  border: 1px solid #c9a55f !important;
  overflow: hidden !important;
}
body.page-id-5570 .t5-book img {
  display: block !important;
  width: 100% !important;
  max-width: 190px !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
}
body.page-id-5570 .t5-book-body {
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}
body.page-id-5570 .t5-book-body h4 {
  color: #1f3d2b !important;
  font-size: clamp(1.45rem, 3vw, 1.8rem) !important;
  line-height: 1.15 !important;
}
body.page-id-5570 .t5-book-body > p,
body.page-id-5570 .t5-book-price,
body.page-id-5570 .t5-book-dis {
  color: #293b31 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
}
body.page-id-5570 .t5-book-price {
  color: #765717 !important;
  font-weight: 700 !important;
}
body.page-id-5570 .t5-book-cta {
  color: #ffffff !important;
  background: #1f3d2b !important;
  line-height: 1.35 !important;
}
body.page-id-5570 .t5-result a:focus-visible,
body.page-id-5570 .t5-result button:focus-visible,
body.page-id-5570 .t5-result input:focus-visible {
  outline: 3px solid #c9a55f !important;
  outline-offset: 3px !important;
}

@media (max-width: 640px) {
  body.page-id-5570 .t5-wrap {
    width: min(calc(100% - 24px), 760px) !important;
  }
  body.page-id-5570 .t5-book {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    padding: 22px 18px !important;
  }
  body.page-id-5570 .t5-book img {
    width: min(72%, 210px) !important;
    max-width: 210px !important;
    margin: 0 auto !important;
  }
  body.page-id-5570 .t5-book-body {
    text-align: left !important;
  }
  body.page-id-5570 .t5-book-cta {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

/* 3-oct-2026 · El bloque del libro de la intro (antes SOLO en un <style> dentro del contenido de la 5570): aquí también,
 * para que la portada del libro no pueda salir a todo el ancho si ese <style> falla o se parte. */
html body .t5-bookintro { display: flex; gap: 16px; align-items: center; }
html body .t5-bookintro img { width: 92px !important; max-width: 92px !important; height: auto; flex: 0 0 92px; }
html body .t5-bookintro p { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) { html body .t5-bookintro { flex-direction: column; text-align: center; } }

/* 22-oct-2026 · en la página del test no se ofrece la guía: un solo regalo, el del test.
   La hoja solo carga en esta página (is_page 5570), así que no afecta al resto. */
@media (max-width: 768px) { html body .cta-sticky-mobile { display: none !important; } html body { padding-bottom: 0 !important; } }
