/* Native body-level feedback composition proposed from immutable Atlas notice/modal/control primitives. */
body.wp-theme-main-esim-world .toast {box-sizing:border-box;position:fixed;left:var(--wp--custom--atlas--dimension--32);bottom:var(--wp--custom--atlas--dimension--32);z-index:999999;display:flex;align-items:flex-start;gap:var(--wp--custom--atlas--dimension--12);width:min(var(--wp--custom--atlas--dimension--420),calc(100vw - var(--wp--custom--atlas--dimension--64)));min-width:0;padding:var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--20);border:var(--wp--custom--atlas--dimension--1) solid var(--wp--preset--color--notice-info-border);border-radius:var(--ew-radius-md);background:var(--ew-color-accent-soft);color:var(--ew-color-ink);box-shadow:var(--ew-shadow-2);font:var(--ew-fw-regular) var(--ew-fs-small)/1.5 var(--ew-font-body);opacity:0;transform:translateY(var(--wp--custom--atlas--dimension--20));transition:opacity var(--wp--custom--atlas--motion--native-feedback) ease,transform var(--wp--custom--atlas--motion--native-feedback) ease;pointer-events:auto;}
body.wp-theme-main-esim-world .toast.is-visible {opacity:1;transform:translateY(0);}
/* compat esim_wc_add_to_cart_notices_fragment (inc/woo/hooks.php:54) replaces the hidden footer host with a visible notices wrapper;
   it is only the toast's data source (popup.js reads it from the DOM), never a second visible notice. */
