body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice{--uh-notice-accent:#991b1b;--uh-notice-soft:#fef2f2;box-sizing:border-box;position:fixed!important;inset-inline:auto!important;left:50%!important;right:auto!important;top:24px!important;z-index:999999;display:block!important;width:min(540px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px);max-height:min(70vh,620px);overflow:auto;overscroll-behavior:contain;margin:0!important;padding:74px 22px 20px!important;border:1px solid #cbd5e1!important;border-inline-start:5px solid var(--uh-notice-accent)!important;border-radius:18px!important;background:#ffffff!important;color:#172033!important;box-shadow:0 20px 64px #0f172a33!important;font-family:inherit;font-size:14px;line-height:1.95;text-align:start;list-style:none!important;transform:translateX(-50%)!important;animation:none!important;transition:opacity .2s ease}
body.uh-commerce-cart .woocommerce-message.cpw-popup-notice{--uh-notice-accent:#166534;--uh-notice-soft:#f0fdf4}
body.uh-commerce-cart .woocommerce-info.cpw-popup-notice{--uh-notice-accent:#1e40af;--uh-notice-soft:#eff6ff}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice:before{content:"لطفاً موارد زیر را بررسی کنید"!important;position:absolute!important;top:22px!important;inset-inline-start:22px!important;inset-inline-end:80px!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--uh-notice-accent)!important;font-family:inherit!important;font-size:15px!important;font-weight:800;line-height:1.7;text-align:start}
body.uh-commerce-cart .woocommerce-message.cpw-popup-notice:before{content:"عملیات با موفقیت انجام شد"!important}
body.uh-commerce-cart .woocommerce-info.cpw-popup-notice:before{content:"اطلاع‌رسانی"!important}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice:after{content:none!important;display:none!important}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice>li{display:block!important;margin:0!important;padding:12px 0!important;border:0;border-top:1px solid #e2e8f0;background:transparent!important;color:#172033!important;list-style:none!important;overflow-wrap:anywhere;line-height:1.95;text-align:start}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice>li:first-of-type{padding-top:0!important;border-top:0}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice>li:last-of-type{padding-bottom:0!important}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice :is(strong,span){color:inherit!important}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice a{color:#1e40af!important;text-decoration:underline!important;text-underline-offset:3px;overflow-wrap:anywhere}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice .cpw-popup-notice-close{box-sizing:border-box;position:absolute!important;top:12px!important;inset-inline-end:12px!important;inset-inline-start:auto!important;display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #64748b!important;border-radius:12px!important;background:#f8fafc!important;color:#172033!important;font:26px/1 sans-serif!important;cursor:pointer;box-shadow:none!important;text-decoration:none!important}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice .cpw-popup-notice-close:hover{background:var(--uh-notice-soft)!important;color:var(--uh-notice-accent)!important}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice :is(a,.cpw-popup-notice-close):focus-visible{outline:3px solid #1e40af!important;outline-offset:3px}
body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice.is-dismissing{opacity:0;pointer-events:none}
body.admin-bar.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice{top:64px!important}
@media(max-width:600px){body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px);top:12px!important;max-height:72vh;padding:74px 18px 18px!important;border-radius:15px!important;font-size:13px}body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice:before{inset-inline-start:18px!important;font-size:14px!important}}
@media(prefers-reduced-motion:reduce){body.uh-commerce-cart :is(.woocommerce-error,.woocommerce-message,.woocommerce-info).cpw-popup-notice{transition:none}}

/* Checkout: "already have an account?" and "have a coupon?" notices use the plugin card design instead of theme/WooCommerce notice styling. */
body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info{--uh-toggle-accent:var(--uh-primary,#4f46e5);box-sizing:border-box;position:relative!important;display:block!important;margin:0 0 14px!important;padding:14px 16px!important;padding-inline-start:68px!important;min-height:64px;border:1px solid color-mix(in srgb,var(--uh-toggle-accent) 22%,#e2e8f0)!important;border-radius:16px!important;background:color-mix(in srgb,var(--uh-toggle-accent) 4%,#fff)!important;box-shadow:0 8px 22px rgba(15,23,42,.05)!important;color:#172033!important;font-size:14px!important;font-weight:600!important;line-height:2!important;text-align:start;overflow-wrap:anywhere}
body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info:before{content:"\f110"!important;font:normal 400 20px/1 dashicons!important;position:absolute!important;top:50%!important;right:auto!important;left:auto!important;inset-inline-start:16px!important;inset-inline-end:auto!important;transform:translateY(-50%);display:grid!important;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--uh-toggle-accent) 12%,#fff)!important;color:var(--uh-toggle-accent)!important}
body.woocommerce-checkout .woocommerce-form-coupon-toggle>.woocommerce-info:before{content:"\f323"!important}
body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info:after{content:none!important;display:none!important}
body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info a{color:color-mix(in srgb,var(--uh-toggle-accent) 80%,#000)!important;font-weight:800;text-decoration:underline!important;text-underline-offset:4px}
body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info a:hover{color:var(--uh-toggle-accent)!important}
body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info a:focus-visible{outline:3px solid color-mix(in srgb,var(--uh-toggle-accent) 55%,#fff);outline-offset:3px;border-radius:4px}
@media(max-width:600px){body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info{padding:12px 14px!important;padding-inline-start:60px!important;font-size:13px!important}body.woocommerce-checkout :is(.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle)>.woocommerce-info:before{inset-inline-start:12px!important;width:36px;height:36px}}
