.pk-isotope .block_content {
    width: calc(100% + 30px);
}

.pk-isotope article .thumbnail-container {
    margin-right: 30px;
}

.pk-isotope article {
    margin-right: 0;
    width: 25%;
}

.filter {
    justify-content: center;
    margin-bottom: 40px;
    list-style: none;
    gap: 20px;

    .filter-tab {
        color: #444;
        text-transform: uppercase;
        font-size: 15px;
        font-weight: normal;
        letter-spacing: 0.1em;
        padding: 0 20px 10px;
        line-height: 19px;
        display: block;
        border-bottom: 2px solid transparent;

        &.selected {
            border-color: #515151;
        }
    }
}

.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

.isotope,
.isotope .isotope-item {
    transition-duration: 0.8s;
}

.isotope {
    flex-wrap: wrap;
    transition-property: height, width;
}

.isotope .isotope-item {
    transition-property: transform, opacity;
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    transition-duration: 0s;
}

.isotope.infinite-scrolling {
    transition: none;
}

@media (width >= 1170px) {
    body #isotope li {
        margin-right: 30px;
        width: 210px;
    }

    .isotope-col-3 .isotope article {
        width: 33.33%;
    }

    .category-page-type-masonry .view_grid1 .product-list-container > .product-miniature,
    .isotope-col-4 .isotope article {
        width: 25%;
    }

    .isotope-col-5 .isotope article {
        width: 20%;
    }

    .isotope-col-6 .isotope article {
        width: 16.66%;
    }
}

body .column_exist #isotope li {
    width: 270px;
    margin-right: 28px;
}

@media (width >= 768px) and (width <= 1024px) {
    .category-page-type-masonry .view_grid1 .product-list-container > .product-miniature,
    .pk-isotope article {
        width: 33.33%;
    }
}

@media (width <= 768px) {
    .category-page-type-masonry .view_grid1 .product-list-container > .product-miniature,
    .pk-isotope article {
        width: 50%;
    }
}

@media (width <= 480px) {
    .pk-isotope article {
        width: 100%;
    }
}

@media (width <= 1024px) {
    .filter .filter-tab a,
    .filter h5 a,
    .filter li a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .filter .filter-tab,
    .filter h5,
    .filter li {
        padding: 0;
    }
}

@media (width <= 500px) {
    .filter {
        flex-wrap: wrap;
    }

    .filter .filter-tab,
    .filter h5,
    .filter li {
        margin: 0 0 15px;
    }
}
