
@media (max-width: 767px) {
    /* One PDP-style glass card contains every search field. */
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search > .row,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .bc_form .g-field-search > .row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 1px solid color-mix(in srgb, var(--bc-text, #374151) 12%, transparent) !important;
        border-radius: 18px !important;
        background: color-mix(in srgb, var(--bc-background, #fff) 94%, transparent) !important;
        box-shadow: 0 18px 44px rgba(6, 12, 24, .22) !important;
        -webkit-backdrop-filter: blur(26px) saturate(150%) !important;
        backdrop-filter: blur(26px) saturate(150%) !important;
        overflow: visible !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search > .row > [class*="col-"],
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .bc_form .g-field-search > .row > [class*="col-"] {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .g-field-search > .row > [class*="col-"] + [class*="col-"] {
        border-top: 1px solid color-mix(in srgb, var(--bc-text, #374151) 12%, transparent) !important;
    }

    /* Individual rows are transparent; the parent card supplies the surface. */
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .form-group,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .bc_form .g-field-search > .row > [class*="col-"]:not(:first-child) .form-group {
        width: 100% !important;
        height: auto !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* The reference has no leading icon discs. */
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .form-group > .field-icon {
        display: none !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .form-content label {
        margin: 0 0 2px !important;
        color: color-mix(in srgb, var(--bc-text, #374151) 68%, transparent) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        letter-spacing: .045em !important;
        text-transform: uppercase !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .form-control,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .form-content .render,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .check-in-render,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .check-out-render,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .form-select-guests .render .adults,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .form-select-guests .render .children {
        color: var(--bc-text, #111827) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .form-content .arrow {
        right: 0 !important;
        color: color-mix(in srgb, var(--bc-text, #374151) 68%, transparent) !important;
        font-size: 18px !important;
    }

    /* Keep the guest popover outside the unified card and above the CTA. */
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .form-select-guests,
    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all #bc_space .form-select-guests .form-group.show {
        overflow: visible !important;
    }

    body.bc-skin .bc_wrap .page-template-content .bc-form-search-all .bc_form .button-item {
        margin-top: 10px !important;
    }
}
