

.product-index .product-index-sort {
    display: inline-block;
    min-width: 80px;

}

.product-index .product-index-sort .dropdown-toggle {
    font-size: 11px;
    font-weight: bold;
    color: #000;

}

.product-index .product-index-sort .dropdown-toggle i.fa {
    margin-left: 10px;
    margin-top: 0px;
    display: inline-block;
    position: absolute;
    font-size: 16px;
    color: #939392;
}

.product-index .product-index-sort .dropdown.open .dropdown-toggle i.fa {
    transform: rotate(180deg);
    margin-top: 2px;
}

.product-index .product-index-sort .dropdown-menu > li {
    margin-bottom: 6px;
}

.product-index .product-index-sort .dropdown-menu {
    border-radius: 0;
    left: -1px;
    width: calc(100% + 3px);
}

.product-index .product-index-sort .dropdown-menu::before {

    content: '';
    left: 10px;
    position: absolute;
    top: -14px;

}

.filters-inner .btn-container {
    display: grid;
    grid-template-columns: calc(50% - 3px) calc(50% - 3px);
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #a2a2a2;
}

.filters-inner .btn-container .apply {
    order: 2;
}

.product-index-sort .dropdown .dropdown-toggle {
    text-decoration: none;
}

.product-index .product-index-sort .dropdown-menu li > a {
    font-size: 11px;
}

.product-index .product-index-sort .dropdown-menu li > a:hover, .product-index .product-index-sort .dropdown-menu li a:focus,
.product-index .product-index-sort .dropdown-menu li a.active {
    text-shadow: 1px 0 0 #000;
    color: #000;

}

.product-index-product-count {
    line-height: 35px;
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    display: inline-block;
    margin-right: 10px;
}

.product-filter-container {
    margin-top: -11px;
}

.box-clear-filters {
    position: relative;
}

.product-index-filter-active-filters-box-container {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;

}
.product-index-filter-active-filters-box-container.open{
    display: block;
}
.product-index-filter-active-filters-box-wrapper{
    padding: 15px;
    border: 1px solid #E1E1E1;
    background-color: #fff;
    margin-top: 0;
    height: auto;
    width: auto;

    min-width: 390px;
    min-height:unset;
}

.product-index-filter-active-filters {
    display: none;
}

.product-index-filter-active-filters .product-index-filter-active-filters-box {
    margin-bottom: 4px;
}

.product-index .product-index-filter-active-filters hr {
    margin-top: 11px;
    margin-bottom: 11px;
}

.product-index .box-clear-filters, .product-index .box-clear-filters-btn-container {
    display: inline-block;
}

.product-index .box-clear-filters-btn-container .box-clear-filters-btn {
    padding-right: 30px;
    position: relative;
    padding-left: 0;
}

.product-index .box-clear-filters-btn-container .box-clear-filters-btn:before {
    border-left: 1px solid #000;
    border-top: 1px solid #000;
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    right: 10px;
    margin-top: 1px;
    transform: rotate(225deg);
}

.product-index .box-clear-filters-btn-container .box-clear-filters-btn.open:before {
    margin-top: 7px;
    transform: rotate(45deg);
}

.product-index .product-index-filter-active-filters .title {
    font-size: 11px;
    font-weight: bold;
}

.product-index-filter-active-filters-box .clear-all-filters {
    float: right;
    cursor: pointer;
    text-decoration: underline;
    padding-bottom: 19px;
}

.product-index-filter-active-filters-box .clear-filter-label {
    font-weight: 300;
    padding: 20px 0 10px 0;
    text-transform: lowercase;
}
.product-index-filter-active-filters-box .clear-filter-label:first-letter {
    text-transform: uppercase;
}

.product-index-filter-active-filters-box .box-item {
    display: inline-block;
    border: 1px solid #E1E1E1;
    background-color: #fff;
    color: #000;
    border-radius: 0;
    padding: 5px 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px
}

.product-index-filter-active-filters-box .box-item[data-filter-display="none"]{
    display: none;
}

