/*.block-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.popular-searches {
    width: 25%;
    padding: 20px;
    background: #f9f9f9;
}

.popular-searches h5 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.popular-searches ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-searches ul li {
    margin-bottom: 10px;
}

.popular-searches ul li a {
    color: #333;
    text-decoration: none;
}

.popular-searches ul li a:hover {
    text-decoration: underline;
}
.search-rec-grid {
  width: 100%;
  padding: 95px 5%;
  box-sizing: border-box;
}   */



.search-wrapper-full {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 100px;
  padding: 20px;
  background: #fff;
}

/* Bloc gauche */
.popular-searches {
  width: 20%;
  min-width: 200px;
  background: #f5f5f5;
    padding: 20px;
    text-align: left; 
}

.popular-searches h5 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 100;     font-family: 'SamsungOne';
}

.popular-searches ul {
  list-style: none;
  padding: 0; 
}

.popular-searches ul li {
  margin-bottom: 10px;
}

.popular-searches ul li a {
  color: #333;
  text-decoration: none;
}

.popular-searches ul li a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Bloc recommandé */
.search-rec-grid {
  width: 78%;
}

.rec-title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 100;     font-family: 'SamsungOne';
  
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.rec-item {
  border: 1px solid #eee;
  padding: 15px;
  background-color: #fff;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.rec-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rec-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.rec-item .info h3 {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.rec-item .price {
  font-weight: bold;
  color: #e60000;
}



.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 35px;
}

.rec-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 36px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.rec-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.rec-item img {
  width: 100%;

  object-fit: cover;
  display: block;
}

.info {
  padding: 12px;
  text-align: center; width: auto
}
.search_query:before {
    padding-left: 35px; 
    content: "\f002";   font-family: fontawesome;
}

.search_query::placeholder {
    color: #999 !important ; font-size: 28px ; 
    opacity: 1;  
}

#header #search_widget .block-form.active .search {
    font-size: 33px;
    padding-top: 23px;
    color: #999;
}
#search_widget .form-search .search_query { padding-left: 38px }

.info h3 {
  font-size: 16px;
  margin: 8px 0;
  font-weight: 500;
  color: #333;
  height: 44px;
  overflow: hidden;
}

.info .price {
  font-size: 14px;
  font-weight: bold; color: #000 
}
#header, #header .header-top {
  background-color: white;
}

#search_widget {
  margin-bottom: .625rem;
  overflow: auto;
}
#search_widget form {
  position: relative;
}
#search_widget form i {
  position: absolute;
  padding: .5rem;
}
#search_widget form i.clear {
  right: 15px;
  display: none;
}
#search_widget form input {
  width: 100%;
  padding: 10px 40px;
  outline: none;
  background-color: #f1f1f1;
  border: none;
  border-radius: 5px;
}

.ui-autocomplete.searchbar-autocomplete {
  width: 100%;
  min-height: 100%;
  border: none;
}

.ui-autocomplete.searchbar-autocomplete li a, .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
  padding: 8px 15px;
  overflow: auto;
  border: none;
  background: none;
  margin: auto;
  border-radius: 0;
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
  float: left;
  width: 50px;
  height: auto;
  margin-right: 8px;
}

@media only screen and (min-width: 768px) {
	
	
  #search_widget {
    float: right;
    margin-bottom: 0;
  }

  .ui-autocomplete.searchbar-autocomplete {
    width: 400px;
    min-height: auto;
    left: auto;
  }
}

@media only screen and (min-width: 992px) {
  #search_widget {
    min-width: 10px;
  }
}

@media only screen and (max-width: 780px) {
.search-wrapper-full { display: inherit}
	.popular-searches {
    width: 100%;
    min-width: 200px;
    background: #fff;
    padding: 20px;
    text-align: left;
}
	.search-rec-grid {
    width: 100%;
}
	.close-overlay {top: 39px !important ; right: 22px !important }
	
	.rec-grid {
    display: grid;
    gap: 35px;
    grid-template-columns: 1fr 1fr;
}
	.rec-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 100;
    font-family: 'SamsungOne';
    text-align: left;
    padding-left: 20px;
	} 
	  .search-rec-grid {
    max-height: 70vh; /* ou 80vh selon ton besoin */
    overflow-y: auto;
    padding-bottom: 20px;
  }
}
