.m-header-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-background-color);
    color: var(--main-text-color);
    z-index: 2100;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.25s, visibility 0.25s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.m-header-menu._active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.m-header-menu__top {
    padding: 2rem 3rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.m-header-menu__links {
    padding: 0 3rem 2rem;
    border-bottom: 1px solid #E8EAF3;
}
.m-header-menu__close {
    margin: 0 1.5rem 0 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
.m-header-menu__close svg {
    width: 1.6rem;
    height: 1.6rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}
.m-header-menu__title {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 500;
}
.m-header-menu .main-menu__text,
.m-header-menu__links .c-login,
.m-header-menu__links .compare,
.m-header-menu__links .favorites_link,
.m-header-menu__links .c-cart__small {
    color: var(--main-text-color);
} 

.m-header-menu .main-menu__items {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 400;
    display: block;
}
.m-header-menu .main-menu__item {
    height: auto;
    margin: 0;
}
.m-header-menu .main-menu__text {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 3rem;
    text-decoration: none;
    color: var(--main-text-color);
    transition: color 0.25s;
    min-height: 6rem;
    flex: 1 0 auto;
    font-size: 1.8rem;
}
.m-header-menu .main-menu__item-container {
    display: flex;
    width: 100%;
}
.m-header-menu .main-menu__item-btn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 2rem 3rem;
}
.m-header-menu .main-menu__item-btn svg {
    width: 0.7rem;
    height: 1.2rem;
}

.m-header-menu .m-header-menu__body .m-header-menu__pages .main-menu__sub-dropdown,
.m-header-menu .m-header-menu__body .m-header-menu__pages .dropdown__container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main-background-color);
    color: var(--main-text-color);
    z-index: 2100;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.25s, visibility 0.25s;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 400;
}

.m-header-menu .m-header-menu__body .m-header-menu__pages .main-menu__sub-dropdown._active,
.m-header-menu .m-header-menu__body .m-header-menu__pages .dropdown__container._active {
    opacity: 1;
    visibility: visible;
}

.m-header-menu .dropdown__back svg {
    margin: 0 1.5rem 0 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
    width: 1rem;
    height: 1.6rem;
}
.m-header-menu .c-cart__small,
.m-header-menu .header__favorites-compare,
.m-header-menu .c-login {
    border: 1px solid #E8EAF3;
}
.m-header-menu .header__favorites-compare-line {
    background: #E8EAF3;
}
.m-header-menu .header__favorites-compare {

}

.m-header-menu .dropdown__back {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid #E8EAF3;
    min-height: 7.5rem;
    padding: 2rem 3rem;
    width: 100%;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 500;
}

.m-header-menu .main-menu__dropdown-link {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 3rem;
    text-decoration: none;
    color: var(--main-text-color);
    transition: color 0.25s;
    min-height: 6rem;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 400;
    
}
.m-header-menu .main-menu__dropdown-subitem,
.m-header-menu .main-menu__item-container {
    border-bottom: 1px solid #E8EAF3;
}
.m-header-menu .main-menu__dropdown-subitem,
.m-header-menu .main-menu__dropdown-item {
    padding: 0;
    margin: 0;
}

.m-header-menu__phones {
    padding: 2rem 3rem 0;
}

.m-phones__title {
    display: block;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 1rem;
}

.m-phones__link {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: 1px solid #E8EAF3;
    border-radius: 5px;
    padding: 1rem 2rem;
    color: var(--main-text-color);
    text-decoration: none;
    height: 5rem;
}
.m-phones__link svg {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}
.m-phones__item {
    margin: 0 0 0.5rem;
}

.m-phones__container {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 400;
}
.m-header-menu__time {
    padding: 0 3rem 3rem;
}
.m-header-menu__time-text {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 500;
    color: #BDC2D3;
    display: block;
}

.m-header-bottom {
    padding: 1.5rem 3rem;
    border-top: 1px solid #E4E7F1;
    display: flex;
    align-items: center;
    width: 100%;
}
.m-header-bottom__lang,
.m-header-bottom__currency {
    width: 100%;
}
.m-header-bottom__lang {
    margin-left: 2rem;
}

.mg-header-bottom__lang-btn,
.mg-header-bottom__currency-btn {
    position: relative;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    border: 1px solid #E8EAF3;
    border-radius: 5px;
    height: 6rem;
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--main-text-color);
    align-items: center;
}
.mg-header-bottom__lang-btn svg,
.mg-header-bottom__currency-btn svg {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    width: 1.1rem;
    height: 0.7rem;
    margin: -0.4rem 0 0;
}
.header-mobile__lang-target .dropdown__items,
.header-mobile__currency-target .dropdown__items {
    position: static;
    opacity: 1;
    visibility: visible;
    padding: 0;
    margin: 0;
}
.header-mobile__lang-target .dropdown__item,
.header-mobile__currency-target .dropdown__item {
    border-bottom: 1px solid #E4E7F1;
    padding: 0;
    text-decoration: none;
    transition: color 0.25s;
    color: var(--main-text-color);
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 500;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    min-height: 5rem;
}
.header-mobile__lang-target .dropdown__btn,
.header-mobile__currency-target .dropdown__btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

@media (min-width: 1201px) {
    .main-menu__items .dropdown__back {
        display: none;
    }
}