/* ============================================================
   Shop Grid Section
   Responsive grid of cards — image OR text-only, each linking
   somewhere. 2 columns on mobile, 4 on desktop. No horizontal
   scroll; all cards visible at once.
   ============================================================ */

.shop-grid {
  width: 100%;
  background: #fff;
  padding: 1.5rem 1rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.shop-grid__title {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: #111;
}

.shop-grid__grid {
  display: grid;
  grid-template-columns: repeat(var(--shop-grid-cols-mobile, 2), 1fr);
  gap: 1rem;
}

@media screen and (min-width: 990px) {
  .shop-grid__grid {
    grid-template-columns: repeat(var(--shop-grid-cols-desktop, 4), 1fr);
    gap: 1.5rem;
  }
}

.shop-grid__card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-grid__card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.shop-grid__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Text-only card (used for "FULL CATALOG") */
.shop-grid__card--text {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.shop-grid__text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  padding: 1rem;
}

@media screen and (min-width: 990px) {
  .shop-grid__text {
    font-size: 1.8rem;
  }
}
