.app-sidebar__user-avatar {
    width: 48px;
    background: gray;
    padding: 6px;
}
.app-sidebar__toggle{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15pt;
}
.app-sidebar__toggle::before{
	display: none;
}
.headerRegister, .header-primary{
	background: #009688;
	color: #FFF;
}
.headerUpdate{
	background: #007bff;
	color: #FFF;
}
.textcenter{
	text-align: center;
}
.textright{
	text-align: right;
}
.textleft{
	text-align: left;
}
.bootstrap-select > .dropdown-toggle{
	border: 1px solid #CCC;
}
/*Estilos login*/
#divLoadingd{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(254,254,255, .65);
	z-index: 9999;
	display: none;
}
#divLoadingd img{
	width: 50px;
	height: 50px;
}
.required{
	color: red;
	font-size: 13pt;
	font-weight: bold;
}
/* style portada categoría */
.prevPhoto {
    display: flex;
    justify-content: space-between;
    width: 300px;
    height: 200px;
    border: 1px solid #CCC;
    position: relative;
    cursor: pointer;
    background: url(../images/uploads/portada_categoria.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: auto;
}
.prevPhoto label{
	cursor: pointer;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.prevPhoto img{
	width: 100%;
	height: 100%;
}
.upimg, .notblock{
	display: none !important;
}
.errorArchivo{
	font-size: 16px;
	font-family: arial;
	color: #cc0000;
	text-align: center;
	font-weight: bold; 
	margin-top: 10px;
}
.delPhoto{
	color: #FFF;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	background: red;
	position: absolute;
	right: -10px;
	top: -10px;
	z-index: 10;
}
#tbl_list_productos img{
	width: 50px;
}
.imgProductoDelete{
	width: 175px;
}

#imgCategoria{
	text-align: center;
}
#imgCategoria img{
	width: 200px;
	margin: auto;
}

/* Upload fotos*/
#containerImages{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}
#containerImages > div{
	margin-right: 10px;
	margin-bottom: 8px;
}
.prevImage{
	border: 1px solid #CCC;
	width: 120px;
	height: 148px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.prevImage img{
	width: 100%;
}
.inputUploadfile{
	display: none;
}
.btnUploadfile, .btnDeleteImage{
	border: 0;
	background-color: #009688;
	text-align: center;
	padding: 2px 3px;
	color: #FFF;
	font-size: 9pt;
	cursor: pointer;
	width: 100%;
}
.btnDeleteImage{
	background-color: #dc3545;
}
.prevImage .loading{
	width: 30px;
	height: 30px;
}
#celFotos img{
	width: 150px;
	margin: 10px;
}

/* TIENDA VIRTUAL */
.divmetodpago label, #divCondiciones{
	width: 100%;
	display: flex;
}
.divmetodpago label input, #divCondiciones input{
	margin-right: 15px;
}
#divCondiciones a{
	margin-left: 5px;
}

