/* Tour Guides Egypt public navigation - v7.0.0 */
.tge-site-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9996;
    display: none;
    background: rgba(8, 24, 44, 0.52);
    backdrop-filter: blur(3px);
}

body.tge-mobile-menu-open .tge-site-menu-overlay {
    display: block;
}

@media (max-width: 991px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .header-area {
        position: relative;
        z-index: 9998;
    }

    .header-area .header-top-bar {
        display: block !important;
        padding: 9px 14px !important;
        border-bottom: 1px solid rgba(15, 35, 62, 0.08);
        background: #f7faff;
    }

    .header-area .header-top-bar .container-fluid {
        padding: 0;
    }

    .header-area .header-top-bar .row {
        margin: 0;
    }

    .header-area .header-top-bar .col-lg-6:first-child {
        display: none;
    }

    .header-area .header-top-bar .col-lg-6:last-child {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }

    .header-area .header-top-content,
    .header-area .header-right,
    .header-area .header-right-action {
        width: 100%;
    }

    .header-area .header-right {
        justify-content: center !important;
    }

    .header-area .header-right-action {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .header-area .header-right-action .theme-btn {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 9px 14px;
        border-radius: 13px;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .header-area .header-menu-wrapper {
        padding-right: 14px !important;
        padding-left: 14px !important;
        background: #ffffff;
    }

    .header-area .menu-wrapper {
        min-height: 76px;
    }

    .header-area .logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .header-area .logo > a img {
        max-width: min(210px, 68vw);
        max-height: 58px;
        object-fit: contain;
    }

    .header-area .menu-toggler {
        position: relative;
        z-index: 10001;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        line-height: 44px;
        border: 1px solid #d7e4f3;
        border-radius: 14px;
        background: #f7faff;
        color: #10233f;
        box-shadow: none;
    }

    .header-area .main-menu-content {
        position: fixed !important;
        top: var(--tge-menu-top, 128px) !important;
        right: 12px !important;
        left: 12px !important;
        z-index: 9999 !important;
        display: none !important;
        width: auto !important;
        max-height: calc(100dvh - var(--tge-menu-top, 128px) - 16px);
        margin: 0 !important;
        padding: 12px !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid rgba(15, 35, 62, 0.1);
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(8, 24, 44, 0.24);
    }

    body.tge-mobile-menu-open .header-area .main-menu-content {
        display: block !important;
    }

    .header-area .main-menu-content nav,
    .header-area .main-menu-content .menu {
        width: 100%;
    }

    .header-area .main-menu-content .menu,
    .header-area .main-menu-content .dropdown-menu-item,
    .header-area .main-menu-content .sub-menu {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .header-area .main-menu-content .menu > li,
    .header-area .main-menu-content li {
        position: relative;
        display: block !important;
        width: 100%;
        padding: 0 !important;
        border-bottom: 1px solid #edf2f7;
    }

    .header-area .main-menu-content li:last-child {
        border-bottom: 0;
    }

    .header-area .main-menu-content li > a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 11px 12px !important;
        color: #10233f !important;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.4;
        white-space: normal;
    }

    .header-area .main-menu-content .drop-menu-toggler,
    .header-area .main-menu-content .sub-menu-toggler {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 10px;
        background: #eef5ff;
        color: #1769d2;
    }

    .header-area .main-menu-content .dropdown-menu-item,
    .header-area .main-menu-content .sub-menu {
        position: static !important;
        display: none !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 4px 0 9px 14px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .header-area .main-menu-content li.tge-submenu-open > .dropdown-menu-item,
    .header-area .main-menu-content li.tge-submenu-open > .sub-menu {
        display: block !important;
    }

    .header-area .nav-btn,
    .header-area .down-button {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .tge-site-menu-overlay {
        display: none !important;
    }
}
