// SHOP PAGE — mobile ready function ShopPage({ lang, addToCart, showToast }) { const [activeCategory, setActiveCategory] = React.useState('all'); const [search, setSearch] = React.useState(''); const [sort, setSort] = React.useState('default'); const products = Store.getProducts(); const categories = Store.getCategories(); const t = lang === 'pt' ? { title: 'A Nossa Loja', sub: 'Todos os nossos produtos artesanais', all: 'Todos', search: 'Pesquisar produtos...', sortDef: 'Ordem padrão', sortAsc: 'Preço: baixo → alto', sortDesc: 'Preço: alto → baixo', noResults: 'Nenhum produto encontrado.' } : { title: 'Our Shop', sub: 'All our handcrafted products', all: 'All', search: 'Search products...', sortDef: 'Default order', sortAsc: 'Price: low → high', sortDesc: 'Price: high → low', noResults: 'No products found.' }; let filtered = products .filter(p => activeCategory === 'all' || p.category === activeCategory) .filter(p => p.name.toLowerCase().includes(search.toLowerCase()) || p.description.toLowerCase().includes(search.toLowerCase())); if (sort === 'asc') filtered = [...filtered].sort((a, b) => a.price - b.price); if (sort === 'desc') filtered = [...filtered].sort((a, b) => b.price - a.price); return (