.product-index .product-index-filter-active-filters-box .box-item:after {
    content: "\2715";
    margin-left: 5px;
}


.product-index .filter-check {
    color: #000;
    margin-bottom: 15px;
    display: block;
}

.product-index .accordion-filter-title {
    padding: 17px 0;
    width: 100%;
    border-top: none;
    background: none;
}

.product-index .accordion-filter-title .accordion-filter-title-text {
    color: #000;
    font-size: 17px;
    display: inline-block;
    padding: 0;
}

.product-index .accordion-filter-title i.fa {
    float: right;
    font-size: 24px;
    margin-right: 10px;
}

.product-index .accordion-filter-title.active i.fa {
    transform: rotate(180deg);
}

.product-index .accordion-filter-content {
    padding-top: 11px;
    /*border-top: 1px solid #d3d3d4;*/

}

.product-index .accordion-filter-content {
    padding-left: 0;
    padding-right: 0;
}

.product-index .accordion-filter-content > p:first-child {
    margin-top: -3px;
}

.product-index .accordion-filter-content > p {

    color: #000;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 14px;
    margin-top: -5px;
}
#accordion-sort .accordion-filter-title-text a{
    text-transform: lowercase;
    font-weight: 300;
    display: inline-block;
}
#accordion-sort .accordion-filter-title-text a:first-letter{
    text-transform: uppercase;
}
#accordion-sort .accordion-filter-title-text a.active{
    font-weight: 400;
}
.filters-inner label.checkbox .filter-style-label {
    font-weight: 300;
}
.filters-inner label.checkbox:has(input:checked) .filter-style-label{
font-weight: 400;
}

.filters_color label.checkbox input:checked + span::after {
    transform: scale(1) translate(5px, 5px);
    background-color: white;

}

.filters_color label.checkbox input:checked + span.s-751::after, .filters_color label.checkbox input:checked + span.s-71::after {
    background-color: #000;

}

.filters_color span.filter-style-checkbox.s-71 img {
    border: 1px solid #a2a2a2;
}

.filters_color label.checkbox input:checked + span::before {
    border-color: #a2a2a2;
}

.filters_color label.checkbox input:focus + span::before {
    border-color: blue;
    border-width: 2px;
}

.filters_color label.checkbox input + span::before, .filters_color div.checkbox label input + span::before {
    background: transparent;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border-color: transparent;
}

.filters_color .filter-style-checkbox img {
    border-radius: 50%;
    position: absolute;
    left: 3px;
    width: 24px;
    top: 3px;

}

.product-index #accordion-color .filter-style-checkbox {
    height: 28px;
    width: 28px;
}

.product-index #accordion-color .filter-style-label {
    top: 5px;
    position: absolute;
    left: 43px;
}


.product-index .accordion-filter.accordion-category-inner {
    margin-top: 0;
    border: none;
    padding-top: 0;
}

.product-index .accordion-filter.categories-with-subcategories {
    padding-top: 0;
}

.product-index .categories-with-subcategories .accordion-filter-content > p {
    margin-top: 0;
    margin-bottom: 11px;
}

.product-index #accordion-category .accordion-filter-content {
    display: block;
}

.product-index #accordion-category .accordion-filter-content:last-child {
    padding-bottom: 0;
}

.product-index #accordion-type {
    padding-bottom: 0;
}

.product-index-filter {
    max-width: calc(1170px - 30px);

    margin: auto;
}

#accordion-category .filter-style-label {
    text-transform: none;
}

@media (min-width: 1281px) {
    .product-filter-container {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        overflow-y: auto;
        border-bottom: 10px solid transparent;
    }
}

