/* Header menu */
.header-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.header-menu ul li a {
    text-decoration: none;
    color: #303036;
    font-size: 14px;
    font-weight: 500;
}

.header-menu ul li a:hover {
    text-decoration: underline;
    color: #303036;
    text-underline-offset: 5px;
}

/* Header menu END */

.menu-desktop-wrapper {
    max-width: 1200px;
    margin: auto;
}

.menu-desktop {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.main-menu {
    background-color: #fff;
    /*border-radius: 20px;*/
    /*border: 2px solid #EEEEEE;*/
    width: 100%;
    max-width: 1200px;
}

.menu-desktop .menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.menu-desktop .menu-links li {
    position: relative;
}

.menu-desktop .menu-links a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #5A009B;
    font-size: 20px;
}

.menu-desktop .menu-links > li > a {
    font-weight: 500;
}

.menu-desktop .menu-links > li > a:hover {
    text-decoration: underline;
    color: #5A009B;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.menu-desktop .dropdown-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    list-style: none;
    padding: 20px 0;
    margin: 0;
    background-color: #5A009B;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    min-width: 300px;
    z-index: 1;
}

.menu-desktop .dropdown-menu li a {
    padding: 5px 20px;
    color: #fff;
}

.menu-desktop .dropdown-menu li a:hover {
    background-color: #4d0185;
}

.menu-desktop .dropdown:hover .dropdown-menu {
    display: block;
}

.menu-desktop .dropdown:hover::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 120%;
    bottom: -20px;
}

.menu-desktop .dropdown:not(.open) > a::after {
    content: url("../images/arrow_down.svg");
    position: relative;
    top: -2px;
    transform: translateY(-50%);
    padding-left: 10px;
}

.menu-desktop .dropdown.open > a::after {
    content: url("../images/arrow_up.svg");
    position: relative;
    top: -2px;
    transform: translateY(-50%);
    padding-left: 10px;
}

@media (max-width: 1630px) {
    ul.menu-links > li:last-child > ul.dropdown-menu {
        left: auto;
        right: 0;
    }
}

@media (max-width: 1240px) {
    .menu-desktop-wrapper {
        width: 95%;
    }
}

@media (max-width: 960px) {
    .menu-desktop {
        display: none;
    }

    .header-menu {
        display: none;
    }

    .burger {
        display: flex;
    }

    .left-menu .left-menu__links .dropdown-menu {
        display: none;
    }

    .left-menu .left-menu__links .dropdown.open .dropdown-menu {
        display: block;
        max-height: 350px;
        overflow: hidden auto;
    }

    .left-menu .left-menu__back {
        display: none;
    }

    .left-menu .left-menu__back.active {
        display: flex;
    }

    .left-menu .left-menu__close {
        display: block;
    }

    .left-menu .left-menu__close.hidden {
        display: none;
    }

    .left-menu .left-menu__back {
        display: block;
        width: 2em;
        height: 2em;
    }

    .left-menu .dropdown-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .left-menu .dropdown a {
        position: relative;
        display: inline-block;
        padding-right: 20px;
        width: 92%;
    }

    .left-menu .dropdown:not(.open) a::after {
        content: url("../images/arrow_right.svg");
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: #fff;
    }

    .left-menu .icon-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 2px solid #8658a8;
        box-sizing: border-box;
        background-color: transparent;
    }

    .left-menu .left-menu__back svg {
        width: 100%;
    }

    .left-menu {
        padding: 10px 20px 38px;
    }

    .left-menu .left-menu__close {
        position: unset;
        top: unset;
        right: unset;
    }

    .left-menu .wrapper-icons {
        padding-bottom: 25px;
    }

    .left-menu .dropdown-parent {
        font-weight: bold;
    }

    .left-menu .dropdown-parent:hover {
        font-weight: bold;
        opacity: 1;
    }
}