Gumroad Neo-Brutalist Commerce
Punchy creator storefront with 2px solid black borders, hard offset shadows, and bubblegum-pink color blocking.
Inspired by Gumroad ↗
WHY THIS AESTHETIC IS UNIQUE
Makes neo-brutalism genuinely joyful and usable: razor-sharp 2px black outlines, unblurred 4px offset shadows that depress on click, playful pastel-neon color blocks, and tactile price tags.
BEST FOR
TAGS
COLOR PALETTE (CLICK TO COPY HEX)
TYPOGRAPHY
- Display
- Space Grotesk, -apple-system, sans-serif
- Body
- Plus Jakarta Sans, -apple-system, sans-serif
- Mono
- Space Mono, ui-monospace, monospace
- Scale
- Chunky geometric grotesk headings paired with crisp bold body labels and monospace price-tag stickers.
ARCHITECTURE & MOBILE NOTES
LAYOUT
Full-bleed 2px-bordered navigation bar, split color-blocked hero, pill category strip, 3-column creator product grid with hard offset shadows, and a slide-over neo-brutalist cart drawer.
INTERACTION
Tactile translate(-2px, -2px) hover lift and active shadow-collapse press states, working category filters, and a live shopping cart drawer with add, remove, and subtotal calculation.
MOBILE
Full-width stacked product cards with >=44px action buttons and a full-height slide-over cart sheet that fits 390px screens with zero horizontal overflow.
AI AGENT GUARDRAILS
DO
- Use crisp 2px solid #000000 borders and unblurred hard shadows (4px 4px 0 #000000)
- Pair high-energy spot fills (pink, canary, mint) with generous off-white canvas
- Animate buttons physically into their shadow on hover/active states
DON'T
- Do not use soft blurred CSS box-shadows or translucent glass backgrounds
- Do not omit black outlines on primary cards or price tags
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PRESSBOX — Independent Digital Goods & Creator Shop</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--canvas: #F4F4F0;
--surface: #FFFFFF;
--ink: #000000;
--pink: #FF90E8;
--canary: #FFC900;
--mint: #23A094;
--muted: #5C5C56;
--border: 2px solid #000000;
--shadow-sm: 3px 3px 0 #000000;
--shadow: 4px 4px 0 #000000;
--shadow-lg: 6px 6px 0 #000000;
--font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
background-color: var(--canvas);
color: var(--ink);
font-family: var(--font-sans);
line-height: 1.45;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
a {
color: inherit;
text-decoration: none;
}
button {
font-family: inherit;
cursor: pointer;
color: var(--ink);
}
/* Top Announcement Strip */
.marquee-bar {
background: var(--ink);
color: var(--canary);
font-family: var(--font-mono);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 0.55rem 1rem;
text-align: center;
border-bottom: var(--border);
}
/* Header */
.site-header {
position: sticky;
top: 0;
z-index: 40;
background: var(--surface);
border-bottom: var(--border);
}
.header-inner {
max-width: 1240px;
margin: 0 auto;
padding: 0.75rem 1.25rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.brand {
display: inline-flex;
align-items: center;
gap: 0.6rem;
font-weight: 700;
font-size: 1.35rem;
letter-spacing: -0.03em;
}
.brand-mark {
width: 34px;
height: 34px;
background: var(--pink);
border: var(--border);
box-shadow: var(--shadow-sm);
display: grid;
place-items: center;
font-family: var(--font-mono);
font-size: 1rem;
font-weight: 700;
}
.desktop-nav {
display: flex;
align-items: center;
gap: 1.5rem;
font-weight: 700;
font-size: 0.95rem;
}
.desktop-nav a {
padding: 0.25rem 0;
border-bottom: 2px solid transparent;
}
.desktop-nav a:hover {
border-bottom-color: var(--ink);
}
.header-actions {
display: flex;
align-items: center;
gap: 0.65rem;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
min-height: 44px;
padding: 0.6rem 1.1rem;
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow);
font-weight: 700;
font-size: 0.92rem;
transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease;
}
.btn:hover {
transform: translate(-1px, -1px);
box-shadow: 5px 5px 0 #000000;
}
.btn:active {
transform: translate(2px, 2px);
box-shadow: 2px 2px 0 #000000;
}
.btn-pink {
background: var(--pink);
}
.btn-canary {
background: var(--canary);
}
.btn-mint {
background: var(--mint);
color: var(--surface);
}
.btn-ink {
background: var(--ink);
color: var(--surface);
}
.cart-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
height: 24px;
padding: 0 0.35rem;
background: var(--ink);
color: var(--canary);
font-family: var(--font-mono);
font-size: 0.8rem;
border-radius: 999px;
}
.menu-toggle {
display: none;
min-width: 44px;
min-height: 44px;
padding: 0;
}
/* Mobile Nav Drawer */
.mobile-nav {
display: none;
background: var(--canary);
border-bottom: var(--border);
padding: 1rem 1.25rem;
flex-direction: column;
gap: 0.5rem;
}
.mobile-nav.open {
display: flex;
}
.mobile-nav a {
display: flex;
align-items: center;
min-height: 44px;
padding: 0.5rem 0.75rem;
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow-sm);
font-weight: 700;
}
/* Color-Blocked Hero */
.hero {
border-bottom: var(--border);
background: var(--pink);
}
.hero-grid {
max-width: 1240px;
margin: 0 auto;
display: grid;
grid-template-columns: 1.25fr 0.95fr;
}
.hero-copy {
padding: 3.5rem 2rem 3.5rem 1.25rem;
border-right: var(--border);
display: flex;
flex-direction: column;
justify-content: center;
gap: 1.25rem;
}
.hero-kicker {
display: inline-flex;
align-self: flex-start;
padding: 0.3rem 0.75rem;
background: var(--canary);
border: var(--border);
box-shadow: var(--shadow-sm);
font-family: var(--font-mono);
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
}
.hero h1 {
margin: 0;
font-size: clamp(2.2rem, 5vw, 3.85rem);
line-height: 1.02;
letter-spacing: -0.04em;
}
.hero p {
margin: 0;
font-size: 1.12rem;
max-width: 52ch;
}
.hero-ctas {
display: flex;
flex-wrap: wrap;
gap: 0.85rem;
margin-top: 0.5rem;
}
.hero-visual {
background: var(--canary);
padding: 2.5rem 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.25rem;
position: relative;
}
.hero-card-mock {
width: 100%;
max-width: 380px;
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow-lg);
padding: 1rem;
}
.hero-card-mock svg {
display: block;
width: 100%;
height: auto;
border: var(--border);
background: var(--canvas);
}
.hero-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 0.85rem;
font-weight: 700;
}
.price-pill {
display: inline-block;
padding: 0.25rem 0.65rem;
background: var(--pink);
border: var(--border);
font-family: var(--font-mono);
font-size: 0.9rem;
font-weight: 700;
}
/* Stats Strip */
.stats-strip {
background: var(--surface);
border-bottom: var(--border);
}
.stats-inner {
max-width: 1240px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.stat-cell {
padding: 1.25rem 1.5rem;
border-right: var(--border);
}
.stat-cell:last-child {
border-right: none;
}
.stat-val {
font-size: 1.6rem;
font-weight: 700;
font-family: var(--font-mono);
}
.stat-label {
font-size: 0.88rem;
color: var(--muted);
font-weight: 500;
}
/* Catalog Section */
.catalog-wrap {
max-width: 1240px;
margin: 0 auto;
padding: 2.75rem 1.25rem 4rem;
}
.catalog-head {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1.5rem;
}
.catalog-head h2 {
margin: 0;
font-size: clamp(1.6rem, 3vw, 2.25rem);
letter-spacing: -0.03em;
}
.catalog-count {
font-family: var(--font-mono);
font-size: 0.88rem;
color: var(--muted);
}
.filter-bar {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-bottom: 2rem;
}
.filter-pill {
min-height: 44px;
padding: 0.5rem 1rem;
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow-sm);
font-weight: 700;
font-size: 0.9rem;
border-radius: 999px;
transition: transform 0.08s ease, background-color 0.1s ease;
}
.filter-pill:hover {
background: var(--canary);
}
.filter-pill.active {
background: var(--ink);
color: var(--surface);
transform: translate(1px, 1px);
box-shadow: 2px 2px 0 #000000;
}
/* Product Grid */
.product-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.5rem;
}
.product-card {
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.product-card:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0 #000000;
}
.product-cover {
border-bottom: var(--border);
aspect-ratio: 16 / 10;
overflow: hidden;
background: var(--canvas);
position: relative;
}
.product-cover svg {
width: 100%;
height: 100%;
display: block;
}
.cover-tag {
position: absolute;
top: 0.65rem;
left: 0.65rem;
padding: 0.2rem 0.55rem;
background: var(--surface);
border: var(--border);
font-family: var(--font-mono);
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
}
.product-body {
padding: 1.15rem;
display: flex;
flex-direction: column;
flex: 1;
gap: 0.6rem;
}
.product-title {
margin: 0;
font-size: 1.15rem;
line-height: 1.25;
}
.product-creator {
display: flex;
align-items: center;
gap: 0.45rem;
font-size: 0.88rem;
color: var(--muted);
font-weight: 500;
}
.avatar-dot {
width: 22px;
height: 22px;
border-radius: 50%;
border: 1.5px solid #000;
display: inline-grid;
place-items: center;
font-size: 0.68rem;
font-weight: 700;
color: #000;
flex-shrink: 0;
}
.product-desc {
margin: 0;
font-size: 0.9rem;
color: var(--muted);
flex: 1;
}
.product-foot {
margin-top: 0.75rem;
padding-top: 0.85rem;
border-top: var(--border);
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
}
.rating {
font-family: var(--font-mono);
font-size: 0.82rem;
font-weight: 700;
}
.price-and-add {
display: flex;
align-items: center;
gap: 0.5rem;
}
.add-btn {
min-height: 44px;
padding: 0.45rem 0.85rem;
background: var(--canary);
border: var(--border);
box-shadow: 3px 3px 0 #000;
font-weight: 700;
font-size: 0.86rem;
}
.add-btn:hover {
background: var(--pink);
}
.add-btn.added {
background: var(--mint);
color: var(--surface);
}
/* Creator Callout Banner */
.callout {
margin-top: 3.5rem;
background: var(--mint);
color: var(--surface);
border: var(--border);
box-shadow: var(--shadow-lg);
padding: 2rem;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
}
.callout h3 {
margin: 0 0 0.35rem;
font-size: 1.6rem;
letter-spacing: -0.02em;
}
.callout p {
margin: 0;
max-width: 56ch;
opacity: 0.95;
}
/* Slide-over Cart Drawer */
.cart-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 60;
opacity: 0;
pointer-events: none;
transition: opacity 0.18s ease;
}
.cart-backdrop.open {
opacity: 1;
pointer-events: auto;
}
.cart-drawer {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: min(420px, 100vw);
background: var(--canvas);
border-left: var(--border);
z-index: 70;
display: flex;
flex-direction: column;
transform: translateX(100%);
transition: transform 0.2s ease;
}
.cart-drawer.open {
transform: translateX(0);
}
.cart-header {
padding: 1rem 1.25rem;
background: var(--pink);
border-bottom: var(--border);
display: flex;
align-items: center;
justify-content: space-between;
}
.cart-header h2 {
margin: 0;
font-size: 1.25rem;
}
.close-btn {
min-width: 44px;
min-height: 44px;
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow-sm);
font-weight: 700;
font-size: 1.1rem;
}
.cart-items {
flex: 1;
overflow-y: auto;
padding: 1rem 1.25rem;
display: flex;
flex-direction: column;
gap: 0.85rem;
}
.cart-empty {
padding: 2rem 1rem;
text-align: center;
background: var(--surface);
border: var(--border);
color: var(--muted);
}
.cart-row {
background: var(--surface);
border: var(--border);
box-shadow: var(--shadow-sm);
padding: 0.85rem;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 0.75rem;
}
.cart-row-title {
font-weight: 700;
font-size: 0.95rem;
}
.cart-row-sub {
font-size: 0.8rem;
color: var(--muted);
font-family: var(--font-mono);
}
.cart-qty {
display: flex;
align-items: center;
gap: 0.4rem;
margin-top: 0.5rem;
}
.qty-btn {
min-width: 36px;
min-height: 36px;
background: var(--canvas);
border: var(--border);
font-weight: 700;
}
.remove-btn {
min-height: 36px;
padding: 0 0.6rem;
background: var(--surface);
border: var(--border);
font-size: 0.78rem;
font-weight: 700;
}
.cart-footer {
padding: 1.15rem 1.25rem;
background: var(--surface);
border-top: var(--border);
display: flex;
flex-direction: column;
gap: 0.85rem;
}
.cart-total-line {
display: flex;
justify-content: space-between;
font-weight: 700;
font-size: 1.15rem;
}
.checkout-msg {
padding: 0.75rem;
background: var(--canary);
border: var(--border);
font-family: var(--font-mono);
font-size: 0.82rem;
font-weight: 700;
display: none;
}
.checkout-msg.visible {
display: block;
}
/* Footer */
.site-footer {
background: var(--ink);
color: var(--surface);
border-top: var(--border);
padding: 2.25rem 1.25rem;
}
.footer-inner {
max-width: 1240px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 1rem;
font-size: 0.9rem;
}
.footer-links {
display: flex;
flex-wrap: wrap;
gap: 1.25rem;
font-family: var(--font-mono);
font-size: 0.82rem;
}
/* Responsive */
@media (max-width: 960px) {
.hero-grid {
grid-template-columns: 1fr;
}
.hero-copy {
border-right: none;
border-bottom: var(--border);
padding: 2.25rem 1.25rem;
}
.product-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 680px) {
.desktop-nav {
display: none;
}
.menu-toggle {
display: inline-flex;
}
.stats-inner {
grid-template-columns: 1fr;
}
.stat-cell {
border-right: none;
border-bottom: var(--border);
padding: 0.95rem 1.25rem;
}
.stat-cell:last-child {
border-bottom: none;
}
.product-grid {
grid-template-columns: 1fr;
}
.callout {
padding: 1.35rem;
}
.qty-btn, .remove-btn {
min-width: 44px;
min-height: 44px;
}
}
</style>
</head>
<body>
<div class="marquee-bar">Zero monthly fees • Instant DRM-free downloads • 100% independent creators</div>
<header class="site-header">
<div class="header-inner">
<a href="#top" class="brand">
<span class="brand-mark">PB</span>
<span>PRESSBOX</span>
</a>
<nav class="desktop-nav" aria-label="Primary">
<a href="#catalog">Discover</a>
<a href="#catalog" data-quick-cat="Typefaces">Typefaces</a>
<a href="#catalog" data-quick-cat="Zines">Zines</a>
<a href="#sell">Start Selling</a>
</nav>
<div class="header-actions">
<button class="btn btn-pink" id="openCartBtn" type="button" aria-label="Open shopping cart">
<span>Cart</span>
<span class="cart-count" id="cartBadge">0</span>
</button>
<button class="btn menu-toggle" id="menuToggleBtn" type="button" aria-expanded="false" aria-controls="mobileNav" aria-label="Toggle navigation menu">
☰
</button>
</div>
</div>
<nav class="mobile-nav" id="mobileNav" aria-label="Mobile navigation">
<a href="#catalog">Discover All Goods</a>
<a href="#catalog" data-quick-cat="Typefaces">Typefaces & Fonts</a>
<a href="#catalog" data-quick-cat="UI Kits">UI & Icon Kits</a>
<a href="#catalog" data-quick-cat="Zines">Digital Zines</a>
<a href="#sell">Open Your Shop</a>
</nav>
</header>
<main id="top">
<section class="hero">
<div class="hero-grid">
<div class="hero-copy">
<span class="hero-kicker">Creator-Owned Commerce</span>
<h1>Sell weird, useful digital things directly to humans.</h1>
<p>Type foundries, risograph zines, synth patch banks, and handcrafted Figma systems. Buy directly from independent makers with zero algorithmic middlemen.</p>
<div class="hero-ctas">
<a href="#catalog" class="btn btn-ink">Browse the Shelf</a>
<button type="button" class="btn btn-canary" id="heroAddBtn">Add Featured Pack — $24</button>
</div>
</div>
<div class="hero-visual">
<div class="hero-card-mock">
<svg viewBox="0 0 360 210" role="img" aria-label="Featured pack preview: Grotesque Display 04">
<rect width="360" height="210" fill="#F4F4F0"/>
<rect x="16" y="16" width="150" height="178" fill="#FF90E8" stroke="#000" stroke-width="2.5"/>
<rect x="180" y="16" width="164" height="84" fill="#23A094" stroke="#000" stroke-width="2.5"/>
<rect x="180" y="112" width="164" height="82" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<text x="32" y="106" font-family="Space Grotesk, sans-serif" font-size="68" font-weight="700" fill="#000">Aa</text>
<text x="32" y="176" font-family="Space Mono, monospace" font-size="13" font-weight="700" fill="#000">6 WEIGHTS / OTF</text>
<circle cx="222" cy="58" r="22" fill="#FFC900" stroke="#000" stroke-width="2.5"/>
<polygon points="274,34 322,34 298,82" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<text x="196" y="148" font-family="Space Mono, monospace" font-size="14" font-weight="700" fill="#000">STAFF PICK #04</text>
<text x="196" y="174" font-family="Space Grotesk, sans-serif" font-size="15" font-weight="700" fill="#5C5C56">Koma Type Foundry</text>
</svg>
<div class="hero-card-meta">
<span>Koma Grotesk Variable Pack</span>
<span class="price-pill">$24</span>
</div>
</div>
</div>
</div>
</section>
<section class="stats-strip" aria-label="Marketplace statistics">
<div class="stats-inner">
<div class="stat-cell">
<div class="stat-val">$4.8M</div>
<div class="stat-label">Paid directly to makers this quarter</div>
</div>
<div class="stat-cell">
<div class="stat-val">18,420</div>
<div class="stat-label">DRM-free digital packs & zines</div>
</div>
<div class="stat-cell">
<div class="stat-val">95%</div>
<div class="stat-label">Revenue kept by the creator on every sale</div>
</div>
</div>
</section>
<section class="catalog-wrap" id="catalog">
<div class="catalog-head">
<div>
<h2>Fresh off the press</h2>
<div class="catalog-count" id="catalogCount">Showing 6 digital goods</div>
</div>
</div>
<div class="filter-bar" role="tablist" aria-label="Filter products by category">
<button class="filter-pill active" type="button" data-category="All" role="tab" aria-selected="true">All Goods</button>
<button class="filter-pill" type="button" data-category="Typefaces" role="tab" aria-selected="false">Typefaces</button>
<button class="filter-pill" type="button" data-category="UI Kits" role="tab" aria-selected="false">UI Kits</button>
<button class="filter-pill" type="button" data-category="Zines" role="tab" aria-selected="false">Zines</button>
<button class="filter-pill" type="button" data-category="Audio" role="tab" aria-selected="false">Audio</button>
<button class="filter-pill" type="button" data-category="Code" role="tab" aria-selected="false">Code</button>
</div>
<div class="product-grid" id="productGrid"></div>
<div class="callout" id="sell">
<div>
<h3>Have a folder of finished work gathering dust?</h3>
<p>Upload a ZIP, set a fair price (or pay-what-you-want), and share a single link. Payouts land every Friday without gatekeepers.</p>
</div>
<button type="button" class="btn btn-canary" id="openShopBtn">Launch a Shop in 2 Min</button>
</div>
</section>
</main>
<footer class="site-footer">
<div class="footer-inner">
<div><strong>PRESSBOX</strong> — Built for independent makers, not ad networks.</div>
<div class="footer-links">
<a href="#catalog">Catalog</a>
<a href="#sell">Creator Terms</a>
<a href="#top">Back to top ↑</a>
</div>
</div>
</footer>
<!-- Cart Drawer -->
<div class="cart-backdrop" id="cartBackdrop"></div>
<aside class="cart-drawer" id="cartDrawer" aria-label="Shopping cart" aria-hidden="true">
<div class="cart-header">
<h2>Your Bag</h2>
<button type="button" class="close-btn" id="closeCartBtn" aria-label="Close cart">×</button>
</div>
<div class="cart-items" id="cartItems"></div>
<div class="cart-footer">
<div class="cart-total-line">
<span>Total</span>
<span id="cartTotal">$0</span>
</div>
<div class="checkout-msg" id="checkoutMsg" role="status"></div>
<button type="button" class="btn btn-ink" id="checkoutBtn">Complete Instant Download</button>
</div>
</aside>
<script>
(function () {
const PRODUCTS = [
{
id: 'koma-grotesk',
title: 'Koma Grotesk Variable Pack',
creator: 'Koma Type Foundry',
initials: 'KT',
avatarBg: '#FF90E8',
category: 'Typefaces',
price: 24,
rating: '4.9 (142)',
desc: '6-weight neo-grotesque with tabular figures, ink traps, and full Latin Extended glyph set.',
svg: `<svg viewBox="0 0 320 200" aria-hidden="true">
<rect width="320" height="200" fill="#FF90E8"/>
<rect x="18" y="18" width="284" height="164" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<text x="36" y="122" font-family="Space Grotesk, sans-serif" font-size="84" font-weight="700" fill="#000">Kg</text>
<rect x="172" y="38" width="110" height="24" fill="#FFC900" stroke="#000" stroke-width="2"/>
<text x="182" y="55" font-family="Space Mono, monospace" font-size="12" font-weight="700">OTF + WOFF2</text>
<line x1="172" y1="84" x2="282" y2="84" stroke="#000" stroke-width="2.5"/>
<line x1="172" y1="104" x2="258" y2="104" stroke="#000" stroke-width="2.5"/>
<line x1="172" y1="124" x2="270" y2="124" stroke="#000" stroke-width="2.5"/>
<text x="36" y="162" font-family="Space Mono, monospace" font-size="11" fill="#5C5C56">420 GLYPHS / COMMERCIAL</text>
</svg>`
},
{
id: 'brutal-wireframe-kit',
title: 'Blockframe UI Component System',
creator: 'Maren Lindqvist',
initials: 'ML',
avatarBg: '#FFC900',
category: 'UI Kits',
price: 38,
rating: '5.0 (89)',
desc: '180 auto-layout Figma components with crisp 2px borders, hard shadow tokens, and mobile frames.',
svg: `<svg viewBox="0 0 320 200" aria-hidden="true">
<rect width="320" height="200" fill="#FFC900"/>
<rect x="26" y="24" width="128" height="152" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<rect x="38" y="38" width="104" height="28" fill="#23A094" stroke="#000" stroke-width="2"/>
<rect x="38" y="78" width="104" height="18" fill="#F4F4F0" stroke="#000" stroke-width="2"/>
<rect x="38" y="106" width="70" height="18" fill="#F4F4F0" stroke="#000" stroke-width="2"/>
<rect x="38" y="138" width="104" height="24" fill="#FF90E8" stroke="#000" stroke-width="2"/>
<rect x="172" y="24" width="122" height="70" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<circle cx="204" cy="59" r="18" fill="#FF90E8" stroke="#000" stroke-width="2"/>
<rect x="234" y="47" width="46" height="10" fill="#000"/>
<rect x="234" y="65" width="32" height="8" fill="#5C5C56"/>
<rect x="172" y="108" width="122" height="68" fill="#000000"/>
<text x="188" y="148" font-family="Space Mono, monospace" font-size="16" font-weight="700" fill="#FFC900">180+ COMP</text>
</svg>`
},
{
id: 'riso-textures-zine',
title: 'Overprint Almanac Vol. 3 (PDF)',
creator: 'Studio Halftone',
initials: 'SH',
avatarBg: '#23A094',
category: 'Zines',
price: 12,
rating: '4.8 (215)',
desc: '96-page high-resolution risograph print zine plus 40 seamless paper grain and soy-ink halftone plates.',
svg: `<svg viewBox="0 0 320 200" aria-hidden="true">
<rect width="320" height="200" fill="#23A094"/>
<rect x="44" y="18" width="232" height="164" fill="#F4F4F0" stroke="#000" stroke-width="2.5"/>
<circle cx="132" cy="100" r="52" fill="#FF90E8" stroke="#000" stroke-width="2.5"/>
<circle cx="186" cy="100" r="52" fill="#FFC900" fill-opacity="0.82" stroke="#000" stroke-width="2.5"/>
<rect x="64" y="34" width="90" height="20" fill="#000"/>
<text x="72" y="48" font-family="Space Mono, monospace" font-size="11" font-weight="700" fill="#FFF">ISSUE 03</text>
<text x="122" y="168" font-family="Space Mono, monospace" font-size="11" font-weight="700" fill="#000">96 PAGES + 40 PLATES</text>
</svg>`
},
{
id: 'tape-synth-loops',
title: 'Cassette Brutalism — 88 Synth Loops',
creator: 'Kaito Nakamura',
initials: 'KN',
avatarBg: '#FF90E8',
category: 'Audio',
price: 19,
rating: '4.9 (64)',
desc: 'Warm 4-track Tascam tape recordings of modular arps, dusty drum machines, and crunchy basslines.',
svg: `<svg viewBox="0 0 320 200" aria-hidden="true">
<rect width="320" height="200" fill="#F4F4F0"/>
<rect x="28" y="28" width="264" height="144" rx="8" fill="#111" stroke="#000" stroke-width="2.5"/>
<rect x="44" y="44" width="232" height="74" fill="#FFC900" stroke="#000" stroke-width="2"/>
<circle cx="110" cy="81" r="22" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<circle cx="110" cy="81" r="8" fill="#000"/>
<circle cx="210" cy="81" r="22" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<circle cx="210" cy="81" r="8" fill="#000"/>
<rect x="142" y="69" width="36" height="24" fill="#23A094" stroke="#000" stroke-width="2"/>
<text x="52" y="152" font-family="Space Mono, monospace" font-size="13" font-weight="700" fill="#FF90E8">SIDE A // 24-BIT WAV</text>
</svg>`
},
{
id: 'static-shop-starter',
title: 'Zero-Dependency Static Storefront',
creator: 'Devika Rao',
initials: 'DR',
avatarBg: '#FFC900',
category: 'Code',
price: 29,
rating: '4.9 (117)',
desc: 'Vanilla HTML/CSS/JS commerce template with Stripe payment links, keyboard-accessible cart, and RSS.',
svg: `<svg viewBox="0 0 320 200" aria-hidden="true">
<rect width="320" height="200" fill="#FFFFFF"/>
<rect x="20" y="20" width="280" height="160" fill="#1A1A1A" stroke="#000" stroke-width="2.5"/>
<rect x="20" y="20" width="280" height="28" fill="#FF90E8" stroke="#000" stroke-width="2.5"/>
<circle cx="38" cy="34" r="5" fill="#000"/>
<circle cx="54" cy="34" r="5" fill="#000"/>
<circle cx="70" cy="34" r="5" fill="#000"/>
<text x="36" y="82" font-family="Space Mono, monospace" font-size="13" fill="#FFC900"><section class="shop"></text>
<text x="52" y="106" font-family="Space Mono, monospace" font-size="13" fill="#FFFFFF">weight: 14KB gzip</text>
<text x="52" y="130" font-family="Space Mono, monospace" font-size="13" fill="#23A094">deps: 0 packages</text>
<text x="36" y="154" font-family="Space Mono, monospace" font-size="13" fill="#FFC900"></section></text>
</svg>`
},
{
id: 'mono-handbook',
title: 'Field Guide to Small Web Publishing',
creator: 'Toby & Press',
initials: 'TP',
avatarBg: '#23A094',
category: 'Zines',
price: 15,
rating: '5.0 (98)',
desc: 'Illustrated 140-page EPUB + PDF manual on self-hosting, RSS feeds, print-on-demand, and tiny newsletters.',
svg: `<svg viewBox="0 0 320 200" aria-hidden="true">
<rect width="320" height="200" fill="#F4F4F0"/>
<rect x="86" y="16" width="148" height="168" fill="#FFFFFF" stroke="#000" stroke-width="2.5"/>
<rect x="86" y="16" width="22" height="168" fill="#000"/>
<rect x="122" y="34" width="96" height="54" fill="#FFC900" stroke="#000" stroke-width="2"/>
<text x="130" y="56" font-family="Space Grotesk, sans-serif" font-size="15" font-weight="700" fill="#000">SMALL</text>
<text x="130" y="76" font-family="Space Grotesk, sans-serif" font-size="15" font-weight="700" fill="#000">WEB</text>
<rect x="122" y="104" width="96" height="12" fill="#FF90E8" stroke="#000" stroke-width="1.5"/>
<rect x="122" y="126" width="72" height="12" fill="#23A094" stroke="#000" stroke-width="1.5"/>
<text x="122" y="166" font-family="Space Mono, monospace" font-size="10" font-weight="700" fill="#000">EPUB / PDF</text>
</svg>`
}
];
let activeCategory = 'All';
const cart = new Map();
const productGrid = document.getElementById('productGrid');
const catalogCount = document.getElementById('catalogCount');
const filterPills = document.querySelectorAll('.filter-pill');
const cartBadge = document.getElementById('cartBadge');
const cartDrawer = document.getElementById('cartDrawer');
const cartBackdrop = document.getElementById('cartBackdrop');
const cartItemsEl = document.getElementById('cartItems');
const cartTotalEl = document.getElementById('cartTotal');
const checkoutMsg = document.getElementById('checkoutMsg');
const menuToggleBtn = document.getElementById('menuToggleBtn');
const mobileNav = document.getElementById('mobileNav');
function renderProducts() {
const list = activeCategory === 'All'
? PRODUCTS
: PRODUCTS.filter(p => p.category === activeCategory);
catalogCount.textContent = `Showing ${list.length} digital ${list.length === 1 ? 'good' : 'goods'}` +
(activeCategory !== 'All' ? ` in ${activeCategory}` : '');
productGrid.innerHTML = list.map(p => {
const inCart = cart.has(p.id);
return `
<article class="product-card">
<div class="product-cover">
${p.svg}
<span class="cover-tag">${p.category}</span>
</div>
<div class="product-body">
<h3 class="product-title">${p.title}</h3>
<div class="product-creator">
<span class="avatar-dot" style="background:${p.avatarBg}">${p.initials}</span>
<span>${p.creator}</span>
</div>
<p class="product-desc">${p.desc}</p>
<div class="product-foot">
<span class="rating">★ ${p.rating}</span>
<div class="price-and-add">
<span class="price-pill">$${p.price}</span>
<button type="button" class="add-btn ${inCart ? 'added' : ''}" data-add="${p.id}">
${inCart ? 'In Bag +' : 'Add'}
</button>
</div>
</div>
</div>
</article>
`;
}).join('');
}
function renderCart() {
let totalQty = 0;
let totalCost = 0;
cart.forEach(item => {
totalQty += item.qty;
totalCost += item.product.price * item.qty;
});
cartBadge.textContent = String(totalQty);
cartTotalEl.textContent = `$${totalCost}`;
if (cart.size === 0) {
cartItemsEl.innerHTML = `<div class="cart-empty">Your bag is empty. Add a typeface, zine, or audio pack to get started.</div>`;
return;
}
const rows = [];
cart.forEach(({ product, qty }) => {
rows.push(`
<div class="cart-row">
<div>
<div class="cart-row-title">${product.title}</div>
<div class="cart-row-sub">${product.creator} • $${product.price} each</div>
<div class="cart-qty">
<button type="button" class="qty-btn" data-dec="${product.id}" aria-label="Decrease quantity">−</button>
<span style="font-family:var(--font-mono);font-weight:700;min-width:20px;text-align:center;">${qty}</span>
<button type="button" class="qty-btn" data-inc="${product.id}" aria-label="Increase quantity">+</button>
</div>
</div>
<div style="display:flex;flex-direction:column;align-items:flex-end;gap:0.5rem;">
<span class="price-pill">$${product.price * qty}</span>
<button type="button" class="remove-btn" data-rem="${product.id}">Remove</button>
</div>
</div>
`);
});
cartItemsEl.innerHTML = rows.join('');
}
function addToCart(id, openAfter) {
const product = PRODUCTS.find(p => p.id === id);
if (!product) return;
const existing = cart.get(id);
cart.set(id, { product, qty: existing ? existing.qty + 1 : 1 });
checkoutMsg.classList.remove('visible');
renderCart();
renderProducts();
if (openAfter) openCart();
}
function openCart() {
cartDrawer.classList.add('open');
cartBackdrop.classList.add('open');
cartDrawer.setAttribute('aria-hidden', 'false');
}
function closeCart() {
cartDrawer.classList.remove('open');
cartBackdrop.classList.remove('open');
cartDrawer.setAttribute('aria-hidden', 'true');
}
function setCategory(cat) {
activeCategory = cat;
filterPills.forEach(btn => {
const isMatch = btn.dataset.category === cat;
btn.classList.toggle('active', isMatch);
btn.setAttribute('aria-selected', String(isMatch));
});
renderProducts();
}
filterPills.forEach(btn => {
btn.addEventListener('click', () => setCategory(btn.dataset.category));
});
document.querySelectorAll('[data-quick-cat]').forEach(link => {
link.addEventListener('click', () => {
setCategory(link.dataset.quickCat);
mobileNav.classList.remove('open');
menuToggleBtn.setAttribute('aria-expanded', 'false');
});
});
productGrid.addEventListener('click', e => {
const btn = e.target.closest('[data-add]');
if (btn) addToCart(btn.dataset.add, false);
});
cartItemsEl.addEventListener('click', e => {
const inc = e.target.closest('[data-inc]');
const dec = e.target.closest('[data-dec]');
const rem = e.target.closest('[data-rem]');
if (inc) {
addToCart(inc.dataset.inc, false);
} else if (dec) {
const id = dec.dataset.dec;
const item = cart.get(id);
if (item && item.qty > 1) {
item.qty -= 1;
} else {
cart.delete(id);
}
renderCart();
renderProducts();
} else if (rem) {
cart.delete(rem.dataset.rem);
renderCart();
renderProducts();
}
});
document.getElementById('heroAddBtn').addEventListener('click', () => addToCart('koma-grotesk', true));
document.getElementById('openCartBtn').addEventListener('click', openCart);
document.getElementById('closeCartBtn').addEventListener('click', closeCart);
cartBackdrop.addEventListener('click', closeCart);
document.getElementById('checkoutBtn').addEventListener('click', () => {
if (cart.size === 0) {
checkoutMsg.textContent = 'Add at least one digital pack before checking out.';
checkoutMsg.classList.add('visible');
return;
}
let total = 0;
cart.forEach(item => { total += item.product.price * item.qty; });
checkoutMsg.textContent = `Order #PB-${Math.floor(1000 + Math.random() * 9000)} confirmed ($${total}). DRM-free ZIP links dispatched!`;
checkoutMsg.classList.add('visible');
cart.clear();
renderCart();
renderProducts();
});
document.getElementById('openShopBtn').addEventListener('click', () => {
addToCart('static-shop-starter', true);
});
menuToggleBtn.addEventListener('click', () => {
const isOpen = mobileNav.classList.toggle('open');
menuToggleBtn.setAttribute('aria-expanded', String(isOpen));
});
document.addEventListener('keydown', e => {
if (e.key === 'Escape') closeCart();
});
renderProducts();
renderCart();
})();
</script>
</body>
</html>