.collection {
  margin-bottom: 50px;
}
.collection .row {
  align-items: start;
}
.collection-box {
  margin-bottom: 30px;
  width: 100%;
}
.collection-box a {
  width: 100%;
  height: 100%;
}
.collection-box-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.collection-box-image img {
  height: 100%;
  width: 100%;
  transition: all 0.3s ease;
}
.collection-box-image:hover img {
  transform: scale(1.1);
}
.collection-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.collection-box h3 {
  font-size: 18px;
  line-height: 22px;
  margin-top: 10px;
  color: #2a2b2d;
  text-transform: uppercase;
}
@media only screen and (max-width: 1199px) {
  .collection-box_main {
    width: 25%;
  }
}
@media only screen and (max-width: 767px) {
  .collection-box_main {
    width: 33%;
  }
}

@media only screen and (max-width: 575px) {
  .collection .row {
    justify-content: center;
    margin-right: -10px;
    margin-left: -10px;
  }
  .collection .row .collection-box_main {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .collection .row .collection-box_main .collection-box {
    display: inline-flex;
  }
  .collection .row .collection-box_main img {
    max-width: 100%;
    width: auto;
    aspect-ratio: 1/1;
  }
  .collection-box-image {
    height: auto;
  }
  .collection-box h3 {
    font-size: 14px;
    line-height: 20px;
    padding: 0px 10px;
  }
}
@media only screen and (max-width: 340px) {
  .collection .row .collection-box_main {
    width: 50%;
  }
}
