/* =====================================================================
   Base compartida de las casas de marca (ModoFan, REBXN) dentro de ensutex.com.
   Aquí va la estructura, la accesibilidad y el movimiento.
   Cada marca define colores y letras en su propio CSS (--b-*).
   Reglas del sello Ensutex y de la bóveda Estudio Web:
   - cuerpo >= 16 px;
   - marco lateral de 24 a 48 px;
   - objetivos táctiles >= 44 px;
   - contenido visible sin JS;
   - movimiento reducido respetado.
   ===================================================================== */

:root {
  --space-section-sm: clamp(3rem, 6vw, 4.5rem);
  --space-section-md: clamp(4.5rem, 8vw, 6.5rem);
  --space-section-lg: clamp(6rem, 10vw, 8.5rem);
  --b-gutter: clamp(24px, 5vw, 48px);
  --b-max: 1440px;
  --b-header-h: 72px;
  --b-radius: 16px;
  --b-radius-pill: 999px;
  --b-ease: cubic-bezier(.22, 1, .36, 1);
  --b-ease-exit: cubic-bezier(.4, 0, 1, 1);
  --b-bg: #0a0a0a;
  --b-bg-rgb: 10, 10, 10;
  --b-surface: #141414;
  --b-text: #f5f5f5;
  --b-muted: rgba(245, 245, 245, .74);
  --b-line: rgba(255, 255, 255, .12);
  --b-accent: #ffffff;
  --b-accent-fg: #0a0a0a;
  --b-font-display: system-ui, sans-serif;
  --b-font-body: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--b-header-h) + 16px); }
body {
  margin: 0;
  background: var(--b-bg);
  color: var(--b-text);
  font-family: var(--b-font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--b-accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.b-skip { position: absolute; left: var(--b-gutter); top: -120px; z-index: 100; background: var(--b-accent); color: var(--b-accent-fg); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.b-skip:focus { top: 12px; }

/* Marco y ritmo ---------------------------------------------------- */
.b-container { width: min(var(--b-max), 100% - (var(--b-gutter) * 2)); margin-inline: auto; }
.b-section { padding-block: var(--space-section-md); position: relative; }
.b-section--sm { padding-block: var(--space-section-sm); }
.b-section--lg { padding-block: var(--space-section-lg); }

/* Tipografía --------------------------------------------------------- */
.b-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); }
.b-h1 { font-family: var(--b-font-display); font-weight: 400; line-height: .95; letter-spacing: -.01em; font-size: clamp(2.75rem, 7.2vw, 6.25rem); }
.b-h2 { font-family: var(--b-font-display); font-weight: 400; line-height: 1; letter-spacing: -.01em; font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
.b-h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.25; font-weight: 700; }
.b-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--b-muted); max-width: 62ch; }
.b-small { font-size: .875rem; color: var(--b-muted); }
.b-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 860px; }
.b-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Botones ------------------------------------------------------------ */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: var(--b-radius-pill);
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 250ms var(--b-ease), background-color 250ms var(--b-ease), color 250ms var(--b-ease), box-shadow 250ms var(--b-ease), border-color 250ms var(--b-ease);
}
.b-btn--primary { background: var(--b-accent); color: var(--b-accent-fg); }
.b-btn--ghost { border-color: var(--b-line); color: var(--b-text); background: rgba(255, 255, 255, .02); }
.b-btn:hover { transform: translateY(-2px); }
.b-btn:active { transform: translateY(0); }
.b-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
@media (hover: none) { .b-btn:hover { transform: none; } }
.b-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Encabezado --------------------------------------------------------- */
.b-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--b-header-h); display: flex; align-items: center; transition: background-color 300ms var(--b-ease), border-color 300ms var(--b-ease); border-bottom: 1px solid transparent; }
.b-header.is-scrolled { background: rgba(var(--b-bg-rgb), .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--b-line); }
.b-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.b-brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.b-brand img { width: auto; height: 40px; object-fit: contain; }
.b-nav { display: none; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.b-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--b-muted); transition: color 200ms; }
.b-nav a:hover, .b-nav a[aria-current="page"] { color: var(--b-text); }
.b-header__cta { display: none; }
.b-menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: var(--b-radius-pill); border: 1px solid var(--b-line); background: rgba(var(--b-bg-rgb), .5); font-weight: 700; cursor: pointer; }
.b-mobile-nav {
  position: fixed; inset: var(--b-header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.5rem var(--b-gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: rgba(var(--b-bg-rgb), .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms var(--b-ease-exit), transform 200ms var(--b-ease-exit), visibility 0s linear 200ms;
}
.b-mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 320ms var(--b-ease), transform 320ms var(--b-ease); }
.b-mobile-nav a { display: flex; align-items: center; min-height: 56px; font-size: 1.25rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--b-line); }
.b-mobile-nav .b-btn { margin-top: 1rem; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) {
  .b-nav { display: flex; }
  .b-header__cta { display: inline-flex; }
  .b-menu-btn, .b-mobile-nav { display: none; }
}

/* Barra del pulgar (celular) ----------------------------------------- */
.b-thumb-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: .75rem;
  padding: 1.25rem var(--b-gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(var(--b-bg-rgb), .96) 62%, rgba(var(--b-bg-rgb), 0));
  transform: translateY(110%); transition: transform 220ms var(--b-ease-exit);
}
.b-thumb-bar.is-visible { transform: none; transition: transform 350ms var(--b-ease) 120ms; }

