.catalogsearch-result-index .page-title {
  display: none;
}
.custom-search-result-page h2 {
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  font-weight: 900;
  font-family: "Roboto-BlackItalic";
  margin-bottom: 24px;
}
.custom-search-result-page h2 span {
  color: #639018;
  font-style: italic;
}
#mixedSlider {
  padding: 0;
  padding-bottom: 40px;
}
#mixedSlider .MS-content .item {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap:15px;
}
#mixedSlider .MS-content .postwrap-content {
  padding: 12px;
  border: 1px solid #639018;
  display: flex;
  flex-direction: column;
  width: 24%;
}

#mixedSlider .bottom-home-page-blog-button a {
  color: #fff !important;
  background-color: #639018;
  width: 50%;
  margin: 0 auto;
  padding: 15px 1em;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-family: "Roboto-BlackItalic";
  font-style: italic;
  text-align: center;
}

#mixedSlider .bottom-home-page-blog-button a:hover {
  color: #639018 !important;
  background: #eee;
  box-shadow: 1px 1px 1px 1px #639018;
}

#mixedSlider .bottom-home-page-blog-button {
  margin: 15px auto;
  text-align: center;
  padding: 10px;
}

#mixedSlider .post-title {
  margin-top: 10px;
}

#mixedSlider a.post-item-link {
  font-family: "Roboto-BlackItalic";
  font-style: italic;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.1;
}
.related-categories {
  margin: 20px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
  gap: 0;
  width: 100%;
  padding-bottom: 20px;
}

.category-item {
  box-sizing: border-box; 
  text-align: center; 
  border: 1px solid #639018; 
  padding: 15px;
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  min-height: 316px; 
  border-right: 0px;
}
.category-item:last-child {
  border: 1px solid #639018;
}
.category-item img {
  max-width: 100%; 
  height: auto;
  height: 129px; 
  object-fit: contain; 
}
.category-name {
  font-size: 16px;
  letter-spacing: 0px;
  color: #020202;
  font-weight: 500;
  font-family: "Roboto-Regular";
  padding: 10px;
  text-transform: capitalize;
}
.category-name,
.product-count {
  display: block; 
  margin-top: 5px;
}
.product-count {
  padding: 0 10px;
  color: #639018;
}
.post-text-hld {
  min-height: 100px;
}
.related-pages .show-count {
  font-size: 16px;
  letter-spacing: 0px;
  line-height: 22px;
  color: #020202;
  font-weight: 500;
  font-family: "Roboto-Medium";
  padding-bottom: 10px;
}
.related-pages h3 {
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 22px;
  color: #000000;
  font-weight: 700;
  padding-bottom: 8px;
}
.related-pages p {
  font-size: 15px;
  letter-spacing: 0px;
  line-height: 22px;
  color: #020202;
  font-weight: 400;
}
.view-link {
  font-size: 16px;
  letter-spacing: 0px;
  line-height: 22px;
  text-decoration: underline;
  color: #639018;
  font-weight: 700;
}
.page-item {
  padding-bottom: 10px;
  border: 1px solid #e3e3e3;
  border-top: none;
  border-left: none;
  border-right: none;
}
.page-item:last-child {
  border-bottom: none;
}
.custom-search-result-page .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 0; 
  margin: 0 auto;
}

.custom-search-result-page .product-item {
  flex: 1 1 calc(25% - 20px);
  box-sizing: border-box;
  margin: 10px;
  border: 1px solid #639018;
  padding: 15px;
  text-align: center;
  background-color: #fff;
  transition: box-shadow 0.3s;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 375px;
}

.custom-search-result-page .product-item img {
  object-fit: contain;
  margin-bottom: 10px;
  width: 326px;
  height: 217px;
  color: #639018;
  border: 1px solid #639018;
  padding: 10px;
}

.custom-search-result-page .product-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.product-name {
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 22px;
  color: #020202;
  font-weight: 700;
  text-align: left;
  padding: 10px 0px;
}
.product-price {
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 22px;
  color: #639018;
  font-weight: 700;
  text-align: left;
}
.product-price-each {
  font-size: 15px;
  color: #020202;
  font-weight: lighter;
}
.search-add-to-cart .action.tocart {
  background-color: #639018;
  text-decoration: none;
  padding: 12px 24px;
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0px;
  line-height: 22px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 900;
  font-family: "Roboto-BlackItalic";
  margin-top: 15px;
}
.highlight {
  color: #639018;
  text-transform: capitalize;
}
@media screen and (min-width: 768px) and (max-width: 1079px) {
  .category-grid,
  .custom-search-result-page .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-item {
    margin: 8px;
    border: 1px solid #639018 !important;
  }
  #mixedSlider .MS-content .postwrap-content {
    width: 49%;
    margin: 5px 0;
  }
}
@media only screen and (max-width: 767px) {
  .custom-search-result-page h2 {
    font-size: 22px;
  }
  .category-grid {
    display: block;
    padding: 0 8px;
  }
  .category-item {
    min-height: unset;
    margin: 10px;
    border: 1px solid #639018 !important;
  }
  
  .custom-search-result-page .product-grid {
    display: block;
    padding: 0 8px;
  }
  #mixedSlider .MS-content .postwrap-content {
    width: 100%;
    margin: 5px 0;
  }
  .related-pages {
    padding: 0 8px;
  }
}
