/* Light notices (2026-10-30): no borders, smaller type. Error notices marked by toast.js float
   below the header and close after three seconds; unmarked notices keep their place in the page. */
body .woocommerce-error,body .woocommerce-info,body .wc-block-components-notice-banner{border:0!important;box-shadow:none;font-size:13px;line-height:1.55;padding:12px 44px 12px 16px;border-radius:12px}
body .woocommerce-error li+li{margin-top:4px}
body .ef-notice-close{width:28px;height:28px;min-height:28px;top:7px;right:7px}
body .ef-notice-close svg{width:14px;height:14px}

body .woocommerce-error[data-ef-toast],body .wc-block-components-notice-banner[data-ef-toast]{
 position:fixed!important;z-index:9999;top:96px;left:50%;width:min(420px,calc(100vw - 32px));margin:0!important;
 transform:translateX(-50%);background:#fbf1ec;color:#7a3b2c;box-shadow:0 14px 34px -14px #2f3b3459,0 2px 6px #2f3b3414;
 animation:ef-toast-in .22s ease-out both;transition:opacity .2s,transform .2s}
body .woocommerce-error[data-ef-toast].is-leaving,body .wc-block-components-notice-banner[data-ef-toast].is-leaving{opacity:0;transform:translate(-50%,-8px)}
body .woocommerce-NoticeGroup:has([data-ef-toast]){margin:0!important;padding:0!important}
@keyframes ef-toast-in{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}

/* The message under each field stays after the toast closes. */
body .woocommerce form .checkout-inline-error-message,body .woocommerce .checkout-inline-error-message{margin:5px 0 0;font-size:12px;line-height:1.45;color:#a1442f}

@media(max-width:760px){
 body .woocommerce-error,body .woocommerce-info,body .wc-block-components-notice-banner{font-size:12.5px;padding:11px 40px 11px 14px}
 body .woocommerce-error[data-ef-toast],body .wc-block-components-notice-banner[data-ef-toast]{top:78px;width:calc(100vw - 24px)}
}
@media(prefers-reduced-motion:reduce){body [data-ef-toast]{animation:none;transition:none}}
