/* Storefront notifications follow the warm neutral and deep green site palette. */
.myalert-wrapper {
  right: 24px;
  bottom: 24px;
  left: auto;
  width: auto;
  max-width: min(420px, calc(100vw - 32px));
  gap: 10px;
  z-index: 2147483000;
  pointer-events: none;
}

.myalert-wrapper .myalert {
  width: auto;
  min-width: 280px;
  max-width: 100%;
  margin: 0;
  padding: 17px 42px 17px 18px;
  overflow-wrap: anywhere;
  color: #18221d !important;
  background: #fcfaf6;
  border: 1px solid #ded9cf;
  border-left: 4px solid #123e2d;
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(24, 34, 29, .18);
  pointer-events: auto;
}

.myalert-wrapper .myalert p {
  align-items: center;
  margin: 0;
  color: #18221d !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
}

.myalert-wrapper .myalert p:before {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 11px;
  padding: 0;
  color: #fff;
  background: #123e2d;
  border-radius: 50%;
  font-size: 13px;
}

.myalert-wrapper .myalert-danger {
  background: #fcfaf6;
  border-color: #ded9cf;
  border-left-color: #a64b3c;
}

.myalert-wrapper .myalert-danger p:before {
  background: #a64b3c;
}

.myalert-wrapper .myalert-warning {
  background: #fcfaf6;
  border-color: #ded9cf;
  border-left-color: #a66b25;
}

.myalert-wrapper .myalert-warning p:before {
  background: #a66b25;
}

.myalert-wrapper .myalert-info {
  background: #fcfaf6;
  border-color: #ded9cf;
  border-left-color: #536b61;
}

.myalert-wrapper .myalert-info p:before {
  background: #536b61;
}

.myalert-wrapper .myalert-close {
  top: 50%;
  right: 12px;
  color: #625e56;
  transform: translateY(-50%);
}

.myalert-wrapper .myalert:hover .myalert-close,
.myalert-wrapper .myalert-close:focus-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 639px) {
  .myalert-wrapper {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .myalert-wrapper .myalert {
    min-width: 0;
    padding: 14px 40px 14px 14px !important;
  }

  .myalert-wrapper .myalert p {
    max-width: none;
    overflow: visible;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .myalert-wrapper .myalert {
    animation: none;
    transition: none;
  }
}