#divCondiciones  label{
	margin-bottom: 0;
}
.linkw:hover{
	text-decoration: none;
}
.container-title{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.container-title input{
	border: 1px solid #CCC;
	padding: 4px;
	border-radius: 5px;
	margin-right: 5px;
}
.dflex{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.ui-datepicker-calendar {
    display: none;
}


/* Fondo del banner */
.sec-banner.bg-green {
    background-color: #e6f4ea;
}

/* Block1 */
.block1 {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.banner-img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

/* Overlay */
.block1-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 128, 0, 0.6); /* verde semitransparente */
    color: #fff;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.block1:hover .block1-overlay {
    opacity: 1;
}

.block1-name {
    font-size: 1.4rem;
    font-weight: bold;
}

.block1-actions {
    display: flex;
    gap: 10px;
}

.btn-ver-productos,
.btn-whatsapp {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ver-productos {
    background-color: #fff;
    color: #006400; /* verde oscuro */
}

.btn-ver-productos:hover {
    background-color: #c7f0c4;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

/* Icono de WhatsApp */
.btn-whatsapp i {
    margin-right: 5px;
}



/* Block2 */
.block2 {
    background: #e6f4ea;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.block2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.product-img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* Botón Ver producto */
.btn-ver-producto {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #006400;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-ver-producto:hover {
    background-color: #c7f0c4;
}

/* Texto del producto */
.product-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #006400;
    text-decoration: none;
}

.product-price {
    color: #228B22;
    font-weight: bold;
    margin-top: 5px;
}

/* Estrellitas de rating */
.product-rating {
    color: #FFD700;
    margin: 5px 0;
}

/* Botón WhatsApp móvil */
.btn-whatsapp-mobile {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #25D366;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    animation: pulse 1.5s infinite;

}

@keyframes pulse{
    0%{transform: scale(1);}
    50%{transform: scale(1.1);}
    100%{transform: scale(1);}
}

.btn-whatsapp-mobile:hover {
    background-color: #1ebe5d;
}

.btn-whatsapp-mobile i {
    margin-right: 5px;
}

/* Botón Ver más */
.btn-ver-mas {
    background-color: #006400;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-ver-mas:hover {
    background-color: #228B22;
}

/* Responsivo */
@media (max-width: 768px){
    .btn-ver-producto {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .product-name {
        font-size: 1rem;
    }
    .product-price {
        font-size: 0.9rem;
    }
}


.section-slide {
    background-color: #e6f4ea;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}

#camionCanvas {
    display: block;
    margin: auto;
    background: linear-gradient(to top, #87CEEB 60%, #ffffff 40%); /* cielo y suelo */
}

/* Opcional para productos que caen (estrellas/productos) */
.producto-canvas {
    position: absolute;
    pointer-events: none;
}


#camionCanvas {
    background: linear-gradient(to top, #87CEEB 60%, #ffffff 40%);
    display: block;
    margin: auto;
    border-radius: 15px;
    image-rendering: auto; /* evita que se vea pixelado o con bordes extra */
}




















/* Contenedor general */
.block-pro {
    background: #e6f4ea;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.block-pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Imagen */
.img-pro {
    width: 100%;
    border-radius: 12px;
}

/* Botón ver producto */
.btn-ver {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #006400;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.btn-ver:hover {
    background: #c7f0c4;
}

/* Nombre */
.product-name {
    font-weight: bold;
    color: #006400;
    font-size: 1rem;
    text-decoration: none;
}

/* Precio */
.product-price {
    color: #2e7d32;
    font-weight: bold;
}

/* Estrellas */
.rating {
    color: gold;
    margin: 5px 0;
}

/* Botón WhatsApp */
.btn-wsp {
    display: block;
    margin-top: 8px;
    padding: 8px;
    background: #25D366;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.btn-wsp:hover {
    background: #1ebe5d;
}

/* Botón flotante WhatsApp */
.wsp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.wsp-float:hover {
    background: #1ebe5d;
}

/* Título */
h3 {
    color: #2e7d32;
    font-weight: bold;
}





.btn-wsp{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
}
.btn-wsp:hover{
    transform: scale(1.1);
}


.product-detail-box{
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-price{
    font-size: 28px;
    font-weight: bold;
    color: #2ecc71;
}

.rating{
    color: #f1c40f;
    font-size: 20px;
    margin: 10px 0;
}




@keyframes pulse{
    0%{transform: scale(1);}
    50%{transform: scale(1.1);}
    100%{transform: scale(1);}
}




.btn-wsp-pro:hover{
    transform: scale(1.05);
    background: #1ebe5d;
}

.product-desc{
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
}

.share-icons i{
    font-size: 18px;
}




.share-box{
    margin-top: 25px;
}

.share-title{
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.share-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    margin-right: 8px;
    transition: 0.3s;
}

.share-btn i{
    font-size: 16px;
}

.share-facebook{ background: #1877f2; }
.share-whatsapp{ background: #25D366; }
.share-twitter{ background: #1da1f2; }

.share-btn:hover{
    transform: translateY(-2px);
    opacity: 0.9;
}


.flag-pe{
    width: 40px;
    margin-right: 5px;
    vertical-align: middle;
    border-radius: 60%;
}


























/* CONTENEDOR */
.product {
  padding: 40px 20px;
  background: #f8f9fb;
}

.product__container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* GALERÍA */






/* INFO */
.product__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* PRECIO */
.product__price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  color: #2ecc71;
  font-weight: bold;
}

.product__price img {
  width: 24px;
}

/* OFERTA */
.product__offer {
  margin-top: 10px;
  color: #e74c3c;
  font-weight: bold;
}

/* =========================
   STOCK / URGENCIA
========================= */
.product__stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 18px auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #be123c;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(244, 63, 94, 0.18);
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.12);
  line-height: 1.4;
  animation: stockPulse 1.8s infinite;
  max-width: 100%;
}

/* número del stock más llamativo */
.product__stock strong {
  font-size: 1.15rem;
  color: #e11d48;
  font-weight: 900;
}

/* animación */
@keyframes stockPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.12);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 28px rgba(244, 63, 94, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.12);
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .product__stock {
    font-size: 0.95rem;
    padding: 11px 16px;
  }
}

/* =========================
   MOVIL
========================= */
@media (max-width: 768px) {
  .product__stock {
    display: flex;
    width: 100%;
    font-size: 0.92rem;
    padding: 12px 14px;
    border-radius: 16px;
    margin: 12px auto 16px auto;
  }

  .product__stock strong {
    font-size: 1.05rem;
  }
}

/* =========================
   MOVIL PEQUEÑO
========================= */
@media (max-width: 480px) {
  .product__stock {
    font-size: 0.86rem;
    line-height: 1.45;
    padding: 11px 12px;
  }
}




/* DESCRIPCIÓN */
.product__desc {
  margin: 15px 0;
  color: #555;
  line-height: 1.6;
}

/* BOTÓN */
.btn-primary {
  display: block;
  text-align: center;
  background: #25D366;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .product__container {
    grid-template-columns: 1fr;
  }

  .product__title {
    font-size: 22px;
  }

  .product__price {
    font-size: 20px;
  }
}






/* CONTENEDOR */



/* ===== GALERÍA PRINCIPAL ===== */
.pro-slider{
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== IMAGEN PRINCIPAL ===== */
.pro-slider__main{
  position: relative;
  width: 100%;
  height: 500px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

.pro-slider__main img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  transition: transform .3s ease;
}

.pro-slider__main img:hover{
  transform: scale(1.02);
}

/* ===== FLECHAS ===== */
.pro-slider__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  transition: all .25s ease;
}

.pro-slider__arrow:hover{
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.08);
}

.pro-slider__arrow.left{
  left: 12px;
}

.pro-slider__arrow.right{
  right: 12px;
}

/* ===== THUMBNAILS ===== */
.pro-slider__thumbs{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pro-slider__thumb{
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.pro-slider__thumb:hover{
  transform: scale(1.05);
  border-color: #ff4d6d;
}

.pro-slider__thumb.active{
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255,77,109,0.15);
}

/* ===== LIGHTBOX ===== */
.lightbox{
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.88);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox img{
  max-width: 92%;
  max-height: 92%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px){
  .pro-slider{
    max-width: 100%;
  }

  .pro-slider__main{
    height: 360px;
    border-radius: 14px;
  }

  .pro-slider__thumb{
    width: 65px;
    height: 65px;
  }

  .pro-slider__arrow{
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}







.offers {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARD */
.offer {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.offer:hover {
  border-color: #25D366;
}

/* ACTIVO */
.offer.active {
  border-color: #9900ef;
  background: #f6e7ff;
}

/* POPULAR */
.offer.popular {
  border-color: #25a668;
}

/* LEFT */
.offer__left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.offer__title {
  font-weight: 600;
}

/* PRECIO */
.offer__price {
  font-weight: bold;
  font-size: 19px;
}

.offer__old {
  text-decoration: line-through;
  font-size: 13px;
  color: #888;
}

/* BADGES */
.offer__badge {
  position: absolute;
  top: -10px;
  left: 15px;
  background: #25a668;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}

.offer__badge.green {
  background: #27ae60;
}

/* DESCUENTO */
.offer__discount {
  background: red;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 5px;
}












.btn-buy {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  width: 100%;
  max-width: 420px;
  margin: 18px auto;
  padding: 18px 22px;

  border: none;
  border-radius: 18px;
  cursor: pointer;

  background: linear-gradient(135deg, #14ad2e, #14ad2e);
  color: #fff;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;

  box-shadow: 0 16px 36px rgba(255, 69, 0, 0.28);
  transition: all 0.28s ease;

  animation:  btnTripleBounce 2s infinite;
}

.oferta-subtitle{
  font-size:15px;
  font-weight:500;
  margin-top:2px;
  opacity:0.9;
}

/* texto secundario */
.btn-buy span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
  opacity: 0.96;
}

/* hover */
.btn-buy:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 44px rgba(255, 69, 0, 0.34);
}

/* click */
.btn-buy:active {
  transform: scale(0.97);
}

/* =========================
   ANIMACIÓN 3 REBOTES + PAUSA
========================= */
@keyframes btnTripleBounce {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 36px rgba(20, 173, 46, 0.28);
  }

  /* rebote 1 */
  5% {
    transform: translateY(-14px);
    box-shadow: 0 22px 44px rgba(20, 173, 46, 0.38);
  }
  10% {
    transform: translateY(0);
  }

  /* rebote 2 */
  15% {
    transform: translateY(-14px);
    box-shadow: 0 22px 44px rgba(20, 173, 46, 0.38);
  }
  20% {
    transform: translateY(0);
  }

  /* rebote 3 */
  25% {
    transform: translateY(-14px);
    box-shadow: 0 22px 44px rgba(20, 173, 46, 0.38);
  }
  30% {
    transform: translateY(0);
  }

  /* pausa */
  31%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 36px rgba(20, 173, 46, 0.28);
  }
}




/* =========================
   BOTÓN STICKY DE COMPRA
========================= */
.es-sticky-btn {
  position: fixed;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  z-index: 9998;

height: 50px;
  visibility: hidden;
  pointer-events: none;


  width: calc(100% - 24px);
  max-width: 520px;

  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  cursor: pointer;
  overflow: hidden;

  background: linear-gradient(135deg, #14ad2e, #14ad2e);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 69, 0, 0.30);

  transition: all 0.28s ease;
  animation: stickyBounce 2s infinite;
}

.es-sticky-btn.show-sticky {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);

}


/* contenido interno */
.es-button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* texto principal */
.es-sticky-btn span {
  display: block;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* subtítulo */
.es-button-subtitle {
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0.96;
  line-height: 1.3;
}

/* hover */
.es-sticky-btn:hover {
  box-shadow: 0 20px 44px rgba(255, 69, 0, 0.36);
}

/* click */
.es-sticky-btn:active {
  transform: translateX(-50%) scale(0.97);
}

/* brillo premium */
.es-sticky-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: stickyShine 3.5s infinite;
}

/* borde interno */
.es-sticky-btn::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.16);
  pointer-events: none;
}

/* =========================
   ANIMACIÓN 3 REBOTES + PAUSA
========================= */
@keyframes stickyBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  /* rebote 1 */
  5% {
    transform: translateX(-50%) translateY(-8px);
  }
  10% {
    transform: translateX(-50%) translateY(0);
  }

  /* rebote 2 */
  15% {
    transform: translateX(-50%) translateY(-8px);
  }
  20% {
    transform: translateX(-50%) translateY(0);
  }

  /* rebote 3 */
  25% {
    transform: translateX(-50%) translateY(-8px);
  }
  30% {
    transform: translateX(-50%) translateY(0);
  }

  /* pausa */
  31%, 100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* brillo */
@keyframes stickyShine {
  0% {
    left: -75%;
  }
  50% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .es-sticky-btn {
    max-width: 520px;
    bottom: 12px;
    border-radius: 18px;
  }

  .es-sticky-btn span {
    font-size: 2rem;
  }

  .es-button-subtitle {
    font-size: 0.72rem;
  }
}

/* =========================
   MÓVIL
========================= */
@media (max-width: 480px) {
  .es-sticky-btn {
    width: calc(100% - 16px);
    bottom: 0px;
    border-radius: 14px;
    padding: 12px 14px;
  }

  .es-sticky-btn span {
    font-size: 1.05rem;
  }

  .es-button-subtitle {
    font-size: 0.77rem;
    margin-top: 3px;
  }
}

/* =========================
   MÓVIL MUY PEQUEÑO
========================= */
@media (max-width: 360px) {
  .es-sticky-btn span {
    font-size: 0.88rem;
  }

  .es-button-subtitle {
    font-size: 0.62rem;
  }
}


























.product-header{
  padding:20px 15px;
}

/* BREADCRUMB */
.bread-crumb{
  font-size:13px;
  color:#888;
  margin-bottom:10px;
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.bread-crumb a{
  color:#666;
  text-decoration:none;
}

.bread-crumb a:hover{
  color:#25d366;
}

.separator{
  color:#aaa;
}

.current{
  color:#111;
  font-weight:600;
}



.container.product-header {
  max-width: 1100px;
  margin: 25px auto 10px auto;
  padding: 28px 18px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf3 100%);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.12);
  position: relative;
  overflow: hidden;
}

/* efecto decorativo */
.container.product-header::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.16) 0%, transparent 70%);
  top: -80px;
  left: -70px;
  border-radius: 50%;
  z-index: 0;
}

