/* Estilos de notificación del carrito */
.cart-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  text-align: center;
  z-index: 9999;
  opacity: 0;
  width: 280px;
  pointer-events: none;
  animation: cartNotificationShow 3s ease-in-out forwards;
}

.cart-notification-icon {
  margin-bottom: 15px;
  height: 150px;
  position: relative;
  overflow: hidden;
}

.cart-notification-icon svg {
  width: 100%;
  height: 100%;
}

.cart-notification-text {
  font-family: Arial, sans-serif;
}

.cart-notification-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #153146;
}

.cart-notification-subtitle {
  font-size: 16px;
  color: #153146;
}

@keyframes cartNotificationShow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  20% {
    transform: translate(-50%, -50%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Animación de la bolsa */
.bag-group {
  animation: bagMove 1.5s ease-in-out forwards;
  transform-origin: center;
}

@keyframes bagMove {
  0% {
    transform: translateX(-80px) scale(0.8);
  }
  60% {
    transform: translateX(10px) scale(1);
  }
  75% {
    transform: translateX(0) scale(1);
  }
  85% {
    transform: translateX(5px) scale(1);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

/* Animación de líneas de movimiento */
.motion-lines {
  animation: linesOpacity 1.5s ease-in-out;
}

@keyframes linesOpacity {
  0%, 10% {
    opacity: 0;
  }
  30%, 60% {
    opacity: 1;
  }
  80%, 100% {
    opacity: 0;
  }
}

/* Animación de marca de verificación */
.checkmark {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCheck 0.8s ease-in-out forwards 0.6s;
}

@keyframes drawCheck {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Animación del círculo de verificación */
.check-circle {
  transform-origin: center;
  transform: scale(0);
  animation: circleAppear 0.5s ease-out forwards 0.5s;
}

@keyframes circleAppear {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}