/*
Theme Name: Maruri
Theme URI: https://yourwebsite.com
Author: Isaac Matamoros
Author URI: https://yourwebsite.com
Description: This a custom theme for Maruri!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maruri
Tags: custom-background
*/

html,
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

**-----------------------------------------------------
*   THEME
* ----------------------------------------------------*/
.site-content {
  max-width: 1144px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body,
button,
input,
textarea,
select{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

/**-----------------------------------------------------
*   HEADER
* ----------------------------------------------------*/
.header_logo a img{width: 100px!important;}
.uae-wizard-header{
  position: absolute;
  z-index: 9999;
}

.uae-wizard-header .e-con-inner{position: relative;}

.uae-wizard-header .header-state{
  transition: transform 1s ease, opacity .25s ease;
}

/* HEADER 1 – SIN LOGO */
.uae-wizard-header .header-nologo{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* HEADER 2 – CON LOGO */
.uae-wizard-header .header-logo{
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
}

body.header-logo-on .uae-wizard-header .header-nologo{
  opacity: 0;
  pointer-events: none;
}

body.header-logo-on .uae-wizard-header .header-logo{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu_list_header .elementor-icon-list-icon svg{margin: 0!important;}


/**-----------------------------------------------------
*   INTRO / HERO
* ----------------------------------------------------*/
.cursor_btn{cursor: pointer;}
/* =====================================================
   HERO WRAPPER
   ===================================================== */
#bw-hero{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}

/* =====================================================
   CONTENEDOR DE FILAS (ZOOM)
   ===================================================== */
#bw-hero .bw-rows{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform-origin: center 33%;
  will-change: transform;
}

/* =====================================================
   OCULTAR TODO AL INICIO
   ===================================================== */
#bw-hero .bw-row,
#bw-hero .bw-row-split{
  opacity: 0;
  transform: translateX(0);
  will-change: transform, opacity;
}

/* =====================================================
   FILAS NORMALES (1, 3, 4)
   ===================================================== */
#bw-hero .bw-row{
  width: min(1100px, 92vw);
  height: auto;
}

/* =====================================================
   FILA 2 SPLIT (NO DEFORMAR LETRAS)
   ===================================================== */
#bw-hero .bw-row-split{
  width: max-content;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: visible;
  gap: 0;
}

/* Letras izquierda / derecha */
#bw-hero .bw-row2-left,
#bw-hero .bw-row2-right,
#bw-hero .bw-row3-left,
#bw-hero .bw-row3-right{
  height: 160px;
  width: auto;
  display: block;
  flex: 0 0 auto !important;
  min-width: 0;
  max-width: none !important;
  flex-shrink: 0 !important;
  object-fit: contain;
}

/* =====================================================
   GAP — (permitir que JS lo anime)
   ===================================================== */
#bw-hero .bw-row2-gap{
  width: 0;
  max-width: 0;
  height: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

#bw-hero .bw-row3-gap{
  width: 0;
  max-width: 0;
  height: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}



/* CTA oculto al inicio (no empuja layout) */
#bw-hero .bw-cta{
  opacity: 0;
  transform: translateY(-10px);
  text-align: center;
  color: #282828;
  white-space: nowrap;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  pointer-events: none;
}

/* =====================================================
   CTA TYPO
   ===================================================== */
#bw-hero .bw-kicker{
  font-size: 45px;
  font-weight: 800;
  line-height: 1;
  /*margin-bottom: 6px;*/
}

#bw-hero .bw-title{
  font-size: 16px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .5px;
}

#bw-hero .bw-subtitle{
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .5px;
}

#bw-hero .bw-sub{
  font-size: 8px;
  opacity: .7;
  margin: 5px 0 10px;
}

#bw-hero .bw-btn{
  display: inline-block;
  padding: 5px 15px;
  background: #1f1f1f;
  color: #fff;
  text-decoration: none;
  font-size: 8px;
  letter-spacing: .6px;
  border-radius: 2px;
  font-weight: bold;
  margin-top: 5px;
}

