button[data-lang-toggle] {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 4.7rem;
  min-width: 4.7rem;
  min-height: 4.75rem;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.85rem !important;
  background: #f2f0ea;
  color: #111 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

button[data-lang-toggle]:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: #f7f5ef;
}

button[data-lang-toggle]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lang-selected,
.lang-option {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.75rem;
}

.lang-selected {
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: #17210f;
}

.lang-option {
  justify-content: flex-start;
  color: #111;
}

.lang-chevron {
  width: 0.62rem;
  height: 0.62rem;
  margin-left: 0.55rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(0.18rem) rotate(45deg);
}

#mobile-menu button[data-lang-toggle] {
  width: 100%;
  min-width: 0;
  min-height: 4.75rem;
  border-radius: 0.85rem !important;
  box-shadow: none;
}

@media (max-width: 767px) {
  nav.fixed > div:first-child > div:last-child {
    position: static;
  }

  nav.fixed > div:first-child button[data-lang-toggle] {
    position: fixed !important;
    top: 0.55rem;
    right: 3.55rem;
    z-index: 70;
    transform: translateX(-4.85rem);
  }

  nav.fixed > div:first-child #mobile-menu-toggle {
    position: fixed !important;
    top: 0.65rem;
    right: 0.75rem;
    z-index: 70;
    transform: translateX(-4.8rem);
  }

  button[data-lang-toggle] {
    width: 4.1rem;
    min-width: 4.1rem;
    min-height: 4.45rem;
    font-size: 0.9rem;
  }

  .lang-selected,
  .lang-option {
    min-height: 2.2rem;
    padding: 0 0.62rem;
  }

  .lang-chevron {
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.4rem;
  }

  #mobile-menu button[data-lang-toggle] {
    position: static !important;
    transform: none;
    width: 100%;
    min-width: 0;
  }
}
