/* General Styles */
body {
    font-family: Arial, sans-serif;
 
   
    background-color: #f8f9fa; /* Light background for contrast */
}

/* Product Details Section */
.product-details {
    max-width: 800px; /* Limit the width of the product details section */
    margin: 0 auto; /* Center the section */
    margin-top: 20px;
    padding: 20px;
    background-color: #fff; /* White background for product details */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Prevent overflow */
}

#product-image {
    width: 100%; /* Full width for responsiveness */
    max-width: 600px; /* Limit the maximum width of the image */
    height: auto; /* Maintain the aspect ratio */
    margin: 0 auto; /* Center the image */
    display: block; /* Center block element */
}

/* Text Styles */
h1 {
    font-size: 24px;
    margin: 20px 0;
    text-align: center; /* Center the title */
}

p {
    font-size: 16px;
    line-height: 1.5; /* Improve readability */
    margin: 10px 0; /* Space between paragraphs */
    word-wrap: break-word; /* Wrap long words onto the next line */
    overflow-wrap: break-word; /* Prevent overflow */
    max-width: 100%; /* Ensure the text doesn't exceed container width */
    white-space: normal; /* Normal wrapping */
}

/* Back Button Styles */
.text-center {
    text-align: center; /* Center align the button */
    margin-top: 20px; /* Space above the button */
}

#back-button {
    padding: 10px 20px ; /* Padding for the button */
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff; /* White text */
    background-color: #d4af37; /* Bootstrap primary color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

#back-button:hover {
    background-color: #b8912a; /* Darker shade on hover */
}
