<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">

  <!-- Homepage -->
  <url>
    <loc>https://agrostore.web.app/</loc>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
    <lastmod>2025-12-12</lastmod>
  </url>

  <!-- Productos (Categoría principal) -->
  <url>
    <loc>https://agrostore.web.app/productos</loc>
    <changefreq>daily</changefreq>
    <priority>0.9</priority>
    <lastmod>2025-12-12</lastmod>
  </url>

  <!-- Categorías -->
  <url>
    <loc>https://agrostore.web.app/categorias</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- Carrito -->
  <url>
    <loc>https://agrostore.web.app/carrito</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Checkout -->
  <url>
    <loc>https://agrostore.web.app/checkout</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- Perfil de vendedor -->
  <url>
    <loc>https://agrostore.web.app/vendedor</loc>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Mis pedidos -->
  <url>
    <loc>https://agrostore.web.app/pedidos</loc>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Ayuda/Soporte -->
  <url>
    <loc>https://agrostore.web.app/ayuda</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- NOTA: Las URLs de productos individuales deben generarse dinámicamente desde Firestore
       Ejemplo de estructura esperada para cada producto:

       <url>
         <loc>https://agrostore.web.app/producto/{productId}</loc>
         <changefreq>weekly</changefreq>
         <priority>0.8</priority>
         <lastmod>{product.updatedAt}</lastmod>
         <image:image>
           <image:loc>{product.images[0]}</image:loc>
           <image:title>{product.name}</image:title>
         </image:image>
       </url>
  -->

</urlset>
