.pd-search-results { 
    background-color: #fff;
    z-index: 99;
    display: none;
    padding-top: 15px;
}

.algolia-wrapper,.pd-search-results #left-sidebarNOT {
    display: none;
}

.algolia-wrapper,.pd-search-results .thumb-availability {
    display: none;
}

.algolia-wrapper,.pd-search-results .pb-2 {
    /*padding-bottom: 30px !important;*/
}

.pd-search-open .pd-algolia-overlay {
    opacity: 0;
    height: 0;
    visibility: hidden; 
    position: fixed;
}

.pd-search-open header {
    z-index: 9999999;
    position: relative;
}

.algolia-wrapper ul,
.algolia-wrapper ol {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.ais-HierarchicalMenu-list--child .ais-HierarchicalMenu-item a {
    padding-left: 30px !important;
}

.ais-HierarchicalMenu-list--child .ais-HierarchicalMenu-list--child .ais-HierarchicalMenu-item a {
    padding-left: 40px !important;
}

.ais-ClearRefinements-button--disabled,
.ais-Pagination-item--disabled {
    display: none !important;
}

.algolia-wrapper .list-group-flush .list-group-item {
    border-width: 0 0 1px;
}

.ais-ClearRefinements-button {
    margin: 20px 12px;
}

.algolia-wrapper .npopup-btn-close {
    margin: 0;
    background-color: transparent;
    border: none;
    right: 0;
    top: -20px;
}

.wrapper-header .wrapper-main-header .header-search .input-group .input-group-append button {
    background-color: #fff;
}

.ais-Panel-collapseButton {
    border: none;
    background: transparent;
    width: 100%;
    outline: none !important;
    position: absolute;
    top: 0;
    height: 100%;
}

.ais-Panel--collapsible .ais-Panel-body {
    display: none;
}

.ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body {
    display: block;
}

.algolia-container .list-group-flush:first-child .list-group-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header.border-bottom-none {
    border-bottom: none;
}

#pd-price {
    border-bottom: 1px solid #dee2e6;
}

.ais-Panel-body .ais-RangeSlider {
    margin: 2rem 15px !important;
}

.ais-Panel-body .ais-RangeSlider {
    margin: 0 !important;
}

.ais-RangeSlider .rheostat-handle {
    border: 1px solid #c5c5c5 !important;
    background: #f6f6f6 !important;
    position: absolute !important;
    z-index: 2;
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
    border-radius: 3px;
    top: 50% !important;
    transform: translateY(-50%);
    margin-left: 0 !important;
}

.rheostat-handle.rheostat-handle-upper {
    margin-left: -15px !important;
}

.ais-RangeSlider .rheostat-handle:hover {
    border: 1px solid #6c757d !important;
    background: #adb5bd !important;
}

.ais-RangeSlider .rheostat-progress {
    top: 0px !important;
    position: absolute;
    height: 100% !important;
    background: #adb5bd !important;
    border: 0;
    border-radius: 3px;
}

.ais-RangeSlider .rheostat-marker {
    display: none;
}

.ais-RangeSlider .rheostat-background {
    background-color: #fff;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    height: 0.8em;
}

