main .wrapper {
    display: flex;
}

.filters {
    width: 25%;
    padding-right: 40px;
    position: relative;
}

.filters .heading {
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #6C6C6C;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.filters .filter .arrow-mob {
    display: none;
}

.filters .filter {
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #6C6C6C;
    margin-bottom: 16px;
    position: relative;
}

.filters .filter-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 8px;
}

.filters .filter-wrap .title  {
    position: relative;
    padding-right: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #C49A6C;
    margin-bottom: 8px;
    text-transform: uppercase;
    cursor: pointer;
}

.filters .filter-wrap .title::after {
    content: '+';
    padding-left: 5px;
    font-size: 24px;
    transition: .3s;
    position: absolute;
    right: 0;
    bottom: 3px;
    /* width: 19px;
    height: 11px;
    background: url('/wp-content/uploads/2021/10/filter_arrow.svg');
    position: absolute;
    right: 0;
    top: calc(50% - 5.5px);
    transition: .3s; */
}

.filters .filter-wrap.active .title::after {
    /* transform: rotateX(180deg); */
    content: '-';
}

.filters .filter-wrap .filters-block {
    display: none;
}

.filters .filter-wrap.active .filters-block {
    display: flex;
    flex-direction: column;
}

.filters .filter-wrap .filters-block label {
    margin-bottom: 8px;
    padding-left: 10px;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    color: #6C6C6C;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.filters .filter-wrap .filters-block input {
    width: 14px;
    height: 14px;
    margin: 0 8px 0 0;
    border: 1px solid #6C6C6C;
    position: relative;
    appearance: none;
    cursor: pointer;
}

.filters .filter-wrap .filters-block input:checked:after {
    content: "";
    width: 4px;
    height: 8px;
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    display: block;
    position: absolute;
    top: 0;
    left: 3px;
    transform: rotate(45deg);
}

.filters .count-filter-form {
    display: none;
}

.output .count-filter {
    display: flex;
    flex-direction: column;
    margin: 24px 0 16px;
}

.output .count-filter .head {
    display: flex;
    margin-bottom: 4px;
}

.output .count-filter .head .title {
    font-weight: 700;
    font-size: 11px;
    line-height: 14px;
    color: #000000;
    margin-right: 8px;
}

.output .count-filter .head input {
    display: none;
}

.output .count-filter .head label {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 26px;
    height: 22px;
    border: 1px solid #C4C4C4;
    font-weight: 700;
    font-size: 11px;
    line-height: 14px;
    color: #C4C4C4;
    cursor: pointer;
}

.output .count-filter .head label.active {
    background: #C4C4C4;
    color: #fff;
}

.output .count-filter .footer {
    margin-left: 40px;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    color: #C4C4C4;
}

.output {
    width: 75%;
}

.output-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 16px;
    position: relative;
}

.output-posts img {
    height: 100%;
}

.output-posts .post {
    text-decoration: unset;
    display: flex;
    flex-direction: column;
}

.output-posts .post .info {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    color: #787a7c;
}

.output-posts .post .brand {
    font-weight: 400;
    font-size: 10px;
    margin-bottom: 3px;
}

#loadmore {
    width: fit-content;
    margin: 20px auto;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #C49A6C;
    text-transform: uppercase;
}

.loader-wrap {
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    top: 0;
    left: 0;
}

.loader-wrap img {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translate(-50%, 0);
}


@media(max-width: 769px) {
    main .wrapper {
        flex-direction: column;
    }
    .filters .filter .arrow-mob {
        display: inline;
        cursor: pointer;
        margin-left: 8px;
    }
    #tax_filters {
        display: none;
    }

    #tax_filters.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        background: #fff;
        z-index: 999;
    }
    .filters {
        width: 100%;
    }
    .output .count-filter {
        margin: 0 0 8px;
    }
    #loadmore {
        margin: 8px auto;
    }
    .filters .filter-wrap .filters-block input {
        margin: 0 16px 0 0;
        width: 24px;
        height: 24px;
    }
    .filters .filter-wrap .filters-block label {
        margin-bottom: 16px;
        padding-left: 0;
    }
    .filters .filter-wrap .filters-block input:checked:after {
        width: 8px;
        height: 14px;
        left: 6px;
    }
    .output {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .output-posts {
        margin: 0;
    }

    .output-posts img {
        width: auto;
    }

    .output-posts .post {
        min-width: 100%;
    }
}

@media(max-width: 480px) {
    .output-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}