import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Playfair_Display } from "next/font/google";
import "./globals.css";
import { Toaster } from "@/components/ui/toaster";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});

const playfair = Playfair_Display({
  variable: "--font-heading",
  subsets: ["latin"],
  weight: ["500", "600", "700"],
});

export const metadata: Metadata = {
  title: "Xevon — Premium Men's Fashion Bangladesh",
  description:
    "Xevon is a premium Bangladeshi fashion brand offering high-quality Panjabi, Shirts, T-Shirts, Trousers, and Winter Wear for the modern gentleman.",
  keywords: [
    "Xevon",
    "men's fashion",
    "Bangladesh",
    "Panjabi",
    "Shirts",
    "T-Shirts",
    "Trousers",
    "Winter Wear",
    "Bengali fashion",
  ],
  authors: [{ name: "Xevon" }],
  icons: {
    icon: "https://z-cdn.chatglm.cn/z-ai/static/logo.svg",
  },
  openGraph: {
    title: "Xevon — Premium Men's Fashion Bangladesh",
    description:
      "Xevon is a premium Bangladeshi fashion brand offering high-quality Panjabi, Shirts, T-Shirts, Trousers, and Winter Wear for the modern gentleman.",
    siteName: "Xevon",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "Xevon — Premium Men's Fashion Bangladesh",
    description:
      "Xevon is a premium Bangladeshi fashion brand offering high-quality Panjabi, Shirts, T-Shirts, Trousers, and Winter Wear for the modern gentleman.",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <body
        className={`${geistSans.variable} ${geistMono.variable} ${playfair.variable} antialiased bg-background text-foreground`}
      >
        {children}
        <Toaster />
      </body>
    </html>
  );
}
