/* Keep the mobile search overlay above the category navigation. */
@media (max-width: 767px) {
    /* The theme opens every search wrapper at once; avoid a second search bar. */
    body .elbzotech-search-global-default .elbzotech-search-form-wrap-global.active {
        display: none !important;
    }

    body .elbzotech-search-global-icon-popup.open-search-popup .elbzotech-search-form-wrap-global,
    body .elbzotech-search-global-icon-popup .elbzotech-search-form-wrap-global.active {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1000000 !important;
    }

    body .elbzotech-search-global-icon-popup.open-search-popup .content-form-popup,
    body .elbzotech-search-global-icon-popup .elbzotech-search-form-wrap-global.active .content-form-popup {
        position: fixed !important;
        top: calc(env(safe-area-inset-top, 0px) + 244px) !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 1000001 !important;
        padding: 48px 14px 12px !important;
        background: #fff !important;
        border-top: 1px solid #eee !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .16) !important;
    }

    body .elbzotech-search-global-icon-popup .content-form-popup .elbzotech-search-form-global > h3 {
        display: none !important;
    }

    body .elbzotech-search-global-icon-popup .elbzotech-close-search-form {
        position: fixed !important;
        top: calc(env(safe-area-inset-top, 0px) + 248px) !important;
        right: 12px !important;
        z-index: 1000002 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: #f3f3f3 !important;
        color: #222 !important;
        font-size: 18px !important;
        line-height: 36px !important;
        text-align: center !important;
    }

    body .elbzotech-search-global-icon-popup .content-form-popup .input-submit-form {
        height: 46px !important;
        border: 1px solid #ddd !important;
        border-radius: 6px !important;
        background: #fff !important;
    }
}
