/* Reveal WooCommerce's existing quantity label and explain unavailable packs.
   Only OrderFloor's own unavailable state overrides the theme's button colours. */
.single-product form.cart .quantity > label.screen-reader-text:not([hidden]) {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    margin: 0 .5em 0 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    white-space: normal !important;
    display: inline-block !important;
    font-weight: 600;
}
.woocommerce-cart .orderfloor-cart-quantity-hint {
    display: block;
    margin-top: .4em;
    font-size: .85em;
    line-height: 1.4;
}
.single-product .single_add_to_cart_button.orderfloor-pack-unavailable,
.single-product .single_add_to_cart_button.orderfloor-pack-unavailable:hover,
.single-product .single_add_to_cart_button.orderfloor-pack-unavailable:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .7em 1.2em;
    border-radius: 4px;
    font-size: .95rem;
    line-height: 1.3;
    font-weight: 600;
    background: #e5e7eb !important;
    color: #374151 !important;
    border: 1px solid #9ca3af !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: not-allowed;
}
.single-product .single_add_to_cart_button.orderfloor-pack-unavailable:focus-visible,
form.cart .orderfloor-pack-note:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
@media (forced-colors: active) {
    .single-product .single_add_to_cart_button.orderfloor-pack-unavailable {
        color: GrayText !important;
        border-color: GrayText !important;
    }
}
