/* =============================================================
   TERINEO · REMOVE CART NOTIFICATION
   Masque la barre "Produit ajoute au panier" au cas ou le theme
   l'injecte independamment du filtre WooCommerce.
   ============================================================= */

/* 1) Notices WooCommerce natives de type success lie au panier */
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message,
.wc-block-components-notice-banner.is-success,
.wc-block-store-notice {
    display: none !important;
}

/* 2) Barres "added to cart" communes aux themes (bottom bar, snackbar, toast) */
.added_to_cart,
.wc-added-notice,
.wc-added-to-cart,
.added-to-cart-notice,
.add-to-cart-notification,
.ath-notification,
.ath-bar,
[class*="added-to-cart-bar"],
[class*="added_to_cart_bar"],
[class*="cart-notification"],
[class*="cart_notification"],
[class*="add-to-cart-message"],
[class*="add_to_cart_message"],
[id*="added-to-cart-notice"] {
    display: none !important;
}

/* 3) Astra / OceanWP / Flatsome / Shoptimizer / Porto / Woodmart — patterns connus */
.astra-cart-success-message,
.ast-cart-success-message,
.owp-cart-bar,
.bottom-bar-added-cart,
.added-cart-popup,
.woodmart-added-cart,
.xts-added-cart,
.flatsome-add-to-cart-notification,
.shoptimizer-added-cart-notice {
    display: none !important;
}

/* 4) Generique : toute notice fixee en bas qui mentionne panier/cart */
.woocommerce-notices-wrapper:has(.woocommerce-message) {
    display: none !important;
}
