/* ═══════════════════════════════════════════════════════════════════
   Solid-Game Shop — app.css v4
   Tema: Dark Gamer Premium · GamersGold inspired
   #111116 bg · #f0b90b gold · Inter 900
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img,
video {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}

/* ── Variables ──────────────────────────────────────────────────── */
:root {
  --bg: #111116;
  --bg-2: #16161d;
  --bg-3: #1c1c25;
  --surface: #1e1e28;
  --surface-2: #252530;
  --border: rgba(255, 255, 255, 0.07);
  --border-s: rgba(255, 255, 255, 0.13);
  --brand: #f0b90b;
  --brand-d: #c99a08;
  --brand-rgb: 240, 185, 11;
  --green: #22c55e;
  --red: #ef4444;
  --amber: #f59e0b;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --purple: #a855f7;
  --text: #ffffff;
  --text-s: #9b9baf;
  --text-xs: #5c5c72;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-b: 0 0 28px rgba(var(--brand-rgb), 0.3);
  --t: 0.18s ease;
}

/* ── Base ───────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
::selection {
  background: rgba(var(--brand-rgb), 0.22);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-d);
}

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  background: rgba(17, 17, 22, 0.93);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 68px;
}

/* Brand */
.nav-brand {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
}
.nav-brand:hover {
  color: var(--brand);
  opacity: 0.88;
}
.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-brand-icon svg {
  width: 18px;
  height: 18px;
  stroke: #111116;
}

/* Nav links pill */
.nav-links {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin: 0 auto;
}
.nav-links a {
  color: var(--text-s);
  font-size: 12.5px;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9px;
  transition:
    color var(--t),
    background var(--t);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links .nav-redeem {
  color: var(--brand);
}
.nav-links .nav-redeem:hover {
  background: rgba(var(--brand-rgb), 0.1);
}

/* Search */
.nav-search {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-search-input {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  padding: 0.42rem 0.85rem 0.42rem 2rem;
  width: 190px;
  outline: none;
  transition:
    width var(--t),
    border-color var(--t);
}
.nav-search-input::placeholder {
  color: var(--text-xs);
}
.nav-search-input:focus {
  width: 240px;
  border-color: rgba(var(--brand-rgb), 0.5);
}
.nav-search-icon {
  position: absolute;
  left: 0.6rem;
  color: var(--text-xs);
  pointer-events: none;
}

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Cart */
.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-s);
  color: var(--text);
  background: var(--surface);
  transition:
    border-color var(--t),
    background var(--t);
  white-space: nowrap;
}
.nav-cart:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  background: var(--surface-2);
  color: var(--text);
}
.cart-count {
  background: var(--brand);
  color: #111116;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-total {
  color: var(--brand);
  font-weight: 700;
}

/* User area */
.nav-user {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
}
.nav-user > span {
  color: var(--text-s);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-notif {
  position: relative;
  color: var(--text-s);
  padding: 0.3rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition:
    color var(--t),
    background var(--t);
}
.nav-notif:hover {
  color: var(--text);
  background: var(--surface);
}
.nav-notif svg {
  width: 18px;
  height: 18px;
}
.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  min-width: 14px;
  height: 14px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid var(--bg);
}
.nav-user a {
  color: var(--text-s);
  font-size: 13px;
  transition: color var(--t);
}
.nav-user a:hover {
  color: var(--text);
}

