/* ── Language Switcher ─────────────────────────── */
.ip-lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 24px;
  border: 1px solid rgba(191,167,111,.3);
  padding: 3px;
}
.ip-lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(244,241,236,.45);
  padding: 6px 10px;
  transition: color .25s, background .25s;
  line-height: 1;
}
.ip-lang-btn:hover { color: var(--ip-gold); }
.ip-lang-btn.active {
  background: var(--ip-gold);
  color: var(--ip-black);
}
.ip-lang-btn:focus-visible {
  outline: 2px solid var(--ip-gold);
  outline-offset: 2px;
}
/* Divider between buttons */
.ip-lang-divider {
  width: 1px;
  height: 12px;
  background: rgba(191,167,111,.3);
}

/* ── Transition overlay ────────────────────────── */
#ip-i18n-wrap { transition: opacity .15s ease; }
#ip-i18n-wrap.lang-switching { opacity: 0; }

/* ── Keyboard hint tooltip ─────────────────────── */
.ip-lang-switcher[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--ip-charcoal);
  color: var(--ip-gold);
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  white-space: nowrap;
  border: 1px solid rgba(191,167,111,.2);
  pointer-events: none;
  z-index: 200;
}
