#pg-toast-region {
  position: fixed;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 48px));
  max-height: min(70vh, 620px);
  overflow: auto;
  overscroll-behavior: contain;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  scrollbar-width: thin;
  padding: 4px;
  box-sizing: border-box;
}
#pg-toast-region:empty { display: none; }
#pg-toast-region .pg-toast {
  --pg-tone: #35644d;
  position: relative;
  flex: 0 0 auto;
  background: #fffdf9;
  color: #29392f;
  border: 1px solid #dedfd4;
  border-left: 4px solid var(--pg-tone);
  border-radius: 14px;
  box-shadow: 0 8px 32px #24382b24;
  padding: 18px 54px 18px 18px;
  pointer-events: auto;
  animation: pg-toast-in .22s ease-out;
  font: 400 14px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
  text-align: left;
  box-sizing: border-box;
}
#pg-toast-region .pg-toast--error { --pg-tone: #a33f36; }
#pg-toast-region .pg-toast--info { --pg-tone: #596c7b; }
#pg-toast-region .pg-toast__label {
  display: block;
  margin: 0 0 5px;
  color: var(--pg-tone);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
}
#pg-toast-region .pg-toast__message {
  display: block !important;
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
#pg-toast-region .pg-toast__message::before,
#pg-toast-region .pg-toast__message::after { display: none !important; }
#pg-toast-region .pg-toast__message > svg { display: none; }
#pg-toast-region .wc-block-components-notice-banner__content { padding: 0; margin: 0; color: inherit; font: inherit; }
#pg-toast-region .pg-toast__message > li { padding: 0; margin: 0; list-style: none; }
#pg-toast-region .pg-toast__message > li + li { margin-top: 8px; }
#pg-toast-region .pg-toast__message a {
  display: flex;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  min-height: 44px;
  padding: 2px 9px;
  margin: 10px 0 0;
  border-radius: 7px;
  border: 1px solid #c8d6ca;
  background: #edf3ed;
  color: #244b36;
  font: 600 13px/1.3 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  float: none !important;
  box-shadow: none;
}
#pg-toast-region .pg-toast__close {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #59645d;
  font: 400 26px/1 system-ui, sans-serif;
  cursor: pointer;
  box-shadow: none;
}
#pg-toast-region .pg-toast__close:hover { background: #edf1e9; color: #233d2c; }
#pg-toast-region .pg-toast__message:focus:not(:focus-visible) { outline: none; }
#pg-toast-region :is(a, button):focus-visible { outline: 3px solid #34654c; outline-offset: 2px; }
.woocommerce-notices-wrapper.pg-notices-empty { display: none; }
@keyframes pg-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  #pg-toast-region {
    top: calc(12px + env(safe-area-inset-top));
    bottom: auto;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    width: auto;
    max-height: 45vh;
  }
  body.admin-bar #pg-toast-region { top: calc(58px + env(safe-area-inset-top)); }
  #pg-toast-region .pg-toast { padding: 15px 50px 15px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #pg-toast-region .pg-toast { animation: none; }
}