@media (max-width: 993px) {
    .product-index .box-clear-filters, .product-index .box-clear-filters-btn-container {
        display: none;
    }


    .product-index .product-index-sort .dropdown-menu {

        position: absolute;
    }

    /*    .product-index  .all-filter-container{
            display: none;
        }*/
    .product-index .filter-action {
        cursor: pointer;
        display: none;
        font-size: 13px;
        font-weight: bold;
        background-color: #efefef;
        text-align: center;
        padding: 12px 10px;
        border-radius: 4px;
        position: relative;
    }

    .product-index .filter-action .fa {
        font-size: 24px;
        position: absolute;
        top: 8px;
        bottom: 0;
        margin: auto;
        right: 11px;
    }

    .product-index .filter-action.active {

        display: block;
    }

    .product-index .accordion-filter.categories-with-subcategories {
        padding-top: 0;
    }

    .product-index .filter-check {
        border-bottom: none;
        padding-bottom: 0;
    }

    .filters-all-title .filter-check:last-child, .filters_new .filter-check:last-child {
        border-bottom: none;
    }

    .product-index-filter-active-filters {
        margin-top: 11px;
    }

    .index-filter-banners {
        padding-top: 22px;
    }

    .product-index-filter-active-filters .product-index-filter-active-filters-box {
        margin-bottom: -11px;
    }

    .product-index-filter-active-filters-box .clear-all-filters {
        padding-bottom: 11px;
    }
    .product-index .accordion-filter-title {
        display: block;
    }
    .product-index .accordion-filter-title .accordion-filter-title-text {
        font-size: 15px;

    }

    .product-index .filter-price-checkbox-container {
        position: relative;
        top: -9px;
    }


}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait) {
    .product-index .product-index-sort .dropdown-menu {

        position: absolute;
    }

    .product-index .filter-action {
        cursor: pointer;
        display: none;
        font-size: 13px;
        font-weight: bold;
        background-color: #efefef;
        text-align: center;
        padding: 12px 10px;
        border-radius: 4px;
        position: relative;
    }

    .product-index .filter-action .fa {
        font-size: 24px;
        position: absolute;
        top: 8px;
        bottom: 0;
        margin: auto;
        right: 11px;
    }

    .product-index .filter-action.active {
        margin-top: 8px;
        margin-bottom: 9px;
        display: block;
    }

}


.product-index-filter #accordion-color .filter-style-checkbox {
    border-radius: 50%;
}

.product-index-filter .filters-inner.sort .select-main > div {
    line-height: 26px;
}

.product-index-filter .filters-inner.sort .select-main a {
    color: #666666;
}

.product-index-filter .filters-inner.sort .select-main .active {
    font-weight: 500;
}

.product-index-filter .checkbox {
    margin-top: 0;
}

#accordion-designer .filter-check.false {
    display: none;
}

#accordion-category .filter-check.false {
    display: none;
}


#product-list .empty {
    margin: 50px 0;
}


#search-designer:focus, #search-designer:focus {
    outline: 0 none;
    box-shadow: none;
}


input.search-category, #search-designer {
    border: none;
    border-bottom: 1px solid #aaa;
    line-height: 38px;
    margin-bottom: 20px;
    padding: 0 5px 0 25px;
    width: 100%;
    background-image: url("gfx/search-ico.svg");
    background-position: left center;
    background-repeat: no-repeat;

}

#accordion-category .filter-check-main .filter-check-inner:last-child {
    border-bottom: 1px #aaa solid;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

input.search-category:focus {
    outline: 0 none;
    box-shadow: none;
}

.accordion-price .select-scroll {
    margin-bottom: 15px;
}

.filter-price-input-container{
    overflow: hidden;
}

.filter-price-input-from-container {
    float: left;
    width: 45%;
}

.filter-price-input-to-container {
    float: right;
    width: 45%;
    text-align: right;

}

.filter-price-input {
    width: 80%;
    margin-left: 6px;
    padding: 5px;
}

.product-index-filter-active-filters-box.box .clear-all-filters {
    display: none;
}



.accordion-filter-title-text {
    padding: 8px 0;
}

.filter-mobile-button-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 20px;
    background-color: #FFFFFF;
}

.filter-mobile-button-container  .btn.clear {
    margin-top: 11px;
}

.product-index-filter .header .text {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    display: inline-block;
}

