/**
 * Branded language chooser (dropdown) — Daiana Rădulescu
 * Gold accent, Montserrat, immediate GET navigation via data-href.
 */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  position: relative;
}

.lang-switch__select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2.25rem;
  min-width: 7.75rem;
  max-width: 12rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(20, 17, 14, 0.18);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c79d32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 11px 7px;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1.2;
  color: #14110e;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 17, 14, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.lang-switch__select:hover {
  border-color: #c79d32;
  color: #14110e;
}

.lang-switch__select:focus {
  outline: none;
  border-color: #c79d32;
  box-shadow: 0 0 0 3px rgba(199, 157, 50, 0.22);
}

.lang-switch__select option {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #14110e;
  background: #fff;
}

/* Dark headers (salon / dormant / dark chrome) */
.lang-switch--on-dark .lang-switch__select {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(249, 247, 242, 0.35);
  color: #f9f7f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23d4b45a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.lang-switch--on-dark .lang-switch__select:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: #d4b45a;
  color: #fff;
}

.lang-switch--on-dark .lang-switch__select:focus {
  border-color: #d4b45a;
  box-shadow: 0 0 0 3px rgba(212, 180, 90, 0.28);
}

.lang-switch--on-dark .lang-switch__select option {
  color: #14110e;
  background: #fff;
}

@media (max-width: 520px) {
  .lang-switch__select {
    min-width: 6.5rem;
    padding-left: 0.55rem;
    font-size: 0.64rem;
  }
}
