# Costco DESIGN.md

> Public preview. The complete DESIGN.md source (all 80 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Costco.com's retail design language — a Material (MUI) foundation under a warehouse-store identity of Costco blue utility bars, the red logo accent, dense promotional cards with soft shadows, and a strictly functional typographic hierarchy in Costco Sans Web.

- Website: https://costco.com
- Primary color: Blue `#005DAB`
- Fonts: Costco Sans Web
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/costco

## Palette preview

- `outline`: `#cccccc`
- `primary`: `#005dab`
- `surface`: `#ffffff`
- `tertiary`: `#008000`
- `secondary`: `#e51937`
- `on-primary`: `#ffffff`
- `on-surface`: `#333333`
- `on-tertiary`: `#ffffff`

## Typography preview

- `body-md`: Costco Sans Web
- `label-md`: Costco Sans Web

---

## Overview

Costco.com is a working warehouse-store interface: stacked utility bars, a dense mega-nav, and walls of promotional cards. There is no aspirational hero — the top of the page is a thin blue campaign strip ("Early Black Friday Furniture Savings"), a row of quick links, the red COSTCO WHOLESALE logo beside a full-width search box, then a solid `#005DAB` category nav. Everything below is merchandising: promo tiles, carousels, and product grids.

The identity is pragmatic retail — Costco blue for all chrome and actions, the logo's red reserved for brand and savings badges, green appearing only inside seasonal promo tiles. Underneath, the front end runs on Material UI: 4px spacing scale, 3–10px radii, standard MUI elevation shadows, and Material's `cubic-bezier(0.4,0,0.2,1)` motion — a pragmatic component-library system wearing a warehouse brand.

## Colors

- **Costco Blue / Primary (#005DAB):** All functional color — the promo strip, main nav bar, filled buttons, header links ("Sign In / Register", "Orders & Returns"), cart icon. White text on it everywhere.
- **Costco Red / Secondary (#E51937):** Brand logo and savings/sale badges only — kept out of general UI so it retains "deal" energy.
- **Promo Green / Tertiary (#008000 + #7CD293):** Seasonal campaign colors inside promo tiles ("HOLIDAY SAVINGS", "WHILE SUPPLIES LAST") — campaign skin, not system chrome.
- **White & Soft Grey (#FFFFFF / #FAFAFA / #EFF7FB):** Card surfaces and banding; `#EFF7FB` tints promotional rows.
- **Ink (#333333 / #000000 / #5F5F5F / #707070):** Dense text hierarchy — titles in #333, metadata in mid-greys, true black for strongest emphasis.
- **Deep Slate / Inverse (#1A2C38):** Darkest bands and footer areas.

## Typography

A single variable font, **Costco Sans Web** (100–900, Segoe UI/Roboto fallbacks), covers everything — no serif, no mono.

- **Headline:** 32px bold for page-level titles; product/promo emphasis hits 24px bold.
- **Section heads:** 18–24px regular in `#333` — intentionally quiet so promo imagery can shout instead.
- **Body & links:** 16px regular; nav items and header links are 14–16px.
- **Meta:** 12–14px for prices' secondary text, disclaimers, and labels ("Online Price").
- **Price display:** 24px bold — the loudest recurring text element on product cards.

## Layout

- **Four stacked bars:** (1) thin blue promo strip, (2) text link row (While Supplies Last · Online-Only · Treasure Hunt · Customer Service · locale), (3) white header — red logo, wide search field, Sign In / Orders / Cart, (4) solid blue category nav with "☰ Shop" mega-menu and department links (Grocery, Same Day, Savings, Optical, Pharmacy, Travel, Membership, Locations).
- A location strip sits under the nav: "My Warehouse — Inglewood", "Delivery Location — 90011", "Lists | Buy Again" — warehouse context is persistent chrome.
- Content is a fluid promo-card grid to ~1440px; carousels get circular white arrow buttons with a 5px ambient shadow.
- Spacing follows MUI's 4px scale: 8/12/16/24/48/64px steps, 16px card gutters.

## Elevation & Depth

Standard Material elevation: cards and floating controls carry a soft `0 0 5px rgba(0,0,0,0.3)` ambient shadow; interactive lift follows the MUI elevation scale. No deep or colored shadows — depth is strictly functional layering (cards above page, carousel arrows above cards, modal above all).

## Shapes

- **Buttons/inputs:** Nearly square — 3px radius, 40px tall fields and buttons.
- **Promo cards:** 8–10px radius, often with rounded tops only (`10px 10px 0 0`).
- **Circular controls:** Carousel arrows and icon buttons are true circles (50%).
- The Costco logo block and price tickets stay hard-edged.

## Motion & Micro-interaction

Material motion verbatim: `background-color/border-color/box-shadow` at 150–250ms on `cubic-bezier(0.4,0,0.2,1)` (standard easing), icon fills at 200ms. Hovers raise card shadows a step and darken link color; carousels slide rather than fade. Nothing animates for decoration — all motion is state feedback.

## Voice & Content Strategy

- **Tone:** Deal-driven retail shorthand — "SAVE $300-600 ON SELECT WINDOWS PCs", "While Supplies Last", "Treasure Hunt". Urgency and price lead; brand voice is the warehouse's own no-frills promise.
- **Capitalization:** Promo headlines SHOUT in all-caps inside tiles; nav and UI copy use title/sentence case ("Sign In / Register", "Orders & Returns").
- **Button grammar:** Transactional — "Sign Up", "No Thanks", "Search". Links name destinations, not actions ("Lists", "Buy Again", "Membership").
- **Membership framing:** Copy constantly references the member relationship ("member-only", "Executive Member hours", "Membership Number") — the club is the brand's grammar.

## Components

- **Primary button:** `#005DAB` fill, white 14px label, 3px radius, ~40px tall ("Sign Up" in the email modal).
- **Header links:** Blue 14px text links — Sign In / Register, Orders & Returns — with cart icon + "Cart" label.
- **Category nav:** Solid blue bar, white 16px items, 44px hit areas; "Shop" gets a hamburger glyph.
- **Search field:** Full-width white input, square edges, blue magnifier button; placeholder "Search Costco".
- **Promo card:** Rounded-top tile (10px) with campaign art + all-caps headline, soft ambient shadow.
- **Carousel arrow:** 36px white circle with 5px black-30% shadow, grey glyph.
- **Savings badge:** Red `#E51937` block for member savings markers.
- **Email modal:** White card — bold headline, body copy, labelled inputs (Email Address, Membership Number optional), blue primary button + "No Thanks" ghost link, privacy link.

## Do's and Don'ts

- Do keep Costco blue for all chrome and actions; the page should read "blue interface, red brand."
- Don't use the red for buttons or links — red means logo or savings only.
- Do keep corners tight (3px on controls, ≤10px on cards) — this is a utility interface, not a lifestyle site.
- Don't strip the location strip; warehouse + delivery ZIP context is core to the layout.
- Do use all-caps headlines only inside promo tiles, never in UI chrome or body copy.
- Don't introduce a second typeface — Costco Sans Web covers every level.
- Do keep shadows subtle and functional (MUI scale); don't create dramatic hero depth.
- Do keep price text bold and prominent — deals are the content.
