@media only screen and (max-width: 767px) {
    /* Keep Avada's menu DOM alive for CCRS Super Mobile Menu v2.2,
       but collapse the old visible mobile header so the quote-panel header replaces it. */
    body.ccrs-mqp-v2-page .fusion-header-wrapper {
        position: relative !important;
        z-index: 2147482000 !important;
        width: 100% !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.ccrs-mqp-v2-page .fusion-header-wrapper .fusion-header,
    body.ccrs-mqp-v2-page .fusion-header-wrapper .fusion-header > .fusion-row {
        width: 100% !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.ccrs-mqp-v2-page .fusion-header-wrapper .fusion-logo,
    body.ccrs-mqp-v2-page .fusion-header-wrapper .fusion-mobile-menu-icons {
        position: absolute !important;
        left: -9999px !important;
        top: 0 !important;
        width: 1px !important;
        height: 1px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        clip-path: inset(50%) !important;
        white-space: nowrap !important;
    }

    /* Do not hide nav.fusion-mobile-nav-holder: the locked CCRS menu plugin uses it. */
    body.ccrs-mqp-v2-page #ccrs-mqp-v2-host {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media only screen and (min-width: 768px) {
    body.ccrs-mqp-v2-page #ccrs-mqp-v2-host {
        display: none !important;
    }
}

@media only screen and (max-width: 767px) {
    body.ccrs-mqp-v2-page .ccrs-hdn-user-icon,
    body.ccrs-mqp-v2-page .ccrs-hdn-user,
    body.ccrs-mqp-v2-page [class*="ccrs-hdn-user-icon"],
    body.ccrs-mqp-v2-page .fusion-header-wrapper .fusion-icon-user,
    body.ccrs-mqp-v2-page .fusion-header-wrapper a[href*="wp-login"] {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
