.search-result-wrapper.inline-search {
    background: #FFF;
    padding: 25px;
    border-radius: 10px;
    max-width: 1320px;
    position: absolute;
    top: 330px;
    left: 0;
    margin: 0 auto;
    right: 0; 
    z-index: 1050;
    box-shadow: 4px 10px 50px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
    display: none;
    overscroll-behavior: contain;
}

.admin-bar .search-result-wrapper.inline-search {
    top: 364px;
}

.search-result-wrapper.full-search {
    background: #FFF;
    padding: 25px;
    border-radius: 10px;
    max-width: calc(100% - 20px);
    position: fixed;
    top: 10px;
    left: 10px;
    margin: 0rem auto;
    right: 0; 
    z-index: 1050;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    box-sizing: border-box;
    height: calc(100dvh - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
}

.show-search {
    display: block !important;
}

.search-result-wrapper.full-search .search-input-wrapper .btn-link {
    top: -8px;
}

h5 {
    font-size: 15px;
    margin: 0 15px 15px 0;
    font-weight: 600;
    color: #737373;
}

.latest-search {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
    z-index: 9;
    background: #FFF;
}

.search-header {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    width: calc(100% - 235px);
}

.search-input-wrapper .form-control {
    width: 100%;
    padding: 10px 10px 10px 50px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0;
    border: none;
    border-bottom: solid 2px #9F1127;
    box-shadow: none;
}

.search-input-wrapper i {
    position: absolute;
    left: 0px;
    top: 2px;
    font-size: 25px;
    opacity: 0.8;
}

.search-input-wrapper .btn-link {
    font-size: 15px;
    font-weight: 600;
    background: #9F1127;
    color: #FFF;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    height: 50px;
    min-width: 121px;
    transition: all .3s ease;
    margin-left: 10px;
    position: absolute;
    top: 2px;
    right: 2px;
}

.tag {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #9F1127;
    border-radius: 50px;
    background: rgba(159, 17, 39, .1);
    cursor: pointer;
}

.full-search .btn-close {
    width: 20px;
    height: 20px;
    border: none;
    margin-left: 8px;
    opacity: 1;
    z-index: 1;
    font-size: 28px;
    background: none;
    display: flex;
    align-items: center;
    border-radius: 8px;
    color: #000;
}

.full-search .btn-close:active {
    background: none;
}

#close-search-results {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
    padding: 1.2rem;
    background: #FFF;
}

.full-search .btn-close:hover {
    background: #dfdfdf;
}

.already-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-autocomplete-wrapper {
    display: flex;
    flex-direction: column;
}

.search-suggestions {
    flex: 0 0 190px;
}

.search-recommendation, .recommended-products {
    flex: 0 0 calc(100% - 0px);
}

.search-suggestions ul {
    padding: 0;
}

.search-suggestions ul li {
    display: block;
    padding: 10px 0;
}

.search-suggestions ul li > a {
    color: #000;
    font-size: 15px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 190px;
    cursor: pointer;
}

.search-suggestions ul li > a:hover {
    color: #9F1127;
}

.search-suggestions h5, .search-recommendation h5 {
    margin-bottom: 30px;
}

.recommendation-result {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    grid-template-rows: 1fr;
    grid-auto-flow: dense;
    grid-gap: 10px;
    gap: 10px;
    overflow-y: auto;
}

.recommendation-result > a {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(130, 130, 130, 0.2);
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, rgba(130, 130, 130, 0.2)), color-stop(18%, rgba(130, 130, 130, 0.3)), color-stop(33%, rgba(130, 130, 130, 0.2)));
    background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
    background-size: 800px 100px;
    animation: wave-squares 2s infinite ease-out;
    cursor: pointer;
    
}

.recommendation-result > a > img {
    width: 100%;
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
}

/*-----*/

.search-result {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    grid-template-rows: 1fr;
    grid-auto-flow: dense;
    grid-gap: 10px;
    gap: 10px;
    overflow-y: auto;
}

.search-result > a {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(130, 130, 130, 0.2);
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, rgba(130, 130, 130, 0.2)), color-stop(18%, rgba(130, 130, 130, 0.3)), color-stop(33%, rgba(130, 130, 130, 0.2)));
    background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
    background-size: 800px 100px;
    animation: wave-squares 2s infinite ease-out;
    cursor: pointer;
}

.search-result > a > img {
    width: 100%;
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
}


.search-scroll-container {
    max-height: 445px;
    overflow-y: auto;
}

.md-search-scroll-container {
    max-height: 445px;
    overflow-y: auto;
}

.full-search .search-scroll-container {
    height: auto;
    max-height: unset;
}

.carousel-slider {
    display: flex;
    gap: 10px;
}

.category-suggestions {
    background: #F7F7F9;
    padding: 15px;
    margin: 30px 0 30px 0;
    border-radius: 10px;
    min-height: 250px;
}

.category-suggestions h5 {
    color: #000;
    margin-bottom: 20px;
}

.category-suggestions h5 span {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    margin-left: 20px;
    opacity: .6;
}

.category-carousel .item > a {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    border-radius: 6px;
    text-decoration: none;
}

.category-carousel .item > a > img {
    width: 100%;
    height: 140px;
    display: flex;
    border-radius: 6px;
    object-fit: cover;
}

.category-carousel .item > a > h4 {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    padding-bottom: 3px;
    margin-top: 10px;
}

.category-suggestions .carousel-btn {
    position: relative;
    top: 45px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #FFF;
    text-align: center;
    box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.carousel-slider .owl-carousel {
    width: calc(100% - 100px);
}

.search-result-wrapper.inline-search .search-header, .search-result-wrapper.inline-search .category-suggestions {
    display: none;
}

.owl-dots {
    display: none;
}

.hide-body-scroll {
    overflow: hidden !important;
}

.load-more {
    display: grid !important;
    place-items: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    background: rgba(159, 17, 39, 1);
    min-height: 300px;
    border-radius: 6px;
    border: none;
}

.mdNoResultFound {
    grid-area: span 1/ span 6;
}

/* .skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    grid-template-rows: 1fr;
    grid-auto-flow: dense;
    grid-gap: 10px;
    gap: 10px;
    overflow-y: auto;
}

.skeleton-item {
    width: 100%;
    height: 300px;
    border-radius: 6px;
    background: rgba(130, 130, 130, 0.2);
    background: -webkit-gradient(linear, left top, right top, color-stop(8%, rgba(130, 130, 130, 0.2)), color-stop(18%, rgba(130, 130, 130, 0.3)), color-stop(33%, rgba(130, 130, 130, 0.2)));
    background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
    background-size: 800px 100px;
    animation: wave-squares 2s infinite ease-out;
} */

@keyframes wave-squares {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}


.alert-danger {
    border: none;
    border-radius: 6px;
    padding: 15px 20px;
    font-size: 15px;
}

.recommended-products {
    display: none;
}

.imagesContainer {
    position: relative;
    height: 320px;
    width: 100%;
}

.imagesContainer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*No connection overlay css*/
body .md-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9999;
}
body .md-overlay.md-freeze {
    display: flex;
}
/*No connection overlay css END*/

@keyframes scaleUp {
	0% { opacity: 0; }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}