.live-search {
  width: 100%;
  position: absolute;
  z-index: 1000;
  padding: 5px 0 20px;
  margin-top: 40px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 2px 2px #dddddd;
  left: 0;
  display: none;
}
.live-search .loading {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.live-search ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.live-search ul li {
  cursor: pointer;
  padding: 5px;
  margin: 0px 5px;
  background-color: #fff;
  min-height: 50px;
  clear: both;
}
.live-search ul li:nth-child(even) {
  background-color: #fafafa;
}
.live-search ul li:hover {
  background-color: #f0f7fa;
}
.live-search ul li a {
  text-decoration: none;
  display: block;
}
.live-search ul li .product-image {
  float: left;
  margin-right: 5px;
}
.live-search ul li .product-name p {
  font-weight: normal;
  font-style: italic;
  font-size: 10px;
  color: #555555;
  margin: 0px;
  padding: 0px;
}
.live-search ul li .product-name {
  font-weight: bold;
  float: left;
  width: 50%;
}
.live-search ul li .product-add-cart {
  float: right;
  padding: 7px;
}

.live-search ul li .product-price {
  text-align: right;
  font-size: 12px;
  font-weight: bold;
  float: right;
  margin-top: 10px;
  width: 25%;
}
.live-search ul li .product-price .price {
  color: #333333;
  display: block;
}
.live-search ul li .product-price .special {
  color: #ff0000;
  text-decoration: line-through;
  display: block;
}

.live-search .product-price > .special {
  margin-top: -5px;
}

.live-search .result-text {
  font-weight: bold;
  text-align: center;
  font-size: 11px;
  line-height: 20px;
  color: #555555;
  background-color: #e6ffff;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.live-search .view-all-results:hover {
  color: #23527c;
}
.live-search .view-all-results {
  color: #23a1d1;
}
.live-search .product-image {
  width: auto;
}
.live-search .product-image img {
  width: auto;
}

/* custom css */

#mahardhiSearch > *,
#search > .live-search {
  display: none;
  background: #fff;
  margin-top: 50px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.live-search > ul > li > div > a {
  display: flex;
  flex-wrap: wrap;
}

.live-search > ul > li > div > a .product-name {
  flex-basis: 80%;
  text-align: start;
}

.live-search > ul > li > div > a .product-price {
  flex-basis: 100%;
}

.live-search ul li .product-image {
  margin-right: 20px;
}

.live-search .result-text {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #fdb819;
}


.live-search .view-all-results {
    color: #fff;
    transition: all .2s;
}


.live-search .view-all-results:hover {
    color: #111111;
}