.container.product-header::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, transparent 70%);
  bottom: -70px;
  right: -60px;
  border-radius: 50%;
  z-index: 0;
}


.container.product-header > * {
  position: relative;
  z-index: 2;
}



/* =========================
   TITULO
========================= */
.product-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #111827;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

/* =========================
   BADGE
========================= */
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff3cd, #ffe08a);
  color: #9a5b00;
  font-size: 0.96rem;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  margin: 0 auto 18px auto;
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.18);
  border: 1px solid rgba(255, 174, 0, 0.28);
  width: fit-content;
  animation: softPulse 2.5s infinite;
}



.product-rating span {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
}


/* =========================
   CONTADOR DE URGENCIA
========================= */
.product-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #be123c;
  font-size: 0.97rem;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 18px;
  border: 1px solid rgba(244, 63, 94, 0.18);
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.12);
  line-height: 1.5;
}


.product-counter strong {
  font-size: 1.18rem;
  color: #e11d48;
  font-weight: 900;
  animation: pulseView 1.5s infinite;
}





/* =========================
   ANIMACIONES
========================= */
@keyframes pulseView {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(225, 29, 72, 0);
  }
  50% {
    transform: scale(1.18);
    text-shadow: 0 0 18px rgba(225, 29, 72, 0.28);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(225, 29, 72, 0);
  }
}

