/* KriyaLuxe V10.9: stock-aware Max-inspired purchase button; presentation only. */
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button[data-krl-action="cart"],
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button[data-krl-action="cart"]:not(:disabled):hover {
  background:#cda883!important;
  border-color:#cda883!important;
  color:#fff!important;
  opacity:1!important;
  cursor:pointer!important;
}
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button[data-krl-action="soldout"],
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button[data-krl-action="select"] {
  background:#e6e0d9!important;
  border-color:#e6e0d9!important;
  color:#62584f!important;
  opacity:1!important;
  cursor:not-allowed!important;
}
/* A stock check is asynchronous, but never changes the visible CTA wording. */
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button[data-krl-action="loading"] {
  background:#202020!important;
  border-color:#202020!important;
  color:#fff!important;
  opacity:1!important;
  cursor:default!important;
}

/* V10.39: failed network checks offer an in-place retry rather than an inert button. */
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button[data-krl-action="unavailable"] {
  background:#51483f!important;
  border-color:#51483f!important;
  color:#fff!important;
  opacity:1!important;
  cursor:pointer!important;
}
