.filters-area {
    position: sticky;
    z-index: 80;
    padding-block: 0px !important;
    border-block: 0px;
}

.filters-area>.filters-inner-area>.wd-widget {
    background-color: white;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    margin-left: calc((-100vw + 100%) / 2);
    padding-left: calc((100vw - 100%) / 2);
    margin-right: calc(50% - 50vw);
    padding-right: calc(-50% + 50vw);
    width: 100vw;
}

.filters-area .wd-widget>p {
    margin: 0px !important;
}

.wpfFilterVerScroll .wpfDisplay.selected {
    font-weight: 700 !important;
}

@media screen and (min-width: 1025px) {
    .filters-area {
        top: var(--wd-header-h);
    }

    .filters-area .filters-inner-area {
        width: 100%;
        max-width: var(--wd-container-w);
        padding: 0px;
    }

    .wpfMainWrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    .wpfMainWrapper>div {
        padding: 0px !important;
        margin: 0px !important;
        flex: 0 0 auto;
        width: auto !important;
        min-width: auto;
    }

    .wpfMainWrapper .wpfFilterWrapper {
        position: relative;
        cursor: pointer;
    }

    .wpfMainWrapper>div .wpfFilterButton {
        margin: 0px;
        width: 100%;
        height: 100%;
        font-weight: 400;
        font-size: 14px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterTitle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        margin-bottom: 0px;
        padding: 0px 40px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterTitle:hover,
    .wpfMainWrapper .wpfFilterWrapper.tka-selected .wpfFilterTitle {
        background-color: #f2f2f2;
    }

    .wpfMainWrapper .wpfFilterWrapper .wfpTitle {
        color: var(--color-gray-900);
        font-weight: 400;
        font-size: 14px;
        position: relative;
        cursor: pointer;
        margin-left: 10px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wfpTitle::before {
        content: ' ';
        height: 0;
        position: absolute;
        top: calc(50% - 7px);
        left: -15px;
        border: solid var(--color-gray-900);
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
    }

    .wpfMainWrapper .wpfFilterWrapper.tka-selected .wfpTitle {
        color: var(--color-gray-900);
    }

    .wpfMainWrapper .wpfFilterWrapper.tka-selected .wfpTitle:before {
        transform: rotate(225deg);
        top: calc(50% - 2px);
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent {
        position: absolute;
        overflow: auto;
        background: white;
        z-index: 2000;
        display: none;
        width: 300px;
        border-top: 1px solid #dfdfdf;
        box-shadow: 0 10px 15px -5px #0000004d;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll {
        padding: 12px 28px 16px !important;
        max-height: 350px !important;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll::-webkit-scrollbar-thumb {
        background-color: #757575;
        background-clip: padding-box;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll::-webkit-scrollbar {
        width: 6px;
        background-color: #dfdfdf;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll li label {
        display: flex;
        vertical-align: baseline;
        align-items: center;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll li label .wpfCheckbox {
        display: inline-flex;
        margin-top: -3px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll li label .wpfFilterTaxNameWrapper {
        font-size: 14px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll .wpfCollapsible {
        flex: 1;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll .wpfCollapsible i {
        border: solid var(--color-gray-900);
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 3px;
        margin-right: 2px;
        margin-top: -6px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll .wpfCollapsible i.fa-plus {
        transform: rotate(45deg);
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll .wpfCollapsible i.fa-minus {
        transform: rotate(225deg);
        margin-top: 6px;
        margin-right: -4px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll li>ul {
        margin-left: 15px;
        margin-top: 10px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfSearchWrapper {
        padding: 12px 28px 0px;
    }

    .wpfMainWrapper .wpfCountWrapper {
        flex: 1 1 auto !important;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
    }

    .wpfMainWrapper .wpfCountWrapper .wpfCountTitle {
        font-weight: 400;
        margin: 0px 40px;
        color: var(--color-gray-900);
        font-size: 14px;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll li[data-term-id="-1"] {
        display: block !important;
    }

    .wpfMainWrapper .wpfFilterWrapper[data-filter-type="wpfPrice"] .wpfFilterContent {
        padding: 20px 30px !important;
    }

    .wpfMainWrapper .wpfFilterWrapper .wpfPriceInputs input {
        height: 36px;
    }

    .filters-area .wd-widget:nth-child(2),
    .tka-selected-filters .wpfCountWrapper {
        display: none;
    }

    .tka-selected-filters .wpfSelectedParameters {
        margin: -30px 0px 15px;
    }
}

@media screen and (max-width: 1024px) {
     .filters-area {
        top: var(--wd-header-sm-h);
        margin-bottom: 0px;
    }

    .filters-area .wd-widget:nth-child(1) {
        display: none;
    }

    .tka-filters-mobile {
        display: flex;
    }

    .tka-filters-mobile .tka-filter-title {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 10px 0px;
        cursor: pointer;
        flex: 1 1 50%;
    }

    .tka-filters-mobile .tka-filter-title .tka-title {
        color: var(--color-gray-900);
        font-weight: 400;
        font-size: 14px;
        position: relative;
        cursor: pointer;
        margin-left: 10px;
    }

    .tka-filters-mobile .tka-filter-title .tka-title::before {
        content: ' ';
        height: 0;
        position: absolute;
        top: calc(50% - 7px);
        left: -15px;
        border: solid var(--color-gray-900);
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
    }

    .tka-sorter-content {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99999;
        background-color: #000000b3;
    }

    .tka-sorter-content .wpfFilterVerScroll {
        width: 100%;
        background-color: #fff;
        box-shadow: 0 3px 4px #0000002b;
        position: absolute;
        top: 45%;
        padding: 20px 0px;
    }

    .tka-sorter-content .wpfFilterVerScroll .tka-sorter-close:before {
        display: inline-block;
        content: "\00d7";
        position: absolute;
        font-size: 24px;
        color: var(--color-gray-900);
        z-index: 9999;
    }

    .tka-sorter-content .wpfFilterVerScroll .tka-sorter-close:before {
        top: 5px;
        right: 20px;
    }

    .tka-sorter-content .wpfFilterVerScroll li {
        padding: 12px 30px;
        margin-bottom: 0px;
    }

    .tka-sorter-content .wpfFilterVerScroll li label {
        margin-bottom: 0px;
        text-align: center;
    }

    .tka-sorter-content .wpfFilterVerScroll .wpfCheckbox {
        display: none;
    }

    .tka-sorter-content .wpfFilterVerScroll .wpfDisplay .wpfValue {
        padding-left: 0px !important;
    }

    .wpfFloating .wpfFilterWrapper[data-filter-type="wpfSortBy"] {
        display: none;
    }

    .wpfFloating {
        position: static !important;
    }

    .wpfFloatingTitle {
        padding: 22px 24px 18px !important;
        border-bottom: 1px solid #dfdfdf;
        line-height: inherit !important;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-transform: uppercase;
    }

    .wpfFloatingBack {
        display: inline-block;
        border: solid var(--color-gray-900);
        border-width: 0 1px 1px 0;
        padding: 4px;
        transform: rotate(135deg);
        margin-right: 18px;
        margin-bottom: 2px;
    }

    .wpfFloatingClose:before,
    .wpfFloatingClose:after {
        position: absolute;
        top: 6px;
        right: 16px;
        content: ' ';
        height: 16px;
        width: 1px;
        background-color: var(--color-gray-900);
    }

    .wpfFloatingClose:before {
        transform: rotate(45deg);
    }

    .wpfFloatingClose:after {
        transform: rotate(-45deg);
    }

    .wpfFloating .wpfFilterButtons {
        position: absolute;
        bottom: -1px;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 10px 0px;
        box-shadow: 0 -1px 15px #00000012;
        background-color: white;
    }

    .wpfFloating .wpfFilterButtons .wpfFilterButton {
        color: #fff;
        background-color: #000;
    }

    .wpfFloating .wpfFilterWrapper {
        margin: 0px;
        padding: 0px !important;
    }

    .wpfFloating .wpfFilterWrapper .wpfFilterTitle {
        position: relative;
    }

    .wpfFloating .wpfFilterWrapper .wpfFilterTitle::after {
        content: ' ';
        height: 0;
        position: absolute;
        top: calc(50% - 6px);
        right: 24px;
        border: solid var(--color-gray-900);
        border-width: 0 1px 1px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(-45deg);
    }

    .wpfFloating .wpfFilterWrapper .wpfSubFilterWrapper {
        position: relative;
    }

    .wpfFloating .wpfFilterWrapper .wpfSubFilterWrapper .wpfSubFilterIcon {
        display: inline-block;
        border: solid var(--color-gray-900);
        border-width: 0 1px 1px 0;
        padding: 3px;
        transform: rotate(-45deg);
        margin-top: 6px;
        position: absolute;
        top: calc(50% - 9px);
        right: 24px;
    }

    .wpfFloating .wpfFilterWrapper .wpfFilterContent {
        display: none;
    }

    .wpfFloating .wpfFilterWrapper[data-filter-type="wpfPrice"] .wpfFilterContent {
        padding: 40px;
    }

    .wpfFloating .wpfFilterWrapper .wpfFilterContent .wpfFilterVerScroll {
        max-height: none !important;
        padding-bottom: 100px;
    }

    .wpfFloating .wpfFilterWrapper .wpfSearchWrapper {
        margin: 0px !important;
    }

    .wpfFloating .wpfFilterWrapper .wpfFilterTitle,
    .wpfFloating .wpfFilterWrapper .wpfSearchWrapper,
    .wpfFloating .wpfFilterWrapper ul li label.wpfLiLabel {
        padding: 18px 24px !important;
        margin: 0px !important;
        border-bottom: 1px solid #dfdfdf;
        width: 100% !important;
    }

    .wpfFloating .wpfFilterWrapper ul,
    .wpfFloating .wpfFilterWrapper li {
        margin: 0px !important;
    }

    .tka-selected-filters {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* .tka-selected-filters .wpfSelectedParameters{
        flex: 1 1 80%;
    } */

    .tka-selected-filters .wpfCountWrapper {
        min-width: 80px;
        padding: 10px 0px;
        flex: 1 1 auto;
        text-align: right;
        font-size: 14px;
    }
}