/* Shared storefront notices: classic WooCommerce and Cart/Checkout blocks. */
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) {
    --cs-notice-accent: var(--cs-navy, #29283f);
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid var(--cs-gray, #e6e2dc);
    border-left: 3px solid var(--cs-notice-accent);
    border-radius: var(--cs-control-radius, 0px);
    background: #f4f2ee;
    color: var(--cs-text, #1c1b1d);
    box-shadow: none;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    list-style: none;
}
body :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) { --cs-notice-accent: var(--cs-green, #477556); background: #f0f4ef; }
body :is(.woocommerce-error, .wc-block-components-notice-banner.is-error) { --cs-notice-accent: var(--cs-brick, #b94e32); background: #faf0ed; }
body .wc-block-components-notice-banner.is-warning { --cs-notice-accent: var(--cs-gold, #d4ad55); background: #faf6e9; }
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before,
body .wc-block-components-notice-banner > svg { display: none; }
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::after { content: ''; display: block; clear: both; }
body .wc-block-components-notice-banner { gap: 0; align-items: center; }
body .wc-block-components-notice-banner__content { min-width: 0; flex: 1; }
body .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
body .woocommerce-error li + li { margin-top: 8px; }
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) p:last-child { margin-bottom: 0; }
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) a:not(.button):not(.wc-forward):not(.wc-block-components-button) { font-size: inherit; font-weight: inherit; line-height: inherit; font-style: inherit; color: var(--cs-navy, #29283f); text-decoration: underline; text-underline-offset: 3px; }
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) a:not(.button):not(.wc-forward):not(.wc-block-components-button):hover { color: var(--cs-gold, #d4ad55); }
body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button { margin: 0 0 0 20px; }
@media (max-width: 767px) {
    body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) { padding: 16px; }
    body :is(.woocommerce-info, .woocommerce-message):has(> .button) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) .button { float: none; margin: 0; }
    body :is(.woocommerce-info, .woocommerce-message) > .button { order: 1; }
}
