/**
* 2007-2022 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.rs-flags {
  position: absolute;
  max-width: 40px;
}

.rs-search-dropdown i {
  font-size: 24px;
  color: #000;
}

.rs-search-dropdown {
  display: none;
  cursor: pointer;
}

.rssearch {
  max-width: unset !important;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  position: absolute;
  width: 100%;
  padding: 0;
  z-index: 3;
}

.rssearch .form-search-control::placeholder {
  color: #be1212 !important;
}

.rssearch .form-search-control {
  font-size: 20px;
  padding: 1.2rem 1.2rem;
}

.rssearch form {
  width: 100%;
  max-width: 860px;
  box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 15%);
  margin: auto;
}

.rssearch .search-btn i {
  font-size: 22px;
}

.rssearch .search-btn {
  right: 12px !important;
}

.searchbar-autocomplete {
  width: 100vw !important;
  max-width: 1200px;
  border: 0 !important;
  padding: 26px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: 0 !important;
  right: 0 !important;
  border-radius: 0;
  box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 15%);
  border-radius: 0 !important;
  column-count: 2;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  border: unset !important;
  background: unset !important;
}

.searchbar-autocomplete .ui-menu-item {
  cursor: pointer;
}

.searchbar-autocomplete li span {
  color: #000;
}

.searchbar-autocomplete li a {
  padding: 5px 18px !important;
}

.searchbar-autocomplete li {
  width: 100% !important;
}

.searchbar-autocomplete li.category-suggestion {
  display: contents;
  float: right;
}

.searchbar-autocomplete li.product-suggestion {
  float: left;
  display: contents;
}

.searchbar-autocomplete img {
  width: 70px;
}

.suggestion-title {
  margin-bottom: 15px;
}

.searchbar-autocomplete li a span:not(.searchbar-autocomplete .category-suggestion a span) {

  margin-left: 8px;
}

.searchbar-autocomplete li a {
  padding: 5px 18px 5px 0px !important;
}

@media(max-width:991px) {
  .ui-autocomplete.searchbar-autocomplete {
    top: 55px !important;
  }

  .searchbar-autocomplete {
    column-count: 1;
  }

  .searchbar-autocomplete li a {
    padding: 5px 18px 5px 0px !important;
    display: flex !important;
  }

  .searchbar-autocomplete li a span:not(.searchbar-autocomplete .category-suggestion a span) {
    margin-top: 20px;
    margin-left: 8px;
  }

  .searchbar-autocomplete .category-suggestion a {
    margin-top: 8px !important;
  }
}

.rssearch_containter_rs {
  z-index: 20;
  position: absolute;
  top: 110px;
  background: white;
  width: 100%;
  padding: 15px;
  display: none;
  max-width: 1200px;
  margin: auto;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 15%);
}

.searchbar-autocomplete {
  display: none !important;
}

.rssearch_sugestions_containter {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.rssearch_sugestions_containter li {
  margin-right: 30px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  margin-bottom: 15px;
}

.rssearch_sugestions_containter li a {
  color: black;
}

.rssearch_products_containter li {
  margin-left: 15px;
}

@media(max-width:991px) {
  .rssearch_containter_rs_mobile .category-suggestion a {
    margin-top: 0px;
  }

  .rssearch_containter_rs_mobile .rssearch_sugestions_containter {
    margin-top: 10px;
    display: block;
    padding: 0px;
  }

  .rssearch_containter_rs_mobile .rssearch_sugestions_containter li {
    border: none;
    margin: 0;
  }

  .rssearch_containter_rs_mobile .rssearch_sugestions_containter a {
    display: block;
    text-align: left;
  }

  .rssearch_containter_rs_mobile .rssearch_products_containter a {
    display: flex;
    text-align: left;
    justify-content: flex-start;
  }

  .rssearch_products_containter li {
    margin-left: 0px;
  }

  .rssearch_containter_rs_mobile h3 {
    display: none;
  }

  #search-widget-mobile .ui-autocomplete-input {
    font-size: 18px;
    color: #333;
  }

  #search-widget-mobile {
    padding: 0 !important;
    overflow: auto;
  }

  #search-widget-mobile .search-btn {
    font-size: 18px;
  }

  #search-widget-mobile form {
    border-bottom: unset !important;
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 15%);
  }

  .rssearch_containter_rs_mobile {
    padding: 0 15px;
    height: 100%;
  }

  .rssearch_containter_rs_mobile h3 {
    font-size: 16px;
  }

  .rssearch_containter_rs_mobile li span,
  .rssearch_containter_rs_mobile li a {
    color: #333 !important;
    font-weight: 500;
  }

  .rssearch_products {
    margin-top: 20px;
    height: fit-content;
    padding-bottom: 60px;
  }

  .rssearch_products li a {
    margin-top: 10px !important;
  }

  .rssearch_products img {
    width: 80px;
    padding: 10px;
  }

  #search-widget-mobile form {
    position: sticky;
    width: 100%;
    top: 0;
  }

  #search-widget-mobile {
    height: 100vh !important;
  }

  .rss-search-close {
    position: sticky;
    width: 50px;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    top: calc(100vh - 46px);
    background: #fff;
    margin-left: auto;
    margin-right: 18px;
  }

  .rss-search-close svg {
    width: 45px;
    height: 45px;
    background: #fff;
    box-shadow: 0px 6px 20px rgb(49 36 133 / 15%);
    padding: 8px;
    border-radius: 50%;
  }

}

.rssearch_products .product-suggestion .product {
  text-align: center;
}

.rs-search-dropdown .fa-search::before {
  content: "\f002";
}

.rs-search-dropdown {
  z-index: 30;
  position: relative;
}

@media(max-width:767px) {
  .rs-search-dropdown {
    float: right;
    margin-top: 14px;
    margin-left: 20px;
  }

  .rssearch_containter_rs {
    top: 138px;
  }

  .rssearch_sugestions .rssearch_sugestions_containter {
    margin-bottom: 0;
  }

  .rssearch_sugestions_containter li:last-child {
    margin-bottom: 0px;
  }
}

@media(min-width:767px) {
  .rs-search-dropdown {
    margin-left: 33px;
    margin-top: 12px;
  }
}

.product-suggestion .product_price {
  float: right;
  margin-top: 25px;
  color: black;
  /* margin-right: 35px; */
  display: block;
}

