:root{ --mbs-primary-color: #c62828;}
.assist_card__widget-form button svg{
    color: #c62828;
}

body .pa-assist-card-widget-field-group {
    background-color: #fefefe;
    border-radius: .25rem;
    padding: .25rem .25rem .5rem;
}

body .ac-date-trigger-display,
body .assist-card-qty-selector__inputs, 
body .assist_card__widget-form-group input:not([type=radio]):not([type=checkbox]):not(.qty-selector__input), 
body .assist_card__widget-form-group select{
    height: 32px;
        max-height: 32px;

    border: 1px solid rgba(0, 0, 0, .3);
}

.assist-card-landing-multicaja{
    margin-top: 2rem;
}

.assist-card-landing-multicaja__heading{
    background-color: #fefefe;
    font-weight: 600;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.75rem 1rem 0.5rem 1rem;
    text-align: center;
    display: inline-block;
    line-height: normal;
}

body .multi-search-box__rootContainer .pa-assist-card-widget-heading,
body .multi-search-box__rootContainer .multi-search-box__tab-selector-container{
    display: none;
}

body .multi-search-box__rootContainer  .assist_card__widget-form{
    padding: 0.75rem !important;
}

body .assist_card__widget-form{
    background-color: #fefefe !important;
}

body .assist_card__widget-form form{
    font-size: 12px;
    font-weight: 500;
    color: #454545;
    text-transform: uppercase;
    font-family: 'Work Sans';
}

body .assist_card__widget-form form .pa-assist-card-widget-field-group__label{
    font-weight: 500;
    color: #454545;
    text-transform: uppercase;
    font-family: 'Work Sans';
}

body .assist_card__widget-form .inputs-passengers__wrapper .input-label{
    font-size: 12px;
}

body .assist_card__widget-form .inputs-container__active .inputs-passengers-wrapper__ages{
    padding: 0.25rem 0.325rem 0;
}

body .assist_card__widget-form .inputs-passengers-wrapper__ages-container {
    min-width: 118px;
}

body .promotioncode_button{
    text-transform: none;
    color: #454545 !important;
}

body .multi-search-box__rootContainer .multi-search-box__tab-content,
body .multi-search-box__rootContainer .assist_card__widget-form{
    border-radius: 0 0.5rem 0.5rem 0.5rem;
}

.how-our-service-works .channels_btns a img{
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
}

body .assist_card__widget-form button.submit-button{
    font-size: 14px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .assist-card-landing-multicaja{
        display: block;
        position: absolute;
        z-index: 1;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 3rem;
        /* Sin esto la caja se sale de la pantalla entre 768 y ~1000px: un absoluto sin restricción
           se estira a su contenido, y el widget declara width:980px. Su propio max-width:100% no
           alcanza porque ese 100% se resuelve contra ESTE contenedor, que también mide 980. */
        max-width: calc(100% - 2rem);
    }

    body .multi-search-box__rootContainer .assist_card__widget-form{
        padding: 1.25rem 0.75rem !important;
    }

    body .assist_card__widget-form form .pa-assist-card-widget-field-group__label{
        font-size: 12px;
    }
}

[data-banner]{
    opacity: 0;
    transition: opacity .3s ease;
}
[data-banner].banner-loaded{
    opacity: 1;
}

[data-embed]{
    display: none;
}
[data-embed].embed-loaded{
    display: flex;
    justify-content: center;
    padding: 32px 16px;
}
[data-embed] iframe{
    max-width: 100%;
}
[data-embed] iframe[src*="youtube"],
[data-embed] iframe[src*="youtu.be"]{
    width: 100%;
    max-width: 720px;
    height: auto;
    aspect-ratio: 16 / 9;
}
/* Reproductor propio del video de la landing (card 1190): sin la barra nativa del navegador. */
[data-embed] .embed-player{
    position: relative;
    max-width: min(100%, 720px);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    line-height: 0;
}
.embed-player video{
    display: block;
    max-width: 100%;
    max-height: 80vh;
}
.embed-player__play{
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.embed-player__play::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45));
    opacity: 0;
    transition: opacity .3s;
}
.embed-player__play::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e4002b' d='M8 6.8v10.4a1 1 0 0 0 1.5.86l8.4-5.2a1 1 0 0 0 0-1.72l-8.4-5.2A1 1 0 0 0 8 6.8z'/%3E%3C/svg%3E") center / 42px no-repeat;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .3s, transform .3s;
}
.embed-player.is-paused .embed-player__play::before,
.embed-player.is-paused .embed-player__play::after{ opacity: 1; transform: none; }
.embed-player.is-paused .embed-player__play:hover::after{ transform: scale(1.07); }
.embed-player__play:focus-visible::after{
    opacity: 1;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #e4002b;
}
.embed-player__mute{
    position: absolute;
    right: 14px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 8v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/%3E%3C/svg%3E") center / 20px no-repeat;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background-color .2s;
}
.embed-player__mute:hover{ background-color: rgba(0,0,0,.65); }
.embed-player__mute[hidden]{ display: none; }
.embed-player.is-muted .embed-player__mute{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3 9v6h4l5 5V4L7 9H3zm13.6 3 2.4-2.4-1.4-1.4-2.4 2.4-2.4-2.4-1.4 1.4 2.4 2.4-2.4 2.4 1.4 1.4 2.4-2.4 2.4 2.4 1.4-1.4z'/%3E%3C/svg%3E"); }
.embed-player__bar{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255,255,255,.25);
    pointer-events: none;
}
.embed-player__bar span{
    display: block;
    height: 100%;
    background: #e4002b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s linear;
}
@media (prefers-reduced-motion: reduce){
    .embed-player__play::before, .embed-player__play::after, .embed-player__bar span{ transition: none; }
}
/* Los Shorts son verticales: pisan el 16/9 de arriba (misma especificidad, gana el ultimo). */
[data-embed] iframe.yt-short{
    max-width: 340px;
    aspect-ratio: 9 / 16;
}

/* Punto 3 de Matías: el input de edad y los ± del popover Pasajeros se veían
   apagados. Las custom properties atraviesan el shadow DOM del widget. */
msb-assist-widget{
    --msb-c-field-border: #9e9e9e;
    --msb-c-ink-accent: #c62828;
    --msb-c-muted: #616161;
    --msb-c-btn-disabled-opacity: 0.6;
    --msb-c-placeholder: #5a6270;
}
