.m-header-sidebar {
  display: block;
}
.m-header-sidebar--visible .m-header-sidebar__content {
  visibility: visible;
  opacity: 1;
  transform: translate3d(100%, 0, 0);
}
.m-header-sidebar--visible .m-header-sidebar__underlay {
  visibility: visible;
  opacity: 0.4;
  transition-duration: 0.3s, 0s;
  transition-delay: 0.1s, 0s;
}
.m-header-sidebar__close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
}
.m-header-sidebar__close .icon {
  width: 2.6rem;
  height: 2.6rem;
}
.m-header-sidebar__content {
  position: fixed;
  z-index: 3000;
  top: 0;
  right: 100%;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-main-height);
  height: 100%;
  width: 100%;
  max-width: 380px;
  background: var(--color-primary-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.0588235294), 0 3px 12px rgba(0, 0, 0, 0.0196078431);
  opacity: 0;
  transform: translateZ(0);
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  overflow-y: auto;
}
.m-header-sidebar__bottom {
  margin-top: auto;
  flex-shrink: 0;
  padding: 2rem 0;
}
.m-header-sidebar__bottom.is-hidden {
  display: none;
}
.m-header-sidebar__underlay {
  position: fixed;
  z-index: 2400;
  visibility: hidden;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  opacity: 0;
  background: var(--color-black);
  transition: opacity 0.3s ease 0.1s, visibility 0s linear 0.4s;
}
.m-header-sidebar__item-wrapper.is-hidden, .m-header-sidebar__back.is-hidden, .m-header-sidebar__bottom.is-hidden {
  transition: none;
  animation: none;
  opacity: 0;
  visibility: hidden;
}
.m-header-sidebar__item-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}
.m-header-sidebar__item-wrapper:hover {
  background-color: var(--color-secondary-bg);
}
.m-header-sidebar__back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 5rem;
}
.m-header-sidebar__back .m-header-sidebar__icon-left {
  position: absolute;
  top: 0;
  left: 0;
}
.m-header-sidebar__back .m-header-sidebar__link {
  justify-content: center;
  padding-left: 0;
}
.m-header-sidebar__link {
  font-size: var(--nav-fs);
  line-height: var(--nav-lh);
  color: var(--color-primary-body);
  text-decoration: none;
  flex: 1;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}
.m-header-sidebar__icon-right, .m-header-sidebar__icon-left {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  cursor: pointer;
}
.m-header-sidebar__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: var(--header-main-height);
}
.m-header-sidebar__panel.is-visible {
  z-index: 10;
  visibility: visible;
  opacity: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.m-header-sidebar__secondary-menu-list {
  flex-direction: column;
}
.m-header-sidebar__secondary-menu-list .m-header-sidebar__link {
  font-size: var(--body-fs-sm);
  line-height: var(--body-lh-sm);
  height: 3rem;
}
.m-header-sidebar .m-localization {
  padding: 0 1.5rem;
}
.m-header-sidebar .m-localization__form-wrapper {
  display: inline-block;
}
.m-header-sidebar .m-localization .ts-dropdown {
  top: initial;
  bottom: 100%;
  border: 1px solid var(--color-primary-border);
  border-bottom: none;
  border-radius: 0;
  box-shadow: none;
}