/* Bucles decorativos quietos fuera de pantalla (brand-ui.js pone data-anim) */
[data-anim="off"] .mf-marquee__track, [data-anim="off"] .rx-marquee__track, .rx-zone[data-anim="off"] .rx-zone__tag::after { animation-play-state: paused; }

/* Botón de pausa del video de fondo (WCAG 2.2.2) */
/* 26-sep: a la derecha pero sobre la burbuja de Asu (antes quedaba debajo: el chat nunca tapa un control;
   a la izquierda chocaba con «Arma tu pedido»). */
.b-video-toggle { position: absolute; right: var(--b-gutter); bottom: calc(6.5rem + var(--ensutex-consent-offset, 0px)); z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; opacity: .001; transition: opacity 250ms var(--b-ease), border-color 200ms var(--b-ease); }
.b-video-toggle.is-in { opacity: 1; }
.b-video-toggle:hover { border-color: #fff; }
.b-video-toggle svg { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity 150ms linear; }
.b-video-toggle__play, .b-video-toggle.is-paused .b-video-toggle__pause { opacity: 0; }
.b-video-toggle.is-paused .b-video-toggle__play { opacity: 1; }
.b-video-toggle[hidden] { display: none; }
.b-thumb-bar .b-btn { flex: 1; }
@media (min-width: 1024px) { .b-thumb-bar { display: none; } }

/* Revelado (el contenido existe sin JS) ------------------------------ */
.js [data-reveal] { opacity: .001; transform: translate3d(0, 24px, 0); transition: opacity 600ms var(--b-ease), transform 700ms var(--b-ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.b-line { display: block; overflow: hidden; padding-block: .06em; margin-block: -.06em; }
.js .b-line__in { display: block; transform: translate3d(0, 60px, 0); opacity: .001; transition: transform 700ms cubic-bezier(.36, .91, .56, 1), opacity 500ms var(--b-ease); transition-delay: calc(var(--i, 0) * 200ms); }
.js .is-in .b-line__in { transform: none; opacity: 1; }

/* Preguntas frecuentes: un bloque con pestañas ------------------------ */
.b-faq { display: grid; gap: 1.5rem; max-width: 56rem; }
.b-faq__tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .25rem .1rem; }
.b-faq__tabs::-webkit-scrollbar { display: none; }
.b-faq__tab { flex: 0 0 auto; min-height: 44px; padding: 0 1.1rem; border-radius: var(--b-radius-pill); border: 1px solid var(--b-line); background: transparent; font-weight: 700; font-size: .95rem; color: var(--b-muted); cursor: pointer; transition: background-color 200ms var(--b-ease), color 200ms var(--b-ease), border-color 200ms var(--b-ease); }
.b-faq__tab[aria-selected="true"] { background: var(--b-text); color: var(--b-bg); border-color: var(--b-text); }
.b-faq__panel { display: grid; gap: .75rem; }
.b-faq__panel[hidden] { display: none; }
.b-faq details { border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-surface); padding: 0 1.25rem; }
.b-faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; padding-block: .75rem; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform 250ms var(--b-ease); flex: 0 0 auto; }
.b-faq details[open] summary::after { transform: rotate(45deg); }
.b-faq details > div { padding: 0 0 1.25rem; color: var(--b-muted); display: grid; gap: .6rem; }

