/* ==========================================================================
   GBV România — toast.css (chunk 3; PORT_MAPPING §5)
   The add-to-cart toast from SiteHeader.dc.html: blue-deep card, bottom
   centre, „Produs adăugat în coș” + „Vezi coșul”. Markup inc/toast.php,
   behaviour assets/js/toast.js. Stacking (audit A5): cookie 60 > toast 50 >
   to-top 40 (variables in base.css §0). Token variables only; the mockup's
   literals carry their source. Not loaded on the block cart, the checkout
   or My Account.
   ========================================================================== */
.gbv-toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-6);                               /* 24 px, SiteHeader */
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: 14px;                                            /* SiteHeader toast */
  box-sizing: border-box;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 13px 18px;                                   /* SiteHeader toast */
  background: var(--surface-inverse);
  color: var(--text-on-brand);
  border-radius: var(--radius-lg) var(--radius-xs) var(--radius-xs) var(--radius-xs);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.3;
  transform: translate(-50%, 0);
}
.gbv-toast[hidden] {
  display: none;
}
.gbv-toast__text {
  white-space: nowrap;
}
.gbv-toast__link,
.gbv-toast__link:visited {
  color: var(--gbv-orange-peach);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;                           /* SiteHeader toast */
  transition: color var(--motion-base) ease;
}
.gbv-toast__link:hover,
.gbv-toast__link:focus-visible {
  color: var(--color-accent);
}
@keyframes gbv-toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.gbv-toast.is-visible {
  animation: gbv-toast-in var(--motion-lift) ease;
}
@media (prefers-reduced-motion: reduce) {
  .gbv-toast.is-visible {
    animation: none;
  }
}
