<style>
    /* Grid container */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
        gap: 16px; /* Space between tiles */
        padding: 16px;
    }

    /* Individual tile */
    .product-tile {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 16px;
        background-color: #ffffec;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Hover effect */
    .product-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Product image */
    .product-image {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        margin-bottom: 12px;
    }

    /* Product title */
    .product-title {
        font-size: 18px;
        margin: 8px 0;
        color: #333;
    }

    /* Product price */
    .product-price {
        font-size: 16px;
        font-weight: bold;
        margin: 8px 0;
        color: #007600; /* Amazon-like green */
    }

    /* View Details button */
    .product-button {
        display: inline-block;
        padding: 8px 16px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .product-button:hover {
        background-color: #0056b3;
    }
</style>
