As a visitor or logged-in user, I want to use a chat widget to search products, place orders, go through checkout, or submit support tickets, so that I can interact with the application without navigating away from the current page.
Given I am on any page Then a chat toggle button is displayed in the bottom-right corner And clicking it opens the chat window with a menu: Find Product, Order Product, Checkout, Support.
Given I select "Find Product" Then I can enter a search query and up to 5 matching products are shown as cards And I can click "View Product" to navigate to the detail page.
Given I select "Order Product" Then I can search for a product, select a quantity (1, 2, 3, 5, 10, or custom 1–999), confirm the order, and the product is added to my cart.
Given I select "Checkout" and my cart has items Then the chat walks me through the full checkout flow:
Given I select "Checkout" and my cart is empty Then the message "Your cart is empty" is displayed.
Given I select "Support" Then the chat prompts me for subject, message (min 50 chars), and optional file attachment (.txt) And if not logged in, also asks for first name, last name, and email And on submission, a confirmation is displayed.