/* =============================================================================
 * /assets/pagos/pagos_banner.css — WIFICOR ✅ PRO (BANNER BD SLIDER)
 * - Track horizontal real (translateX)
 * - Dots centrados SIEMPRE (sin desborde)
 * - Overlay + botón NO se pierde
 * ============================================================================= */

:root{
  --wf:#0f766e;
  --wf2:#0b5f59;
}

/* contenedor banner */
#wfPayBanner.wfBanner--pagos{
  position:relative;
  width:100%;
  min-height:340px;
  overflow:hidden;
  background:#0b0f14;
  isolation:isolate;
}

/* ✅ TRACK horizontal (clave del slider) */
#wfPayBanner .wfBannerTrack{
  display:flex;
  width:100%;
  min-height:inherit;
  transform:translate3d(0,0,0);
  transition:transform .55s ease;
  will-change:transform;
}

/* ✅ cada slide ocupa 100% */
#wfPayBanner .wfBannerSlide{
  position:relative;
  flex:0 0 100%;
  width:100%;
  min-height:inherit;
  overflow:hidden;
}

/* fondo (img/video/div) */
#wfPayBanner .wfBannerBg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.01);
}

/* blank */
#wfPayBanner .wfBannerBg--blank{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 360px at 35% 30%, rgba(15,118,110,.22), rgba(15,118,110,0) 62%),
    linear-gradient(180deg, #0b0f14, #0e141a);
}

/* overlay */
#wfPayBanner .wfBannerOverlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    var(--ovFrom, rgba(0,0,0,.55)),
    var(--ovTo, rgba(0,0,0,.25))
  );
  pointer-events:none;
}

/* texto */
#wfPayBanner .wfBannerInner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:64px 18px 56px;
}

#wfPayBanner .wfBannerText{ max-width:820px; }

#wfPayBanner .wfBannerPill{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(15,118,110,.18);
  border:1px solid rgba(15,118,110,.28);
  color:#fff;
  font-weight:900;
  font-size:12px;
  letter-spacing:.10em;
}

#wfPayBanner .wfBannerTitle{
  margin:14px 0 10px;
  color:var(--title, #fff);
  font-weight:950;
  font-size:clamp(30px, 4.2vw, 56px);
  line-height:1.06;
  overflow-wrap:anywhere;
}

#wfPayBanner .wfBannerSub{
  margin:0;
  color:var(--sub, rgba(255,255,255,.85));
  font-size:17px;
  line-height:1.7;
  max-width:760px;
  overflow-wrap:anywhere;
}

/* ✅ Botón no se pierde */
#wfPayBanner .wfBannerActions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  position:relative;
  z-index:3;
}

#wfPayBanner .wfBannerBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:12px;
  font-weight:900;
  text-decoration:none;
  background:var(--btnBg, #0f766e);
  color:var(--btnTxt, #fff);
  border:1px solid rgba(255,255,255,.18);
  transition:transform .18s ease, filter .18s ease;
  white-space:nowrap;
}

@media (hover:hover){
  #wfPayBanner .wfBannerBtn:hover{
    transform:translateY(-1px);
    filter:brightness(1.02);
  }
}

/* ✅ DOTS centrados perfectos (sin translate, no se desborda) */
#wfPayBanner .wfBannerDots{
  position:absolute;
  left:0;
  right:0;
  bottom:14px;
  z-index:5;

  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;

  padding:0 16px;
  pointer-events:auto;
}

#wfPayBanner .wfBannerDot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.20);
  cursor:pointer;
  padding:0;
  outline:none;
  transition:width .18s ease, background .18s ease, transform .18s ease;
}

#wfPayBanner .wfBannerDot.is-active{
  width:26px;
  background:#fff;
  border-color:#fff;
}

/* responsive */
@media (max-width:768px){
  #wfPayBanner.wfBanner--pagos{ min-height:280px; }
  #wfPayBanner .wfBannerInner{ padding:54px 16px 44px; }
}
@media (max-width:420px){
  /* ✅ NO full ancho */
  #wfPayBanner .wfBannerActions{
    justify-content:flex-start;   /* o center si lo quieres centrado */
  }
  #wfPayBanner .wfBannerBtn{
    width:auto;
    max-width:100%;
    padding:10px 14px;            /* más angosto */
    font-size:14px;
    border-radius:12px;
  }
}