/* Auth buttons */
.btn-login {
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-s);
  color: var(--text-s);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--t);
}
.btn-login:hover {
  color: var(--text);
  background: var(--surface-2);
}
.btn-registro {
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  background: var(--brand);
  color: #111116;
  cursor: pointer;
  transition:
    opacity var(--t),
    transform var(--t);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.btn-registro:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: #111116;
}
.btn-admin {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}
.btn-recargar {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background var(--t);
}
.btn-recargar:hover {
  background: rgba(var(--brand-rgb), 0.22);
  color: var(--brand);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition:
    transform var(--t),
    opacity var(--t);
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 2rem;
  z-index: 199;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.35rem;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile-link {
  color: var(--text-s);
  font-size: 15px;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition:
    background var(--t),
    color var(--t);
}
.nav-mobile-link:hover {
  background: var(--surface);
  color: var(--text);
}
.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.nav-mobile-search {
  position: relative;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
}
.nav-mobile-search svg {
  color: var(--text-xs);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.nav-mobile-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.nav-mobile-search input::placeholder {
  color: var(--text-xs);
}
.nav-mobile-search form {
  flex: 1;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  background: #0d0d11;
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 0;
  margin-top: auto;
}
.footer-inner {
  display: none;
}
.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-brand-desc {
  color: var(--text-s);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-s);
  transition: all var(--t);
}
.footer-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #111116;
}
.footer-social a svg {
  width: 15px;
  height: 15px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col-title svg {
  width: 12px;
  height: 12px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col ul li a {
  color: var(--text-s);
  font-size: 13.5px;
  transition: color var(--t);
}
.footer-col ul li a:hover {
  color: var(--text);
}
.footer-legal-note {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.footer-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-legal ul li a {
  color: var(--text-xs);
  font-size: 12px;
  transition: color var(--t);
}
.footer-legal ul li a:hover {
  color: var(--text-s);
}
.footer-payments {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-payments-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-s);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-payments-sub {
  font-size: 10.5px;
  color: var(--text-xs);
  margin-top: 0.15rem;
}
.footer-payments-badges {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.footer-pay-badge {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-s);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-pay-badge svg {
  width: 14px;
  height: 14px;
}
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
  color: var(--text-xs);
  font-size: 12px;
}
.footer-bottom span {
  color: var(--brand);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════
   LAYOUT BASE
   ══════════════════════════════════════════════════════════════════ */
.main-content {
  min-height: calc(100vh - 68px - 60px);
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.container-md {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Flash */
.flash-success,
.flash-error {
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 14px;
  animation: flashIn 0.2s ease;
}
.flash-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.flash-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}
@keyframes flashIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SKELETON / SHIMMER
   ══════════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.sk {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}
.skeleton-item {
  padding: 0.875rem 1rem;
  margin-bottom: 0.35rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.sk-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}
.sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 4px;
}
.sk-l1 {
  height: 13px;
  width: 55%;
}
.sk-l2 {
  height: 11px;
  width: 80%;
}
.sk-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
}
.sk-title {
  height: 16px;
  width: 70%;
  margin-bottom: 0.5rem;
}
.sk-sub {
  height: 12px;
  width: 45%;
}
.sk-btn {
  height: 36px;
  width: 100%;
  border-radius: var(--radius);
  margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════════
   BOTONES
   ══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--brand);
  color: #111116;
  border-color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.btn-primary:hover {
  background: #ffc72e;
  border-color: #ffc72e;
  color: #111116;
  box-shadow: var(--shadow-b);
}
.btn-outline {
  background: transparent;
  color: var(--text-s);
  border-color: var(--border-s);
}
.btn-outline:hover {
  color: var(--text);
  border-color: var(--text-s);
  background: var(--surface);
}
.btn-ghost {
  background: transparent;
  color: var(--text-s);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface);
}
.btn-danger {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-danger:hover {
  background: #dc2626;
}
.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 12.5px;
}
.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 15px;
}
.btn-full {
  width: 100%;
}
.btn-icon {
  padding: 0.45rem;
  border-radius: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   FORMULARIOS
   ══════════════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-s);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(var(--brand-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}
.form-input::placeholder {
  color: var(--text-xs);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-select {
  cursor: pointer;
}
.form-select option {
  background: var(--surface);
}
.form-hint {
  font-size: 12px;
  color: var(--text-xs);
  margin-top: 0.35rem;
  display: block;
}
.required {
  color: var(--red);
}
.filter-input,
.filter-select {
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 9px;
  color: var(--text);
  font-size: 13.5px;
  padding: 0.45rem 0.85rem;
  outline: none;
  transition: border-color var(--t);
}
.filter-input {
  min-width: 180px;
}
.filter-input:focus,
.filter-select:focus {
  border-color: rgba(var(--brand-rgb), 0.5);
}
.filter-select option {
  background: var(--surface);
}

/* ══════════════════════════════════════════════════════════════════
   BADGES & PILLS
   ══════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  line-height: 1.6;
  white-space: nowrap;
}
.badge-auto {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-manual {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-tipo {
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.badge-ok {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.badge-err {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.badge-warn {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-gray {
  background: var(--surface);
  color: var(--text-s);
  border: 1px solid var(--border-s);
}
.badge-purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.estado-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.estado-completado {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.estado-procesando {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.estado-pendiente {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.estado-fallido {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ══════════════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12.5px;
  color: var(--text-xs);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-s);
  transition: color var(--t);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb .sep {
  opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(var(--brand-rgb), 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(34, 211, 238, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 80%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(var(--brand-rgb), 0.08);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-s);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-search {
  display: flex;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto 1.75rem;
}
.hero-search-input {
  flex: 1;
  padding: 0.75rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color var(--t);
}
.hero-search-input:focus {
  border-color: rgba(var(--brand-rgb), 0.5);
}
.hero-search-input::placeholder {
  color: var(--text-xs);
}
.hero-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hero-link {
  padding: 0.35rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-s);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--t);
}
.hero-link:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.06);
}
.home-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.home-tab {
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-s);
  background: var(--surface);
  border: 1px solid var(--border-s);
  cursor: pointer;
  transition: all var(--t);
}
.home-tab:hover {
  color: var(--text);
}
.home-tab-activa {
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.3);
}

/* ══════════════════════════════════════════════════════════════════
   SECCIONES HOME
   ══════════════════════════════════════════════════════════════════ */
.section {
  padding: 3.5rem 0;
}
.section-alt {
  background: var(--bg-2);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}
.section-title-accent {
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--brand);
  border-radius: 2px;
  margin-right: 0.1rem;
}
.section-ver-todos {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--t);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-ver-todos:hover {
  gap: 0.5rem;
  color: var(--brand);
}

/* ══════════════════════════════════════════════════════════════════
   TARJETAS DE CATEGORÍA
   ══════════════════════════════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}
.cat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  transition:
    transform var(--t),
    border-color var(--t),
    box-shadow var(--t);
  aspect-ratio: 3/4;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), 0.4);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(var(--brand-rgb), 0.2);
  text-decoration: none;
}
.cat-card:hover .cat-card-img {
  transform: scale(1.05);
}
.cat-card:hover .cat-card-overlay {
  opacity: 1;
}
.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(var(--brand-rgb), 0.12);
}
.cat-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--brand-rgb), 0.06);
  opacity: 0;
  transition: opacity var(--t);
}
.cat-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.875rem 1rem;
}
.cat-nombre {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.cat-count {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}
.cat-count-price {
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
}

/* ══════════════════════════════════════════════════════════════════
   TARJETAS DE PRODUCTO
   ══════════════════════════════════════════════════════════════════ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--t),
    border-color var(--t),
    box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.prod-card.sin-stock {
  opacity: 0.5;
}
.prod-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.prod-card:hover .prod-img {
  transform: scale(1.05);
}
.prod-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(var(--brand-rgb), 0.12);
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
}
.prod-badges-overlay {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.prod-body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-nombre {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.prod-cat {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-bottom: 0.75rem;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.5rem;
}
.prod-precio {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════════════════════════
   DETALLE DE PRODUCTO
   ══════════════════════════════════════════════════════════════════ */
.prod-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}
.prod-detail-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.prod-detail-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(var(--brand-rgb), 0.1);
  border: 1px solid var(--border);
}
.prod-detail-cat {
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.prod-detail-nombre {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
  text-transform: uppercase;
}
.prod-detail-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.prod-detail-desc {
  color: var(--text-s);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prod-instrucciones {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 13.5px;
  color: var(--text-s);
}
.prod-instrucciones strong {
  color: var(--amber);
  display: block;
  margin-bottom: 0.35rem;
}
.prod-detail-buy {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 0.75rem;
}
.prod-detail-precio {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.prod-descuento {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.promo-nombre {
  color: var(--text-xs);
}
.precio-rol-badge {
  font-size: 11px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.prod-campos-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.prod-buy-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.qty-selector {
  display: flex;
  align-items: center;
}
.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}
.qty-btn:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}
.qty-btn:hover {
  background: var(--brand);
  color: #111116;
  border-color: var(--brand);
}
.qty-field {
  width: 52px;
  height: 36px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-left: none;
  border-right: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  outline: none;
}
.prod-sin-stock {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   CATEGORIA DETALLE
   ══════════════════════════════════════════════════════════════════ */
.cat-detail-wrap {
  min-height: calc(100vh - 68px);
}
.cat-hero {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-3);
}
.cat-hero-plain {
  min-height: 150px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 22, 0.98) 0%,
    rgba(17, 17, 22, 0.55) 55%,
    rgba(17, 17, 22, 0.2) 100%
  );
}
.cat-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.breadcrumb-over {
  padding-top: 0;
  margin-bottom: 0.875rem;
}
.breadcrumb-over a {
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb-over a:hover {
  color: var(--brand);
}
.cat-hero-titulo {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.cat-hero-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}
.cat-tag-tipo {
  background: rgba(var(--brand-rgb), 0.15);
  border-color: rgba(var(--brand-rgb), 0.3);
  color: var(--brand);
}
.cat-hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin-top: 0.35rem;
}
.cat-main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.cat-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.cat-selector-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cat-resumen-col {
  position: sticky;
  top: 80px;
}
.cat-page-header {
  margin-bottom: 1.5rem;
}
.cat-page-header h1 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cat-filters {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filters-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex: 1;
}
.cat-result-count {
  font-size: 13px;
  color: var(--text-xs);
  margin-left: auto;
  white-space: nowrap;
}

/* Paso cards */
.paso-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}
.paso-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.paso-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #111116;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.paso-titulo {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: 1;
}
.paso-precio-rango {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

/* Variantes */
.variantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.6rem;
}
.variante-btn {
  background: var(--surface-2);
  border: 2px solid var(--border-s);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  transition: all var(--t);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.variante-btn:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  background: var(--bg-3);
}
.variante-btn.variante-selected {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
}
.variante-btn.variante-agotada {
  opacity: 0.35;
  cursor: not-allowed;
}
.variante-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.15rem;
}
.variante-precio {
  font-size: 1rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.2;
}
.variante-nombre {
  font-size: 11px;
  color: var(--text-s);
  line-height: 1.3;
}
.variante-agotada-label {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 99px;
}
.cantidad-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qty-field-lg {
  width: 60px;
  height: 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  outline: none;
  border-radius: var(--radius);
}
.instrucciones-card {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.instrucciones-titulo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 0.6rem;
}
.instrucciones-body {
  font-size: 13.5px;
  color: var(--text-s);
  line-height: 1.7;
}

