/* WooCommerce Ultra-light Styles for msgourmets-theme-RBE */

.woocommerce ul.products li.product {
  background: #fff8f2;
  border: 1px solid #f3e4d5;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.woocommerce ul.products li.product:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.woocommerce ul.products li.product .price {
  color: #e38b2c;
  font-weight: 600;
}
.woocommerce ul.products li.product .button {
  background-color: #e38b2c;
  color: #fff;
  border-radius: 6px;
  padding: .6rem 1.2rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.woocommerce ul.products li.product .button:hover {
  background-color: #cf781d;
}
.woocommerce ul.products li.product .button.pulse {
  animation: pulseBtn .6s ease;
}
@keyframes pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Spinner lors de l'ajout */
.add_to_cart_button.loading {
  pointer-events: none;
  opacity: .8;
  position: relative;
}
.add_to_cart_button.loading::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

.added_to_cart {
  background-color: #4CAF50 !important;
  color: #fff !important;
}