/* Smart Search Plugin - Base Styles (variables, shared elements, template 1) */

.smart-search-results{
   position: relative;
    flex-wrap: wrap;
	    padding: 0 var(--padfw);
	    padding-top: 35px !important;
	display:none;
	transition: none;
	    box-shadow: 0 4px 5px -3px #434343;
    background-color: var(--smart-results-bg-color, #ffffff);
    max-height: calc(100vh - 240px);
    overflow: auto;
  }

  /* Fixed positioning for results overlay (matching P1 production) */
  .smart-search-results {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--smart-results-bg-color, #ffffff);
    max-height: calc(100vh - 240px);
    overflow: auto;
  }

  /* Column overflow and scrollbar */
  .smart-search-results .column ul {
    overflow: auto !important;
    height: 100%;
    padding-right: 5px;
  }

  .smart-search-results .column {
    height: 100%;
  }

  /* Scrollbar styling for column lists */
  .smart-search-results .column ul::-webkit-scrollbar {
    width: 5px;
  }
  .smart-search-results .column ul::-webkit-scrollbar-track {
    background: #E0E0E0;
  }
  .smart-search-results .column ul::-webkit-scrollbar-thumb {
    background: var(--smart-title-color);
    border-radius: 5px;
  }
  .smart-search-results .column ul::-webkit-scrollbar-thumb:hover {
    background: var(--smart-title-color);
  }

  /* Scrollbar styling for results container (template1) */
  .template1-active .smart-search-results::-webkit-scrollbar {
    width: 5px;
  }
  .template1-active .smart-search-results::-webkit-scrollbar-track {
    background: #E0E0E0;
  }
  .template1-active .smart-search-results::-webkit-scrollbar-thumb {
    background: var(--smart-title-color);
    border-radius: 5px;
  }
  .template1-active .smart-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--smart-title-color);
  }

  /* Scrollbar styling for results container (template2) */

  .smart-search-inner {
    display: flex;
    flex-wrap: wrap;
    max-width: var(--smart-results-max-width, 100%) !important;
    overflow: hidden;
    padding-top: 35px !important;
    margin: auto;
  }

  /* Mobile: stack columns vertically */

  .search-bar-container{

	  display:flex;

  }

  

  #smart-search-input {

	  border: solid 1px rgb(213 216 232 / 60%);

	  border-top-right-radius:5px;

	  border-bottom-right-radius:5px;

	  border-top-left-radius:0px;

	  border-bottom-left-radius:0px;

	   width:90%;

	  background-color: var(--smart-searchbar-bg-color, #ffffff) !important;
	  color: var(--smart-searchbar-text-color, #000000) !important;

  }

  #smart-search-input::placeholder {
	  color: var(--smart-searchbar-text-color, #000000) !important;
	  opacity: 0.6;
  }

  #smart-search-category{

	  border: solid 1px rgb(213 216 232 / 60%);

	   border-top-left-radius:5px;

	  border-bottom-left-radius:5px;

	   border-top-right-radius:0px;

	  border-bottom-right-radius:0px;

     width:10%;

	     padding-left: 15px;

		 margin-right:-1px;

     box-sizing: border-box;
     align-self: stretch;

	  background-color: var(--smart-searchbar-bg-color, #ffffff) !important;
	  color: var(--smart-searchbar-text-color, #000000) !important;

  }

  

  

  .smart-search-inner{

    flex-wrap: wrap;

max-width: var(--smart-results-max-width, 100%) !important;

    overflow: hidden;

    padding-top: 35px !important;

    display: flex;

	margin:auto;

  }


  .banner img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .all-banner-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 50px;
    gap: 5%;
    align-items: end;
  }

  .smart-search-results .column {

    margin: 10px;

       flex: 1;

 

  }

  

   
  #speech-to-text-button {
    background: url('../includes/assets/img/mic.svg') no-repeat center;
    background-size: contain;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none;
    z-index: 10;
    flex-shrink: 0;
    margin-left: 4px;
    margin-right: 4px;
  }

  .search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
  }

  _.smart-search-results a span {

    font-size: 16px;

    

}

