<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <!-- Core pages -->
  <url>
    <loc>https://www.zprofil.se/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/sortiment</loc>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/losningar</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/case</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/hallbarhet</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/om-oss</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/kontakt</loc>
    <changefreq>yearly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/kopvillkor</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/retur-reklamation</loc>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://www.zprofil.se/packages</loc>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <!--
    DYNAMIC PAGES: Category pages (/kategori/:slug) and product pages (/product/:slug)
    are NOT included here yet. For full coverage:
    
    Option A (recommended): Build a Supabase Edge Function at /sitemap-products.xml
    that queries active products/categories and generates XML dynamically.
    Reference it from a sitemap index file.
    
    Option B: Generate at build time via a pre-build script that queries Supabase
    and writes the XML. Requires rebuild on product changes.
    
    CMS pages (/losningar, /case, /om-oss, /kontakt) are served via DynamicPage
    from the shop_pages table and are included as static entries above.
  -->
</urlset>