/* Armador de pedido ---------------------------------------------------- */
/* El avance del pedido ya no es una barra de progreso ni una línea de texto:
   ahora es la barra de pestañas numerada del camino único (buy-path.css). */
.b-builder { position: relative; background: var(--b-surface); border: 1px solid var(--b-line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.5rem); }
.b-preset { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .45rem .85rem; border-radius: var(--b-radius-pill); border: 1px solid var(--b-line); background: rgba(255, 255, 255, .03); font-size: .9rem; font-weight: 700; justify-self: start; }
.b-preset svg { width: 18px; height: 18px; color: var(--b-accent); flex: 0 0 auto; }
.b-builder__step[hidden] { display: none; }
.b-builder fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.1rem; min-width: 0; }
.b-builder legend { font-family: var(--b-font-display); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.05; margin-bottom: .35rem; padding: 0; }
.b-builder__hint { color: var(--b-muted); }
.b-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.b-choice { position: relative; }
.b-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.b-choice label { display: grid; gap: .5rem; align-content: start; height: 100%; padding: 1rem; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color 200ms, background-color 200ms; }
.b-choice img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.b-choice strong { font-size: 1rem; }
.b-choice small { font-size: .875rem; color: var(--b-muted); }
.b-choice input:checked + label { border-color: var(--b-accent); background: color-mix(in srgb, var(--b-accent) 14%, transparent); box-shadow: inset 0 0 0 1px var(--b-accent); }
/* Sello de prenda elegida: no depende solo del color */
.b-choice label { position: relative; }
.b-choice label::after {
  content: ""; position: absolute; top: .6rem; right: .6rem; width: 28px; height: 28px; border-radius: 50%;
  background: var(--b-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0; transform: scale(.8); pointer-events: none;
  transition: opacity 120ms var(--b-ease-exit), transform 120ms var(--b-ease-exit);
}
.b-choice input:checked + label::after { opacity: 1; transform: none; animation: b-seal-in 180ms cubic-bezier(.2, 0, 0, 1); }
@keyframes b-seal-in { from { opacity: .001; transform: scale(.6); } to { opacity: 1; transform: none; } }
.b-choice input:focus-visible + label { outline: 3px solid var(--b-accent); outline-offset: 3px; }
.b-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.b-chip { position: relative; }
.b-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.b-chip label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--b-line); border-radius: var(--b-radius-pill); font-weight: 600; cursor: pointer; transition: background-color 200ms var(--b-ease), color 200ms var(--b-ease), border-color 200ms var(--b-ease); }
.b-chip input:checked + label { background: var(--b-text); color: var(--b-bg); border-color: var(--b-text); }
.b-chip input:focus-visible + label { outline: 3px solid var(--b-accent); outline-offset: 2px; }
.b-field { display: grid; gap: .4rem; }
.b-field > label, .b-field__label { font-weight: 700; font-size: .95rem; }
.b-field__label small, .b-field > label .b-small { font-weight: 500; color: var(--b-muted); }
.b-field input, .b-field textarea, .b-field select { width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--b-line); background: rgba(255, 255, 255, .04); font-size: 1rem; }
.b-field textarea { min-height: 150px; resize: vertical; }
.b-field input:focus, .b-field textarea:focus, .b-field select:focus { border-color: var(--b-accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--b-accent) 32%, transparent); }
.b-field [aria-invalid="true"] { border-color: #ff7a7a; }
.b-fields { display: grid; gap: 1rem; }
@media (min-width: 768px) { .b-fields--2 { grid-template-columns: 1fr 1fr; } }
.b-error { color: #ff9a9a; font-size: .875rem; min-height: 1.25em; }
.b-builder [hidden] { display: none !important; }
.b-builder legend:focus { outline: none; }
.b-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .75rem; }
.b-size { display: grid; gap: .35rem; text-align: center; }
.b-size > label { font-weight: 700; font-size: .875rem; }
.b-size input { text-align: center; min-height: 48px; border-radius: 12px; border: 1px solid var(--b-line); background: rgba(255, 255, 255, .04); font-size: 1rem; width: 100%; -moz-appearance: textfield; appearance: textfield; }
.b-size input::-webkit-outer-spin-button, .b-size input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b-size__ctrl { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; border: 1px solid var(--b-line); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .04); transition: border-color 200ms; }
.b-size__ctrl input { border: 0; border-radius: 0; background: transparent; min-height: 46px; }
.b-size__ctrl input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--b-accent); }
.b-size__btn { border: 0; background: transparent; color: var(--b-text); font-size: 1.35rem; line-height: 1; min-height: 46px; cursor: pointer; transition: background-color 150ms; }
.b-size__btn:hover { background: rgba(255, 255, 255, .08); }
.b-size.has-qty .b-size__ctrl { border-color: var(--b-accent); }
.b-more { border-top: 1px solid var(--b-line); padding-top: .5rem; }
.b-more summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.b-more summary::-webkit-details-marker { display: none; }
.b-more summary::after { content: "+"; font-size: 1.25rem; transition: transform 250ms var(--b-ease); }
.b-more[open] summary::after { transform: rotate(45deg); }
.b-more .b-sizes { margin-top: .75rem; }

