/* ==========================================================================
   Carafe & Gilt — Favorite Equipment page
   The page reuses the SHARED shell already defined in tokens.css (foundation +
   cg-* utilities) and home.css (masthead, hero + mark, category pills, footer),
   so only the equipment-specific card grid + card internals live here. The card
   echoes the site card (surface, border, gold hover, 4:3 figure) but carries
   richer content — tags, two prose blocks, and an external buy link.
   ========================================================================== */

.equip-section {
  padding: var(--sp-6) 0 var(--sp-5);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-5);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2-up desktop — cards run tall */
  gap: var(--sp-4);
}
@media (max-width: 760px) {
  .equip-grid { grid-template-columns: 1fr; }
}

.equip-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.equip-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* 4:3 figure — same crop + hatch placeholder as the recipe card. */
.equip-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 13px, var(--surface-2) 13px, var(--surface-2) 26px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.equip-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.equip-card:hover .equip-figure img { transform: scale(1.03); }
.equip-ph {
  font-family: var(--font-caption);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: var(--fs-xs); color: var(--text-muted);
}

.equip-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  flex: 1;
}
.equip-name {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--display-ink);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
}

/* Tags — a small, extensible set. Pill treatment echoes the category pills. */
.equip-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
}
.equip-tag {
  font-family: var(--font-caption);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: var(--fs-xs); color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.3em 0.85em;
}

.equip-block .cg-label { margin-bottom: var(--sp-1); }
.equip-block p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* Buy link sits at the foot of the card, left-aligned so cards of unequal
   prose length still line their CTAs to the same edge. */
.equip-buy {
  margin-top: auto;
  align-self: flex-start;
}
