/* Search result unfold */

/*Helper class*/
.position-static {
  position: static;
}

.search-results-popup {
  min-width: 235px;
  position: absolute;
  top: 0;
  right: 182px;
  width: 100%;
  /* padding: 27px 24px; */
  min-height: 170px;
  text-align: left;
}

#search-popup-ajax-container {
  border-top: 1px solid #efefef;
  overflow: hidden;
}

.search-form {
  /* background: #eee7d7; */
  border-bottom: 1px solid #efefef;
  /* height: 37px; */
  /* position: absolute; */
  top: 0;
  width: 100%;
  left: 0;
  /* padding-right: 30px; */
}

.search-form .search-input {
  background: transparent;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #000;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  font-size: 1.6rem;
  padding: 0 0 0 20px;
}

.search-form .search-input::-moz-placeholder {
  color: #000;
  font-style: normal;
  font-weight: bold;
}

.search-form .search-input:-ms-input-placeholder {
  color: #000;
  font-style: normal;
  font-weight: bold;
}

.search-form .search-input::-webkit-input-placeholder {
  color: #000;
  font-style: normal;
  font-weight: bold;
}

.search-results-popup h4 {
  font-size: 16px;
  margin: 0 0 12px;
}

.search-results-popup h4.border-dotted {
  border-bottom: 1px dotted #dbdad9;
  padding-bottom: 11px;
  padding-left: 18px;
  padding-top: 11px;
}

.search-results-popup .list-group {
  list-style-type: none;
  padding-left: 18px;
  padding-right: 18px;
}

.search-results-popup .list-group a {
  color: #565656;
}

.search-results-popup .list-group a:hover,
.search-results-popup .product-item:hover .product-title {
  color: #000;
}

.close-search-popup {
  position: absolute;
  top: 7px;
  right: 13px;
  color: #644e23;
  opacity: 1;
}

/* Search product list */
.row.product-list {
  background: #eee7d7;
  border-top: 1px solid #dfd2b6;
  border-bottom: 1px solid #dfd2b6;
  padding: 12px 29px;
}

.row.product-list [class*='col-'] {
  padding-left: 7px;
  padding-right: 7px;
}

.search-results-popup .product-thumb img {
  border: 1px solid #dbdad9;
  margin-bottom: 10px;
}

.search-results-popup .product-title {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #343433;
}

.search-results-popup .product-price {
  color: #343433;
  font-size: 14px;
}

.search-results-popup .show-more-products {
  margin-top: 25px;
}

.search-results-popup-mobile {
  display: none;
}

.search-form .form-group {
  background: #eee7d7;
  width: 100%;
}

/* #search-popup-ajax-container {
  padding: 27px 24px;
  overflow: hidden;
} */

/*=====  Responsive Media Queries  ======*/
/* Desktop (COL-MD) - From 1200px to 992px */
@media (max-width: 1200px) {
  /* .row.product-list {
    margin-left: -25px;
    margin-right: -25px;
    padding: 12px 20px;
  } */
}

@media (max-width: 1024px) {
  .search-results-popup .show-more-products {
    padding: 10px 15px;
  }
}

@media (min-width: 766px) and (max-width: 1200px) {
  .search-results-popup {
    right: 172px;
  }

  /* .search-results-popup h4 {
    font-size: 14px;
    font-size: 1.4rem;
  } */
}

/* Tablet (COL-SM) - From: 992px to 766px */
@media (max-width: 992px) {
  .search-form .search-input {
    font-size: 14px;
    font-size: 1.4rem;
  }

  .search-results-popup.mobile {
    left: -313px;
    top: 0;
    text-align: left;
  }

  .search-input-mobile {
    position: absolute;
    top: 0;
    left: -313px;
  }

  .search-input-mobile input {
    position: relative;
    width: 355px;
    height: 39px;
  }

  .search-input-mobile input,
  .search-input-mobile input:focus {
    border: 1px solid #000;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    padding-right: 25px;
    padding-left: 25px;
  }

  .header-search-form.foldout-active input[type='text'] {
    border-bottom: 1px solid transparent;
  }

  .search-input-mobile button {
    position: absolute;
    top: 0;
    right: 0;
  }

  .search-results-popup .show-more-products {
    font-size: 16px;
    font-size: 1.6rem;
  }
}

/* Phone (COL-XS) - From: 766px to 480px */
@media (max-width: 766px) {
  .wc-header {
    z-index: 9999;
  }

  /*Make search form position absolute relative to the <header> parent*/
  .header-top .navbar,
  .header-top [class*='col-'] {
    position: static;
  }

  .search-input-mobile .btn-srch {
    padding: 9px 12px 11px;
  }

  .search-input-mobile input,
  .search-input-mobile input:focus {
    font-size: 14px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .search-results-popup {
    right: 0;
  }

  /* .row.product-list {
    padding: 12px 9px;
    margin-right: -15px;
    margin-left: -15px;
  } */

  .search-form .form-group {
    margin-bottom: 0;
  }
}
