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

.product-visual {
  height: auto;
  aspect-ratio: 1 / 1;
  background: #ece9df;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-pending {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #59665f;
  background: linear-gradient(145deg, #e9eee9, #f5f3ed);
}

.product-image-pending span { font-size: clamp(24px, 4vw, 52px); letter-spacing: .18em; }
.product-image-pending small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.badge {
  z-index: 2;
  padding: 7px 9px;
  background: rgba(252,251,247,.88);
  backdrop-filter: blur(8px);
}

.badge.available { color: #355c48; }
.badge.available::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #4f8065; vertical-align: 1px; }

.product-card.unavailable .product-image { filter: saturate(.42); opacity: .76; }
.product-card.unavailable .product-info { background: #f7f5f0; }

.description {
  min-height: 68px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.source-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid #aaada5;
  color: #656b63;
  font-size: 9px;
}

.product-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

.product-meta button:disabled {
  cursor: not-allowed;
  border-color: #d5d3cc;
  background: #ebe9e3;
  color: #9b9d98;
}

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .filters { gap: 16px; }
}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
  .filters { width: 100%; overflow-x: auto; }
  .filters button { white-space: nowrap; }
}

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