High-Conversion E-Commerce Storefront & Cart Funnel

profile: web-app archetype: ecommerce-storefront scroll: window tokens: DESIGN.md modal <= 4 fields skeleton >= 150ms touch >= 44px
Linter: PASS (0 errors, 0 warnings)

1. Interactive App Shell & Viewport Budget Simulator

Desktop Budget (1280px): Left Nav 240px + Right Panel 0px + Outer Padding 48px + Min Content 760px = 1048px
<PageHeader> (sticky z-10) [Primary CTA]
<PageSection> + <DataStateBoundary> scroll_owner: window | CLS = 0 reservation 4 mandatory states: Loading (Skeleton) | Empty (CTA) | Error (In-place Retry) | Populated

2. Core Page Archetypes (3)

Archetype: DiscoveryCatalog

Faceted collection grid and search results view (`max-w: 1280px`).

Primary CTA: Top-right sort/filter controls in `<PageHeader>`; card click navigates to `/products/:handle`.

+--------------------------------------------------------------------+
| Outerwear Collection (48 items)             [Filter] [Sort: Newest]|
+----------------------+---------------------------------------------+
| Facets (240px)       | Product Grid (3 columns, aspect 4:5 media)  |
| [x] Waterproof       | +------------+ +------------+ +-----------+ |
| [ ] Insulated        | | Image 4:5  | | Image 4:5  | | Image 4:5 | |
| Size: [S] [M] [L]    | | Shell Parka| | Down Vest  | | Rain Coat | |
| [Clear All (1)]      | | $240.00    | | $165.00    | | $190.00   | |
|                      | +------------+ +------------+ +-----------+ |
+----------------------+---------------------------------------------+

Archetype: ProductShowcase

2-column product configuration and storytelling view (`max-w: 1280px`).

Primary CTA: Sticky right purchase column `[Add to Cart - $240.00]` (`>= 48px` height).

+--------------------------------------------------------------------+
| Home / Outerwear / Alpine Shell Parka                              |
+--------------------------------------+-----------------------------+
| Media Gallery (55% width)            | Sticky Buy Box (45% width)  |
| +----------------------------------+ | Alpine Shell Parka  $240.00 |
| | Primary Product Image (4:5)      | | Color: [Obsidian] [Clay]    |
| |                                  | | Size:  [S] [M] [L] [XL]     |
| +----------------------------------+ | [   Add to Cart - $240.00 ] |
| [Thumb 1] [Thumb 2] [Thumb 3]        | - Free 30-day returns       |
+--------------------------------------+-----------------------------+

Archetype: CheckoutFunnel

Distraction-free checkout flow (`max-w: 1024px`, 2-column split: `560px` form column + `380px` sticky order summary; top navigation links hidden).

Primary CTA: Bottom of active checkout step (`[Continue to Shipping]` / `[Pay $240.00]`).

+--------------------------------------------------------------------+
| [Store Logo]                                    [Return to Cart]   |
+------------------------------------+-------------------------------+
| Checkout Form (560px)              | Sticky Order Summary (380px)  |
| 1. Contact & Shipping Address      | - Alpine Shell Parka (M) $240 |
| [Email                           ] | - Shipping               Free |
| [Street Address                  ] | - Estimated Tax        $19.20 |
| [  Pay $259.20                   ] | Total                 $259.20 |
+------------------------------------+-------------------------------+

3. Route Reachability Graph (4 Routes)

Route Archetype Entry Trigger Primary Action Exit / Cancel Fallback
/collections/:slug DiscoveryCatalog Top header category links or search query Filter products and select a product card Clear filters or navigate to /collections/all
/products/:handle ProductShowcase Product card click in catalog or cart drawer Select variant (?variant=id) and click [Add to Cart] Breadcrumb return to /collections/:slug preserving facet query
/checkout CheckoutFunnel [Proceed to Checkout] inside Cart Drawer Submit shipping and payment to complete order [Return to Cart] link reopens /collections/all?cart=open
/account/orders DiscoveryCatalog Header account icon Inspect order status and tracking link Return to /collections/all

4. Mandatory 4-State View Matrix

View / Component Loading (Skeleton) Empty (Copy + CTA) Error (In-Place Retry) Populated (Density & Overflow)
/collections/:slug (DiscoveryCatalog) 6 product card skeletons matching 4:5 image frame + 2 text lines (20px + 16px, CLS = 0) Centered 420px block: *"No products match your selected filters."* + [Reset All Filters] CTA Inline alert card inside grid area + [Reload Collection] button 3-column desktop / 2-column mobile grid, 24 items/page, title line-clamp-1, tabular-nums price
/products/:handle (ProductShowcase) Left 4:5 gallery shimmer box + right buy-box skeleton (36px title, swatch pills, 48px CTA block) Out-of-stock variant state: CTA changes to [Notify Me When Available] opening a 1-field email inline capture Persistent inline banner above [Add to Cart] if cart mutation fails + [Try Again] High-res gallery with thumb strip, tactile swatch pills (>= 44x44px), sticky buy box
/checkout (CheckoutFunnel) 2-column checkout skeleton (560px form blocks + 380px order summary card) If cart is empty on /checkout entry: *"Your cart is empty."* + [Browse Best Sellers] CTA Persistent payment error alert box above [Pay] button retaining all typed address fields Single-column progressive form sections + sticky itemized total with tabular-nums
/account/orders (DiscoveryCatalog) 4 order card skeletons (112px height each) Centered 420px block: *"You have not placed any orders yet."* + [Explore New Arrivals] CTA Inline alert card + [Retry Fetch] button Order ID, date, status badge, item thumbnails, right-aligned total

5. Monotonic Z-Index Elevation Contract

base 0
sticky 10
navigation 20
drawer 30
modal 40
popover 50
toast 60
tooltip 70