/* Shared by the storefront, cart and checkout shells. */
.luk-notice:not(:empty),
#wrap ._messageBox_accept,
#wrap ._messageBox_reject,
#wrap .cart-message-success,
#wrap .cart-message-error {
  margin-block: .5rem;
  padding: .7rem .85rem;
  border: 1px solid var(--notice-border, #ded4db);
  border-inline-start: 4px solid var(--notice-accent, #755370);
  border-radius: .35rem;
  background: var(--notice-bg, #f2ebf0);
  color: var(--notice-text, #41243d);
  line-height: 1.45;
}

.luk-notice[data-state="success"],
#wrap ._messageBox_accept,
#wrap .cart-message-success {
  --notice-bg: #d4edda;
  --notice-text: #155724;
  --notice-border: #c3e6cb;
  --notice-accent: #2c733d;
}

.luk-notice[data-state="error"],
#wrap ._messageBox_reject,
#wrap .cart-message-error {
  --notice-bg: #f8d7da;
  --notice-text: #721c24;
  --notice-border: #f5c6cb;
  --notice-accent: #a32b39;
}

#wrap :is(._messageBox_accept, ._messageBox_reject) :is(._messageBoxInner, ._messageBoxText, .messageBox_messageText) {
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.luk-notice h2 { margin: 0; font-size: 1.2rem; line-height: 1.4; }
