.products-nav_wrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 46px;

    line-height: 1.5em;
}
@media screen and (max-width: 640px) {
    .products-nav_wrap {
        gap: 15px;
    }
}

.products-nav_wrap .active {
    border-bottom: 2px solid #e6252d;
    padding-bottom: 3px;
    color: #fff;
}

.root-item__header {
    max-width: max-content;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.root-item__arrow {
    display: block;
    cursor: pointer;
    width: 12px;
    height: 12px;

    background-color: transparent;
    border: none;
    outline: none;

    box-sizing: content-box;
    padding: 4px;
    margin-left: 10px;
}

.root-item__arrow .icon {
    display: block;
    width: 12px;
    height: 100%;
    transform: rotate(180deg);

    transition: transform .6s;
    will-change: transform;
}

.top-level-item.opened .root-item__arrow .icon {
    transform: rotate(0);
}

.root-item__arrow .icon use,
.root-item__arrow .icon path {
    fill: #fff;
}

.submenu-items__wrapper {
    height: 0;
    overflow: hidden;

    transition: height .6s;
}

.submenu-items__list {
    margin-top: 20px;
    padding-left: 17px;

    color: rgba(255, 255, 255, 0.7);

    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}
@media screen and (max-width: 640px) {
    .submenu-items__list {
        gap: 10px;
        margin-top: 10px;
    }
}

.submenu-items__list .inner-menu-item a {
    transition: color .3s;
}

@media screen and (hover: hover) {
    .submenu-items__list .inner-menu-item a:hover {
        color: #fff;
    }
}
