import './globals.css';
import type { Metadata, Viewport } from 'next';

export const metadata: Metadata = {
  metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'https://shop.warisanherbabs.com'),
  title: 'Belalang Dewa — Jamu Paklong Man',
  description:
    'Jamu lelaki resipi warisan: Tongkat Ali, Belalai Gajah, Daun Bidara dan Akar Kucing. Sachet, bancuh dengan air suam. COD seluruh Malaysia.',
  openGraph: { type: 'website', siteName: 'Warisan Herba BS' },
  robots: { index: true, follow: true },
};

export const viewport: Viewport = { width: 'device-width', initialScale: 1, themeColor: '#17110D' };

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="ms">
      <body>{children}</body>
    </html>
  );
}