/* Resumen lateral */
.resumen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.resumen-prod {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.resumen-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-3);
  flex-shrink: 0;
}
.rel-img-ph {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: rgba(var(--brand-rgb), 0.2);
  border: 1px solid var(--border);
}
.resumen-nombre {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.resumen-variante {
  font-size: 12px;
  color: var(--text-xs);
  margin-top: 0.2rem;
}
.resumen-precio-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.resumen-precio {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
}
.resumen-moneda {
  font-size: 12px;
  color: var(--text-xs);
  font-weight: 600;
}
.resumen-stock {
  font-size: 13px;
}
.btn-agregar {
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.resumen-entrega {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.entrega-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 12.5px;
  color: var(--text-s);
}
.entrega-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.entrega-item-icon svg {
  width: 12px;
  height: 12px;
}
.entrega-item-icon-brand {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
}
.entrega-item-icon-lock {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}
.entrega-item-icon-globe {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
}

/* Cuenta verificada */
.cuenta-verificada-card {
  background: var(--bg-2);
  border: 2px solid var(--border-s);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: border-color var(--t);
}
.cuenta-verificada-card.cv-verificado {
  border-color: var(--green);
}
.cv-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.cv-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #111116;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cv-titulo {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.cv-aviso {
  font-size: 11.5px;
  color: var(--amber);
  margin-bottom: 0.75rem;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 7px;
  padding: 0.5rem 0.75rem;
}
.cv-cuenta {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.cv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
}
.cv-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv-avatar-letra {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: rgba(var(--brand-rgb), 0.3);
}
.cv-datos {
  flex: 1;
}
.cv-campo-row {
  display: flex;
  gap: 0.35rem;
  font-size: 12.5px;
  margin-bottom: 0.25rem;
}
.cv-campo-label {
  color: var(--text-xs);
}
.cv-campo-valor {
  color: var(--text);
}
.cv-nick {
  color: var(--brand);
}
.cv-juego {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-top: 0.35rem;
}
.cv-acciones {
  display: flex;
  gap: 0.5rem;
}
.campo-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 0.3rem;
}

