/* ── Dropdown de país / moneda ── */
.currency-dropdown {
  position: relative; margin-left: 1rem;
}
@media (max-width: 900px) {
  .nav-currency-wrapper { margin-left: auto; }
  .currency-dropdown { margin-left: 0; }
  .currency-btn { font-size: 0.78rem; padding: 0.35rem 0.6rem; }
  .cf-code { display: none; }
}
.currency-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--g100); border: 1px solid var(--g200);
  border-radius: 999px; padding: 0.4rem 0.85rem;
  font-family: var(--font); font-size: 0.8rem; font-weight: 600;
  color: var(--black); cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.currency-btn:hover { background: var(--g200); }
.currency-btn svg { width: 10px; height: 10px; flex-shrink: 0; }
.currency-panel {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: 1px solid var(--g200);
  border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  min-width: 210px; max-height: 320px; overflow-y: auto;
  z-index: 1100; padding: 0.4rem;
}
.currency-panel.open { display: block; }
.currency-panel-item {
  display: flex; align-items: center;
  padding: 0.5rem 0.75rem; border-radius: 8px; cursor: pointer;
  font-size: 0.83rem; color: var(--g600);
  transition: background var(--ease);
  gap: 0.5rem;
}
.currency-panel-item:hover { background: var(--g50); }
.currency-panel-item.active { background: var(--black); color: var(--white); }
.currency-panel-item .ci-flag { font-size: 1rem; flex-shrink: 0; line-height: 1; }
.currency-panel-item .ci-name { flex: 1; }
.currency-panel-item .ci-code { font-size: 0.72rem; font-weight: 700; opacity: 0.6; }
.currency-panel-divider { height: 1px; background: var(--g200); margin: 0.3rem 0.4rem; }

/* ── Precio secundario en moneda local (solo planes.html) ── */
.plan-price-local {
  font-size: 0.78rem; color: var(--g400); margin-bottom: 0.5rem;
  min-height: 1.2em; transition: opacity 0.2s;
}
.plan-card.featured .plan-price-local { color: rgba(255,255,255,0.35); }

/* ── Ocultar IVA toggle para internacionales ── */
.iva-toggle.hidden { display: none; }
