/* Propuestas de animación para la portada (caja viva, tres pasos, antes y después). */

/* 1. Caja viva: escenario más alto y desvanecido corto para que se vea el cobro completo. */
.hero-stage:has(.px-live) { height: 548px; -webkit-mask-image: linear-gradient(#000 calc(100% - 48px), transparent); mask-image: linear-gradient(#000 calc(100% - 48px), transparent); }
/* «Venta cobrada» entra debajo del catálogo, sin tapar el pie ni el ticket. */
.pv-hero.pv-jornada.px-live .pv-hero-small { top: 386px; left: 30%; width: 26%; }
@media (max-width: 899px) { .hero-stage:has(.px-live) { height: 380px; } .pv-hero.pv-jornada.px-live .pv-hero-small { top: auto; } }
@media (max-width: 639px) { .hero-stage:has(.px-live) { height: 320px; } }
.px-live .pv-product { position: relative; transition: transform var(--dur-hover) ease, box-shadow var(--dur-hover) ease; }
.px-live .pv-product.px-tap { transform: scale(.97); }
.px-qty { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center; background: var(--success); color: #fff; font: 700 12px/1 var(--font-ui); box-shadow: 0 2px 6px rgba(15,35,60,.18);
  font-style: normal; animation: px-pop .3s ease-out; }
.px-line { opacity: .14; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.px-line.is-in { opacity: 1; transform: none; }
.px-num { font-variant-numeric: tabular-nums; }
.px-paid { transition: opacity .4s ease, transform .4s ease; }
.px-live .px-paid:not(.is-in) { opacity: 0; transform: translateY(10px) scale(.98); }
@keyframes px-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* 2. Tres pasos */
.px-steps-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr; column-gap: 32px; row-gap: 0; }
/* Subgrid: número, título, texto y pantalla quedan en la misma línea en las tres columnas. */
.px-step { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; min-width: 0; }
.px-step.is-run { animation: px-rise .6s ease-out both; animation-delay: calc(var(--i) * 120ms); }
.px-step-n { display: grid; place-items: center; flex: none; font: 700 14px/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.px-step-head h3 { margin: 0; }

/* Número en círculo a la izquierda del título, con una línea fina arriba de cada paso. */
.px-step-head { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--hairline-strong); }
.px-step-n.px-step-n { width: 30px; height: 30px; border-radius: 999px; background: var(--text); color: #fff; }

.px-step h3 { font-size: 22px; font-weight: 750; letter-spacing: -.01em; color: var(--title); }
.px-step p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 1.45; max-width: 34ch; }
.px-mini { margin-top: 8px; height: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 264px; }
.px-mini-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.px-mini-head strong { font-size: 14px; color: var(--title); }
.px-mini-head span { font-size: 12px; color: var(--text-tertiary); }
.px-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.px-field span { font-size: 11px; font-weight: 600; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .05em; }
.px-field b { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md); font-weight: 600; font-size: 14px; color: var(--text); background: var(--surface-soft); }
.px-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.px-caret { width: 1.5px; height: 16px; margin-left: 2px; background: var(--action); animation: px-blink 1s steps(1) infinite; }
.px-mini-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text); }
.px-mini-row b { font-variant-numeric: tabular-nums; }
.px-mini-total { padding-top: 8px; border-top: 1px dashed var(--hairline-strong); font-weight: 700; }
.px-strong { font-weight: 700; color: var(--success); }
.px-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.px-pay span { text-align: center; padding: 8px 0; border-radius: 999px; background: var(--fill); font-size: 13px; font-weight: 600;
  color: var(--text-secondary); transition: background .3s ease, color .3s ease; }
