﻿/* indie-shelf — itch-like light store tokens */
:root {
  --brand: #fa5c5c;
  --brand-hover: #e14b4b;
  --brand-soft: #fff0f0;
  --bg: #ffffff;
  --page: #f4f4f4;
  --rail: #f4f4f4;
  --surface: #ffffff;
  --text: #222222;
  --muted: #666666;
  --faint: #888888;
  --border: #dedede;
  --border-strong: #c8c8c8;
  --featured-bg: #2b2b2b;
  --featured-text: #f2f2f2;
  --promo-bg: #3d4a5c;
  --sidebar-w: 220px;
  --header-h: 48px;
  --page-pad: 1.25rem;
  --sidebar-gap: 1.25rem;
  --content-left: calc(var(--page-pad) + var(--sidebar-w) + var(--sidebar-gap));
  --radius: 2px;
  --font: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }

button, input, select { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-3);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

p { margin: 0 0 var(--space-3); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shelf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.shelf-btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
  text-decoration: none;
}

.shelf-btn--sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}

.shelf-btn--ghost {
  background: transparent;
  color: var(--brand);
}

.shelf-empty {
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--border);
  background: var(--page);
}

.shelf-lead { color: var(--muted); max-width: 40rem; }

.shelf-prose { max-width: 42rem; }
.shelf-prose img {
  margin: var(--space-4) 0;
  border: 1px solid var(--border);
}
.shelf-prose a { text-decoration: underline; }

.shelf-reading { max-width: 44rem; }

.shelf-hash {
  color: var(--muted);
  font-size: 0.78rem;
  margin-right: 0.35rem;
}
.shelf-hash::before { content: none; }

.shelf-price-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background: #444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-transform: uppercase;
}
