.phadin-cart-toast {
  position: fixed;
  z-index: 2147483000;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: min(350px, calc(100vw - 44px));
  min-height: 146px;
  padding: 27px 24px;
  text-align: center;
  background: rgba(14, 40, 35, .94);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .21);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(.97);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  box-sizing: border-box;
}
.phadin-cart-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.phadin-cart-toast__icon {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #08764B;
  position: relative;
  flex: 0 0 60px;
}
.phadin-cart-toast__icon::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 23px;
  width: 14px;
  height: 25px;
  border: solid #fff;
  border-width: 0 5px 5px 0;
  border-radius: 1px;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.phadin-cart-toast__text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.phadin-cart-toast.is-error .phadin-cart-toast__icon { background: #b42318; }
.phadin-cart-toast.is-error .phadin-cart-toast__icon::after {
  content: '!';
  border: 0;
  top: 8px;
  left: 0;
  width: 60px;
  height: auto;
  line-height: 44px;
  font-size: 34px;
  font-weight: 700;
  transform: none;
}
.single_add_to_cart_button.phadin-cart-loading { opacity: .65; cursor: progress; }
@media (max-width: 600px) {
  .phadin-cart-toast { width: min(300px, calc(100vw - 32px)); min-height: 132px; padding: 23px 20px; }
  .phadin-cart-toast__text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .phadin-cart-toast { transition: none; }
}
