/* PuntoSeguro - formularios de contratacion (23-nov-2026).
   Cabecera mas baja y bloque azul del precio en una sola franja, para que el primer campo
   del paso 1 se vea sin hacer scroll. Solo CSS: no cambia marcado ni scripts.
   Se enlaza con data-no-optimize desde application-forms-template/header-application.php
   y zurich-form/header-application.php, despues de Tailwind. Lleva !important porque la
   hoja UCSS de LiteSpeed (visitante anonimo) se carga despues que esta. */

/* ---- Cabecera: logo de 86 a 50 px de alto (38 en movil) y sin relleno sobrante ---- */
header.header nav.navbar{padding-top:6px!important;padding-bottom:6px!important;align-items:center}
header.header a.navbar-brand{padding-top:0!important;padding-bottom:0!important}
header.header .navbar-brand-logo{height:50px!important;width:auto!important}
header.header #navbarSupportedContent{padding-top:0!important;padding-bottom:0!important}
header.header .header_btns{padding-top:0!important;padding-bottom:0!important;
  margin-top:0!important;margin-bottom:0!important}
@media (max-width:991.98px){
  header.header .navbar-brand-logo{height:38px!important}
}
/* Botones de WhatsApp y telefono: mismos colores (rellenos), de 41 a 38 px y letra de 15 */
@media (min-width:992px){
  header.header .ps-wa-comp--form .ps-wa-btn{min-height:38px!important;font-size:15px!important;
    padding:0 14px 0 12px!important}
  header.header .header_btns li.aPPheaderBtn{padding:0 12px!important;min-height:38px;
    display:flex;align-items:center}
  header.header .header_btns li.aPPheaderBtn .nav-link{padding:0!important}
  header.header .header_btns li.aPPheaderBtn .button-secondary-content{font-size:15px!important}
}

/* ---- Bloque azul del precio: nombre y cobertura a la izquierda, precio a la derecha ----
   No se aplica al «precio orientativo» de Zurich, que lleva una nota debajo. */
.ps-confirm-banner:not(.ps-confirm-banner--orientativo){display:grid!important;
  grid-template-columns:1fr auto;align-items:center;column-gap:12px;
  text-align:left!important;padding:8px 16px!important}
.ps-confirm-banner:not(.ps-confirm-banner--orientativo) .ps-confirm-banner__label{
  grid-column:1;grid-row:1;margin:0!important}
.ps-confirm-banner:not(.ps-confirm-banner--orientativo) .ps-confirm-banner__cover{
  grid-column:1;grid-row:2;margin:0!important}
.ps-confirm-banner:not(.ps-confirm-banner--orientativo) .ps-confirm-banner__price{
  grid-column:2;grid-row:1 / span 2;margin:0!important;font-size:22px!important;
  line-height:1.1!important;white-space:nowrap}

/* ---- Franja de pasos pegada a la cabecera y de lado a lado (23-nov-2026) ----
   El fondo y la linea de abajo se alargan hacia los lados con border-image (no crea
   scroll horizontal ni cambia el ancho del contenido). Se quita el hueco de 4 px que
   dejaba el pt-1 del contenedor. En Zurich la franja es blanca y ya iba pegada a la
   banda de resenas: alli solo se alarga la linea. */
.container.pt-1:has(#ps-progress-bar){padding-top:0!important}
#ps-progress-bar{border-top:0!important;border-bottom:0!important;
  border-image:conic-gradient(#f5f5f5 0 0) fill 0/0/0 100vmax}
#ps-progress-bar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:#e0e0e0;border-image:conic-gradient(#e0e0e0 0 0) fill 0/0/0 100vmax}
#app > .ps-progress{border-bottom:0!important;
  border-image:conic-gradient(#fff 0 0) fill 0/0/0 100vmax}
#app > .ps-progress::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:#e5e7eb;border-image:conic-gradient(#e5e7eb 0 0) fill 0/0/0 100vmax}
