.product-main {
  margin-top: calc(100px + var(--header-height));
  margin-bottom: 110px;
}

.product-main .title {
  font-size: 34px;
  line-height: 51px;
  color: var(--black-222);
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.product-main .product .block .block-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.product-main .product .block .block-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-main .product .block .item {
  position: relative;
  overflow: hidden;
}

.product-main .product .block .item span {
  position: absolute;
  left: 17px;
  bottom: 25px;
  color: var(--white-color);
  font-size: 20px;
  line-height: 29px;
  font-weight: 600;
  text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}

.product-main .product .block .item:hover img {
  transform: scale(1.02);
}

.product-main .product .block .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
}

@media only screen and (min-width: 1900px) {
  .product-main {
    margin-top: calc(100px + var(--header-height-large));
  }
}

@media only screen and (max-width: 979px) {
  .product-main .product .block .block-bottom {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .product-main {
    margin-top: calc(50px + var(--header-height));
    margin-bottom: 90px;
  }

  .product-main .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 34px;
  }

  .product-main .product .block .item span {
    line-height: 28px;
  }

  .product-main .product .block .block-top {
    gap: 10px;
    margin-bottom: 10px;
  }

  .product-main .product .block .block-bottom {
    gap: 10px;
  }
}

@media only screen and (max-width: 479px) {
  .product-main .product .block .block-top {
    grid-template-columns: repeat(1, 1fr);
  }

  .product-main .product .block .block-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}
