/*!
 * cat.css — product grid on the shop listing pages (web/productlist/*).
 * Stands in for the original cat.css + masonry.js, which loaded from the
 * live domain and were never archived; without them the grid collapsed into
 * one long column. Each card is the product image link (.catList), then
 * artist / title (.sttl) and price (.jiage, styled in style.css). The
 * product photos were lost in the scrape, so .catList shows the image's
 * alt text on a placeholder in the colour of the category band above.
 */
#catBox {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 30px;
    margin-bottom: 40px;
}

.grid_sizer,
.loaderSymbol { display: none; }

.catItem {
    min-width: 0;
    text-align: center;
}

.catList a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 16px;
    background-color: #F3EAD8;
    color: #8a8070;
    font-size: 13px;
    line-height: 1.5;
    transition: background-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .catList a:hover { background-color: #EBDFC6; }
}

.pinf { padding-top: 14px; }

.pinf .sttl {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

@media screen and (max-width: 991px) {
    #catBox {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 20px;
    }
}

@media screen and (max-width: 640px) {
    #catBox {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .pinf .sttl { font-size: 14px; }
}