.px-pay span.is-on { background: var(--text); color: #fff; }
.px-reveal { opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.px-reveal.is-in { opacity: 1; transform: none; }
.px-toast { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: var(--success-subtle); color: var(--success); font-size: 13px; font-weight: 650;
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.px-toast.is-in { opacity: 1; transform: none; }
.px-ok { width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: var(--success);
  color: #fff; font-size: 11px; flex: none; }
@keyframes px-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes px-blink { 50% { opacity: 0; } }

/* 3. Antes y después */
.px-ad-split { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hairline-strong);
  border-radius: var(--r-xl); overflow: hidden; min-height: 400px; }
.px-ad-before { position: relative; background: var(--surface-canvas); padding: 20px; overflow: hidden; }
.px-ad-after { position: relative; background: var(--text); color: #fff; padding: 20px; display: flex; flex-direction: column; }
.px-ad-label { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.px-ad-label span { font-size: 22px; font-weight: 750; letter-spacing: -.01em; }
.px-ad-before .px-ad-label span { color: var(--title); }
.px-ad-label b { font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; }
.px-ad-before .px-ad-label b { background: var(--danger-subtle); color: var(--danger); }
.px-ad-after .px-ad-label b { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.px-notes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 64px 16px 16px; }
.px-note { position: absolute; left: var(--x); top: var(--y); width: min(46%, 220px); padding: 10px 12px; border-radius: 6px;
  background: #fffdf3; border: 1px solid #ece4c4; box-shadow: 0 6px 16px rgba(15,35,60,.08); transform: rotate(var(--r));
  font-size: 14px; line-height: 1.3; color: #3a3424; }
.px-note small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9a8b56; }
.px-note.is-alert { background: #fff4f2; border-color: #f2d1cb; color: #6d2a20; }
.px-note.is-alert small { color: var(--danger); }
.is-seen .px-note { animation: px-drop .5s ease-out both, px-jitter 5s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms), calc(1s + var(--i) * 300ms); }
.px-ad-calm { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; max-width: 360px; margin: 24px auto 0; width: 100%; }
.px-calm-toast { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.px-calm-caption { margin: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.px-calm-total { margin: 0; font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.px-calm-split { margin: 14px 0 0; display: flex; flex-direction: column; }
.px-calm-split div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.px-calm-split dt { color: rgba(255,255,255,.72); }
.px-calm-split dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.px-calm-diff dd { color: #8ee6b0; }
.px-calm-note { margin: 12px 0 0; font-size: 11px; color: rgba(255,255,255,.5); }
.px-ad-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@keyframes px-drop { from { opacity: 0; transform: translateY(-14px) rotate(calc(var(--r) * 3)); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes px-jitter { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: rotate(calc(var(--r) * -1)) translateY(-2px); } }

@media (max-width: 900px) {
  .px-steps-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 40px; }
  .px-step { grid-row: auto; grid-template-rows: none; }
  .px-mini { min-height: 0; }
  .px-ad-split { grid-template-columns: 1fr; }
  .px-notes { position: static; display: flex; flex-wrap: wrap; gap: 12px 10px; margin-top: 18px; }
  .px-note { position: relative; left: auto; top: auto; width: calc(50% - 5px); font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-step.is-run, .is-seen .px-note, .px-qty { animation: none; }
  .px-line, .px-reveal, .px-toast, .px-paid { transition: none; }
}
.px-live .pv-catalog-footer { padding-right: 32px; }

/* 4. Formas de cobro: entran escalonadas y se turnan. */
.px-pay-live li { transition: opacity .35s ease, transform .35s ease; }
.px-pay-live .payment-mark { transition: transform .35s var(--ease-out-quint); }
.px-pay-live.is-seen li { animation: px-rise .6s ease-out both; animation-delay: calc(var(--i) * 120ms); }
.px-pay-live li:not(.is-active) { opacity: .55; }
.px-pay-live li.is-active .payment-mark { transform: translateY(-6px) scale(1.06); }
.px-pay-status { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 26px; padding: 0 10px;
  border-radius: 999px; background: var(--success-subtle); color: var(--success); font-size: 12px; font-weight: 650; text-align: center;
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.px-pay-status i { font-style: normal; }
.px-pay-live li.is-active .px-pay-status { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .px-pay-live li:not(.is-active) { opacity: 1; } .px-pay-live li .px-pay-status { opacity: 1; transform: none; } .px-pay-live.is-seen li { animation: none; } }
@media (max-width: 810px) { .px-pay-status { font-size: 11px; padding: 0 8px; } }

/* 5. La caja: cuadrícula asimétrica */
.px-bx .center { text-align: center; }
.px-bx .center .h2 { margin: 12px auto 0; }
.px-bx-grid { margin-top: 40px; display: grid; border-top: 1px solid var(--hairline); }
.px-bx-cell { min-width: 0; padding: 32px; border-bottom: 1px solid var(--hairline); }
.px-bx-copy h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--title); text-wrap: balance; }
.px-bx-copy p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-secondary); max-width: 52ch; }
.px-bx-card { min-height: 0; gap: 12px; }
.px-bx-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.px-bx-head strong { font-size: 14px; color: var(--title); }
.px-bx-head > span:last-child:not(.px-bx-badge) { margin-left: auto; font-size: 12px; color: var(--text-tertiary); }
.px-bx-badge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-subtle); color: var(--action); flex: none; }
.px-bx-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.px-bx-cash { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.px-bx-cash small { font-size: 12px; color: var(--text-tertiary); }
.px-bx-big { margin: 2px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--title); line-height: 1; }
.px-bx-big span { font-size: 22px; }
.px-bx-rows { display: flex; flex-direction: column; gap: 10px; }
.px-bx-action { margin-top: auto; display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 16px;
  border-radius: var(--r-md); background: var(--action); color: #fff; font-size: 14px; font-weight: 650; }
.px-bx-action.is-press { animation: px-press .5s ease 1.2s both; }
.px-bx-discount { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: var(--r-md); background: var(--accent-subtle);
  color: var(--action); font-size: 14px; font-weight: 600; }
.px-bx-note { margin: auto 0 0; font-size: 12px; color: var(--text-tertiary); }
.px-bx-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.px-bx-item strong { display: block; font-size: 14px; color: var(--title); }
.px-bx-item small, .px-bx-customer small { font-size: 12px; color: var(--text-tertiary); }
.px-bx-item b { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--title); }
.px-bx-dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--fill); color: var(--text-secondary); font-size: 14px; }
.px-bx-customer { display: flex; align-items: center; gap: 12px; }
.px-bx-customer strong { display: block; font-size: 15px; color: var(--title); }
.px-bx-avatar { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--fill); font-size: 12px; font-weight: 700; color: var(--text); }
.px-bx-files { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.px-bx-files span { margin-left: 6px; font-size: 12px; color: var(--text-tertiary); line-height: 1.35; }
.px-bx-files b { color: var(--warning); font-weight: 600; }
.px-bx-in { transition: opacity .45s ease var(--d, 300ms), transform .45s ease var(--d, 300ms); }
.px-bx-in:not(.is-in) { opacity: 0; transform: translateY(8px); }
@keyframes px-press { 40% { transform: scale(.97); filter: brightness(.92); } }

/* B: asimétrica; cobro y cliente ocupan dos columnas con la tarjeta al lado del texto. */
.px-bx-b .px-bx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-bx-b .px-bx-cell { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.px-bx-b .px-bx-cobro, .px-bx-b .px-bx-cliente { grid-column: span 2; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: none; align-items: center; gap: 32px; }
.px-bx-b .px-bx-cobro, .px-bx-b .px-bx-devolucion { border-right: 1px solid var(--hairline); }
.px-bx-b .px-bx-card { height: 100%; box-sizing: border-box; min-height: 232px; }
.px-bx-b .px-bx-cobro .px-bx-big { font-size: 52px; }
.px-bx-b :is(.px-bx-cobro, .px-bx-cliente) .px-bx-card { height: auto; min-height: 0; }

@media (max-width: 900px) {
  .px-bx-b .px-bx-grid { grid-template-columns: 1fr; }
  .px-bx-b .px-bx-cobro, .px-bx-b .px-bx-cliente { grid-column: auto; grid-template-columns: 1fr; }
  .px-bx-cell { padding: 24px 0; border-right: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .px-bx-in { transition: none; } .px-bx-in:not(.is-in) { opacity: 1; transform: none; } .px-bx-action.is-press { animation: none; } }
/* Al llegar, cada tarjeta de La caja sube escalonada; al pasar el cursor se levanta un poco. */
.px-bx-cell .px-bx-card { transition: transform .3s var(--ease-out-quint), box-shadow .3s var(--ease-out-quint); }
.px-bx-cell:hover .px-bx-card { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.px-bx .px-bx-card.px-bx-rise { animation: px-rise .6s ease-out backwards; }
@media (prefers-reduced-motion: reduce) { .px-bx-cell:hover .px-bx-card { transform: none; } .px-bx .px-bx-card.px-bx-rise { animation: none; } }
/* «Con urdo» con los colores de la marca: fondo de las bandas oscuras, azul urdo y verde urdo. */
.px-ad-after { background: radial-gradient(120% 90% at 100% 0%, rgba(66,114,255,.28), transparent 60%), var(--lp-dark-surface); color: var(--lp-dark-text); }
.px-ad-after .px-ad-label b { background: rgba(66,114,255,.2); color: #b7c9ff; }
.px-calm-toast { background: rgba(66,114,255,.16); border: 1px solid rgba(66,114,255,.32); }
.px-calm-toast .px-ok { background: var(--brand-blue); color: #fff; }
.px-calm-caption, .px-calm-split dt { color: var(--lp-dark-text-secondary); }
.px-calm-split div { border-top-color: var(--lp-dark-hairline-strong); }
.px-calm-diff dd { color: var(--brand-green); }
/* Caja viva en teléfono: tres tarjetas escalonadas sin encimarse (catálogo arriba, ticket a la derecha, cobro abajo a la izquierda). */
@media (max-width: 639px) {
  .hero-stage:has(.px-live) { height: 440px; }
  .pv-hero.pv-jornada.px-live .pv-hero-main { left: 0; top: 6px; width: 86%; padding: 16px; --rot: -2deg; }
  .pv-hero.pv-jornada.px-live .pv-hero-side { right: 0; top: 176px; width: 56%; padding: 12px; --rot: 3deg; }
  .pv-hero.pv-jornada.px-live .pv-hero-small { left: 2%; top: 296px; bottom: auto; width: 45%; padding: 12px 14px; --rot: -3deg; }
  .px-live .pv-hero-small .pv-paid-head strong { font-size: 13px; }
  .px-live .pv-hero-small .pv-paid-head > div > span { font-size: 10.5px; }
  .px-live .pv-hero-small .pv-row { font-size: 12px; }
}
/* Teléfono (< 640 px): pestañas arriba y una tarjeta que cambia cada 3 s (Tres pasos, La caja, Antes y después);
   Seguridad como lista que se abre. En computadora no cambia nada. */
.mv-chips { display: none; }
@keyframes mv-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) {
  .mv-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 20px calc(-1 * var(--lp-gutter)) 16px; padding: 0 var(--lp-gutter); }
  .mv-chips::-webkit-scrollbar { display: none; }
  .mv-chips button { position: relative; flex: none; overflow: hidden; padding: 8px 14px; border: 1px solid var(--hairline-strong); border-radius: 999px; background: var(--surface); font: inherit; font-size: 13px; font-weight: 600; color: var(--text-secondary); text-align: center; }
  .mv-chips button.is-on { background: var(--text); border-color: var(--text); color: #fff; }
  .mv-progress { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); transform-origin: left; animation: mv-progress linear forwards; }
  .mv-b { display: grid; margin: 0; padding: 0; border: 0; }
  /* Todas las tarjetas ocupan la misma celda: la sección mide lo que la más alta y no empuja la página al cambiar. */
  .mv-b > .mv-item { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; visibility: hidden; }
  .mv-b > .mv-item.is-on { visibility: visible; animation: mv-in .4s ease both; }
  .px-steps-grid.mv-b .px-step-head { border-top: 0; padding-top: 0; }
  .px-bx-grid.mv-b > .mv-item { padding: 0; border: 0; }
  .px-bx-grid.mv-b > .mv-item > .px-bx-card { margin-top: 4px; }
  .px-ad-split.mv-b > .mv-item { min-height: 410px; border-radius: 14px; }
  .px-ad-split.mv-b > .px-ad-before { border: 1px solid var(--hairline-strong); }
  .px-ad-split.mv-b { overflow: visible; border-radius: 14px; }
  .px-ad-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--lp-gutter)); padding-inline: var(--lp-gutter); }
  .px-ad-pills::-webkit-scrollbar { display: none; }
  .px-ad-pills .pill { flex: none; }

  .security-grid-motion.mv-c { display: flex; flex-direction: column; border: 0; }
  .security-grid-motion.mv-c > .security-trace, .security-grid-motion.mv-c > .mark { display: none; }
  .security-grid-motion.mv-c > .sec-cell { display: grid; grid-template-columns: 24px 1fr 26px; column-gap: 12px; row-gap: 8px; align-items: center; min-height: 0; padding: 16px 0; border: 0; border-top: 1px solid var(--lp-dark-hairline-strong); cursor: pointer; opacity: 1; }
  .security-grid-motion.mv-c > .sec-cell:last-of-type { border-bottom: 1px solid var(--lp-dark-hairline-strong); }
  .security-grid-motion.mv-c .sec-cell .ico { grid-column: 1; margin: 0; width: 22px; height: 22px; }
  .security-grid-motion.mv-c .sec-cell h3 { grid-column: 2; margin: 0; font-size: 17px; }
  .security-grid-motion.mv-c .sec-cell::after { content: "+"; grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 17px; transition: transform .25s, background-color .25s; }
  .security-grid-motion.mv-c .sec-cell.is-on::after { transform: rotate(45deg); background: var(--brand-blue); }
  .security-grid-motion.mv-c .sec-cell p { grid-column: 2 / 4; margin: 0; }
  .security-grid-motion.mv-c .sec-cell:not(.is-on) p { display: none; }
  .security-grid-motion.mv-c .sec-cell.is-on p { animation: mv-in .35s ease both; }
  .security-grid-motion.mv-c .sec-cell:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}
/* Teléfono, resto de la landing: misma regla (B pestañas con una tarjeta, C lista que se abre, listas compactas). */
@media (max-width: 639px) {
  /* Portada · Facturación: la lista de estados manda y solo se ve la tarjeta de ese estado. */
  #facturacion .stack { min-height: 340px; display: grid; align-items: center; }
  #facturacion .stack > .stack-card { grid-area: 1 / 1; width: 100%; transition: opacity .35s ease, transform .35s ease; }
  #facturacion .stack:is([data-step="0"], [data-step="1"]) > .stack-card:not(.sc1),
  #facturacion .stack[data-step="2"] > .stack-card:not(.sc2),
  #facturacion .stack[data-step="3"] > .stack-card:not(.sc3) { opacity: 0; transform: translateY(10px); pointer-events: none; }
  /* Portada · Tu empresa: la pestaña y su tarjeta bastan; las viñetas se quedan en computadora. */
  #tu-empresa .bullets-wrap { display: none; }
  /* Portada · Sin internet: las notas en una sola fila deslizable. */
  #sin-internet .ms-facts { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--lp-gutter)); padding-inline: var(--lp-gutter); }
  #sin-internet .ms-facts::-webkit-scrollbar { display: none; }
  #sin-internet .ms-facts > * { flex: none; }
  #sin-internet .ms-facts .pill { white-space: nowrap; }
}
/* Formas de cobro en teléfono: el aviso del cobro cabe sin apretarse en su columna. */
@media (max-width: 639px) {
  .px-pay-live .px-pay-status { font-size: 11px; line-height: 1.3; padding: 6px 10px; gap: 6px; text-align: left; }
}
/* Teléfono sin deslizar de lado (elegido por Rogelio): giros en cuadrícula de 2, píldoras y notas
   fuera (repiten la sección), pestañas de Sin internet en tres partes iguales y las de La caja en 2 × 2. */
@media (max-width: 639px) {
  #negocios .editorial-carousel-controls { display: none !important; }
  #negocios .editorial-track { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; scroll-snap-type: none; padding: 0; margin: 16px 0 0; }
  #negocios .editorial-track::before, #negocios .editorial-track::after { display: none; content: none; }
  #negocios .editorial-slide { width: auto; max-width: none; flex: none; scroll-snap-align: none; margin: 0; }
  #negocios .editorial-card-image { min-height: 0; aspect-ratio: 1; border-radius: 14px; }
  #negocios .editorial-card-image h3 { font-size: 16px; line-height: 1.2; }
  #negocios .editorial-card-copy { display: none; }
  #sin-internet .ms-facts, .px-ad-pills { display: none; }
  #caja .mv-chips { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.ms-short { display: none; font-style: normal; }
/* Sin internet en teléfono (elegido por Rogelio): sin el cuadro blanco, como La caja de arriba,
   y las pestañas como píldoras chicas sobre la imagen, igual que Tres pasos y La caja. */
@media (max-width: 639px) {
  #sin-internet .ms-card { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  #sin-internet .ms-body { display: flex; flex-direction: column; }
  #sin-internet .ms-line { display: none; }
  #sin-internet .ms-opts { order: -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 22px 0 14px; background: none; border: 0; border-radius: 0; overflow: visible; }
  #sin-internet .ms-opt { position: relative; display: block; flex: none; width: auto; min-width: 0; min-height: 0; padding: 8px 14px; border: 1px solid var(--hairline-strong); border-radius: 999px; background: var(--surface); box-shadow: none; }
  #sin-internet .ms-opt > svg, #sin-internet .ms-opt > span { display: none; }
  #sin-internet .ms-short { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
  #sin-internet .ms-opt[aria-selected="true"] { background: var(--text); border-color: var(--text); }
  #sin-internet .ms-opt[aria-selected="true"] .ms-short { color: #fff; }
}
/* Pestañas de teléfono: una sola columna siempre (ver subpages.css). */
@media (max-width: 639px) { .mv-b { grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row; } .mv-b > .mv-item { width: auto !important; max-width: none !important; min-width: 0; } }
/* Formas de cobro: en teléfono el aviso va en un solo renglón debajo de las tres columnas. */
/* Igual en iPad y computadora: el aviso de cada columna no cabía en un renglón (se partía en 2 o 3). */
.px-pay-live .px-pay-status { display: none; }
.px-pay-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px auto 0; width: fit-content; max-width: 100%; padding: 8px 14px; border-radius: 999px; background: var(--success-subtle); color: var(--success); font-size: 13px; font-weight: 600; }
.px-pay-line i { font-style: normal; }
.px-pay-line span { animation: mv-in .35s ease both; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .px-pay-line span { animation: none; } }
/* iPad: el logo de Mercado Pago es más alto que su caja y tapaba «Point y QR». */
@media (min-width: 811px) { .payment-mark { height: clamp(6.5rem, 8vw, 7.15rem); } }
/* iPad vertical (hasta el de 13 in): texto arriba y las tres formas a todo lo ancho, como en teléfono. */
@media (min-width: 811px) and (max-width: 1099px) {
  .payment-band { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .payment-band-copy h2 { max-width: 22ch; }
  .payment-brandline { padding-block: 1.25rem; border-block: 1px solid var(--pay-line); }
}
