.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

h1 {
    font-family: 'Cinzel', sans-serif;
    /* background: #fff; */
    margin: 1rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    color: #034c86;
    text-align: center;
    margin-bottom: 0;
}

.product-card img {
    width: 100%;
    height: auto;
    /* padding-bottom: 75%; 4:3 ratio */
    object-fit: cover;
    display: block;
}

.product-card h3 {
    margin: 0.75rem 0.5rem 0.25rem;
    font-size: 1rem;
    line-height: 1.2;
    flex-grow: 1;
    font-weight: 200;
}

.product-card .price {
    margin: 0 0.5rem 0.75rem;
    font-size: 1rem;
    /*font-weight: bold;*/
    color: #b8860b;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
}

.pagination a {
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.pagination a:hover {
    background: #b8860b;
    color: #fff;
}

.pagination a.active {
    background: #b8860b;
    color: #fff;
    border-color: #b8860b;
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .product-card h3 {
        font-size: 0.9rem;
        margin: 0.5rem 0.5rem 0.25rem;
    }

    .product-card .price {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .pagination a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}