/* MRCS Arabic mobile menu — stacking/z-index hotfix */
@media (max-width: 991.98px) {
    html[dir="rtl"] .site-header,
    html[lang^="ar"] .site-header {
        z-index: 100002 !important;
    }

    html[dir="rtl"] .site-header .sticky-header,
    html[lang^="ar"] .site-header .sticky-header,
    html[dir="rtl"] .site-header .main-bar-wraper,
    html[lang^="ar"] .site-header .main-bar-wraper,
    html[dir="rtl"] .site-header .main-bar,
    html[lang^="ar"] .site-header .main-bar {
        z-index: 100002 !important;
    }

    html[dir="rtl"] .header-nav,
    html[lang^="ar"] .header-nav,
    html[dir="rtl"] #navbarNavDropdown,
    html[lang^="ar"] #navbarNavDropdown {
        position: fixed !important;
        z-index: 100004 !important;
        isolation: isolate;
        pointer-events: auto !important;
        background: #fff !important;
        opacity: 1 !important;
    }

    html[dir="rtl"] .menu-close,
    html[lang^="ar"] .menu-close {
        z-index: 100003 !important;
        pointer-events: auto;
    }

    html[dir="rtl"] .menu-close::before,
    html[dir="rtl"] .menu-close::after,
    html[lang^="ar"] .menu-close::before,
    html[lang^="ar"] .menu-close::after {
        z-index: 1 !important;
    }

    html[dir="rtl"] .contact-sidebar,
    html[lang^="ar"] .contact-sidebar {
        z-index: 100001 !important;
    }

    html[dir="rtl"] .page-content,
    html[lang^="ar"] .page-content,
    html[dir="rtl"] .dz-bnr-inr,
    html[lang^="ar"] .dz-bnr-inr,
    html[dir="rtl"] .main-slider,
    html[lang^="ar"] .main-slider,
    html[dir="rtl"] .swiper,
    html[lang^="ar"] .swiper {
        z-index: auto !important;
    }

    html[dir="rtl"] .header-nav *,
    html[lang^="ar"] .header-nav * {
        opacity: 1;
    }
}