.product-suggestion .product_price_discont {
  float: right;
  display: block;
  text-decoration: line-through;
  /* margin-right: -60px; */
}

.rssearch_products .product-suggestion .product {
  font-weight: 300;
}

/* Modifications version 1.0.3 */

.all_product_view_mobile {
  width: 100%;
  display: block;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  font-weight: 600;
  padding: 18px;
  margin-top: 19px;
}

.all_product_view {
  width: 100%;
  display: block;
  margin-left: 19px;
  color: #e95705;
  cursor: pointer;
  margin-top: 20px;
  position: sticky;
  bottom: -1px;
  margin: 0;
  padding: 11px;
  text-align: center;
  font-size: 15px;
  color: #333;
  font-weight: 600;
  /* box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%); */
  background: #fff;
}

.product-suggestion .product_price {
  float: right;
  margin-top: auto;
  font-weight: 700;
  color: black !important;
  font-size: 15px;
  padding-top: 12px;
  text-align: center;
}

.product-suggestion>a {
  height: 100%;
}

.product-suggestion .product_price_discont {
  float: right;
  display: block;
  text-decoration: line-through;
  text-align: center;
}

.rssearch_containter_rs a:hover {
  color: #fc0 !important;
}

.rssearch_products .product-suggestion .product {
  font-weight: 300;
  height: 36px;
  overflow: hidden;
}

.rssearch_sugestions {
  width: 23%;
  border-right: 2px solid #e5e5e5;
}

.rssearch_products {
  width: 77%;
}

.rssearch_products_containter {
  padding-right: 15px;
  padding-bottom: 15px;
  padding-top: 15px;
}

.rssearch_sugestions h3 {
  font-size: 18px;
  margin-left: 18px !important;
  margin-top: 14px !important;
}

.rssearch_sugestions_containter {
  padding-top: 10px;
}

.rssearch_products h3 {
  font-size: 18px;
  padding-top: 14px;
  margin-left: 0 !important;
  padding-bottom: 14px;
  margin-bottom: 0;
  /* box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%); */
}

.rssearch_products_containter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-left: 2%;
}