/* Relacionadas */
.relacionadas-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem;
  margin-top: 0.875rem;
}
.relacionadas-titulo {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.relacionadas-titulo a {
  color: var(--brand);
  font-size: 11px;
}
.rel-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.5rem;
  border-radius: 9px;
  transition: background var(--t);
  border-bottom: 1px solid var(--border);
}
.rel-item:last-child {
  border-bottom: none;
}
.rel-item:hover {
  background: var(--surface-2);
}
.rel-img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-3);
}
.rel-nombre {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.rel-region {
  font-size: 11px;
  color: var(--text-xs);
  margin-top: 1px;
}
.rel-arrow {
  color: var(--text-xs);
  font-size: 16px;
}

/* ══════════════════════════════════════════════════════════════════
   CARRITO
   ══════════════════════════════════════════════════════════════════ */
.cart-titulo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.cart-titulo svg {
  color: var(--brand);
}
.cart-titulo-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-xs);
  background: var(--surface);
  border: 1px solid var(--border-s);
  padding: 2px 10px;
  border-radius: 99px;
  letter-spacing: 0;
  text-transform: none;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto auto auto;
  gap: 0.875rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: border-color var(--t);
}
.cart-item:hover {
  border-color: var(--border-s);
}
.cart-item.cart-item-sinstock {
  opacity: 0.5;
}
.cart-item-img {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}
.cart-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(var(--brand-rgb), 0.15);
  background: linear-gradient(135deg, var(--surface-2), var(--bg-3));
}
.cart-item-info {
  min-width: 0;
}
.cart-item-nombre {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}
.cart-item-variante {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.cart-item-badges {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.cart-item-campos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.campo-jugador-verificado {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 2px 8px;
  border-radius: 99px;
}
.campo-guardado {
  font-size: 12px;
  color: var(--text-s);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
}
.cart-item-edit {
  margin-top: 0.3rem;
}
.link-editar-campos {
  font-size: 12px;
  color: var(--text-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--t);
}
.link-editar-campos:hover {
  color: var(--brand);
}
.cart-item-warning {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: var(--amber);
  margin-top: 0.4rem;
}
.cart-item-sinstock-aviso {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  color: var(--red);
  margin-top: 0.35rem;
}

/* Qty */
.cart-item-qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 80px;
}
.qty-control {
  display: flex;
  align-items: center;
}
.qty-btn {
  width: 30px;
  height: 30px;
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.qty-btn:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}
.qty-btn:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}
.qty-btn:hover:not(:disabled) {
  background: var(--brand);
  color: #111116;
  border-color: var(--brand);
}
.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.qty-val {
  width: 38px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-left: none;
  border-right: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.qty-single {
  font-size: 13px;
  color: var(--text-xs);
  font-weight: 600;
}
.cart-item-precio {
  text-align: right;
  min-width: 70px;
}
.cart-item-total {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--brand);
}
.cart-item-unit {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-top: 2px;
}
.btn-remove {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.12);
  color: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  flex-shrink: 0;
}
.btn-remove:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Summary */
.cart-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.cart-summary-card h3 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 1.25rem;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 13.5px;
}
.summary-line-nombre {
  color: var(--text-s);
  flex: 1;
  min-width: 0;
}
.summary-qty {
  color: var(--text-xs);
  font-size: 12px;
  margin-left: 0.25rem;
}
.summary-line-precio {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.summary-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.875rem 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.summary-total-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.summary-moneda {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-bottom: 0.875rem;
}
.cart-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border-radius: 9px;
  margin-bottom: 0.6rem;
  font-size: 13.5px;
}
.cart-balance span {
  color: var(--text-s);
}
.cart-balance strong {
  font-weight: 800;
}
.balance-ok {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: var(--green);
}
.balance-low {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: var(--red);
}
.cart-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 9px;
  padding: 0.65rem 0.85rem;
  font-size: 12.5px;
  color: var(--amber);
  margin-bottom: 0.6rem;
}
.cart-garantias {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.garantia-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12.5px;
  color: var(--text-xs);
}

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT
   ══════════════════════════════════════════════════════════════════ */
.checkout-layout,
.checkout-v3-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.checkout-items,
.checkout-v3-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout-v3-sidebar {
  position: sticky;
  top: 80px;
}

.checkout-item,
.checkout-v3-product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.checkout-item-header,
.checkout-v3-product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.checkout-item-nombre {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.checkout-item-precio {
  font-weight: 800;
  color: var(--brand);
  font-size: 1.05rem;
  text-align: right;
  flex-shrink: 0;
}
.checkout-item-cat,
.checkout-item-unit {
  font-size: 12px;
  color: var(--text-xs);
}
.checkout-campos,
.checkout-v3-fields {
  background: var(--bg-2);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--border);
}
.checkout-cupon,
.checkout-v3-coupon-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.checkout-saldo,
.checkout-v3-balance {
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.saldo-ok,
.checkout-v3-balance.saldo-ok {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.saldo-insuficiente,
.checkout-v3-balance.saldo-insuficiente {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.saldo-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-s);
}
.saldo-info strong {
  color: var(--text);
}
.saldo-alerta {
  font-size: 13px;
  color: #f87171;
  margin-top: 0.5rem;
  font-weight: 500;
}
.checkout-insuf-box,
.checkout-v3-insufficient {
  margin-top: 0.875rem;
  padding: 0.875rem 1rem;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}
.checkout-insuf-msg {
  font-size: 13px;
  color: #f87171;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.checkout-actions,
.checkout-v3-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Métodos de pago */
.checkout-metodo,
.checkout-v3-payment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.checkout-metodo-opciones,
.checkout-v3-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.875rem;
}
.metodo-opcion,
.checkout-v3-payment-option {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--t);
}
.metodo-opcion:hover,
.checkout-v3-payment-option:hover {
  border-color: rgba(var(--brand-rgb), 0.35);
}
.metodo-opcion.is-selected,
.checkout-v3-payment-option.is-selected {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.05);
}
.metodo-opcion-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.metodo-opcion input[type='radio'] {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.metodo-opcion-nombre {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.metodo-opcion-desc {
  font-size: 12.5px;
  color: var(--text-s);
  margin-top: 0.15rem;
}
.metodo-opcion-insuf {
  color: var(--red);
  font-size: 12px;
}

/* Summary card */
.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}
.summary-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-s);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.checkout-v3-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.checkout-v3-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.checkout-v3-summary-head h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  border: none;
  padding: 0;
  margin: 0;
}
.checkout-v3-section-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  display: block;
  margin-bottom: 0.2rem;
}
.checkout-v3-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.checkout-v3-summary-line {
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
}
.checkout-v3-summary-line .summary-line-nombre strong {
  color: var(--text);
  font-size: 13.5px;
}
.checkout-v3-summary-line .summary-line-nombre small {
  color: var(--text-xs);
  font-size: 11.5px;
}
.checkout-v3-summary-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 0.4rem;
  color: var(--text-s);
}
.checkout-v3-summary-subtotal strong {
  color: var(--text);
  font-weight: 700;
}
.checkout-v3-free {
  color: var(--green) !important;
}
.checkout-v3-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  margin-top: 0.5rem;
}
.summary-total-label {
  font-size: 13px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.checkout-v3-summary-currency {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-top: 0.4rem;
}
.checkout-v3-guarantees {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.checkout-v3-guarantees div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: var(--text-xs);
}
.checkout-v3-guarantees svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex-shrink: 0;
}

