.category-header .container {
    max-width: calc(1170px + 320px);
    box-sizing: border-box;
    width: 100%;
}

.container-custom-shop-filter {
    margin: 0 auto;
    width: 100%;
    max-width: calc(1170px + 320px);
    display: flex;
    flex-wrap: wrap;
}

.custom-shop-filter {
    max-width: 320px;
    width: 100%;
    position: relative;
    border-left: 1px solid #f5f5f5;
    margin: 0;
    padding: 50px 0 0 0;
    margin-top: -30px;
    overflow: initial;
}
.template-container {
    overflow: initial;
}
.prefooter .pre-footer-contact {
    width: 100%;
    position: relative;
    /* left: -15px; */
}

/* Track */
.zaga-filter .st-swatch-preview li.selected {
    box-shadow: inherit;
}
.zaga-filter::-webkit-scrollbar-track {
background: #fff;
}
  
.container-custom-shop-filter .container {
    margin: 0;
    max-width: calc(100% - 320px);
    width: 100%;
}

.sidebar-filter {
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.sidebar-filter .orderby-select select {
    border-radius: 0 !important;
    font-size: 18px;
    font-family: Heebo;
    font-weight: 700;
    border: 1px solid #d0d0d0;
}
.sidebar-filter.closed .filter-list-attr {
    display: none;
}

.sidebar-filter-attr {
    border-top: 1px solid #f5f5f5;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.price_label_fileds,
.price_label {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.price_label {
    display: none !important;
}
.price_label_fileds>input,
.price_label>span:not(.sap) {
    border: 1px solid #d0d0d0;
    width: calc(50% - 10px);
    padding: 2px 5px;
    text-align: center;
}
.price_label_fileds>input {
    display: inline-block !important;
    opacity: 1 !important;
    line-height: 22px;
    height: auto;
}
.price_label_fileds>.sap,
.price_label>span.sap {
    width: 20px;
    text-align: center;
}

.price_slider_wrapper .ui-slider-range,
.price_slider_wrapper .ui-slider .ui-slider-handle {
    background-color: #e2b411;
}

.price_slider_wrapper .ui-slider .ui-slider-handle::before {
    content: "";
    position: absolute;
    border-right: 2px solid #000;
    height: 60%;
    right: calc(50% - 1px);
    top: 20%;
}

.filter-title {
    font-size: 18px;
    position: relative;
    cursor: pointer;
    display: block;
    margin-bottom: 15px;
}
.filter-title div {
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
}
.drop-down-arrow {
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 6px;
    position: absolute;
    left: 0;
    top: -6px;
}
.sidebar-filter.closed .drop-down-arrow.up,
.drop-down-arrow.down.up,
.drop-down-arrow.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.drop-down-arrow.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    top: 3px;
}

.drop-down-arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.drop-down-arrow.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.sidebar-filter li.type-select {
    margin: 0;
}

.custom-shop-filter .type-image input[type="checkbox"] {
    display: none;
}

.custom-shop-filter .type-select .filter-label {
    display: block;
    position: relative;
    padding-right: 22px;
    /* margin-bottom: 12px; */
    cursor: pointer;
    font-size: 16px;
    line-height: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 10px;
}

/* Hide the browser's default checkbox */
.type-select .filter-label input[type="radio"],
.type-select .filter-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    display: none;
}

/* Create a custom checkbox */
.type-select .filter-label .checkmark {
    position: absolute;
    top: 0;
    right: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.type-select .filter-label:hover input~.checkmark {
    background-color: #d0d0d0;
}

/* When the checkbox is checked, add a blue background */
.type-select .filter-label input:checked~.checkmark {
    background-color: #d0d0d0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.type-select .filter-label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.type-select .filter-label input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.type-select .filter-label .checkmark:after {
    right: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.filter-form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 50px;
}

.clear-filter {
    position: relative;
    width: 35px;
    color: #e2b411;
}

.clear-filter .drop-down-arrow {
    position: absolute;
    left: 0;
    top: 8px;
    padding: 3px;
    border-color: #e2b411;
}

.clear-filter:hover {
    color: #000;
}

.clear-filter:hover .drop-down-arrow {
    border-color: #000;
}


.submit-filter {
    background-color: #e2b411;
    color: #222222;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    font-weight: bold;
    font-size: 1.14rem;
    border-radius: 20px;
    padding: 0 15px;
    line-height: 38px;
    height: 38px;
    display: none;
}

.submit-filter .drop-down-arrow {
    position: inherit;
    padding: 3px;
    margin-right: 2px;
}

.submit-filter:hover .drop-down-arrow {
    border-color: #fff;
}
.show-more-attr .show-less,
.show-more-attr.open .show-more,
.show-more-attr li:nth-child(n+6) {
    display: none;
}

.show-more-attr.open li:nth-child(n+6) {
    display: inline-block;
}

.show-more-attr-btn {
    cursor: pointer;
}

.show-more-attr.open .show-less {
    display: inline;
}

.after-shop-loop {
    display: none;
}

.mobile-open-filter {
    display: none;
    position: relative;
    width: 80px;
    cursor: pointer;
    z-index:10; 
    font-weight: bold;
    margin-bottom: 30px;
}
.mobile-open-filter.close {width: 90px;padding:0 15px;}
.mobile-open-filter .drop-down-arrow {
    padding: 3px;
    top: 7px;
}

.et-loader.product-ajax.loading-pagination.loading {
    top: inherit;
    bottom: 0;
    height: 30px;
    transform: translate(-50%, 0);
}
.et-loader.product-ajax.loading-pagination.loading .loader-circular {
    top: 0;
}
@media (max-width: 1280px) {
    .col-md-3 {
        width: 33.33%
    }
} 

@media (max-width: 992px) {
    .col-md-3 {
        width:50%
    }
    .custom-shop-filter {
        max-width: 200px;
    }
    .container-custom-shop-filter .container {
        max-width: calc(100% - 200px);
    }
    .show-more-attr li:nth-child(n+6) {display: inline-block;}
    .show-more-attr li:nth-child(n+7) {
        display: none;
    }
} 

@media (min-width: 768px) {
    .zaga-filter {
        padding:30px 0;
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 0;
        overflow-y: scroll;
    }
}

@media (max-width: 768px) {
    .zaga-filter {
        top: inherit !important;
        max-height: inherit !important;
    }
    .archive-wrapper {
        position: relative;
    }
    .mobile-open-filter,
    .container-custom-shop-filter {
        display: block;
    }
    .mobile-open-filter:not(.close) {
        position: sticky;
        top: 120px;
        background: #fff;
        padding: 5px 15px;
        width: calc(100% + 30px);
        margin-right: -15px;
        z-index: 100;
    }
    .mobile-open-filter:not(.close) .drop-down-arrow {
        position: static;
        top:inherit;
        left:inherit;
    }
    .container-custom-shop-filter .container {
        max-width: 100%;
    }

    .container-custom-shop-filter .custom-shop-filter {
        max-width: 100%;
        height: calc(100vh - 151px);
        display: none;
        background: #fff;
        position: fixed;
        top: 104px;
        right: 0;
        border: 0;
        margin: 0;
        z-index: 999999;
    }
    body.custom-shop-filter-mobile-open {overflow: hidden;width: 100vw!important;height: 100vh !important;}
    body.custom-shop-filter-mobile-open .container-custom-shop-filter .custom-shop-filter{
        display: block;
        height: 100vh;
        overflow-y: scroll;
        padding-bottom: 250px;
    }
    body.custom-shop-filter-mobile-open #openVSButton,
    body.custom-shop-filter-mobile-open .back-top.backIn{
        display: none;
    }

    body.custom-shop-filter-mobile-open .filter-form-bottom {
        position: fixed;
        bottom: 0;
        background: #fff;
        width: 100%;
        padding: 10px 15px 65px;
    }
    .submit-filter {display: block;}
}