/* Referencia plegada dentro de la pestaña (telas y medidas): el dato vive
   donde nace la duda, sin alargar la pestaña. La tabla trae su propio
   desplazamiento horizontal para que nunca desborde la página. */
.b-more__lead { margin: .7rem 0 .1rem; font-size: .92rem; color: var(--b-muted); }
.b-more__list { margin: .7rem 0 0; padding-left: 1.15rem; display: grid; gap: .45rem; font-size: .93rem; color: var(--b-muted); }
.b-more__list strong { color: var(--b-text); font-weight: 700; }
/* El bloque plegado es un ítem de la grilla del fieldset: sin min-width 0 se
   niega a encogerse por debajo del ancho de la tabla, desborda su pista y el
   sobrante lo recorta un ancestro con overflow-x hidden. En celular eso era
   contenido perdido, sin scroll que lo alcanzara. Con min-width 0 el bloque
   se ajusta a la pestaña y la tabla se desplaza DENTRO de su contenedor. */
.b-more { min-width: 0; }
.b-more__wrap { margin-top: .6rem; min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.b-meter { width: 100%; border-collapse: collapse; font-size: .88rem; }
.b-meter caption { padding: 0 0 .4rem; text-align: left; font-size: .82rem; font-weight: 700; color: var(--b-text); }
.b-meter th, .b-meter td { padding: .42rem .7rem .42rem 0; border-bottom: 1px solid var(--b-line); text-align: left; vertical-align: top; }
.b-meter thead th { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--b-muted); white-space: nowrap; }
.b-meter tbody th { font-weight: 700; color: var(--b-text); white-space: nowrap; }
.b-meter tbody td { color: var(--b-muted); }
.b-meter tbody tr:last-child th, .b-meter tbody tr:last-child td { border-bottom: 0; }
.b-meter--medidas td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-more__note { margin: .55rem 0 0; font-size: .84rem; color: var(--b-muted); }
.b-total { font-weight: 700; }
.b-total__count { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; }
.b-check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--b-muted); cursor: pointer; }
.b-check input { width: 22px; height: 22px; margin-top: .1rem; flex: 0 0 auto; accent-color: var(--b-accent); }
.b-check a { color: var(--b-text); }
.b-builder__nav { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.75rem; }
.b-builder__nav [data-next], .b-builder__nav [data-submit] { margin-left: auto; }
.b-builder.is-sending [data-submit], .b-builder.is-sending [data-submit][disabled] { opacity: .7; cursor: progress; }
/* Envío en dos tiempos (lo arma order-builder.js) */
.b-sendlist { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.b-sendlist[hidden] { display: none; }
.b-sendlist li { display: flex; align-items: center; gap: .65rem; color: var(--b-muted); }
.b-sendlist li[data-state="done"] { color: var(--b-text); }
.b-sendlist li[data-state="error"] { color: #ffb4a8; }
.b-sendlist__mark { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 22px; height: 22px; flex: 0 0 auto; font-weight: 800; }
.b-sendlist__mark i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: b-dot 1s var(--b-ease) infinite; }
.b-sendlist__mark i:nth-child(2) { animation-delay: 120ms; }
.b-sendlist__mark i:nth-child(3) { animation-delay: 240ms; }
.b-sendlist__mark svg { width: 20px; height: 20px; color: var(--b-accent); animation: b-check-in 220ms var(--b-ease); }
.b-sendlist__slow { font-size: .875rem; }
@keyframes b-dot { 0%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes b-check-in { from { opacity: .001; transform: scale(.6); } to { opacity: 1; transform: none; } }
.b-builder.is-sending .b-status:not(.is-error) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.b-builder__done { display: grid; gap: 1rem; }
.b-builder__done:focus { outline: none; }
.b-builder__done ol { padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--b-muted); }
.b-done__check { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--b-line); background: rgba(255, 255, 255, .04); color: var(--b-text); }
.b-done__check svg { width: 24px; height: 24px; }
.b-builder__done ol > li.b-done__pay { color: var(--b-text); font-weight: 600; padding-left: .75rem; margin-left: -.75rem; border-left: 2px solid var(--b-accent); }
/* El botón flotante de 'Siguiente' lo reemplazó la barra del resumen
   (.b-path__bar en buy-path.css): muestra prenda, cantidad y total, y no tapa
   el botón principal. */
