/* menu */


.burger {
    display: none;
}

.burger_button {
    border: none;
    background: inherit;
    cursor: pointer;
    display: none;
}

.logo {
    position: absolute;
    left: 20px;
}

.menu_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    background-color: var(--basic-bg-color);
}

.menu, .lang_list {
    display: flex;
    align-items: center;
}

.menu_list {
    display: flex;
    gap: 40px;
}

.menu_item {
    margin-right: 20px;
    display: flex;
    align-items: stretch;
    position: relative;
}

.menu_link {
    color: var(--basic-text-color);
    padding: 13px 15px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    transition: background-color .2s, color .2s;
    text-align: center;
}

.menu_link:hover,
.menu_link__actual,
.location_link:hover {
    color: var(--basic-bg-color);
    background-color: var(--basic-hover-color);
}

.menu_link:active,
.location_link:active {
    background-color: var(--basic-active-color);
    color: var(--basic-text-color);
}

.menu_link__active {
    color: var(--basic-hover-color);
    text-decoration: underline;
}

.link_basic__actual {
    color: var(--basic-hover-color);
    text-decoration: underline;
}

.menu_brands_list {
    position: absolute;
    left: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 22px;
    top: 83px;
    /* display: none; */
    z-index: 5;
    background-color: #FFFFFF;
    transition: left .3s;
}

.menu_back_button {
    display: flex;
    align-items: center;
    padding: 30px 0;
    font-weight: 600;
}

.menu_back_button svg {
    transform: rotate(180deg);
    padding-left: 20px;
    padding-top: 4px;
}

.menu_brands_list--open {
    display: block;
    left: 0;
    overflow: scroll;
    height: calc(100vh - 83px);
}

.menu_brands_list--none {
    display: none;
}

.sections_icon--menu {
    display: none;
}

@media (max-width: 1000px) {

    .burger {
        display: block;
        position: absolute;
        left: 22px;
        top: 28px;
    }

    .burger_button {
        display: block;
        height: 25px;
        width: 30px;
        padding: 0;
        z-index: 5;
    }

    .menu-nav__toggle {
        display: block;
        width: 15px;
        height: 21px;
        right: 20px;
        top: 10px;
        transition: all .5s;
    }

    .menu-nav__toggle--cross {
        border: none;
        padding: 0;
        width: 25px;
        background-color: inherit;
    }

    .menu-nav__toggle--cross::after {
        content: "";
        position: absolute;
        width: 30px;
        height: 3px;
        border-radius: 2px;
        background-color: black;
        transform: rotate(-45deg);
        bottom: 10px;
        left: -4px;
        transition: all .2s;
    }

    .menu-nav__toggle--cross::before {
        content: "";
        position: absolute;
        width: 30px;
        border-radius: 2px;
        height: 3px;
        background-color: black;
        transform: rotate(45deg);
        bottom: 10px;
        left: -4px;
        transition: all .2s;
    }

    .menu-nav__toggle--burger {
        height: 3px;
        width: 15px;
        border: none;
        border-radius: 3px;
        padding: 0;
        background-color: black;
    }

    .menu-nav__toggle--burger::after {
        content: "";
        position: absolute;
        width: 25px;
        height: 3px;
        border-radius: 3px;
        background-color: black;
        transform: rotate(0deg);
        bottom: 3px;
        left: 0;
        transition: all .2s;
    }

    .menu-nav__toggle--burger::before {
        content: "";
        position: absolute;
        width: 25px;
        height: 3px;
        border-radius: 3px;
        background-color: black;
        transform: rotate(0deg);
        bottom: 19px;
        left: 0;
        transition: all .2s;
    }

    .menu_wrapper {
        position: relative;
        width: 100vw;
        bottom: -13px;
        border-radius: 0 0 14px 14px;
        transition: height .2s, padding .2s;
        box-sizing: border-box;
    }

    .menu_list {
        gap: 0;
        position: absolute;
        flex-direction: column;
        align-self: start;
        width: 100%;
        padding-left: 22px;
        background-color: #FFFFFF;
        z-index: 3;
        max-height: 300px;
        transition: max-height .2s;
        box-sizing: border-box;
    }

    .menu_item {
        width: 100%;
        align-items: center;
        margin-right: 0;
        height: 42px;
        padding: 10px 0;
        overflow: hidden;
        transition: height .2s, padding .2s;
    }

    .menu_link {
        align-self: flex-start;
    }

    .menu_item--close {
        height: 0;
        padding: 0;
        /* transition: height .2s, padding .2s; */
    }

    .sections_icon--menu {
        display: block;
    }

}