The key idea
A storefront must help people discover the right product quickly while making clear which information is cached and which purchase decisions require fresh server authority.
Question & requirements
Design the frontend of an ecommerce storefront. Visitors browse categories, search and filter products, inspect a product and its variants, and add an available variant to a cart. Explain pages, rendering, state ownership, API contracts, caching, and responsive behavior. The focus here is discovery and product details; the separate Shopping question covers cart reconciliation, checkout, and payment correctness.
| Clarify | Assumption for this answer |
|---|