/* Hide Add to Cart on Amelia service products */
.single-product .single_add_to_cart_button {
  display: none !important;
}

/* When Amelia modal closes or confirmation message appears, reveal Add to Cart */
body.amelia-modal-closed .single_add_to_cart_button,
body.amelia-booking-done .single_add_to_cart_button {
  display: inline-block !important;
}
/* Hide Add to Cart button for Amelia services on single product pages (already done) */
.single-product .single_add_to_cart_button {
  display: none !important;
}

/* Show Add to Cart only after booking modal closes or booking is done */
body.amelia-modal-closed .single_add_to_cart_button,
body.amelia-booking-done .single_add_to_cart_button {
  display: inline-block !important;
}

/* Hide Add to Cart button on Shop / Archive pages for Amelia services */
.archive .add_to_cart_button {
  display: none !important;
}

/* Optionally, show it only if booking is done (Shop page) */
body.amelia-booking-done .archive .add_to_cart_button {
  display: inline-block !important;
}
/* Hide quantity selector on single product pages */
.single-product .quantity {
    display: none !important;
}
/* Hide all Add to Cart buttons and icons globally (Shop, Related, Upsell, etc.) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce .related ul.products li.product .button,
.woocommerce .related ul.products li.product a.add_to_cart_button,
.woocommerce .upsells ul.products li.product .button,
.woocommerce .upsells ul.products li.product a.add_to_cart_button,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product .add_to_cart_button::before,
.woocommerce ul.products li.product .add_to_cart_button::after {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Hide all Add to Cart buttons, icons, and links site-wide */
.add_to_cart_button,
.ajax_add_to_cart,
.wc-block-grid__product-add-to-cart,
.single_add_to_cart_button,
.wc-block-components-product-button,
.wp-block-button__link.add_to_cart_button,
.product a.button,
.woocommerce-loop-product__link + a.button,
.button.add_to_cart_button,
.shop_table .product-remove,
.related .add_to_cart_button,
.woocommerce-cart .add_to_cart_button,
.woocommerce-page .add_to_cart_button {
  display: none !important;
  visibility: hidden !important;
}

/* Remove Add to Cart arrows or icons from icon-based themes */
.wc-block-components-product-add-to-cart svg,
.wc-block-components-product-add-to-cart__icon,
.wc-block-grid__product-add-to-cart svg {
  display: none !important;
  visibility: hidden !important;
}
