body.overflow-hidden {
  overflow: hidden !important;
}

@media (max-width: 991px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }
}

.open-mb-menu,
.close-mb-menu {
  border: 0;
  font-family: "Urbanist", sans-serif;
  cursor: pointer;
}

@media (max-width: 991px) {
  .tf-header {
    padding-top: 18px;
  }

  .tf-header.header2 .header-inner {
    min-height: 60px;
    margin-inline: 14px;
    padding: 6px 6px 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(24px);
  }

  .tf-header .logo-site {
    flex-basis: 148px;
  }

  .tf-header .logo-site img {
    width: 148px;
    height: 34px;
  }

  .tf-header .mobile-menu {
    display: inline-grid !important;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: #171719;
    box-shadow: inset 0 -3px 0 #09090b, 0 8px 18px rgba(9, 9, 11, 0.18);
  }

  .tf-header .mobile-menu:hover,
  .tf-header .mobile-menu:focus-visible {
    color: #101612;
    background: var(--brand);
  }

  .tf-header .mobile-menu:focus-visible,
  .offcanvas-menu .close-mb-menu:focus-visible,
  .offcanvas-menu .mb-menu-link:focus-visible,
  .rt-mobile-auth-actions a:focus-visible {
    outline: 3px solid rgba(5, 198, 83, 0.42);
    outline-offset: 3px;
  }

  .offcanvas-menu {
    right: auto !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    overflow-x: hidden !important;
    color: #fff;
    background:
      radial-gradient(circle at 92% 8%, rgba(5, 198, 83, 0.16), transparent 31%),
      #151517;
    backdrop-filter: none;
    transition: top 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .offcanvas-menu .offcanvas-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100dvh;
    overflow-x: hidden;
    padding: max(18px, env(safe-area-inset-top)) 0
      max(18px, env(safe-area-inset-bottom));
  }

  .offcanvas-menu .container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0;
    margin-left: 0;
    padding-inline: 22px;
    box-sizing: border-box;
  }

  .offcanvas-menu .offcanvas-content_wrapin {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 0;
  }

  .offcanvas-menu .canvas_head {
    min-height: 54px;
    align-items: center;
    flex-wrap: nowrap;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-menu .logo-site {
    width: 158px;
    flex-basis: 158px;
    padding: 5px 7px;
    border-radius: 11px;
    background: #fff;
  }

  .offcanvas-menu .logo-site img {
    width: 144px;
    height: 32px;
  }

  .offcanvas-menu .close-mb-menu {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
  }

  .offcanvas-menu .close-mb-menu .icon {
    font-size: 13px;
  }

  .offcanvas-menu .canvas_center {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
    padding: 26px 2px 12px 0;
    scrollbar-gutter: stable;
  }

  .offcanvas-menu .nav-ul-mb {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 0;
  }

  .offcanvas-menu .nav-ul-mb li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    text-align: left;
  }

  .offcanvas-menu .nav-ul-mb .item,
  .offcanvas-menu .nav-ul-mb .has-sub-menu {
    width: 100%;
    place-items: stretch;
  }

  .offcanvas-menu .mb-menu-link {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    padding: 12px 2px;
    font-size: clamp(28px, 8vw, 38px);
    font-weight: 570;
    line-height: 1.18;
    letter-spacing: -0.035em;
    pointer-events: auto;
  }

  .offcanvas-menu .mb-menu-link .text {
    pointer-events: none;
  }

  .offcanvas-menu .mb-menu-link:hover .text,
  .offcanvas-menu .mb-menu-link:focus-visible .text {
    color: var(--brand);
  }

  .offcanvas-menu .mb-menu-link[aria-disabled="true"] {
    opacity: 0.42;
  }

  .offcanvas-menu.show .canvas_head,
  .offcanvas-menu.show .canvas_foot,
  .offcanvas-menu.show .nav-ul-mb li .item {
    transition-delay: 0.12s !important;
  }

  .rt-mobile-auth-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 10px;
    margin-top: 24px;
  }

  .rt-mobile-auth-actions .tf-btn {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    border-radius: 999px;
    color: #101612;
    background: var(--brand);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2),
      0 12px 24px rgba(5, 198, 83, 0.18);
  }

  .rt-mobile-auth-actions .rt-mobile-login {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
  }

  .offcanvas-menu .canvas_foot {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 575px) {
  .tf-header {
    padding-top: 12px;
  }

  .tf-header.header2 .header-inner {
    min-height: 56px;
    margin-inline: 10px;
    padding-left: 13px;
  }

  .tf-header .logo-site {
    flex-basis: 132px;
  }

  .tf-header .logo-site img {
    width: 132px;
    height: 31px;
  }

  .tf-header .mobile-menu {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 17px;
  }

  .offcanvas-menu .container {
    padding-inline: 18px;
  }

  .offcanvas-menu .logo-site {
    width: 142px;
    flex-basis: 142px;
  }

  .offcanvas-menu .logo-site img {
    width: 128px;
    height: 29px;
  }

  .offcanvas-menu .close-mb-menu {
    min-width: 42px;
    min-height: 42px;
    padding-inline: 11px;
  }

  .offcanvas-menu .canvas_center {
    padding-top: 18px;
  }

  .offcanvas-menu .mb-menu-link {
    padding-block: 9px;
    font-size: clamp(26px, 9vw, 34px);
  }

  .offcanvas-menu .canvas_foot {
    display: none;
  }

  .rt-mobile-auth-actions {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offcanvas-menu,
  .offcanvas-menu .canvas_head,
  .offcanvas-menu .nav-ul-mb .item,
  .offcanvas-menu .canvas_foot {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
