/*
Theme Name: Woostify Child
Theme URI: https://yourwebsite.com
Description: Child theme for Woostify
Author: Your Name
Author URI: https://yourwebsite.com
Template: woostify
Version: 1.0
*/

/* ================================
   Your Custom CSS Starts Here
================================ */

/* Example */

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 56px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* GLOBAL IMAGE LOADER */
img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: imgShimmer 1.4s ease infinite;
}

/* Stop animation once image is loaded */
img.loaded {
  animation: none;
  background: none;
}

@keyframes imgShimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}

/* FORCE center product thumbnail container */
.woocommerce ul.products li.product .woocommerce-product-thumbnail,
.woocommerce ul.products li.product .product-thumbnail,
.woocommerce ul.products li.product .woostify-product-thumbnail {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* FORCE center image itself */
.woocommerce ul.products li.product img {
    margin: 0 auto !important;
    display: block !important;
}

/* MOBILE FIX (very important) */
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        text-align: center !important;
    }
}

