/*START_MOBILE_NAV*/
.mobile__box {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
  will-change: transform, opacity;
  bottom: 65px;
  left: 0;
  height: calc(100vh - 65px);
  width: 100%;
  background: white;
  padding: 24px 16px 0;
  overflow: hidden;

  &.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .header__find {
    display: flex;
    max-width: 100%;
    width: 100%;
    margin-bottom: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;

    input[type=text]::placeholder {
      font-size: 14px;
    }

    &.is-hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateY(-10px);
      position: absolute;
    }
  }

  .mobile_menu_main__title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;

    &.is-hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateY(-10px);
      position: absolute;
    }
  }

  .menu__container {
    position: relative;
    flex-direction: unset;
    justify-content: unset;
    padding: 0;
    max-width: unset;
    height: calc(100vh - 236px);
    margin: unset;
    overflow: hidden;
    display: block;
    transition: height 0.3s ease;

    &.is-submenu-open {
      height: calc(100vh - 89px);
    }

    &:before {
      position: unset;
      width: unset;
      height: unset;
    }

    span {
      font-size: 14px;
    }

    a {
      font-size: 14px;
    }

    span.mobile__back {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 8px;
      cursor: pointer;
      text-wrap: balance;

      &:before {
        content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12L20 11.9998' stroke='%238D31F9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8.99992 6.99988L4.70703 11.2928C4.37369 11.6261 4.20703 11.7928 4.20703 11.9999C4.20703 12.207 4.37369 12.3737 4.70703 12.707L8.99992 16.9999' stroke='%238D31F9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        display: flex;
        align-items: center;
        margin-bottom: -5px;
        width: 24px;
        height: 24px;
      }
    }
  }

  .menu__left {
    position: unset;
    width: 100%;
    padding-bottom: 16px;
    padding-right: 10px;
    overflow-y: auto;
    height: 100%;
    transition: padding-right 0.3s ease;

    &.hideScroll {
      padding-right: 0;
    }

    &::-webkit-scrollbar {
      width: 2px;
      background-color: #f9f9fd;
    }

    &::-webkit-scrollbar-thumb {
      background-color: var(--blue-F9);
    }

    &::-webkit-scrollbar-track {
      background-color: #f9f9fd;
      -webkit-box-shadow: 5px 5px 5px -5px rgba(46, 58, 189, 0.2) inset;
    }
  }

  .menu__link {
    padding-right: 54px;

    &:after {
      right: 0;
    }
  }

  ul .mobile__back_cont {
    padding: 0;
    border-bottom: 0;
  }
}

.menu__cont_box_mobile {

  li {
    position: static;

    &.subMenuShow {
      .menu__sub {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
      }
    }
  }
}

.menu__sub {
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
  will-change: transform, opacity;
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: calc(100vh - 65px);
  z-index: 201;
  background: white;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 16px 16px;
  top: 0;
  left: 0;
  box-sizing: border-box;

  &::-webkit-scrollbar {
    width: 2px;
    background-color: #f9f9fd;
  }

  &::-webkit-scrollbar-thumb {
    background-color: var(--blue-F9);
  }

  &::-webkit-scrollbar-track {
    background-color: #f9f9fd;
    -webkit-box-shadow: 5px 5px 5px -5px rgba(46, 58, 189, 0.2) inset;
  }
}

.menu__sub_container {
  overflow-y: auto;
  padding-right: 10px;

  &::-webkit-scrollbar {
    width: 2px;
    background-color: #f9f9fd;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #0A756D;
  }

  &::-webkit-scrollbar-track {
    background-color: #f9f9fd;
    -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, .2) inset;
  }
}
/*END_MOBILE_NAV*/