/**
 * PUBLIC CATALOG — PAGE CHROME shared by every catalog surface: .container,
 * breadcrumbs, the .catalog-page-* header / hero / summary pills, the detail
 * page header, the .detail-actions row and its shop hint, and the
 * .catalog-inline-* section frame the landing and category pages both use.
 *
 * THIRD of ten sheets — after styles-nav.css, before styles-browse.css. Read
 * the load-order block at the top of styles.css before moving a rule between
 * sheets: the split is a contiguous slice of one original file and the cascade
 * depends on it.
 */
/* ── Container ── */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px 24px 34px;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
}
.breadcrumbs a { color: var(--accent); cursor: pointer; }
.breadcrumbs a:hover { text-decoration: underline; }
/* The separator must never compete with crumb text for the eye: it is the
   dimmest thing in the trail, and it is a `›` rather than a `/` because 7.3% of
   catalog titles and four live category names contain a slash — see crumbSep()
   in core-state.js. `flex: 0 0 auto` keeps it from being the thing that shrinks
   when the trail wraps at 390px. */
.breadcrumbs .sep { color: var(--text-dim); flex: 0 0 auto; }
/* The current page. Brighter and heavier than both the separators and the
   ancestor links, so a title carrying its own punctuation still reads as ONE
   crumb rather than as further hierarchy. */
.breadcrumbs .crumb-current {
  color: var(--text);
  font-weight: 600;
}

/* ── Landing: Category Grid ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.04;
  margin-bottom: 8px;
}
.catalog-page-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    linear-gradient(135deg, rgba(255, 107, 44, 0.06), transparent 56%);
  border: var(--border-1);
  border-radius: 26px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  margin-bottom: 24px;
  overflow: hidden;
}
.catalog-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.catalog-page-header-parent {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 340px);
  grid-template-areas:
    "copy hero"
    "summary hero";
  align-items: start;
  column-gap: 24px;
  row-gap: 14px;
}
.catalog-page-copy {
  min-width: 0;
  flex: 1 1 480px;
}
.catalog-page-header-parent .catalog-page-copy {
  grid-area: copy;
  flex: initial;
}
.catalog-page-note {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 6px;
  max-width: 68ch;
}
.catalog-page-direct-note {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 44, 0.18);
  background: rgba(255, 107, 44, 0.09);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.catalog-page-hero {
  position: relative;
  flex: 0 0 min(320px, 34vw);
  width: min(340px, 36vw);
  max-width: 100%;
  min-width: 220px;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    linear-gradient(135deg, rgba(255, 107, 44, 0.10), transparent 56%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.catalog-page-header-parent .catalog-page-hero {
  grid-area: hero;
  justify-self: end;
  align-self: stretch;
}
.catalog-page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.62));
  pointer-events: none;
  z-index: 1;
}
.catalog-page-hero-image,
.catalog-page-hero-fallback,
.catalog-page-hero-fallback .cat-card-fallback {
  width: 100%;
  height: 100%;
}
.catalog-page-hero-image {
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 0;
}
.catalog-page-hero-fallback {
  display: flex;
  position: relative;
  z-index: 0;
}
.catalog-page-hero-fallback .cat-card-fallback {
  border-radius: 0;
  border: none;
}
.catalog-page-hero-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 32px);
  min-height: 28px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(10, 14, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 247, 251, 0.9);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  backdrop-filter: blur(14px);
}
.catalog-page-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.catalog-page-header-parent .catalog-page-summary {
  grid-area: summary;
  justify-content: flex-start;
}
.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}
.catalog-pill-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.catalog-pill-value {
  font-weight: 600;
  color: var(--text);
}
.catalog-pill-accent {
  border-color: rgba(255, 107, 44, 0.24);
  background: rgba(255, 107, 44, 0.1);
  color: var(--accent);
}
.detail-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}
.detail-page-header .catalog-page-copy {
  flex: none;
  width: 100%;
}
.detail-page-summary {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.detail-page-summary .catalog-pill {
  min-width: 0;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  white-space: normal;
}
.catalog-page-surface .results-bar {
  margin-bottom: 14px;
}
.detail-section-label {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.detail-actions .btn {
  flex: 1 1 190px;
  justify-content: center;
}
/* Soft anon-only nudge toward shop.humpf.tech. Inline link, not a CTA —
 * the primary action stays "Request This Print" above. Sits flush left
 * below the action row and uses muted text + a subtle accent on hover. */
.detail-shop-hint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.detail-shop-link {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 1px;
}
.detail-shop-link:hover,
.detail-shop-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.adv-results-shell {
  margin-top: 24px;
  padding: 20px 20px 18px;
}
.catalog-inline-section {
  margin-bottom: 32px;
}
.catalog-inline-center {
  text-align: center;
}
.catalog-inline-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.catalog-inline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}
.catalog-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: var(--border-1);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: var(--font-mono);
}
.catalog-inline-action:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 107, 44, 0.08);
}
.catalog-empty-link {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}
.catalog-retry-btn {
  margin-top: 16px;
}
.landing-unavailable-title {
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
}
.landing-unavailable .landing-actions {
  justify-content: center;
}
.landing-unavailable .landing-action {
  font-family: var(--font-display);
  text-decoration: none;
}