@keyframes softPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(255, 179, 0, 0.18);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(255, 179, 0, 0.26);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(255, 179, 0, 0.18);
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .container.product-header {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .product-title {
    font-size: 1.9rem;
  }
}

/* =========================
   MOVIL
========================= */
@media (max-width: 768px) {
  .container.product-header {
    margin: 18px 12px 8px 12px;
    padding: 22px 14px;
    border-radius: 20px;
  }

  .product-title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .product-badge {
    font-size: 0.88rem;
    padding: 10px 14px;
    border-radius: 999px;
    margin-bottom: 15px;
  }

  .product-rating {
    width: 100%;
    font-size: 1rem;
    padding: 11px 14px;
    border-radius: 14px;
    margin-bottom: 15px;
  }

  .product-rating span {
    display: block;
    width: 100%;
    font-size: 0.88rem;
    margin-top: 2px;
  }

  .product-counter {
    width: 100%;
    font-size: 0.9rem;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .product-counter strong {
    font-size: 1.12rem;
  }
}

/* =========================
   MOVIL PEQUEÑO
========================= */
@media (max-width: 480px) {
  .product-title {
    font-size: 1.39rem;
  }

  .product-badge {
    font-size: 0.82rem;
    padding: 9px 12px;
  }

  .product-rating {
    font-size: 0.95rem;
  }

  .product-rating span {
    font-size: 0.82rem;
  }

  .product-counter {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}














 .error {
    border: 2px solid red;
  }




  .es-input-group {
  position: relative;
  margin-bottom: 15px;
}

.es-input-group .es-icon {
  position: absolute;
  left: 10px;
  top: 70%;
  transform: translateY(-50%);
  color: #888;
}

.es-input-group input,
.es-input-group select {
  padding-left: 35px; /* espacio para el icono */
  width: 100%;
  box-sizing: border-box;
}





















.oculto {
  display: none;
}

.activo {
  display: block;
}














/* ===== CONTENEDOR FORM ===== */






.modal-overlay{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 105vh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}

/* IMPORTANTE: evitar scroll lateral */
/* IMPORTANTE: evitar scroll lateral */
.modal-overlay{
  overflow: hidden;
}

/* ===== FORM ===== */
.es-form{
  background: linear-gradient(180deg,#ffffff,#f8f9ff);
  max-width:420px;
  width:95%;
  border-radius:20px;
  padding:20px;
  box-shadow:0 15px 40px rgba(0,0,0,0.3);
  animation:zoomIn .3s ease;
  font-family:sans-serif;
  border:2px solid #eaeaff;
  
  max-height: 90vh;
    overflow-y: auto; /* scroll interno SOLO del form */

}

/* ===== HEADER ===== */
.es-form-header p{
  background: linear-gradient(90deg,#ff4d4d,#ff0000);
  color:#fff;
  padding:6px;
  border-radius:8px;
  font-size:13px;
  box-shadow:0 3px 10px rgba(255,0,0,0.4);
}

/* ===== CLOSE ===== */
.close-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5f5;
  color: #dc2626;
  font-size: 18px;
  font-weight: 900;
  border-radius: 18px;
  border: 5px solid #fecaca;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.12);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 30;
  line-height: 1;
  user-select: none;
}

.close-icon:hover{
  background:#ff3b3b;
  color:#fff;
  transform:rotate(90deg);
}


















/* ===== TIMER ===== */
.es-countdown{
  background: linear-gradient(90deg,#fff5f5,#ffe3e3);
  border:1px solid #ff9a9a;
  border-radius:12px;
  margin:12px 0;
  font-size:14px;
  padding:10px;
  animation:pulse 1.5s infinite;
}
#timer{
  color:#ff0000;
  font-size:22px;
}

/* ===== OFERTAS ===== */
.es-qo-container {
  border: 2px solid #e4e4e4;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: .3s;
  background: #fff;
  position: relative;
  overflow: visible;
}

.es-qo-container:hover {
  border-color: #ff8a00;
  box-shadow: 0 10px 25px rgba(255, 138, 0, 0.12);
  transform: translateY(-2px);
}

/* OFERTA POPULAR */
.es-qo-container:nth-child(2){
  border-color:#25d366;
  background:#eafff1;
}



/* OFERTA MEJOR PRECIO */
.es-qo-container:nth-child(3){
  border-color:#ff9900;
  background:#fff6e6;
}



.es-qo-container strong{
  float:right;
  color:#000;
  font-size:16px;
}

/* ===== INPUTS ===== */
.es-label{
  font-size:11px;
  font-weight:700;
  margin-top:10px;
  display:block;
  color:#333;
}

.es-input{
  width:100%;
  padding:11px;
  border-radius:10px;
  border:2px solid #ddd;
  margin-top:5px;
  font-size:14px;
  transition:.3s;
}

.es-input:focus{
  border-color:#25d366;
  box-shadow:0 0 10px rgba(37,211,102,0.3);
  outline:none;
}

/* ===== TOTAL ===== */
.total-container{
  background: linear-gradient(90deg,#f9f9f9,#eefaf2);
  border-radius:12px;
  padding:14px;
  margin-top:15px;
  font-size:17px;
  border:1px solid #d6f5e3;
}

#precio{
  color:#25d366;
  font-size:20px;
}

/* ===== BOTON ===== */
.es-button{
  width:100%;
  margin-top:15px;
  padding:15px;
  border:none;
  border-radius:14px;
  font-size:18px;
  font-weight:800;
  color:#fff;
  background: linear-gradient(135deg,#099e40,#069937);
  cursor:pointer;
  transition:.3s;
  box-shadow:0 8px 20px rgba(0,0,0,0.3);
  animation:shake 2s infinite;
}

.es-button:hover{
  transform:scale(1.05);
  background: linear-gradient(135deg,#128c7e,#0f6f63);
}

/* ===== ANIMACIONES ===== */
@keyframes zoomIn{
  from{opacity:0; transform:scale(0.8);}
  to{opacity:1; transform:scale(1);}
}

@keyframes pulse{
  0%{box-shadow:0 0 0 rgba(255,0,0,0.4);}
  50%{box-shadow:0 0 10px rgba(255,0,0,0.6);}
  100%{box-shadow:0 0 0 rgba(255,0,0,0.4);}
}





@keyframes shake {
  0% { transform: translate(0); }
  10% { transform: translate(-2px, 2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  50% { transform: translate(-1px, 1px); }
  60% { transform: translate(1px, -1px); }
  70% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
  90% { transform: translate(0); }
  100% { transform: translate(0); }
}


/* ===== RESPONSIVE ===== */
@media(max-width:480px){
  .es-form{
    padding:15px;
  }

  .es-button{
    font-size:16px;
  }
}






.wsp-info{
  display:flex;
  align-items:center;
  gap:10px;
  background: linear-gradient(135deg,#e9f7ef,#d4f5df);
  border:1px solid #25d366;
  border-radius:12px;
  padding:12px 15px;
  margin-top:12px;
  font-family:sans-serif;
  box-shadow:0 4px 12px rgba(37,211,102,0.2);
  animation:fadeIn .4s ease;
}

.wsp-info i{
  font-size:22px;
  color:#25d366;
}

.wsp-info p{
  margin:0;
  font-size:13px;
  color:#155724;
  line-height:1.4;
}

.wsp-info strong{
  color:#128c7e;
}

/* animación suave */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(10px);}
  to{opacity:1; transform:translateY(0);}
}




.product-image-box{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:15px;
  padding:10px;
}

.product-image-box img{
  width:100%;
  max-width:280px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  transition:.4s ease;
  background:#fff;
  padding:6px;
}

/* efecto hover (desktop) */
.product-image-box img:hover{
  transform:scale(1.05) rotate(1deg);
  box-shadow:0 15px 40px rgba(0,0,0,0.35);
}

/* animación de entrada */
.product-image-box img{
  animation:fadeZoom 0.5s ease;
}

@keyframes fadeZoom{
  from{
    opacity:0;
    transform:scale(0.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}








.gta-content__container{
  display:flex;
  justify-content:center;
  padding:20px;
  border-radius:20px;
  background:#111; /* negro elegante */
  box-shadow:0 10px 30px rgba(0,0,0,0.5);
  margin-top:15px;
}

.gta-content{
  width:100%;
  text-align:center;
}

/* TITULO */
.gta-content .title{
  color:#fff;
  font-size:20px;
  font-weight:800;
  margin-bottom:5px;
}

/* SUBTITULO */
.gta-content .subtitle{
  color:#ddd;
  font-size:14px;
  margin-bottom:10px;
}

/* CONTADOR */
.gta-content__timer{
  display:flex;
  justify-content:center;
}

.gta-timer__wrapper{
  display:flex;
  align-items:center;
  gap:8px;
}

/* UNIDADES */
.gta-timer__unit{
  text-align:center;
}

.gta-timer__unit h4{
  color:#ffbe08; /* amarillo mostaza */
  font-size:42px;
  margin:0;
  font-weight:800;
}

.gta-timer__unit div{
  color:#fff;
  font-size:12px;
}

/* SEPARADOR */
.gta-timer__separator{
  color:#ffbe08;
  font-size:28px;
  font-weight:bold;
}

/* RESPONSIVE */
@media(max-width:480px){

  .gta-content .title{
    font-size:18px;
  }

  .gta-timer__unit h4{
    font-size:32px;
  }

}





.info-box{
  background:#f2f3f5;
  border-radius:20px;
  padding:20px;
  max-width:700px;
  margin:20px auto;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  font-family:sans-serif;
}

/* ITEM */
.info-item{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  font-size:16px;
  color:#555;
}

/* ICONOS */
.info-item .icon{
  font-size:22px;
  min-width:30px;
  text-align:center;
}

/* TEXTO */
.info-item p{
  margin:0;
  line-height:1.4;
}

/* DESTACADO (primera línea) */
.info-item.highlight{
  color:#2b8a3e;
  font-size:18px;
}

.info-item.highlight strong{
  color:#16a34a; /* verde fuerte */
}

.info-item.highlight p{
  color:#1e90ff; /* azul */
}

.info-item strong{
  color:#2d2d2d;
}

/* RESPONSIVE */
@media(max-width:480px){

  .info-box{
    padding:15px;
  }

  .info-item{
    font-size:14px;
    align-items:flex-start;
  }

  .info-item .icon{
    font-size:20px;
  }

}




















.product-title{
  font-size: 15px;
  font-weight: 900;
  color: #111;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: capitalize;
}

/* =========================
   TITULO PRINCIPAL PRO
========================= */
.fancy-title {
font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  margin: 20px auto 18px auto;
  padding: 0 12px;
  color: #111827;
  letter-spacing: -1px;
  max-width: 950px;
  text-wrap: balance;
  position: relative;
  
  /* efecto de texto moderno */
  background: linear-gradient(90deg, #111827, #ff7a00, #111827);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shineTitle 4s linear infinite;
  
  /* sombra suave */
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Línea decorativa abajo */
.fancy-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9900, #ff5e00);
  box-shadow: 0 4px 14px rgba(255, 136, 0, 0.25);
}

/* Animación del degradado */
@keyframes shineTitle {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
  .fancy-title {
    font-size: clamp(1.3rem, 3vw, 2.2rem);

    margin: 18px auto 16px auto;
    padding: 0 14px;
  }

  .fancy-title::after {
    width: 80px;
    height: 4px;
  }
}

/* =========================
   MOVIL
========================= */
@media (max-width: 768px) {
  .fancy-title {
font-size: clamp(1.3rem, 3vw, 2.2rem);
    line-height: 1.22;
    margin: 16px auto 14px auto;
    padding: 0 10px;
    letter-spacing: -0.5px;
  }

  .fancy-title::after {
    width: 70px;
    height: 4px;
    margin-top: 12px;
  }
}

/* =========================
   MOVIL PEQUEÑO
========================= */
@media (max-width: 480px) {
  .fancy-title {
font-size: clamp(1.3rem, 3vw, 2.2rem);
    line-height: 1.25;
    margin: 14px auto 12px auto;
    padding: 0 8px;
  }

  .fancy-title::after {
    width: 58px;
    height: 3px;
  }
}

















.es-group{
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.es-qo-container{
  position: relative;
  border: 2px solid #e9e9e9;
  border-radius: 18px;
  padding: 16px 18px;
  background: #fff;
  transition: all .25s ease;
  cursor: pointer;
  overflow: hidden;
}

.es-qo-container:hover{
  border-color: #ff4d6d;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.es-qo-container.active{
  border-color: #ff4d6d;
  background: #fff7f9;
  box-shadow: 0 8px 20px rgba(255,77,109,0.15);
}

.es-qo-container label{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  cursor: pointer;
}

.es-qo-container input[type="radio"]{
  display: none;
}

.es-qo-left{
  display: flex;
  align-items: center;
  gap: 14px;
}

.es-qo-radio{
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all .25s ease;
}

.es-qo-container.active .es-qo-radio{
  border-color: #ff4d6d;
  background: #ff4d6d;
}

.es-qo-container.active .es-qo-radio::after{
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.es-qo-title{
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  color: #111;
}

.es-qo-subtitle{
  font-size: 13px;
  color: #777;
}

.es-qo-price-box{
  text-align: right;
}

.es-qo-price{
  font-size: 18px;
  font-weight: 900;
  color: #111;
  margin: 0;
}

.es-qo-old{
  font-size: 13px;
  color: #0f0f0faf;
  text-decoration: line-through;
  margin: 4px 0 0;
}

.es-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  box-shadow: 0 10px 22px rgba(255, 90, 0, 0.3);
  z-index: 50;
  white-space: nowrap;
  transform: rotate(9deg);
}

.es-badge.hot{
  background: linear-gradient(90deg, #ff4d6d, #ff7b00);
}

.es-badge.green{
  background: linear-gradient(90deg, #00b894, #00cec9);
}

@media (max-width: 768px){
  .es-qo-container label{
    flex-direction: column;
    align-items: flex-start;
  }

  .es-qo-price-box{
    width: 100%;
    text-align: left;
    margin-left: 36px;
  }

  .es-qo-price{
    font-size: 19px;
  }
}



.total-container{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 9px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.total-final{
  background: #fff7f9;
  border: 2px solid #ff4d6d;
}

.total-final strong{
  font-size: 20px;
  color: #111;
}






.stock-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stock-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.stock-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  max-width: 100%;
}







/* =========================
   POPUP OFERTA SALIDA
========================= */
.popup-oferta {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 18px;
}

.popup-oferta.active {
  display: flex;
}

.popup-oferta-box {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  width: 100%;
  max-width: 430px;
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  animation: popupZoom 0.35s ease;
  border: 1px solid rgba(255, 153, 0, 0.18);
  overflow: hidden;
}

.popup-oferta-box::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.16), transparent 70%);
  top: -60px;
  left: -50px;
  border-radius: 50%;
}

.popup-oferta-box::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.12), transparent 70%);
  bottom: -60px;
  right: -50px;
  border-radius: 50%;
}

.popup-oferta-box > * {
  position: relative;
  z-index: 2;
}

/* botón cerrar */
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 18px;
  font-weight: 900;
  color: #555;
  cursor: pointer;
  transition: 0.2s;
}

.popup-close:hover {
  transform: scale(1.15);
  color: #e11d48;
}

/* badge */
.popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(255, 90, 0, 0.25);
}

/* titulo */
.popup-oferta-box h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

/* texto */
.popup-texto {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 18px;
}

.popup-texto strong {
  color: #dc2626;
}

/* precios */
.popup-precio {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.precio-antes {
  font-size: 1.1rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 700;
}

.precio-ahora {
  font-size: 2rem;
  font-weight: 900;
  color: #16a34a;
  background: #ecfdf5;
  padding: 8px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.12);
}

/* texto extra */
.popup-extra {
  font-size: 0.95rem;
  color: #b45309;
  font-weight: 700;
  margin-bottom: 20px;
}

/* boton */
.popup-btn {
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
  padding: 15px 18px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.22);
  transition: 0.25s ease;
}

.popup-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

/* animación */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .popup-oferta-box {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .popup-oferta-box h3 {
    font-size: 1.45rem;
  }

  .popup-texto {
    font-size: 0.95rem;
  }

  .precio-ahora {
    font-size: 1.7rem;
    padding: 7px 14px;
  }

  .popup-btn {
    font-size: 0.95rem;
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {
  .popup-oferta-box {
    padding: 22px 16px;
  }

  .popup-oferta-box h3 {
    font-size: 1.28rem;
  }

  .popup-texto {
    font-size: 0.9rem;
  }

  .precio-antes {
    font-size: 1rem;
  }

  .precio-ahora {
    font-size: 1.5rem;
  }

  .popup-extra {
    font-size: 0.88rem;
  }
}








/* =========================
   BOTÓN FLOTANTE WHATSAPP
========================= */
/* =========================
   BOTÓN FLOTANTE WHATSAPP REDONDO
========================= */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 9999;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  text-decoration: none;
  border-radius: 50%;

  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.32);
  transition: all 0.28s ease;
  animation: whatsappPulse 2s infinite;
}

/* Hover */
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.42);
  color: #fff;
  text-decoration: none;
}

/* Click */
.whatsapp-float:active {
  transform: scale(0.96);
}

/* Ícono real */
.whatsapp-icon {
  width: 34px;
  height: 34px;
  display: block;
}


.whatsapp-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.9) !important;
  transition: all 0.3s ease;
}