#bw-hero .bw-row3-gap .bw-kicker{
  font-size: 25px;
}

#bw-hero .bw-row3-gap .bw-title{
  font-size: 15px;
}

#bw-hero .bw-row3-gap .bw-subtitle{
  font-size: 12px;
}

/* =====================================================
   ZOOM
   ===================================================== */
#bw-hero.is-zoomed .bw-rows{
  transform: scale(var(--zoom-scale, 2.35));
}

#bw-hero .bw-rows{
  transition: transform 950ms cubic-bezier(.22,.61,.36,1);
}

#bw-hero.is-line3-active .bw-row3-gap .bw-cta{
  will-change: transform, opacity;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px){
  #bw-hero .bw-row2-left,
  #bw-hero .bw-row2-right,
  #bw-hero .bw-row3-left,
  #bw-hero .bw-row3-right{
    height: 130px;
  }

  #bw-hero .bw-row3-gap .bw-kicker{
    font-size: 22px;
  }

  #bw-hero .bw-row3-gap .bw-title{
    font-size: 13px;
  }

  #bw-hero .bw-row3-gap .bw-subtitle{
    font-size: 10px;
  }
}

@media (max-width: 768px){
  #bw-hero{ height: 100vh; }
  #bw-hero .bw-rows{
    transform-origin: 57% 45%;
    gap: 5px;
  }
  #bw-hero .bw-kicker{
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
  }

  #bw-hero .bw-title{
    font-size: 8px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: .5px;
  }

  #bw-hero .bw-subtitle{
    font-size: 6px;
    font-weight: bold;
    line-height: 1.12;
    letter-spacing: .5px;
  }

  #bw-hero .bw-sub{
    font-size: 5px;
    opacity: .7;
    margin: 1px 0 5px;
  }

  #bw-hero .bw-row3-gap .bw-kicker{
    font-size: 8px;
  }

  #bw-hero .bw-row3-gap .bw-title{
    font-size: 5px;
  }

  #bw-hero .bw-row3-gap .bw-subtitle{
    font-size: 5px;
    line-height: 8px;
  }

  #bw-hero .bw-btn{
    display: inline-block;
    padding: 5px 5px;
    background: #1f1f1f;
    color: #fff;
    text-decoration: none;
    font-size: 4px;
    letter-spacing: .6px;
    border-radius: 2px;
    font-weight: bold;
  }
  /* mantener proporción fila 2 igual a fila 1 */
  #bw-hero img.bw-row2-left,
  #bw-hero img.bw-row2-right,
  #bw-hero img.bw-row3-left,
  #bw-hero img.bw-row3-right,
  #bw-hero .bw-row2-left img,
  #bw-hero .bw-row2-right img,
  #bw-hero .bw-row3-left img,
  #bw-hero .bw-row3-right img{
    height: var(--row1-h, auto) !important;
    max-height: var(--row1-h, none) !important;
    width: auto !important;
  }

  #bw-hero .bw-cta{
    scale: .9;
    transform-origin: center center;
  }
}


/**-----------------------------------------------------
*   STEP 6 MODAL (Popup de nombres)
* ----------------------------------------------------*/
body.bw-modal-open{
  overflow: hidden !important;
}

.bw-modal{
  position: fixed;
  inset: 0;
  z-index: 100000; /* arriba del header */
  display: none;
}

.bw-modal.is-open{
  display: block;
}

.bw-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto; /* 👈 importante */
}

.bw-modal__dialog{
  position: relative;
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none; /* 👈 clave: deja que el overlay reciba el click */
}

.bw-modal__card{
  width: min(520px, 92vw);
  background: #F3EEE6;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  pointer-events: auto; /* 👈 el card sí recibe clicks */
}


.bw-modal__logo{
  display: block;
  width: min(320px, 78%);
  margin: 0 auto 14px;
  height: auto;
}

