.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
    row-gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    text-align: left;
    max-width: 300px; 
    margin: 0 auto;
}

.product-image {
    width: 100%;
    padding-top: 100%;
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f9f9f9;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    border-radius: 4px;
}

.product:hover .product-image {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.07);
}

.product h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.product .price {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

a.product-link {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 18px;
        row-gap: 22px;
    }
    .product-image {
         padding-top: 110%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }
    .product {
        max-width: 300px; 
    }
}