.language-picker { position: relative; flex: 0 0 auto; color: #395163; font-size: 12px; }
.language-picker button { font: inherit; cursor: pointer; }
.language-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 96px; height: 38px; padding: 0 10px; border: 1px solid #dce7ee; border-radius: 9px; background: #fff; color: inherit; }
.language-code { font-weight: 650; letter-spacing: .04em; min-width: 23px; text-align: left; line-height: 1; }
.language-flag { display: block; flex: 0 0 20px; width: 20px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(26,53,72,.12); }
.language-chevron { width: 12px; height: 12px; color: #7b8f9d; transition: transform .18s; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: #8fcac8; }
.language-trigger:focus-visible, .language-option:focus-visible { outline: 2px solid #087f83; outline-offset: 2px; }
.language-options { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 124px; max-height: min(352px, calc(100dvh - 150px)); overflow-y: auto; overscroll-behavior: contain; padding: 6px; margin: 0; border: 1px solid #dce7ee; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(9,39,57,.16); scrollbar-width: thin; }
.language-options[hidden] { display: none; }
.language-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 40px; padding: 10px 15px; border: 0; border-radius: 7px; background: transparent; color: #395163; }
.language-option:hover, .language-option:focus-visible { background: #f0f6f8; }
.language-option[aria-selected="true"] { background: #e8f5f3; color: #087f83; }
@media (max-width: 760px) {
  .language-trigger { min-width: 90px; gap: 7px; padding: 0 8px; }
}
