/* Compact language control only; header/container geometry is unchanged. */
.site-header__tools > .language-switcher {
  position: relative;
  display: block;
  width: 82px;
  height: 34px;
  flex: 0 0 82px;
  align-self: center;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}
.language-switcher__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  color: #fff;
  background: #1b222a;
  border: 1px solid #414b58;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background .18s ease, border-color .18s ease;
}
.language-switcher__trigger::-webkit-details-marker { display: none; }
.language-switcher__trigger::marker { content: ''; }
.language-switcher__trigger:hover,
.language-switcher[open] > .language-switcher__trigger { background: #26313e; border-color: #647386; }
.language-switcher__globe { width: 15px; height: 15px; flex: 0 0 15px; color: #4cb8d3; }
.language-switcher__chevron { width: 12px; height: 12px; flex: 0 0 12px; color: #c4ccd6; transition: transform .18s ease; }
.language-switcher[open] .language-switcher__chevron { transform: rotate(180deg); }
.language-switcher__panel {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 10px);
  right: 0;
  width: 164px;
  max-width: calc(100vw - 32px);
  padding: 7px;
  color: #27313f;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(16 24 37 / 17%);
  transform: translateX(var(--language-panel-shift, 0px));
}
.language-switcher:not([open]) > .language-switcher__panel { display: none; }
.language-switcher__options { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.language-switcher__option {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  color: #344054;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}
.language-switcher__option[aria-current='page'] { color: #c7520d; font-weight: 600; }
.language-switcher__option:hover,
.language-switcher__option:focus-visible { color: #b7460a; background: #fff3e9; }
.language-switcher__check { width: 15px; height: 15px; flex: 0 0 15px; }
.language-switcher__trigger:focus-visible,
.language-switcher__option:focus-visible { outline: 2px solid #ed6b14; outline-offset: 3px; }
@media (max-width: 767px) {
  .site-header__tools > .language-switcher { width: 78px; height: 32px; flex-basis: 78px; }
  .language-switcher__trigger { gap: 5px; padding: 0 9px; }
  .language-switcher__option { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-switcher__trigger, .language-switcher__chevron { transition: none; }
}
