/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* Tada Animation Keyframes */
@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

/* Add to Cart and Buy Now Buttons */
.woocommerce a.button.add_to_cart_button, 
.woocommerce button.single_add_to_cart_button {
    transition: all 0.3s ease-in-out;
}

/* Trigger the Animation on Hover */
.woocommerce a.button.add_to_cart_button:hover, 
.woocommerce button.single_add_to_cart_button:hover {
    animation: tada 0.8s ease-in-out;
}

/* Trigger Tada Animation on Click */
.tada-animate {
    animation: tada 0.8s ease-in-out;
}

/* Animation on Page Load */
.animate-on-load {
    animation: tada 0.8s ease-in-out;
}
