.add-to-cart-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999999;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-left: 4px solid #28a745;
    overflow: hidden;
}

.add-to-cart-toast.show {
    transform: translateX(0);
}

.add-to-cart-toast-success {
    border-left-color: #28a745;
}

.add-to-cart-toast-error {
    border-left-color: #dc3545;
}

.add-to-cart-toast .toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.add-to-cart-toast-success .toast-icon {
    background: #28a745;
    color: white;
}

.add-to-cart-toast-error .toast-icon {
    background: #dc3545;
    color: white;
}

.add-to-cart-toast .toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 0.5s ease-in-out;
}

@keyframes cartShake {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.cart-shake {
    animation: cartShake 0.5s ease-in-out;
}

.product-button-cart .fa-spinner {
    margin-right: 8px;
}

.product-button-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #6c757d !important;
}

.product-main-image {
    transition: transform 0.3s ease;
}

.product-main-image:hover {
    transform: scale(1.05);
}

@keyframes imageFly {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(0.9) rotate(45deg);
    }
    100% {
        transform: scale(0.8) rotate(90deg);
    }
}

.image-flying {
    animation: imageFly 1.2s ease-in-out;
}
