.product-toasts {
  position: fixed;
  z-index: 80;
  right: 20px;
  top: max(var(--product-toast-top, 100px), env(safe-area-inset-top, 0px));
  width: min(370px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.product-toasts[hidden] {
  display: none;
}
.product-toast {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 32px 12px 12px;
  background: rgb(255 255 255 / 82%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #253b47;
  border: 1px solid rgb(255 255 255 / 85%);
  border-left: 3px solid #36a5a0;
  border-radius: 15px;
  box-shadow:
    0 12px 36px #163f4d24,
    0 2px 6px #163f4d0a;
  pointer-events: auto;
  animation: product-toast-enter 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-toast-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #e4f6f2, #e7eefb);
  box-shadow: 0 0 0 3px #ffffffb3;
  color: #326571;
  font-size: 12px;
  font-weight: 650;
}
.product-toast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-toast-content {
  min-width: 0;
}
.product-toast-poster {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.4;
  color: #5b6e78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-toast-heading {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 5px;
}
.product-toast-category {
  display: inline-block;
  flex: 0 1 auto;
  max-width: 44%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1px 6px;
  border-radius: 6px;
  background: #e4f3f0;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  color: #277482;
}
.product-toast-title {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.product-toast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  font-size: 11px;
  line-height: 1.5;
}
.product-toast-destination {
  color: #62717b;
  overflow-wrap: anywhere;
}
.product-toast-price {
  color: #257368;
  font-weight: 600;
}
.product-toast-close {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7a858c;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.product-toast-close:hover {
  background: #edf2f3;
  color: #263c44;
}
.product-toast-close:focus-visible {
  outline: 2px solid #267888;
  outline-offset: 1px;
}
@keyframes product-toast-enter {
  from {
    opacity: 0;
    transform: translate(18px, -4px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@media (max-width: 767px) {
  .product-toasts {
    right: 16px;
    gap: 0;
  }
  .product-toast {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .product-toast:nth-child(n + 2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-toast {
    animation: none;
  }
}
