/* Shared WooCommerce notices: preserve its text, icons, status roles and actions. */
.petal .wc-block-components-notice-banner,
.petal :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
 background: var(--s-color-petal);
 color: var(--s-color-ink);
 border: 1px solid var(--s-color-line);
 border-radius: 0;
 box-shadow: none;
 font: 400 14px/1.6 var(--s-font-body);
 max-width: 100%;
 overflow-wrap: anywhere;
}
.petal .wc-block-components-notice-banner { gap: 12px; }
.petal .wc-block-components-notice-banner.is-error,
.petal .wc-block-components-notice-banner.is-warning,
.petal .woocommerce-error { border-color: var(--s-color-wine); }
.petal .wc-block-components-notice-banner > svg {
 background: transparent;
 fill: var(--s-color-wine);
 border-radius: 0;
 padding: 0;
 width: 24px;
 height: 24px;
 flex: 0 0 24px;
}
.petal .wc-block-components-notice-banner__content { min-width: 0; }
.petal .wc-block-components-notice-banner a,
.petal :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
 color: inherit;
 text-decoration: underline;
 text-underline-offset: 4px;
}
/* WooCommerce declares these two action colours !important; keep the override local. */
.petal .wc-block-components-notice-banner .wc-forward,
.petal .wc-block-components-notice-banner > .wc-block-components-button {
 color: var(--s-color-ink) !important;
 opacity: 1;
}
.petal .wc-block-components-notice-banner :is(a, button):focus-visible {
 outline: 2px solid var(--s-color-wine);
 outline-offset: 3px;
}
.petal :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
 padding: 16px 20px 16px 52px;
}
.petal :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
 color: var(--s-color-wine);
 top: 16px;
 left: 20px;
}
@media (max-width: 700px) {
 .petal .wc-block-components-notice-banner .wc-forward {
  float: none;
  display: block;
  width: fit-content;
  margin: 8px 0 0;
 }
 .petal :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button {
  float: none;
  display: block;
  width: fit-content;
  margin-bottom: 12px;
 }
}
