
@media (max-width: 767px) {
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search {
        position: relative !important;
        z-index: 999 !important;
    }

    /* iOS amplía la página al enfocar controles con texto menor de 16px. */
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .smart-search input.form-control,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form input.smart-search-location {
        font-size: 16px !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form input.smart-search-location[type="button"] {
        text-align: left !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search:has(.bc-autocomplete.show),
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search:has(.select-guests-dropdown.show) {
        z-index: 10050 !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search:has(.bc-autocomplete.show) > .row,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search:has(.select-guests-dropdown.show) > .row {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all :is(#bc_space, #bc_car, #bc_boat, #bc_tour) .bc_form .g-field-search:has(.bc-autocomplete.show) > .row,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all :is(#bc_space, #bc_car, #bc_boat, #bc_tour) .bc_form .g-field-search:has(.select-guests-dropdown.show) > .row {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all :is(#bc_space, #bc_car, #bc_boat, #bc_tour) .select-guests-dropdown.show:popover-open {
        position: fixed !important;
        inset: auto 12px max(12px, env(safe-area-inset-bottom)) !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 8px 14px !important;
        transform: none !important;
        border-radius: 24px !important;
    }

}
