.product-container {
  display: flex;
  flex-direction: column;
}

.collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.product {
  max-width: 230px;
  width: 80%;
  box-shadow: 2px 2px 4px 2px #ddd;
  margin: 6px;
  display: flex;
  flex-direction: column;
}
.product .content {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-content: stretch;
  height: 100%;
}

.thumbnail-container {
  position: relative;
  display: flex;
  justify-content: center;
}
.thumbnail-container .thumbnail {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.thumbnail-container .thumbnail .img {
  background-position: center;
  background-repeat: no-repeat;
  background-clip: content-box;
  background-origin: content-box;
  width: 100%;
  height: 100%;
}
.thumbnail-container .thumbnail .fit {
  background-size: contain;
}

.add-to-cart {
  text-align: right;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  flex-grow: 1;
}

@media screen and (min-width: 768px) {
  .product-container {
    padding: 9px;
  }

  .product .content {
    padding: 12px;
  }

  .thumbnail-container {
    width: 100%;
    padding-top: 100%;
    height: 0;
  }
  .thumbnail-container .thumbnail {
    padding: 10px;
  }
}
@media screen and (max-width: 768px) {
  .product-container {
    padding: 5px;
  }

  .product {
    width: 95%;
    max-width: initial;
    min-height: 150px;
    max-height: 200px;
    flex-direction: row;
    font-size: 0.8rem;
    margin: 4px;
  }
  .product .content {
    flex-grow: 1;
    width: 50%;
    padding: 9px;
  }
  .product .content .name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .thumbnail-container {
    max-width: 200px;
    width: 50%;
  }
  .thumbnail-container .thumbnail {
    padding: 8px;
  }
}

/*# sourceMappingURL=product.css.map */
