/* WhatsApp Product Enquiry */
.wae-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    border: 0;
    border-radius: 4px;
    background: var(--wae-button-color, #25D366);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}
.wae-whatsapp-button:hover,
.wae-whatsapp-button:focus {
    color: #fff !important;
    filter: brightness(.93);
    text-decoration: none !important;
}
.wae-whatsapp-button:active { transform: translateY(1px); }
.wae-whatsapp-icon { display: inline-block; width: 21px; height: 21px; fill: currentColor; flex: 0 0 21px; }
.wae-product-marker { display: none !important; }

/* Product detail page: preserve quantity and combinations, replace only purchase action. */
body#product .product-add-to-cart .add-to-cart,
body#product .product-add-to-cart button[data-button-action="add-to-cart"],
body#product #add-to-cart-or-refresh .add button.add-to-cart {
    display: none !important;
}
body#product .product-add-to-cart .wae-whatsapp-button { margin-top: 0; }

/* Product listing cards: hide purchase controls if a theme/module renders them. */
.wae-listing-button { margin-top: 10px; }
.js-product-miniature .wae-product-marker ~ .wae-whatsapp-button { display: flex; }
.js-product-miniature form.add-to-cart-or-refresh .add-to-cart,
.js-product-miniature button[data-button-action="add-to-cart"],
.js-product-miniature .ajax_add_to_cart_button,
.js-product-miniature .add-to-cart {
    display: none !important;
}
