/**
 * Shop Categories landing — card grid + header (no oversized CTA arrows).
 */

.shop-categories-page {
  padding-bottom: 3rem;
}

.shop-categories {
  margin-top: 0.5rem;
}

.shop-categories__header {
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.shop-categories__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.shop-categories__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f1f3d;
  text-transform: none;
}

.shop-categories__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #475569;
  text-transform: none;
}

.shop-categories__grid.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: 1.25rem;
}

.shop-category-card {
  text-decoration: none;
  color: inherit;
}

.shop-category-card__image {
  aspect-ratio: 4 / 3 !important;
  padding: 1rem !important;
  background: #f1f5f9 !important;
}

.shop-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.shop-category-card__body {
  gap: 0.4rem;
}

.shop-category-card__title {
  -webkit-line-clamp: 2;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #0f1f3d;
  text-transform: none;
}

.shop-category-card__blurb {
  display: block;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #64748b;
  text-transform: none;
}

.shop-category-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1d6eb8;
  text-transform: none;
}

/* Never let any leftover CTA icons blow up the card. */
.shop-category-card__cta svg {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.shop-category-card:hover .shop-category-card__cta {
  text-decoration: underline;
}

.shop-categories__all {
  margin: 2rem 0 0;
  text-align: center;
}

@media (max-width: 640px) {
  .shop-categories__grid.product-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .shop-category-card__image {
    padding: 0.65rem !important;
  }
}
