<template>
    <div class="menu-item">
        <!-- <img :src="image" alt="Product Image" class="menu-image" />
        <div class="menu-details">
            <h3>{{ productName }}</h3>
            <p>Temperature: {{ temperature }}</p>
            <p>Capacity: {{ capacity }}</p>
            <p>Price: ¥{{ price }}</p>
        </div> -->

        <div class="menu-item">
            <img src="../assets/coffee1.png" alt="Golden Iced Coffee">
            <div class="menu-item-content">
                <h3 class="menu-item-title">Golden Iced Coffee</h3>
                <p class="menu-item-details">Temperature: Cold | Capacity: 400ml</p>
                <p class="menu-item-price">Price: 33元</p>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        productName: String,
        image: String,
        temperature: String,
        capacity: String,
        price: Number,
    },
};
</script>

<style scoped>

.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.menu-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 15px;
    width: 280px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: auto;
}

.menu-item-content {
    padding: 15px;
}

.menu-item-title {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.menu-item-details {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #555;
}

.menu-item-price {
    font-size: 1rem;
    color: #e91e63;
    font-weight: bold;
}
</style>