/* Taxi Catania H24 — selettore lingua (bandiere) nella navbar */

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- Versione desktop: bottone + menu a tendina ------------------------- */
.lang-switch {
  position: relative;
}

.lang-switch__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--color-white, #fff);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-switch__trigger:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(240,180,41,0.4);
}

.lang-switch__flag { font-size: 1.05rem; line-height: 1; }
.lang-switch__code { letter-spacing: 0.03em; }
.lang-switch__caret { width: 14px; height: 14px; transition: transform 0.2s ease; }
.lang-switch.is-open .lang-switch__caret { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: var(--color-ink, #16181b);
  border: 1px solid rgba(240,180,41,0.28);
  border-radius: var(--radius-m, 14px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 3000;
}

.lang-switch.is-open .lang-switch__menu { display: flex; }

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch__option:hover { background: rgba(255,255,255,0.08); color: #fff; }

.lang-switch__option.is-active {
  background: rgba(240,180,41,0.14);
  color: var(--color-gold, #f0b429);
}

.lang-switch__option .lang-switch__flag { font-size: 1.15rem; }

/* --- Versione mobile: riga di bandiere dentro il menu a tendina --------- */
.lang-switch--mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 14px 4px;
}

.lang-switch__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}

.lang-switch__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-switch__row .lang-switch__option {
  width: auto;
  flex: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.lang-switch__row .lang-switch__option.is-active {
  border-color: rgba(240,180,41,0.5);
}
