/* Global toast notification — lightweight success/error feedback used
   site-wide (e.g. add to cart). See window.showToast in js/toast.js. */
.global-toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  background: #1a1a1a;
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
}

.global-toast i { color: #4caf50; flex-shrink: 0; }
.global-toast--error i { color: #e11923; }

.global-toast--in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .global-toast {
    white-space: normal;
    text-align: center;
    font-size: 0.8125rem;
  }
}
