body.page-merch {
  --page-color: var(--color-merch);
  background: var(--black);
  color: var(--white);
}

/* ── Merch Hero — same structure as .releases-hero/.events-hero ── */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.merch-hero {
  background: var(--black);
  padding: 48px var(--gutter) 0;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  animation: hero-enter 0.5s var(--ease-out) both;
  animation-delay: 0.1s;
}

.merch-hero-eyebrow {
  font-size: 11px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.merch-hero-title {
  font-family: var(--font-main);
  font-size: var(--text-section-title);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.82;
}

.merch-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 0;
  border-top: 1.5px solid rgba(255, 255, 255, 0.18);
  margin-top: 16px;
}

.merch-hero-tagline {
  font-size: 11px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.merch-count-wrap { text-align: right; }

.merch-count-num {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
  letter-spacing: -0.03em;
}

.merch-count-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── Product grid — reuses .poster-wall (assets/css/poster.css) ── */
.poster-wall--merch { border-top: 1px solid #141414; }

.merch-card {
  --merch-card-pad: clamp(16px, 2.5vw, 26px);
  position: relative;
  background: #0a0a0a;
  color: var(--white);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--merch-card-pad);
  overflow: hidden;
  font-family: var(--font-main);
  background-size: cover;
  background-position: center;
}

.merch-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* The scrim has to bleed to the card's edges, so it cancels the card padding
   and re-applies it. The old hard-coded -26px didn't track the fluid padding:
   below ~1040px the card padded 16px while the body pulled back 26px, so the
   scrim hung 10px off both sides of every card. */
.merch-card-body {
  position: relative;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0) 100%);
  margin: calc(var(--merch-card-pad) * -1);
  padding: calc(var(--merch-card-pad) * 2) var(--merch-card-pad) var(--merch-card-pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merch-card-name {
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}

.merch-card-price {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.merch-card-cta {
  margin-top: 4px;
}

/* ── Storefront band ── */
.merch-storefront-band {
  background: var(--color-merch);
  padding: 40px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.merch-storefront-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}

.merch-storefront-headline {
  font-family: var(--font-main);
  font-size: var(--text-section-title);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.92;
}

.merch-storefront-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  margin-top: 10px;
  max-width: 380px;
  line-height: 1.55;
}

.merch-storefront-cta { flex-shrink: 0; }

@media (max-width: 640px) {
  .page-merch .poster-wall { grid-template-columns: 1fr 1fr; }
  .merch-storefront-band { flex-direction: column; align-items: flex-start; gap: 24px; }
  .merch-storefront-cta { width: 100%; }
  .merch-storefront-sub { max-width: none; }

  .merch-hero { min-height: 42vh; padding-top: 36px; }
  .merch-hero-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .merch-count-wrap { text-align: left; }
}

@media (max-width: 520px) {
  /* Two columns leaves each card ~180px wide — the product name wraps to
     three lines and the CTA underline collides with the price. */
  .page-merch .poster-wall { grid-template-columns: 1fr; }
  .merch-card { min-height: 68vw; }
}
