/* Loopyard: bold sticker shop. Cream paper, ink outlines, hard offset shadows, one hot orange. */
:root {
  color-scheme: light;
  --bg: #f3efe6; --surface: #fffdf8; --surface-2: #f8f3e7;
  --line: #121212; --line-soft: #e2dccc; --line-strong: #121212;
  --text: #121212; --muted: #5d5a52; --dim: #8b867a;
  --accent: #ff5a1f; --accent-dk: #e24512; --accent-hover: #ff7340; --on-accent: #121212;
  --link: #d2400d; --ok: #00794f; --warn: #b06a00; --err: #c2273b;
  --header-bg: #f3efe6; --glow: rgba(18,18,18,.14);
  --bg-glow-1: rgba(255,90,31,.10); --bg-glow-2: rgba(255,210,63,.10);
  --notice-ok-fg: #00432c; --notice-err-fg: #7d1223; --notice-info-fg: #3b2a00;
  --danger: #c2273b; --danger-hover: #d8394f;
  --radius: 18px; --max: 1200px;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
body { background-image: none; }
h1, h2, h3, .brand, .price { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; }

/* Header: flat paper with a hard rule */
.site-header { background: var(--bg); backdrop-filter: none; border-bottom: 2px solid #121212; }
.site-header .inner { min-height: 74px; }
.brand { font-size: 23px; }
.brand::before { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2px solid #121212; box-shadow: none; }
.nav { font-weight: 600; }
.nav a { color: #121212; }
.cart-pill { background: var(--surface); border: 2px solid #121212; font-weight: 700; }

/* Hero */
.hero { max-width: 62ch; padding-block: 76px 30px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 74px); line-height: .97; letter-spacing: -.045em; }
.hero p { color: var(--muted); font-size: 18px; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .18em; color: var(--accent-dk); }

/* Accent rule under the hero */
.hero::after { content: ""; display: block; width: 88px; height: 8px; margin-top: 26px; background: var(--accent); border-radius: 4px; }

/* Grid + cards: sticker cards with offset shadow */
.grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.card {
  background: var(--surface); border: 2px solid #121212; border-radius: 18px;
  box-shadow: 5px 5px 0 #121212; transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #121212; border-color: #121212; }
.card .cover { aspect-ratio: 1 / 1; border-bottom: 2px solid #121212; }
.card .body { padding: 15px 16px 17px; gap: 8px; }
.card h3 { font-size: 19px; }
.card h3 a { color: #121212; }
.card h3 a:hover { color: var(--accent-dk); }
.card .desc { font-size: 13.5px; color: var(--muted); }
.genre-tag { border: 1.5px solid #121212; border-radius: 999px; color: #121212; font-weight: 700; }
.price { font-size: 22px; }

/* Buttons: chunky */
.btn { border-radius: 10px; border: 2px solid #121212; box-shadow: 3px 3px 0 #121212; font-weight: 800; font-family: var(--font); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #121212; background: var(--accent-hover); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #121212; }
.btn.ghost { background: var(--surface); box-shadow: 3px 3px 0 #121212; }
.btn.sm { padding: 8px 14px; font-size: 13px; }

/* Browse bar */
.browse .search input { background: var(--surface); border: 2px solid #121212; font-weight: 500; }
.browse .search input:focus { box-shadow: 0 0 0 3px rgba(255,90,31,.3); border-color: #121212; }
.pill { border: 2px solid #121212; background: var(--surface); font-weight: 700; color: #121212; }
.pill:hover { background: var(--surface-2); border-color: #121212; }
.pill[aria-pressed="true"] { background: var(--accent); color: #121212; border-color: #121212; }

/* Product page */
.prod-split { gap: 34px; }
.panel { border: 2px solid #121212; border-radius: 18px; box-shadow: 5px 5px 0 #121212; }
.notice { border-width: 2px; border-left-width: 5px; border-radius: 10px; }
.site-footer { border-top: 2px solid #121212; color: var(--muted); }


/* Layout rules the base stylesheet relies on (kept here because theme.css replaces the originals). */
.genre-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card[hidden] { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.browse { display: flex; flex-direction: column; gap: 14px; padding-bottom: 22px; }
.browse .count { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .pill { white-space: nowrap; }
}

/* Browse bar: search field and pill counts (base rules that theme.css had replaced). */
.browse .search { position: relative; max-width: 520px; }
.browse .search input { width: 100%; padding: 13px 18px 13px 46px; font-family: var(--font); font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--text); }
.browse .search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.pill { padding: 9px 18px; font-family: var(--font); font-size: 14px; line-height: 1; cursor: pointer; }
.pill .n { opacity: .55; font-weight: 500; margin-left: 6px; }
.eyebrow { display: block; margin-bottom: 18px; }
.browse .search input { border-radius: 999px; }

/* Eyebrow: base .hero p rule would override a bare .eyebrow rule, so scope it. */
.hero .eyebrow { margin: 0 0 18px; color: var(--accent-dk); }

/* UX pass: sticky footer, genre tag padding, tidy description spacing. */
html, body { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; margin-bottom: 44px; }
.site-footer { margin-top: auto; }
.genre-tag { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.desc-body p { margin: 0 0 10px; }
.desc-body p:last-child { margin-bottom: 0; }

/* Cover art carries its own frame; crop it so it does not double the card outline. */
.cover > img { transform: scale(1.05); }

/* Mobile polish: tighter eyebrow tracking so it does not orphan a word; smaller delivery filename. */
@media (max-width: 560px) {
  .hero .eyebrow { letter-spacing: .1em; font-size: 11px; }
  .prod-split .mono { font-size: 11.5px; }
}

/* Review fixes */
.hero .eyebrow { color: #b8380a; }
.pill { border-radius: 999px; }
.pill[aria-pressed="true"] .n { opacity: .8; }
