/* Sabor Tropical · frente de sitio: membresías, tickets promocionales y estados.
   Se apoya en los tokens de /assets/style.css. Objetivo: contraste AA, foco visible,
   objetivos táctiles de 44 px y lectura cómoda en móvil. */

.mb-shell { min-height: 70vh; }

/* ── Encabezados ───────────────────────────────────────────────────────── */
.mb-hero { position: relative; overflow: hidden; padding: 52px 0 42px; border-bottom: 1px solid rgba(242,181,68,.2); background: radial-gradient(circle at 88% 0, rgba(255,138,31,.26), transparent 42%), linear-gradient(145deg, #123b4c, #071820); }
.mb-hero h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 9vw, 4.6rem); }
.mb-hero p { max-width: 720px; color: var(--muted); }
.mb-hero--prize { display: flex; align-items: end; min-height: 320px; background: linear-gradient(90deg, rgba(7,24,32,.97), rgba(7,24,32,.72)), url('/media/img/premio-3.webp') center/cover; }
.mb-kicker { margin: 0 0 10px; color: var(--gold); font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.mb-muted { color: var(--muted); }
.mb-small { font-size: .82rem; }
.mb-price-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px; border: 1px solid rgba(242,181,68,.5); border-radius: 999px; background: rgba(7,24,32,.82); font-size: .74rem; font-weight: 900; line-height: 1.25; text-transform: uppercase; }
.mb-price-pill strong { color: var(--gold); font: 400 2.1rem/1 "Lilita One", sans-serif; }

