.model-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.model-card {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(235, 231, 220, 0.22);
  border-radius: 7px;
  background: rgba(87, 91, 73, 0.72);
  color: var(--creamy-alabaster);
  text-align: center;
  font-weight: 600;
}

.model-card p {
  margin-bottom: 0.35rem;
}

.model-card p:last-child {
  color: var(--warm-greige);
  font-size: 0.85rem;
  font-weight: 500;
}

.model-card model-viewer {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  margin-bottom: 0.75rem;
  border-radius: 6px;
  background: var(--creamy-alabaster);
}

.model-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border-radius: 6px;
}

.image-feature {
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(235, 231, 220, 0.22);
  border-radius: 7px;
  background: rgba(87, 91, 73, 0.72);
  color: var(--creamy-alabaster);
  text-align: center;
  font-weight: 600;
}

.image-feature img {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  margin-bottom: 0.75rem;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .model-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .model-card model-viewer {
    height: 260px;
  }
}