/* Checkout v3 misc */
.checkout-page-v3 {
  padding-top: 1.5rem;
}
.checkout-v3-breadcrumb {
  padding-top: 0.5rem;
}
.checkout-v3-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.checkout-v3-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.checkout-v3-heading-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.checkout-titulo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
}
.checkout-v3-eyebrow {
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}
.checkout-v3-subtitle {
  font-size: 13.5px;
  color: var(--text-s);
  margin-top: 0.25rem;
}
.checkout-v3-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.checkout-v3-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.checkout-v3-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-xs);
}
.checkout-v3-step small {
  font-size: 10px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.checkout-v3-step-active span {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.1);
}
.checkout-v3-step-active small {
  color: var(--brand);
}
.checkout-v3-step-done span {
  border-color: var(--green);
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
}
.checkout-v3-step-line {
  width: 24px;
  height: 2px;
  background: var(--border-s);
  margin-bottom: 14px;
}
.checkout-v3-step-line-done {
  background: var(--green);
}
.checkout-v3-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.checkout-v3-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.checkout-v3-section-head h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.checkout-v3-count {
  font-size: 12px;
  color: var(--text-xs);
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  padding: 2px 10px;
  border-radius: 99px;
}
.checkout-v3-products {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-v3-product-info {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex: 1;
}
.checkout-v3-product-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.checkout-v3-product-icon svg {
  width: 18px;
  height: 18px;
}
.checkout-v3-product-meta {
  font-size: 11px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.checkout-v3-qty {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 5px;
}
.checkout-v3-fields-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-xs);
  margin-bottom: 0.875rem;
  margin-top: 0.5rem;
}
.checkout-campo-item {
  margin-bottom: 0.75rem;
}
.checkout-v3-ready {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.875rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.12);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--text-s);
  margin-top: 0.5rem;
}
.checkout-v3-ready-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.checkout-v3-ready-icon svg {
  width: 14px;
  height: 14px;
}
.checkout-v3-ready strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  font-size: 13.5px;
}
.checkout-v3-ready span {
  font-size: 12.5px;
  color: var(--text-xs);
}
.checkout-v3-coupon-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.checkout-v3-coupon-icon svg {
  width: 18px;
  height: 18px;
}
.checkout-v3-coupon-content p {
  font-size: 13px;
  color: var(--text-xs);
  margin-top: 0.15rem;
}
.checkout-cupon-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkout-cupon-opcional {
  font-size: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  padding: 1px 8px;
  border-radius: 99px;
  color: var(--text-xs);
  font-weight: 600;
}
.checkout-v3-coupon-input-wrap {
  margin-top: 0.75rem;
}
.checkout-cupon-input {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.checkout-v3-balance-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.checkout-v3-balance-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.checkout-v3-balance-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-v3-balance-icon svg {
  width: 18px;
  height: 18px;
}
.checkout-v3-balance-title strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.checkout-v3-balance-title span {
  font-size: 12.5px;
  color: var(--text-s);
}
.checkout-v3-balance-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
.checkout-v3-balance-stat span {
  font-size: 12px;
  color: var(--text-xs);
  display: block;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.checkout-v3-balance-stat strong {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
}
.checkout-v3-balance-stat.checkout-v3-balance-total {
  text-align: right;
}
.checkout-v3-balance-total .saldo-total-val {
  color: var(--brand);
}
.checkout-v3-balance-separator {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 auto;
}
.checkout-insuf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.checkout-v3-payment-head {
  margin-bottom: 0.875rem;
}
.checkout-v3-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-s);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.checkout-v3-payment-option input {
  display: none;
}
.checkout-v3-payment-option.is-selected .checkout-v3-radio {
  border-color: var(--brand);
  background: var(--brand);
}
.checkout-v3-payment-option.is-selected .checkout-v3-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111116;
}
.checkout-v3-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-v3-method-icon svg {
  width: 20px;
  height: 20px;
}
.checkout-v3-method-icon-balance {
  color: var(--green);
}
.checkout-v3-method-icon-binance {
  color: #f0b90b;
}
.metodo-opcion-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.checkout-v3-method-end {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-xs);
  white-space: nowrap;
}
.checkout-v3-pay-btn {
  min-width: 200px;
  justify-content: center;
  gap: 0.75rem;
}
.checkout-v3-btn-icon {
  display: flex;
  align-items: center;
}
.checkout-v3-btn-arrow {
  font-size: 1rem;
  transition: transform var(--t);
}
.checkout-v3-pay-btn:hover .checkout-v3-btn-arrow {
  transform: translateX(3px);
}
.checkout-v3-back-btn {
}
.checkout-v3-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 12px;
  color: var(--text-xs);
  margin-top: 0.75rem;
}
.checkout-v3-secure-note svg {
  width: 13px;
  height: 13px;
  color: var(--green);
  flex-shrink: 0;
}
.checkout-v3-summary-bag {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkout-v3-summary-bag svg {
  width: 18px;
  height: 18px;
}

/* ══════════════════════════════════════════════════════════════════
   RESULT / CHECKOUT EXITOSO
   ══════════════════════════════════════════════════════════════════ */
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}
.result-completado {
  border-left: 3px solid var(--green);
}
.result-procesando {
  border-left: 3px solid var(--blue);
}
.result-fallido {
  border-left: 3px solid var(--red);
}
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.result-codigo {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
}

