.seg-search-wrapper.sgm-search-open {
    display: flex;
}

.seg-search-wrapper.open {
    display: flex;
}
.seg-position-absolute {
    position: absolute !important;
}
.seg-position-fixed {
    position: fixed !important;
}
.seg-search-wrapper {
    font-family: Arial,Helvetica,sans-serif;
    background-color: white;
    width: 800px;
    font-size: 0;
    display: none;
    box-sizing: border-box;
    z-index: 99999999999;
    box-shadow: 0 6px 10px rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 0;
    text-align: left;
}


.sgm-search-header {
    display: none !important;
    width: 30px !important;
    height: 30px !important;
    top: 0 !important;
    right: 7px !important;
    color: black !important;
    font-size: 22px !important;
    box-sizing: border-box !important;
}


.seg-search-wrapper h3 {
    color: #58585a;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 9px;
    margin-top: 0;
    text-transform: capitalize;
}



.seg-search-wrapper .sgm-search-sidebar {
    width: 30%;
    background-color: #f5f6f6;
    padding: 20px 0;
}

.seg-search-wrapper .sgm-search-sidebar, .seg-search-wrapper .sgm-search-products {
    font-size: 14px;
    box-sizing: border-box;
    padding: 20px;
    overflow-y: auto;
}


.seg-search-wrapper .sgm-search-sidebar h3 {
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
}
.seg-search-wrapper h3 {
    color: #58585a;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 9px;
    margin-top: 0;
    text-transform: capitalize;
}


.seg-search-wrapper .sgm-search-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
}

.seg-search-wrapper .sgm-search-sidebar li.sgm-cursor-pointer {
    cursor: pointer;
}
.seg-search-wrapper .sgm-search-sidebar li {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #58585a;
    display: block;
    padding: 5px 20px 5px 20px;
    cursor: default;
    font-size: 12px;
}


.seg-search-wrapper .sgm-search-sidebar ul:last-child {
    margin-bottom: 0;
}

.seg-search-wrapper .sgm-search-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
}



.seg-search-wrapper .sgm-search-sidebar li.sgm-cursor-pointer {
    cursor: pointer;
}
.seg-search-wrapper .sgm-search-sidebar li {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #58585a;
    display: block;
    padding: 5px 20px 5px 20px;
    cursor: default;
    font-size: 12px;
}


.seg-search-wrapper:not(.sgm-search-mobile) .sgm-search-products {
    max-height: unset !important;
}
.seg-search-wrapper:not(.mobile) .sgm-search-products {
    max-height: unset !important;
}

.seg-search-wrapper.sgm-search-no-show-all .sgm-search-products {
    padding-bottom: 20px;
}
.seg-search-wrapper.no-show-all .sgm-search-products {
    padding-bottom: 20px;
}
.seg-search-wrapper .sgm-search-products {
    width: 100%;
    background-color: white;
    vertical-align: top;
    position: relative;
    padding-bottom: 55px;
    z-index: -1;
}
.seg-search-wrapper .sgm-search-sidebar, .seg-search-wrapper .sgm-search-products {
    font-size: 14px;
    box-sizing: border-box;
    padding: 20px;
    overflow-y: auto;
}






.seg-search-wrapper #sgm-search-not-found {
    display: none;
}


.seg-search-wrapper h3 {
    color: #58585a;
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 9px;
    margin-top: 0;
    text-transform: capitalize;
}


.seg-search-wrapper .sgm-search-products>ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0;
    margin-top: 20px;
}



.seg-search-wrapper .sgm-search-products>ul a:nth-child(1n-1) {
    margin-right: 10px;
}
.seg-search-wrapper .sgm-search-products>ul a {
        width: calc(32%);
    display: inline-block;
    margin-bottom: 10px;
    color: unset;
    text-decoration: none;
}


.seg-search-wrapper.sgm-search-no-show-all .sgm-search-show-all {
    display: none;
}
.seg-search-wrapper.no-show-all .sgm-search-show-all {
    display: none;
}

.seg-search-wrapper .sgm-search-show-all {
    position: absolute;
    bottom: 0;
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.15);
    padding: 15px;
    font-size: 13px;
    color: #848588;
    cursor: pointer;
    outline: 0;
    width: 70%;
    left: 30%;
    float: right;
    z-index: 2;
    box-sizing: border-box;
    text-align: center;
    background-color: white;
    position: fixed;
}


.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}

.seg-search-wrapper .sgm-search-products>ul li {
    font-size: 12px;
    transition: all 200ms ease;
    display: table;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
    padding-right: 10px;
    box-sizing: border-box;
}



.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}
.seg-search-wrapper .sgm-search-product-image {
    float: left;
    min-width: 114px;
    height: 100px;
    position: relative;
    overflow: hidden;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}


.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}
<style>
.seg-search-wrapper .sgm-search-product-image img {
    object-fit: contain;
}
.seg-search-wrapper .sgm-search-product-image img {
    object-fit: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    left: 0;
}





.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}
.seg-search-wrapper .sgm-search-product-info {
    padding-left: 10px;
    overflow: hidden;
}


.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}
.seg-search-wrapper .sgm-search-product-info-category {
    color: #a8a9ac;
    font-size: 11px;
    margin-bottom: 5px;
    text-transform: capitalize;
}
.seg-search-wrapper .sgm-search-product-info-name, .seg-search-wrapper .sgm-search-product-info-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: inherit;
    display: block;
    -webkit-text-size-adjust: none;
}



.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}
.seg-search-wrapper .sgm-search-product-info-name {
    color: #58585a;
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 18px;
}

.seg-search-wrapper .sgm-search-product-info-name, .seg-search-wrapper .sgm-search-product-info-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: inherit;
    display: block;
    -webkit-text-size-adjust: none;
}


.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}

.seg-search-wrapper .sgm-search-product-info-price {
    color: #818285;
    font-size: 11px;
    -webkit-text-size-adjust: none;
}

.seg-search-wrapper .sgm-search-products>ul a * {
    cursor: pointer;
}

.seg-search-wrapper span.sgm-search-product-info-oldPrice {
    text-decoration: line-through;
    color: #d1d2d4;
    margin-left: 5px;
    -webkit-text-size-adjust: none;
}




































































































