/* WooCommerce notices: preserve semantics, live announcements and keyboard focus. */
body .wc-block-components-notice-banner,
body.woocommerce .woocommerce-error,
body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info{
 --rp-notice-bg:#f7f2ff;--rp-notice-border:#e5d9f6;--rp-notice-ink:#553480;
 background:var(--rp-notice-bg)!important;border:1px solid var(--rp-notice-border)!important;
 border-radius:16px!important;color:#392d43!important;box-shadow:0 5px 18px #28144705;
 padding:18px 20px!important;margin:0 0 22px!important;font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body .wc-block-components-notice-banner.is-error,body.woocommerce .woocommerce-error{
 --rp-notice-bg:#fff5f6;--rp-notice-border:#f0d5dc;--rp-notice-ink:#ae385b;
}
body .wc-block-components-notice-banner.is-success,body.woocommerce .woocommerce-message{
 --rp-notice-bg:#f0faf5;--rp-notice-border:#d1eade;--rp-notice-ink:#287755;
}
body .wc-block-components-notice-banner{gap:14px!important;align-items:center!important}
body .wc-block-components-notice-banner>svg{background:var(--rp-notice-ink)!important;flex:0 0 26px;width:26px;height:26px;padding:4px!important;border-radius:50%}
body .wc-block-components-notice-banner__content{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px}
body .wc-block-components-notice-banner__content>.wc-forward,
body .wc-block-components-notice-banner__content>.button{
 order:2;float:none!important;margin:0 0 0 auto!important;display:inline-flex!important;align-items:center;justify-content:center;
 padding:9px 15px!important;min-height:40px;border:1px solid var(--rp-notice-border)!important;border-radius:10px!important;
 background:#fff!important;color:var(--rp-notice-ink)!important;text-decoration:none!important;box-shadow:none!important;
 font-size:13px!important;font-weight:600!important;white-space:nowrap;
}
body .wc-block-components-notice-banner__content>.button:hover{filter:brightness(.97)}
body .wc-block-components-notice-banner:focus:not(:focus-visible){outline:none}
body .wc-block-components-notice-banner:focus-visible{outline:2px solid #9b77cf;outline-offset:3px}
body.woocommerce ul.woocommerce-error{padding-left:48px!important}
body.woocommerce .woocommerce-error::before,body.woocommerce .woocommerce-message::before,body.woocommerce .woocommerce-info::before{color:var(--rp-notice-ink);top:20px;left:18px}
@media(max-width:600px){
 body .wc-block-components-notice-banner{padding:15px!important;align-items:flex-start!important;gap:10px!important}
 body .wc-block-components-notice-banner__content{display:block;font-size:13px;line-height:1.6}
 body .wc-block-components-notice-banner__content>.wc-forward,body .wc-block-components-notice-banner__content>.button{display:flex!important;width:fit-content;margin:12px 0 0!important}
}
/* Brand treatment for errors, including notices inserted by AJAX. */
body .wc-block-components-notice-banner.is-error,
body.woocommerce .woocommerce-error{
 --rp-notice-bg:#6d3ae8;--rp-notice-border:#6d3ae8;--rp-notice-ink:#fff;
 background:#6d3ae8!important;color:#fff!important;border-color:#6d3ae8!important;
 position:relative;box-shadow:0 8px 24px #6d3ae81a;
}
body .wc-block-components-notice-banner.is-error>svg{display:none!important}
body .wc-block-components-notice-banner.is-error::before{
 content:"!";display:flex;align-items:center;justify-content:center;flex:0 0 44px;
 width:44px;height:44px;border:2px solid #ffffff80;border-radius:50%;
 color:#fff;font:800 32px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content,
body .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content *{color:#fff!important}
body .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content>.wc-forward,
body .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content>.button{
 background:#fff!important;color:#5725bd!important;border-color:#fff!important;
 padding:11px 17px!important;font-weight:700!important;
}
body.woocommerce .woocommerce-error::before{content:"!";color:#fff;font:800 30px/1 sans-serif}
