Global chrome
The header you're looking at is the live component — scroll, resize, open the cart. Everything below documents its states, anatomy and mobile twins. This markup becomes the storefront layout partial; no page may fork it.
Header anatomy
Two rows on desktop: identity + search + account, then categories. One row on mobile with a drawer for everything else. Search is the widest element on desktop — discovery is the job.
- 1Announcement bar — dark green, 3 rotating messages (5s), dismissible once per session. Amber reserved for the value word. Height 38px; when dismissed, the sticky offset collapses.
- 2Logo — 34px mark + Fraunces wordmark + “Australia” subline. Never scales down below 28px; on mobile the subline drops.
- 3Search — pill, max 544px, suggestions panel on 2+ chars (products, categories, recent searches). Enter goes to results; Escape closes.
- 4Account — signed out: sign-in menu with create-account + guest order tracking (guests must never hit a login wall to track). Signed in: avatar, name, dashboard menu.
- 5Wishlist & cart — icon + label on desktop, badge counts in red (action) — cart badge bumps with a spring pop on add.
- 6Category row — 7 categories + Sale in red; mega menu for the two deepest trees; right side carries track-order + help for reassurance.
- 7Scroll behaviour — past 8px the header gains an sm shadow; the announce bar scrolls away while the header stays.
- a56px row; five 44px+ targets; search opens a full-width row that pushes content (no overlay trap).
- bHamburger opens the nav drawer from the left; cart opens from the right — direction = destination.
- cNo category row on mobile: categories live in the drawer + bottom nav “Shop”.
Search with suggestions
Three groups max: matching products (thumb + price), categories, recent searches. Keyboard: arrows move the highlight, Enter opens, Escape closes and returns focus.
Mobile nav drawer & cart drawer
The nav drawer leads with identity (sign-in or avatar), then categories with accordions, then utility links. The cart drawer is a miniature checkout: line items with quantity, coupon teaser, subtotal, checkout CTA — the user should never need the full cart page to buy.
Trust bar, newsletter & cookie notice
Trust is infrastructure in Australian e-commerce: delivery promise, returns promise, payment safety and local support appear on every page, above the footer.
- 1Appears after 1.5s, once per session, never on checkout (distraction = abandoned carts).
- 2Three honest actions — accept, essential-only, manage. No dark pattern where “reject” is a text link.
- 3Sits above the bottom nav on mobile; xl shadow; dismisses on any choice or after 20s with essential-only.
- 4Newsletter validates inline, swaps to a success state with the email echoed — no page reload.