.product-search {
    position: relative;
    /* padding: 24px; */
    border-radius: 4px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.08);
    /* border:1px solid #e0e0e0; */
    /* background: #f5f5f5; */
}
 
.search-results {
    display: none;
    position: absolute;
    width: 200%;
    background: #ffffff;
    padding:12px 24px;
    z-index: 15;
    transform: translateY(-1px);
    background-color: #fff;
    border: 1px solid #e9e9e9;
    padding-top: 15px;
    height: 472px;
}
 
.search-results.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 15px 0;
    overflow: hidden;
    width: 100%;
}
 
.search-results ul {
    list-style: none;
    margin:0 !important;
    padding: 0 !important;
}
 
.search-results .all-product-result li {
    display: inline-block;
    padding: 12px 0;
    position: relative;
    float: left;
}
 
.search-results ul li:last-child {
    border-bottom: none;
}
 
.search-results .all-product-result li .product-item {
    display: block;
    width: 100%;
    padding: 0 15px;
    text-decoration: none;
}
 
.search-results .all-product-result li .product-item > * {
    display: block;
}
 
.search-results .product-image {
    width: 72px;
    max-width: 72px;
}
 
.product-data {
    padding-left: 24px;
}
 
.search-results h3 {
    display: block;
}
 
.product-data div:not(.product-categories) {
    display: inline-block;
    vertical-align: middle;
}
 
.product-data .product-price {
    position: absolute;
    top: 12px;
    right: 0;
}
 
.product-data .product-stock {
    padding: 4px 8px;
    background: #eeeeee;
    border-radius: 4px;
    position: absolute;
    bottom: 12px;
    right: 0;
}
 
.product-categories > span {
    display: inline-block;
    margin-right: 4px;
}
 
.product-categories > span:after {
    content: ",";
}
 
.product-categories > span:last-child:after {
    content: "";
}
 
.product-categories > span:last-child {
    margin-right:0;
}
 
.product-search select {
    width: 100% !important;
    min-height: 40px !important;
    margin-bottom: 16px;
}
 
.product-search select,
.product-search input {
    background: #ffffff;
    border:1px solid #e0e0e0;
}
 
.search-wrapper {
    position: relative;
}
 
.search-wrapper input {
    padding-right: 35px !important;
}
 
.search-wrapper svg {
    position: absolute;
    top: 4px;
    right: 10px;
    width: 35px;
    height: 35px;
    transform-origin: center;
    opacity: 0;
}
#search-product-form .search-wrapper svg {
    background: transparent !important;
}
.search-wrapper.loading svg {
    opacity:1;
}

.search-results .result-cat-list {
    flex-basic: auto;
    width: 32%;
    border-right: 1px solid #e9e9e9;
}

.search-results .result-product-list {
    flex-basic: auto;
    width: 68%;
    padding-left: 27px;
    padding-right: 10px;
    overflow-y: auto;
}

.search-results .all-product-result li .product-item-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 35px;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #222;
}

.search-results .result-cat-list h3 {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    padding: 0 15px;
}

.search-results .result-product-list .result-info {
    font-size: 15px;
}

.search-results .result-product-list .result-info strong {
    color: #ff5c00;
}
.search-results .result-cat-list .cat-result {
    list-style: none;
    height: 35px;
    font-size: 13px;
    line-height: 35px;
    margin-bottom: 10px;
    padding-left: 15px;
}
.search-results .result-cat-list 
 .cat-result.active {
    color: #ff5c00;
    background-color: #ffbb95;
    position: relative;
}
.search-results .result-cat-list .cat-result.active strong {
    color: #ff5c00;
}
.search-results .result-cat-list .cat-result.active:after {
    width: 0;
    height: 0;
    content: "";
    position: absolute;
    border: 18px solid transparent;
    border-left-color: #ffbb95;
    left: 100%;
}
 
@keyframes loading {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

@media(max-width: 425px) {
    .search-results.active {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        height: auto;
    }
    .search-results .result-cat-list {
        flex-basic: auto;
        width: 100%;
        /* height: 215px; */
        overflow: auto;
    }
    .search-results .result-product-list {
        width: 100%;
    }
    .search-results .result-cat-list .cat-result.active:after {
        border: 0;
    }
}