.rheostat-tooltip {
    margin-top: 25px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.rheostat-handle.rheostat-handle-upper .rheostat-tooltip {
    left: -10px;
}

.rheostat-tooltip span:nth-child(1) {
    display: block;
    font-size: 0.75rem !important;
}

.ais-RangeSlider .rheostat {
    overflow: visible;
    margin-top: 12px;
    margin-bottom: 40px;
    margin-left: 20px;
    margin-right: 20px;
}

.products-row .article {
    padding: 0 3px;
    padding-bottom: 6px !important;
}

.ais-Hits-item .form-inline.buying-options {
    justify-content: center;
}

.ais-Hits-list.products-row {
    align-items: normal !important;
}

.ais-Hits-list.products-row .ais-Hits-item {
    display: flex;
	padding: 0 15px 30px !important;
}

.ais-Hits-list.products-row .ais-Hits-item .thumbnail.card-body {
    display: flex;
    padding: 0;
}

.ais-Hits-list.products-row .ais-Hits-item .thumbnail.card-body .thumbnail-box {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ais-Hits-list.products-row .thumbnail.card-body .card-title {
    /*height: 4.7em;*/
}

@media (min-width: 992px) {
    #algolia-filters {
        height: auto !important;
        display: block;
    }
}


    .algolia-wrapper .col-xl-2 {
        padding-left: 6px !important;
        padding-right: 6px !important;
        padding-bottom: 12px !important;
    }
    .algolia-wrapper .col-lg-8 {
        padding-left: 6px !important;
        padding-right: 6px !important;
        padding-bottom: 12px !important;
    }
    .algolia-wrapper .col-lg-4 {
        padding-left: 6px !important;
        padding-right: 6px !important;
        padding-bottom: 12px !important;
    }
    .algolia-wrapper .col-12 {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 15px !important;
    }

.pd-search-results .row.sort_container.align-items-center {
    margin: 0 -5px;
}


@media (max-width: 768px) {
    .pd-search-results {
        /*padding-top: 70px;*/
    }
    .nav-conatiner {
        max-width: 100% !important;
    }
    .brands-slider .slick-dots {
        overflow: hidden;
    }
	div#pd-stats span.ais-Stats-text span {
		display: none;
	}
	.pd-search-results #left-sidebar + .col-12 {
		padding: 0 !important;
	}

	.pd-search-results .row.sort_container.align-items-center {
		margin: 0;
	}

	ol.ais-Hits-list.row.products-row {
		padding: 0 5px;
	}

	.ais-Hits-list.products-row .ais-Hits-item {
		padding: 0 10px 30px !important;
	}
}

@media (max-width: 575px) {
.ais-Hits-list.products-row {
    margin-left: -6px;
    margin-right: -6px;
}
.algolia-wrapper .row {
    margin-left: -6px;
    margin-right: -6px;
}
}

div#pd-main-searchbox button.search-close-btn, 
div#pd-mobile-searchbox button.search-close-btn,
body.pd-search-open div#pd-mobile-searchbox button.search-btn-submit, 
body.pd-search-open div#pd-main-searchbox button.search-btn-submit {
	display: none;
}

body.pd-search-open div#pd-mobile-searchbox button.search-close-btn, 
body.pd-search-open div#pd-main-searchbox button.search-close-btn {
	display: block;
}

div#pd-mobile-searchbox button {
    border-bottom-right-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

input#pd-mobile-search-input {box-shadow: none;border: none;}

div#pd-mobile-searchbox button {
    border-radius: 0 0.25rem 0.25rem 0;
    border: none;
}

div#pd-main-searchbox button {
    border-radius: 0 0.25rem 0.25rem 0;
}

input#pd-mobile-search-input {
    box-shadow: none;
    border: none;
}

input#pd-main-search-input:focus {
    box-shadow: none !important;
    outline: none !important;
    /*border: 1px solid #cccccc;*/
} 

li.ais-Pagination-item.active:has(>[aria-label="1"]) a {
    border-radius: 0.25rem 0 0 0.25rem !important;
    overflow: hidden;
}

@media (min-width: 1200px) {
    li.ais-Hits-item.pd-thumb.col-xl-2 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 1500px) {
    li.ais-Hits-item.pd-thumb.col-xl-2 {
        /*flex: 0 0 20%;
        max-width: 20%;*/
    }
}


@media (max-width: 768px) {
.pd-search-results aside#left-sidebar {
    padding: 0 7.5px 15px !important;
}

.pd-search-results .row.sort_container.align-items-center {
    margin: 0 2.5px;
}
}


.ais-Panel.ais-Panel--collapsible:has(.ais-RefinementList.ais-RefinementList--noRefinement) {
    display: none;
}