.product4 {
  padding-top: 50px;
  padding-bottom: 100px;
  color: #243746;
}

main {
  height: 300px;
  display: flex;
}

main div {
  background-image: url("../assets/products/product4.JPG");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-background-size: cover;
  width: 100%;
}

.product4__inner h2 {
  margin-top: 50px;
  font-size: 42px;
  margin-bottom: 10px;
}

.product4__link {
  font-size: 14px;
  color: rgb(68, 68, 68);
  margin-bottom: 40px;
}

.product4__link a {
  text-decoration: none;
  color: rgb(68, 68, 68);
}

.product4__link a:hover {
  text-decoration: underline;
}

.product4__info p {
  margin-top: 15px;
  line-height: 1.4;
  font-size: 18px;
  text-align: justify;
  text-indent: 3%;
}

.product4__info ul {
  margin-top: 15px;
  line-height: 1.4;
  font-size: 18px;
  text-align: justify;
  padding-left: 6%;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product4__info ul li::before {
  content: "-";
  padding-right: 10px;
}

/* .product4__info img {
    max-width: 550px;
} */

.product4__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) and (max-width: 1250px) {
  /* .product4__info p {
        margin-top: 15px;
        max-width: 430px;
    } */

  /* .product4__info img {
        max-width: 430px;
    } */
}

@media (max-width: 991px) {
  .product4__info {
    flex-direction: column-reverse;
  }

  .product4__img2 {
    display: none;
  }
}

@media (max-width: 767px) {
  .product4__img3 {
    display: none;
  }
}

@media (max-width: 480px) {
  /* .product4__info img {
        max-width: 300px;
    } */

  .product4__inner h2 {
    font-size: 24px;
  }
}

@media (max-width: 320px) {
  /* .product4__info img {
        max-width: 240px;
    } */

  .product4__inner h2 {
    font-size: 22px;
  }
}

.product4__brands {
  gap: 30px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.product4__brands a {
  text-decoration: none;
  color: #000;
  transition: color 0.2s ease-in-out, text-decoration 0.3s ease-in-out;
}

.product4__brands a:hover {
  text-decoration: none;
}

.product4__brands-title {
  margin-top: 30px;
  font-size: 30px;
}
@media screen and (max-width: 1200px) {
  .product4__brands {
    gap: 30px;

    grid-template-columns: repeat(3, 1fr);
  }
  .card {
    width: 200px;
    min-height: 350px;

    display: flex;
    flex-direction: column; /* Размещаем элементы в колонку */
    border-radius: 4px;
    transition: 0.2s;
    position: relative;
    justify-content: center;
  }
  .card img {
    border-radius: 10px 10px 0px 0px;
    width: 180px;
    height: 100px;
    object-fit: contain;
    aspect-ratio: 4/3;
    -webkit-aspect-ratio: 4/3;
    -moz-aspect-ratio: 4/3;
    -o-aspect-ratio: 4/3;
    -ms-o-aspect-ratio: 4/3;
    margin-left: 10px;
  }
}
@media screen and (max-width: 800px) {
  .product4__brands {
    gap: 30px;

    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    width: 200px;
    min-height: 350px;

    display: flex;
    flex-direction: column; /* Размещаем элементы в колонку */
    border-radius: 4px;
    transition: 0.2s;
    position: relative;
    justify-content: center;
  }
  .card img {
    border-radius: 10px 10px 0px 0px;
    width: 180px;
    height: 100px;
    object-fit: contain;
    aspect-ratio: 4/3;
    -webkit-aspect-ratio: 4/3;
    -moz-aspect-ratio: 4/3;
    -o-aspect-ratio: 4/3;
    -ms-o-aspect-ratio: 4/3;
    margin-left: 10px;
  }
}
@media screen and (max-width: 576px) {
  .product4__brands-title {
    font-size: 24px;
  }
  .product4__brands {
    gap: 30px;

    grid-template-columns: repeat(1, 1fr);
  }
  .card {
    width: 150px;
    min-height: 350px;

    display: flex;
    flex-direction: column; /* Размещаем элементы в колонку */
    border-radius: 4px;
    transition: 0.2s;
    position: relative;
    justify-content: center;
  }
  .card img {
    border-radius: 10px 10px 0px 0px;
    width: 130px;
    height: 100px;
    object-fit: contain;
    aspect-ratio: 4/3;
    -webkit-aspect-ratio: 4/3;
    -moz-aspect-ratio: 4/3;
    -o-aspect-ratio: 4/3;
    -ms-o-aspect-ratio: 4/3;
    margin-left: 10px;
  }
}

.product__card {
  width: 700px;
}

.card img {
  border-radius: 10px 10px 0px 0px;
  width: 260px;
  height: 100px;
  object-fit: contain;
  aspect-ratio: 4/3;
  -webkit-aspect-ratio: 4/3;
  -moz-aspect-ratio: 4/3;
  -o-aspect-ratio: 4/3;
  -ms-o-aspect-ratio: 4/3;
  margin-left: 10px;
}

.card {
  width: 280px;
  min-height: 350px;

  display: flex;
  flex-direction: column; /* Размещаем элементы в колонку */
  border-radius: 4px;
  transition: 0.2s;
  position: relative;
  justify-content: center;
  border: #243746 solid 1px;
}

.card p {
  text-align: center;
}

.card:hover {
  border-radius: 5%;
  border: #0000ff solid 1px;
}