@media (min-width: 993px) {
/*@media (min-width: 1124px) {*/

    .product-index-filter .header {
        display: grid;
        /*width: calc(100% - 150px)*/
        grid-template-columns: 1fr 116px;

    }


    .product-index-filter .header .gButton {
        line-height: 40px;
        text-align: right;
    }

    .product-index-filter .all-filter-container {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(6, 1fr);
        margin-bottom: 15px;
        max-width: 100%;
    }

    .product-index-filter .select-main,
    .product-index-filter .hidden-xs.hidden-ipad-portrait,
    .product-index-filter .accordion-filter-title,
    [class="display:none"],
    .product-index-filter .header > .clearfix {
        display: none;
    }

    .product-index-filter .select-title {
        border: 1px solid #A2A2A2;
        color: #000;
        cursor: pointer;
        line-height: 38px;
        padding-left: 10px;
        position: relative;
        text-transform: lowercase;
    }
    .product-index-filter .select-title:first-letter{
        text-transform: uppercase;
    }
    .product-index-filter .select-title.open {
        border-color: #A2A2A2;
    }

    .product-index-filter .select-title:before {
        border-left: 1px solid #000;
        border-top: 1px solid #000;
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        right: 10px;
        margin-top: 11px;
        transform: rotate(225deg);
    }

    .product-index-filter .select-title.open:before {
        margin-top: 16px;
        transform: rotate(45deg);
    }

    .product-index-filter .select-title.open + .select-main {
        background-color: #fff;
        border: 1px solid #E1E1E1;
        display: block;
        margin-top: 10px;
        min-width: 220px;

        padding: 15px;
        position: absolute;
        z-index: 3;
    }

    .product-index-filter .select-scroll {
        max-height: 253px;
        overflow-y: auto;
    }

    .product-index-filter .select-content p {
        background-color: #fff;
        color: #333;
        font-weight: 400;
        padding: 5px;
        text-transform: uppercase;
    }

    .product-index-filter .wiecej.btn,
    .product-index-filter .mniej.btn {
        background: #fff url("gfx/filter-more-less-ico.svg") no-repeat scroll calc(100% - 10px) center;
        padding: 10px 40px 9px 12px;
        border: 1px solid #A2A2A2;
        width: 100%;
        text-align: left;
    }

    .product-index-filter .wiecej.btn {
        font-size: 13px;
        text-align: center;
    }

    .filter-sort {
        background: #fff url("gfx/filter-more-less-ico.svg") no-repeat scroll calc(100% - 10px) center;
        padding: 9px 40px 8px 12px;
        border: 1px solid #A2A2A2;
        width: 100%;
    }

    .product-index-filter .clearAllfilters {
        position: absolute;
        text-align: right;
        right: 20px;
    }

    .product-index-filter .wiecej.false + .clearAllfilters {
        margin-top: -63px;
    }

    .filter-grid,
    .product-index-filter .mobile,
    .product-index-filter .header .text,
    .product-index-filter .header .close,
    .product-index-filter .filters-inner.false,
    .product-index-filter .wiecej.false,
    .product-index-filter .mniej {
        display: none;
    }

    .product-index-filter .mniej.true {
        font-size: 13px;
        display: block;
    }

    .product-index #accordion-type .filter-check {
        margin-bottom: 0 !important;
    }

    .filter-price-checkbox-container {
        margin-top: 22px;
    }

    .filters-inner.accordion-filter.accordion-filter-main-filter .filters_new {
        margin-bottom: 15px;
    }
}