/* Código reveal */
.codigo-reveal {
  background: var(--bg-2);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.codigo-reveal-num {
  font-size: 11px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
  display: block;
}
.codigo-reveal-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.codigo-text {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 700;
  flex: 1;
  word-break: break-all;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.25);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t);
  flex-shrink: 0;
}
.btn-copy:hover {
  background: var(--brand);
  color: #111116;
}
.btn-copy-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  cursor: pointer;
  transition: all var(--t);
  margin-top: 0.75rem;
}
.btn-copy-all:hover {
  background: var(--brand);
  color: #111116;
}
.checkout-exito-header {
  text-align: center;
  margin-bottom: 2rem;
}
.checkout-exito-titulo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin: 0.75rem 0 0.35rem;
  text-transform: uppercase;
}
.checkout-exito-balance {
  font-size: 14px;
  color: var(--text-s);
}
.checkout-exito-balance-val {
  color: var(--brand);
  font-weight: 800;
}
.checkout-exito-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.checkout-topup-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--green);
  margin-top: 0.75rem;
}
.checkout-instrucciones {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 13px;
  color: var(--text-s);
  margin-top: 0.75rem;
  white-space: pre-wrap;
}
.checkout-procesando-msg {
  font-size: 13.5px;
  color: var(--text-s);
  margin-top: 0.75rem;
  line-height: 1.65;
}
.checkout-error-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.checkout-error-msg {
  font-size: 13px;
  color: var(--text-s);
  margin-top: 0.5rem;
}
.checkout-sin-campos,
.sin-campos-checkout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  color: var(--text-xs);
  padding: 0.5rem;
  background: rgba(34, 197, 94, 0.04);
  border-radius: 8px;
  margin-top: 0.35rem;
}

/* ══════════════════════════════════════════════════════════════════
   ORDEN
   ══════════════════════════════════════════════════════════════════ */
