/* ── Jimbo's Gym Bro ──────────────────────────────────────────
   Clean layout, cartoon energy: thick ink outlines, hard sticker
   shadows, bright pop palette, halftone dots. No stock muscle men. */

:root {
  --bg:      #fff6ea;
  --paper:   #ffffff;
  --ink:     #171512;
  --muted:   #6f665c;
  --line:    #171512;

  --orange:  #ff6b35;
  --yellow:  #ffd23f;
  --red:     #ff3b3b;
  --blue:    #2ec4ff;
  --purple:  #7c5cff;
  --green:   #35c26b;

  --radius:  16px;
  --shadow:  4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(var(--ink) 1.1px, transparent 1.2px),
    radial-gradient(var(--ink) 1.1px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  background-attachment: fixed;
  /* fade the halftone so it's a whisper, not a headache */
  box-shadow: inset 0 0 0 2000px rgba(255, 246, 234, 0.86);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 22px 20px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(20px, 4vw, 27px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.brand-badge {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
  font-size: 22px;
}
.brand .wordmark { color: var(--ink); }
.brand .hl { color: var(--orange); }

.mascot {
  display: block;
  width: min(260px, 72vw);
  height: auto;
  margin: 6px auto 4px;
}

.tagline {
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 6px auto 14px;
  font-weight: 900;
  max-width: 15ch;
}
.sub {
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 18px);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.55;
  font-weight: 500;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 700;
}
.pill b { color: var(--orange); }

/* ── category nav (sticky chips) ──────────────────────────── */
.filters {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 22px;
  max-width: 1200px;
  margin: 8px auto 0;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  text-decoration: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 9px 16px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-lg); }
.chip.active { background: var(--orange); color: #fff; }

/* ── layout ───────────────────────────────────────────────── */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 22px 20px;
}
.section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  margin: 30px 0 16px;
  display: inline-block;
  padding: 2px 10px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.section-title a { color: inherit; text-decoration: none; }

.section-blurb {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  margin: 10px 0 16px;
  max-width: 640px;
}

/* category tiles */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 12px;
  text-align: center;
  transition: transform .1s ease, box-shadow .1s ease;
}
.tile:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.tile-emoji { font-size: 34px; }
.tile-label { font-weight: 800; font-size: 15px; }
.tile-count { font-size: 12px; color: var(--muted); font-weight: 700; }

/* trending list cards (deep-links into Amazon's live lists) */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.trend-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: transform .1s ease, box-shadow .1s ease;
}
.trend-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.trend-emoji {
  font-size: 30px;
  flex: 0 0 auto;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 3px 3px 0 var(--ink);
}
.trend-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.trend-label { font-weight: 800; font-size: 16px; }
.trend-blurb { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.4; margin-top: 2px; }
.trend-go { font-weight: 800; font-size: 12px; color: var(--orange); white-space: nowrap; flex: 0 0 auto; }

/* product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  transition: transform .1s ease, box-shadow .1s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.flag {
  position: absolute;
  top: -12px; right: 12px;
  background: var(--red);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(4deg);
}
.card .emoji {
  font-size: 46px;
  line-height: 1;
  margin: 4px 0 10px;
  align-self: flex-start;
  background: var(--bg);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: var(--shadow);
}
.card .cat {
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.card h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 800;
}
.blurb {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 500;
  flex: 1;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price {
  font-weight: 900;
  font-size: 16px;
}
.buy {
  text-decoration: none;
  background: var(--orange);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 14px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.buy:hover { background: var(--red); transform: translate(-1px, -1px); box-shadow: var(--shadow-lg); }
.buy:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* category page bits */
.hero-cat { padding-top: 30px; }
.breadcrumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb span { margin: 0 4px; }

/* ── footer ───────────────────────────────────────────────── */
.foot {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 22px;
  text-align: center;
  border-top: 3px dashed var(--ink);
}
.disclosure {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 8px auto;
  font-weight: 500;
}
.foot .links { font-weight: 800; font-size: 14px; }
.foot .links a { color: var(--orange); text-decoration: none; }
.fineprint { font-size: 12px; color: var(--muted); margin-top: 10px; font-weight: 700; }

@media (max-width: 600px) {
  .hero { padding-top: 28px; }
  .grid { grid-template-columns: 1fr; }
}
