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