
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
    gap: 1.5rem;
    margin-top: 1rem;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);  
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-card h2 {
    margin: 0.5rem 0;
}

.product-card p {
    color: #0aa9ee;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-card a,
.product-card button {
    display: inline-block;
    background-color: #0aa9ee;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    cursor: pointer;
    margin: 0.3rem;
    transition: 0.3s;
    font-weight: 500;
}

.product-card a:hover,
.product-card button:hover {
    background-color: #0989c6;
}

.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 6px 10px;
    border-radius: 4px;
    background: white;
    color: #0aa9ee;
    text-decoration: none;
    border: 1px solid #0aa9ee;
    transition: 0.3s;
}

.pagination a:hover {
    background: #0aa9ee;
    color: white;
}

.pagination .active {
    background: #0aa9ee;
    color: white;
    font-weight: bold;
}