/* === FIX SECURITY CARD === */
.wd-security-card {
  min-width: 0 !important;
  overflow: hidden !important;
}

.wd-security-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 110px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px;
  display: block;
}

.wd-security-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  overflow: visible !important;
}

/* === FIX BOTTONE AGGIUNGI AL CARRELLO === */
.woocommerce div.product form.cart .button,
.single-product .single_add_to_cart_button {
  background-color: #064020 !important;
  color: #fff !important;
  padding: 14px 20px !important;
  border-radius: 6px !important;
  border: none !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  line-height: normal !important;
  text-align: center !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.woocommerce div.product form.cart .button::before,
.woocommerce div.product form.cart .button::after,
.single-product .single_add_to_cart_button::before,
.single-product .single_add_to_cart_button::after {
  content: none !important;
  display: none !important;
}

.woocommerce div.product form.cart .button:hover,
.single-product .single_add_to_cart_button:hover {
  background-color: #043018 !important;
  color: #fff !important;
}

/* BLOCCA MOVIMENTO PULSANTE */
.woocommerce div.product form.cart .button,
.single-product .single_add_to_cart_button {
  position: static !important;
  transform: none !important;
  transition: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

/* BLOCCA HOVER STRANI */
.woocommerce div.product form.cart .button:hover,
.single-product .single_add_to_cart_button:hover {
  transform: none !important;
  transition: none !important;
}

/* BLOCCA EVENTUALI SPAN INTERNI */
.woocommerce div.product form.cart .button span,
.single-product .single_add_to_cart_button span {
  position: static !important;
  transform: none !important;
}
.wd-related-card .button {
  background: #111 !important;
  color: #fff !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* === NASCONDI ADD TO CART NEI CORRELATI === */

.wd-related-card .button,
.wd-related-card .add_to_cart_button,
.wd-related-card form.cart {
  display: none !important;
}/* === RIMUOVE ADD TO CART SOLO NEI CORRELATI === */

.wd-related a.button,
.wd-related .add_to_cart_button,
.wd-related form.cart,
.wd-related .product_type_simple,
.wd-related .product_type_variable {
  display: none !important;
}