.b-honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.b-status { font-size: .95rem; color: var(--b-muted); min-height: 1.5em; margin-top: 1rem; }
.b-status.is-error { color: #ffb4a8; }
.b-mobile-nav a.b-btn { justify-content: center; border-bottom-color: transparent; font-size: 1.05rem; }
.b-thumb-bar { bottom: var(--ensutex-consent-offset, 0px); }

/* Aviso de privacidad (lo inserta analytics-loader.js) ------------------ */
.ensutex-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: grid; gap: .9rem; max-width: 760px; margin-inline: auto; padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid var(--b-line); background: rgba(var(--b-bg-rgb), .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8); color: var(--b-text); font-size: .9rem; line-height: 1.5; }
.ensutex-consent__copy { display: grid; gap: .3rem; }
.ensutex-consent__copy p { margin: 0; color: var(--b-muted); }
.ensutex-consent__copy a { color: var(--b-text); }
.ensutex-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ensutex-consent__actions button { flex: 1 1 200px; min-height: 44px; padding: 0 1rem; border-radius: var(--b-radius-pill); border: 1px solid var(--b-line); background: rgba(255, 255, 255, .04); color: var(--b-text); font-weight: 700; cursor: pointer; }
.ensutex-consent__actions button:hover { border-color: var(--b-accent); }
/* En escritorio el aviso va en una tarjeta a la derecha para no tapar los CTA del hero */
@media (min-width: 900px) {
  .ensutex-consent { left: auto; right: 24px; bottom: 24px; max-width: 460px; margin-inline: 0; padding: 1.1rem 1.25rem; }
  .ensutex-consent__actions button { flex: 1 1 auto; }
}
/* En celular el aviso apilaba la copia y luego los dos botones a ancho completo:
   279px, el 38% de una pantalla de 740. Medido el 01-oct-2026 a 360 y a 390, ese
   alto cortaba el párrafo del hero a mitad de frase y dejaba enteros debajo el CTA
   del hero y la barra «Arma tu pedido» (el aviso los cubría al 100%: 10.704/10.704
   px² y 16.416/16.416 px²). El arreglo de escritorio de arriba nació con esa misma
   intención —«para no tapar los CTA del hero»— pero sólo aplicaba desde 900px.
   Se extiende a celular con el tratamiento que el sitio ya usa en las landings SEM
   (sem-premium.css, commit 9b6f6fa): acciones en rejilla de dos y tope de alto con
   scroll, para que el aviso nunca se coma la pantalla. */
