/* ===== Tokens ===== */
:root {
  --bg: #0a0a0c;
  --surface: #131318;
  --surface-2: #1b1b23;
  --line: #2a2a35;
  --text: #f6f4ff;
  --muted: #b3b0c4;
  --purple: #7c3aed;
  --purple-hi: #a855f7;
  --lilac: #d8c8ff;
  --wa: #25d366;
  --danger: #ff6b81;

  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Epilogue", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --z-header: 40;
  --z-catalog: 60;
  --z-modal: 80;
  --z-drawer: 90;
  --z-toast: 100;
  --z-pre: 200;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading, body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple-hi); outline-offset: 3px; border-radius: 4px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); padding: 8px 14px; z-index: 300; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--purple-hi); margin-bottom: 12px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-light { background: #fff; color: #0a0a0c; }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 8px 30px -8px rgba(124, 58, 237, .8); }
.btn-purple:hover { background: var(--purple-hi); }
.btn-ghost { border: 1.5px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--purple-hi); background: rgba(124, 58, 237, .14); }
.btn-wa { background: var(--wa); color: #06220f; width: 100%; }
.btn-wa:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link-btn { color: var(--muted); font-size: 14px; text-decoration: underline; min-height: 44px; width: 100%; }
.link-btn:hover { color: var(--text); }

.icon-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: border-color var(--t-fast), background var(--t-fast); }
.icon-btn:hover { border-color: var(--purple-hi); background: rgba(124, 58, 237, .14); }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--purple-hi); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; transition: transform var(--t-fast) var(--ease); }
.badge.bump { transform: scale(1.4); }

.mode-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.mode-toggle button { min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background var(--t-fast), color var(--t-fast); }
.mode-toggle button[aria-pressed="true"] { background: var(--purple); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background var(--t-med), backdrop-filter var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10, 10, 12, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.brand img { border-radius: 50%; }
.brand b { color: var(--purple-hi); font-weight: 400; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); font-size: 14px; font-weight: 600; }
.nav a { white-space: nowrap; position: relative; padding: 8px 0; color: var(--muted); transition: color var(--t-fast); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--purple-hi); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* ===== Hero ===== */
.hero { padding-top: calc(var(--header-h) + 24px); background:
  radial-gradient(900px 500px at 50% -10%, rgba(124, 58, 237, .38), transparent 70%), var(--bg); }
.hero-head { text-align: center; width: min(900px, 100% - var(--gutter) * 2); margin: 0 auto 28px; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 9vw, 120px); line-height: .98; letter-spacing: .01em; text-transform: uppercase; }
.hero-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--purple-hi); }
.hero-sub { color: var(--muted); max-width: 56ch; margin: 18px auto 0; font-size: clamp(15px, 1.6vw, 18px); }

.split { position: relative; display: flex; gap: 6px; height: min(72vh, 680px); min-height: 480px; padding: 0 6px 6px; }
.panel { position: relative; flex: 1; overflow: hidden; border-radius: 20px; isolation: isolate; transition: flex var(--t-med) var(--ease); }
.panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), filter var(--t-med); filter: saturate(.9) brightness(.8); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -0; background: linear-gradient(to top, rgba(10, 10, 12, .92) 8%, rgba(10, 10, 12, .1) 60%); }
.panel-w::after { background: linear-gradient(to top, rgba(10, 10, 12, .92) 8%, rgba(124, 58, 237, .18) 70%); }
.panel-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.panel-tag { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(124, 58, 237, .85); }
.panel h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 9vw, 130px); line-height: .9; letter-spacing: .01em; }
.panel h2 span { color: var(--purple-hi); }
.panel p { color: var(--lilac); max-width: 34ch; }
.panel .btn { margin-top: 8px; }
.panel:hover { flex: 1.35; }
.panel:hover .panel-img { transform: scale(1.06); filter: saturate(1.05) brightness(.95); }
.split-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; border-radius: 50%; border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--purple), 0 10px 40px rgba(0, 0, 0, .6); pointer-events: none; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }

