/* HV607 | Ajustes focalizados. No modifica datos ni lógica de cobro. */

/* Promociones en detalles: una oportunidad ocupa el ancho completo. */
#trip-popup .hv607-detail-benefits{box-sizing:border-box!important;min-width:0!important;width:100%!important}
#trip-popup .hv607-detail-benefits .hv607-detail-offer-list{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:12px!important;align-items:stretch!important;max-width:100%!important;
}
#trip-popup .hv607-detail-benefits .hv607-detail-offer{
 box-sizing:border-box!important;display:block!important;width:100%!important;
 min-width:0!important;max-width:none!important;grid-column:1/-1!important;
 flex:1 1 100%!important;margin-left:0!important;margin-right:0!important;
}
#trip-popup .hv607-detail-benefits .hv607-detail-offer :is(p,div,strong,span,a){
 max-width:100%!important;overflow-wrap:break-word;
}

/* Título autónomo: fuera del fondo y borde de cada promoción. */
#booking-popup #hv606-promotion-group{
 display:flex!important;flex-direction:column!important;
 align-items:stretch!important;gap:12px!important;
 background:transparent!important;border:0!important;
 box-shadow:none!important;overflow:visible!important;
 padding:0!important;margin:18px 0!important;
}
#booking-popup #hv606-promotion-group > #hv607-promotion-heading{
 display:block!important;align-self:stretch!important;flex:none!important;
 margin:0 0 1px!important;padding:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important;
 color:#303568!important;font-family:inherit!important;
 font-size:18px!important;font-weight:850!important;
 line-height:1.35!important;letter-spacing:.015em!important;
 text-transform:uppercase!important;
}
#booking-popup #hv606-promotion-group .hv607-original-promo-heading{display:none!important}
#booking-popup #hv606-promotion-group .hv607-promotion-card{
 width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;margin:0!important;
}
#booking-popup #hv606-promotion-group .hv607-promotion-card > :first-child{
 margin-top:0!important;
}

/* Un borde por elemento seleccionable: lima brillante, sin doble outline. */
#booking-popup #hv606-promotion-group label.hv606-choice,
#booking-popup #hv606-promotion-group .hv573-gift-toggle{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 border:1px solid #a5d21d!important;border-radius:12px!important;
 box-shadow:none!important;outline:none!important;
 background:#fff!important;min-height:55px!important;
 padding:12px 14px!important;margin:0!important;
}
#booking-popup #hv606-promotion-group label.hv606-choice:has(input:checked),
#booking-popup #hv606-promotion-group .hv573-gift-toggle:has(input:checked){
 border-color:#83b900!important;box-shadow:none!important;
 background:#f7fbe8!important;
}
#booking-popup #hv606-promotion-group input[type="checkbox"]{
 appearance:none!important;-webkit-appearance:none!important;
 box-sizing:border-box!important;position:relative!important;
 width:20px!important;height:20px!important;min-width:20px!important;
 min-height:20px!important;flex:0 0 20px!important;
 border:1px solid #9dc825!important;border-radius:4px!important;
 outline:none!important;box-shadow:none!important;background:#fff!important;
 margin:0!important;vertical-align:middle!important;
}
#booking-popup #hv606-promotion-group input[type="checkbox"]:checked{
 background:#aad128!important;border-color:#78a900!important;
}
#booking-popup #hv606-promotion-group input[type="checkbox"]:checked::after{
 content:"✓";position:absolute;inset:0;display:grid;place-items:center;
 color:#253552;font-family:Arial,sans-serif;font-size:15px;
 font-weight:900;line-height:18px;
}
#booking-popup #hv606-promotion-group input[type="checkbox"]:focus-visible{
 outline:2px solid #4c7900!important;outline-offset:3px!important;
}

/* Texto rojo del paso 1, inmediatamente después de la introducción. */
#booking-popup #hv606-coupon-tip{
 display:block!important;width:100%!important;
 padding:0!important;margin:8px 0 16px!important;
 color:#b62b3b!important;font-size:13px!important;
 font-weight:650!important;line-height:1.45!important;
}

/* Cotización estable: nunca salta por reconstruir el texto explicativo. */
#booking-popup #hv573-gift-quote:has(.hv573-gift-discount){
 min-height:164px!important;contain:layout style;
}
#booking-popup #hv606-partial-note{
 min-height:2.9em!important;font-size:12px!important;
 line-height:1.5!important;font-weight:600!important;
}
#booking-popup #hv573-gift-quote :is(strong,span),
#booking-popup #hv606-promotion-group :is(strong,span,small){
 font-family:inherit!important;font-synthesis:none;
 font-variant-numeric:tabular-nums!important;
 text-size-adjust:100%!important;-webkit-text-size-adjust:100%!important;
}
#booking-popup #hv606-promotion-group label.hv606-choice,
#booking-popup #hv606-promotion-group label.hv606-choice:has(input:checked){
 transform:none!important;font-size:15px!important;line-height:1.4!important;
}
@media(max-width:600px){
 #booking-popup #hv606-promotion-group > #hv607-promotion-heading{font-size:16px!important}
 #booking-popup #hv606-promotion-group{gap:9px!important}
 #booking-popup #hv606-coupon-tip{font-size:12px!important;margin:6px 0 12px!important}
 #trip-popup .hv607-detail-benefits .hv607-detail-offer{padding:12px!important}
}

/* HV608: elevar especificidad respecto a HV606 para que jamás aparezca un segundo contorno. */
#booking-popup #hv606-promotion-group label.hv606-choice input[type="checkbox"],
#booking-popup #hv606-promotion-group .hv573-gift-toggle input[type="checkbox"]{
 border:1px solid #a5d21d!important;outline:0 none!important;
 box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;
}
#booking-popup #hv606-promotion-group label.hv606-choice input[type="checkbox"]:focus-visible,
#booking-popup #hv606-promotion-group .hv573-gift-toggle input[type="checkbox"]:focus-visible{
 outline:2px solid #4c7900!important;outline-offset:3px!important;
}
