/* Reset and Global Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Product Container */
.product-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 2em;
    max-width: 80%;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #eeeded;
}

  /* left side: image */
.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none; /* Remove the box line of image container */
}

.product-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

  /* right side: details */
.product-details {
    flex: 2; /* Expand more than the left side */
    padding: 1em;
}

.product-details h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.product-details p {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    color: #2f45d3;
    margin: 15px 0;
}

.order-btn {
    display: inline-block;
    background-color: #2f45d3;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: #1d33a0;
}

  /* Responsive Design */
@media (max-width: 768px) {
    .product-container {
    flex-direction: column;
    align-items: center;
    }

    .product-image,
    .product-details {
    width: 100%;
    }

    .product-image img {
    max-width: 150px;
    }

    .product-details h2 {
    font-size: 1.2em;
    }

    .product-details p {
    font-size: 0.9em;
    }

    .price {
    font-size: 1em;
    }

    .order-btn {
    font-size: 0.9em;
    padding: 8px 15px;
    }
}