/* ===== Banda de promociones (izq → der) ===== */
.promos { padding: 22px 0; overflow: hidden; }
.promo-band { background: var(--purple); transform: rotate(-1deg) scale(1.03); box-shadow: 0 6px 30px -10px rgba(124, 58, 237, .6); overflow: hidden; }
.promo-track { display: flex; width: max-content; animation: slide-right 38s linear infinite; }
.promo-band:hover .promo-track { animation-play-state: paused; }
.promo-item { display: inline-flex; align-items: center; gap: 18px; padding: 8px 18px; font-family: var(--font-body); font-weight: 600; font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.promo-item i { width: 5px; height: 5px; background: rgba(255, 255, 255, .8); transform: rotate(45deg); flex: none; }
.promo-item b { font-weight: 800; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@keyframes slide-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ===== Por qué ===== */
.why { padding: clamp(64px, 10vw, 130px) 0; }
.why-title, .sec-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7vw, 92px); line-height: 1; text-transform: uppercase; }
.why-title em, .sec-title em { font-style: normal; color: var(--purple-hi); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 48px; }
.why-card { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform var(--t-med) var(--ease), border-color var(--t-med), background var(--t-med); }
.why-card:hover { transform: translateY(-6px); border-color: var(--purple); background: var(--surface-2); }
.why-card .ico { width: 40px; height: 40px; color: var(--purple-hi); margin-bottom: 18px; }
.why-card h3 { font-size: 20px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--purple-hi); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }

/* ===== Secciones ===== */
.featured { padding: 0 0 clamp(64px, 10vw, 130px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Grid de productos ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-align: left; transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med); }
.card:hover { transform: translateY(-6px); border-color: var(--purple); box-shadow: 0 20px 50px -20px rgba(124, 58, 237, .6); }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(135deg, var(--surface-2), #241638); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover .card-img img { transform: scale(1.07); }
.card-img.noimg::after { content: "DC"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 64px; color: var(--purple); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: #0a0a0c; letter-spacing: .04em; text-transform: uppercase; }
.tag.hot { background: var(--purple-hi); color: #fff; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-meta { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-hi); }
.card-name { font-size: 18px; font-weight: 700; line-height: 1.25; }
.card-desc { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.price s { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.card-add { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--purple); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: background var(--t-fast); }
.card:hover .card-add { background: var(--purple-hi); }
.card-add .ico { width: 18px; height: 18px; }

/* ===== Mayoristas ===== */
.wholesale { padding: clamp(64px, 10vw, 120px) 0; background: linear-gradient(160deg, #1a0f33, var(--bg) 70%); border-block: 1px solid var(--line); }
.wholesale-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.wholesale-copy > p { color: var(--muted); margin: 20px 0; max-width: 52ch; }
.steps { display: grid; gap: 12px; margin-bottom: 28px; }
.steps li { display: flex; align-items: center; gap: 14px; color: var(--text); }
.steps b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); font-weight: 800; flex: none; }
.steps em { font-style: normal; color: var(--purple-hi); font-weight: 700; }
.wholesale-img { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; box-shadow: 0 30px 80px -30px rgba(124, 58, 237, .6); }
.wholesale-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Footer ===== */
.footer { padding: 72px 0 24px; background: #050507; border-top: 3px solid var(--purple); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand img { border-radius: 50%; margin-bottom: 16px; }
.foot-brand p { color: var(--muted); max-width: 36ch; }
.footer h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: .06em; margin-bottom: 16px; color: var(--purple-hi); }
.footer li { margin-bottom: 4px; }
.footer li a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--muted); transition: color var(--t-fast); }
.footer li a:hover { color: var(--text); }
.social a:hover .ico { color: var(--purple-hi); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #06220f; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform var(--t-fast) var(--ease); }
.wa-float:hover { transform: scale(1.1); }
.wa-float .ico { width: 30px; height: 30px; }

/* ===== Catálogo ===== */
.catalog { position: fixed; inset: 0; z-index: var(--z-catalog); background: var(--bg); overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); transition: transform 500ms var(--ease); padding-bottom: 80px; }
.catalog.open { transform: none; }
.cat-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); background: rgba(10, 10, 12, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.cat-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.cat-tabs button { min-height: 44px; padding: 0 clamp(18px, 4vw, 38px); border-radius: 999px; font-family: var(--font-display); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: background var(--t-fast), color var(--t-fast); }
.cat-tabs button[aria-selected="true"] { background: var(--purple); color: #fff; }
.cat-hero { position: relative; padding: clamp(36px, 6vw, 72px) var(--gutter); text-align: center; background: radial-gradient(700px 300px at 50% 0, rgba(124, 58, 237, .4), transparent 70%); }
.cat-hero h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 14vw, 180px); line-height: .9; text-transform: uppercase; }
.cat-hero h2 span { color: transparent; -webkit-text-stroke: 2px var(--purple-hi); }
.cat-hero p:last-child { color: var(--muted); max-width: 52ch; margin: 14px auto 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: all var(--t-fast); }
.chip:hover { border-color: var(--purple-hi); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.mode-note { text-align: center; color: var(--lilac); font-size: 14px; margin-bottom: 28px; min-height: 22px; }
.grid.swap { animation: swap 450ms var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(18px); } }

/* ===== Modal producto ===== */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; }
.modal-backdrop, .drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); animation: fade var(--t-med) both; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(960px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; animation: pop 400ms var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(10, 10, 12, .7); }
.pm-img { background: var(--surface-2); min-height: 320px; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.pm-info h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; text-transform: uppercase; }
.pm-desc { color: var(--muted); }
.pm-price { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pm-price small { display: block; font-size: 13px; font-weight: 500; color: var(--lilac); }
.pm-sizes { border: 0; padding: 0; margin: 0; }
.pm-sizes legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.pm-sizes #pmSizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; transition: all var(--t-fast); }
.size:hover { border-color: var(--purple-hi); }
.size[aria-pressed="true"] { background: #fff; color: #0a0a0c; border-color: #fff; }
.pm-buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.pm-buy .btn { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 48px; height: 52px; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { color: var(--purple-hi); }
.qty output { min-width: 32px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.pm-error { color: var(--danger); font-size: 14px; min-height: 20px; }

/* ===== Carrito ===== */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line); animation: slide-in 420ms var(--ease) both; }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; }
.drawer-mode { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.drawer-mode p { font-size: 13px; color: var(--lilac); flex: 1; min-width: 160px; }
.cart-list { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 76px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.ci-name { font-weight: 700; line-height: 1.25; }
.ci-meta { font-size: 13px; color: var(--muted); }
.ci-price { font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.qty.sm button { width: 38px; height: 38px; }
.qty.sm { border-radius: 999px; }
.ci-del { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.ci-del:hover { color: var(--danger); }
.ci-del .ico { width: 18px; height: 18px; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); text-align: center; padding: 20px; }
.cart-empty .ico { width: 54px; height: 54px; color: var(--purple); }
.drawer-foot { padding: 12px 20px 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; background: var(--surface); }
.drawer-foot > :not(.field) { grid-column: 1 / -1; }
.drawer-foot .link-btn { min-height: 40px; }
.field { display: grid; gap: 4px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input { min-height: 44px; min-width: 0; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.field input:focus { outline: none; border-color: var(--purple-hi); box-shadow: 0 0 0 3px rgba(168, 85, 247, .3); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.total strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--text); font-variant-numeric: tabular-nums; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); transform: translate(-50%, 300%); opacity: 0; background: #fff; color: #0a0a0c; font-weight: 700; padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transition: transform 380ms var(--ease), opacity 200ms; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ===== Precarga ===== */
.preloader { position: fixed; inset: 0; z-index: var(--z-pre); display: grid; place-items: center; }
.pre-curtain { position: absolute; left: 0; right: 0; height: 50.5%; background: #050507; transition: transform 800ms cubic-bezier(.76, 0, .24, 1); }
.pre-top { top: 0; } .pre-bottom { bottom: 0; }
.pre-center { position: relative; display: grid; justify-items: center; gap: 14px; transition: opacity 300ms, transform 500ms var(--ease); }
.pre-logo { position: relative; width: 160px; height: 160px; display: grid; place-items: center; }
.pre-logo img { width: 120px; height: 120px; border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.94); } }
.pre-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pre-ring circle { fill: none; stroke-width: 3; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--purple-hi); stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 352; }
.pre-word { font-family: var(--font-display); font-size: 40px; letter-spacing: .12em; }
.pre-word span { color: var(--purple-hi); }
.pre-count { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .1em; }
.preloader.done .pre-top { transform: translateY(-101%); }
.preloader.done .pre-bottom { transform: translateY(101%); }
.preloader.done .pre-center { opacity: 0; transform: scale(1.15); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(10, 10, 12, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform var(--t-med) var(--ease); z-index: -1; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .modal-card { grid-template-columns: 1fr; }
  .pm-img { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 960px) {
  .wholesale-in, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header .mode-toggle { display: none; }
  .brand span { font-size: 19px; }
  .split { flex-direction: column; height: auto; min-height: 0; }
  .panel { flex: none; height: 62vw; min-height: 300px; }
  .panel:hover { flex: none; }
  .split-logo { width: 72px; height: 72px; }
  .cat-back span { display: none; }
  .cat-back { padding: 0; width: 46px; min-height: 46px; }
  .cat-bar { flex-wrap: wrap; }
  .cat-tabs { order: 3; width: 100%; }
  .cat-tabs button { flex: 1; }
  .cat-bar > .head-actions .mode-toggle button { padding: 0 12px; }
  .cat-tabs button { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-desc { display: none; }
  .card-add span { display: none; }
  .card-name { font-size: 15px; }
  .price { font-size: 16px; }
  .wa-float { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .promo-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