@media (max-width: 899px) {
  .ensutex-consent { gap: .7rem; padding: .85rem .95rem; max-height: min(46vh, 320px); overflow: auto; }
  .ensutex-consent__copy p { font-size: .84rem; line-height: 1.4; }
  .ensutex-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .ensutex-consent__actions button { min-height: 42px; padding: 0 .6rem; font-size: .8rem; }
}

/* Correcciones de especificidad ------------------------------------------- */
/* .b-field input agrandaba los checkbox invisibles de los chips y tapaba su etiqueta */
.b-chips .b-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; border: 0; }
.b-footer .b-footer__parent img { height: 34px; width: auto; }

/* Piezas de página compartidas por las casas de marca ----------------------- */
.b-hide-sm { display: none; }
@media (min-width: 480px) { .b-hide-sm { display: inline-flex; } }
.b-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .5rem; padding: 0; list-style: none; font-size: .875rem; color: var(--b-muted); }
.b-crumbs a { color: var(--b-muted); text-decoration: none; }
.b-crumbs a:hover { color: var(--b-text); }
.b-crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.b-list { display: grid; gap: .7rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.b-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .65rem; }
.b-list svg { width: 20px; height: 20px; margin-top: .2rem; color: var(--b-accent); }
.b-note { display: grid; gap: .4rem; padding: 1.1rem 1.25rem; border-radius: var(--b-radius); border: 1px solid var(--b-line); background: rgba(255, 255, 255, .03); }
.b-note p { font-size: .95rem; color: var(--b-muted); }
.b-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .b-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-split--flip > :first-child { order: 2; }
}
.b-split__copy { display: grid; gap: 1rem; }
.b-frame { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--b-line); background: var(--b-surface); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); }
.b-frame img { width: 100%; height: auto; }
@media (max-width: 767px) {
  .b-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: .85rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--b-gutter); padding-inline: var(--b-gutter); margin-inline: calc(var(--b-gutter) * -1); padding-bottom: .5rem; scrollbar-width: none; }
  .b-rail::-webkit-scrollbar { display: none; }
  .b-rail > * { scroll-snap-align: start; }
}
.b-order { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; grid-template-areas: "intro" "form" "facts"; }
.b-order__intro { grid-area: intro; display: grid; gap: .9rem; }
.b-order__form { grid-area: form; min-width: 0; }
.b-order__facts { grid-area: facts; display: grid; gap: 1.25rem; }
@media (min-width: 1080px) {
  .b-order { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "intro form" "facts form"; column-gap: clamp(2.5rem, 5vw, 4.5rem); row-gap: 2rem; }
}
.b-disclaimer { margin-top: 1.25rem; }

