/* =====================================================
   PRODUCT GRID – RESPONSIVE
   ===================================================== */

.ws-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Tablet */
@media (max-width: 1024px) {
    .ws-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ws-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ws-product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   PRODUCT CARD
   ========================= */

.ws-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ws-product-thumb {
    display: block;
    padding: 0;
    background: #fafafa;
}

.ws-product-thumb img {
    margin: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.ws-product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ws-product-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: auto;
}

.ws-product-title a {
    color: #0a58ca;
    text-decoration: none;
}

.ws-product-actions {
    margin-top: 12px;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
}

.ws-btn-outline {
    border: 1px solid #0a58ca;
    color: #0a58ca;
}

.ws-btn-outline:hover {
    background: #0a58ca;
    color: #fff;
}
