import { Button } from "./ui/button"

export function CartSummary() {
  return (
    <div className="bg-white p-4 rounded-lg">
      <h2 className="text-lg font-semibold mb-4">Ваша корзина</h2>
      <div className="space-y-2 mb-4">
        <div className="flex justify-between">
          <span>Товары (2)</span>
          <span>10 236 ₽</span>
        </div>
        <div className="flex justify-between text-green-600">
          <span>Скидка</span>
          <span>- 4 387 ₽</span>
        </div>
      </div>
      <div className="flex justify-between text-lg font-bold mb-4">
        <span>С Ozon Картой</span>
        <span>5 467 ₽</span>
      </div>
      <Button className="w-full" size="lg">
        Перейти к оформлению
      </Button>
    </div>
  )
}

