EF
EF Design System

Shop Page

The shop page uses segment tabs to filter products by audience (B2C consumers, mental health practitioners, clinics). Product cards display with optional revenue badges.

Segment Tabs + Grid

Best Seller
Product Image
DBT Skills Workbook
$47
View Details
Product Image
Hypnotherapy Audio Pack
$29
View Details
New
Product Image
Anxiety Management Guide
$19
View Details

Page Sections

Page HeroCentered page-hero with category description
Segment Tabs3 tabs: B2C, MHP, Clinic — green active state
Product Gridgrid-3 with product cards, responsive to grid-2 and 1-col
Revenue BadgesAbsolute-positioned pill badges on cards
Sort/FilterOptional price/category filters above grid

CSS

css
/* Shop Page Layout */
.shop-page {
  /* 1. Page Hero */
  /* 2. Segment Tabs (B2C / MHP / Clinic) */
  /* 3. Product Card Grid */
}

/* Segment Tabs */
.segment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.segment-tab {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.segment-tab.active {
  background: linear-gradient(135deg, #1db954, #4caf50);
  color: #fff;
  border-color: transparent;
}

/* Revenue Badge */
.revenue-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(191,90,242,0.1);
  color: #1db954;
  font-size: 11px;
  font-weight: 600;
}