.listing-page {
  padding-top: 60px;
}

.listing-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.listing-header h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin: 18px 0;
}

.listing-header > p:last-child {
  color: #59615b;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.product-card-image {
  height: 390px;
  background: #ded8cc;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card-image span {
  font-size: 8rem;
  font-weight: 700;
  opacity: .55;
}

.product-card-copy {
  padding: 24px;
}

.product-card-copy h2 {
  font-size: 1.6rem;
  margin: 0 0 10px;
}

.product-card-copy p {
  color: #5b625d;
  min-height: 45px;
}

.product-card-copy strong {
  font-size: 1.15rem;
}

.empty-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 25px;
  border: 1px dashed #99968e;
}

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

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    min-width: 0;
  }

  .product-card-image {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .product-card-image span {
    font-size: 4rem;
  }

  .product-card-copy {
    padding: 12px 10px;
  }

  .product-card-copy h2 {
    margin-bottom: 6px;
    line-height: 1.35;
  }

  .product-card-copy p {
    font-size: .82rem;
    line-height: 1.55;
    min-height: 0;
    margin: 0 0 9px;
  }

  .product-card-copy strong {
    display: block;
    font-size: .9rem;
    line-height: 1.6;
  }

  .product-card-copy .availability-badge {
    margin-top: 7px;
    padding: 5px 8px;
    font-size: .72rem;
  }
}
