.language-switch {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
  z-index: 30;
  margin: 0;
  font: 600 12px/1.2 system-ui, sans-serif;
}
.language-switch > .language-switch__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #ffffff2e;
  border-radius: 12px;
  color: inherit;
  background: #ffffff06;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 160ms ease, border-color 160ms ease;
}
.language-switch__button::-webkit-details-marker { display: none; }
.language-switch__button::marker { content: ""; }
.language-switch > .language-switch__button:hover,
.language-switch[open] > .language-switch__button { background: #ffffff10; border-color: #baa1d080; }
.language-switch .language-switch__globe { width: 18px; height: 18px; flex: 0 0 auto; }
.language-switch .language-switch__chevron { width: 12px; height: 12px; flex: 0 0 auto; transition: transform 160ms ease; }
.language-switch[open] .language-switch__chevron { transform: rotate(180deg); }
.language-switch > .language-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 4px;
  width: 184px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 6px;
  border: 1px solid #70597f;
  border-radius: 14px;
  color: #f4eafa;
  background: #281e34;
  box-shadow: 0 12px 32px #0005;
}
.language-switch:not([open]) > .language-switch__menu { display: none; }
.language-switch[open] > .language-switch__menu { animation: language-menu-in 160ms ease-out; }
.language-switch .language-switch__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  color: #f4eafa;
  font-size: 14px;
  text-decoration: none;
}
.language-switch .language-switch__menu a:hover { background: #ffffff0d; color: #fff; }
.language-switch__menu small { margin-left: auto; font-size: 11px; opacity: .65; }
.language-switch .language-switch__menu a[aria-current="true"] { background: #dafa74; color: #263615; }
.language-switch__menu a[aria-current="true"] small { display: none; }
.language-switch__menu a[aria-current="true"]::after { content: "\2713"; margin-left: auto; font-size: 16px; }
.language-switch :is(summary, a):focus-visible { outline: 2px solid #dafa74; outline-offset: 3px; }
@keyframes language-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .language-switch[open] > .language-switch__menu { animation: none; }
  .language-switch .language-switch__chevron, .language-switch > .language-switch__button { transition: none; }
}
@media (max-width: 680px) {
  body.consumer-app .site-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  body.consumer-app .site-header .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: max-content;
  }
  body.consumer-app .site-header__search-link { grid-column: 3; }
}
@media (max-width: 480px) {
  .language-switch > .language-switch__button { gap: 5px; padding-inline: 8px; }
  .consumer-app .site-header__actions { gap: 6px; }
  body.consumer-app .site-header__search-link span { display: none; }
}
@media (max-width: 650px) {
  .site-header > .language-switch .language-switch__menu { right: auto; left: 0; }
}
