/* cart.css — стили корзины
 * Карточки товара (.cart-item, .cart-empty и т.д.) перенесены из pulse
 * и живут в main.css. Здесь остаются только правила для реальных
 * элементов, которых нет в статичном pulse: toast-уведомления и бейдж
 * счётчика корзины в шапке. */

/* ── Cart toast notification ──────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #1A2236;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.cart-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast--error { background: #C62828; }

/* ── Header cart badge ────────────────────────────────────────────────── */
#cartBadge {
  position: absolute;
  top: -2px;
  right: -6px;
  background: #46A6FF;
  color: #fff;
  font-family: Onest, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
