.menu.menu-top-flex, .menu.menu-top-flex li ul {
    margin: 0;
}
.menu.menu-top-flex li {
    margin: 0;
    display: inline-flex;
    align-items: center;
    background-color: transparent !important;
}
body #header .catalog_menu ul.menu > li:not(.current):not(.stretch):hover {
    border: 0px;
}
.menu.menu-top-flex li > a {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 15px;
}

.menu.menu-top-flex li > a::after {
	content: '';
	position: absolute;
	width: 0; height: 2px;
	display: block;
    bottom: 0px;
	right: 0;
	background: #EA6120;
	transition: width .2s ease;
	-webkit-transition: width .2s ease;
}
.menu.menu-top-flex li > a:hover::after {
	width: 100%;
	left: 0;
}
.menu.menu-top-flex li:has(+ li.prev_hover) > a:hover::after {
	left: auto;
	right: 0;
}
.menu.menu-top-flex li.cur_hover + li.prev_hover > a::after {
	left: 0;
	right: auto;
}
@media (min-width: 768px) and (max-width: 949px){
	.menu.menu-top-flex li > a {
		padding: 8px 8px;
	}
}

