.locale-switcher {
  position: relative;
  z-index: 1100;
  flex: 0 0 auto;
  color: #eef7f1;
  font-family: inherit;
}

.top-nav .locale-switcher {
  margin-left: 8px;
}

.locale-switcher summary {
  display: grid;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 6px;
  background: #101713;
  box-shadow: 0 8px 24px rgb(0 0 0 / 24%);
  font-size: 0.78rem;
  font-weight: 800;
}

.locale-switcher summary::-webkit-details-marker {
  display: none;
}

.locale-switcher summary:hover,
.locale-switcher summary:focus-visible,
.locale-switcher[open] summary {
  border-color: #61d3bd;
  background: #17221c;
  color: #7be0cc;
}

.locale-switcher summary:focus-visible,
.locale-switcher-option:focus-visible {
  outline: 3px solid #61d3bd;
  outline-offset: 2px;
}

.locale-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 210px;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 6px;
  background: #101713;
  box-shadow: 0 14px 36px rgb(0 0 0 / 32%);
}

.locale-switcher-menu > strong {
  padding: 8px 10px 6px;
  color: #aebbb3;
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.locale-switcher-option {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 4px;
  color: #eef7f1;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.locale-switcher-option:hover,
.locale-switcher-option[aria-current="page"] {
  background: rgb(97 211 189 / 14%);
  color: #7be0cc;
}

.locale-switcher-option small {
  color: #aebbb3;
  font-size: 0.7rem;
  font-weight: 600;
}

.locale-switcher-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

@media (prefers-reduced-motion: reduce) {
  .locale-switcher *,
  .locale-switcher *::before,
  .locale-switcher *::after {
    scroll-behavior: auto;
    transition: none;
  }
}
