.cj-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.product-item {
  flex: 0 0 12.5%;
  max-width: 12.5%;
  padding: 2px;
  box-sizing: border-box;
}

.cj-attachment-thumbnail {
  display: block;
  max-width: 100%;
  height: auto;
}

.cj-attachment-thumbnail {
  border: 1px solid #ccc;
}

.cj-attachment-thumbnail:hover {
  border-color: #ff6600;
}

.cj-selected {
  border-color: #ff6600;
}