@media (min-width: 1025px) {
  .ma_category_menu_handle {
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    color: #fff;
    min-height: 38px;
    padding: 7px 14px;
    margin: 0 0 0 8px;
    border: 0;
    border-radius: var(--theme-radius-sm, 8px);
    background: rgba(0, 0, 0, 0.1254901961);
    font-size: 13px;
    font-weight: 700;
  }
  .ma_category_menu_handle:hover, .ma_category_menu_handle.active {
    background: rgba(0, 0, 0, 0.1882352941);
  }
  .ma_category_menu_handle.mobile {
    display: none;
  }
  .ma_category_menu_handle > .ma_inner {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
  }
  .ma_category_menu_handle > .ripple {
    pointer-events: none;
  }
  .ma_category_menu_handle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  #ma_menu_back {
    display: none;
  }
  #ma_menu_wrapper {
    --mega-surface: var(--color-surface, #fff);
    --mega-soft: var(--color-surface-soft, #f8fafc);
    --mega-text: var(--color-text, #334155);
    --mega-muted: var(--color-text-muted, #64748b);
    --mega-line: var(--color-border, #e2e8f0);
    position: absolute;
    box-sizing: border-box;
    width: var(--mega-menu-width);
    max-width: calc(100% - 32px);
    height: var(--mega-menu-height, 440px);
    z-index: 9999;
    border: 1px solid var(--mega-line);
    border-radius: var(--theme-radius-lg, 16px);
    background: var(--mega-surface);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1490196078);
    display: flex;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: visibility 0.15s, opacity 0.15s;
  }
  #ma_menu_wrapper.active {
    visibility: visible;
    opacity: 1;
  }
  #ma_menu_wrapper:not(:has(.ma_menu_content.active:not(.without_item))) {
    width: 250px;
  }
  #ma_menu_wrapper:not(:has(.ma_menu_content.active:not(.without_item))) #ma_menu_content_wrapper {
    display: none;
  }
  #ma_menu_wrapper:not(:has(.ma_menu_content.active:not(.without_item))) #ma_menu_header_wrapper {
    width: 100%;
    border-left: 0;
  }
  #ma_menu_wrapper * {
    box-sizing: border-box;
  }
  #ma_menu_wrapper #ma_menu_header_wrapper {
    width: 250px;
    flex-shrink: 0;
    border-left: 1px solid var(--mega-line);
    background: var(--mega-soft);
    position: relative;
  }
  #ma_menu_wrapper #ma_menu_header_wrapper > .inner {
    overflow-y: auto;
    scrollbar-width: none;
    height: 100%;
    padding: 12px 12px 42px;
  }
  #ma_menu_wrapper #ma_menu_header_wrapper > .inner::-webkit-scrollbar {
    display: none;
  }
  #ma_menu_wrapper .ma_menu_header {
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
    padding: 11px 14px;
    margin-bottom: 4px;
    min-height: 43px;
    border: 1px solid transparent;
    border-radius: var(--theme-radius-md, 12px);
    cursor: pointer;
    color: var(--mega-muted);
  }
  #ma_menu_wrapper .ma_menu_header:hover {
    background: color-mix(in srgb, var(--mega-text) 4%, var(--mega-surface));
    color: var(--color-primary);
  }
  #ma_menu_wrapper .ma_menu_header.active {
    background: var(--mega-surface);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-primary);
  }
  #ma_menu_wrapper .ma_menu_header.has_child::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: auto;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
  }
  #ma_menu_wrapper .ma_menu_header .icon {
    display: flex;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  #ma_menu_wrapper .ma_menu_header .icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  #ma_menu_wrapper .ma_menu_header a {
    color: inherit;
    font-size: 14px;
  }
  #ma_menu_wrapper #ma_menu_content_wrapper {
    flex: 1;
    min-width: 0;
    height: 100%;
    position: relative;
  }
  #ma_menu_wrapper .ma_menu_content {
    height: 100%;
    padding: 22px 26px;
    background: var(--mega-surface);
    display: none;
  }
  #ma_menu_wrapper .ma_menu_content.active {
    display: flex;
    flex-direction: column;
  }
  #ma_menu_wrapper .ma_menu_content.without_item {
    display: none;
  }
  #ma_menu_wrapper .ma_menu_content > .inner {
    overflow-y: auto;
    scrollbar-width: none;
  }
  #ma_menu_wrapper .ma_menu_content > .inner::-webkit-scrollbar {
    display: none;
  }
  #ma_menu_wrapper .ma_menu_content > .inner {
    display: flex;
    flex: 1;
    min-height: 0;
    padding: 14px 0 48px;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_content_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mega-line);
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_content_heading strong {
    font-size: 16px;
    color: var(--mega-text);
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_content_heading a {
    font-size: 12px;
    padding: 5px 10px;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-brand-text, var(--color-primary));
    border-radius: var(--theme-radius-sm, 8px);
  }
  #ma_menu_wrapper .ma_menu_content .ma_column {
    width: 25%;
    min-width: 0;
    padding-left: 12px;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    line-height: 1.8;
    padding: 6px 8px;
    border-radius: var(--theme-radius-sm, 8px);
    font-size: 13px;
    color: var(--mega-muted);
    overflow-wrap: anywhere;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item.parent {
    font-weight: 700;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item.parent a {
    color: var(--mega-text);
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item:hover {
    background: var(--mega-soft);
    color: var(--color-primary);
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item:hover a {
    color: var(--color-primary);
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item::before {
    content: "";
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: var(--theme-radius-xs, 4px);
    background: var(--mega-line);
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item a {
    color: var(--mega-muted);
    font-size: 13px;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item .icon {
    display: flex;
    align-items: center;
    width: 16px;
    flex-shrink: 0;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item .icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
  }
  #ma_menu_wrapper .ma_menu_content .ma_menu_item .ma_label {
    padding: 0 5px;
    border-radius: var(--theme-radius-xs, 4px);
    background: orange;
    color: #fff;
    font-size: 10px;
  }
  #ma_menu_wrapper .ma_scroll_handler {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 46px;
    padding: 8px 16px;
    border: 0;
    border-top: 1px solid var(--mega-line);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-brand-text, var(--color-primary));
    background: var(--mega-surface);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  #ma_menu_wrapper .ma_scroll_handler::before {
    content: "";
    position: absolute;
    bottom: 100%;
    height: 22px;
    left: 0;
    right: 0;
    pointer-events: none;
    background: linear-gradient(transparent, var(--mega-surface));
  }
  #ma_menu_wrapper .ma_scroll_handler svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
  }
  #ma_menu_wrapper .ma_scroll_handler:hover {
    background: var(--mega-soft);
  }
  #ma_menu_wrapper .ma_scroll_handler.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  #ma_menu_wrapper :is(a, button):focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  html.dark #ma_menu_wrapper {
    --mega-surface: var(--dark-box-back);
    --mega-soft: var(--dark-back);
    --mega-text: var(--dark-text-color);
    --mega-muted: var(--dark-text-color);
    --mega-line: var(--dark-border);
  }
}
@media (max-width: 1024px) {
  #ma_menu_back {
    display: none;
  }
  #ma_menu_wrapper {
    display: none;
  }
  .ma_icon {
    float: right;
    margin-left: 10px;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .ma_icon img {
    width: 15px;
  }
  .drawer__menu__item__title span:nth-child(2) {
    background-color: orange;
    height: 20px;
    line-height: 20px;
    padding: 0 5px;
    margin-right: 5px;
    border-radius: 12px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
  }
  ul.drawer__menu.level_2 .level_1.active > .sub-menu {
    transform: translate(0px, 10px);
  }
  li.level_2 > .sub-menu {
    display: none;
  }
  li.level_2.active > .sub-menu {
    display: block !important;
  }
}
.ma_tooltip {
  position: absolute;
  left: 0;
  bottom: -39px;
  background: #000;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  height: 30px;
  line-height: 30px;
  border-radius: 6px;
  color: #fff;
  animation: float 2s ease infinite;
  transition: 0.3s ease-out;
  z-index: 1;
}
.ma_tooltip:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 8px 10px;
  border-color: transparent transparent #000 transparent;
  left: calc(50% - 5px);
  top: -8px;
  margin: 0 auto;
}
.ma_tooltip span {
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.28) 0px 1px 5px 2px;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}
.ma_tooltip span:after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  opacity: 0;
  transform: rotate(30deg);
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.7) 74%, rgba(255, 255, 255, 0) 100%);
  animation: shine 2s ease infinite;
}

@keyframes shine {
  10% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    left: 130%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
  }
}
@keyframes float {
  0% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(-4px);
  }
}
@keyframes arrow_animation {
  0% {
    left: 10px;
  }
  50% {
    left: 7px;
  }
  100% {
    left: 10px;
  }
}