.orden-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.orden-codigo-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-xs);
  margin-bottom: 0.2rem;
}
.orden-codigo {
  font-family: 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.orden-fecha {
  font-size: 12px;
  color: var(--text-xs);
  margin-top: 0.25rem;
}
.orden-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.orden-prod-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.orden-prod-nombre {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.orden-prod-cat {
  font-size: 12px;
  color: var(--text-xs);
  margin-top: 2px;
}
.prod-badges {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.orden-precio {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.orden-campos {
  background: var(--bg-2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}
.orden-campo-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.orden-campo-row:last-child {
  border-bottom: none;
}
.orden-campo-row span {
  color: var(--text-s);
}
.orden-campo-row strong {
  color: var(--text);
}

/* Entrega */
.entrega-box {
  background: rgba(var(--brand-rgb), 0.05);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.entrega-titulo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
  margin-bottom: 1.5rem;
}
.entrega-instrucciones {
  font-size: 13.5px;
  color: var(--text-s);
  line-height: 1.7;
}
.codigo-unico {
  background: var(--bg-2);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.codigo-unico-label {
  font-size: 11px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}
.codigo-unico-valor {
  font-family: 'Courier New', monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand);
  word-break: break-all;
  letter-spacing: 0.06em;
}
.orden-polling {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  font-size: 13px;
  color: #60a5fa;
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════════════
   ICON CIRCLES & BUBBLES
   ══════════════════════════════════════════════════════════════════ */
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.icon-circle svg {
  width: 32px;
  height: 32px;
}
.icon-circle-brand {
  background: rgba(var(--brand-rgb), 0.12);
  border: 2px solid rgba(var(--brand-rgb), 0.3);
  color: var(--brand);
}
.icon-circle-green {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.icon-circle-red {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.icon-circle-amber {
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.2);
  color: var(--amber);
}
.icon-circle-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 2px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bubble svg {
  width: 20px;
  height: 20px;
}
.icon-bubble-brand {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
}
.icon-bubble-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
}
.icon-bubble-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
}
.icon-bubble-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}
.icon-bubble-red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--red);
}
.icon-bubble-purple {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
}
.icon-bubble-cyan {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
}

/* ══════════════════════════════════════════════════════════════════
   AUTH
   ══════════════════════════════════════════════════════════════════ */
.auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1.5rem;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
}
.auth-logo {
  text-align: center;
  margin-bottom: 1.25rem;
}
.auth-logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.auth-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.auth-subtitle {
  text-align: center;
  color: var(--text-s);
  font-size: 14px;
  margin-bottom: 1.5rem;
}
.auth-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}
.auth-footer {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-s);
}
.auth-footer a {
  color: var(--brand);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════
   MI CUENTA
   ══════════════════════════════════════════════════════════════════ */
.cuenta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.cuenta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.cuenta-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-xs);
  margin-bottom: 1rem;
}
.cuenta-card-sub {
  font-size: 13px;
  color: var(--text-s);
  margin-top: 0.35rem;
}
.cuenta-saldo {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, var(--surface) 100%);
  border-color: rgba(var(--brand-rgb), 0.2);
}
.cuenta-saldo-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.stat-item {
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
}
.stat-item span {
  font-size: 11.5px;
  color: var(--text-xs);
}
.perfil-nombre {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.perfil-email {
  font-size: 12.5px;
  color: var(--text-xs);
  margin-top: 2px;
}
.perfil-rol {
  margin-top: 0.25rem;
}
.rol-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rol-admin {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.rol-cliente {
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
}
.cuenta-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-s);
  font-size: 13.5px;
  font-weight: 500;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  transition: all var(--t);
}
.cuenta-link:hover {
  color: var(--text);
  background: var(--surface-2);
}
.perfil-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
.perfil-sidebar {
  text-align: center;
}
.perfil-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  color: #111116;
  font-size: 1.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.perfil-nombre-display {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.perfil-email-display {
  font-size: 12.5px;
  color: var(--text-xs);
  margin-top: 0.2rem;
}
.perfil-main-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.perfil-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════════════
   RECARGAR
   ══════════════════════════════════════════════════════════════════ */
.recargar-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.recargar-saldo-actual {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, var(--surface) 100%);
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.recargar-saldo-label {
  font-size: 11px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.recargar-saldo-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.03em;
  margin-top: 0.1rem;
}
.recargar-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.recargar-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--text-s);
  cursor: pointer;
  transition: all var(--t);
}
.recargar-tab.active {
  background: rgba(var(--brand-rgb), 0.1);
  border-color: rgba(var(--brand-rgb), 0.3);
  color: var(--brand);
}
.recargar-tab svg {
  width: 15px;
  height: 15px;
}
.recargar-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.metodo-header {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.metodo-nombre {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.metodo-desc {
  font-size: 13px;
  color: var(--text-s);
  margin-top: 0.2rem;
}
.montos-rapidos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.monto-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-2);
  border: 1px solid var(--border-s);
  color: var(--text-s);
  cursor: pointer;
  transition: all var(--t);
}
.monto-btn:hover {
  background: rgba(var(--brand-rgb), 0.1);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.3);
}
.instrucciones-pago {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 13.5px;
  color: var(--text-s);
  line-height: 1.7;
}
.instrucciones-pago-sin {
  color: var(--text-xs);
  font-style: italic;
}
.input-prefix-wrap {
  position: relative;
}
.input-prefix {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-xs);
  font-size: 15px;
  font-weight: 700;
  pointer-events: none;
}
.input-prefix + .form-input {
  padding-left: 1.75rem;
}
.recargas-historial {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.recargas-historial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.recargas-historial-titulo {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-s);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.recarga-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.recarga-row:last-child {
  border-bottom: none;
}
.recarga-ref {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}
.recarga-fecha {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-top: 0.15rem;
}
.recarga-monto {
  font-size: 14px;
  font-weight: 900;
  color: var(--brand);
}
.recarga-estado-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
.recarga-aprobada {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.recarga-rechazada {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.recarga-pendiente {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ══════════════════════════════════════════════════════════════════
   REDEEM
   ══════════════════════════════════════════════════════════════════ */
.redeem-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1.5rem;
}
.redeem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
}
.redeem-title {
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.redeem-desc {
  text-align: center;
  color: var(--text-s);
  font-size: 14px;
  margin-bottom: 1.5rem;
}
.redeem-input {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.redeem-producto {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.redeem-prod-nombre {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.redeem-prod {
  font-size: 14px;
  color: var(--text-s);
  text-align: center;
  margin-bottom: 0.75rem;
}
.redeem-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.redeem-instrucciones {
  margin-top: 0.75rem;
  font-size: 13px;
  color: var(--text-s);
}
.redeem-campos {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}
.redeem-campos-titulo {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-xs);
  margin-bottom: 0.75rem;
}
.redeem-aviso-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 9px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 13px;
  color: var(--amber);
}
.redeem-actions {
  display: flex;
  gap: 0.75rem;
}
.redeem-footer-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.entrega-box {
  background: rgba(var(--brand-rgb), 0.05);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.entrega-titulo {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-xs);
  margin-bottom: 0.875rem;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   NOTIFICACIONES
   ══════════════════════════════════════════════════════════════════ */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.notif-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  transition: border-color var(--t);
}
.notif-item.no-leida {
  border-color: rgba(var(--brand-rgb), 0.2);
  background: rgba(var(--brand-rgb), 0.03);
}
.notif-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-icon-wrap svg {
  width: 16px;
  height: 16px;
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-mensaje {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}
.notif-fecha {
  font-size: 11.5px;
  color: var(--text-xs);
  margin-top: 0.25rem;
}
.notif-actions {
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   BINANCE PAY
   ══════════════════════════════════════════════════════════════════ */
.binance-wrap,
.recarga-binance-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.binance-card,
.recarga-binance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.binance-header {
  background: linear-gradient(135deg, #f0b90b, #c99a08);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.binance-header-title {
  font-size: 1rem;
  font-weight: 900;
  color: #111116;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.binance-header-sub {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111116;
}
.binance-body,
.binance-qr-section {
  padding: 1.5rem;
  text-align: center;
}
.qr-container,
.binance-qr-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 3px solid var(--brand);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-container img,
.binance-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.binance-nota-wrap {
  text-align: center;
  margin-bottom: 1.25rem;
}
.binance-nota-label,
.binance-nota-lbl {
  font-size: 11px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.binance-nota-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.08em;
  font-family: 'Courier New', monospace;
}
.binance-nota-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.binance-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: var(--bg-2);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.binance-info-label {
  font-size: 12px;
  color: var(--text-xs);
}
.binance-info-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.binance-pasos,
.binance-instrucciones {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0 0.5rem;
}
.binance-paso,
.binance-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.binance-paso-num,
.binance-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand);
  color: #111116;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.binance-paso-txt,
.binance-step-text {
  font-size: 13px;
  color: var(--text-s);
  padding-top: 2px;
  line-height: 1.5;
}
.binance-estado-bar,
.polling-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  font-size: 13px;
  color: #60a5fa;
  margin-top: 1rem;
}
.countdown-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--text-s);
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════════════════
   ÓRDENES LISTA
   ══════════════════════════════════════════════════════════════════ */
.orden-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition:
    border-color var(--t),
    transform var(--t);
}
.orden-row:hover {
  border-color: rgba(var(--brand-rgb), 0.3);
  transform: translateX(3px);
}
.orden-row-info {
  flex: 1;
  min-width: 0;
}
.orden-row-codigo {
  font-size: 11px;
  color: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.orden-row-prod {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.15rem;
}
.orden-row-meta {
  font-size: 12px;
  color: var(--text-xs);
  margin-top: 0.25rem;
}
.orden-row-right {
  text-align: right;
  flex-shrink: 0;
}
.orden-row-precio {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 0.3rem;
}
.estado-badge-sm {
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: flex-end;
}
.estado-badge-sm.estado-completado {
  color: #4ade80;
}
.estado-badge-sm.estado-procesando {
  color: #60a5fa;
}
.estado-badge-sm.estado-pendiente {
  color: #fbbf24;
}
.estado-badge-sm.estado-fallido {
  color: #f87171;
}

/* ══════════════════════════════════════════════════════════════════
   RESULT PAGES
   ══════════════════════════════════════════════════════════════════ */
.result-page-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1.5rem;
}
.result-page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.result-page-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin: 0.75rem 0 0.5rem;
  letter-spacing: -0.02em;
}
.result-page-desc {
  color: var(--text-s);
  font-size: 14.5px;
  margin-bottom: 1.5rem;
}
.result-detail-table {
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.result-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.result-detail-row:last-child {
  border-bottom: none;
}
.result-detail-label {
  font-size: 12px;
  color: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.result-detail-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.result-detail-value-price {
  color: var(--brand);
  font-size: 1.1rem;
}

/* ══════════════════════════════════════════════════════════════════
   REDEEM CTA
   ══════════════════════════════════════════════════════════════════ */
.redeem-cta {
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08) 0%, var(--bg-2) 100%);
  border-top: 1px solid rgba(var(--brand-rgb), 0.15);
  padding: 3rem 1.5rem;
}
.redeem-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.redeem-cta-inner h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
}
.redeem-cta-inner p {
  color: var(--text-s);
  font-size: 14px;
  margin-top: 0.35rem;
}

/* ══════════════════════════════════════════════════════════════════
   PAGINACIÓN
   ══════════════════════════════════════════════════════════════════ */
.paginacion {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--text-s);
  transition: all var(--t);
  cursor: pointer;
  text-decoration: none;
}
.pag-btn:hover {
  color: var(--text);
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
}
.pag-activa {
  background: var(--brand) !important;
  color: #111116 !important;
  border-color: var(--brand) !important;
}

