/* ===== Category landing page ===== */

/* Hero band with category artwork */
.cat-hero {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: var(--s6); align-items: center;
  background: var(--brand-tint);
  border: 1px solid #DDE2F7;
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s8);
  overflow: hidden;
}
.cat-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); font-weight: 700; letter-spacing: .02em;
  color: var(--brand); text-transform: uppercase; margin-bottom: var(--s3);
}
.cat-hero__eyebrow svg { width: 16px; height: 16px; }
.cat-hero__eyebrow { margin-bottom: var(--s2); }
.cat-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--s2); }
.cat-hero p { font-size: var(--text-base); color: var(--ink-2); max-width: 540px; line-height: 1.5; margin-bottom: var(--s4); }
.cat-hero__stats { display: flex; gap: var(--s6); flex-wrap: wrap; }
.cat-hero__stat { display: flex; flex-direction: column; }
.cat-hero__stat strong { font-size: var(--text-xl); color: var(--ink); font-family: var(--font-display); line-height: 1.1; }
.cat-hero__stat span { font-size: var(--text-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.cat-hero__art {
  align-self: center; border-radius: var(--r-md); overflow: hidden;
  background: #fff; border: 1px solid #DDE2F7;
  display: flex; align-items: center; justify-content: center;
  height: 200px; min-height: 0; padding: var(--s3); box-sizing: border-box;
}
.cat-hero__art img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

/* Sub-category / brand chip rail */
.cat-subnav {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  padding: 0 0 var(--s5);
  margin-bottom: var(--s6);
  border-bottom: 1px solid var(--border);
}
.cat-subnav__lbl { font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); margin-right: var(--s2); }
.cat-chip {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: #fff;
  font-size: var(--text-sm); font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .15s ease;
}
.cat-chip:hover { border-color: var(--brand); color: var(--brand); }
.cat-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Section bar */
.cat-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s5); flex-wrap: wrap;
}
.cat-bar h2 { font-size: var(--text-xl); }
.cat-bar .cat-tools { display: inline-flex; align-items: center; gap: var(--s3); }
.cat-bar .cat-count { font-size: var(--text-sm); color: var(--ink-3); }
.cat-bar .sort { font-size: var(--text-sm); color: var(--ink-2); display: inline-flex; align-items: center; gap: var(--s2); }
.cat-bar .sort select {
  font: inherit; font-size: var(--text-sm); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 6px 10px; background: #fff; cursor: pointer;
}

/* Other categories cross-links */
.cat-explore { margin: var(--s16) 0 var(--s10); }
.cat-explore h2 { font-size: var(--text-xl); margin-bottom: var(--s5); }
.cat-explore__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4);
}
.cat-explore__tile {
  display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s5) var(--s5);
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: #fff; transition: border-color .15s ease, transform .12s ease;
}
.cat-explore__tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-explore__tile strong { font-size: var(--text-base); color: var(--ink); }
.cat-explore__tile span { font-size: var(--text-sm); color: var(--ink-3); }
.cat-explore__tile .cat-explore__go { font-size: var(--text-sm); color: var(--brand); font-weight: 600; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.cat-explore__tile .cat-explore__go svg { width: 14px; height: 14px; }

/* Closing note */
.cat-note {
  text-align: center; font-size: var(--text-sm); color: var(--ink-3);
  margin: var(--s10) auto var(--s16); max-width: 560px; line-height: 1.6;
}

/* Mobile */
@media (max-width: 860px) {
  .cat-hero { grid-template-columns: 1fr; padding: var(--s6); gap: var(--s5); }
  .cat-hero__art { order: -1; min-height: 160px; }
  .cat-hero h1 { font-size: var(--text-2xl); }
  .cat-hero p { font-size: var(--text-base); }
  .cat-hero__stats { gap: var(--s6); }
  .cat-explore__grid { grid-template-columns: 1fr 1fr; }
}
