/* ══════════════════════════════════════════════════════
   i18n Language Switcher — dropdown variant
   ══════════════════════════════════════════════════════ */

.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: var(--space-4, 1rem);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: var(--space-4, 1rem);
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: inherit;
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 4px 26px 4px 10px;
  transition: border-color 0.18s ease, background 0.18s ease;
  /* custom chevron in the nav colour */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5' viewBox='0 0 9 5'%3E%3Cpath d='M1 1l3.5 3L8 1' stroke='white' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  opacity: 0.8;
}

.lang-select:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-select:focus {
  outline: none;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
}

/* option elements inherit OS styles; just ensure readable colours */
.lang-select option {
  background: #2b2018;
  color: #fff;
  font-size: 13px;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .lang-switcher {
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    margin-top: var(--space-3, 0.75rem);
    padding-top: var(--space-3, 0.75rem);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    justify-content: center;
  }

  .lang-select {
    font-size: 13px;
    padding: 6px 30px 6px 12px;
  }
}
