"use client";

import { AuthProvider } from "@/context/AuthContext";
import { CartProvider } from "@/context/CartContext";
import { ChatWidgetProvider } from "@/context/ChatWidgetContext";
import FloatingChat from "@/components/FloatingChat";

export default function ClientProviders({ children }) {
  return (
    <AuthProvider>
      <CartProvider>
        <ChatWidgetProvider>
          {children}
          <FloatingChat />
        </ChatWidgetProvider>
      </CartProvider>
    </AuthProvider>
  );
}
