/* ================================================
   WOOCOMMERCE NOTICE OVERRIDES
   ================================================ */

/* --- Base style for ALL notices --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
.wc-block-components-notice-banner,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  font-family: "adobe-caslon-pro", "Adobe Caslon Pro", serif;
  font-size: 15px;
  border-radius: 0 !important;
  border: 1px solid #000000 !important;
  border-top: 1px solid #000000 !important;
  background-color: #F5F0E8;
  color: #000000;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: none;
}

/* --- Remove default WooCommerce colored left border & icons --- */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

/* --- Error list items inherit the same style --- */
.woocommerce-error,
.woocommerce-error li {
  background-color: #F5F0E8;
  color: #000000;
  list-style: none;
  margin: 0;
}

/* --- Buttons inside notices (e.g. "View Cart") --- */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  font-family: "adobe-caslon-pro", "Adobe Caslon Pro", serif;
  background-color: #000000;
  color: #F5F0E8;
  border: 1px solid #000000;
  border-radius: 0;
  padding: 8px 16px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
  opacity: 0.75;
  color: #F5F0E8;
}

/* --- Gutenberg block-based cart/checkout notices --- */
.wc-block-components-notice-banner {
  font-family: "adobe-caslon-pro", "Adobe Caslon Pro", serif;
  background-color: #F5F0E8 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  color: #000000;
  justify-content: center;
}
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-info {
  background-color: #F5F0E8 !important;
  border-left: 1px solid #000000 !important;
}