/* Pure Story B2B RC7: vertical icon/text alignment in WooCommerce coupon
   notices on cart/checkout only. This file is not used in wp-admin, in the
   partner account panel, or on unrelated storefront pages. */

/* Current WooCommerce block-style notices use an SVG icon + content wrapper. */
body.woocommerce-cart .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner {
    align-items: center;
}
body.woocommerce-cart .wc-block-components-notice-banner > svg,
body.woocommerce-checkout .wc-block-components-notice-banner > svg {
    flex-shrink: 0;
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
}
body.woocommerce-cart .wc-block-components-notice-banner > .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-components-notice-banner > .wc-block-components-notice-banner__content {
    align-self: center;
}

/* Classic WooCommerce notices render the icon using ::before. */
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-error::before {
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}
