import { CartItems } from "@/components/cart-items"
import { CartSummary } from "@/components/cart-summary"

export default function CartPage() {
  return (
    <div className="container mx-auto px-4 py-8">
      <div className="flex gap-8">
        <div className="flex-1">
          <div className="flex items-center justify-between mb-6">
            <h1 className="text-2xl font-bold">Корзина</h1>
            <button className="text-blue-600 hover:underline">
              Поделиться
            </button>
          </div>
          <CartItems />
        </div>
        <div className="w-80">
          <CartSummary />
        </div>
      </div>
    </div>
  )
}

