/* ---------- Base ---------- */
.ew { container: ew / inline-size; width: 100%; }
.ew-page {
  font-family: var(--ew-font-body); font-size: var(--ew-fs-body); line-height: var(--ew-lh-body);
  color: var(--ew-color-ink); background: var(--ew-color-bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.ew-page *, .ew-page *::before, .ew-page *::after { box-sizing: border-box; }
.ew-page h1, .ew-page h2, .ew-page h3, .ew-page h4, .ew-page p, .ew-page ul, .ew-page ol, .ew-page dl, .ew-page dd, .ew-page figure { margin: 0; }
.ew-page ul, .ew-page ol { padding: 0; list-style: none; }
/* Native Woo labels have a bottom margin; Atlas field and card layouts own their gaps. */
.ew-page label { margin: 0; }
.ew-page a { color: var(--ew-color-accent-ink); text-decoration-thickness: var(--wp--custom--atlas--dimension--1); text-underline-offset: var(--wp--custom--atlas--dimension--3); }
.ew-page a:hover { color: var(--ew-color-ink); }
.ew-page :focus-visible { outline: none; box-shadow: var(--ew-focus-ring); border-radius: var(--ew-radius-sm); }
.ew-page svg { display: block; }
.ew-page ::placeholder { color: var(--ew-color-placeholder); opacity: 1; }
.ew-wrap { width: 100%; max-width: calc(var(--ew-max) + 2 * var(--ew-gutter)); margin: 0 auto; padding-inline: var(--ew-gutter); }
.ew-sr, .ew-sr-input { position: absolute !important; width: var(--wp--custom--atlas--dimension--1); height: var(--wp--custom--atlas--dimension--1); padding: 0; margin: var(--wp--custom--atlas--dimension--negative-1); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ew-eyebrow { font-size: var(--ew-fs-label); font-weight: var(--ew-fw-semibold); letter-spacing: var(--ew-tracking-label); text-transform: uppercase; color: var(--ew-color-muted); }
.ew-mono { font-variant-numeric: tabular-nums; }
.ew-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Buttons & fields ---------- */
.ew-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--wp--custom--atlas--dimension--8);
  min-height: var(--ew-control-h); padding: 0 var(--wp--custom--atlas--dimension--22); border-radius: var(--ew-radius-md);
  font: var(--ew-fw-semibold) var(--wp--custom--atlas--dimension--16)/1 var(--ew-font-body); text-decoration: none; cursor: pointer;
  border: var(--wp--custom--atlas--dimension--1) solid transparent; transition: background var(--ew-duration), border-color var(--ew-duration), color var(--ew-duration);
  white-space: nowrap;
}
.ew-page a.ew-btn { text-decoration: none; }
.ew-btn--primary { background: var(--ew-color-accent); color: var(--wp--preset--color--base-elevated); }
.ew-page a.ew-btn--primary { color: var(--wp--preset--color--base-elevated); }
.ew-btn--primary:hover { background: var(--ew-color-accent-hover); }
.ew-page a.ew-btn--primary:hover { color: var(--wp--preset--color--base-elevated); }
.ew-btn--secondary { background: var(--ew-color-surface); color: var(--ew-color-ink); border-color: var(--ew-color-line-strong); }
.ew-page a.ew-btn--secondary { color: var(--ew-color-ink); }
.ew-btn--secondary:hover { border-color: var(--ew-color-ink); }
.ew-btn--inverse { background: var(--wp--preset--color--base-elevated); color: var(--ew-color-ink); }
.ew-page a.ew-btn--inverse { color: var(--ew-color-ink); }
.ew-btn--sm { min-height: var(--ew-target); padding: 0 var(--wp--custom--atlas--dimension--16); font-size: var(--wp--custom--atlas--dimension--15); }
.ew-btn--block { width: 100%; }
.ew-btn[disabled], .ew-btn[aria-disabled="true"] { background: var(--ew-color-surface-2); color: var(--wp--preset--color--disabled-ink); border-color: var(--ew-color-line); cursor: not-allowed; }
.ew-link-arrow { display: inline-flex; align-items: center; gap: var(--wp--custom--atlas--dimension--8); min-height: var(--ew-target); font-weight: var(--ew-fw-semibold); }
.ew-link-arrow svg { width: var(--wp--custom--atlas--dimension--18); height: var(--wp--custom--atlas--dimension--18); }

.ew-field { display: grid; gap: var(--wp--custom--atlas--dimension--8); }
.ew-field__label { font-size: var(--ew-fs-small); font-weight: var(--ew-fw-semibold); color: var(--ew-color-ink); }
.ew-input, .ew-select {
  width: 100%; min-height: var(--ew-control-h); 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(--wp--preset--color--base-elevated); color: var(--ew-color-ink); font: 400 var(--wp--custom--atlas--dimension--17)/1.2 var(--ew-font-body);
}
.ew-input:focus-visible, .ew-select:focus-visible { border-color: var(--ew-color-accent); }
.ew-input[aria-invalid="true"] { border-color: var(--ew-color-danger); }
.ew-affix { position: relative; display: flex; align-items: center; }
.ew-affix .ew-input { padding-right: var(--wp--custom--atlas--dimension--76); font-variant-numeric: tabular-nums; }
.ew-affix__suffix { position: absolute; right: var(--wp--custom--atlas--dimension--16); font-size: var(--ew-fs-small); color: var(--ew-color-muted); pointer-events: none; }
.ew-help { font-size: var(--ew-fs-small); color: var(--ew-color-muted); line-height: 1.5; }
.ew-error { font-size: var(--ew-fs-small); color: var(--ew-color-danger); font-weight: var(--ew-fw-medium); display: flex; gap: var(--wp--custom--atlas--dimension--8); align-items: flex-start; }

/* Notices (Woo notices restyled) */
.ew-notice { display: grid; grid-template-columns: var(--wp--custom--atlas--dimension--24) 1fr; gap: var(--wp--custom--atlas--dimension--12); padding: var(--wp--custom--atlas--dimension--16); border-radius: var(--ew-radius-md); border: var(--wp--custom--atlas--dimension--1) solid; font-size: var(--ew-fs-small); line-height: 1.5; }
.ew-notice svg { width: var(--wp--custom--atlas--dimension--22); height: var(--wp--custom--atlas--dimension--22); margin-top: var(--wp--custom--atlas--dimension--1); }
.ew-notice strong { display: block; font-size: var(--wp--custom--atlas--dimension--16); margin-bottom: var(--wp--custom--atlas--dimension--2); }
.ew-notice--info { background: var(--ew-color-accent-soft); border-color: var(--wp--preset--color--notice-info-border); color: var(--ew-color-ink); }
.ew-notice--info svg { color: var(--ew-color-accent); }
.ew-notice--warning { background: var(--ew-color-warning-soft); border-color: var(--wp--preset--color--notice-warning-border); color: var(--wp--preset--color--notice-warning-ink); }
.ew-notice--warning svg { color: var(--ew-color-warning); }
.ew-notice--danger { background: var(--ew-color-danger-soft); border-color: var(--wp--preset--color--notice-error-border); color: var(--wp--preset--color--notice-error-ink); }
.ew-notice--danger svg { color: var(--ew-color-danger); }
.ew-notice--success { background: var(--ew-color-success-soft); border-color: var(--wp--preset--color--notice-success-border); color: var(--wp--preset--color--notice-success-ink); }
.ew-notice--success svg { color: var(--ew-color-success); }

/* Skeleton (loading) — no animation beyond a gentle opacity pulse; respects reduced motion */
.ew-skel { background: var(--ew-color-surface-2); border-radius: var(--ew-radius-sm); animation: ew-pulse 1.6s ease-in-out infinite; }
@keyframes ew-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ew-skel { animation: none; } }

