#product_list,
#adas_product_results {
    display: grid;
   grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px; 
}
#no-more-products {
    display: block !important;
    color: red; /* Make the message very visible for testing */
}

.adas-default-search-layout-section #product_list,
#adas_product_results {
    display: grid;
   grid-template-columns: repeat(2, 1fr);
    gap: 16px; 
    padding: 16px; 
}
#adas_category_list {
        max-height: 200px; 
        overflow-y: auto;  
        overflow-x: hidden; 
        border: 1px solid #ccc; 
        padding: 10px; 
        background-color: #fff; 
        list-style: none !important;
    }
    #adas_category_list  li{
      list-style: none !important;
    }
    #adas_product_results .product-item{
 border: 1px solid #ddd; 
    }


#adas_product_results .product-item,
#product_list .product {
    border: 1px solid #ddd; 
    padding: 16px;
    text-align: center; 
    background: #fff; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
}

#adas_product_results
{
  border: 1px solid #ddd; 
}
#adas_product_results .product-item img,
#product_list .product img {
    max-width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
}
.adas_badges_block ul li{
  list-style: none;

}
.adas_badges_block{
  text-align: center;
  width:80%;
}

.adas_search_badges,
.adas_search_outofstock{
  padding: 8px;
}
.adas-badge-sale{
  margin: 15px auto;
}
.adas_search_div {
    position: relative; 
}


.adas_main_div::-webkit-scrollbar {
  width: 12px;               
}

.adas_main_div::-webkit-scrollbar-track {
  background: #f1f1f1;       
}

.adas_main_div::-webkit-scrollbar-thumb {
  background-color: grey;    
  border-radius: 20px;      
  border: 4px solid #f1f1f1;  
}

.adas-default-search-layout-section{
  position: relative;
    display: inline-flex;
    width: 100%;
}


.adas-default-search-layout-section .default_dropdown{
  display: inline-block;
  margin:0px 3px;
  width: 12%;
}

.adas-default-search-layout-section .default_search_div{
  position: relative;
  display: inline-block;
  margin:0px 3px;
  width: 64%;
}

.adas-default-search-layout-section .adas-search-btn-box{
  display: inline-block;
  margin:0px 3px;
  width: 12%;
}
/* Styling for the category panel */
.temp4_category {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}
.temp4_category{
  display: none;
}

/* Category dropdown styling */
.category-panel {
    margin-bottom: 15px;
}

select#adas_category {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Product list styling */
#product_list {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;

}
.price .onsale{
  display: block !important;
  width: 35%;
  margin: 10px auto;
}

/* Loading image container */
.img_div {
    text-align: center;
}

.adas_gif {
    max-width: 100px;
    height: auto;
}

.adas_hiddenbox {
    display: none; 
}
.adas_message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.adas_message.success {
    color: green;
    background-color: #e6ffe6;
}

.adas_message.error {
    color: red;
    background-color: #ffe6e6;
}
.adas_search_featured{
  padding: 5px;
}

/*====== Full Width Layout Classes =====*/

.adas-fullwidth-search-layout-section .adas_dropdown{
  display: inline-block;
  margin:0px 3px;
  width: 15%;
}


.adas-fullwidth-search-layout-section .adas_search_div{
  margin: 15px 5px;
    width: 85%;
    position:  relative;
}

.adas-fullwidth-search-layout-section{
  width: 100%
}

.adas-fullwidth-search-layout-section .adas-search-btn-box{
      width: 15%;
      margin-top: 15px;
}

.adas-search-form{
  text-align:left!important;
}