/* Animación */
@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.28);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 20px 42px rgba(37, 211, 102, 0.40);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.28);
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 16px;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}

/* =========================
   MÓVIL PEQUEÑO
========================= */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 12px;
    bottom: 120px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* =========================
   SI TIENES CTA ABAJO
========================= */
@media (max-width: 768px) {
  .whatsapp-float.cta-up {
    bottom: 90px;
  }
}



.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}


.whatsapp-bubble {
  position: fixed;
  right: 18px;
  bottom: 170px;
  background: #fff;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  z-index: 9998;
  animation: bubbleFloat 2.2s infinite ease-in-out;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}













/* =========================
   HEADER LANDING MODERNO
========================= */
/* =========================
   BARRA DE BENEFICIOS PREMIUM
========================= */
.lp-benefits-bar {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 16px auto;
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* brillo suave */
.lp-benefits-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: barShine 5s infinite;
  z-index: 2;
  pointer-events: none;
}

/* pista animada */
.lp-benefits-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 14px 18px;
  animation: scrollBenefits 18s linear infinite;
}

/* item */
.lp-benefit-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 900;
  color: #111827;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

/* Animación horizontal */
@keyframes scrollBenefits {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* brillo */
@keyframes barShine {
  0% {
    left: -80%;
  }
  50% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  .lp-benefits-bar {
    border-radius: 16px;
    margin: 14px auto;
  }

  .lp-benefits-track {
    gap: 12px;
    padding: 12px 14px;
    animation-duration: 16s;
  }

  .lp-benefit-item {
    font-size: 0.8rem;
    padding: 9px 14px;
  }
}

/* =========================
   MÓVIL
========================= */
@media (max-width: 480px) {
  .lp-benefits-bar {
    border-radius: 14px;
    margin: 12px auto;
  }

  .lp-benefits-track {
    gap: 10px;
    padding: 10px 12px;
    animation-duration: 14s;
  }

  .lp-benefit-item {
    font-size: 0.76rem;
    padding: 8px 12px;
    border-radius: 999px;
  }
}

/* =========================
   MÓVIL MUY PEQUEÑO
========================= */
@media (max-width: 360px) {
  .lp-benefit-item {
    font-size: 0.72rem;
    padding: 8px 10px;
  }
}




 
.popup-grupo {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed #ddd;
  text-align: center;
}

.popup-grupo p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

.popup-grupo-link {
  display: inline-block;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
}

.popup-grupo-link:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}
