/* AIEO Checkout Notice Modal — accessibility-first wrapper for WC checkout
 * notices. Migrated from om-checkout-handling. Same `.om-wc-*` class
 * names so any third-party CSS keyed off them keeps working. */

.om-wc-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;z-index:99998}
.om-wc-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);max-width:560px;width:calc(100% - 2rem);background:#fff;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.2);z-index:99999;display:none;overflow:hidden}
.om-wc-modal-header{padding:12px 16px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between}
.om-wc-modal-title{font-size:1rem;font-weight:600;margin:0}
.om-wc-modal-close{background:transparent;border:0;font-size:1.25rem;cursor:pointer;line-height:1;padding:6px}
.om-wc-modal-body{padding:16px;max-height:70vh;overflow:auto}
.om-wc-modal .woocommerce-error,
.om-wc-modal .woocommerce-info,
.om-wc-modal .woocommerce-message{margin:0 0 12px 0}
.om-wc-modal .om-wc-empty-line{height:1rem}
body.om-wc-notice-open{overflow:hidden}
body.om-wc-notice-open .woocommerce-NoticeGroup-checkout,
body.om-wc-notice-open .woocommerce-notices-wrapper{display:none!important}
body.om-wc-notice-open .om-wc-modal .woocommerce-NoticeGroup-checkout,
body.om-wc-notice-open .om-wc-modal .woocommerce-notices-wrapper,
body.om-wc-notice-open .om-wc-modal [role="alert"]{display:block!important}
