body {
  /*background: url('../media/images/back-white.png');*/
  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
  /*background-position: center;  */
}

.mainWrapper {
  width: 100%;
  height: auto;
}

/*intro*/

.mainImageWrapper {
  width: 100%;
  /*background: var(--yellowBack);*/
  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
  /*background-position: center;*/
  
    
  background: url('../media/images/back-white.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;  
  height: calc(100vh - 190px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mainImageWrapper h1 {
  /*font-family: mainFontBold;*/
  font-size: 30px;
  color: var(--darkColor);
  margin-bottom: 20px;
  text-align: center;
}

.mainImageWrapper h2 {
  font-family: poppins;
  font-size: 18px;
  color: var(--greyText);
  margin-bottom: 50px;
}

.mainImageWrapperInner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mainImageWrapperInner input[type="text"] {
  width: 50%;
  height: 45px;
  outline: none;
  border: 1px solid #949494;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 18px; 
  /*font-family: mainFontBold; */
  letter-spacing: .5px;

    background: rgba(255 255 255 / 0%);
    border-radius: 0.5rem;
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(252, 182, 0, 0.5);
}

.mainImageWrapperInner input[type="text"]::placeholder {
  font-size: 16px;
  /*font-family: mainFontLight;*/
}

.mainImageWrapperInner input[type="text"]:focus {
  border-color: var(--mainYellow);
  box-shadow: 0 0.5rem 1rem rgba(0 0 0 / 8%);
}

.mainImageWrapperInner input[type="submit"] {
  cursor: pointer;
  background: none;
  /*font-family: mainFontLight;*/
  padding: 0.75rem 1rem;
  background: var(--mainYellow);
  border-radius: 0.5rem;
  color: #fff;
  box-shadow: none;
  text-align: center;
  text-decoration: none;
  min-width: 100px;
  margin-left: 15px;
  outline: none;
  border: 0;
  height: 45px;

  transition: .1s ease-in-out;
}

.mainImageWrapperInner input[type="submit"]:hover {
  background: #D4AA3E;
}

.categoriesExampleWrapper {
  margin-top: 30px;
  width: 80%;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.popularCategoryIntroBlock {
  text-decoration: none;
  width: auto;
  height: 40px;
  text-align: center;
  padding: 10px 20px;
  background: #e4e2e0;
  margin: 15px;
  border-radius: .4rem;
  cursor: pointer;
  border: 1px solid;
  border-color: transparent;
  color: var(--greyText);
  transition: .25s;

  /*font-family: mainFontBold;*/
}

.popularCategoryIntroBlock:hover {
  background-color: #d4d2d0;
  border: 1px solid;
  border-color: var(--mainYellow);

  background: #e3e3e3;
  box-shadow: inset 0 1px 0.25rem rgb(0 0 0 / 10%);
  color: #2d2d2d;
  cursor: pointer;
}

/*facts*/

.factsWrapper {
  margin-top: 50px;
  margin-bottom: 50px;
  width: 100%;
  padding: 15px 30px;

  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.factBlock {
  width: auto;
  height: 80px;
  margin: 15px;
  display: flex; 
  align-items: center;
}

.factBlock .factImage {
  object-fit: cover;
  height: 35px;
}

.factInfo {
  margin-left: 15px;
}

.factBlock .factInfo h4 {
  font-size: 17px;
  color: var(--darkColor);
  margin-bottom: 5px;
  /*font-family: mainFontBold;*/
}

.factBlock .factInfo p {
  font-family: poppins;
  font-size: 14px;
  color: var(--greyText);
}

/*products*/

.productsWrapper {
  width: 100%;
  height: auto;
  padding: 20px;
  padding-top: 40px;
  /*margin-top: 20px;*/

  /*background: var(--white);*/
  /*background-position: center;*/
  /*background-repeat: no-repeat;*/
  /*background-size: cover;*/
  
  background: url('../media/images/back-white.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;  

  display: flex;
  flex-direction: column;
  align-items: center;
}

.productsWrapperInner {
  margin-top: 20px;
  width: 100%;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.productsWrapper a {
  font-size: 28px;
  color: var(--darkColor);
  /*font-family: mainFontBold;*/
  text-decoration: none;
}

.productsWrapper a:hover {
  color: var(--mainYellow);
}

.productBlock {
  height: 150px;
  width: 450px;
  margin: 10px;
  display: flex;
  border-radius: 15px;

  /*background: var(--yellowBack);*/
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(252, 182, 0, 0.5);
}

.productsWrapperInner a {
  text-decoration: none;
}

.productBlock img {
  height: 100%;
  width: 170px;
  object-fit: cover;
  border-radius: 15px;
}

.productBlockInfo {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.productBlockInfo h4 {
    font-size: 15px;
    color: #222;
    line-height: 21px;
    display: -webkit-box;
    overflow: hidden;
    max-height: 100px;
    text-overflow: ellipsis;
    transition: all 0.2s;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.productBlockInfo p {
  font-size: 15px;
  line-height: 1.2rem;
  color: var(--greyText);
  text-decoration: none;
  font-family: poppins;
  margin-bottom: 5px;
}

.productBlockInfo h3 {
  font-size: 18px; 
  color: var(--darkColor);
  text-decoration: none;
  margin-bottom: 5px;
  /*font-family: mainFontBold;*/
}

/*first slide*/

.popularCategories {
  width: 100%;
  height: auto;
  padding: 20px;
  /*margin-top: 20px;*/
  padding-top: 40px;
    
  background: url('../media/images/back-white.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;  
}

.popularCategories h2 {
  font-size: 30px;
  color: var(--darkColor);
  /*font-family: mainFontBold;*/
  text-align: center;
}

.swiper.popularSlider {
  margin-top: 25px;
  width: 90%;
  padding-bottom: 50px;
}

.swiper-pagination-bullet {
  background: var(--mainYellow) !important;
}

.swiper-slide.popular {
  width: 50%;
  height: 300px;
}

.swiper-slide.popular img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/*no image products*/

.productBlock.noImage {
  height: auto;
  min-height: 200px;
}

.productBlock.noImage .productBlockInfo .price {
  font-size: 16px;
}

.productBlock.noImage .productBlockInfo .category {
  margin: 5px 0;
  font-size: 15px;
  color: var(--greyText);
}

.productBlock.noImage .productBlockInfo .description {
  margin: 5px 0;
  font-size: 17px;
  color: var(--greyText);
}

.productBlock.noImage .productBlockInfo .author {
  margin: 5px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--greyText);
}

.productBlock.noImage .productBlockInfo .date {
  margin: 5px 0;
  font-size: 14px;
  color: var(--greyText);
}

/*partners*/

.partnerSliderWrapper {
  margin-top: 30px;
  padding: 15px 30px;
}

.partnerSlideBlock {
  margin-top: 40px;
}

.partnerSliderWrapper h2 {
  font-size: 30px;
  color: var(--darkColor);
  /*font-family: mainFontBold;*/
  text-align: center;
}

.partnerSlideBlock .swiper-wrapper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*media*/

@media (max-width: 768px) {
    
    .categoryMainTitleHome {
        font-size: 18px !important;
        text-align: center !important;
    }
    
    .productsWrapperInner {
        width: 100%;
    }

  .mainImageWrapper {
    padding: 20px;
    height: auto;
  }

  .mainImageWrapper h1 {
    margin-top: 30px;
    /*font-family: mainFontBold;*/
    font-size: 18px;
    color: var(--darkColor);
    margin-bottom: 25px;
    text-align: center;
  }

  .mainImageWrapper h2 {
    font-family: poppins;
    font-size: 15px;
    color: var(--greyText);
    margin-bottom: 40px;
    text-align: center;
  }

  .mainImageWrapperInner {
    flex-direction: column;
  }

  .mainImageWrapperInner input[type="text"] {
    margin-bottom: 15px;
    width: 100%;
  }

  .factsWrapper {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .categoriesExampleWrapper {
    width: 100%;
    padding: 0;
  }

  .mainImageWrapperInner input[type="submit"] {
    margin-left: 0;
  }

}

@media (max-width: 600px) {
    
    .productsWrapperInner a {
        width: 46%;
    }

    .productsWrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

  .productBlock {
    width: 100%;
    height: 270px;
    flex-direction: column;
    margin: 10px 0;
  }

  .productBlock img {
    width: 100%;
    height: 150px;
  }
  
  .productBlockInfo h3 {
    margin-top: 8px;
    font-size: 16px;
  }

}

/*glass effect*/

/*
  background: rgba(130, 130, 130, 0.55);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(6.4px);
  border: 1px solid rgba(130, 130, 130, 0.32);*/