/* Bolivia Fitness · cajones, ficha y asistente para la portada (copia con alcance .bfx de demo.css) */
.bfx {
  --bg: #f5f3f0; --surface: #ebe7e2; --card: #fbfaf8; --ink: #151313; --muted: #686664; --line: rgba(21,19,19,.12);
  --red: #c8102e; --red-d: #a50d26; --red-soft: #f8e3e6; --ok: #11804a; --ok-soft: #e1f3e8; --warn: #a86200; --warn-soft: #fbefd9;
  --r-s: 8px; --r-m: 12px; --r-l: 18px; --wrap: 1280px; --pad: clamp(20px, 5vw, 80px);
  --f: 'Archivo', system-ui, sans-serif; --ease: cubic-bezier(.2,.7,.2,1);
}
.bfx { font-family: var(--f); color: var(--ink); line-height: 1.5; }
.bfx *, .bfx *::before, .bfx *::after { box-sizing: border-box; }
.bfx img { display: block; max-width: 100%; }
.bfx button, .bfx input, .bfx select { font: inherit; }
.bfx .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }.bfx .mute { color: var(--muted); }.bfx .ej { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }.bfx .pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--surface); }.bfx .pill.ok { background: var(--ok-soft); color: var(--ok); }.bfx .pill.rojo { background: var(--red-soft); color: var(--red-d); }.bfx .pill.warn { background: var(--warn-soft); color: var(--warn); }.bfx .pill.ia { background: #151313; color: #fff; }.bfx /* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-s); background: var(--red); color: #fff; font-weight: 600; text-decoration: none; transition: transform .18s var(--ease), background .18s; }.bfx .btn:hover { background: var(--red-d); transform: translateY(-1px); }.bfx .btn:active { transform: translateY(1px) scale(.99); }.bfx .btn.linea { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }.bfx .btn.linea:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }.bfx .btn.oscuro { background: var(--ink); }.bfx .btn.oscuro:hover { background: #2a2626; }.bfx .btn.chico { min-height: 36px; padding: 0 14px; font-size: 14px; }.bfx .btn.ancho { width: 100%; }.bfx /* destello (web-con-vida): un brillo que cruza el botón principal */
.wv-on .btn.destello { position: relative; overflow: hidden; }.wv-on .bfx .btn.destello::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: bf-destello 3.6s var(--ease) infinite 1.2s; }
@keyframes bf-destello {0%, 60% { transform: translateX(-120%); }100% { transform: translateX(120%); } }.bfx /* cajones (bolsa y ficha) */
.velo { position: fixed; inset: 0; z-index: 80; background: rgba(21,19,19,.4); opacity: 0; transition: opacity .3s; }.bfx .velo.ver { opacity: 1; }.bfx .cajon { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(460px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; box-shadow: -20px 0 60px rgba(0,0,0,.15); }.bfx .cajon.ver { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }.bfx .cajon.ficha { width: min(560px, 100%); }.bfx .cj-cab { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }.bfx .cj-cab h2 { margin: 0; font-size: 20px; font-weight: 600; }.bfx .x { width: 38px; height: 38px; border: 0; border-radius: var(--r-s); background: var(--surface); font-size: 22px; line-height: 1; }.bfx .cj-cuerpo { flex: 1; overflow: auto; padding: 22px; }.html-fijo, html.fijo { overflow: hidden; }.bfx .fi-foto { aspect-ratio: 1/1; border-radius: var(--r-l); background: var(--surface); display: grid; place-items: center; }.bfx .fi-foto img { width: 66%; height: 82%; object-fit: contain; }.bfx .fi-marca { margin: 18px 0 2px; color: var(--muted); font-size: 14px; }.bfx .fi-nom { margin: 0; font-size: 28px; font-weight: 500; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; }.bfx .fi-precio { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; font-size: 24px; font-weight: 600; }.bfx .fi-precio s { font-size: 16px; color: var(--muted); font-weight: 400; }.bfx .fi-datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }.bfx .fi-datos div { padding: 10px 12px; border-radius: var(--r-s); background: var(--card); border: 1px solid var(--line); }.bfx .fi-datos dt { font-size: 12px; color: var(--muted); }.bfx .fi-datos dd { margin: 0; font-weight: 600; font-size: 14px; }.bfx .fi-suc { margin: 18px 0; }.bfx .fi-suc h4 { margin: 0 0 8px; font-size: 14px; }.bfx .fi-suc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }.bfx .fi-suc li { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: var(--r-s); background: var(--card); font-size: 14px; }.bfx .fi-suc li b { font-weight: 600; }.bfx .fi-suc .si { color: var(--ok); font-weight: 600; }.bfx .fi-suc .poco { color: var(--warn); font-weight: 600; }.bfx .fi-suc .no { color: var(--muted); }.bfx .fi-dura { margin: 18px 0; padding: 16px; border-radius: var(--r-m); background: var(--ink); color: #fff; }.bfx .fi-dura p { margin: 0; font-size: 14px; color: rgba(255,255,255,.75); }.bfx .fi-dura b { color: #fff; }.bfx .fi-dura .fila { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; }.bfx .fi-dura select { background: #2a2626; border: 0; border-radius: 6px; padding: 6px 8px; color: #fff; }.bfx .cant { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }.bfx .cant button { width: 28px; height: 28px; border: 0; border-radius: 6px; background: var(--surface); }.bfx .cj-items { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }.bfx .cj-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }.bfx .cj-items img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--r-s); background: var(--surface); padding: 6px; }.bfx .cj-items b { display: block; font-weight: 600; font-size: 15px; }.bfx .cj-items small { color: var(--muted); font-size: 13px; }.bfx .cj-tot { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; }.bfx .cj-pasos { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }.bfx .cj-pasos li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line); font-size: 13px; color: var(--muted); }.bfx .cj-pasos li.si { border-color: var(--red); color: var(--ink); font-weight: 600; }.bfx .cj-form { display: grid; gap: 14px; }.bfx .cj-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }.bfx .cj-form input, .bfx .cj-form select { padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; font-weight: 400; }.bfx .cj-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }.bfx .cj-form legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }.bfx .op { display: flex !important; gap: 12px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; cursor: pointer; font-weight: 400 !important; }.bfx .op:has(input:checked) { border-color: var(--red); background: var(--red-soft); }.bfx .op input { accent-color: var(--red); margin-top: 3px; }.bfx .op b { display: block; }.bfx .op small { color: var(--muted); }.bfx .qr { display: grid; place-items: center; gap: 10px; padding: 20px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); text-align: center; }.bfx .qr svg { width: 160px; height: 160px; }.bfx .cj-listo { text-align: center; padding: 20px 0; }.bfx .ok-g { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 30px; }.bfx .puntos { display: inline-flex; gap: 8px; align-items: center; margin: 10px 0; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }.bfx /* asistente */
.asis { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: opacity .3s, transform .3s; }.bfx .asis.oculto { opacity: 0; transform: translateY(16px); pointer-events: none; }.bfx .asis-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); }.bfx .asis-pulso { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #2bd47a; }.wv-on .bfx .asis-pulso::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2bd47a; animation: bf-pulso 2s ease-out infinite; }
@keyframes bf-pulso {from { transform: scale(.6); opacity: 1; }to { transform: scale(1.8); opacity: 0; } }.bfx .asis-caja { width: min(380px, calc(100vw - 36px)); max-height: min(560px, 72vh); display: flex; flex-direction: column; border-radius: var(--r-l); background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.25); overflow: hidden; }.bfx .asis-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); color: #fff; }.bfx .asis-cab b { display: block; font-size: 15px; }.bfx .asis-cab small { color: rgba(255,255,255,.65); font-size: 12px; }.bfx .asis-cab .x { margin-left: auto; background: rgba(255,255,255,.12); color: #fff; }.bfx .wa-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); font-weight: 700; font-size: 13px; color: #fff; }.bfx .asis-msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f3efe9; }.bfx .asis-msgs p { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; }.bfx .asis-msgs .bf { background: #fff; border-top-left-radius: 4px; }.bfx .asis-msgs .yo { align-self: flex-end; background: var(--ink); color: #fff; border-top-right-radius: 4px; }.bfx .asis-msgs a { color: var(--red); font-weight: 600; }.bfx .esc span { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: #999; animation: bf-esc 1s infinite; }.bfx .esc span:nth-child(2) { animation-delay: .15s; }.bfx .esc span:nth-child(3) { animation-delay: .3s; }
@keyframes bf-esc {50% { opacity: .3; transform: translateY(-2px); } }.bfx .asis-rap { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 4px; }.bfx .asis-rap button { padding: 7px 11px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font-size: 13px; }.bfx .asis-rap button:hover { border-color: var(--red); color: var(--red); }.bfx .asis-libre { display: flex; gap: 6px; padding: 8px 12px; }.bfx .asis-libre input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 99px; font-size: 14px; }.bfx .asis-libre button { border: 0; border-radius: 99px; padding: 0 14px; background: var(--red); color: #fff; font-weight: 600; }.bfx .asis-pie { margin: 0; padding: 6px 12px 10px; font-size: 11px; color: var(--muted); }.bfx .toast { position: fixed; left: 50%; bottom: 80px; z-index: 100; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: var(--r-s); background: var(--ink); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s var(--ease); max-width: calc(100vw - 32px); }.bfx .toast.ver { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { .bfx *, .bfx *::before, .bfx *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .bfx .btn.destello::after, .bfx .asis-pulso::after { display: none; } }
@media (max-width: 640px) { .bfx .asis { bottom: 16px !important; } }
/* barra demo de la portada */
.bfx-demo { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px; background: #151313; color: #fff; font: 13px/1.2 'Archivo', system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; }
.bfx-demo span { padding: 0 8px 0 6px; font-weight: 700; letter-spacing: .08em; font-size: 11px; color: #ff8a9b; }
.bfx-demo a { padding: 7px 11px; border-radius: 8px; color: #fff; text-decoration: none; }
.bfx-demo a:hover { background: rgba(255,255,255,.1); } .bfx-demo a[aria-current] { background: #c8102e; }
@media (max-width: 640px) { .bfx-demo { left: 50%; transform: translateX(-50%); bottom: 10px; font-size: 12px; gap: 0; } .bfx-demo a { padding: 7px 8px; } .bfx .asis { bottom: 70px !important; right: 12px !important; } }
@media (max-width: 360px) { .bfx-demo { font-size: 11px; } .bfx-demo span { display: none; } .bfx-demo a { padding: 6px 7px; } .bfx .asis-btn { font-size: 13px; padding: 10px 12px; } }
@media (max-width: 640px) { .bfx-demo a { display: inline-flex; align-items: center; min-height: 44px; } .bfx-demo { gap: 2px; } .footer.closing { padding-bottom: 96px; } }
