.locale-picker { position: relative; z-index: 2; flex: none; }
.locale-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #d9e4ed;
  border-radius: 12px;
  color: #0b2a48;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.locale-toggle::-webkit-details-marker { display: none; }
.locale-flag { flex: none; border-radius: 3px; outline: 1px solid #d9e4ed; }
.locale-toggle:hover, .locale-picker[open] > .locale-toggle { background: #eaf4ff; border-color: #87aed5; }
.locale-toggle:focus-visible, .locale-option:focus-visible { outline: 3px solid #e39b42; outline-offset: -2px; }
.locale-picker[open] .locale-chevron { transform: rotate(180deg); }
.locale-options {
  position: absolute;
  inset: calc(100% + 8px) 0 auto auto;
  min-width: 172px;
  margin: 0;
  padding: 5px;
  list-style: none;
  border: 1px solid #d9e4ed;
  border-radius: 12px;
  color: #0b2a48;
  background: #fff;
  box-shadow: 0 12px 26px rgba(7, 31, 55, .18);
}
.locale-option { display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 9px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
a.locale-option:hover, .locale-option.is-current { background: #eaf4ff; }
.locale-option.is-current { font-weight: 800; }
.locale-check { margin-inline-start: auto; color: #1767c7; }
.legal-language { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legal-language > a:first-child { color: #1767c7; font-weight: 700; }
.site-header .header-inner:has(.locale-picker) { gap: clamp(10px, 1.45vw, 22px); }
.site-header .header-inner:has(.locale-picker) .main-nav { gap: clamp(10px, 1.65vw, 27px); }
@media (max-width: 1120px) {
  .site-header .header-inner:has(.locale-picker) .menu-toggle { margin-inline-start: auto; }
}
@media (max-width: 390px) {
  .locale-toggle { padding-inline: 8px; }
}
