h1 {

  font-family: "Pacifico", cursive;

}

.comfortaa {

   font-family: "Comfortaa", sans-serif;

}

.contentDivOfProduct {

    max-height: 250px;
    overflow: hidden;
    border-radius: 10px;
    padding: 0%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgb(38, 214, 234) 100%);
    mask-image: linear-gradient(to bottom, rgb(0, 0, 0) 80%, rgba(52, 219, 213, 0.3) 100%);
    mask-repeat: no-repeat;

}

.contentBtn {

    margin-top: 20px;
    background-color: rgb(13, 183, 209); 
    display: block; 
    width: fit-content; 
    border: none;
    transition: 1s all;

}

.contentBtn:hover {

    background-color: rgb(23, 159, 141);  
    border-radius: 20px;
    border: 1px solid black;

}

@keyframes expandHeight {
  0% {
    max-height: 250px;
  }
  100% {
    max-height: 4000px; /* Конечная высота */
  }
}

/* Анимация скрытия */
@keyframes collapseHeight {
  0% {
    max-height: 4000px;
  }
  100% {
    max-height: 250px;
  }
}

.makeFullHeight {
  animation: expandHeight 1.5s ease-in-out forwards;
}

/* Класс для активации скрытия */
.makeCollapsed {
  animation: collapseHeight 1.5s ease-in-out forwards;
}

.productCard {

    border: none;
    padding: 0;
    margin: 1.66%;
    display: flex;
    flex-direction: column;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;

}

.productBtn {

    margin-left: auto; 
    margin-right: auto; 
    background-color: rgb(9, 200, 175); 
    display: block; 
    width: fit-content; 
    border: none;
    transition: 1s all;

}

.productBtn:hover {

    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    color: black;
    border: 1px solid black;

}

.imgCard div {

    opacity: 0;
    transition: 0.5s all;
    height: auto !important;

}

.imgCard {

    border: none;
    padding: 0;
    max-height: 326px;
    height: fit-content !important;
    margin-top: auto;
    margin-bottom: auto;

}

.imgCard div img {

    border-radius: 14px;
    margin-top: auto;
    margin-bottom: auto;
    max-height: 326px;
    max-width: 100%;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;

}

.imgCard:hover div {

    opacity: 1;

}

.attrBtn {

    margin-bottom: 10px;
    display: block; 
    width: fit-content; 
    border: none;
    transition: 1s all;
    margin-right: 2%;
    margin-left: 2%;
    text-decoration: none;
    color: black;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration-color: rgb(255, 255, 255);
    text-underline-offset: 4px;
    background-color: rgb(234, 239, 239);
    border-radius: 5px;

}

.attrBtn:hover {

    text-decoration: underline;
    text-decoration-color: rgb(7, 243, 176);
    text-decoration-thickness: 5px;
    background-color: rgb(255, 255, 255);

}

.modal {

    padding-left: 0 !important;
    padding-right: 0 !important;

}

.cartBtn {

    margin-left: auto; 
    margin-right: auto; 
    background-color: rgb(9, 200, 175); 
    display: block; 
    width: fit-content; 
    border: 1px solid rgb(9, 200, 175);
    transition: 1s all;
    border-radius: 5px !important;

}

.cartBtn:hover {

    background-color: rgb(9, 200, 175);

}

.imgSection {

    padding-left: 8%; 
    padding-right: 8%; 
    height: fit-content !important;
    max-height: none !important; 
    min-height: 0 !important 

}

.mainSection {

    padding-top: 0px; 
    padding-right: 8%;

}

.catProds {

    padding-top: 60px; 
    padding-left: 8%; 
    padding-right: 8%; 
    height: fit-content !important; 
    max-height: none !important; 
    min-height: 0 !important 

}

.slidePagDiv {

  display: block; 
  width: 20%; 
  height: 70px; 
  overflow: hidden; 
  border-radius: 16px; 
  margin-top: 10px; 
  margin-bottom: auto; 
  margin-left: 2%; 
  margin-right: 2%; 
  padding: 0

}

.slidePagImg {

  display: block; 
  cursor: pointer; 
  border-radius: 16px; 
  width: 100%; 
  object-fit: cover; 
  height: 100%; 
  object-position: center; 
  margin: 0;

}

.imgSlide {

  display: block; 
  border-radius: 16px; 
  margin-top: auto; 
  margin-bottom: auto; 
  max-height: 100%; 
  max-width: 100%; 
  margin-left: auto; 
  margin-right: auto; 
  cursor: pointer

}

.imgSlideDiv {

  display: flex !important; 
  height: 500px !important;

}

.imgSlideSuperDiv {

  height: 500px !important;
  max-height: none !important; 
  min-height: 0 !important

}


.swiperProdsPad {

    display: none !important;

}

.swiperProdsMobile {

    display: none !important;

}

.swiperCustomDiv {

    display: flex !important; 
    flex-wrap: wrap !important; 
    height: auto !important;

}

@media (min-width: 400px) and (max-width: 900px) {

.swiperCustomDiv {

    padding-left: 0%; 
    padding-right: 0%;

}

.productCard {

    width: 40% !important;
    margin-left: 5% !important;
    margin-right: 5% !important;

}

.swiperProdsPad {

    display: block !important;

}

.swiperProdsPC {

    display: none !important;

}

.swiperProdsMobile {

    display: none !important;

}

}

@media (min-width: 0px) and (max-width: 400px) {

.swiperCustomDiv {

    padding-left: 0% !important; 
    padding-right: 0% !important;

}

.productCard {

    width: 80% !important;
    margin-left: 10% !important;
    margin-right: 10% !important;

}

.swiperProdsPad {

    display: none !important;

}

.swiperProdsPC {

    display: none !important;

}

.swiperProdsMobile {

    display: block !important;

}

}


@media (min-width: 950px) and (max-width: 1440px) {

     .main {

      width: 100%;
      margin-left: 0%;
      margin-right: 0%;

     }

     .imgSection {

      padding-left: 1%;
      padding-right: 1%;

     }

     .mainSection {

      padding-right: 1%;

    }

    .catProds {

      padding-left: 2%;
      padding-right: 2%;

    }

}

@media (min-width: 500px) and (max-width: 950px) {

     .main {

      width: 100%;
      margin-left: 0%;
      margin-right: 0%;

     }

     .imgSection {

      padding-left: 1%;
      padding-right: 1%;
      width: 100%;

     }

     .mainSection {

      padding-right: 1%;
      width: 100%;
      padding-top: 30px;

    }

    .catProds {

      padding-left: 2%;
      padding-right: 2%;

    }

    .slidePagDiv {
 
      height: 100px;

    }

    .imgSlideDiv {

      height: 400px !important;

    }

    .imgSlideSuperDiv {

      height: 400px !important;

    }

}

@media (min-width: 0px) and (max-width: 500px) {

    .main {

      width: 100%;
      margin-left: 0%;
      margin-right: 0%;

     }

     .imgSection {

      padding-left: 4%;
      padding-right: 4%;
      width: 100%;
      margin-left: 0%;
      margin-right: 0%;

     }

     .mainSection {

      padding-right: 1%;
      width: 100%;
      padding-top: 30px;

    }

    .catProds {

      padding-left: 2%;
      padding-right: 2%;

    }

    .slidePagDiv {
 
      height: 60px;
      width: 23%;
      margin-left: 1%; 
      margin-right: 1%; 

    }

    .imgSlideDiv {

      height: 300px !important;

    }

    .imgSlideSuperDiv {

      height: 300px !important;

    }

}