/* ───────────── Unbound RP · Tienda VIP ───────────── */
@font-face { font-family: 'Unbounded'; src: url('/fonts/Unbounded.ttf') format('truetype'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/Sora.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }

:root {
    --bg: #07080d;
    --bg-2: #0d0e15;
    --card: #11121b;
    --card-2: #171826;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #eceef6;
    --muted: #8d93a8;
    --faint: #565c72;
    --accent: #7c6cff;
    --accent-2: #a99cff;
    --pink: #ff4fb1;
    --ok: #3ddc97;
    --warn: #ffb547;
    --danger: #ff5a6e;
    --display: 'Unbounded', system-ui, sans-serif;
    --ui: 'Sora', system-ui, sans-serif;
    --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 15px/1.55 var(--ui); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
main { flex: 1; }
.wrap { width: min(1220px, 100% - 40px); margin: 0 auto; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #262839; border-radius: 10px; border: 2px solid var(--bg); }

/* ───────── Navegación ───────── */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 max(20px, calc((100% - 1220px) / 2)); background: rgba(7, 8, 13, .78); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 20px rgba(124, 108, 255, .45); }
.brand span { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 19px; letter-spacing: -.01em; }
.brand i { color: var(--accent); margin-left: 5px; }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; transition: .15s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.links a.on { color: #fff; background: rgba(124, 108, 255, .16); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.cart-btn:hover { border-color: var(--accent); }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); }
.user { display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.user img { width: 34px; height: 34px; border-radius: 9px; }
.user b { font-size: 13px; display: block; line-height: 1.2; }
.user a { font-size: 11px; color: var(--muted); }
.user a:hover { color: var(--danger); }
.announce { padding: 10px 20px; text-align: center; font-size: 14px; font-weight: 600; background: linear-gradient(90deg, var(--accent), var(--pink)); }

/* ───────── Botones y formularios ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; transition: transform .15s, box-shadow .2s, background .2s, filter .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, #8f80ff, #6450f2); color: #fff; box-shadow: 0 10px 30px rgba(124, 108, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.primary:hover { filter: brightness(1.1); box-shadow: 0 14px 40px rgba(124, 108, 255, .55); }
.btn.discord { background: #5865f2; color: #fff; box-shadow: 0 10px 30px rgba(88, 101, 242, .35); }
.btn.discord:hover { filter: brightness(1.1); }
.btn.ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.danger { background: rgba(255, 90, 110, .14); color: var(--danger); border: 1px solid rgba(255, 90, 110, .35); }
.btn.danger:hover { background: var(--danger); color: #fff; }
.btn.ok { background: rgba(61, 220, 151, .14); color: var(--ok); border: 1px solid rgba(61, 220, 151, .35); }
.btn.sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 11px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; pointer-events: none; }
.input, .select, .textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124, 108, 255, .15); }
.select option { background: var(--bg-2); }
.label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.1; margin-top: 12px; }
.h2 i { color: var(--accent); }
.section { padding: 80px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }

/* ───────── Portada ───────── */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url('/img/hero.jpg') center 35% / cover no-repeat; transform: scale(1.04); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translateX(-1.5%); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 13, .96) 0%, rgba(7, 8, 13, .82) 36%, rgba(7, 8, 13, .25) 70%, rgba(7, 8, 13, .55)), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-in { padding: 80px 0 110px; max-width: 620px; }
.hero h1 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(46px, 7vw, 92px); line-height: .9; letter-spacing: -.035em; margin: 18px 0 20px; }
.hero h1 span { display: block; background: linear-gradient(100deg, #fff 10%, var(--accent-2) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: #c9cbd8; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; }
.hero-stats span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -60px; position: relative; z-index: 2; }
.step { padding: 26px; border-radius: var(--r); background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.step .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px; background: rgba(124, 108, 255, .15); color: var(--accent-2); font-family: var(--display); font-weight: 800; }
.step h3 { font-family: var(--display); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ───────── Productos ───────── */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cat { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); transition: .15s; }
.cat:hover { color: var(--text); border-color: var(--line-2); }
.cat.on { color: #fff; background: rgba(124, 108, 255, .18); border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.prod { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .25s; }
.prod:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c, var(--accent)) 60%, transparent); box-shadow: 0 20px 50px -18px color-mix(in srgb, var(--c, var(--accent)) 70%, transparent); }
.prod .pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--c, var(--accent)) 55%, transparent), transparent 70%), linear-gradient(160deg, #1a1b29, #0d0e15); }
.prod .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod:hover .pic img { transform: scale(1.06); }
.prod .pic .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; }
.prod .tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 8px; background: var(--c, var(--accent)); font-family: var(--display); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.prod .body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.prod h3 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.prod p { font-size: 13.5px; color: var(--muted); flex: 1; }
.prod .foot2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-family: var(--display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.prod .price s { display: block; margin: 2px 0 0; }
.price s { font-size: 13px; color: var(--faint); margin-left: 6px; font-weight: 600; }
.delivers { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; background: rgba(255, 255, 255, .06); font-size: 11.5px; font-weight: 600; color: #c4c7d6; }
.chip.ok { background: rgba(61, 220, 151, .14); color: var(--ok); }
.chip.warn { background: rgba(255, 181, 71, .14); color: var(--warn); }
.chip.bad { background: rgba(255, 90, 110, .14); color: var(--danger); }
.chip.acc { background: rgba(124, 108, 255, .18); color: var(--accent-2); }

/* Ficha de producto */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 50px 0; }
.detail .pic { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; background: radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%), linear-gradient(160deg, #1a1b29, #0d0e15); border: 1px solid var(--line); display: grid; place-items: center; font-size: 90px; }
.detail .pic img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 900; font-style: italic; letter-spacing: -.03em; line-height: 1; margin: 10px 0 14px; }
.perks { list-style: none; display: grid; gap: 9px; margin: 22px 0; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.perks li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: var(--c, var(--accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.qty { display: inline-flex; align-items: center; height: 48px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); }
.qty button { width: 44px; height: 100%; font-size: 20px; color: var(--muted); }
.qty button:hover { color: #fff; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }
.desc { color: #c4c7d6; white-space: pre-line; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 30px; }
.back:hover { color: #fff; }

/* Carrito */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 26px; padding: 50px 0; align-items: start; }
.panel { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 22px; }
.line { display: grid; grid-template-columns: 76px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 76px; height: 56px; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #1d1e2e, #101119); display: grid; place-items: center; font-size: 26px; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line b { font-family: var(--display); font-size: 15px; }
.line .rm { color: var(--faint); }
.line .rm:hover { color: var(--danger); }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted); }
.sum-row.total { color: #fff; font-family: var(--display); font-size: 22px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.pay { display: grid; gap: 10px; margin-top: 18px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); cursor: pointer; transition: .15s; }
.pay-opt:hover { border-color: var(--accent); }
.pay-opt.on { border-color: var(--accent); background: rgba(124, 108, 255, .1); box-shadow: 0 0 0 4px rgba(124, 108, 255, .12); }
.pay-opt b { display: block; font-size: 14px; }
.pay-opt small { font-size: 12px; color: var(--muted); }
.pay-opt .logo { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 8px; background: #fff; color: #111; font-weight: 800; font-size: 12px; }
.pay-opt .logo.pp { background: #ffc439; color: #003087; font-style: italic; }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.secure svg { width: 15px; height: 15px; color: var(--ok); }

/* Cuenta y pedidos */
.account { padding: 50px 0; }
.profile { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 22px; background: linear-gradient(120deg, rgba(124, 108, 255, .25), rgba(255, 79, 177, .08) 60%, transparent), var(--card); border: 1px solid var(--line); margin-bottom: 26px; }
.profile img { width: 74px; height: 74px; border-radius: 18px; }
.profile h2 { font-family: var(--display); font-size: 24px; }
.order { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 12px; }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.order-head b { font-family: var(--display); font-size: 15px; }
.order-items { margin-top: 10px; display: grid; gap: 6px; }
.order-items div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #c4c7d6; }
.thanks { max-width: 620px; margin: 70px auto; text-align: center; }
.thanks .big { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; background: rgba(61, 220, 151, .15); color: var(--ok); }
.thanks .big svg { width: 48px; height: 48px; stroke-width: 2.2; }
.thanks .big.wait { background: rgba(124, 108, 255, .15); color: var(--accent-2); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty b { display: block; font-family: var(--display); font-size: 20px; color: var(--text); margin-bottom: 6px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: var(--muted); }

/* ───────── Administración ───────── */
.admin { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 34px 0 60px; }
.aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; }
.aside button { display: flex; align-items: center; gap: 11px; height: 44px; padding: 0 14px; border-radius: 12px; color: var(--muted); font-weight: 600; text-align: left; }
.aside button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.aside button.on { background: rgba(124, 108, 255, .16); color: #fff; }
.aside .count { margin-left: auto; font-size: 11px; padding: 2px 7px; border-radius: 7px; background: var(--danger); color: #fff; }
.ahead { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.ahead h1 { font-family: var(--display); font-size: 26px; font-weight: 800; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.kpi span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kpi b { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; margin-top: 6px; }
.kpi.acc { background: linear-gradient(140deg, rgba(124, 108, 255, .35), rgba(124, 108, 255, .05)), var(--card); }
.chart { display: flex; align-items: flex-end; gap: 5px; height: 160px; margin-top: 14px; }
.chart div { flex: 1; min-height: 3px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); opacity: .85; position: relative; }
.chart div:hover { opacity: 1; }
.chart div:hover::after { content: attr(data-t); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: #000; font-size: 11px; }
.two { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-top: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 10px 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: rgba(255, 255, 255, .025); }
.tbl .mini { display: flex; align-items: center; gap: 10px; }
.tbl .mini img, .tbl .mini .ph { width: 46px; height: 34px; border-radius: 8px; object-fit: cover; background: #1a1b29; display: grid; place-items: center; }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.uploader { display: flex; gap: 14px; align-items: center; }
.uploader .prev { width: 160px; height: 100px; border-radius: 12px; overflow: hidden; background: #1a1b29; display: grid; place-items: center; color: var(--faint); font-size: 12px; border: 1px dashed var(--line-2); }
.uploader .prev img { width: 100%; height: 100%; object-fit: cover; }
.actions-list { display: grid; gap: 10px; }
.action { display: grid; grid-template-columns: 170px 1fr 1fr 40px; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.action .rm { color: var(--faint); display: grid; place-items: center; }
.action .rm:hover { color: var(--danger); }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.toggle input { position: absolute; opacity: 0; }
.toggle i { width: 42px; height: 24px; border-radius: 12px; background: #2a2c3d; position: relative; transition: .15s; }
.toggle i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .15s; }
.toggle input:checked + i { background: var(--accent); }
.toggle input:checked + i::after { transform: translateX(18px); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--faint); }
.status-dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.cat-row { display: grid; grid-template-columns: 46px 1fr 40px; gap: 10px; margin-bottom: 10px; align-items: center; }

/* ───────── Iconos Unbound ───────── */
.ico { --s: 26px; display: inline-grid; place-items: center; flex-shrink: 0; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .32); color: var(--ic, var(--accent)); background: linear-gradient(145deg, color-mix(in srgb, var(--ic, var(--accent)) 26%, transparent), color-mix(in srgb, var(--ic, var(--accent)) 8%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic, var(--accent)) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, .12); }
.ico svg { width: 62%; height: 62%; stroke-width: 2; }
.ico .f { fill: currentColor; fill-opacity: .25; }
.ico.emo { font-size: calc(var(--s) * .6); background: rgba(255, 255, 255, .06); box-shadow: none; }
.ico.xs { --s: 18px; border-radius: 5px; }
.ico.xs svg { stroke-width: 2.4; }
.ico.md { --s: 40px; }
.ico.lg { --s: 52px; }
.ico.xl { --s: 92px; border-radius: 28px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 45%, transparent), 0 18px 50px -10px color-mix(in srgb, var(--ic) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .18); }
.ico.xl svg { stroke-width: 1.6; }
.ico.xxl { --s: 150px; border-radius: 42px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 45%, transparent), 0 30px 80px -14px color-mix(in srgb, var(--ic) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .18); }
.ico.xxl svg { stroke-width: 1.4; }
.cat { gap: 10px; padding: 0 16px 0 8px; }
.cat.on .ico { background: var(--ic); color: #fff; box-shadow: 0 0 18px color-mix(in srgb, var(--ic) 80%, transparent); }
.chip { gap: 6px; padding-left: 4px; }
.aside button .ico { --s: 30px; }
.aside button.on .ico { background: var(--ic); color: #fff; }
.line .thumb .ico, .tbl .mini .ico { --s: 40px; }
.tbl .mini > .ico { width: 46px; height: 34px; }
.icon-pick { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .2s; }
.icon-pick:hover { border-color: var(--accent); }
.icon-pick .ico { --s: 32px; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.icon-grid button { display: grid; place-items: center; height: 76px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s, transform .25s; }
.icon-grid button:hover { border-color: var(--accent); transform: translateY(-3px); }
.icon-grid button.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 108, 255, .25); }

/* Modal y avisos */
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); }
.modal.show { display: grid; }
.sheet { width: min(860px, 100%); max-height: 90vh; overflow-y: auto; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line-2); padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sheet h2 { font-family: var(--display); font-size: 22px; margin-bottom: 18px; }
.sheet .foot3 { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; padding: 14px 20px; border-radius: 14px; background: #161724; border: 1px solid var(--accent); font-weight: 600; transition: .25s; pointer-events: none; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: var(--danger); }
.toast.ok { border-color: var(--ok); }

/* Pie */
.foot { margin-top: 90px; border-top: 1px solid var(--line); background: #05060a; }
.foot-in { width: min(1220px, 100% - 40px); margin: 0 auto; padding: 36px 0 20px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-in p { margin-top: 10px; font-size: 14px; }
.foot-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: #fff; }
.legal { width: min(1220px, 100% - 40px); margin: 0 auto; padding: 0 0 30px; font-size: 12px; color: var(--faint); }

/* Móvil */
@media (max-width: 900px) {
    .nav { flex-wrap: wrap; row-gap: 6px; padding-top: 10px; padding-bottom: 8px; height: auto; }
    .links { order: 3; width: 100%; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0; }
    .links a { white-space: nowrap; }
    .hero-stats { gap: 22px; flex-wrap: wrap; }
    .hero-stats b { font-size: 20px; }
    .steps, .kpis, .two, .detail, .cart, .admin { grid-template-columns: 1fr; }
    .steps { margin-top: 20px; }
    .aside { position: static; display: flex; overflow-x: auto; }
    .aside button { white-space: nowrap; }
    .action { grid-template-columns: 1fr 1fr; }
    .hero { min-height: 560px; }
    .form { grid-template-columns: 1fr; }
    .line { grid-template-columns: 60px 1fr auto; }
    .line .qty { grid-column: 2 / 4; justify-self: start; }
    .user b, .user a { display: none; }
}
@media (max-width: 560px) {
    .brand span { display: none; }
    #user-slot .btn.discord { font-size: 0; gap: 0; padding: 0 14px; }
    #user-slot .btn.discord svg { margin: 0; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .profile { flex-wrap: wrap; }
    .profile .btn { margin-left: 0 !important; width: 100%; justify-content: center; }
}