.adas_wide_search_button{
  width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.adas_dropdown select,
.default_dropdown select{
  height:40px;
  border-radius: 0px;
  width: 100%;
}

.adas_search{
  width: 100%;
  border:1px solid rgb(133, 133, 133) !important;
  background-color: transparent !important;
  box-shadow: none !important;
  height: 40px !important;
}

.adas_excerpt_class{
  color:black!important;
}

.adas_button{
    background-color: #186e8a !important;
    color: white !important;
    height: 40px; 
    width: 100%;
    padding: 5px 10px !important;
    font-size: 14px;
    line-height: 24px;
    min-height: 40px;
}

.adas_title{
  padding-left:10px;
}

.adas_hiddenbox{
  display:none;
  position: absolute;
  z-index: 99999;
  width: 100% !important;
  background-color: #ffffff;
}
.adas_gif{
    width: 3%;
    display: none;
    position: absolute;
    right: 5px;
    top: 7px;
}




.adas_main_div{
  overflow-y: scroll;
    overflow-x: hidden;
  max-height: 400px;
  min-height: auto;
  clear: both;
  box-sizing: border-box;
    border: 1px solid #00000024;
}

.adas_result_div_hide{
  display:none !important;
}



.adas_search_thumbnail img{
  max-width: 75px;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 75px;
    object-fit: contain;
}

.adas_link{
  text-align:center; 
}
.adas_search_categories{
  margin-left: 100px;
}
.adas_search_desc{
  background-color: yellow;
}

.adas_search:focus{
    outline: none;
}


.adas_cart_button{
  width:60%;
  height:25px;
  background-color: red;
  color:white;
  margin-top: 10px;
  padding-top: 4px;
}
.adas_row{
  padding:30px;
}

.col-lg-3{
  width:31%;
  float:left;
  border: 2px solid;
  border-color:#ebebeb;
  padding:30px;
  margin-right:20px;
  margin-top:40px;
}
.img{
  width:200px;
  height:210px;
  margin-left:20px;
  border-radius:20px;
}
.title{
  color:black;
  text-align:justify;
  font-size:1.2rem;
  margin-left: 5px;
   margin-right: 5px;
}



/*========= Full Width Template One ========*/

.adas_product_link{
  width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.koalaapps_template_one_default,
.koalaapps_template_one_wide,
.adas-right-content{
  box-sizing: border-box;
    overflow: hidden;
    padding: 10px 10px 15px;
    margin-bottom: 15px;
    
}

.adas_result_div a{
  text-decoration: none !important;
}

.adas_search_thumbnail{
  flex-grow: 1;
}

.adas_search_title{
  flex-grow: 4;
}
.adas_pages_search_title{
  flex-grow: 10;
}

.adas_search_title .button{
  font-size: 11px;
    line-height: 21px;
    padding: 5px 12px !important;
}

.adas_search_badges_block{
  flex-grow: 7;
}

.adas_search_badges_block ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.adas_search_badges_block ul li span{
  margin-right: 5px;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 20px;
    padding: 0px 5px;
    display: block;
    text-align: center;
}

.greetings-pagination-col-md-12 p{
  font-size: .875em;
  color: #6d6d6d;
  line-height: 1.618;
    text-rendering: optimizeLegibility;
    font-weight: 400;
}

.greetings-pagination-col-md-12 .page-numbers {
    border-left-width: 0;
    display: inline-block;
    padding: .3342343017em .875em;
    background-color: rgba(0,0,0,.025);
    color: #43454b;
    list-style: none;
    margin: 0;
    text-decoration: none;
    
}

.greetings-pagination-col-md-12 .woocommerce-pagination a {
  text-decoration: none !important;
}

.greetings-pagination-col-md-12 a.page-numbers:hover{
  background-color: rgba(0,0,0,.05);
  text-decoration: none;
}

.greetings-pagination-col-md-12 .woocommerce-pagination .current{
  background-color: #e6e6e6;
    color: #636363;
}
.custom-grid,
.site-main ul li.product{
  display: inline-block;
  float: none !important;
  vertical-align: top;
  margin-bottom: 15px !important;
  margin-right: 0px !important;
}



/*=========== Widget Search =============*/

.widget-area .adas_product_link{
  width: 100%;
    display: block !important;
}


.widget-area .adas_search_badges_block ul li {
  flex-grow: 6; 
}

.widget-area .adas_search_badges_block ul li span{
  margin-top: 10px;
}
.widget-area .adas-fullwidth-search-layout-section{
  display: block !important;
}
.widget-area .adas-default-search-layout-section {
    display: block !important;
}


.widget-area .default_dropdown{
  width: 45% !important;
  margin-bottom: 10px !important;
}

.widget-area .adas_dropdown{
  width: 45% !important;
  margin-bottom: 10px !important;
}

.widget-area .adas-default-search-layout-section .default_search_div{
  width: 64% !important;
}

.widget-area .adas-fullwidth-search-layout-section .adas_search_div{
  width: 64% !important;
}

.widget-area .adas-default-search-layout-section .adas-search-btn-box{
  width: 28% !important;
}

.widget-area .adas-fullwidth-search-layout-section .adas-search-btn-box{
  width: 28% !important;
}

.widget-area .adas_gif{
  width: 12% !important;
}

.widget-area .adas_gif{
  width: 12% !important;
}

.adas_pages_class{
  object-fit: contain;
    height: 324px;
    width: 324px;
}
@media screen and ( max-width: 600px ) {
   .adas_wide_search_button{
    display: flex;
   }
   .adas-fullwidth-search-layout-section .adas_search_div{
    width: 75%;
   }
   #product_list, #adas_product_results, .adas_product_link{

    display: block;
  }
  #product_list .product {
    margin-bottom: 10px;
  }
  
  .adas_gif{
    width: 12%;
  }
  .product a{
    font-size: 14px;
  }
    .adas-default-search-layout-section{
    width: 100%;
   }
   .adas_button{
    width: auto;
    height: auto;
   }
   .adas-fullwidth-search-layout-section .adas_dropdown, .default_search_div{
    width: 50%;
   }
  .adas_badges_block{
margin: 0 auto;
  }
   .adas-default-search-layout-section .default_dropdown{
    width: 15%!important;
   }
   .adas-search-btn-box{
    width: 20%!important;
   }
   #product_list{
    display: block!important;
   }
   .product-item{
    margin-bottom: 10px;

   }
}