/* ══════════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-s);
}
.empty-icon {
  margin: 0 auto 1.25rem;
}
.empty-state h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-transform: uppercase;
}
.empty-state p {
  font-size: 14.5px;
  margin-bottom: 1.5rem;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════════
   ERRORES
   ══════════════════════════════════════════════════════════════════ */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 2rem 1.25rem;
  text-align: center;
}
.error-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), #ffc72e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.error-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.error-desc {
  font-size: 15px;
  color: var(--text-s);
  margin-bottom: 2rem;
  max-width: 400px;
}
.error-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   SPINNERS
   ══════════════════════════════════════════════════════════════════ */
.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid var(--border-s);
  border-top-color: var(--brand);
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.spinner-grande {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--border-s);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.estado-procesando {
  text-align: center;
  padding: 1rem 0;
}
.estado-procesando h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.estado-procesando p {
  font-size: 13.5px;
  color: var(--text-s);
}

/* ══════════════════════════════════════════════════════════════════
   MISC
   ══════════════════════════════════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-s);
  transition: color var(--t);
}
.back-link:hover {
  color: var(--brand);
}
.sep {
  color: var(--text-xs);
  opacity: 0.5;
}
.icon,
.icon svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-brand {
  color: var(--brand);
}
.icon-muted {
  color: var(--text-xs);
}
.icon-green {
  color: var(--green);
}
.icon-red {
  color: var(--red);
}
.icon-amber {
  color: var(--amber);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cart-layout,
  .checkout-layout,
  .checkout-v3-layout {
    grid-template-columns: 1fr;
  }
  .cat-layout {
    grid-template-columns: 1fr;
  }
  .cat-resumen-col,
  .checkout-v3-sidebar {
    position: static;
  }
  .cart-summary-card,
  .summary-card {
    position: static;
  }
  .prod-detail-layout {
    grid-template-columns: 1fr;
  }
  .perfil-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-search {
    display: none;
  }
  .nav-user > span {
    display: none;
  }
  .btn-login,
  .btn-registro {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-inner {
    height: 64px;
  }

  .hero {
    padding: 3rem 1.25rem 2.5rem;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
  }
  .hero-search {
    flex-direction: column;
  }
  .hero-search .btn {
    width: 100%;
  }

  .cat-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .prod-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .cat-hero-titulo {
    font-size: 1.5rem;
  }
  .cat-main {
    padding-top: 1.25rem;
  }

  .cart-item {
    grid-template-columns: 68px 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0.5rem;
  }
  .cart-item-img {
    width: 68px;
    height: 68px;
  }
  .cart-item-info {
    grid-column: 2;
  }
  .cart-item-qty {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    justify-content: flex-start;
  }
  .cart-item-precio {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }
  .btn-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .checkout-actions,
  .checkout-v3-actions {
    flex-direction: column;
  }
  .checkout-v3-header {
    flex-direction: column;
  }
  .checkout-v3-steps {
    align-self: flex-start;
  }

  .cuenta-grid {
    grid-template-columns: 1fr;
  }
  .perfil-layout {
    grid-template-columns: 1fr;
  }
  .perfil-sidebar {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-payments {
    flex-direction: column;
    text-align: center;
  }
  .redeem-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .recargar-tabs {
    flex-direction: column;
  }
  .variantes-grid {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  }
  .auth-card,
  .redeem-card,
  .result-page-card {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container-sm,
  .container-md {
    padding: 1.25rem 1rem;
  }
  .nav-inner {
    padding: 0 1rem;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-grid {
    grid-template-columns: 1fr;
  }
  .variantes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cart-item {
    grid-template-columns: 56px 1fr auto;
  }
  .cart-item-img {
    width: 56px;
    height: 56px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .checkout-v3-steps {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
