/* Hide classic notices on cart/checkout pages that are using WooCommerce Blocks */
/* Only hide if the block cart/checkout wrapper is present */

/* For cart pages with blocks */
.woocommerce-cart:has(.wp-block-woocommerce-cart) .wc-block-components-notice-banner:has(.coupons-plus-classic-notice) {
    display: none !important;
}

.woocommerce-checkout:has(.wp-block-woocommerce-cart) .wc-block-components-notice-banner:has(.coupons-plus-classic-notice) {
    display: none !important;
}
/* Hide remove button for auto-applied coupons - add data attribute via JS */
.wc-block-components-totals-coupon[data-auto-applied="true"] .wc-block-components-chip__remove-wrapper {
    display: none !important;
}
