﻿@import url('https://fonts.googleapis.com/css2?family=Anton&family=JetBrains+Mono:wght@500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Visaje Shop · estilos de la web (mismo estilo que la tienda del juego)
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-2: #080b14;
  --panel: #0b0f1a;
  --panel-2: #111829;
  --panel-3: #18213a;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #eef2ff;
  --muted: #8b98b8;
  --blue: #1e6bff;
  --blue-2: #4c93ff;
  --blue-glow: rgba(30, 107, 255, 0.45);
  --yellow: #fcd116;
  --red: #ce1126;
  --green: #22c55e;
  --diamond: #38bdf8;
  --radius: 18px;
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(30, 107, 255, 0.18), transparent 70%),
    radial-gradient(700px 400px at -10% 30%, rgba(252, 209, 22, 0.06), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
::selection { background: var(--blue); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
main { flex: 1; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(5, 7, 13, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.flag { display: flex; height: 4px; }
.flag span:nth-child(1) { flex: 2; background: var(--yellow); }
.flag span:nth-child(2) { flex: 1; background: #003893; }
.flag span:nth-child(3) { flex: 1; background: var(--red); }
.header-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 4px 14px rgba(30, 107, 255, 0.4)); transition: transform 0.2s; }
.logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: #fff; background: var(--panel-2); }
.nav a[aria-current="page"] { color: #fff; background: rgba(30, 107, 255, 0.2); box-shadow: inset 0 -2px 0 var(--blue); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.currency { display: flex; padding: 3px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.currency button { padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.currency button[aria-pressed="true"] { background: var(--yellow); color: #111; }
.mobile-nav { display: none; gap: 6px; padding: 0 0 12px; overflow-x: auto; }
.mobile-nav a { flex: 1; text-align: center; padding: 9px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 700; background: var(--panel); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.mobile-nav a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.01em; transition: transform 0.12s, filter 0.15s, background 0.15s, border-color 0.15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 10px 26px -12px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn.primary:hover { filter: brightness(1.12); }
.btn.gold { background: linear-gradient(180deg, #ffe066, var(--yellow)); color: #111; box-shadow: 0 10px 26px -12px rgba(252, 209, 22, 0.7); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--panel-2); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--blue-2); }
.btn.danger { background: rgba(206, 17, 38, 0.18); border: 1px solid rgba(206, 17, 38, 0.5); color: #fca5a5; }
.btn.discord { background: #5865f2; color: #fff; }
.btn.sm { padding: 8px 12px; font-size: 12.5px; border-radius: 10px; }
.btn.block { width: 100%; }

/* ---------- Tipografía ---------- */
.kicker {
  display: inline-block; padding: 5px 11px; border-radius: 7px; transform: rotate(-1.5deg);
  background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}
.kicker.yellow { background: var(--yellow); color: #111; }
.kicker.red { background: var(--red); }
.kicker.purple { background: #7c3aed; }
.display { font-family: var(--display); text-transform: uppercase; line-height: 0.98; letter-spacing: 0.01em; }
.h1 { font-size: clamp(42px, 7vw, 84px); }
.h2 { font-size: clamp(32px, 4.5vw, 52px); }
.h3 { font-size: 26px; }
.accent { color: var(--blue-2); text-shadow: 0 0 30px var(--blue-glow); }
.gold-text { color: var(--yellow); text-shadow: 0 0 30px rgba(252, 209, 22, 0.35); }
.lead { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-family: var(--mono); }

.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h2 { margin-top: 12px; }
.drip { display: block; width: 100%; height: 34px; color: var(--blue); opacity: 0.55; }

/* ---------- Portada ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero-logo { width: min(560px, 100%); filter: drop-shadow(0 20px 50px rgba(30, 107, 255, 0.45)); animation: float 6s ease-in-out infinite; }
.hero-coin { position: absolute; width: 130px; right: 6%; bottom: 4%; filter: drop-shadow(0 18px 30px rgba(252, 209, 22, 0.35)); animation: float 4.5s ease-in-out infinite reverse; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-visual::before {
  content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.35), transparent 65%); filter: blur(10px);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ip-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 13px;
}
.ip-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.ip-chip span:last-child { font-family: var(--body); font-weight: 800; font-size: 11px; color: var(--yellow); }

.ticker { border-block: 1px solid var(--line); background: rgba(11, 15, 26, 0.8); overflow: hidden; }
.ticker-track { display: flex; gap: 40px; padding: 12px 0; width: max-content; animation: marquee 40s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.ticker-item img { width: 22px; }
.ticker-item strong { color: #fff; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); min-width: 0;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.card.hover:hover { transform: translateY(-4px); border-color: rgba(76, 147, 255, 0.55); box-shadow: 0 20px 44px -22px var(--blue-glow); }
.card h3 { font-size: 18px; font-weight: 800; }
.card .desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.card .spacer { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--panel-3); color: var(--muted); align-self: flex-start; }
.badge.red { background: var(--red); color: #fff; }
.badge.yellow { background: rgba(252, 209, 22, 0.16); color: var(--yellow); }
.badge.blue { background: rgba(30, 107, 255, 0.2); color: var(--blue-2); }
.badge.green { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.big-link { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; padding: 28px; }
.big-link .art { width: 140px; display: grid; place-items: center; }
.big-link .art svg { width: 140px; height: auto; }
.big-link.vip { background: linear-gradient(160deg, rgba(252, 209, 22, 0.14), var(--panel) 55%); border-color: rgba(252, 209, 22, 0.45); }

/* paquetes */
.pack .art { display: grid; place-items: center; padding: 8px 0; transition: transform 0.2s; }
.pack:hover .art { transform: scale(1.06) rotate(-2deg); }
.pack .amount { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--yellow); text-align: center; }
.pack .amount span { font-size: 18px; color: #fff; margin-left: 6px; }
.pack.featured { border-color: var(--red); background: linear-gradient(180deg, rgba(206, 17, 38, 0.2), var(--panel) 60%); box-shadow: 0 0 0 1px rgba(252, 209, 22, 0.35), 0 24px 50px -26px rgba(206, 17, 38, 0.6); }
.price-btn { flex-direction: column; gap: 2px; padding: 12px; }
.price-btn small { font-size: 11px; font-weight: 600; opacity: 0.8; }
.cashback-hint { font-size: 12px; color: #4ade80; text-align: center; font-weight: 700; }

/* VIP */
.vip.silver { border-color: rgba(203, 213, 225, 0.35); }
.vip.golden { border-color: rgba(252, 209, 22, 0.65); background: linear-gradient(180deg, rgba(252, 209, 22, 0.15), var(--panel) 50%); box-shadow: 0 24px 50px -26px rgba(252, 209, 22, 0.5); }
.vip.diamond { border-color: rgba(56, 189, 248, 0.65); background: linear-gradient(180deg, rgba(56, 189, 248, 0.15), var(--panel) 50%); box-shadow: 0 24px 50px -26px rgba(56, 189, 248, 0.5); }
.vip .name { font-family: var(--display); font-size: 38px; letter-spacing: 0.03em; }
.vip .price { font-size: 32px; font-weight: 800; }
.vip .price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.perks { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.perks li { display: flex; gap: 10px; line-height: 1.4; }
.perks li::before { content: '✔'; color: var(--blue-2); font-weight: 800; }
.vip.golden .perks li::before { color: var(--yellow); }
.vip.diamond .perks li::before { color: var(--diamond); }

/* cashback */
.tiers { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.tier { position: relative; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.tier::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.tier::after { content: ''; position: absolute; width: 140px; height: 140px; right: -40px; top: -40px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
.tier .t-name { font-family: var(--display); font-size: 28px; text-transform: uppercase; color: var(--c); }
.tier .t-pct { font-size: 40px; font-weight: 800; line-height: 1; margin: 8px 0; }
.tier.current { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 20px 40px -24px var(--c); }
.progress { height: 16px; border-radius: 999px; background: var(--panel-3); overflow: hidden; border: 1px solid var(--line); }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--yellow)); box-shadow: 0 0 20px var(--blue-glow); transition: width 0.8s ease; }

.steps { counter-reset: step; }
.step { padding-top: 26px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 22px; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; font-family: var(--display); font-size: 22px; background: var(--blue); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}
.step:nth-child(2)::before { background: var(--yellow); color: #111; }
.step:nth-child(3)::before { background: var(--red); }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 700; color: #cbd5e1; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; background: #070a12; border: 1px solid var(--line-strong); outline: none; font-size: 14px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 107, 255, 0.25); }
input[aria-invalid="true"] { border-color: #ef4444; }
.hint { font-size: 12px; color: var(--muted); }
.error { font-size: 12.5px; color: #f87171; font-weight: 600; }
.ok-text { font-size: 12.5px; color: #4ade80; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.check input { width: auto; }

/* ---------- Modal y avisos ---------- */
.modal-back { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); animation: fade-in 0.15s; }
.modal { width: min(480px, 100%); max-height: 92vh; overflow-y: auto; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); animation: pop-in 0.2s; }
.modal-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.modal-close { width: 38px; height: 38px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.summary { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: #070a12; border: 1px solid var(--line); }
.summary .art svg { width: 70px; height: auto; }
.toast { position: fixed; left: 16px; right: 16px; bottom: 18px; z-index: 70; margin-inline: auto; width: fit-content; max-width: 460px; padding: 12px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--yellow); font-size: 14px; font-weight: 600; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); animation: pop-in 0.2s; }
.notice { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--panel); font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.notice.warn { border-color: rgba(252, 209, 22, 0.5); color: #fde68a; background: rgba(252, 209, 22, 0.07); }
.notice.bad { border-color: rgba(206, 17, 38, 0.6); color: #fecaca; background: rgba(206, 17, 38, 0.1); }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; min-height: 320px; }

/* tablas admin */
.list { display: flex; flex-direction: column; gap: 8px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); flex-wrap: wrap; }
.list-row .grow { flex: 1; min-width: 180px; }
.list-row .grow strong { display: block; font-size: 14px; }
.list-row .grow span { font-size: 12.5px; color: var(--muted); }
.status { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 7px; text-transform: uppercase; }
.status.delivered { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.status.pending, .status.paid, .status.delivering { background: rgba(252, 209, 22, 0.16); color: var(--yellow); }
.status.expired { background: var(--panel-3); color: var(--muted); }
.status.failed { background: rgba(206, 17, 38, 0.2); color: #f87171; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tab { padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); }
.tab[aria-selected="true"] { color: #fff; background: rgba(124, 58, 237, 0.22); border-color: rgba(167, 139, 250, 0.55); }

/* ---------- Pie ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: #04060a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding: 44px 0 28px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 12px; }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid a { display: block; padding: 4px 0; color: #cbd5e1; font-size: 14px; }
.footer-grid a:hover { color: var(--yellow); }
.legal { padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 12px; color: #64748b; line-height: 1.6; }

@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1020px) {
  .nav { display: none; }
  .mobile-nav { display: flex; }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 220px; }
  .tiers { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid.c2, .grid.c3, .grid.c4, .form-grid, .tiers, .footer-grid { grid-template-columns: 1fr; }
  .big-link { grid-template-columns: 1fr; text-align: center; }
  .big-link .art { margin-inline: auto; }
  .section { padding: 52px 0; }
  .header-row { height: 64px; }
  .logo img { height: 42px; }
  .currency { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* tamaños de las ilustraciones SVG (artwork.js) */
.w-32.h-24 { width: 150px; height: 112px; }
.w-14.h-11 { width: 72px; height: 54px; }
.w-16.h-16 { width: 64px; height: 64px; }
.w-24.h-24 { width: 120px; height: 120px; }
.w-9.h-9 { width: 40px; height: 40px; }

.kicker { align-self: flex-start; }

/* sesión y moneda */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.currency-select select { width: auto; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 700; background: var(--panel); }
.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-strong); font-weight: 700; font-size: 13px; max-width: 180px; }
.account-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chip:hover { border-color: #5865f2; }
.avatar-fallback { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #5865f2; font-weight: 800; }
.btn.discord svg { flex-shrink: 0; }
.welcome { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(34, 197, 94, 0.45); background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.04)); font-size: 14px; }
.welcome strong { color: #4ade80; }
.save-tag { display: inline-flex; padding: 4px 9px; border-radius: 8px; font-size: 11px; font-weight: 800; background: #16a34a; color: #fff; transform: rotate(2deg); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); }
.old-price { text-decoration: line-through; opacity: 0.65; font-weight: 600; }
.avatar-big { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #5865f2; }
@media (max-width: 640px) { .currency-select select { max-width: 92px; } }

/* ---------- Carrito ---------- */
.cart-btn { position: relative; width: 42px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line-strong); }
.cart-btn:hover { border-color: var(--yellow); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #f97316; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.cart-back { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); display: flex; justify-content: flex-end; animation: fade-in 0.15s; }
.cart { width: min(460px, 100%); height: 100%; background: var(--panel); border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; animation: slide-in 0.22s ease-out; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.cart-progress { padding: 14px; border-radius: 14px; background: linear-gradient(180deg, #161d2e, #0f1422); border: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.cart-progress .orange { color: #fb923c; }
.cart-progress .bar { position: relative; height: 10px; border-radius: 999px; background: #1f2840; overflow: hidden; }
.cart-progress .bar > span:first-child { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f97316, #fb923c, var(--yellow)); transition: width 0.4s; }
.cart-progress .mark { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(148, 163, 184, 0.35); transform: translateX(-1px); }
.pill-off { padding: 4px 10px; border-radius: 999px; background: linear-gradient(90deg, #f97316, #ef4444); color: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.green { color: #4ade80; }
.tier-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; }
.tier-chip { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border-radius: 10px; background: #0b1020; border: 1px solid var(--line); }
.tier-chip small { font-size: 10.5px; color: var(--muted); }
.tier-chip strong { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #3b2416; color: #fb923c; }
.tier-chip.on { border-color: #f97316; }
.tier-chip.on strong { background: #f97316; color: #fff; }
.cart-lines { display: flex; flex-direction: column; gap: 8px; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #070a12; border: 1px solid var(--line); }
.cart-line .art svg { width: 54px; height: 42px; }
.cart-line .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-strong); font-weight: 800; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.remove { width: 28px; height: 28px; border-radius: 8px; color: var(--muted); }
.remove:hover { color: #f87171; background: rgba(206, 17, 38, 0.15); }
.cart-total { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; border-top: 1px dashed var(--line-strong); }
.cart-total .row { font-size: 14px; }
.cart-total .total { font-size: 20px; font-weight: 800; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.currency-tag { padding: 8px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 800; background: var(--panel); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.legal { font-size: 10.5px; color: #4b5568; opacity: 0.8; line-height: 1.55; }

/* botones de pasarela */
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.btn.paypal { background: #ffc439; color: #111; box-shadow: 0 10px 26px -12px rgba(255, 196, 57, 0.7); }
.btn.paypal strong { color: #003087; }
.btn.paypal:hover { filter: brightness(1.05); }
.btn.nequi { background: linear-gradient(90deg, #200020, #da0081); color: #fff; box-shadow: 0 10px 26px -12px rgba(218, 0, 129, 0.7); }
.btn.nequi:hover { filter: brightness(1.12); }
