/* ========================================
   TIENDANONGO - Custom Styles
   TOP BARS + PAYBOX + HOVER
   ======================================== */


/* ===== TOP BAR PROMO (igual a la superior) ===== */
.tiendanongo-topbars{
  background: #e57373;      /* rosado tipo banner */
  border-bottom: none;
  font-size: 13px;
  color: #ffffff;
}

.tiendanongo-topbar,
.tiendanongo-topbar strong{
  color: #ffffff;
}


.tiendanongo-topbars-container{
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 10px 12px;
}

.tiendanongo-topbar{
  white-space: nowrap;
}

@media (max-width: 768px){
  .tiendanongo-topbars-container{
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* =================================================
   PAYBOX TIENDANONGO (rosa + verde)
   HTML usa:
   - #tiendanongo-paybox-trigger
   - .tiendanongo-paybox-rose
   - .tiendanongo-paybox-green
   - .tiendanongo-paybox-more
   ================================================= */

/* Ocultar elementos nativos que duplican info */
.js-product-discount-container{
  display: none !important;
}
/* #btn-installments{ display:none !important; } */

/* Contenedor clickeable */
#tiendanongo-paybox-trigger{
  cursor: pointer;
  margin-top: 12px;
}

/* Caja rosa externa */
#tiendanongo-paybox-trigger .tiendanongo-paybox-rose{
  background: rgba(255, 105, 180, .06);
  border: 2px solid rgba(255, 105, 180, .25);
  border-radius: 16px;
  padding: 14px;
}

/* Bloque verde agua interno */
#tiendanongo-paybox-trigger .tiendanongo-paybox-green{
  display: block;
  background: #dff5e6;
  border-left: 6px solid #2fb36d;
  border-radius: 12px;
  padding: 12px 12px;
  margin: 0 0 10px 0;
  color: #1d4f3f;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
}

/* CTA "Ver más detalles" */
#tiendanongo-paybox-trigger .tiendanongo-paybox-more{
  font-size: 13px;
  opacity: .85;
  text-decoration: underline;
}

#tiendanongo-paybox-trigger:hover .tiendanongo-paybox-more{
  opacity: 1;
}


/* =================================================
   HOVER SUAVE (branding visual)
   ================================================= */

.product-image img,
.product-gallery img,
.thumbnail img{
  transition: transform .18s ease, filter .18s ease;
  transform: translateZ(0);
}

.product-image:hover img,
.product-gallery:hover img,
.thumbnail:hover img{
  transform: scale(1.03);
  filter: saturate(1.02);
}

/* Botones */
button,
.btn,
.button,
.add-to-cart{
  transition: transform .15s ease, box-shadow .15s ease;
}

button:hover,
.btn:hover,
.button:hover,
.add-to-cart:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

/* ===== PAYBOX SEGURO ROTACIÓN (estética completa) ===== */
.tiendanongo-paybox{
  background: rgba(255, 105, 180, .06);
  border: 2px solid rgba(255, 105, 180, .25);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0 8px;
  position: relative !important;
  z-index: 1 !important;
}

.tiendanongo-paybox-green{
  background: #dff5e6;
  border-left: 6px solid #2fb36d;
  border-radius: 12px;
  padding: 12px;
  margin: 0 0 10px;
  color: #1d4f3f;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
}

/* Link "Ver más" del seguro */
.tiendanongo-paybox a {
  cursor: pointer !important;
  display: inline-block !important;
  margin-top: 6px;
  font-size: 13px;
  color: #1d4f3f !important;
  opacity: .85;
  text-decoration: underline !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 9999 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.tiendanongo-paybox a:hover {
  opacity: 1 !important;
}

/* Link nativo "Ver más detalles" (medios de pago) */
#btn-installments{
  display: inline-block !important;
  margin-top: 10px;
  text-decoration: underline;
  opacity: .85;
  cursor: pointer;
}
#btn-installments:hover{
  opacity: 1;
}