import type { Metadata } from "next";
import "./globals.css";
import Link from "next/link";

export const metadata: Metadata = {
  title: "Customizecreation.shop | Online Shopping",
  description: "Discover personalized gifts, custom accessories, and thoughtful finds at Customizecreation.shop.",
  metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || "https://Customizecreation.shop"),
  alternates: { canonical: "/" },
  openGraph: { title: "Customizecreation.shop | Online Shopping", description: "Personalized products made for you.", siteName: "Customizecreation.shop", type: "website" }
};

export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
  return <html lang="en-IN"><body>
    <div className="topline">MADE PERSONAL, MADE MEMORABLE · INDIA-WIDE SHOPPING</div>
    <header className="header"><div className="container nav">
      <Link href="/" className="brand">Customizecreation<span>.shop</span></Link>
      <nav className="navlinks"><Link href="/shop">Shop</Link><Link href="/shop?category=Personalized%20Gifts">Personalized Gifts</Link><Link href="/shop?category=Accessories">Accessories</Link><Link href="/contact">Contact</Link></nav>
      <div className="nav-actions"><Link href="/account">Account</Link><Link href="/wishlist">♡ Wishlist</Link><Link href="/cart">Cart</Link></div>
    </div></header>
    {children}
    <footer className="footer"><div className="container"><div className="footer-grid">
      <div><Link href="/" className="brand">Customizecreation<span>.shop</span></Link><p>Little details. Personal meaning. Discover thoughtful custom gifts and everyday favourites made to feel like yours.</p></div>
      <div><h4>SHOP</h4><p><Link href="/shop">All products</Link><br/><Link href="/shop?category=Personalized%20Gifts">Personalized Gifts</Link><br/><Link href="/wishlist">Wishlist</Link></p></div>
      <div><h4>HELP & POLICIES</h4><p><Link href="/contact">Contact us</Link><br/><Link href="/shipping-returns">Shipping & Returns</Link><br/><Link href="/privacy">Privacy Policy</Link><br/><Link href="/terms">Terms & Conditions</Link><br/><Link href="/admin">Admin</Link></p></div>
    </div><div className="footer-bottom"><span>© {new Date().getFullYear()} Customizecreation.shop. All rights reserved.</span><span>Prices shown in INR (₹)</span></div></div></footer>
  </body></html>;
}
