.product-grid {
  padding: 4rem 0;
}

.product-grid__header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.product-grid__kicker {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.product-grid__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0.5rem 0;
}

.product-grid__subtitle {
  font-family: 'LT Superior', 'sans-serif';
  max-width: 600px;
  margin: 0 auto;
}

.product-grid__items {
  display: grid;
  gap: 2rem;
  justify-content: center;
}

.product-grid__items--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-grid__items--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid__items--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 320px));
}

.product-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  max-width: 320px;
  text-decoration: none;
  justify-self: center;
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__info {
  margin-top: 0.5rem;
}

.product-card__name {
  font-weight: var(--text-regular);
  font-size: 1rem;
  margin-bottom: 0;
}

.product-card__variant {
  font-size: 0.9rem;
  margin-top: 0px;
}

.product-card__price {
  display: inline-block;
  background-color: #F15A3A;
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.product-card__price--free {
  background-color: #E0E7DB;
  color: var(--color-text-primary);
}

.product-grid__footer {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.btn.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-surface-subtle);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .product-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid__items {
    grid-template-columns: 1fr;
  }
}
