.m-header-menu__shadow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2099;
  transition:
    opacity 0.25s,
    visibility 0.25s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.m-header-menu__shadow_active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.m-header-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2100;
  height: 100%;
  width: 52.8rem;
  max-width: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  overflow-y: auto;
  transition:
    transform 0.25s,
    opacity 0.25s,
    visibility 0.25s;
  opacity: 0;
  visibility: hidden;
  transform: translate(-100%, 0);
  pointer-events: none;
  isolation: isolate;
}

.m-header-menu._active {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
  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,
.m-header-menu__links .pfq-notify-link {
  color: var(--color-text);
}
.m-header-menu__links .pfq-notify__icon {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
  width: 2rem;
  height: 2.2rem;
}
.m-header-menu__links .pfq-notify__icon use,
.m-header-menu__links .pfq-notify__icon * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
}

.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(--color-text);
  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(--color-bg);
  color: var(--color-text);
  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,
.m-header-menu .pfq-notify-container {
  border: 1px solid #e8eaf3;
}
.m-header-menu .header__favorites-compare-line {
  background: #e8eaf3;
}
.m-header-menu .pfq-dropdown-container {
  right: 70px;
  left: auto;
  padding-top: 6px;
  max-width: 100%;
}
.m-header-menu .pfq-dropdown-content {
  width: 320px;
  max-width: calc(100vw - 6rem);
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.m-header-menu .pfq-dropdown-scroll {
  max-height: 220px;
  padding: 8px;
}
.m-header-menu .pfq-dropdown-scroll a {
  font-size: 1.3rem;
  line-height: 1.25;
  padding: 8px;
  word-break: break-word;
}
.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(--color-text);
  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: 1rem 3rem 0;
}

.m-header-menu__phones:first-of-type {
  padding-top: 2rem;
}

.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: start;
  justify-content: flex-start;
  border: 1px solid #e8eaf3;
  border-radius: 5px;
  padding: 1rem 2rem;
  color: var(--color-text);
  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;
  margin-right: 1rem;
  flex-shrink: 0;
}
.m-phones__item {
  margin: 0 0 0.5rem;
}

.m-phones__container {
  margin: 0 0 0.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(--color-text);
  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(--color-text);
  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;
  }
}
