body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

header {
    background: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    max-width: 500px; /* Adjust max width as needed */
    height: auto;
	text-align: center;
    display: flex;
    justify-content: center;
	flex-direction: column; /* Stack items vertically */
    align-items: center;
    overflow: hidden;
    border: 1px solid #ddd; /* Optional: Adds a subtle border */
    border-radius: 10px; /* Optional: Smooth corners */
}


.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 300px;
    transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
}

/* Zoom effect on hover */
.product-image img:hover {
    transform: scale(1.2); /* Zooms the image by 20% */
}

.image-filename {
    margin-top: 8px; /* Space between image and filename */
    font-size: 14px;
    color: #555;
    word-break: break-word; /* Ensure long filenames wrap properly */
}
.product-details {
    flex: 1;
    padding: 20px;
}

/* Full-screen zoom for mobile */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.button-container {
    display: flex;
    gap: 10px; /* Space between buttons */
    width: 100%; /* Full width */
}

.message {
            color: green;
            font-weight: bold;
        }
.error {
            color: red;
            font-weight: bold;
        }

.button-container button {
    flex: 1; /* Each button takes equal space */
    padding: 10px;
    font-size: 16px;
    text-align: center;
}


/* Close button for full-screen mode */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

h2 {
    color: #007bff;
}

p {
    font-size: 16px;
    line-height: 1.5;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 5px 0;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

select, input {
	 
    padding: 5px;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
	 
    padding: 5px;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

footer {
    text-align: center;
    padding: 20px;
    background: #007bff;
    color: white;
    margin-top: 40px;
}

