/* Native notices keep their content, actions and live-region roles. */
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
    --notice-accent: #34704d;
    --notice-bg: #f1f7f3;
    --notice-border: #d9e8de;
    position: relative;
    box-sizing: border-box;
    width: auto;
    padding: 16px 18px 16px 48px;
    margin: 0 0 24px;
    border: 1px solid var(--notice-border);
    border-radius: 8px;
    background: var(--notice-bg);
    color: #292b31;
    box-shadow: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
#page .woocommerce-info { --notice-accent: #516574; --notice-bg: #f5f7f9; --notice-border: #e0e5eb; }
#page .woocommerce-error { --notice-accent: #a23c35; --notice-bg: #fff5f3; --notice-border: #eedbd7; list-style: none; }
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error):focus { outline: none; }
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before {
    content: '✓';
    display: grid;
    place-items: center;
    position: absolute;
    inset: 17px auto auto 17px;
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--notice-accent);
    font-family: inherit;
    font-size: 12px;
    line-height: 1;
}
#page .woocommerce-info::before { content: 'i'; }
#page .woocommerce-error::before { content: '!'; }
#page .woocommerce-error li + li { margin-top: 8px; }
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a { color: #292b31; text-decoration: underline; text-underline-offset: 3px; }
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: right;
    min-height: 36px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 12px;
    margin: -5px 0 -5px 20px;
    border: 1px solid var(--notice-border);
    border-radius: 5px;
    background: #fff;
    color: #292b31;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button::after { display: none; }
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button:hover { background: #292b31; color: #fff; padding: 6px 12px; }
#page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a:focus-visible { outline: 2px solid #292b31; outline-offset: 3px; }
#page .wc-block-components-notice-banner { padding: 14px 16px !important; border-radius: 8px; font-size: 14px; line-height: 1.65; box-shadow: none; }
#page .wc-block-components-notice-banner.is-success { background: #f1f7f3; border-color: #d9e8de; color: #292b31; }
#page .wc-block-components-notice-banner.is-error { background: #fff5f3; border-color: #eedbd7; color: #292b31; }
#page .wc-block-components-notice-banner.is-info { background: #f5f7f9; border-color: #e0e5eb; color: #292b31; }
@media (min-width: 681px) and (max-width: 1535px) {
    body:has(.pc-site-tools) .woocommerce-notices-wrapper { padding-inline-end: 76px; }
}
@media (max-width: 600px) {
    #page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) { padding: 14px 14px 14px 43px; margin-bottom: 18px; }
    #page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before { top: 17px; left: 14px; }
    #page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button,
    #page :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) a.button:hover {
        display: flex;
        float: none;
        width: max-content;
        max-width: 100%;
        min-height: 40px;
        margin: 10px 0 0;
        padding: 8px 13px;
    }
}
