/* Animacion de "agregar al carrito": toast mas suave, pulso del icono y vuelo de imagen.
   Archivo nuevo, no compilado (sin pipeline de build accesible) - no toca main.css/_animate.scss/_cart.scss. */

@keyframes cartToastIn {
  from { opacity: 0; transform: translateY(-12px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Pill minimal, azul, compacto - !important porque u_alert() pone background/color inline.
   El centrado horizontal se hereda de .alert.top.center de main.css; solo se fuerza abajo. */
.alert.cartToastIn {
  animation: cartToastIn .3s cubic-bezier(.22, 1, .36, 1) both;
  background: rgb(52, 131, 250) !important;
  border-radius: 100px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  width: auto !important;
  max-width: min(90vw, 380px);
  top: auto !important;
  bottom: 24px !important;
}
.alert.cartToastIn .alert__icon {
  width: auto;
  height: auto;
  background: none !important;
  font-size: 14px;
  flex-shrink: 0;
}
.alert.cartToastIn .alert__text {
  font-size: 13px;
  margin: 0;
  white-space: normal;
  line-height: 1.3;
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.cart__btn.is-pulsing,
.cart_total-products.is-pulsing {
  animation: cartPulse .4s ease;
}

.product__add-cart:disabled,
.cont-product__button .button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.cart-fly-clone {
  position: fixed;
  z-index: 99999;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform .55s cubic-bezier(.34, 0, .2, 1), opacity .55s ease .2s;
}