/* ---------- Atlas type ---------- */
.ax-display { font-family: var(--ew-font-display); font-weight: 500; font-size: var(--ew-fs-display); line-height: var(--ew-lh-tight); letter-spacing: -0.025em; }
.ax-display em { font-style: italic; color: var(--ew-color-accent); }
.ax-h1 { font-family: var(--ew-font-display); font-weight: 500; font-size: var(--ew-fs-h1); line-height: 1.06; letter-spacing: -0.02em; }
.ax-h2 { font-family: var(--ew-font-display); font-weight: 500; font-size: var(--ew-fs-h2); line-height: var(--ew-lh-heading); letter-spacing: -0.015em; }
.ax-h3 { font-family: var(--ew-font-display); font-weight: 500; font-size: var(--ew-fs-h3); line-height: 1.2; }
.ax-lede { font-size: var(--wp--custom--atlas--dimension--19); line-height: 1.55; color: var(--ew-color-ink-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.ew .button, .ew button.button, .ew a.button, .ew input.button, .ew .woocommerce-Button, .ew .woocommerce-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--wp--custom--atlas--dimension--8);
  min-height: var(--ew-target); padding: 0 var(--wp--custom--atlas--dimension--20); border-radius: var(--ew-radius-md);
  border: var(--wp--custom--atlas--dimension--1) solid var(--ew-color-line-strong); background: var(--wp--preset--color--base-elevated); color: var(--ew-color-ink);
  font: var(--ew-fw-semibold) var(--wp--custom--atlas--dimension--16)/1 var(--ew-font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: border-color var(--ew-duration), background var(--ew-duration);
}
.ew .button:hover, .ew .woocommerce-button:hover { border-color: var(--ew-color-ink); background: var(--wp--preset--color--base-elevated); color: var(--ew-color-ink); }
.ew .button.alt, .ew #place_order, .ew .checkout-button, .ew .single_add_to_cart_button, .ew .woocommerce-form-login__submit, .ew .woocommerce-form-register__submit, .ew .woocommerce-ResetPassword .button {
  min-height: var(--ew-control-h); background: var(--ew-color-accent); border-color: var(--ew-color-accent); color: var(--wp--preset--color--base-elevated);
}
.ew .button.alt:hover, .ew #place_order:hover, .ew .checkout-button:hover, .ew .single_add_to_cart_button:hover, .ew .woocommerce-form-login__submit:hover, .ew .woocommerce-form-register__submit:hover {
  background: var(--ew-color-accent-hover); border-color: var(--ew-color-accent-hover); color: var(--wp--preset--color--base-elevated);
}
.ew .button:disabled, .ew .button.disabled, .ew .button[disabled] { background: var(--ew-color-surface-2); border-color: var(--ew-color-line); color: var(--wp--preset--color--disabled-ink); cursor: not-allowed; opacity: 1; }
.ew .screen-reader-text { position: absolute !important; width: var(--wp--custom--atlas--dimension--1); height: var(--wp--custom--atlas--dimension--1); overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Form rows & inputs ---------- */
.ew .form-row { display: grid; gap: var(--wp--custom--atlas--dimension--8); margin: 0 0 var(--wp--custom--atlas--dimension--16); padding: 0; min-width: 0; }
.ew .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { font-size: var(--ew-fs-small); font-weight: var(--ew-fw-semibold); color: var(--ew-color-ink); line-height: 1.3; }
.ew .form-row .required, .ew abbr.required { color: var(--ew-color-danger); text-decoration: none; border: 0; }
.ew .input-text, .ew .form-row select, .ew .form-row textarea, .ew .woocommerce-Input {
  width: 100%; min-height: var(--ew-control-h); 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(--wp--preset--color--base-elevated); color: var(--ew-color-ink); font: 400 var(--wp--custom--atlas--dimension--17)/1.2 var(--ew-font-body); box-shadow: none;
}
.ew .form-row textarea { min-height: var(--wp--custom--atlas--dimension--140); padding: var(--wp--custom--atlas--dimension--14) var(--wp--custom--atlas--dimension--16); line-height: 1.5; }
.ew .input-text:focus-visible, .ew .form-row select:focus-visible, .ew .form-row textarea:focus-visible { outline: none; border-color: var(--ew-color-accent); box-shadow: var(--ew-focus-ring); }
.ew .woocommerce-invalid .input-text, .ew .woocommerce-invalid select, .ew .input-text[aria-invalid="true"] { border-color: var(--ew-color-danger); }
.ew .woocommerce-validated .input-text { border-color: var(--ew-color-line-strong); }
.ew .form-row .description, .ew .woocommerce-form-row em, .ew .form-row-wide em { display: block; font-size: var(--wp--custom--atlas--dimension--14); color: var(--ew-color-muted); font-style: normal; }
.ew .woocommerce-form__label-for-checkbox, .ew .form-row label.checkbox { display: flex; align-items: flex-start; gap: var(--wp--custom--atlas--dimension--12); min-height: var(--ew-target); padding-top: var(--wp--custom--atlas--dimension--10); font-size: var(--wp--custom--atlas--dimension--15); line-height: 1.45; color: var(--ew-color-ink-2); cursor: pointer; }
.ew .woocommerce-form__input-checkbox, .ew input.input-checkbox, .ew .form-row input[type="checkbox"] { width: var(--wp--custom--atlas--dimension--22); height: var(--wp--custom--atlas--dimension--22); margin: 0; flex: none; accent-color: var(--ew-color-accent); }
.ew .password-input { position: relative; display: block; }
.ew .password-input .input-text { padding-right: var(--wp--custom--atlas--dimension--56); }
.ew .show-password-input { position: absolute; right: var(--wp--custom--atlas--dimension--4); top: var(--wp--custom--atlas--dimension--4); width: var(--ew-target); height: var(--ew-target); border: 0; background: transparent; border-radius: var(--ew-radius-sm); cursor: pointer; color: var(--ew-color-muted); }
.ew .form-row-first, .ew .form-row-last { width: auto; float: none; }
.ew .woocommerce-billing-fields__field-wrapper, .ew .woocommerce-EditAccountForm, .ew .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--wp--custom--atlas--dimension--16); }
.ew .woocommerce-billing-fields__field-wrapper > .form-row-wide, .ew .woocommerce-EditAccountForm > .form-row-wide, .ew .woocommerce-EditAccountForm > fieldset, .ew .woocommerce-EditAccountForm > p:not(.form-row-first):not(.form-row-last), .ew .woocommerce-EditAccountForm > .clear { grid-column: 1 / -1; }
.ew .clear { display: none; }
.ew .woocommerce-EditAccountForm fieldset, .ew .woocommerce-address-fields fieldset, .ew form.checkout fieldset { border: 0; margin: var(--wp--custom--atlas--dimension--8) 0 0; padding: 0; min-width: 0; }
.ew .woocommerce-EditAccountForm fieldset legend, .ew .woocommerce-address-fields fieldset legend, .ew form.checkout fieldset legend { font-family: var(--ew-font-display); font-weight: 500; font-size: var(--wp--custom--atlas--dimension--22); padding: 0; margin-bottom: var(--wp--custom--atlas--dimension--12); color: var(--ew-color-ink); }

