.theme-product-name {
  text-align: center !important;
}

.theme-product-name a {
  display: inline-block;
  text-align: center;
  width: 100%;
}
.theme-product-name-rating-price,
.theme-product-list-quantity-addcart {
  text-align: center !important;
}

/* Estilo normal del botón */
.zpbutton {
  background-color: #ffdde6 !important;
  color: #806B0E !important;
  border: 1px solid #ffdde6 !important;
}

/* Estilo al pasar el mouse (hover) */
.zpbutton:hover {
  background-color: #FFFFFF !important;
  color: #806B0E !important;
  border: 1px solid #806B0E !important;
}

/* Contenedor del popup - Éxito al agregar */
.theme-cart-add-success-message.theme-cart-success {
  background-color: #ffdde6 !important;
  color: #806B0E !important;
  border: 1px solid #806B0E !important;
  padding: 16px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: none !important;
}

/* Todos los elementos internos del popup */
.theme-cart-add-success-message.theme-cart-success * {
  background-color: transparent !important;
  color: #806B0E !important;
  fill: #806B0E !important;
  border-color: #806B0E !important;
  transition: none !important;
}

/* Ícono check */
.theme-cart-add-success-message.theme-cart-success svg path {
  fill: #806B0E !important;
}

/* Botones del popup */
.theme-cart-success-message-links .zpbutton {
  background-color: #806B0E !important;
  color: #fff !important;
  border: none !important;
  transition: none !important;
}

/* Hover de botones */
.theme-cart-success-message-links .zpbutton:hover {
  background-color: #fff !important;
  color: #806B0E !important;
  border: 1px solid #806B0E !important;
}



/* Contenedor del mensaje de error */
.theme-cart-add-failure-message.theme-cart-failure {
  background-color: #ffdde6 !important; /* fondo rosado claro */
  color: #806B0E !important;            /* texto dorado oscuro */
  border: 1px solid #806B0E !important;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Texto dentro del mensaje */
.theme-cart-add-failure-message-inner,
.theme-cart-fail-reason {
  color: #806B0E !important;
  font-weight: bold;
}

/* Botón "Cerrar" */
.theme-cart-failure-message-links .zpbutton {
  background-color: #806B0E !important;
  color: #fff !important;
  border: none !important;
}

/* Hover del botón "Cerrar" */
.theme-cart-failure-message-links .zpbutton:hover {
  background-color: #fff !important;
  color: #806B0E !important;
  border: 1px solid #806B0E !important;
}
/* Contenedor del mensaje de éxito al eliminar */
.theme-cart-delete-success-message.theme-cart-success-remove {
  background-color: #ffdde6 !important; /* fondo rosado claro */
  color: #806B0E !important;            /* texto dorado oscuro */
  border: 1px solid #806B0E !important;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ícono dentro del popup */
.theme-cart-delete-success-message.theme-cart-success-remove svg path {
  fill: #806B0E !important;
}

/* Transición suave de opacidad */
.theme-cart-add-success-message,
.theme-cart-delete-success-message,
.theme-cart-add-failure-message {
  transition: opacity 0.3s ease-in-out !important;
}

/* Cuando se está ocultando el popup, lo hacemos invisible */
.theme-cart-success[style*="display: none"],
.theme-cart-success-remove[style*="display: none"],
.theme-cart-failure[style*="display: none"] {
  opacity: 0 !important;
  transition: opacity 0.3s ease-in-out !important;
}

/* Estilo de texto dentro de todos los popups (éxito, error, eliminado) */
.theme-cart-add-success-message,
.theme-cart-delete-success-message,
.theme-cart-add-failure-message {
  font-weight: 400 !important; /* peso normal */
}

/* Aplica también a textos internos y razones */
.theme-cart-add-success-message-inner,
.theme-cart-delete-success-message-inner,
.theme-cart-fail-reason,
.theme-cart-success-message-links a,
.theme-cart-failure-message-links a {
  font-weight: 400 !important;
}
/* Cambia el corazón rojo a rosa */
.wishlist-selection-container svg path {
  stroke: #eebace !important;
}

/* Si quieres que el fondo del círculo sea más suave o rosado */
.wishlist-selection-container svg rect {
  fill: white !important; /* o usa #fff5f8 para un rosado muy claro */
}
/* Corazón dorado si ya está en wishlist */
.wishlist-selection-container[data-zs-wishlisted="true"] svg path {
  stroke: #eebace !important;
}
/* Relleno dorado cuando está en wishlist */
.wishlist-selection-container[data-zs-wishlisted="true"] svg path {
  fill: #eebace !important;   /* relleno */
  stroke: #eebace !important; /* borde */
}
/* Animación latido */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.2);
  }
  40% {
    transform: scale(1);
  }
}

/* Aplica la animación solo al hacer clic */
.wishlist-selection-container.clicked svg {
  animation: heartbeat 0.4s ease;
}
/* Tooltip personalizado */
.wishlist-tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #eebace;
  color: #806B0E;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Cuando se activa */
.wishlist-tooltip.show {
  opacity: 1;
}
/* Oculta popups grandes de wishlist de Zoho (si existen) */
div[class*="wishlist"][class*="success"],
div[class*="wishlist"][class*="popup"],
div[class*="wishlist"][class*="message"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Elimina fondo y sombra en contenedor de detalles */
.theme-product-box-content .theme-product-details-area {
  background: transparent !important;
  box-shadow: none !important;
}

/* Asegura que no se esté aplicando en otro contenedor */
.theme-product-name-rating-price,
.theme-product-box-content,
.theme-product-name,
.theme-product-price {
  background: transparent !important;
  box-shadow: none !important;
}

/* Mantiene el color dorado en todos los elementos clave */
.theme-product-details-area,
.theme-product-name a,
.theme-product-price span,
.theme-product-list-quantity-field,
.theme-product-list-quantity-decrease svg,
.theme-product-list-quantity-increase svg,
.zpbutton {
  color: #806B0E !important;
  fill: #806B0E !important;
  border-color: white !important;
}
/* Aplica borde dorado suave y redondeado al área de detalles */
.theme-product-box-content .theme-product-details-area {
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid #806B0E !important;
  border-radius: 8px; /* puedes ajustar esto a 4px o 12px según tu gusto */
  padding: 8px; /* para que no se vea apretado */
}

@media only screen and (max-width: 767px) {
  .theme-product-name a {
    font-size: 10px !important;
    line-height: 1.2em !important;
    word-break: break-word !important;
  }
}
/* Oculta el texto original de la etiqueta */
.product-sale-tag {
  font-size: 0px; /* Oculta el texto */
  position: relative;
}

/* Agrega un nuevo texto personalizado */
.product-sale-tag::after {
  content: "Sale";
  font-size: 12px;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
}
