/* One storefront notice system for classic WooCommerce and WooCommerce Blocks. */
body {
    --cs-notice-bg: #1b1d22;
    --cs-notice-border: #ffffff1c;
    --cs-notice-text: #d7d9df;
    --cs-notice-muted: #a6adba;
    --cs-notice-success: #91bba0;
    --cs-notice-error: #df9690;
    --cs-notice-warning: #d6b77c;
    --cs-notice-radius: 10px;
    --cs-notice-font-size: 13px;
    --cs-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6m0-10h.01'/%3E%3C/svg%3E");
}
body:is(.cs-light-catalog,.cs-checkout-page,.home,.woocommerce-cart) {
    --cs-notice-bg: #f7f7f5;
    --cs-notice-border: #e4e5e1;
    --cs-notice-text: #35383d;
    --cs-notice-muted: #737c88;
    --cs-notice-success: #4b7a5d;
    --cs-notice-error: #ae5f59;
    --cs-notice-warning: #94702f;
}
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 14px 16px 14px 46px !important;
    border: 1px solid var(--cs-notice-border) !important;
    border-radius: var(--cs-notice-radius) !important;
    background: var(--cs-notice-bg) !important;
    color: var(--cs-notice-text) !important;
    box-shadow: none;
    font-family: inherit;
    font-size: var(--cs-notice-font-size) !important;
    font-weight: 400;
    line-height: 1.65;
    list-style: none;
    overflow-wrap: anywhere;
}
body .wc-block-components-notice-banner { display: block; }
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner)::before {
    content: '';
    position: absolute;
    display: block;
    inset: 16px auto auto 16px;
    width: 18px;
    height: 18px;
    background: var(--cs-notice-muted);
    mask: var(--cs-notice-icon) center/contain no-repeat;
    -webkit-mask: var(--cs-notice-icon) center/contain no-repeat;
}
body :is(.woocommerce-message,.wc-block-components-notice-banner.is-success) {
    --cs-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");
}
body :is(.woocommerce-message,.wc-block-components-notice-banner.is-success)::before { background: var(--cs-notice-success); }
body :is(.woocommerce-error,.wc-block-components-notice-banner.is-error)::before { background: var(--cs-notice-error); }
body .wc-block-components-notice-banner.is-warning::before { background: var(--cs-notice-warning); }
body .wc-block-components-notice-banner > svg { display: none; }
body .wc-block-components-notice-banner__content { min-width: 0; padding: 0; font: inherit; color: inherit; }
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(p,li) { font: inherit; color: inherit; }
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) li { margin: 0; padding: 0; list-style: none; }
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) p:last-child { margin-bottom: 0; }
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) a:not(.button) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
body :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) .button {
    float: none !important;
    display: table;
    width: fit-content;
    min-height: 0;
    margin: 10px 0 0 !important;
    padding: 7px 11px !important;
    border: 1px solid var(--cs-notice-border) !important;
    border-radius: 6px;
    background: transparent !important;
    color: var(--cs-notice-text) !important;
    font: 500 12px/1.5 Manrope,sans-serif;
    text-decoration: none;
}
body .wc-block-components-notice-banner .wc-block-components-notice-banner__dismiss { position: absolute; right: 10px; top: 10px; padding: 4px; border: 0; background: none; color: inherit; }
@media(max-width:600px) { body { --cs-notice-font-size: 12px; } }
