import { Outlet } from 'react-router';
import { Header } from '../components/layout/Header';

export function PublicLayout() {
  return (
    <div className="min-h-screen flex flex-col">
      <Header cartCount={2} />
      <main className="flex-1">
        <Outlet />
      </main>
      <footer className="bg-card border-t border-border py-8">
        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
          <p className="text-sm text-muted-foreground">© 2026 Craftshop. Все права защищены.</p>
        </div>
      </footer>
    </div>
  );
}
