/* ── Category landing pages (e.g. /thrift-stores-san-diego.html) ── */

/* Breadcrumb (duplicated from listing.css since cat pages use their own stylesheet) */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #9a7860);
  margin: 20px 0 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink, #2e1a0e); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--muted, #9a7860); font-size: 14px; }

/* ── Hero ── */
.cat-hero {
  max-width: 680px;
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--line, #e8dfd4);
}

.cat-h1 {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 900;
  color: var(--ink, #2e1a0e);
  margin: 0 0 10px;
  line-height: 1.15;
  font-family: 'Courier New', Courier, monospace;
}

.cat-count-badge {
  display: inline-block;
  background: #ede8ff;
  border: 1.5px solid #c4b5fd;
  color: #4c1d95;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.cat-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink, #2e1a0e);
  margin: 0;
  max-width: 620px;
}

/* ── Cards grid ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--cream, #f4efe8);
  border: 2px solid #5A3A28;
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: 4px 4px 0 #5A3A28;
  text-decoration: none;
  transition: box-shadow 0.12s, transform 0.12s;
}
.cat-card:hover {
  box-shadow: 6px 6px 0 #5A3A28;
  transform: translate(-1px, -1px);
}

.cat-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.cat-card-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink, #2e1a0e);
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.3;
  flex: 1;
}

.cat-card-area {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #9a7860);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

.cat-card-desc {
  font-size: 12.5px;
  color: var(--ink, #2e1a0e);
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}

.cat-card-addr {
  font-size: 12px;
  color: var(--muted, #9a7860);
  margin: 0;
  font-weight: 500;
}

.cat-card-hours {
  font-size: 12px;
  color: var(--muted, #9a7860);
  margin: 0;
  font-weight: 500;
}

.cat-card-cta {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple, #6c3fa0);
  margin-top: auto;
  padding-top: 6px;
}

/* ── Footer note ── */
.cat-footer-note {
  font-size: 13px;
  color: var(--muted, #9a7860);
  margin: 0 0 56px;
}
.cat-footer-note a {
  color: var(--purple, #6c3fa0);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cat-footer-note a:hover { color: var(--ink, #2e1a0e); }

/* ── Related pages section ── */
.cat-related {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: #fdf8f3;
  border: 2px solid var(--line, #e8dfd4);
}
.cat-related-hd {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted, #9a7860);
  margin: 0 0 12px;
}
.cat-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-related-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple, #6c3fa0);
  background: #fff;
  border: 1.5px solid #c4b5fd;
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
  box-shadow: 2px 2px 0 #c4b5fd;
  transition: box-shadow 0.1s;
}
.cat-related-link:hover {
  box-shadow: none;
  background: #ede8ff;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .cat-h1 { font-size: 22px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { box-shadow: 3px 3px 0 #5A3A28; }
}
