 

.product-card {
    max-width: 300px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}

.product-card img {
    max-width: 100%;
}

.product-card h2 {
    margin: 10px 0;
    font-size: 20px;
}

.product-price {
    font-size: 18px;
    color: #e74c3c;
}

.product-description {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.buy-button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #2980b9;
}
/* Your existing styles here */

/* Your existing styles here */
 /* Your existing styles here */
 /* Your existing styles here */

.product-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    justify-content: space-between;
}

.product-card {
    flex: 1;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin: 10px;
    min-width: calc(25% - 20px);
    box-sizing: border-box;
 
}
 

.product-card img {
    max-width: 100%;
 
}
 
.product-card h2 {
    margin: 10px 0;
    font-size: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .product-card {
        min-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .product-card {
        min-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .product-card {
        min-width: calc(100% - 20px);
    }
}

/* Rest of your styles */
