.product-categories {
  margin-right: -25px;
  margin-bottom: -25px;
}
@media all and (min-width: 600px) {
  .product-categories {
    margin-right: -50px;
    margin-bottom: -50px;
  }
}
.product-categories-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media all and (min-width: 768px) {
  .product-categories-items {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}
.product-categories-item {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 calc(50% - 25px);
  flex: 1 1 calc(50% - 25px);
  padding-bottom: calc(50% - 25px);
  margin-right: 25px;
  margin-bottom: 25px;
  position: relative;
}
@media all and (min-width: 600px) {
  .product-categories-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(50% - 50px);
    flex: 1 1 calc(50% - 50px);
    padding-bottom: calc(50% - 50px);
    margin-right: 50px;
    margin-bottom: 50px;
  }
}
@media all and (min-width: 768px) {
  .product-categories-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(25% - 50px);
    flex: 1 1 calc(25% - 50px);
    padding-bottom: calc(25% - 50px);
  }
}
.product-categories__product {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
.product-categories__product::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
  -o-transition: opacity 0.5s ease, visibility 0.5s ease;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.product-categories-item:hover .product-categories__product::after {
  opacity: 1;
  visibility: visible;
}
.product-categories__product img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  -o-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  will-change: transform;
}
.product-categories-item:hover .product-categories__product img {
  -webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
}
.product-categories__product h2 {
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 120px;
  font-family: "Lora", serif;
  font-weight: 400;
  margin: 0;
  font-size: 20px !important;
  z-index: 3;
}
.circle-images {
  border-radius: 50%;
}
