# Quiz-To-Personalized-Kit Cart Funnel

## Objective

Match shoppers to a tailored 3-item starter kit via a 4-question fit quiz with one-click Add All to Cart.

Build a guided shopping quiz funnel that removes catalog overwhelm: asks 4 quick preference/goal questions, explains why each recommended item fits, lets shoppers tweak quantities or swap a shade/size, and adds the whole kit to cart in one tap.

## Before You Begin

This funnel is being added to an application or site that may already exist.
Do not scaffold a new project unless the user explicitly asks for one, and
do not assume a blank slate.

Inspect the codebase first and establish:

- The source Markdown files, docs, URLs, or repo files supplied for this funnel build.
- The offer, audience, funnel stage, price point, and desired conversion action.
- The existing application structure and where landing pages, forms, checkout, or tracking code already live.
- The framework and version in use.
- The existing design system — colours, spacing, typography, and component conventions.
- Existing UI components you can reuse instead of writing new ones.
- The existing database structure, if this funnel needs to persist leads, applications, purchases, or events.
- The existing authentication and authorization system, if this funnel is user-scoped.
- Dependencies already installed, so you don't add a library that duplicates one.
- The existing test setup and conventions.

Only start writing code once you understand the above. If the application
already implements part of this funnel, extend it rather than replacing it.

Do not invent testimonials, revenue claims, scarcity, guarantees, legal
disclaimers, or endorsement language. Use only what appears in the source
files, and call out missing claims or assets in your final summary.

## Implementation Instructions

Build a guided shopping quiz funnel that removes catalog overwhelm: asks 4 quick preference/goal questions, explains why each recommended item fits, lets shoppers tweak quantities or swap a shade/size, and adds the whole kit to cart in one tap.

1. Map the 4 shopper questions (goal, preference, size/type, routine) to deterministic product kit recommendations from inventory.
2. Build a fast card-based quiz with crisp visuals, progress bar, and an optional 'Email me my recommendations' step (skippable so high-intent buyers go straight to cart).
3. Render the personalized kit result page explaining why each item was picked, showing bundle savings, and allowing inline swaps or item toggles.
4. Wire 'Add My Kit to Cart' to populate every selected SKU and variant atomically and open checkout.

## Edge Cases

- Automatically substitute an in-stock equivalent if a recommended SKU sells out.
- Save the personalized kit URL so shoppers returning from email land right back on their tailored recommendations.

## Acceptance Criteria

- [ ] Quiz completes in under 45 seconds and recommends real, in-stock SKUs.
- [ ] Shoppers can adjust individual items or variants before clicking Add All to Cart.
- [ ] Optional email capture never hard-blocks a ready buyer from viewing their kit.

## Adaptation Rules

- Match the existing design system. Do not introduce a new colour palette,
  spacing scale, or component library.
- Reuse existing components and utilities wherever they fit.
- Follow the naming, file layout, and code style already present.
- Do not upgrade, replace, or remove existing dependencies to make this
  funnel fit. Adapt the funnel to the app, not the app to the funnel.
- Do not break existing functionality. If a change is genuinely required in
  existing code, make the smallest one that works and say so.
- If something in these instructions conflicts with how the application is
  built, follow the application and explain the deviation.
- Use generic funnel strategy language. Do not name or imply endorsement by
  any specific public marketer, course, book, or software brand.

## Final Verification

Before you report the work as done:

1. Re-read the acceptance criteria above and check each one against what you
   actually built.
2. Run the application and exercise the funnel end to end.
3. Run the existing test suite and confirm you have broken nothing.
4. Check the funnel on mobile, tablet, and desktop widths.
5. Check forms, buttons, keyboard navigation, and focus handling.
6. Summarize what changed: files added, files modified, source files used,
   assumptions made, and anything you deliberately did differently because
   of how this application is built.

If any acceptance criterion is unmet, fix it before reporting completion.