.smart-search-results h3 {

    font-size: 20px;

    margin-bottom: 20px;

    border-bottom: 1px solid #DAE4E4;

}

  .smart-search-results ul {

    list-style: none;

    padding: 0;

    margin: 0;

  }

  .smart-search-results {

    position: fixed;

	  top: 0;

    z-index: 99;

    left: 0;

    width: 100%;

    background-color: #ffffff;

	    max-height: calc(100vh - 240px);

    overflow: auto;

}

.sticky_header #smart-search-results{

}

 .smart-search-results .products ul li {

    border-bottom: 1px solid #D9D9D9;

}


.smart-search-results ul li:first-child {

    padding-top: 0;

}


.smart-search-results ul li {padding: 10px 0;}

.smart-search-results .products ul li:last-child {

    border: none;

}

  

  .smart-search-results a {

    text-decoration: none;

    color: var(--smart-text-color) !important;

    display: flex;

    align-items: flex-start;

	  transition:all 0.2s;

}

.smart-search-results ul li a:hover{

	 color: var(--smart-secondary-color) !important;

} 

  .smart-search-results img {

      width: 115px;

    height: 139px;

    margin-right: 10px;

    object-fit: contain;

  }

.smart-search-results .column ul {

    overflow: auto;

    height: 100%;

	padding-right: 5px;

}


.smart-search-results .column {

    height: 100%;

}

.highlighted {

  color:var(--smart-secondary-color); 

    font-weight: bold;

}

.loader {

    border: 4px solid rgba(0, 0, 0, 0.3);

    border-top: 4px solid var(--smart-secondary-color);

    border-radius: 50%;

    width: 40px;

    height: 40px;

    animation: spin 0.6s linear infinite;

    font-size: 0;

    margin: auto;

    margin-bottom: 20px;

}


@keyframes spin {

  0% { transform: rotate(0deg); }

  100% { transform: rotate(360deg); }

}

.no-results {

    margin: auto;

    margin-bottom: 20px;

    font-size: 17px;

}

.close-btn {

    width: 33px;

    height: 33px;

    position: sticky;

    cursor: pointer;

    top: 5px;

    margin-left: auto;

    margin-right: 40px;

    background-color: var(--smart-title-color);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 100;

}

.close-in-wrapper{

	position: relative;

	width: 25px;

	height: 25px;

	

}

.close-in-wrapper::before {

    transform: rotate(45deg);

}

.close-in-wrapper::before, .close-in-wrapper::after {

    content: '';

    position: absolute;

    width: 25px;

    height: 2px;

    top: 50%;

    left: 0;

    background-color: #ffffff;

    display: block;

    transform-origin: center;

    margin-top: -1px; /* Vertically center the pseudo-elements */

}

.close-in-wrapper::after {

    transform: rotate(-45deg);

}


 /* Apply styles to the entire scrollbar */

    .smart-search-results .column ul::-webkit-scrollbar {

      width: 5px; /* Set the width of the scrollbar */

    }


    /* Apply style to the track (the area behind the thumb) */

    .smart-search-results .column ul::-webkit-scrollbar-track {

      background: #E0E0E0; /* Change the track color */

    }


    /* Apply style to the scrollbar thumb (the draggable handle) */

    .smart-search-results .column ul::-webkit-scrollbar-thumb {

      background: var(--smart-title-color); /* Change the color of the thumb */

      border-radius: 5px; /* Round the corners of the thumb */

    }


    /* Apply style to the scrollbar thumb when hovering over it */

    .smart-search-results .column ul::-webkit-scrollbar-thumb:hover {

      background: var(--smart-title-color); /* Change the color of the thumb on hover */

    }		/* Example CSS for Template 2 */.template2-categories {    /* Styles for categories section */}.template2-products {    /* Styles for products section */}.template2-popular-products {    /* Styles for popular products section */}.template2-products img {    /* Styles for product images */}.close-btn {    /* Styles for close button */}

	

	

	.topMenuNavbar.fixed .header_search_cont {

    display: none;

}

.cd-dropdown-wrapper-search {

    display: flex;

}


.topMenuNavbar.fixed .cd-dropdown-wrapper-search .header_search{

 display: block;

}


.cd-dropdown-wrapper-search .header_search {

    margin-left: 20px;

    font-size: 13px;

    display: none;

}

.header_search_fixed_cont {


    min-width: 238px;

}

