/**
Theme Name: Astra Child
Author: Ben Holdaway
Author URI: https://actionanalysis.com.au
Description: Custom code and functions to complement WP Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ==============================
   Greyed-Out “Backorder” Buttons
   ============================== */

/* Archive / Loop buttons (shop / category pages) */
a.button.backorder-button.greyed-out {
  background-color: #ccc !important;
  color: #555 !important;
  border-color: #ccc !important;
  pointer-events: auto; /* still clickable if you want the customer to place a backorder */
  opacity: 0.6;
}

/* Single product page button */
.single_add_to_cart_button.greyed-out {
  background-color: #ccc !important;
  color: #555 !important;
  border-color: #ccc !important;
  pointer-events: auto; /* still clickable if you want the customer to place a backorder */
  opacity: 0.6;
}

/* If you want the button to be fully disabled (unclickable),
   change pointer-events to none and optionally add cursor:not-allowed; */