.adapt-mobile-menu {
    display: none;
}

@media (max-width: 980px) {
    #et-top-navigation:has(.adapt-mobile-menu) #et_mobile_nav_menu {
        display: none;
    }

    #main-header .adapt-mobile-menu {
        display: block;
        position: relative;
        text-align: left;
        color: #17334a;
    }

    .adapt-mobile-menu summary {
        cursor: pointer;
        list-style: none;
    }

    .adapt-mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .adapt-mobile-menu .adapt-mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 46px;
        padding: 8px 15px;
        border: 1px solid #d8e2e9;
        border-radius: 8px;
        background: #f4f8fb;
        font-size: 16px;
        font-weight: 700;
    }

    .adapt-menu-icon {
        display: inline-block;
        width: 17px;
        height: 13px;
        border-block: 2px solid currentColor;
        background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
    }

    .adapt-mobile-menu .adapt-mobile-menu-toggle::after,
    .adapt-nav-branch > summary::after {
        content: '';
        display: block;
        flex-shrink: 0;
        width: 8px;
        height: 8px;
        margin-left: auto;
        margin-right: 3px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .adapt-mobile-menu[open] > summary::after,
    .adapt-nav-branch[open] > summary::after {
        transform: rotate(225deg);
    }

    .adapt-mobile-menu > .adapt-mobile-panel {
        position: absolute;
        z-index: 1000;
        inset: calc(100% + 6px) 0 auto;
        max-height: min(65vh, 30rem);
        max-height: min(65dvh, 30rem);
        overflow: auto;
        overscroll-behavior: contain;
        padding: 7px 12px;
        border: 1px solid #d8e2e9;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(23, 51, 74, .17);
    }

    .adapt-mobile-panel ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .adapt-mobile-panel li {
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #e9eef2;
    }

    .adapt-mobile-panel li:last-child {
        border-bottom: 0;
    }

    .adapt-mobile-panel a,
    .adapt-mobile-panel .adapt-nav-branch > summary {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 9px 8px;
        color: inherit;
        font-size: 15px;
        line-height: 1.35;
    }

    .adapt-mobile-primary > li > a,
    .adapt-mobile-primary > li > details > summary {
        font-weight: 700;
    }

    .adapt-mobile-panel .adapt-nav-branch > ul {
        margin: 0 0 4px 8px;
        padding-left: 8px;
        border-left: 2px solid #e1edf5;
    }

    .adapt-mobile-panel .adapt-mobile-account {
        display: flex;
        flex-wrap: wrap;
        gap: 0 8px;
        margin-top: 4px;
        border-top: 1px solid #d8e2e9;
    }

    .adapt-mobile-account li {
        border: 0;
    }

    .adapt-mobile-account a {
        color: #17699e;
        font-weight: 600;
    }

    .adapt-mobile-menu a:focus-visible,
    .adapt-mobile-menu summary:focus-visible {
        outline: 2px solid #17699e;
        outline-offset: -2px;
        border-radius: 4px;
    }
}
