.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  gap: 15px;
}

.language-switcher--single .language-switcher__current {
  cursor: default;
}

.language-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-transform: uppercase;
  justify-content: flex-end;
}

.language-switcher__current:focus {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.language-switcher__caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.language-switcher__options {
  position: absolute;
  right: -17px;
  top: 75%;
  display: flex;
  flex-direction: column;
  min-width: max-content;
  background-color: #fff;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.language-switcher:hover .language-switcher__options,
.language-switcher.is-open .language-switcher__options {
  max-height: 240px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-switcher:hover .language-switcher__caret,
.language-switcher.is-open .language-switcher__caret {
  transform: rotate(180deg);
}

.language-switcher__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.language-switcher__option:hover,
.language-switcher__option:focus {
  background-color: rgba(0, 0, 0, 0.08);
}

.language-switcher__option:focus {
  outline: none;
}


