/* Buscador principal (centros, paquetes y hoteles): misma barra azul de una línea que el buscador de hoteles.
   La mitad de la barra queda en el hero y la otra mitad debajo, igual que en hoteles y centros. */
.bp-section {
    position: relative;
    z-index: 150;
    padding-bottom: 60px;
}

.bp-wrap {
    position: relative;
    height: 0;
}

.bp-linea {
    width: 90%;
    margin: 0 auto;
    background: var(--ski-blue);
    border: 1px solid #e5e7eb;
    box-shadow: none;
    margin-bottom: 0;
    transform: translateY(-50%);
}

.bp-linea .search-field {
    min-width: 0;
}

.bp-linea .search-field label {
    color: #fff;
    opacity: 1;
}

.bp-linea .search-btn--text {
    width: auto;
    min-width: 140px;
    height: 44px;
    color: #000;
}

.bp-linea .pax-popover {
    left: 0;
    right: auto;
    width: 320px;
    max-width: calc(100vw - 32px);
}

#bp-error {
    margin-top: 0;
}

@media (max-width: 768px) {
    /* En móvil el buscador va debajo del hero, sin solaparse */
    .bp-section {
        z-index: auto;
        padding-top: 16px;
        padding-bottom: 24px;
        background: #fff;
    }

    .bp-wrap {
        height: auto;
    }

    .bp-linea {
        width: 100%;
        transform: none;
        flex-direction: column;
        align-items: stretch;
    }

    .bp-linea .search-field {
        width: 100%;
    }

    .bp-linea .search-btn--text {
        width: 100%;
    }
}
