/*
GTEL Global Custom CSS
Moved from functions.php only where safe/global.
Shortcode-specific CSS remains inside shortcode functions to avoid breaking carousel/FAQ timing.
*/

/* Out of stock product form/button helper */
.single-product .out-of-stock-message {
    margin-top: 15px;
}

/* Preorder/custom button fallback styles */
.single-product a.custom-button.button {
    margin-top: 2%;
    border-radius: 1.8em !important;
}

.single-product .wa-order-button {
    display: inline-block !important;
}

.single-product button.wa-order-button.single_add_to_cart_button.button.alt {
    margin-left: auto !important;
}

/* Product messages moved from inline style attributes where possible */
.gtel-product-notice-not-sale {
    color: red !important;
    font-weight: bold;
}

.gtel-product-notice-sur-commande {
    color: white !important;
    font-weight: bold;
    background-color: green;
    width: 80%;
    padding: 2%;
    border-radius: 20px;
}

.gtel-product-notice-consult {
    color: white !important;
    font-weight: bold;
    background-color: green;
    width: 100%;
    padding: 2%;
    border-radius: 20px;
    text-align: center;
}

/* Preorder/arrivage disabled button fallback */
.gtel-arrivage-disabled .single_add_to_cart_button,
.gtel-arrivage-disabled .wa-order-button {
    pointer-events: none !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.gtel-arrivage-disabled a.wa-order-class {
    display: none;
}

@media only screen and (max-width: 600px) {
    .single-product a.custom-button.button {
        width: 100% !important;
    }
}