.header_search_cont {

    padding-left: 35px;

    padding-right: 35px;

        padding-top: 14px;

    padding-bottom: 14px;

        position: relative;

    z-index: 99;

}

.header_search {

    position: relative;

    max-width: 550px;

    margin: auto;

}

.header_search input {

    border: none;

    border-bottom: 1px solid #F47B3B;

    width: 100%;

    padding-left: 10px;

    background-image: url(../img/search.png);

    background-size: auto;

    background-repeat: no-repeat;

    background-position: 99% center;

    min-height: 40px;

    transition: all 500ms;

}

.header_search.active-search input,

.header_search_fixed_cont.active-search  input{

  border-bottom: solid 4px #F47B3B;

  background-image: url(../img/search_active.png);

  background-size: auto;

  background-repeat: no-repeat;

  background-position: 0% center;

  padding-left: 30px;

  transition: all 500ms;

}


.smart-search-results .column.template1 {

    margin: 10px;

    flex: 1;

    padding-left: 35px;

    padding-right: 35px;

    margin-left: 0;

    margin-right: 0;

}


.template1 h3{

	font-size: 18px;

    border-bottom: 1px solid #787878;

    padding-bottom: 5px;

    margin-bottom: 15px;

	color: black;

	font-weight: 500;

}


.template1.categories ul li{

	font-size: 16px;

    margin-bottom: 10px;

	padding:0;

}


.template1 ul li a{

	

	font-weight: 500;

	

}


.template1.products ul li{

	background-color: #fff;

    padding: 5px;

    margin-bottom: 10px;

}


.template1.products ul li a{

	color: #000;

	font-size:14px;

	font-weight: 500;

}

.template1.popular-products ul li{

	font-size: 16px;

    margin-bottom: 10px;

	padding:0;

	font-weight: 500;

}


.template1-close-wrapper::before, .template1-close-wrapper::after {

    content: '';

    position: absolute;

    width: 12px;

    height: 2px;

    top: 50%;

    left: calc(50% - 6px);

    background-color: #ffffff;

    display: block;

    transform-origin: center;

    margin-top: -1px;

    margin: auto;

}


.template1-close-results {

    width: 40px;

    height: 30px;

    position: absolute;

    cursor: pointer;

    top: 20px;

    right: 40px;

    background-color: var(--smart-title-color);

    display: flex;

    align-items: center;

    justify-content: center;

}


