/* ================================================
   CATEGORY PAGE — overrides on top of boutique-page.css
   Same banner / chips / cards as the boutique; only the
   category context (image, active chip, related strip) differs.
   ================================================ */

/* --- Banner: category image bleeds through the walnut gradient --- */
.shop-banner--cat {
  background-image:
    linear-gradient(135deg, rgba(43,26,14,0.94) 0%, rgba(74,46,28,0.90) 50%, rgba(107,66,34,0.86) 100%),
    var(--cat-bg, none);
  background-size: cover, cover;
  background-position: center, center 40%;
}
.shop-banner--cat::after {
  content: '33';
  letter-spacing: -8px;
}
.shop-banner--cat .banner-title {
  font-size: clamp(40px, 5.2vw, 68px);
}
.shop-banner--cat .banner-title em { color: var(--gold); }

/* --- Chips as links (category navigation) --- */
.chip--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.chip--link.on {
  pointer-events: none;
}

/* --- Related categories strip --- */
.cat-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.cat-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.cat-related__head .section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.cat-related__head .section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.cat-related__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--walnut-dark);
  margin: 0;
  line-height: 1.15;
}
.cat-related__title em { font-style: italic; color: var(--gold); }

.cat-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.cat-related__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-related__card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 14px 28px -18px rgba(43,26,14,0.35);
}
.crc-media {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  border: 2px solid var(--gold);
  display: block;
}
.crc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crc-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--walnut);
}
.crc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.crc-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--walnut-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crc-count { font-size: 11px; color: var(--muted); letter-spacing: .5px; }

@media (max-width: 900px) {
  .cat-related { margin-top: 40px; padding-top: 28px; }
  .cat-related__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 560px) {
  .cat-related__head { flex-direction: column; gap: 6px; }
  .cat-related__grid { grid-template-columns: 1fr; }
}
