/* ========================================================
   CART TOAST — notificare globală adăugare în coș
   ======================================================== */
.cart-toast {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px 14px 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14), 0 2px 12px rgba(0,0,0,0.08);
  min-width: 280px;
  max-width: 340px;
  border-left: 4px solid #f49201;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
}

.cart-toast--in {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cart-toast--out {
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  pointer-events: none;
}

.cart-toast__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #f49201;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-toast__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: #f5f5f5;
  padding: 4px;
}

.cart-toast__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cart-toast__title {
  font-size: 11px;
  font-weight: 700;
  color: #f49201;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-toast__name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-toast__price {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.cart-toast__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.cart-toast__close:hover {
  color: #111;
  background: #f5f5f5;
}

@media (max-width: 480px) {
  .cart-toast {
    bottom: 20px;
    right: 12px;
    left: 12px;
    min-width: unset;
    max-width: unset;
  }
}
