/* Selector de idioma y moneda (compartido por todas las páginas) */
/* Solo la bandera, redonda */
.lang-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 0; background: none; cursor: pointer; transition: transform .15s;
}
.lang-btn:hover { transform: scale(1.08); }
.lang-btn img { border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.lang-btn-dark img { box-shadow: 0 0 0 1px rgba(255,255,255,.15); }

.lang-modal { position: fixed; inset: 0; z-index: 200; background: rgba(14,23,38,.55); display: none; place-items: center; padding: 16px; }
.lang-modal.open { display: grid; }
.lang-box {
  background: #fff; color: #0e1726; border-radius: 20px; padding: 28px; width: min(560px, 100%);
  max-height: calc(100vh - 32px); overflow-y: auto; position: relative; font-family: "Inter", sans-serif;
}
.lang-box h3 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.lang-box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #667085; margin: 22px 0 10px; }
.lang-close { position: absolute; top: 14px; right: 18px; border: 0; background: none; font-size: 28px; color: #98a2b3; cursor: pointer; line-height: 1; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.lang-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; background: none; border-radius: 10px;
  cursor: pointer; font: 400 15px "Inter", sans-serif; color: #475467; text-align: left;
}
.lang-item img { border-radius: 50%; flex: 0 0 26px; }
.lang-item:hover:not([disabled]) { background: #f6f7f9; }
.lang-item.active { background: #d9fbe5; color: #0e1726; font-weight: 700; }
.lang-item[disabled] { cursor: default; opacity: .45; }
.lang-item small { margin-left: auto; font-size: 11px; }
.cur-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cur-item {
  padding: 12px; border: 1px solid #eaecf0; background: #fff; border-radius: 12px; cursor: pointer;
  font: 600 15px "Inter", sans-serif; color: #0e1726; text-align: left;
}
.cur-item small { color: #667085; font-weight: 400; margin-left: 4px; }
.cur-item.active { border-color: #1fc16b; background: #edfaf3; }
@media (max-width: 480px) { .lang-grid { grid-template-columns: 1fr; } }
