.h-main-menu {
    position: absolute;
    width: 100%;
    background-color: #fff;
    z-index: 500;
    border-radius: 0 0 16px 16px;
    top: 100%;
    left: 0;
    box-shadow: 0 18px 40px rgba(181,116,154,.14);
}

.h-main-menu__list {
    border-width: 0 2px 2px 2px;
    border-style: solid;
    border-color: #cf82b3;
    border-radius: 0 0 16px 16px;
    background: #fff;

    padding: 4px 0 12px;

    overflow: visible;

    list-style: none;

    margin: 0;
}

.h-main-menu__item {
    padding: 0 15px;
    position: relative;
    list-style: none;
}

.h-main-menu__item:nth-of-type(2n - 1) {
    background-color: #fff8fb;
}

.h-main-menu__item:last-child .h-main-menu__link {
    border: none;
    margin-bottom: 0;
}

.h-main-menu__close {
    display: none;
}

.h-main-menu__list-title {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #563c50;
    display: none;
}

.h-main-menu__btn-mobile {
    cursor: pointer;
    display: none;
}

.h-main-menu__btn-mobile .menu-icon {
    display: none;
    width: 18px;
    height: 18px;
}

.h-main-menu__link {
    position: relative;

    color: #6c5967;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 0;

    min-height: 36px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;

    transition: all 0.25s ease-in-out;
}

.h-main-menu__link span {

    max-width: 245px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.h-main-menu__link:hover {

    color: #cf82b3;

    background:
        linear-gradient(
            90deg,
            rgba(207,130,179,.16),
            transparent
        );

    border-radius: 8px;

    padding-left: 8px;

    box-shadow:
        inset 3px 0 0 #cf82b3;
}

.h-main-menu__link:hover + div {
    transform: translateX(0);
    transition: all .5s ease;
    opacity: 1;
    visibility: visible;
}

.menu-arrow {
    width: 14px;
    height: 14px;
    fill: #cf82b3;
    transition: all 0.25s ease-in-out;
}

.h-main-menu__link:hover .menu-arrow {
    transform: translateX(3px);
}

.h-main-submenu-mobile {
    display: none;
    padding-left: 15px;
}

.h-main-submenu {
    position: absolute;

    top: 0;
    left: 100%;

    background-color: #fff;

    padding: 30px;

    max-width: 830px;

    transform: translateX(-100px);

    transition: all .3s ease;

    opacity: 0;
    visibility: hidden;

    border: 1px solid #f1ddea;

    border-radius: 18px;

    box-shadow:
        0 18px 40px rgba(181,116,154,.16);

    z-index: 800;

    overflow: visible;
}

.h-main-submenu::before {
    content: '';

    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;

    position: absolute;

    top: 12px;
    left: -10px;
}

.h-main-submenu:hover {
    transform: translateX(0);
    transition: all .5s ease;
    opacity: 1;
    visibility: visible;
}

.h-main-submenu__list {
    display: flex;

    max-height: 500px;

    overflow-y: auto;

    list-style: none;

    margin: 0;
    padding: 0;
}

.h-main-submenu__list--wrap {
    flex-wrap: wrap;
    width: 800px;
}

.h-main-submenu__item {
    margin-left: 15px;
    width: 182px;
    list-style: none;
}

.h-main-submenu__link {
    font-size: 15px;
    color: #563c50;
    font-weight: 700;

    padding: 10px 0;

    display: block;

    margin-bottom: 10px;

    transition: all 0.3s ease-in-out;
}

.h-main-submenu__link:hover {
    color: #cf82b3;
}

.h-submenu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.h-submenu__item {
    list-style: none;
}

.h-submenu__link {
    font-size: 13px;
    color: #7c6875;

    padding-bottom: 12px;

    display: block;

    transition: .2s ease;
}

.h-submenu__link:hover {
    color: #cf82b3;
}

.h-menu-banners {
    padding-left: 15px;
}

.h-menu__banner {
    height: auto;
    object-fit: contain;
    object-position: left;
    max-width: 100%;
}

.h-active-menu {
    transition: all .3s ease;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.active-link ~ ul {
    display: block !important;
}

@media (max-width: 1299px) {

    .h-main-submenu__list {
        width: 600px;
    }

}

@media (max-width: 1200px) {

    .h-main-menu__close span {
        font-size: 0;
    }

    .h-main-menu__close::before {
        content: '';

        display: block;

        width: 1px;
        height: 23px;

        background-color: #000;

        top: 0;
        left: 50%;

        position: absolute;

        transform: rotate(-45deg);
    }

    .h-main-menu__close::after {
        content: '';

        display: block;

        width: 1px;
        height: 23px;

        background-color: #000;

        top: 0;
        left: 50%;

        position: absolute;

        transform: rotate(45deg);
    }

}

@media (max-width: 991px) {

    .h-main-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .h-main-menu.js-main-menu {
        display: block !important;
    }

    .h-main-menu__list-title {
        display: block;
    }

    .h-main-menu__item:nth-of-type(2n - 1) {
        background: none;
    }

    .h-main-menu__list {
        border: none;
        border-radius: 0;
        padding: 0;
        overflow: visible;
    }

    .h-main-menu__link {
        font-size: 14px;
        padding: 5px 0;
        padding-right: 50px;
    }

    .h-main-submenu {
        position: static;

        transform: translateX(0);

        opacity: 1;
        visibility: visible;

        display: none !important;

        box-shadow: none;

        border: none;

        padding: 0 0 0 15px;
    }

    .h-main-menu__btn-mobile {
        display: flex;

        width: 50px;
        height: 100%;

        position: absolute;

        top: 0;
        right: 0;

        align-items: center;
        justify-content: center;

        z-index: 2;

        padding: 0;

        background-color: transparent;
    }

    .menu-arrow {
        display: none !important;
    }

    .menu-icon.menu-icon_plus {
        display: block;
    }

    .active-link .menu-icon.menu-icon_plus {
        display: none;
    }

    .active-link .menu-icon.menu-icon_minus {
        display: block;
    }

}