.lang-switcher {
  --lang-switcher-color: #0c0c0b;
  --lang-switcher-bg: #fff;
  --lang-switcher-active-bg: #0c0c0b;
  --lang-switcher-active-color: #fff;
  --lang-switcher-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  font-family: var(--font-t, inherit);
}

.lang-switcher--dropdown {
  position: relative;
  z-index: 21;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 24px;
}

.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lang-switcher-color);
  font: inherit;
  font-size: 14px;
  font-weight: var(--weight-t-700, 700);
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.lang-switcher__current::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.2752 7L15 7.64668L9 13L3 7.64668L3.7248 7L9 11.7063L14.2752 7Z' fill='%230c0c0b'/%3E%3C/svg%3E");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.lang-switcher--dropdown.is-open .lang-switcher__current::after,
.lang-switcher--dropdown:hover .lang-switcher__current::after {
  transform: rotate(180deg);
}

.lang-switcher__icon {
  display: flex;
  width: 24px;
  height: 24px;
}

.lang-switcher__icon svg {
  width: 100%;
  height: 100%;
}

.lang-switcher__list {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 22;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  width: max-content;
  max-width: min(160px, calc(100vw - 40px));
  margin: 0;
  padding: 16px 24px;
  gap: 12px;
  list-style: none;
  background: var(--lang-switcher-bg);
  box-shadow: var(--lang-switcher-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.3s all ease;
}

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

@media (hover: hover) and (pointer: fine) {
  .lang-switcher--dropdown:hover .lang-switcher__list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.lang-switcher__list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #0c0c0b;
  font-size: 14px;
  font-weight: var(--weight-t-700, 700);
  text-decoration: none;
  white-space: nowrap;
}

.lang-switcher--inline .lang-switcher__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switcher--inline .lang-switcher__pills li > * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  color: var(--lang-switcher-color);
  font-size: 14px;
  font-weight: var(--weight-t-700, 700);
  text-decoration: none;
}

.lang-switcher--inline .lang-switcher__pills span[aria-current] {
  background: var(--lang-switcher-active-bg);
  color: var(--lang-switcher-active-color);
}

.header.transparent .lang-switcher--dropdown {
  --lang-switcher-color: #fff;
}

.header.transparent .lang-switcher__list a {
  color: #0c0c0b;
}

.header.transparent .lang-switcher--dropdown .lang-switcher__current::after {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.2752 7L15 7.64668L9 13L3 7.64668L3.7248 7L9 11.7063L14.2752 7Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.header.active .lang-switcher--dropdown,
.header.mobyle .lang-switcher--dropdown,
.header.header-white .lang-switcher--dropdown {
  --lang-switcher-color: #0c0c0b;
}

.header.active .lang-switcher--dropdown .lang-switcher__current::after,
.header.mobyle .lang-switcher--dropdown .lang-switcher__current::after,
.header.header-white .lang-switcher--dropdown .lang-switcher__current::after {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.2752 7L15 7.64668L9 13L3 7.64668L3.7248 7L9 11.7063L14.2752 7Z' fill='%230c0c0b'/%3E%3C/svg%3E");
}

@media screen and (max-width: 1170px) {
  .header .lang-switcher--dropdown {
    margin-left: auto;
    margin-right: 16px;
  }

  .header .lang-switcher--dropdown + .header__burger-btn {
    margin-left: 0;
  }
}

@media screen and (max-width: 600px) {
  .header .lang-switcher--dropdown {
    display: none;
  }

  .header .lang-switcher--dropdown + .header__burger-btn,
  .header .header__burger-btn {
    margin-left: auto;
  }
}
