h1{
  font-size: 27px;
  font-weight: 500;
  color: #fff;
  margin: 20px 0px 0px 300px;
}
.productList{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 40px;
  padding-top: 20px;
  min-height: 460px;
  margin-left: 300px;
}
.productItem {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: calc((100% - 80px)/3);
  min-height: 440px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
}
.productItem::before {
  content: '';
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  position: absolute;
  object-fit: cover;
  background-image: url(/images/wm.svg);
  background-size: 100%;
  opacity: 0.2;
}
.productItem>img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.productList .productBody {
  background-color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: 100%;
  position: relative;
}
.productList .productBody .productInfo{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
  height: 100%;
}
.productList .productBody .productInfo>p {
  font-size: 20px;
  font-weight: 500;
  word-wrap: break-word;
}
.productList .productBody>a {
  display: inline-block;
  width: 100%;
  line-height: 43px;
  text-align: center;
  border: 1px solid #1d1d1d;
  border-radius: 10px;
  background-color: #1d1d1d;
  color: #fff;
  transition: all 0.5s ease-in-out;
}
.productList .productBody>a:hover{
  background-color: #fff;
  color: #1d1d1d;
}

button.more {
  width: calc((100% - 80px)/3);
  height: 45px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #fff;
  font-size: 20px;
  transition: all 0.5s ease-in-out;
  margin: 0 auto;
}

button.more:hover {
  background-color: #1d1d1d;
  color: #fff;
}
.mainContacts{
  padding: 170px 20px;
}
@media (max-width:1200px) {
  h1{
    margin: 20px 0px 0px 290px;
  }
  .mainContacts{
    padding: 170px 10px;
  }
  .productList{
    margin-left: 290px;
    margin-right: 10px;
  }
}
@media (max-width:960px) {
  h1{
    margin: 20px 0px 10px 10px;
  }
  .mainContacts{
    padding: 70px 10px;
  }
  .productList{
    margin-left: unset;
    gap: 20px;
    padding: 10px;
  }
  .productItem{
    width: calc((100% - 40px) / 3);
    min-width: 220px;
  }
}
@media (max-width: 760px) {
  .productItem,
  button.more{
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 480px) {
  .mainContacts{
    padding: 40px 10px;
  }
  .productItem {
    width: 100%;
  }
  .productItem>img{
    max-width: 100%;
    /* max-height: 260px;*/
  }
}


#sub-category {
  background: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('/images/arrow_black.svg');
  background-repeat: no-repeat;
  background-position: 98% 55%;
  background-size: 16px;
  cursor: pointer;
}

.sub-category {
  margin-left: 300px;
  height: 50px;
  padding-top: 10px;
}
@media (max-width: 1200px) {
  .sub-category {
    margin-left: 290px;
    margin-right: 10px;
  }
}
@media (max-width: 960px) {
  .sub-category {
    margin-left: 10px;
    padding-top: 0px;
    height: 40px;
  }
}