/* ── Avisos ────────────────────────────────────────────────────────────── */
.mb-aviso { margin: 0 0 20px; padding: 15px 17px; border: 1px solid rgba(242,181,68,.45); border-radius: 14px; background: rgba(242,181,68,.09); color: #fff3cf; }
.mb-aviso h2 { margin: 0 0 6px; font-size: 1.2rem; }
.mb-aviso p:last-child { margin-bottom: 0; }
.mb-aviso--danger { border-color: rgba(255,105,80,.55); background: rgba(232,70,30,.14); color: #ffd7ce; }
.mb-aviso--info { border-color: rgba(47,143,224,.5); background: rgba(47,143,224,.12); color: #dbeafe; }
.mb-aviso--demo { border-style: dashed; }
.mb-aviso--demo::before { content: "Modo demostración · "; font-weight: 900; }
.mb-bloqueo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── Rejilla de niveles ────────────────────────────────────────────────── */
/* Dos columnas en móvil (objetivo táctil de la tarjeta ≥ 44 px); 3–5 en escritorio. */
.mb-niveles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.mb-nivel { position: relative; display: block; min-width: 0; padding: 0; border: 2px solid rgba(242,181,68,.28); border-radius: 18px; background: linear-gradient(155deg, rgba(23,62,80,.96), rgba(11,31,42,.96)); cursor: pointer; }
.mb-nivel__input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.mb-nivel__body { display: grid; gap: 4px; padding: 12px 11px 13px; }
.mb-nivel__orden { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mb-nivel__nombre {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-family: "Lilita One", Impact, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.12;
}
.mb-nivel__precio { overflow-wrap: anywhere; color: var(--gold); font-family: "Lilita One", Impact, sans-serif; font-size: clamp(1.35rem, 5vw, 1.55rem); line-height: 1; }
.mb-nivel__desc { color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1.35; }
.mb-nivel__beneficios { margin: 0; color: var(--muted); font-size: .86rem; }
.mb-nivel__check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}
.mb-nivel__check svg { width: 15px; height: 15px; }
.mb-nivel:hover { border-color: var(--gold); }
.mb-nivel:has(.mb-nivel__input:checked) { border-color: var(--gold); background: linear-gradient(155deg, rgba(242,181,68,.2), rgba(11,31,42,.98)); box-shadow: 0 0 0 2px rgba(242,181,68,.4); }
.mb-nivel:has(.mb-nivel__input:checked) .mb-nivel__check { display: grid; }
.mb-nivel:has(.mb-nivel__input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.mb-nivel--estatico { cursor: default; }
.mb-nivel--estatico:hover { border-color: rgba(242,181,68,.28); }

/* Tarjetas de la landing: nivel, nombre, precio y tres datos, con CTA propio. */
.mb-niveles--landing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.mb-nivel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
  padding: 14px 12px 14px;
  border: 1px solid rgba(242,181,68,.3);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(23,62,80,.96), rgba(11,31,42,.96));
}
.mb-nivel-card--inactivo { opacity: .7; }
.mb-nivel-card__badge { align-self: start; margin: 0; padding: 3px 9px; border-radius: 999px; background: rgba(242,181,68,.16); color: var(--gold); font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mb-nivel-card__orden { margin: 0; color: var(--gold); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mb-nivel-card__nombre { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; margin: 0; font-size: 1.12rem; line-height: 1.12; }
.mb-nivel-card__precio { overflow-wrap: anywhere; margin: 0; color: var(--gold); font: 400 clamp(1.4rem, 5vw, 1.6rem)/1 "Lilita One", Impact, sans-serif; }
.mb-nivel-card__datos { display: flex; flex-wrap: wrap; gap: 3px 8px; margin: 0; padding: 0; color: var(--muted); font-size: .76rem; font-weight: 800; list-style: none; }
.mb-nivel-card__datos li { margin: 0; }
.mb-nivel-card__datos li + li::before { content: "·"; margin-right: 8px; color: rgba(242,181,68,.7); }
.mb-nivel-card__cta { width: 100%; min-height: 44px; margin-top: auto; padding: 9px 10px; font-size: .86rem; }
.mb-nivel-card__cta[aria-disabled="true"] { opacity: .6; pointer-events: none; }

@media (min-width: 640px) {
  .mb-niveles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .mb-niveles--landing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-nivel__body { padding: 16px 16px 18px; }
  .mb-nivel__nombre { font-size: 1.3rem; }
  .mb-nivel__precio { font-size: 1.9rem; }
  .mb-nivel__desc { font-size: .8rem; }
}
@media (min-width: 1000px) {
  .mb-niveles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mb-niveles--landing { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1360px) {
  .mb-niveles--landing { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ── Tabla comparativa ────────────────────────────────────────────────── */
.mb-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #071820; }
.mb-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9rem; }
.mb-table caption { padding: 14px 16px; color: var(--muted); font-size: .82rem; text-align: left; }
.mb-table th, .mb-table td { padding: 12px 14px; border-top: 1px solid rgba(242,181,68,.18); text-align: left; vertical-align: top; }
.mb-table thead th { color: var(--gold); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(242,181,68,.07); }
.mb-table tbody th { color: var(--text); font-weight: 900; white-space: nowrap; }
.mb-table tbody tr:hover { background: rgba(242,181,68,.05); }

/* ── Landing de venta ─────────────────────────────────────────────────── */
.mb-landing__hero { padding: 40px 0 44px; }
.mb-landing__hero-grid { display: grid; gap: 24px; align-items: center; }
.mb-landing__hero h1 { max-width: 18ch; margin: 0 0 14px; font-size: clamp(2.05rem, 8.4vw, 4.2rem); text-wrap: balance; }
.mb-landing__lead { max-width: 620px; margin: 0; color: #e4edef; font-size: clamp(1rem, 3vw, 1.14rem); }
.mb-landing__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.mb-landing__cta .btn { min-height: 48px; }
.mb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mb-chip-trust { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 12px; border: 1px solid rgba(242,181,68,.45); border-radius: 999px; background: rgba(7,24,32,.78); color: var(--text); font-size: .78rem; font-weight: 900; }
.mb-chip-trust svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--gold); }
.mb-chip-trust b { color: var(--gold); }
.mb-landing__hero-media { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #071820; box-shadow: var(--shadow); }
.mb-landing__hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 58%; }

.mb-pasos, .mb-beneficios-grid { display: grid; gap: 14px; margin-top: 22px; }
.mb-paso, .mb-beneficio { padding: 20px 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(155deg, rgba(23,62,80,.94), rgba(11,31,42,.96)); }
.mb-paso__icono, .mb-beneficio__icono { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 14px; background: rgba(242,181,68,.14); color: var(--gold); }
.mb-paso__icono svg, .mb-beneficio__icono svg { width: 24px; height: 24px; }
.mb-paso__numero { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 0 0 6px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 900; }
.mb-paso h3, .mb-beneficio h3 { margin: 0 0 6px; font-size: 1.25rem; }
.mb-paso p:last-child, .mb-beneficio p:last-child { margin: 0; color: var(--muted); }
.mb-landing__premio-texto { color: #e4edef; }
.mb-faq { display: grid; gap: 10px; margin-top: 22px; }
.mb-faq details { padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,24,32,.6); }
.mb-faq summary { min-height: 48px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 900; }
.mb-faq summary::marker { color: var(--gold); }
.mb-faq p { margin: 0 0 15px; color: var(--muted); }
.mb-comparar { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,24,32,.6); }
.mb-comparar summary { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; color: var(--gold); cursor: pointer; font-weight: 900; }
.mb-comparar summary::marker { color: var(--gold); }
.mb-comparar[open] summary { border-bottom: 1px solid rgba(242,181,68,.2); }
.mb-comparar > div { padding: 14px 12px 12px; }
.mb-final__caja { padding: 34px 20px; border: 1px solid rgba(242,181,68,.5); border-radius: 24px; background: radial-gradient(circle at 88% 0, rgba(255,138,31,.3), transparent 46%), linear-gradient(145deg, #15455a, #071820); text-align: center; }
.mb-final__caja .section-title { margin-bottom: 10px; }
.mb-final__caja .btn { min-height: 48px; margin-top: 8px; }

/* ── Barra fija inferior (solo móvil) ─────────────────────────────────── */
.mb-fija {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(242,181,68,.5);
  background: rgba(7,24,32,.97);
  box-shadow: 0 -10px 30px rgba(0,0,0,.4);
  text-decoration: none;
}
.mb-fija__texto { min-width: 0; font-size: .86rem; font-weight: 900; line-height: 1.25; }
.mb-fija__texto b { color: var(--gold); }
.mb-fija__accion { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--grad); color: #25130b; font-weight: 900; white-space: nowrap; }
.mb-fija--compra .btn { flex: 0 0 auto; min-height: 44px; }
@media (max-width: 639px) {
  body.mb-barra-visible { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  body.mb-barra-visible .wa-float.chrome-whatsapp { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 640px) {
  .mb-fija { display: none; }
}

@media (min-width: 700px) {
  .mb-landing__hero-grid { grid-template-columns: 1.15fr .85fr; gap: 34px; }
  .mb-landing__hero-media img { aspect-ratio: 3 / 4; }
  .mb-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mb-beneficios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .mb-beneficios-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Compra ───────────────────────────────────────────────────────────── */
.mb-compra { display: grid; gap: 20px; }
.mb-panel { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(155deg, rgba(23,62,80,.94), rgba(11,31,42,.96)); }
.mb-panel h2 { margin: 0 0 8px; font-size: 1.5rem; }
.mb-panel legend { padding: 0; font-size: 1.5rem; }
.mb-panel fieldset { margin: 0; padding: 0; border: 0; }
.mb-detalle { margin-top: 16px; padding: 16px; border: 1px solid rgba(242,181,68,.35); border-radius: 16px; background: rgba(7,24,32,.55); scroll-margin-top: calc(var(--chrome-header-h, 76px) + 16px); }
.mb-detalle h2 { font-size: 1.25rem; }
.mb-detalle__precio { margin: 4px 0 6px; color: var(--gold); font: 400 2rem/1 "Lilita One", sans-serif; }
.mb-beneficios { margin: 10px 0; padding-left: 20px; }
.mb-beneficios li { margin-bottom: 4px; }
.mb-resumen { display: grid; gap: 6px; margin: 16px 0; padding: 16px; border: 1px solid rgba(242,181,68,.4); border-radius: 16px; background: #071820; }
.mb-resumen__fila { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mb-resumen__fila strong { color: var(--gold); }
.mb-resumen__total strong { font: 400 1.9rem/1 "Lilita One", sans-serif; }
.mb-resumen p { margin: 0; }

/* ── Formulario ───────────────────────────────────────────────────────── */
.mb-form { display: grid; gap: 18px; }
.mb-grid-2 { display: grid; gap: 14px; }
.mb-campo { display: grid; gap: 6px; }
.mb-campo label, .mb-etiqueta { font-size: .84rem; font-weight: 900; }
.mb-campo input, .mb-campo select, .mb-campo textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(242,181,68,.3); border-radius: 12px; outline: 0; background: #071d27; color: var(--text); }
.mb-campo textarea { min-height: 92px; resize: vertical; }
.mb-campo input:focus, .mb-campo select:focus, .mb-campo textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,181,68,.16); }
.mb-campo [aria-invalid="true"] { border-color: #ff856d; box-shadow: 0 0 0 3px rgba(232,70,30,.18); }
.mb-error { margin: 0; color: #ffad9c; font-size: .78rem; font-weight: 800; }
.mb-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .92rem; }
.mb-check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--orange); }
.mb-pagos { display: grid; gap: 10px; }
.mb-pagos label { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,24,32,.5); cursor: pointer; }
.mb-pagos label:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,181,68,.2); }
.mb-pagos input { width: 20px; height: 20px; accent-color: var(--orange); }
.mb-enviar { width: 100%; min-height: 52px; }
.mb-turnstile { min-height: 65px; overflow: hidden; }

/* ── Selector de tickets ───────────────────────────────────────────────── */
.mb-selector { min-width: 0; padding: 17px; border: 1px solid rgba(242,181,68,.3); border-radius: 17px; background: rgba(7,24,32,.5); }
.mb-selector__cabecera { display: grid; gap: 10px; }
.mb-selector__cabecera h3 { margin: 0; font-size: 1.25rem; }
.mb-buscar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 12px; }
.mb-buscar .mb-etiqueta { grid-column: 1 / -1; }
.mb-buscar .btn { min-height: 46px; min-width: 112px; padding: 10px 20px; font-size: 1rem; white-space: nowrap; }
.mb-buscar input { min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(242,181,68,.3); border-radius: 12px; background: #071d27; color: var(--text); }
.mb-bloques { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; align-items: end; margin: 14px 0 10px; }
.mb-bloques select { min-height: 46px; padding: 10px 12px; border: 1px solid rgba(242,181,68,.3); border-radius: 12px; background: #071d27; color: var(--text); }
.mb-flecha { min-width: 44px; min-height: 46px; padding: 0; border: 1px solid rgba(242,181,68,.35); border-radius: 12px; background: var(--surface); color: var(--gold); font-size: 1.6rem; font-weight: 900; cursor: pointer; }
.mb-flecha:disabled { opacity: .4; cursor: not-allowed; }
.mb-grid-numeros { max-height: 320px; display: grid; grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 7px; overflow-y: auto; padding: 3px 5px 10px 1px; overscroll-behavior: contain; }
.mb-celda { min-width: 44px; min-height: 44px; padding: 2px; border: 1px solid rgba(242,181,68,.32); border-radius: 10px; background: #0f3545; color: var(--text); font-size: .75rem; font-weight: 900; cursor: pointer; }
.mb-celda:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mb-celda[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(135deg, var(--gold), var(--orange)); color: #071820; }
.mb-celda:disabled { background: #091b23; color: #7f959e; cursor: not-allowed; text-decoration: line-through; }
.mb-seleccion { display: flex; flex-wrap: wrap; gap: 7px; min-height: 36px; margin-top: 8px; }
.mb-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 10px; border: 1px solid rgba(242,181,68,.45); border-radius: 999px; background: rgba(242,181,68,.12); color: var(--gold); font-weight: 900; }
.mb-chip__quitar { width: 24px; height: 24px; min-height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: inherit; line-height: 1; cursor: pointer; }
.mb-contador { margin: 12px 0 0; color: #fff3cf; font-weight: 900; }

/* ── Estados del pedido ────────────────────────────────────────────────── */
.mb-estados { display: grid; gap: 10px; margin: 18px 0; }
.mb-estado { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #071820; }
.mb-estado::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 9px; border-radius: 4px; background: var(--gold); }
.mb-estado[data-tono="ok"]::before { background: #79d570; }
.mb-estado[data-tono="error"]::before { background: #ff856d; }
.mb-estado[data-tono="pendiente"]::before { background: var(--gold); }
.mb-estado h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mb-estado p { margin: 0; font-weight: 800; }
.mb-estado[data-tono="ok"] p { color: #d9f5d3; }
.mb-estado[data-tono="error"] p { color: #ffd1c7; }
.mb-detalle-pedido { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; gap: 8px 14px; margin: 0; }
.mb-detalle-pedido dt { color: var(--muted); font-size: .8rem; font-weight: 800; }
.mb-detalle-pedido dd { margin: 0; overflow-wrap: anywhere; font-weight: 800; }
.mb-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mb-numero { padding: 10px 4px; border: 1px solid rgba(242,181,68,.45); border-radius: 10px; background: #071820; color: var(--gold); font-weight: 900; text-align: center; }
.mb-cuenta { color: var(--gold); font: 400 1.8rem/1 "Lilita One", sans-serif; }
.mb-subida { padding: 20px; border: 2px dashed rgba(242,181,68,.45); border-radius: 16px; background: rgba(7,24,32,.45); text-align: center; }
.mb-subida input { width: 100%; margin-top: 12px; }
.mb-subida progress { width: 100%; height: 10px; margin-top: 12px; accent-color: var(--orange); }

/* ── Condiciones del premio ────────────────────────────────────────────── */
.mb-condiciones { display: grid; gap: 14px; margin-top: 16px; }
.mb-condicion { padding: 18px; border: 1px solid rgba(242,181,68,.3); border-radius: 16px; background: rgba(7,24,32,.55); }
.mb-condicion h3 { margin: 0 0 6px; font-size: 1.2rem; }
.mb-condicion p { margin: 0; color: var(--muted); }
.mb-condicion__marca { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(242,181,68,.16); color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

/* ── Galería del premio ────────────────────────────────────────────────── */
.mb-galeria { min-width: 0; }
.mb-galeria__principal { position: relative; padding: 0; border: 0; border-radius: 20px; background: #071820; overflow: hidden; }
.mb-galeria__principal img { width: 100%; height: auto; max-height: 460px; aspect-ratio: 3 / 4; display: block; object-fit: contain; }
.mb-galeria__miniaturas { display: grid; grid-template-columns: repeat(6, 72px); gap: 8px; overflow-x: auto; padding: 9px 1px 3px; }
.mb-galeria__miniaturas button { width: 72px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #071820; overflow: hidden; cursor: pointer; }
.mb-galeria__miniaturas button[aria-pressed="true"] { border-color: var(--gold); }
.mb-galeria__miniaturas img { width: 100%; height: 100%; display: block; object-fit: cover; }

@media (min-width: 700px) {
  .mb-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-pagos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-estados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mb-numeros { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mb-grid-numeros { grid-template-columns: repeat(10, minmax(44px, 1fr)); }
  .mb-detalle-pedido { grid-template-columns: minmax(160px, .6fr) 1.4fr; }
  .mb-panel { padding: 28px; }
  .mb-galeria__principal img { aspect-ratio: 1 / 1; }
}

@media (min-width: 1000px) {
  .mb-estados { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mb-condiciones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mb-nivel, .mb-nivel-card, .mb-fija, .mb-celda, .mb-chip { transition: none; }
}

/* Impresión del ticket: la persona puede guardar la página como PDF o imprimirla sin el sitio. */
@media print {
  .chrome-header, .chrome-drawer, .chrome-drawer-backdrop, .site-footer, .wa-float, .skip-link,
  .mb-hero, .mb-fija, .f2-actions, [data-subir-wrap], [data-pendiente-ticket], [data-pdf-status] { display: none !important; }
  html, body, .mb-shell, .section, .container { background: #fff !important; color: #111 !important; }
  .mb-panel, .mb-estado { border-color: #777 !important; background: #fff !important; box-shadow: none !important; }
  .mb-estado h3, .mb-muted, .mb-small, .mb-detalle-pedido dt { color: #333 !important; }
  .mb-estado p, .mb-detalle-pedido dd { color: #111 !important; }
  .mb-numero { border: 1px solid #111 !important; background: #fff !important; color: #111 !important; min-width: 56px; }
  .mb-numeros { display: flex !important; flex-wrap: wrap; gap: 8px; }
  .mb-panel { break-inside: avoid; }
  a { color: #111 !important; text-decoration: underline; }
}
