/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Simple products: let Elementor's add-to-cart form wrap */
.single-product .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart.elementor-product-simple form.cart:not(.grouped_form):not(.variations_form) {
  flex-wrap: wrap;
}
.single-product .elementor-add-to-cart.elementor-product-simple form.cart:not(.variations_form) > .button {
  margin-left: 0;
}

button.plus.btn {
	margin-right: 0px !important;
}

/* Simple products: let qty + buttons wrap on mobile only.
   Desktop keeps Elementor's nowrap so all three sit on one row. */
@media (max-width: 768px) {
  .single-product .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart.elementor-product-simple form.cart:not(.grouped_form):not(.variations_form) {
    flex-wrap: wrap;
  }
}

/* Remove Elementor's extra 10px left margin on Add to Cart / Buy Now.
   The flex gap already spaces them. Applies to simple and variable. */
.single-product .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart form.cart .button:not(:first-child) {
  margin-inline-start: 0;
}

/* Remove Elementor's 10px left margin on the quantity "+" button */
.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart .quantity .plus {
  margin-inline-start: 0;
}