@media (min-width: 1025px) {
  .lx-mobile-menu-wrapper {
    display: none !important;
  }
}

.lx-mobile-menu-wrapper {
  position: relative;
  z-index: 99999;
}

.lx-mobile-menu-wrapper,
.lx-mobile-menu-wrapper * {
  box-sizing: border-box;
}

.lx-mobile-menu-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.lx-mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #172030;
  border-radius: 99px;
  display: block;
  margin: 0 auto;
}

.lx-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 23, 39, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 99990;
}

.lx-mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(calc(100vw - 40px), 620px);
  height: 100vh;
  background: #FAFBFD;
  transform: translateX(-100%);
  transition: transform .3s ease;
  z-index: 99991;
  display: flex;
  flex-direction: column;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.lx-mobile-menu-wrapper.is-open .lx-mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

.lx-mobile-menu-wrapper.is-open .lx-mobile-menu-panel {
  transform: translateX(0);
}

.lx-mobile-menu-header {
  min-height: 96px;
  background: #fff;
  border-bottom: 1px solid #dbe2e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}

.lx-mobile-menu-logo img {
  display: block;
  max-height: 48px;
  width: auto;
}

.lx-mobile-menu-close {
  border: 0;
  background: transparent;
  font-size: 42px;
  line-height: 1;
  color: #172030;
  cursor: pointer;
  padding: 0;
}

.lx-mobile-menu-search {
  padding: 22px 24px;
}

.lx-mobile-menu-search form {
  position: relative;
}

.lx-mobile-menu-search input {
  width: 100%;
  height: 50px;
  border: 1px solid #d6dee6;
  border-radius: 14px;
  background: #fff;
  padding: 0 56px 0 18px;
  color: #48556a;
  font-size: 17px;
  outline: none;
}

.lx-mobile-menu-search button {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.lx-icon-search {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  border: 3px solid #59657a;
  border-radius: 50%;
}

.lx-icon-search::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -2px;
  width: 10px;
  height: 3px;
  background: #59657a;
  border-radius: 10px;
  transform: rotate(45deg);
}

.lx-mobile-menu-nav-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  overflow-x: hidden;
  background: #fff;
}

.lx-mobile-menu-level {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  width: 100%;
  max-width: 100%;
  z-index: 1;
}

.lx-mobile-menu-level.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.lx-mobile-menu-level.lx-level-has-open-child {
  visibility: visible;
  opacity: 1;
}

.lx-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0 0 20px;
  width: 100%;
}

.lx-mobile-menu-item {
  position: static;
  width: 100%;
}

.lx-mobile-menu-link,
.lx-mobile-back-btn {
  width: 100%;
  min-height: 74px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  color: #111926;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.lx-mobile-menu-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.lx-mobile-menu-text {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

.lx-mobile-menu-subtitle {
  font-size: 15px;
  line-height: 1.3;
  color: #7b8aa0;
  font-weight: 500;
  transition: color .2s ease;
}

.lx-mobile-menu-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lx-mobile-menu-arrow,
.lx-back-arrow {
  color: #1da7e0;
  font-size: 30px;
  line-height: 1;
  transition: color .2s ease;
}

.lx-mobile-item-brand-logo {
  display: none;
  max-height: 34px;
  width: auto;
  max-width: 140px;
}

.lx-mobile-menu-item.current > .lx-mobile-menu-link,
.lx-mobile-menu-item.current > a.lx-mobile-menu-link,
.lx-mobile-menu-item.has-brand-color:hover > .lx-mobile-menu-link,
.lx-mobile-menu-item.has-brand-color:hover > a.lx-mobile-menu-link {
  background: var(--lx-item-brand-color, #28a8df);
  color: #fff;
}

.lx-mobile-menu-item.current .lx-mobile-menu-subtitle,
.lx-mobile-menu-item.has-brand-color:hover .lx-mobile-menu-subtitle {
  color: rgba(255,255,255,0.82);
}

.lx-mobile-menu-item.current .lx-mobile-menu-arrow,
.lx-mobile-menu-item.has-brand-color:hover .lx-mobile-menu-arrow {
  color: #fff;
}

.lx-mobile-menu-item.current .lx-mobile-item-brand-logo,
.lx-mobile-menu-item.has-brand-logo.has-brand-color:hover .lx-mobile-item-brand-logo {
  display: block;
}

.lx-mobile-menu-back {
  margin-bottom: 6px;
}

.lx-mobile-back-btn {
  min-height: 56px;
  color: #28a8df;
  font-size: 18px;
  font-weight: 600;
  justify-content: flex-start;
}

.lx-mobile-back-btn span:last-child {
  margin-left: 12px;
}

.lx-mobile-menu-footer {
  border-top: 1px solid #dbe2e9;
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FAFBFD;
}

.lx-mobile-footer-card {
  min-height: 56px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #edf1f5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  text-decoration: none;
  color: #566276;
  font-size: 17px;
  font-weight: 500;
}

.lx-mobile-footer-card img {
  width: 30px;
  height: auto;
  display: block;
}

.lx-language-card {
  margin-top: 12px;
}

.lx-footer-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.lx-user-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  width: 10px;
  height: 10px;
  border: 3px solid #59657a;
  border-radius: 50%;
}

.lx-user-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 18px;
  height: 10px;
  border: 3px solid #59657a;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.lx-logout-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 10px;
  height: 14px;
  border: 3px solid #59657a;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.lx-logout-icon::after {
  content: "➜";
  position: absolute;
  top: 1px;
  right: 0;
  color: #59657a;
  font-size: 18px;
  line-height: 1;
}

body.lx-mobile-menu-open {
  overflow: hidden;
}

.lx-language-switcher {
  position: relative;
}

.lx-language-toggle {
  width: 100%;
  justify-content: flex-start;
  cursor: pointer;
  border: 1px solid #edf1f5 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #566276 !important;
  -webkit-appearance: none;
  appearance: none;
}

.lx-language-toggle:hover,
.lx-language-toggle:focus,
.lx-language-toggle:active {
  background: #fff !important;
  background-color: #fff !important;
  color: #566276 !important;
  border-color: #edf1f5 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.lx-language-toggle::before {
  content: none !important;
  display: none !important;
}

.lx-language-toggle::after {
  content: "▾";
  margin-left: auto;
  font-size: 14px;
  color: #566276;
  display: block;
}

.lx-language-switcher.is-open .lx-language-toggle::after {
  content: "▴";
}

.lx-language-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid #edf1f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  z-index: 20;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.lx-language-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lx-language-option {
  min-height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  text-decoration: none;
  color: #566276;
  background: #fff;
}

.lx-language-option:hover,
.lx-language-option:focus,
.lx-language-option:active,
.lx-language-option.is-current {
  background: #f3f7fb !important;
  color: #566276 !important;
}

.lx-language-option img {
  width: 26px;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .lx-mobile-menu-panel {
    width: calc(100vw - 40px);
  }

  .lx-mobile-menu-header {
    min-height: 92px;
  }

  .lx-mobile-menu-link,
  .lx-mobile-back-btn {
    min-height: 70px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .lx-mobile-menu-search {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lx-mobile-menu-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lx-mobile-menu-text {
    font-size: 18px;
  }

  .lx-mobile-menu-subtitle,
  .lx-mobile-footer-card {
    font-size: 16px;
  }
}
