/* Shared presentation for classic WooCommerce and block notices. */
body .woocommerce-info,
body .woocommerce-message,
body .woocommerce-error,
body .wc-block-components-notice-banner.is-info,
body .wc-block-components-notice-banner.is-success,
body .wc-block-components-notice-banner.is-error {
  --notice-accent: var(--brand);
  --notice-bg: #f4eefb;
  box-sizing: border-box;
  background: var(--notice-bg);
  border: 1px solid color-mix(in srgb, var(--notice-accent) 24%, transparent);
  border-radius: 16px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  box-shadow: none;
}
body .woocommerce-message,
body .wc-block-components-notice-banner.is-success { --notice-accent: var(--green); --notice-bg: var(--green-light); }
body .woocommerce-error,
body .wc-block-components-notice-banner.is-error { --notice-accent: #a82f52; --notice-bg: #fff0f3; }
body .wc-block-components-notice-banner { padding: 18px 20px !important; gap: 14px; align-items: flex-start; }
body .wc-block-components-notice-banner > svg { background-color: var(--notice-accent) !important; flex: 0 0 24px; margin-top: 1px; }
body .woocommerce-info, body .woocommerce-message, body .woocommerce-error { padding: 18px 22px 18px 54px; }
body .woocommerce-info::before, body .woocommerce-message::before, body .woocommerce-error::before { color: var(--notice-accent); top: 19px; left: 22px; }
body .wc-block-components-notice-banner a, body .woocommerce-info a, body .woocommerce-message a, body .woocommerce-error a { color: var(--brand-dark); text-underline-offset: 3px; }
/* Centre the 44px control on the title’s first 1.8rem line, including when the counter wraps. */
body .wc-block-mini-cart__drawer .wc-block-components-drawer__close {
  top: calc(16px + .9rem - 22px);
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  padding: 10px !important; margin: 0; border: 1px solid #d9cce9; border-radius: 50%;
  background: #eee5fb !important; color: #4d2c7a !important; opacity: 1;
}
body .wc-block-mini-cart__drawer .wc-block-components-drawer__close:hover { background: #dfcff4 !important; color: var(--ink); }
body .wc-block-mini-cart__drawer .wc-block-components-drawer__close:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.product-cart-status { margin: 12px 0 0; color: var(--green); font-size: 16px; line-height: 1.5; }
.product-cart-status:empty { display: none; }
.product-cart-status.is-error { color: #a82f52; }
.single_add_to_cart_button[aria-busy="true"] { opacity: .75; cursor: progress; }