.template1-active .smart-search-results {

    background-color: var(--smart-results-bg-color, #ffffff); /* Configurable via settings */

	margin-top:10px;

	max-height: calc(100vh - 240px);

	overflow: auto;

	

}


.template1-active .smart-search-results img{

	    width: auto;

    max-width: 115px;

    height: 139px;

    margin-right: 10px;

    object-fit: cover;

	

}


.template1-active .smart-search-results ul {

	max-height:350px!important;

}


.see-all-results-container {

    text-align: center;

   

    width: 100%;

    display: block;

    margin-bottom: 50px;

    margin-top: 50px;

}


/* Button styling */

.see-all-results-btn {

    padding: 10px 20px;

    background-color: transparent; /* Change to desired color */

    color:var(--smart-text-color)!important;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-size: 16px;

}


.see-all-results-btn:hover {

    color: var(--smart-secondary-color) ; /* Hover color */

}


/* Apply styles to the entire scrollbar */

   .template1-active .smart-search-results::-webkit-scrollbar {

      width: 5px; /* Set the width of the scrollbar */

    }


    /* Apply style to the track (the area behind the thumb) */

  .template1-active  .smart-search-results::-webkit-scrollbar-track {

      background: #E0E0E0; /* Change the track color */

    }


    /* Apply style to the scrollbar thumb (the draggable handle) */

   .template1-active .smart-search-results::-webkit-scrollbar-thumb {

      background: var(--smart-title-color); /* Change the color of the thumb */

      border-radius: 5px; /* Round the corners of the thumb */

    }


    /* Apply style to the scrollbar thumb when hovering over it */


    /* Apply style to the track (the area behind the thumb) */


    /* Apply style to the scrollbar thumb (the draggable handle) */


    /* Apply style to the scrollbar thumb when hovering over it */

	

	.product-price{

	text-align: right;


    margin-top: 20px;

	}

	

	.product-price .woocommerce-Price-amount bdi{

	font-size:14px;

	color:var(--smart-text-color);

	}

	

	.product-desc{

    display: flex;

    flex-direction: column;

    justify-content: space-between;

		width:100%

	}

	
/* ===========================================
   HERO TEMPLATE (Template 3) - CSS
   Added from Plugin 2 reference
   =========================================== */

/* Glass overlay background */

/* Search toggle icon (magnifying glass in header) */

/* Hero Search Content */

.active-results-fixed {
  overflow: hidden;
}

/* Hero search bar inner layout */

.inner-result-container {
  width: 100%;
  position: relative;
  padding: 20px 24px;
  box-sizing: border-box;
}

/* Hero product images - grid with rounded corners */

/* Hero product card - vertical stack */

/* Hero product grid */

/* Hero product bottom fade */

/* Hero columns layout - 3 columns */

/* Override global .smart-search-results .column { flex: 1; margin: 10px } */

/* Override global .smart-search-results a { display: flex; color: var(--smart-text-color) } */

/* Override global .smart-search-results ul li { padding: 10px 0 } */

/* Override global .smart-search-results img sizes */

/* Hero category list - text only, one category per line */

/* Hero popular products list */

/* Search info text at bottom of categories */

/* Hero category images */

/* Hero scrollbar - minimal style matching P2 */

/* Hero outer results scrollbar */

/* Hero speech-to-text mic - white icon, positioned inside search bar */

/* Hide \"Search\" tab when results are showing */

/* Override global h3 border for hero */

/* Hide search-info (i) icon in hero - matches P2 */

/* Close button - hidden until results load */

/* Keep the close-in-wrapper X via pseudo-elements, just make it smaller */

/* Mic inside hero search bar - make it white */

/* Hide the orphaned mic that the old JS injects directly into .header_center */
.header_center > #speech-to-text-button {
  display: none !important;
}

.search-results-append {
  position: static;
  bottom: -31px;
  left: 0;
  right: 0;
}

.btn-search {
  height: 33px;
  padding: 0 32px;
  border-radius: 45px;
  font-size: 14px;
  letter-spacing: -0.36px;
}

.search-info {
  position: absolute;
  right: 17px;
  right: calc((4.5% - 22px) / 2);
  bottom: 14.5px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.search-info svg {
  display: block;
}

.rest-pages-search.active-results .search-info {
  top: 38.5px;
  bottom: unset;
}

.news-swiper .swiper-slide.is-hidden .news-copy {
  opacity: 0;
}

/*
 * Smart Search state fixes
 * Load this file AFTER the existing smart-search.css.
 * It keeps the current design and fixes only the overlay/results state.
 */

body.active-results-fixed {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

/* Keep the glass overlay stable without using z-index:-1. */

/* The search wrapper must stay above the glass overlay. */

/*
 * IMPORTANT:
 * active-results means "the search UI is open".
 * has-search-results means "the AJAX/results panel is visible".
 * So the big dark background must NOT appear just because the search opens.
 */

/* Hide the results holder when the UI is open but there are no results yet. */

/* Prevent the sticky/collapsed background from staying when the overlay is open. */

/* Keep the current fixed/static layout from the existing CSS, only normalize display. */
.search-results-append {
  width: 100%;
}

/* Product bottom fade should not block clicks or prices. */
.column.template1.products:after {
  pointer-events: none;
}

.column.template1.products.is-at-bottom:after {
  opacity: 0;
}

.column.template1.products ul {
  padding-bottom: 20px;
}


/* ================================
   FINAL Smart Search state override
   Keep this block at the very end.
================================ */


div#wpadminbar {

}
html {

}
 


/*END OF 1680*/

/*END OF 1560*/
/*END OF 1440*/

/*END OF 1366*/

/*END OF 1280*/

/*END OF 1250*/
/*END OF 1230*/

/*END OF 1200*/
/*END OF 1140*/

/*END OF 1199*/

/*END OF 991*/

/*END OF 900*/
/*END OF 768*/

/*END OF 767*/

/*END OF 760*/

/*END OF 720*/

/*END OF 640*/

/*END OF 575*/

/*END OF 480*/

/*END OF 390*/

/*END OF 360*/
