/* --- PRODUCT DETAIL PAGE STYLING --- */

/* Main Container for the Product Page */
.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    /* Allows stacking on mobile */
    gap: 50px;
    align-items: flex-start;
    /* Aligns text and image at the top */
}

/* --- IMAGE COLUMN SETTINGS --- */
.product-image-col {
    flex: 1;
    min-width: 300px;
    /* Center the box itself */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- THE UNIFORM IMAGE BOX --- */
/* This creates a standard box size for ALL products */
.image-box {
    width: 100%;
    height: 450px;
    /* FIXED HEIGHT: All product images will live in this space */
    background-color: #fff;
    border: 1px solid #eee;
    /* Optional: Adds a clean frame */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    /* Flexbox to center the image inside the white box */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px;
    /* Space so image doesn't touch edges */
}

/* --- THE IMAGE ITSELF --- */
.image-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    /* MAGIC TRICK: 'contain' ensures the whole image is visible 
       and not stretched, regardless of its original shape */
    object-fit: contain;
}

/* --- TEXT COLUMN SETTINGS --- */
.product-info-col {
    flex: 1.5;
    min-width: 300px;
}

.product-info-col h1 {
    font-family: 'Oswald', sans-serif;
    color: #003366;
    /* Navy Blue */
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: 3px solid #00a8cc;
    /* Teal */
    display: inline-block;
}

.product-info-col p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
    }

    .image-box {
        height: 300px;
        /* Smaller box for phones */
    }
}