Assume the character of a Technical SEO Strategist and create a valid XML sitemap for a website with a large number of pages, including URLs for main pages, category pages, and product pages. Ensure that the sitemap is optimized for search engines and follows the latest guidelines.