.warehouse-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.warehouse-product {
  min-width: 0;
  padding: 12px;
  border: 1px solid #c9ddbd;
  background: #fbfff8;
}

.warehouse-product__image {
  display: grid;
  place-items: center;
  min-height: 150px;
  background: #fff;
  border: 1px solid #e7d566;
}

.warehouse-product__image img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.warehouse-product h3 {
  margin: 10px 0 6px;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.warehouse-product__price {
  margin: 0;
  color: #176b29;
  font-size: 19px;
  font-weight: 700;
}

.warehouse-product__stock {
  margin: 7px 0 0;
  color: #526b5d;
}

.warehouse-products__actions {
  margin: 16px 0 0;
  text-align: center;
}

@media (max-width: 520px) {
  .warehouse-products__grid {
    grid-template-columns: 1fr;
  }
}