/* Comparador antes / después ------------------------------------------ */
.b-ba { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--b-line); aspect-ratio: 4 / 5; --pos: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--b-surface); }
.b-ba:focus-within { outline: 3px solid var(--b-accent); outline-offset: 4px; }
.b-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.b-ba__after { clip-path: inset(0 0 0 var(--pos)); }
/* El tirador ocupa todo el ancho y se desplaza con transform: mover la línea no recalcula el layout */
.b-ba__handle { position: absolute; inset: 0; transform: translateX(var(--pos)); pointer-events: none; }
.b-ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; }
.b-ba__knob { position: absolute; top: 50%; left: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #0a0a0a; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.b-ba__knob svg { width: 26px; height: 26px; overflow: visible; }
.b-ba__chev { transition: transform 300ms var(--b-ease); }
.b-ba.is-hinting .b-ba__chev--l { transform: translateX(-4px); }
.b-ba.is-hinting .b-ba__chev--r { transform: translateX(4px); }
.b-ba__label { position: absolute; top: 1rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.b-ba__label--before { left: 1rem; }
.b-ba__label--after { right: 1rem; }

/* Pie de página ---------------------------------------------------------- */
.b-footer { border-top: 1px solid var(--b-line); padding-block: 3.5rem calc(3.5rem + 88px); }
@media (min-width: 1024px) { .b-footer { padding-block: 4rem; } }
.b-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .b-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.b-footer__about { display: grid; gap: 1rem; max-width: 42ch; color: var(--b-muted); }
.b-footer__about img { height: 40px; width: auto; object-fit: contain; }
.b-footer h2, .b-footer .b-pie-titulo { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); margin-bottom: .9rem; font-weight: 700; }
.b-footer ul { list-style: none; padding: 0; display: grid; gap: .25rem; }
.b-footer li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--b-text); opacity: .86; }
.b-footer li a:hover { opacity: 1; }
.b-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--b-line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .875rem; color: var(--b-muted); }
.b-footer__parent { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--b-text); min-height: 44px; }
.b-footer__parent img { height: 26px; width: auto; object-fit: contain; }

/* Movimiento reducido ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .b-line__in { opacity: 1; transform: none; transition: opacity 150ms linear; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: 150ms !important; }
  .b-sendlist__mark i { opacity: .6; transform: none; }
  .b-thumb-bar { transform: none; }
  .b-thumb-bar { opacity: 0; visibility: hidden; transition: opacity 150ms linear, visibility 0s linear 150ms; }
  .b-thumb-bar.is-visible { opacity: 1; visibility: visible; transition: opacity 150ms linear; }
  .b-ba__chev { transform: none !important; }
}

/* ---------------------------------------------------------------------------
   Giro al scroll (25-sep): la sección mide más que la pantalla y su interior se
   queda pegado arriba mientras el cliente baja; giro-scroll.js pinta el cuadro
   que corresponde al avance. Sin JS o con movimiento reducido queda el póster
   y la sección vuelve a su alto normal.
   --------------------------------------------------------------------------- */
.b-giro { position: relative; height: 220vh; }
.b-giro__sticky { position: sticky; top: 0; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-block: calc(var(--b-header-h, 4rem) + 1rem) 2rem; }
.b-giro__grid { display: grid; gap: 1.5rem; align-items: center; }
.b-giro__escena { position: relative; width: min(100%, 34rem); aspect-ratio: 1 / 1; margin-inline: auto; border-radius: 1.5rem; overflow: hidden; }
.b-giro__poster,
.b-giro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-giro__canvas { opacity: 0; transition: opacity 250ms ease; }
.b-giro[data-giro-estado="listo"] .b-giro__canvas { opacity: 1; }
.b-giro__pista { margin-top: 1rem; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.b-giro[data-giro-estado="quieto"] { height: auto; }
.b-giro[data-giro-estado="quieto"] .b-giro__sticky { position: static; min-height: 0; padding-block: 4rem; }
.b-giro[data-giro-estado="quieto"] .b-giro__pista { display: none; }
@media (max-width: 899px) {
  .b-giro { height: 180vh; }
  .b-giro__escena { width: min(100%, 26rem); }
}
@media (min-width: 900px) {
  .b-giro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .b-giro { height: auto; }
  .b-giro__sticky { position: static; min-height: 0; padding-block: 4rem; }
  .b-giro__pista { display: none; }
}
