.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 0;
  color: var(--muted, #6f636b);
  font-size: 13px;
  white-space: nowrap;
}

.locale-switcher a,
.mobile-locale-switcher a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 5px;
  color: inherit;
  text-decoration: none;
}

.locale-switcher a:hover,
.locale-switcher a:focus-visible,
.mobile-locale-switcher a:hover,
.mobile-locale-switcher a:focus-visible {
  color: var(--accent-dark, #b81363);
  background: rgba(216, 27, 122, .08);
}

.locale-switcher a[aria-current="page"],
.mobile-locale-switcher a[aria-current="page"] {
  color: var(--accent-dark, #b81363);
  font-weight: 800;
}

.mobile-locale-switcher {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-height: 52px;
  padding: 4px 0;
  border-top: 1px solid var(--line, rgba(42, 37, 40, .16));
  color: var(--muted, #6f636b);
}

.locale-prompt {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
  color: var(--ink, #2a2528);
  background: var(--white, #fff);
  font-size: 14px;
  line-height: 1.5;
}

.locale-prompt[hidden] {
  display: none !important;
}

.locale-prompt p {
  margin: 0;
}

.locale-prompt a,
.locale-prompt button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line-strong, rgba(42, 37, 40, .3));
  border-radius: 5px;
  color: var(--accent-dark, #b81363);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.locale-prompt a:hover,
.locale-prompt a:focus-visible,
.locale-prompt button:hover,
.locale-prompt button:focus-visible {
  background: rgba(216, 27, 122, .08);
}

.locale-prompt button {
  color: var(--muted, #6f636b);
}

.locale-footer-switcher {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

@media (max-width: 767px) {
  .locale-switcher[data-locale-placement="desktop"] {
    display: none;
  }

  .mobile-locale-switcher {
    display: flex;
    justify-content: center;
  }

  .locale-prompt {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
  }

  .locale-prompt p {
    flex: 1 0 100%;
  }
}
