@media (max-width: 767.98px) {
  html.maxter-mobile-menu-lock,
  body.maxter-mobile-menu-lock {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .maxter-mobile-menu[data-maxter-panel-depth="1"] .maxter-mobile-menu__quick,
  .maxter-mobile-menu[data-maxter-panel-depth="1"] .maxter-mobile-menu__support {
    display: none;
  }

  .maxter-mobile-menu {
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .maxter-mobile-menu__nav[data-maxter-mobile-menu] {
    position: relative;
    overflow: visible;
    isolation: isolate;
  }

  .maxter-mobile-menu__panel {
    top: 0;
    left: 0;
    width: 100%;
    background: var(--mx-white);
    transition: transform .26s ease, opacity .26s ease;
    will-change: transform;
  }

  .maxter-mobile-menu__panel[hidden] {
    position: absolute;
    display: block !important;
    visibility: hidden;
    pointer-events: none;
  }

  .maxter-mobile-menu__panel:not(.is-active) {
    position: absolute;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
  }

  .maxter-mobile-menu__panel.is-active {
    position: relative;
    z-index: 2;
    transform: translateX(0);
    opacity: 1;
  }

  .maxter-mobile-menu__panel.is-before {
    transform: translateX(-100%);
    opacity: 0;
  }

  .maxter-mobile-menu__panel.is-to-right {
    transform: translateX(100%);
    opacity: 0;
  }

  .maxter-mobile-menu__panel-back {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--mx-ink);
    font: inherit;
    font-weight: 300;
    margin-bottom: 10px !important;
    margin-left: -10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maxter-mobile-menu__panel {
    transition: none;
  }
}