body.wp-theme-main-esim-world .popup-cart-notices-fragment[data-toast-fragment] {display:none !important;}
/* WooCommerce account-i18n.js focuses the first [role=alert] (tabindex=-1) so it is announced; the toast is not a control. */
body.wp-theme-main-esim-world .toast:is(:focus,:focus-visible) {outline:none;box-shadow:var(--ew-shadow-2);border-radius:var(--ew-radius-md);}
body.wp-theme-main-esim-world .toast--success {background:var(--ew-color-success-soft);border-color:var(--wp--preset--color--notice-success-border);color:var(--wp--preset--color--notice-success-ink);}
body.wp-theme-main-esim-world :is(.toast--error,.toast--errors) {background:var(--ew-color-danger-soft);border-color:var(--wp--preset--color--notice-error-border);color:var(--wp--preset--color--notice-error-ink);}
body.wp-theme-main-esim-world .toast__content {flex:1 1 auto;min-width:0;align-self:center;overflow-wrap:anywhere;}
body.wp-theme-main-esim-world .toast__content :is(p,ul,ol,li) {margin:0;padding:0;list-style:none;font:inherit;color:inherit;}
body.wp-theme-main-esim-world .toast__content a {color:inherit;text-decoration:underline;text-underline-offset:.15em;}
body.wp-theme-main-esim-world .toast__content :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) {display:block;margin:0;padding:0;border:0;background:transparent;color:inherit;}
body.wp-theme-main-esim-world .toast__content :is(.woocommerce-error,.woocommerce-info,.woocommerce-message)::before {display:none;}
body.wp-theme-main-esim-world .toast__close {box-sizing:border-box;position:static;display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--wp--custom--atlas--dimension--44);height:var(--wp--custom--atlas--dimension--44);min-height:var(--wp--custom--atlas--dimension--44);margin:0;padding:0;border:0;border-radius:var(--ew-radius-md);background:transparent;color:inherit;cursor:pointer;font:var(--ew-fw-regular) var(--wp--custom--atlas--dimension--24)/1 var(--ew-font-body);}
body.wp-theme-main-esim-world .toast__close:hover {background:var(--wp--custom--atlas--effect--9);}
body.wp-theme-main-esim-world :is(.toast__close,.vh-btn,.vh-cart-modal-close):focus-visible {outline:none;box-shadow:var(--ew-focus-ring);}
body.wp-theme-main-esim-world .vh-cart-modal-overlay {box-sizing:border-box;position:fixed;inset:0;align-items:center;justify-content:center;padding:var(--wp--custom--atlas--dimension--16);z-index:999999;background:var(--wp--custom--atlas--effect--1);}
body.wp-theme-main-esim-world .vh-cart-modal {box-sizing:border-box;position:relative;width:100%;max-width:var(--wp--custom--atlas--dimension--480);max-height:calc(100dvh - var(--wp--custom--atlas--dimension--32));overflow:auto;padding:var(--wp--custom--atlas--dimension--24);border:var(--wp--custom--atlas--dimension--1) solid var(--ew-color-line);border-radius:var(--ew-radius-lg);background:var(--ew-color-surface);color:var(--ew-color-ink);box-shadow:var(--ew-shadow-2);font:var(--ew-fw-regular) var(--wp--custom--atlas--dimension--17)/1.6 var(--ew-font-body);}
body.wp-theme-main-esim-world .vh-cart-modal h3 {margin:0 var(--wp--custom--atlas--dimension--44) var(--wp--custom--atlas--dimension--18) 0;font:var(--ew-fw-medium) var(--wp--custom--atlas--dimension--30)/1.1 var(--ew-font-display);color:var(--ew-color-ink);}
body.wp-theme-main-esim-world .vh-cart-modal p {margin:0 0 var(--wp--custom--atlas--dimension--24);line-height:1.5;color:var(--ew-color-ink-2);}
body.wp-theme-main-esim-world .vh-cart-modal-close {box-sizing:border-box;float:none;position:absolute;top:var(--wp--custom--atlas--dimension--12);right:var(--wp--custom--atlas--dimension--12);display:flex;align-items:center;justify-content:center;width:var(--wp--custom--atlas--dimension--44);height:var(--wp--custom--atlas--dimension--44);border:0;border-radius:var(--ew-radius-md);background:transparent;color:var(--ew-color-muted);font:var(--ew-fw-regular) var(--wp--custom--atlas--dimension--24)/1 var(--ew-font-body);cursor:pointer;}
body.wp-theme-main-esim-world .vh-cart-modal-actions {display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--wp--custom--atlas--dimension--10);}
body.wp-theme-main-esim-world .vh-btn {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:var(--wp--custom--atlas--dimension--8);min-height:var(--wp--custom--atlas--dimension--44);margin:0;padding:0 var(--wp--custom--atlas--dimension--16);border:var(--wp--custom--atlas--dimension--1) solid var(--ew-color-line-strong);border-radius:var(--ew-radius-md);background:var(--ew-color-surface);color:var(--ew-color-ink);font:var(--ew-fw-semibold) var(--wp--custom--atlas--dimension--15)/1.2 var(--ew-font-body);cursor:pointer;}
body.wp-theme-main-esim-world .vh-btn:hover {border-color:var(--ew-color-ink);}
body.wp-theme-main-esim-world .vh-btn-primary {background:var(--ew-color-accent);border-color:var(--ew-color-accent);color:var(--wp--preset--color--base-elevated);}
body.wp-theme-main-esim-world .vh-btn-primary:hover {background:var(--ew-color-accent-hover);border-color:var(--ew-color-accent-hover);}
body.wp-theme-main-esim-world .vh-busy {opacity:.6;pointer-events:none;}
@media(max-width:639px){body.wp-theme-main-esim-world .toast {left:var(--wp--custom--atlas--dimension--16);right:var(--wp--custom--atlas--dimension--16);bottom:var(--wp--custom--atlas--dimension--16);width:auto;}body.wp-theme-main-esim-world .vh-cart-modal{padding:var(--wp--custom--atlas--dimension--24) var(--wp--custom--atlas--dimension--18);}body.wp-theme-main-esim-world .vh-cart-modal h3{margin-right:var(--wp--custom--atlas--dimension--44);}}
@media(prefers-reduced-motion:reduce){body.wp-theme-main-esim-world .toast {transition:none;transform:none;}}