/* ---------- Notices ---------- */
.ew .woocommerce-message, .ew .woocommerce-info, .ew .woocommerce-error, .ew .woocommerce-noreviews, .ew p.no-comments {
  position: relative; display: block; list-style: none; margin: 0 0 var(--wp--custom--atlas--dimension--20); padding: var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--48); border: var(--wp--custom--atlas--dimension--1) solid; border-top-width: var(--wp--custom--atlas--dimension--1); border-radius: var(--ew-radius-md);
  font-size: var(--ew-fs-small); line-height: 1.5; color: var(--ew-color-ink); background: var(--ew-color-accent-soft); border-color: var(--wp--preset--color--notice-info-border);
}
.ew .woocommerce-message::before, .ew .woocommerce-info::before, .ew .woocommerce-error::before {
  content: ""; position: absolute; left: var(--wp--custom--atlas--dimension--16); top: var(--wp--custom--atlas--dimension--17); width: var(--wp--custom--atlas--dimension--20); height: var(--wp--custom--atlas--dimension--20); border-radius: 50%; font-family: inherit;
  background: currentColor; -webkit-mask: var(--ew-notice-icon) center / contain no-repeat; mask: var(--ew-notice-icon) center / contain no-repeat;
}
.ew .woocommerce-info { --ew-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5v.5'/%3E%3C/svg%3E"); }
.ew .woocommerce-info::before { color: var(--ew-color-accent); }
.ew .woocommerce-message { background: var(--ew-color-success-soft); border-color: var(--wp--preset--color--notice-success-border); color: var(--wp--preset--color--notice-success-ink); --ew-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.ew .woocommerce-message::before { color: var(--ew-color-success); }
.ew .woocommerce-error { background: var(--ew-color-danger-soft); border-color: var(--wp--preset--color--notice-error-border); color: var(--wp--preset--color--notice-error-ink); --ew-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E"); }
.ew .woocommerce-error::before { color: var(--ew-color-danger); }
.ew .woocommerce-error li { margin: 0; }
.ew .woocommerce-error li + li { margin-top: var(--wp--custom--atlas--dimension--6); }
.ew .woocommerce-message .button, .ew .woocommerce-info .button { float: right; margin: var(--wp--custom--atlas--dimension--negative-6) 0 0 var(--wp--custom--atlas--dimension--12); min-height: var(--wp--custom--atlas--dimension--40); }
.ew .woocommerce-message a:not(.button), .ew .woocommerce-info a:not(.button), .ew .woocommerce-error a { color: inherit; font-weight: 600; }
/* Atlas atlas-woo.css:184 — every native Woo pager (orders list, order received) is centred 40px below its content. */
.ew .woocommerce-pagination { margin-top: var(--wp--custom--atlas--dimension--40); text-align: center; }

/* WooCommerce prints block-notice markup (div.wc-block-components-notice-banner.is-*[role=alert]) under a block theme.
   Keep that native markup and live region; paint it with the same Atlas notice primitive as .woocommerce-error/-info/-message.
   Toast content and the owned empty-Cart state keep their own composition. WooCommerce's padding/link colour are !important. */
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) {
  position: relative; display: block; gap: 0; margin: 0 0 var(--wp--custom--atlas--dimension--20); padding: var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--16) var(--wp--custom--atlas--dimension--48) !important;
  border: var(--wp--custom--atlas--dimension--1) solid var(--wp--preset--color--notice-info-border); border-radius: var(--ew-radius-md);
  font-size: var(--ew-fs-small); font-weight: 400; line-height: 1.5; color: var(--ew-color-ink); background: var(--ew-color-accent-soft);
  --ew-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5v.5'/%3E%3C/svg%3E");
}
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *)::before {
  content: ""; position: absolute; left: var(--wp--custom--atlas--dimension--16); top: var(--wp--custom--atlas--dimension--17); width: var(--wp--custom--atlas--dimension--20); height: var(--wp--custom--atlas--dimension--20); border-radius: 50%;
  background: currentColor; color: var(--ew-color-accent); -webkit-mask: var(--ew-notice-icon) center / contain no-repeat; mask: var(--ew-notice-icon) center / contain no-repeat;
}
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) > svg { display: none; }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *).is-success { background: var(--ew-color-success-soft); border-color: var(--wp--preset--color--notice-success-border); color: var(--wp--preset--color--notice-success-ink); --ew-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *).is-success::before { color: var(--ew-color-success); }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *).is-error { background: var(--ew-color-danger-soft); border-color: var(--wp--preset--color--notice-error-border); color: var(--wp--preset--color--notice-error-ink); --ew-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E"); }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *).is-error::before { color: var(--ew-color-danger); }
/* Focus is moved here by woocommerce.js only so screen readers announce it (tabindex=-1); it is not a control. */
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *):focus, .ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *):focus-visible { outline: none; box-shadow: none; border-radius: var(--ew-radius-md); }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) > .wc-block-components-notice-banner__content { padding: 0; align-self: auto; }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) .wc-block-components-notice-banner__summary { margin: 0 0 var(--wp--custom--atlas--dimension--6); font-weight: 600; }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) .wc-block-components-notice-banner__content :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) .wc-block-components-notice-banner__content li { margin: 0; }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) .wc-block-components-notice-banner__content li + li { margin-top: var(--wp--custom--atlas--dimension--6); }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) .wc-block-components-notice-banner__content a { color: inherit !important; font-weight: 600; }
.ew .wc-block-components-notice-banner:is(.is-error,.is-info,.is-success):not(.toast__content *):not(.wc-empty-cart-message *) .wc-block-components-notice-banner__content .wc-forward { float: none; display: inline; margin: 0; padding: 0 !important; border: 0; background: none !important; opacity: 1; text-decoration-line: underline; text-underline-position: auto; }


