.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.product-price {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.add-to-cart-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #FF1493;
}

.add-to-cart-btn:disabled {
    background-color: #CCC;
    cursor: not-allowed;
}

.featured-products {
    margin-top: 30px;
}

#featured-products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.featured-product {
    flex: 0 0 30%;
    text-align: center;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .product-card {
        padding: 10px;
    }

    .product-image {
        height: 200px;
    }
}
