.main-menu {
    display: flex;
    align-items: center;
}

.main-menu__items {
    display: flex;
    list-style: none;
    padding: 0;
    padding: 0 0 0 40px;
    flex-wrap: wrap;
}

.main-menu__item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 17px 0;
}
.main-menu__item-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    
}

.main-menu__item-container .chevron-down {
    fill: var(--main-text-color);
    stroke: var(--main-text-color);
    transition: all 0.3s ease-in-out;
    display: block;
}

.main-menu__item_relative {
    position: relative;
}

.main-menu__text-container {
    display: flex;
}

.main-menu__text {
    margin: 0;
    margin-right: 5px;
    position: relative;
    display: flex;
    color: var(--main-text-color);
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    font-size: 14px;
    font-weight: 700;
}

.main-menu__item-container:hover .chevron-down,
.main-menu__item-container:hover .main-menu__text,
.main-menu__text_active {
    color: var(--accent-color);
    fill: var(--accent-color);
    stroke: var(--accent-color);
}

.main-menu__item .main-menu__item-container .chevron-down {
    width: 18px;
    height: 18px;
    transition: all 0.4s ease-in-out;
}
.main-menu__item .main-menu__item-container .chevron-down {
    display: block;
}

.main-menu__item:hover>.main-menu__item-container .chevron-down {
    transform: rotate(180deg);
}

.main-menu__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background-color: var(--main-background-color);
    border-top: 1px solid var(--border-color);
    padding: 15px;
    transition: transform 0.4s ease-in-out;
    transform: scaleY(0);
    transform-origin: top center;
    box-shadow: 5px 0 15px 0 rgb(0 0 0 / 20%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
}

.main-menu__item:hover .main-menu__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: scale(1);
}

.main-menu__dropdown_size_s {
    width: 280px;
}

.main-menu__dropdown_size_l {
    width: 100%;
}

.main-menu__dropdown-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu__sub-items .main-menu__dropdown-item {
    margin: 0 0 7px;
}

.main-menu__dropdown-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--main-text-color);
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    text-transform: uppercase;
    padding: 5px 0;
}

.main-menu__sub-items .main-menu__dropdown-link {
    font-weight: 400;
    text-transform: none;
}

.main-menu__dropdown-link:hover {
    color: var(--accent-color);
}

.main-menu__sub-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu__sub-item {
    position: relative;
}


.main-menu__sub-item:hover>.main-menu__item-container .mdi::before {
    transform: rotate(180deg);
}
.main-menu__sub-dropdown {
    width: 100%;
    background-color: var(--light-color);
    padding: 15px 0;
    position: static;
    transition: transform 0.4s ease-in-out;
}

.left-menu-header .main-menu__items {
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.left-menu-header .main-menu__item {
    border-bottom: 1px solid var(--secondary-border-color);
    padding-left: 30px;
    margin-right: 0;
    font-weight: 400;
    font-size: 13px;
    flex-direction: column;
    padding-left: 0;
}

.left-menu-header .categories__link-main {
    font-weight: 400;
}

.left-menu-header .main-menu__text {
    text-transform: none;
}

.left-menu-header .main-menu__item-container {
    justify-content: space-between;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

.left-menu-header .main-menu__item-container .mdi {
    width: 14px;
    height: 14px;
    line-height: 1;
}

.left-menu-header .main-menu__item-container .mdi::before {
    content: "\F0415";
}

.left-menu-header .main-menu__item:hover>.main-menu__item-container .mdi::before {
    transform: none;
}

.left-menu-header .main-menu__dropdown {
    position: static;
    display: none;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    margin-top: 10px;
}
.left-menu-header .main-menu__sub-dropdown {
    position: static;
    display: none;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
    margin-top: 10px;
}

.left-menu-header .main-menu__dropdown .mdi {
    color: var(--main-text-color);
    line-height: 1;
    width: 14px;
    height: 14px;
}

.left-menu-header .main-menu__sub-item:hover>.main-menu__item-container .mdi::before {
    transform: none;
}

.left-menu-header .main-menu__dropdown .mdi:hover {
    color: var(--accent-color);
}