/* Cache le sélecteur de variation "mode-dachat" */
table.variations tr[data-attribute_name*="mode-dachat"],
table.variations select[name*="mode-dachat"],
table.variations label[for*="mode-dachat"],
.woocommerce-variation.single_variation[data-attribute_name*="mode-dachat"] {
  display: none !important;
}

/* Cache les tableaux de prix dégressifs WCCS */
.wccs-bulk-pricing-table-container,
.wccs-bulk-pricing-table-title {
  display: none !important;
}

/* Cache le prix et la description de variation (notre UI custom les remplace) */
.woocommerce-variation.single_variation .woocommerce-variation-description,
.woocommerce-variation.single_variation .woocommerce-variation-price {
  display: none !important;
}

/* === Harmonisation du bouton "Ajouter au panier" avec le bouton S’abonner === */

form.cart {
  display: flex;
  align-items: stretch;
  gap: 10px;
  justify-content: flex-start;
}

form.cart .single_add_to_cart_button {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: #1B2D6B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  text-transform: none !important;
  font-family: 'Figtree', sans-serif !important;
  transition: background 0.2s ease, transform 0.1s ease;
  padding: 0 20px !important;
  height: auto;
  letter-spacing: -0.01em;
  line-height: 100%;
  box-shadow: none !important;
}

form.cart .single_add_to_cart_button:hover {
  background: #0C1A4C !important;
}

form.cart .single_add_to_cart_button:disabled,
form.cart .single_add_to_cart_button. {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* === Optionnel : alignement et espacement harmonisé avec ton bloc custom === */
form.cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === Bloc quantité (Flatsome) harmonisé === */
form.cart .ux-quantity {
  display: flex !important;
  flex: 0 0 20%;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #D7D8DA;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  height: auto;
  font-family: 'Figtree';
  font-weight: 500;
}

/* === Boutons +/- === */
form.cart input.ux-quantity__button {
  flex: 0 0 33%;
  background: #fff;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  color: #272624;
  line-height: 1;
  height: 100%;
  padding: 0;
}

form.cart input.ux-quantity__button:hover {
  background: #f2f2f2;
}

/* === Champ numérique central === */
form.cart input.qty {
  flex: 1;
  text-align: center;
  border: none;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: #272624;
  height: 100%;
  outline: none;
  box-shadow: none;
}

/* Supprime les flèches natives */
form.cart input.qty::-webkit-outer-spin-button,
form.cart input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
form.cart input.qty[type=number] {
  -moz-appearance: textfield;
}

/* Cache le bouton d'ajout au panier pour les produits pur abo */

.hydro-hide-atc .elementor-widget-woocommerce-product-add-to-cart {
    display: none !important;
}