/* Vou Entertainment · tienda · rojo neón
   Tipografía: Poppins (SIL Open Font License 1.1), alojada en /fonts. */
@font-face {
  font-family: 'Poppins';
  src: url(fonts/poppins-var.woff) format('woff');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --bg: #0b0507;
  --bg-1: #140910;
  --bg-2: #1c0d15;
  --bg-top: #0b0507;
  --ink: #ffffff;
  --ink-2: #cdb6bd;
  --ink-3: #9f858d;
  --line: rgba(255, 59, 92, .30);
  --line-2: rgba(255, 59, 92, .55);
  --acc: #ff2d55;
  --acc-text: #ff5b78;
  --acc-soft: rgba(255, 45, 85, .14);
  --grad: linear-gradient(135deg, #c8102e 0%, #e11d48 52%, #f0284f 100%);
  --glow: 0 0 26px rgba(255, 45, 85, .38);
  --ok: #5be28a;
  --ok-ink: #052e16;
  --bad: #ef4444;
  --warn: #ffb020;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --side-w: 288px;
  --top-h: 64px;
  --gut: 16px;
}
:root[data-theme="light"] {
  --bg: #fff5f6;
  --bg-1: #ffffff;
  --bg-2: #fff0f2;
  --bg-top: #fff5f6;
  --ink: #240b12;
  --ink-2: #6e4a54;
  --ink-3: #85626c;
  --line: rgba(200, 16, 46, .22);
  --line-2: rgba(200, 16, 46, .45);
  --acc: #d4143c;
  --acc-text: #c4113a;
  --acc-soft: rgba(212, 20, 60, .09);
  --glow: 0 6px 20px rgba(212, 20, 60, .25);
  --ok: #19a34f;
  --ok-ink: #ffffff;
  --shadow: 0 10px 28px rgba(120, 20, 40, .14);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scrollbar-color: var(--line-2) transparent;
}
body {
  margin: 0;
  min-height: 100dvh;
  font: 400 15px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
body::before { /* resplandor rojo de fondo */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 380px at 88% -6%, rgba(255, 45, 85, .20), transparent 70%),
    radial-gradient(520px 420px at -8% 28%, rgba(255, 45, 85, .11), transparent 70%);
}
:root[data-theme="light"] body::before {
  background:
    radial-gradient(620px 380px at 88% -6%, rgba(255, 45, 85, .12), transparent 70%),
    radial-gradient(520px 420px at -8% 28%, rgba(255, 45, 85, .07), transparent 70%);
}
body.lock { overflow: hidden; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 2px; }
a { color: var(--acc-text); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
button, a, label { touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.s { width: 16px; height: 16px; }
.ic.m { width: 18px; height: 18px; }
.ic.l { width: 28px; height: 28px; }

/* ---------- Estructura ---------- */
.wrap { min-height: 100dvh; }
main { display: block; width: 100%; max-width: 1180px; margin: 0 auto; padding: 18px var(--gut) calc(128px + env(safe-area-inset-bottom)); outline: none; }
.sub { color: var(--ink-2); }
.load { padding: 40px 0; text-align: center; }

.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 8px;
  min-height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(6px, env(safe-area-inset-left));
  background: var(--bg-top);
  border-bottom: 1px solid var(--line);
}
.top-title { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-r { display: flex; align-items: center; gap: 4px; flex: none; }
.ib {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink);
  transition: transform 140ms var(--ease), background-color 150ms ease, border-color 150ms ease;
}
.ib.burger { border: 0; width: 42px; height: 42px; border-radius: 12px; }
.ib.burger .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.ib:active { transform: scale(.94); }
.ib .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px var(--bg); }
.ib.bell { border-color: transparent; }
.saldo {
  display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: transform 140ms var(--ease), border-color 150ms ease;
}
.saldo span { color: var(--ink-2); font-weight: 600; }
.saldo b { color: var(--acc-text); font-weight: 800; }
.saldo:active { transform: scale(.97); }
@media (max-width: 430px) { .saldo.compact span { display: none; } }
/* Con selector COP/USD en celular no cabe el título: se oculta y el saldo se acorta */
@media (max-width: 479px) { .top.has-sel .top-title { display: none; } .top.has-sel .top-r { margin-left: auto; } }
@media (max-width: 389px) { .top.has-sel .saldo span { display: none; } }
.cur { position: relative; display: none; align-items: center; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 13px; }
.cur select { appearance: none; -webkit-appearance: none; height: 100%; padding: 0 30px 0 14px; border: 0; background: transparent; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); }
.cur select option { color: #240b12; background: #fff; }
.cur .ic { position: absolute; right: 9px; width: 16px; height: 16px; pointer-events: none; }
.cur.static { padding: 0 14px; }

/* menú lateral */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .62); opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s linear 200ms; touch-action: none; }
.scrim.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.side {
  position: fixed; z-index: 60; top: 0; left: 0; bottom: 0; width: min(86vw, 320px);
  display: flex; flex-direction: column; gap: 14px;
  padding: calc(22px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)) 16px;
  background: var(--bg-1); border-right: 1px solid var(--line-2);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-100%); visibility: hidden;
  transition: transform 220ms var(--ease-drawer), visibility 0s linear 220ms;
}
.side.open { transform: none; visibility: visible; transition: transform 280ms var(--ease-drawer), visibility 0s; box-shadow: var(--shadow); }
.side-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-bottom: 4px; }
.side-brand h2 { font-size: 19px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.side-brand p { font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; }
.logo { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #ff2d55, #ff7a45, #ff2d55 48%, #8f0f2a 70%, #ff2d55); box-shadow: var(--glow); flex: none; }
.logo > span, .logo > img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #0b0507; overflow: hidden; object-fit: cover; }
.logo svg { width: 100%; height: 100%; display: block; }
.logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Tu propio logo (logo.png): sin anillo, con un brillo suave */
.logo.own { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.logo.own > img { background: none; border-radius: 0; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(255, 45, 85, .38)); }
.logo.sm { width: 56px; height: 56px; padding: 2px; }
.logo.xl { width: 128px; height: 128px; }
.me { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--acc-soft), transparent); text-align: left; transition: transform 140ms var(--ease), border-color 150ms ease; }
.me:active { transform: scale(.98); }
.av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 19px; text-transform: uppercase; flex: none; box-shadow: var(--glow); }
.av.xl { width: 84px; height: 84px; font-size: 34px; border: 3px solid #0b0507; }
.me .nm { flex: 1; min-width: 0; }
.me b { display: block; font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.menu { display: flex; flex-direction: column; gap: 6px; }
.mi { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1px solid transparent; font-weight: 700; font-size: 15.5px; color: var(--ink-2); text-align: left; text-decoration: none; transition: transform 140ms var(--ease), background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.mi > .ic:first-child { color: var(--acc-text); }
.mi .go { margin-left: auto; width: 18px; height: 18px; color: var(--acc-text); }
.mi.on { color: var(--ink); border-color: var(--line-2); background: var(--acc-soft); box-shadow: var(--glow); }
.mi:active { transform: scale(.98); }
.mi.out { color: var(--ink); margin-top: 6px; }
.mi.out > .ic:first-child { color: var(--ink); }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.side-foot b { color: var(--ink-2); font-weight: 700; }

/* barra inferior flotante */
.dock {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  max-width: 560px; margin: 0 auto; padding: 8px 6px;
  border-radius: 28px; border: 1px solid var(--line-2); background: var(--bg-1);
  box-shadow: var(--shadow), 0 0 22px rgba(255, 45, 85, .12);
}
.dock > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 18px; font-size: 11px; letter-spacing: -.01em; white-space: nowrap; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: color 150ms ease, transform 140ms var(--ease); }
.dock .ic { width: 24px; height: 24px; }
.dock > *:active { transform: scale(.94); }
.dock .on { color: var(--acc-text); }
.dock .on .ic { filter: drop-shadow(0 0 7px rgba(255, 45, 85, .7)); }
.wa {
  position: fixed; z-index: 41; right: 16px; bottom: calc(100px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
  transition: transform 140ms var(--ease);
}
.wa .ic { width: 28px; height: 28px; }
.wa:active { transform: scale(.94); }

/* notificaciones */
.pop {
  position: fixed; z-index: 70; top: calc(var(--top-h) + env(safe-area-inset-top) + 4px); right: 10px;
  width: min(360px, calc(100vw - 20px)); max-height: min(70dvh, 460px); overflow-y: auto; overscroll-behavior: contain;
  padding: 14px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg-1); box-shadow: var(--shadow);
  transform-origin: top right; opacity: 0; transform: scale(.96); visibility: hidden; pointer-events: none;
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s linear 150ms;
}
.pop.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.pop h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.nt { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 14px; text-align: left; font-size: 13.5px; line-height: 1.4; }
.nt + .nt { margin-top: 4px; }
.nt .ic { margin-top: 2px; color: var(--acc-text); }
.nt small { display: block; color: var(--ink-3); font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .nt:hover { background: var(--acc-soft); } }

/* ---------- Títulos y buscador ---------- */
h1.h { font-size: clamp(24px, 7.3vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 8px; }
.acc { color: var(--acc-text); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .acc { background: linear-gradient(90deg, #ff2d55, #ff6f8e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  :root[data-theme="light"] .acc { background: linear-gradient(90deg, #c8102e, #e11d48); -webkit-background-clip: text; background-clip: text; }
}
.lead { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.search { position: relative; margin-bottom: 20px; }
.search .ic { position: absolute; left: 20px; top: 50%; margin-top: -11px; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; height: 56px; padding: 0 20px 0 54px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-1); font-size: 16px; transition: border-color 150ms ease, box-shadow 150ms ease; }
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
.search input:focus, .fld:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft), var(--glow); }

/* ---------- Banner ---------- */
.hero { position: relative; margin-bottom: 8px; border-radius: 26px; border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--glow); background: var(--bg-1); }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 2.1 / 1; scroll-snap-align: center; overflow: hidden; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide.def { display: flex; align-items: center; padding: 6% 7%; background: radial-gradient(60% 90% at 88% 40%, rgba(255, 45, 85, .42), transparent 70%), linear-gradient(120deg, #1a0710, #2a0a14 60%, #12050a); color: #fff; }
.def .tx { position: relative; z-index: 1; max-width: 62%; }
.def .l1 { font-size: clamp(14px, 4.2vw, 30px); font-weight: 800; font-style: italic; letter-spacing: -.01em; line-height: 1.1; }
.def .l2 { font-size: clamp(22px, 7.6vw, 56px); font-weight: 800; font-style: italic; letter-spacing: -.03em; line-height: 1; background: linear-gradient(90deg, #ff2d55, #ff8a5c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #ff2d55; }
.def .l3 { font-size: clamp(11px, 3.3vw, 22px); font-weight: 700; font-style: italic; margin-top: 2px; }
.def .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: clamp(6px, 2vw, 16px); padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: clamp(9px, 2.6vw, 14px); font-weight: 600; background: rgba(0, 0, 0, .35); }
.def .cl { position: absolute; right: 5%; top: 50%; display: grid; grid-template-columns: repeat(2, auto); gap: clamp(6px, 2vw, 14px); transform: translateY(-50%); }
.def .cl .logo { width: clamp(44px, 14vw, 104px); height: clamp(44px, 14vw, 104px); padding: 2px; font-size: clamp(20px, 6vw, 44px); }
.def .cl .logo:nth-child(even) { transform: translateY(14%); }
.def .cl .logo:nth-child(odd) { transform: translateY(-14%); }
.ar { position: absolute; top: 50%; margin-top: -18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .55); color: #fff; transition: transform 140ms var(--ease), background-color 150ms ease; }
.ar.p { left: 10px; } .ar.n { right: 10px; }
.ar:active { transform: scale(.92); }
.dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 9px; border-radius: 999px; background: rgba(0, 0, 0, .5); }
.dots i { display: block; width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .45); transition: width 200ms var(--ease), background-color 200ms ease; }
.dots i.on { width: 24px; background: var(--acc); box-shadow: 0 0 8px rgba(255, 45, 85, .8); }

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 10px 12px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--acc-soft), transparent 55%), var(--bg-1);
  transition: transform 220ms var(--ease), border-color 200ms ease, box-shadow 200ms ease;
}
.card.deal { border-color: rgba(255, 90, 60, .75); box-shadow: 0 0 22px rgba(255, 70, 60, .22); }
.card.armed { border-color: var(--acc); box-shadow: var(--glow); }
.bd { position: absolute; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.bd.ok { right: 10px; background: var(--ok); color: var(--ok-ink); }
.bd.no { right: 10px; background: var(--bad); color: #fff; }
.bd.of { left: 10px; background: linear-gradient(135deg, #ff6a1f, #ff2d55); color: #fff; }
.bd .ic { width: 13px; height: 13px; }
.card .logo { margin-top: 16px; width: 92px; height: 92px; font-size: 40px; }
.card h3 { display: flex; align-items: center; justify-content: center; margin: 12px 0 0; font-size: 14.5px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; min-height: 2.6em; }
.card h3 span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.du { margin-top: 1px; font-size: 12px; color: var(--ink-3); }
.st .ic { width: 15px; height: 15px; color: var(--acc-text); }
.chips { display: flex; gap: 5px; margin-top: 10px; width: 100%; }
.chip { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 30px; padding: 0 2px; border-radius: 10px; border: 1px solid var(--line); background: var(--acc-soft); font-size: 10.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip .ic { width: 11px; height: 11px; color: var(--acc-text); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; margin-top: auto; padding: 12px 4px 0; border-top: 1px solid var(--line); }
.card .chips { margin-bottom: 12px; }
.price { font-size: 20px; font-weight: 800; color: var(--acc-text); letter-spacing: -.02em; white-space: nowrap; }
.buy {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0; border-radius: 15px;
  background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(225, 29, 72, .4);
  transition: transform 140ms var(--ease), opacity 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.buy:active:not(:disabled) { transform: scale(.95); }
.buy:disabled { opacity: .4; box-shadow: none; }
.buy.sure { padding: 0 14px; background: #fff; color: #a00c29; font-size: 13px; font-weight: 800; box-shadow: var(--glow); }
.card.off .logo { filter: saturate(.55); }
.empty { padding: 36px 8px; text-align: center; color: var(--ink-2); }

/* ---------- Paneles y formularios ---------- */
.panel { padding: 20px 16px; border-radius: 26px; border: 1px solid var(--line); background: var(--bg-1); margin-top: 16px; }
.panel h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.panel h2 .ic { color: var(--acc-text); }
.panel h2.step::before { content: ''; width: 6px; height: 26px; border-radius: 4px; background: var(--grad); box-shadow: var(--glow); }
.kv { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); margin-top: 10px; font-size: 14.5px; }
.kv > .ic { color: var(--acc-text); }
.kv span { color: var(--ink-2); }
.kv b { margin-left: auto; text-align: right; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.kv b.good { color: var(--ok); }
.who { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 6px; }
.who h2 { margin: 0; font-size: 22px; }
.role { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--acc-soft); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc-text); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.stat { padding: 18px 8px; text-align: center; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-1); }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--acc-text); line-height: 1.1; }
.stat span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.bal { padding: 22px 16px; text-align: center; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255, 45, 85, .22), rgba(255, 45, 85, .05)); }
.bal small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.bal b { display: block; margin: 6px 0 4px; font-size: clamp(34px, 11vw, 46px); font-weight: 800; letter-spacing: -.03em; color: var(--acc-text); line-height: 1.1; }
.bal p { font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }

label { display: block; margin: 16px 0 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.fld, textarea, select.fld { width: 100%; min-height: 54px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; font-weight: 500; transition: border-color 150ms ease, box-shadow 150ms ease; }
.fld[type="file"] { padding-top: 14px; }
.pw { position: relative; }
.pw .fld { padding-right: 88px; }
.pwt { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); min-height: 44px; min-width: 64px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; font-weight: 800; color: var(--acc-text); background: var(--acc-soft); }
.fh { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.ferr { margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--bad); background: rgba(239, 68, 68, .12); font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.ferr[hidden] { display: none; }
.forgot { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); text-align: center; }
.forgot a { color: var(--acc-text); font-weight: 700; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 18px; padding: 0 20px;
  border-radius: 16px; background: var(--grad); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 22px rgba(225, 29, 72, .35); transition: transform 140ms var(--ease), opacity 150ms ease, box-shadow 150ms ease;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .55; box-shadow: none; }
.btn.alt { background: transparent; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn.alt:active:not(:disabled) { background: var(--acc-soft); }
.sm { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--acc-soft); font-size: 13px; font-weight: 700; transition: transform 140ms var(--ease); }
.sm:active { transform: scale(.96); }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; padding: 18px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: var(--bg); color: var(--ink-2); font-weight: 700; font-size: 14px; text-align: center; margin: 0; cursor: pointer; overflow-wrap: anywhere; transition: border-color 150ms ease, background-color 150ms ease; }
.drop .ic { width: 38px; height: 38px; color: var(--acc-text); }
.drop:focus-within { border-color: var(--acc); background: var(--acc-soft); }
.pay { padding: 16px; margin-top: 12px; text-align: center; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--bg-2); }
.pay small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pay .num { margin: 4px 0 10px; font-size: 22px; font-weight: 800; color: var(--acc-text); letter-spacing: .02em; overflow-wrap: anywhere; }
.note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* compras */
.ord { margin-top: 12px; padding: 14px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-1); }
.ord .hd { display: flex; align-items: center; gap: 12px; }
.ord .hd .logo { width: 54px; height: 54px; padding: 2px; font-size: 24px; }
.ord .hd div { min-width: 0; }
.ord b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.ord small { color: var(--ink-3); font-size: 12.5px; }
.cred { display: block; margin: 12px 0 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: 500 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; white-space: pre-wrap; user-select: text; -webkit-user-select: text; }
.msg { margin: 12px 0 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 13.5px; font-weight: 500; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.trm { margin: 0 0 10px; }
.trm summary { display: flex; align-items: center; gap: 6px; min-height: 40px; cursor: pointer; list-style: none; color: var(--acc-text); font-size: 13px; font-weight: 700; }
.trm summary::-webkit-details-marker { display: none; }
.trm summary .ic { transition: transform 200ms var(--ease); }
.trm[open] summary .ic { transform: rotate(180deg); }
.trm .msg { margin-top: 4px; }
.sm.pri { border-color: transparent; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.tagx { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.apr { color: var(--ok); } .pend { color: var(--warn); } .rej { color: var(--acc-text); }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; margin-top: 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-1); font-size: 14px; }
.line small { color: var(--ink-3); }
.line > b, .line > .ok { font-weight: 700; text-align: right; }

/* ranking */
.rk-head { position: relative; overflow: hidden; padding: 22px 18px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--acc-soft), var(--bg-1) 60%); }
.rk-head::after { content: ''; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--line); }
.rk-head small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--acc-text); }
.rk-head h1 { margin: 6px 0 8px; font-size: clamp(28px, 8vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.rk-head p { max-width: 26ch; color: var(--ink-2); font-size: 14px; }
.rk-head .top3 { position: absolute; right: 14px; top: 16px; z-index: 1; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-1); font-size: 12px; font-weight: 700; }
.pod { display: grid; gap: 14px; margin-top: 16px; }
.pl { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px; text-align: center; border-radius: 26px; border: 1px solid var(--line); background: var(--bg-1); }
.pl .m { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid currentColor; background: var(--bg); box-shadow: 0 0 22px currentColor; }
.pl .m .ic { width: 34px; height: 34px; }
.pl small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pl h2 { font-size: 20px; font-weight: 800; text-transform: uppercase; overflow-wrap: anywhere; }
.pl .v { display: inline-flex; align-items: center; gap: 6px; padding: 5px 16px; border-radius: 999px; border: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.pl.g1 { color: #ffd54a; border-color: rgba(255, 213, 74, .6); }
.pl.g2 { color: #d4d9e2; border-color: rgba(212, 217, 226, .5); }
.pl.g3 { color: #ffa066; border-color: rgba(255, 160, 102, .5); }
:root[data-theme="light"] .pl.g1 { color: #a87400; } :root[data-theme="light"] .pl.g2 { color: #5e6676; } :root[data-theme="light"] .pl.g3 { color: #b04d12; }
.pl h2 { color: var(--ink); }

/* ---------- Acceso ---------- */
body.out main { max-width: 460px; padding-top: max(28px, env(safe-area-inset-top)); padding-bottom: 40px; }
.auth { display: flex; flex-direction: column; align-items: stretch; }
.auth .ab { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 6px 0 22px; text-align: center; }
.auth .ab h2 { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.auth .ab p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.auth .box { padding: 22px 18px 24px; border-radius: 28px; border: 1px solid var(--line-2); background: var(--bg-1); box-shadow: var(--glow); }
.auth .box h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.auth .box > p { margin-top: 2px; color: var(--ink-2); }
.auth .alt { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.auth .alt p { font-size: 14px; color: var(--ink-2); }
.auth .alt .btn { margin-top: 12px; }
.auth .foot { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Aviso ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(112px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; box-shadow: var(--shadow); animation: toastIn 220ms var(--ease) both; }
.toast.err { border-color: var(--bad); }
body.out .toast { bottom: 24px; }

/* ---------- Movimiento ---------- */
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes fadeOnly { from { opacity: 0; } }
main.view-in { animation: viewIn 240ms var(--ease) both; }
.grid.enter .card { animation: cardIn 320ms var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }

@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--glow); }
  .card.off:hover { transform: none; box-shadow: none; }
  .mi:hover:not(.on) { background: var(--acc-soft); color: var(--ink); }
  .me:hover, .saldo:hover, .ib:hover { border-color: var(--acc); }
  .btn:hover:not(:disabled) { box-shadow: 0 10px 28px rgba(225, 29, 72, .5); }
  .btn.alt:hover { border-color: var(--acc); background: var(--acc-soft); }
  .sm:hover { border-color: var(--acc); }
  .buy:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(225, 29, 72, .6); }
  .dock > *:hover:not(.on) { color: var(--ink); }
  .ar:hover { background: rgba(0, 0, 0, .75); }
  .drop:hover { border-color: var(--acc); }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  :root { --gut: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .top-title { font-size: 18px; }
  .cur.static { display: inline-flex; }
  .cur.sel { display: inline-flex; }
  .slide { aspect-ratio: 2.8 / 1; }
  .card h3 { font-size: 15.5px; }
  .pod { grid-template-columns: repeat(3, 1fr); }
  .stats { gap: 16px; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .two .panel { margin-top: 16px; }
}
@media (min-width: 360px) { .cur.sel { display: inline-flex; } }
@media (max-width: 379px) { .dock .mis { display: none; } }

/* ---------- Escritorio ---------- */
@media (min-width: 1024px) {
  :root { --gut: 32px; }
  body.in .wrap { margin-left: var(--side-w); }
  body.in .side { width: var(--side-w); transform: none; visibility: visible; box-shadow: none; transition: none; z-index: 45; }
  body.in .scrim { display: none; }
  .ib.burger { display: none; }
  .dock { display: none !important; }
  .wa { bottom: 28px; right: 28px; }
  main { padding-bottom: 64px; }
  body.in .toast { bottom: 28px; }
  .top { padding-left: var(--gut); padding-right: var(--gut); }
  .top-title { font-size: 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 20px; }
  .slide { aspect-ratio: 3.4 / 1; }
  h1.h { margin-top: 28px; }
  .card .logo { width: 104px; height: 104px; font-size: 46px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pop { right: var(--gut); }
}
@media (min-width: 1500px) {
  main { max-width: 1320px; }
}

/* ---------- Pantallas muy angostas ---------- */
@media (max-width: 359px) {
  :root { --gut: 12px; }
  .top-title { display: none; }
  .top-r { margin-left: auto; }
  .ib { width: 36px; height: 36px; }
  .saldo { padding: 0 10px; font-size: 12px; }
  .saldo span { display: none; }
  .grid { gap: 10px; }
  .card { padding: 16px 8px 10px; border-radius: 22px; }
  .card .logo { width: 78px; height: 78px; font-size: 34px; }
  .card h3 { font-size: 13px; }
  .chip .ic { display: none; }
  .bd { font-size: 10.5px; padding: 2px 8px; } .bd .ic { display: none; }
  .price { font-size: 16.5px; }
  .buy { min-width: 40px; height: 40px; border-radius: 13px; }
  .dock > * { font-size: 10.5px; }
}
@media (max-height: 560px) and (max-width: 1023px) { .side-brand .logo { width: 72px; height: 72px; } .side { gap: 10px; } }

/* ---------- Movimiento reducido: sin desplazamientos, se mantienen los fundidos ---------- */
@media (prefers-reduced-motion: reduce) {
  main.view-in, .grid.enter .card, .toast { animation: fadeOnly 200ms ease both; animation-delay: 0s; }
  .side { transform: none; opacity: 0; transition: opacity 150ms ease, visibility 0s linear 150ms; }
  .side.open { opacity: 1; transition: opacity 150ms ease, visibility 0s; }
  .pop { transform: none; transition: opacity 120ms ease, visibility 0s linear 120ms; }
  .card:hover, .btn:active:not(:disabled), .buy:active:not(:disabled), .ib:active, .saldo:active, .me:active, .mi:active, .sm:active, .dock > *:active, .ar:active, .wa:active { transform: none; }
  .btn:active:not(:disabled), .buy:active:not(:disabled), .sm:active { opacity: .8; }
  .dots i { transition: background-color 150ms ease; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  body.in .side { opacity: 1; transition: none; }
}

/* ---------- Recarga automática (valor exacto + llave Bre-B) ---------- */
.au { text-align: center; border-color: var(--line-2); box-shadow: var(--glow); }
.au h2 { justify-content: center; margin-bottom: 8px; }
.au-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--acc-soft); color: var(--acc-text); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.au-exact { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 4px 0 12px; }
.au-exact b { font-size: clamp(34px, 11vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; text-shadow: 0 0 22px rgba(255, 45, 85, .45); }
.au-exact small { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); }
.au-why { margin: 12px 0 4px; font-size: 14px; color: var(--ink-2); }
.au-why b { color: var(--ink); }
.au-how { display: grid; gap: 6px; margin: 16px 0 14px; padding-left: 22px; text-align: left; font-size: 14px; color: var(--ink-2); }
.au-how b { color: var(--ink); }
.au-wait { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 700; text-align: left; }
.au-wait small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.au-pulse { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 0 rgba(255, 176, 32, .6); animation: auPulse 1.6s infinite; }
@keyframes auPulse { 70% { box-shadow: 0 0 0 12px rgba(255, 176, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }
.au-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 4px; }
.au-ok { border-color: var(--ok); }
.au-ok .au-ic { display: inline-grid; place-items: center; width: 68px; height: 68px; margin: 2px auto 10px; border-radius: 50%; background: rgba(91, 226, 138, .14); color: var(--ok); }
.au-ok .au-ic .ic { width: 36px; height: 36px; }
.au .pay { margin-top: 14px; }
.au > .sm { margin-top: 2px; }
details.man { margin: 18px 0 0; }
details.man > summary { min-height: 48px; padding: 0 4px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .au-pulse { animation: none; } }

/* ---------- Inicio, dólares, carrito y ayuda (actualización 6) ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--acc-soft); font-size: 13.5px; font-weight: 700; color: var(--ink); transition: transform 140ms var(--ease), border-color 150ms ease; }
.back .ic { color: var(--acc-text); }
.back:active { transform: scale(.97); }
.back + h1.h { margin-top: 14px; }

.curtog { display: flex; width: 100%; max-width: 380px; padding: 4px; margin: 0 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-1); }
.curtog button { flex: 1 1 0; min-height: 44px; padding: 0 10px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: background-color 150ms ease, color 150ms ease; }
.curtog button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.usdnote { margin: -4px 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }

.card.incart { border-color: var(--acc); box-shadow: var(--glow); }
.row.in { flex-direction: column; align-items: stretch; gap: 8px; }
.row.in .price { text-align: center; }
.qty { display: inline-flex; align-items: center; justify-content: space-between; gap: 4px; padding: 3px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); }
.qty button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--grad); color: #fff; font-size: 22px; font-weight: 700; line-height: 1; transition: transform 140ms var(--ease), opacity 150ms ease; }
.qty button:disabled { opacity: .35; }
.qty button:active:not(:disabled) { transform: scale(.92); }
.qty b { min-width: 28px; text-align: center; font-size: 16px; font-weight: 800; }
.qty .qin { width: 64px; height: 42px; padding: 0; border: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.qty .qin::-webkit-outer-spin-button, .qty .qin::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .qin:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acc); border-radius: 10px; }

.mi .cb { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; border-radius: 99px; background: var(--grad); color: #fff; font: 800 12px/1 var(--font); font-style: normal; vertical-align: middle; }

.cbar { position: fixed; z-index: 42; left: 12px; right: 12px; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 78px); max-width: 560px; margin: 0 auto; }
.cbar button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 8px 14px 8px 10px; border-radius: 20px; background: var(--grad); color: #fff; text-align: left; box-shadow: 0 10px 28px rgba(225, 29, 72, .5); animation: barIn 240ms var(--ease) both; }
.cbar .cn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .2); flex: none; }
.cbar .cn i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: #a00c29; font: 800 12px/20px var(--font); font-style: normal; text-align: center; }
.cbar .ct { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cbar .ct b { font-size: 14.5px; font-weight: 800; }
.cbar .ct small { font-size: 12.5px; opacity: .92; }
.cbar .go { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
@keyframes barIn { from { opacity: 0; transform: translateY(10px); } }
body.has-cbar .toast { bottom: calc(176px + env(safe-area-inset-bottom)); }
body.has-cbar .wa { bottom: calc(166px + env(safe-area-inset-bottom)); }

.crts { display: grid; gap: 10px; margin-bottom: 4px; }
.crt { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 12px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-1); }
.crt .logo { width: 56px; height: 56px; padding: 2px; font-size: 24px; }
.crt .ci b { display: block; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.crt .ci small { display: block; color: var(--ink-3); font-size: 12.5px; }
.crt .cf { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crt .cr { display: flex; align-items: center; gap: 8px; }
.crt .cr b { font-size: 17px; font-weight: 800; color: var(--acc-text); white-space: nowrap; }
.rm { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-2); color: var(--ink-2); transition: transform 140ms var(--ease), border-color 150ms ease; }
.rm:active { transform: scale(.92); }
.sum .tot { font-size: 22px; color: var(--acc-text); font-weight: 800; }
.sum .ferr { margin-top: 14px; }
.btn.sure { background: #fff; color: #a00c29; box-shadow: var(--glow); }

.ayuda { position: fixed; z-index: 41; left: 16px; bottom: calc(103px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 14.5px; font-weight: 800; box-shadow: 0 8px 22px rgba(225, 29, 72, .45); transition: transform 140ms var(--ease); }
.ayuda .ic { width: 22px; height: 22px; }
.ayuda:active { transform: scale(.95); }
body.has-cbar .ayuda { bottom: calc(169px + env(safe-area-inset-bottom)); }
body.out main { padding-bottom: 96px; }
body.out .ayuda { left: 16px; right: auto; bottom: calc(20px + env(safe-area-inset-bottom)); }

.fscrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .62); animation: fadeOnly 180ms ease both; }
.faq { position: fixed; z-index: 81; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(100%, 520px); max-height: min(86dvh, 680px); display: flex; flex-direction: column; border-radius: 28px 28px 0 0; border: 1px solid var(--line-2); border-bottom: 0; background: var(--bg-1); box-shadow: var(--shadow), 0 0 40px rgba(255, 45, 85, .18); padding-bottom: env(safe-area-inset-bottom); animation: sheetIn 260ms var(--ease-drawer) both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } }
.fhd { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); }
.fhd h2 { font-size: 16px; font-weight: 800; }
.fhd small { display: block; color: var(--ink-3); font-size: 12.5px; }
.fhd .ib { margin-left: auto; }
.fav { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow); flex: none; }
.fbd { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 8px; }
.flog { display: flex; flex-direction: column; gap: 10px; }
.bb { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.bb.bot { align-self: flex-start; border-bottom-left-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); }
.bb.usr { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--grad); color: #fff; font-weight: 600; }
.fq { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 6px; }
.fq button { min-height: 46px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--acc-soft); text-align: left; font-size: 14px; font-weight: 700; line-height: 1.35; transition: transform 140ms var(--ease), border-color 150ms ease; }
.fq button:active { transform: scale(.98); }
.fft { padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.fft .btn { margin-top: 0; }
.fft .note { margin: 0; text-align: center; }
.btn.wab { background: #25d366; color: #06361a; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }

@media (hover: hover) and (pointer: fine) {
  .back:hover, .rm:hover { border-color: var(--acc); }
  .fq button:hover { border-color: var(--acc); }
  .curtog button:not([aria-pressed="true"]):hover { color: var(--ink); }
}
@media (min-width: 600px) {
  .faq { left: auto; right: 24px; bottom: 24px; margin: 0; width: 420px; border-radius: 28px; border-bottom: 1px solid var(--line-2); padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .cbar { left: calc(var(--side-w) + var(--gut)); right: auto; bottom: 24px; width: min(520px, calc(100vw - var(--side-w) - 2 * var(--gut) - 220px)); margin: 0; }
  .ayuda { left: auto; right: 96px; bottom: 31px; }
  body.has-cbar .ayuda { bottom: 31px; }
  body.has-cbar .wa { bottom: 28px; }
  body.has-cbar.in .toast { bottom: 28px; }
  body.out .ayuda { left: 24px; right: auto; bottom: 24px; }
}
@media (max-width: 359px) {
  .qty button { width: 38px; height: 38px; font-size: 20px; }
  .cbar .go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cbar button, .faq, .fscrim { animation: fadeOnly 150ms ease both; }
  .ayuda:active, .rm:active, .qty button:active:not(:disabled), .fq button:active, .back:active { transform: none; }
}

/* ---------- Actualización 7: combos (solo clientes finales) ---------- */
.rbn, .cnote { display: flex; align-items: flex-start; gap: 4px; margin: 0 0 14px; padding: 10px 4px 10px 16px; border-radius: 20px; border: 1px dashed var(--line-2); background: linear-gradient(135deg, var(--acc-soft), transparent 75%), var(--bg-1); animation: barIn 240ms var(--ease) both; }
.rbn .rt, .cnote .rt { flex: 1 1 auto; min-width: 0; padding-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.rbn .rt b, .cnote .rt b { color: var(--ink); font-weight: 700; }
.rbn .sm, .cnote .sm { display: flex; width: 100%; max-width: 360px; min-height: 44px; margin-top: 10px; text-align: center; }
.rbn .ib.x, .cnote .ib.x { width: 44px; height: 44px; border-color: transparent; color: var(--ink-3); }
.cnote { border-style: solid; border-color: var(--acc); }

.grid.combos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card.combo { padding-top: 14px; }
.card.combo.incart { border-color: var(--acc); }
.card.combo .bd.of { background: var(--acc-soft); color: var(--ink); border: 1px solid var(--line-2); font-size: 11.5px; }
.clg { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 30px 0 0 8px; max-width: 100%; row-gap: 4px; }
.clg .logo { width: 46px; height: 46px; padding: 2px; margin: 0 0 0 -8px; font-size: 20px; box-shadow: 0 0 0 2px var(--bg-1); }
.card .clg .logo { margin: 0 0 0 -8px; width: 46px; height: 46px; font-size: 20px; }
.clg .more { display: grid; place-items: center; width: 46px; height: 46px; margin-left: -8px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); font: 800 13px/1 var(--font); font-style: normal; color: var(--ink-2); box-shadow: 0 0 0 2px var(--bg-1); }
.clg.cs .logo, .clg.cs .more { width: 40px; height: 40px; font-size: 17px; margin-left: -6px; }
.card.combo h3 { margin-top: 10px; }
.cpr { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 8px; }
.cpr b { font-size: 21px; font-weight: 800; color: var(--acc-text); letter-spacing: -.02em; white-space: nowrap; }
.cpr s { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.save { display: inline-flex; align-items: center; justify-content: center; margin: 6px 0 12px; padding: 3px 11px; border-radius: 999px; background: rgba(91, 226, 138, .16); border: 1px solid rgba(91, 226, 138, .5); color: var(--ok); font-size: 12.5px; font-weight: 800; }
.save.none { background: var(--acc-soft); border-color: var(--line); color: var(--ink-3); font-weight: 600; }
:root[data-theme="light"] .save { color: #0f7a37; background: rgba(25, 163, 79, .12); border-color: rgba(25, 163, 79, .45); }
.card.combo .row { justify-content: center; }
.buy.wide { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 0 12px; font-size: 14px; font-weight: 800; }
.buy.wide .ic { width: 20px; height: 20px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 100%; margin-top: 10px; padding: 3px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); }
.seg button { min-height: 44px; padding: 3px 4px; border-radius: 11px; font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--ink-2); transition: background-color 150ms ease, color 150ms ease; }
.seg button small { display: block; font-size: 11px; font-weight: 800; opacity: .95; }
.seg button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.crt.cc { grid-template-columns: minmax(0, 1fr); }
.crt.cc .clg { justify-content: flex-start; margin: 0 0 0 6px; }
.crt.cc .ci { min-width: 0; }
.crt.cc .seg { max-width: 330px; }
.cbtag { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--acc-soft); border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.cbtag .ic { width: 13px; height: 13px; color: var(--acc-text); }
@media (min-width: 640px) { .grid.combos { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; } }
@media (hover: hover) and (pointer: fine) { .seg button[aria-pressed="false"]:hover { color: var(--ink); } }
@media (max-width: 359px) { .seg button { font-size: 10.5px; } .cpr b { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .rbn, .cnote { animation: fadeOnly 150ms ease both; } }

/* ---------- Actualización 8: avisos de vencimiento y botón Renovar ---------- */
.rbn.warn { padding-right: 16px; border-style: solid; border-color: var(--warn); background: linear-gradient(135deg, rgba(255, 176, 32, .16), transparent 75%), var(--bg-1); }
.ord .rnw { display: grid; gap: 4px; justify-items: start; margin-top: 10px; }
.ord .rnw .sm { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; font-size: 14px; font-weight: 800; }
.ord .rnw small { padding-left: 4px; }
.sm.sure { background: #fff; color: #a00c29; box-shadow: var(--glow); }
.ord.cutd { border-style: dashed; opacity: .92; }
.ord.cutd .msg { margin-top: 10px; }
