.nav-prefs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 4px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher__label {
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  white-space: nowrap;
  font-weight: 600;
}

.pref-switcher__select,
.lang-switcher__select {
  appearance: none;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  height: 36px;
  padding: 0 28px 0 10px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy, #0f172a);
  flex-shrink: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E")
    no-repeat right 8px center,
    #fff;
  cursor: pointer;
  min-width: 118px;
  max-width: 148px;
}

.pref-switcher__select:hover,
.lang-switcher__select:hover {
  border-color: var(--primary, #6665dd);
}

@media (max-width: 768px) {
  .nav-prefs {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-right: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border, #e2e8f0);
    margin-bottom: 4px;
  }

  .lang-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .lang-switcher__label {
    display: inline;
    min-width: 52px;
  }

  .pref-switcher__select,
  .lang-switcher__select {
    flex: 1;
    max-width: none;
    min-width: 0;
    font-size: 0.8rem;
  }
}
