.lc-headerMenu-item--language {
  display: flex;
  align-items: center;
}

.language-switcher {
  position: relative;
  z-index: 80;
  font-family: inherit;
}

.language-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(134, 85, 120, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  color: #5f455b;
  box-shadow: 0 8px 24px rgba(108, 65, 97, .10);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  border-color: rgba(236, 42, 126, .35);
  background: #fff;
  box-shadow: 0 10px 26px rgba(236, 42, 126, .14);
  outline: none;
}

.language-switcher__button:active {
  transform: translateY(1px);
}

.language-switcher__flag {
  display: block;
  width: 26px;
  height: 20px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(40, 20, 35, .10);
  flex: 0 0 auto;
}

.language-switcher__code {
  letter-spacing: 0;
  font-size: 13px;
}

.language-switcher__chevron {
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
  color: #8c6b86;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  padding: 8px;
  border: 1px solid rgba(134, 85, 120, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 46px rgba(72, 35, 68, .18);
  backdrop-filter: blur(14px);
}

.language-switcher__menu[hidden],
.language-switcher__backdrop[hidden] {
  display: none;
}

.language-switcher__sheetHeader {
  display: none;
}

.language-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #5f455b;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.language-switcher__option:hover,
.language-switcher__option:focus-visible {
  background: rgba(236, 42, 126, .08);
  outline: none;
}

.language-switcher__option:active {
  transform: translateY(1px);
}

.language-switcher__option--active {
  background: linear-gradient(135deg, rgba(236, 42, 126, .12), rgba(151, 65, 230, .10));
  color: #3f243b;
}

.language-switcher__optionText {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}

.language-switcher__native {
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.language-switcher__current {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #b62072;
}

.language-switcher__close {
  border: 0;
  background: transparent;
  color: #6f546a;
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 900px) {
  .language-switcher {
    position: static;
  }

  .language-switcher__button {
    min-height: 40px;
    padding: 7px 10px;
  }

  .language-switcher__backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(35, 17, 31, .46);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .language-switcher__menu {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    top: auto;
    z-index: 2147483001;
    width: auto;
    max-height: min(76svh, 560px);
    padding: 12px;
    border-radius: 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 24px 70px rgba(45, 8, 45, .28);
  }

  .language-switcher__sheetHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 4px 10px;
    color: #56304f;
    font-weight: 900;
  }

  .language-switcher__option {
    min-height: 52px;
    padding: 10px 11px;
  }

  .language-switcher__native {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .language-switcher__menu {
    max-height: min(72svh, 520px);
  }

  .language-switcher__option {
    min-height: 48px;
  }
}

@media (prefers-color-scheme: dark) {
  .language-switcher__button,
  .language-switcher__menu {
    background: rgba(39, 23, 36, .94);
    border-color: rgba(255, 255, 255, .12);
    color: #fbeaf5;
  }

  .language-switcher__option {
    color: #fbeaf5;
  }

  .language-switcher__option--active {
    background: rgba(255, 255, 255, .10);
  }
}
