/* ── Product Archive & Product Category: unified grid ── */
body.post-type-archive-product .content-wrap.grid-cols.post-archive,
body.tax-product-category .content-wrap.grid-cols.post-archive {
    grid-template-columns: repeat(4, 1fr) !important;
}



/* ── Tablet: 3 columns ── */
@media (max-width: 1024px) {
    body.post-type-archive-product .content-wrap.grid-cols.post-archive,
    body.tax-product-category .content-wrap.grid-cols.post-archive {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ── Mobile: 2 columns ── */
@media (max-width: 768px) {
    body.post-type-archive-product .content-wrap.grid-cols.post-archive,
    body.tax-product-category .content-wrap.grid-cols.post-archive {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── Small mobile: still 2 columns, tighter gap ── */
@media (max-width: 480px) {
    body.post-type-archive-product .content-wrap.grid-cols.post-archive,
    body.tax-product-category .content-wrap.grid-cols.post-archive {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 14px !important;
        row-gap: 24px !important;
    }
}




body.post-type-archive-product .post-thumbnail,
body.tax-product-category .post-thumbnail {
    padding-bottom: 100% !important;
}