<Box sx={{display: "flex",flexDirection:"row",width:"100%"}}>
<Box sx={{display: "flex",flexDirection:"column",width:"50%"}}>
<span>{product.name}</span>
<span>{product.quatity}</span>
<span>
{product.content?.map((item) => (
<li>{item}</li>
))}
</span>
<span>Remove</span>
</Box>
<Box sx={{display: "flex",flexDirection:"column",width:"50%",alignItems:"end"}}>
<span>item.price</span>
<span>total price</span>
</Box>
</Box>
</Box>
<Box
sx={{ display: "flex", flexDirection: "row", width: "100%" }}
>
<Box
sx={{
display: "flex",
flexDirection: "row",
width: "100%"
}}
>
<Box
sx={{
display: "flex",
flexDirection: "column",
width: "50%",
alignItems: "start"
}}
>
<span>{product.name}</span>
<span>{product.quatity}</span>
<span>
{product.content?.map((item) => (
<li>{item}</li>
))}
</span>
<span>Remove</span>
</Box>
<Box
sx={{
display: "flex",
flexDirection: "column",
width: "50%",
alignItems: "end"
}}
>
<span>item.price</span>
<span>total price</span>
</Box>
</Box>
</Box>
</Box>