.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.listing-card .thumb {
  height: 180px;
  overflow: hidden;
}

.listing-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* image container */
.thumb {
  width: 100%;
  height: 180px;
  background: #111;
  overflow: hidden;
  display: flex;               /* center fallback */
  align-items: center;
  justify-content: center;
}

/* actual image */
.listing-img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* THIS is what you want */
  display: block;
}

/* fallback when no image */
.no-image {
  color: #aaa;
  font-size: 14px;
}

/* card content */
.card-body {
  padding: 12px;
}

.card-body h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.price {
  font-weight: 600;
  margin: 0 0 4px 0;
}

.meta {
  font-size: 13px;
  color: #666;
}