.woocommerce-notices-wrapper {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  float: none !important;
  clear: both;
  margin: 0;
  padding: 18px 22px 18px 62px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(236, 203, 167, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38));
  box-shadow: 0 14px 30px rgba(95, 81, 111, 0.08);
  color: #283447;
  list-style: none;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.74);
  color: #b88c3e;
  box-shadow: 0 8px 20px rgba(95, 81, 111, 0.08);
}

.woocommerce-message {
  border-left: none;
}

.woocommerce-message::before {
  content: "\2713";
}

.woocommerce-info::before {
  content: "i";
  font-weight: 700;
}

.woocommerce-error::before {
  content: "!";
  font-weight: 700;
  color: #9a5162;
}

.woocommerce-error {
  color: #7b4451;
}

.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a {
  color: #b88c3e;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info a.button,
.woocommerce-message .wc-forward,
.woocommerce-error .wc-forward,
.woocommerce-info .wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none !important;
  min-height: 40px;
  margin-inline-start: 12px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  color: #283447;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(95, 81, 111, 0.06);
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover,
.woocommerce-message .wc-forward:hover,
.woocommerce-error .wc-forward:hover,
.woocommerce-info .wc-forward:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
  margin: 0;
  width: 100%;
  list-style: none;
}

@media (max-width: 640px) {
  .woocommerce-notices-wrapper .woocommerce-message,
  .woocommerce-notices-wrapper .woocommerce-error,
  .woocommerce-notices-wrapper .woocommerce-info,
  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info {
    padding: 18px 18px 18px 58px;
  }

  .woocommerce-message .button,
  .woocommerce-error .button,
  .woocommerce-info .button,
  .woocommerce-message .wc-forward,
  .woocommerce-error .wc-forward,
  .woocommerce-info .wc-forward {
    margin-top: 12px;
    margin-inline-start: 0;
  }
}