@media (max-width: 992px) {
/*@media (max-width: 1123px) {*/
    .product-index-filter .filters-inner.sort .select-main > div {
        line-height: 32px;
        font-size: 14px;
    }

    .filter-grid .filter-sort.btn {
        padding: 9px;
        text-transform: uppercase;
        text-align: center;
        border: 1px solid #000;
        width: 100%;
    }

    .filter-grid .filter-sort.btn span{
        background: #fff url("gfx/filter-more-less-ico.svg") no-repeat scroll left center;
        padding-left: 20px;

    }

    .accordion-filter:not(:first-of-type) {
        border-bottom: 1px solid #E5E5E5;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
/*@media (min-width: 768px) and (max-width: 1123px) {*/
    .product-index-filter-active-filters-box.box,
    .product-index-filter-active-filters {
        display: none;
    }
}


@media (max-width: 992px) {
/*@media (max-width: 1123px) {*/
    .product-index-filter .select-title,
    .product-index-filter .select-scroll + .apply,
    .product-index-filter .select-scroll + .apply + .clear,
    .product-index-filter .wiecej,
    .product-index-filter .mniej,
    .product-index-filter .clearAllfilters {
        display: none;
    }

    .accordion-filter-title .accordion-filter-title-text {
        color: #000;
        font-size: 13px;
        font-style: normal;
        font-weight: 300;
    }

    .accordion-filter-title .accordion-filter-title-text {
        text-transform: lowercase;
        max-width: calc(100% - 30px);
    }

    .accordion-filter-title .accordion-filter-title-text:first-letter {
        text-transform: uppercase;
    }
    .accordion-filter-title .accordion-filter-title-text.has-filters span:before {
        content: ': ';
        margin-left: -7px;
        position: absolute;
        font-weight: 300;
    }
    .accordion-filter-title .accordion-filter-title-text span {
        margin-left: 3px;
        font-weight: 400;
        text-transform: none;
    }

    .accordion-filter-title .accordion-filter-title-text {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .filters-inner.sort .select-main .clear {
        bottom: 20px;
        position: absolute;
        width: calc(100% - 40px);
    }

    .filters-inner.sort .select-main .apply {
        bottom: 80px;
        position: absolute;
        width: calc(100% - 40px);
    }

    .visible-xs.visible-ipad-portrait {
        display: none !important;
    }

    .product-index-filter {
        background-color: #fff;
        bottom: 0;
        display: none;
        left: 0;
        padding: 20px 20px 110px 20px;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 10000;


    }
    .product-index-filter.open{
        display: block;
    }
    body:has(.product-index-filter.open),html:has(.product-index-filter.open){
        overflow: hidden !important;
    }


    .product-index-filter .header .close {
        background-color: #000;
        cursor: pointer;
        height: 20px;
        margin-right: 16px;
        margin-top: -18px;
        opacity: 1;
        transform: rotate(45deg);
        width: 2px;
    }

    .product-index-filter .header .close:before {
        background-color: #000;
        content: '';
        height: 2px;
        margin-left: -9px;
        margin-top: 9px;
        position: absolute;
        width: 20px;
    }

    .product-index-filter .header .close:after {
        content: '';
        height: 20px;
        margin-left: -9px;
        position: absolute;
        width: 20px;
    }

    .all-filter-container {
        margin-top: 15px;
        overflow: scroll;
        height: calc(100% - 50px);
    }


    .product-index-filter .select-scroll {
        max-height: auto;
        /*overflow-y: auto;*/
    }

    .filter-grid[data-some-data-attr="sort"] + .product-index-filter .filters-inner.sort .accordion-filter-title-text a {
        color: #000;
        font-size: 15px;
    }

    #accordion-category.select-content.open .accordion-category-inner {
        display: block !important;
    }
}

.filter-price-range-container {
    display: none;
    width: 100%;
    margin-top: 20px;
    padding: 0 5px 0 12px;
}

.slider.slider-horizontal{
    width: 100%;
}

.slider .slider-handle{
    width: 15px;
    height: 15px;
    background-color: #000;
    background-image: none;
    filter: none;
    box-shadow: none;
    border: 2px solid #fff;
}

.slider .slider-selection{
    background-color: #000;
    background-image: none;
    border-radius: 0;
    box-shadow: none;
}

.slider .slider-track{
    background-color: #e1e1e1;
    background-image: none;
    box-shadow: none;
    border-radius: 0;
    filter: none;
}

.slider.slider-horizontal .slider-handle{
    margin-top: -5px;
}

.slider.slider-horizontal .slider-track{
    height: 5px;
}

.all-filter-container [role="option"].highlight {
    background-color: yellow;
}