.rssearch_products ul {
  max-height: 520px;
  overflow: auto;
}

.rssearch_products_containter .product-suggestion a {
  display: flex;
  flex-direction: column;
}

.rssearch_products ul {
  scrollbar-width: thin;
  scrollbar-color: #666 #dedee5;
}

.rssearch_products ul::-webkit-scrollbar {
  width: 6px;
  cursor: pointer;
}

.rssearch_products ul::-webkit-scrollbar-track {
  background: #dedee5;
}

.rssearch_products ul::-webkit-scrollbar-thumb {
  background: #666666;
  border-radius: 0;
}

@media (max-width: 991px) {
  #search-widget-mobile {
    -webkit-transform: scaleY(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #mobile-btn-search>.m-nav-btn {
    display: none !important;
  }

  .rss-search-close {
    display: none;
  }

  .product-suggestion .product_price_discont {
    margin-right: unset;
    float: unset;
    font-size: 13px;
    margin-top: 5px;
  }

  .rssearch_products .product-suggestion .product>span {
    display: flex;
  }
}

.search-widget .autocomplete-suggestions {
  display: none !important;
}

/* @media (min-width: 991px) {
    #search_widget {
      top: -19px;
    }
    .stuck-header #search_widget {
      top: -21px;
    }
    #search_widget > form {
      max-width: 90%;
    } */
#search_widget {
  display: block !important;
}

#search_widget input[type='text'] {
  border: 1px solid black;
}

.rssearch_containter_rs {
  width: 857px;
}

.rssearch_containter_rs .product-suggestion img {
  max-width: 100%;
  margin-bottom: 6px;
}

.rssearch_products_containter li {
  margin-left: unset;
  padding: 10px;
}

/* .rs-search-dropdown {
      display: none !important;
    } */
/* .rssearch_containter_rs {
      top: 24px;
      margin-left: 62px;
      padding: unset;
      border: solid 1px rgb(149 147 147 / 27%);
    } */

.rssearch_products h3 {
  padding-left: 2%;
}

.rssearch_containter_rs h3 {
  margin-left: 10px;
}

.rssearch_containter_rs .rssearch_sugestions h3 {
  margin-top: 10px;
}

/* .stuck-header .rssearch_containter_rs {
      top: 24px;
      padding: 0px;
    } */
/* } */

@media (max-width: 990px) {
  #search-widget-mobile .search-widget .form-search-control {
    padding: 0.5rem 0.8rem;
    padding-right: 2rem;
  }

  #search-widget-mobile>form {
    padding: 12.5px;
  }

  .rssearch_containter_rs_mobile {
    display: none;
    padding-top: 10px;
  }

  #search-widget-mobile.active {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    border: 0;
  }

  .rssearch_sugestions {
    width: 100%;
    border-right: 0;
    margin-top: 64px;
  }

  .rssearch_containter_rs_mobile {
    padding-top: 20px;
    overflow: auto;
  }

  #search-widget-mobile.active form {
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 15%);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 999;
    background: #fff;
    display: flex;
  }

  #search-widget-mobile.active .rss-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #search-widget-mobile.active .rss-search-close img {
    max-width: 25px;
    height: auto;
    margin-right: 18px;
    margin-left: 4px;
  }

  .rssearch_sugestions h3 {
    margin-left: 0px !important;
    margin-top: 0 !important;
  }

  .rssearch_containter_rs_mobile li span,
  .rssearch_containter_rs_mobile li a {
    font-size: 14px;
  }

  .rssearch_sugestions_containter li a {
    margin-right: 0;
  }

  .rssearch_products {
    width: 100%;
    margin-top: 12px;
  }

  .rssearch_products ul {
    max-height: unset;
    overflow: unset;
  }

  .rssearch_products_containter {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
    grid-gap: 25px;
    padding: 0;
  }

  .rssearch_products img {
    width: 100%;
    padding: 0;
  }

  .rssearch_products .product-suggestion .product {
    height: 34px;
    margin-top: 16px;
  }
}

.block-background-scroll {
  overflow: hidden;
}

@media(max-width:767px) {
  .rssearch_containter_rs {
    width: 100%;
  }

  .rssearch_sugestions {
    margin-top: 0px;
  }

  .rssearch_products .product-suggestion .product {
    overflow: unset;
  }
}