.bw-modal__form{
  display: grid;
  gap: 10px;
}

.bw-modal__label{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #22211F;
  font-size: 14px;
}

.bw-modal__input {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(34,33,31,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.75);
  color: #22211F;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

/* Placeholder */
.bw-modal__input::placeholder {
  color: rgba(34,33,31,.45);
}

/* Hover */
.bw-modal__input:hover {
  border-color: rgba(34,33,31,.35);
}

/* Focus */
.bw-modal__input:focus {
  border-color: #22211F;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(34,33,31,.08);
}

/* Error state (por si lo usas luego) */
.bw-modal__input.is-error {
  border-color: #c0392b;
  background: #fff6f6;
}


.bw-modal__error{
  min-height: 18px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #8A1F1F;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .2s ease, transform .2s ease;
}

.bw-modal__error.is-on{
  opacity: 1;
  transform: translateY(0);
}

.bw-btn--modal{
  margin-top: 6px;
  padding: 12px 24px;
  width: 100%;
}

.bw-btn {
  background-color: #22211F;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  fill: #FFFFFF;
  color: #FFFFFF;
  border-style: none;
  padding: 10px 100px 10px 100px;
  border-radius: 3px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ==========================================
   MODAL – MOBILE FINAL (centrado + sin cortes)
   ========================================== */

/* IMPORTANT: que todo calcule con padding adentro */
.bw-modal,
.bw-modal *{
  box-sizing: border-box;
}

/* Overlay ok */
.bw-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.bw-modal__overlay{
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

/* Dialog ocupa viewport y centra */
.bw-modal__dialog{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;     /* ✅ centrado vertical */
  justify-content: center; /* ✅ centrado horizontal */
  padding: 16px;           /* ✅ margen seguro */
  pointer-events: none;    /* mantiene el cierre por overlay */
}

/* Card: no más anchos que el viewport y con scroll interno si hace falta */
.bw-modal__card{
  pointer-events: auto;
  width: min(520px, calc(100vw - 32px)); /* ✅ nunca se sale */
  max-height: calc(100dvh - 32px);       /* ✅ nunca se corta abajo */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;                              /* ✅ evita offsets raros */
}

/* Mobile: ajustes finos */
@media (max-width: 768px){
  .bw-modal__dialog{
    padding: 12px; /* un poquito menos en phones */
  }

  .bw-modal__card{
    width: calc(100vw - 24px);   /* ✅ evita corte lateral sí o sí */
    max-height: calc(100dvh - 24px);
    border-radius: 16px;
    padding: 16px 14px;
  }

  /* iOS: evita zoom al enfocar */
  .bw-modal__input{
    font-size: 16px;
  }

  /* Botón full width */
  .bw-btn--modal{
    width: 100%;
  }
}


/**-----------------------------------------------------
*   STEP 7 CHECKOUT MODAL (Popup checkout 2 columnas)
*   - Visual basado en referencia
*   - Scroll solo en columna derecha
* ----------------------------------------------------*/

/* Card especial checkout */
.bw-modal--checkout .bw-modal__card--checkout{
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #EDE6DB;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* Grid 2 columnas */
.bw-modal--checkout .bw-checkout__grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  height: 100%;
}

/* LEFT */
.bw-modal--checkout .bw-checkout__left{
  background: #F6F1E8;
  padding: 38px 34px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.bw-modal--checkout .bw-checkout__logo{
  width: 220px;
  max-width: 78%;
  height: auto;
  display: block;
  margin: 0 auto 34px;
}

/* Summary */
.bw-modal--checkout .bw-summary{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #22211F;
  display: grid;
  gap: 16px;
}

.bw-modal--checkout .bw-summary__section{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(34,33,31,.10);
  border-radius: 14px;
  padding: 14px 14px;
}

.bw-modal--checkout .bw-summary__h{
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: .9;
}

.bw-modal--checkout .bw-summary__row{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  line-height: 1.25;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(34,33,31,.14);
}

.bw-modal--checkout .bw-summary__row:last-child{
  border-bottom: 0;
}

.bw-modal--checkout .bw-summary__k{
  font-weight: 700;
  opacity: .85;
}

.bw-modal--checkout .bw-summary__v{
  font-weight: 800;
  text-align: right;
}

.bw-modal--checkout .bw-summary__total{
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(34,33,31,.14);
  font-weight: 900;
}

/* RIGHT */
.bw-modal--checkout .bw-checkout__right{
  padding: 28px 34px 34px 34px;
  overflow-y: auto; /* ✅ scroll solo derecha */
  -webkit-overflow-scrolling: touch;
  background: rgba(255,255,255,.12);
  /*max-height: 671px;*/
  height: 100%;
}

.bw-modal--checkout .bw-checkout__rightHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.bw-modal--checkout .bw-checkout__rightTitle{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .2px;
  color: #22211F;
}

.bw-modal--checkout .bw-checkout__close{
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #22211F;
  padding: 0 4px;
}

/* Placeholder loader */
.bw-modal--checkout .bw-checkout__placeholder{
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #22211F;
}

.bw-modal--checkout .bw-checkout__spinner{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(34,33,31,.20);
  border-top-color: rgba(34,33,31,.85);
  animation: bwspin .8s linear infinite;
}

@keyframes bwspin { to { transform: rotate(360deg); } }

/* Woo: inputs y labels limpios SOLO dentro del modal */
.bw-modal--checkout .woocommerce form .form-row,
.bw-modal--checkout form.checkout .form-row{
  /*margin: 0 0 14px 0;*/
  margin: 0;
}

.bw-modal--checkout .woocommerce form .form-row label,
.bw-modal--checkout form.checkout label{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 6px;
  display: block;
  color: #22211F;
}

.bw-modal--checkout .woocommerce form .form-row input.input-text,
.bw-modal--checkout .woocommerce form .form-row textarea,
.bw-modal--checkout form.checkout input.input-text,
.bw-modal--checkout form.checkout textarea{
  width: 100%;
  background: rgba(230, 222, 210, .95);
  border: 1px solid rgba(34,33,31,.10);
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 14px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
  outline: none;
}

.bw-modal--checkout .woocommerce form .form-row input.input-text:focus,
.bw-modal--checkout .woocommerce form .form-row textarea:focus,
.bw-modal--checkout form.checkout input.input-text:focus,
.bw-modal--checkout form.checkout textarea:focus{
  border-color: rgba(34,33,31,.22);
}

/* Payment box transparente */
.bw-modal--checkout .woocommerce-checkout #payment,
.bw-modal--checkout #payment{
  background: transparent;
  border: 0;
}

/* Botón Place Order: negro con degradado */
.bw-modal--checkout #place_order{
  width: 100%;
  background: linear-gradient(90deg, #111, #333);
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 16px;
}

/* Texto política */
.bw-modal--checkout .woocommerce-privacy-policy-text{
  font-size: 12px;
  opacity: .75;
}

/* Mobile: 1 columna */
@media (max-width: 900px){
  .bw-modal--checkout .bw-modal__card--checkout{
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
  }

  .bw-modal--checkout .bw-checkout__grid{
    grid-template-columns: 1fr;
  }

  .bw-modal--checkout .bw-checkout__left{
    padding: 26px 22px;
    border-bottom: 1px solid rgba(34,33,31,.10);
  }

  .bw-modal--checkout .bw-checkout__right{
    padding: 22px 22px 26px 22px;
  }

  .bw-modal--checkout .bw-checkout__rightTitle{
    font-size: 22px;
  }
}


/* --- FIX: columna derecha no transparente --- */
.bw-modal--checkout .bw-checkout__right{
  background: #EDE6DB !important;
}
.bw-modal--checkout .bw-modal__dialog--checkout{
  background: transparent;
}


/* --- BW Step7: solo scroll en columna derecha --- */
.bw-modal--checkout .bw-checkout__left{
  overflow: hidden !important;
}
.bw-modal--checkout .bw-checkout__right{
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* --- BW Step7: ocultar "Tu pedido" y la tabla de resumen del checkout (mantener pagos) --- */
.bw-modal--checkout #order_review_heading{
  display: none !important;
}
.bw-modal--checkout #order_review .woocommerce-checkout-review-order-table,
.bw-modal--checkout #order_review table.woocommerce-checkout-review-order-table,
.bw-modal--checkout #order_review .shop_table{
  display: none !important;
}

/* Evitar espacios grandes donde estaba la tabla */
.bw-modal--checkout #order_review{
  padding-top: 0 !important;
}



/* =====================================================
   STEP 7 – SCROLL SOLO EN COLUMNA DERECHA (DESKTOP)
   Mantiene header/título fijo y solo scrollea el contenido del checkout
   ===================================================== */
@media (min-width: 901px){
  .bw-modal--checkout .bw-checkout__left{
    overflow: hidden !important;
  }
  .bw-modal--checkout .bw-checkout__right{
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .bw-modal--checkout .bw-checkout__body{
    flex: 1 1 auto !important;
    min-height: 0 !important; /* clave para flex+overflow */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}


/* === Step7 Scroll fix v5 === */

/* Asegura que SOLO el body del checkout haga scroll, no toda la columna */
.bw-modal--checkout .bw-modal__card--checkout{
  display:flex !important;
  flex-direction:column !important;
  max-height: calc(100dvh - 40px) !important;
}

.bw-modal--checkout .bw-checkout__grid{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 671px!important;
}

.bw-modal--checkout .bw-checkout__right{
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  overflow: hidden !important; /* evita que la columna entera scrollee */
  background: #EDE6DB !important; /* evita transparencia */
  max-width: 500px;
}

.bw-modal--checkout [data-bw="checkout-body"]{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  padding-right: 6px; /* pequeño gutter para el scroll */
}

/* opcional: evita que algún wrapper de Woo expanda el alto */
.bw-modal--checkout .woocommerce,
.bw-modal--checkout .woocommerce-checkout{
  height: auto !important;
  max-height: none !important;
}

/* Ocultar el bloque "Tu pedido" (solo heading + tabla). Mantiene métodos de pago. */
.bw-modal--checkout #order_review_heading{ display:none !important; }
.bw-modal--checkout #order_review table.shop_table{ display:none !important; }

.bw-checkout{position: relative;}
.bw-modal [data-bw="close7"],
.bw-modal [data-bw="close6"] {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 9999 !important;
  line-height: 1 !important;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
  width: 100%;
}

.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
  display: none;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select{
  height: 28.5px;
  padding: 0px 10px 5px 10px;
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
  display: none;
}

/* =====================================================
   FIX Step 7: NO cerrar al interactuar con el checkout
   - El problema: .bw-modal__dialog tiene pointer-events:none global
   - Solución: habilitar pointer-events SOLO en el modal checkout
   ===================================================== */
.bw-modal--checkout .bw-modal__overlay{
  z-index: 1;
}

.bw-modal--checkout .bw-modal__dialog{
  z-index: 2;
  pointer-events: auto !important; /* ✅ clave */
}

.bw-modal--checkout .bw-modal__card--checkout{
  pointer-events: auto !important;
}

@media (max-width: 768px){
  .bw-step5,
  .bw-step6{
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; /* clave para que no “empuje” al siguiente step */
    padding-bottom: 120px; /* para que el botón/último campo no quede cortado */
  }
  .bw-step5.bw-step5--needs-input{
    animation: none !important;
  }
  .bw-step5.bw-step5--needs-input *{
    animation: none !important;
  }
}
#bw-hero #step2_next{
  touch-action: manipulation;
}