.wp-site-blocks, body { margin:0; padding:0; }
.wp-site-blocks > *, .ew > *, .ew-page > *, .ew-page main > *, .wp-block-template-part { margin-block:0; }

/* Original Atlas Classic foundation: legacy clearfix generated boxes must not
   participate as flex/grid children of the owned Woo compositions. */
.ew .col2-set::before, .ew .col2-set::after,
.ew .woocommerce::before, .ew .woocommerce::after {display:none;}
/* Shared supplied identity primitive; native eSIM unit/header badges retain their labels. */
.ax-code { display: inline-flex; align-items: center; justify-content: center; width: var(--wp--custom--atlas--dimension--40); height: var(--wp--custom--atlas--dimension--28); border: var(--wp--custom--atlas--dimension--1) solid var(--ew-color-ink); border-radius: var(--ew-radius-sm); font: 600 var(--wp--custom--atlas--dimension--13)/1 var(--ew-font-body); letter-spacing: .06em; }

/* Exact known native unit marker restored to literal Points; all values remain native. */
.ew .esw-points-unit {font:inherit;color:inherit;white-space:nowrap;}
.ew .esw-native-points-rate,
.ew .esw-native-total-value,
.ew .esw-native-date-part,
.ew .esw-native-clock-part {display:inline-block;white-space:nowrap;}

/* Original Atlas table rhythm shared by native Cart/Checkout/Orders/View/Balance. */
.ew .woocommerce table.shop_table th,
.ew .woocommerce table.shop_table td {line-height:var(--ew-lh-body);}
