/* Container for the Product Inner Page */
.product-inner-container {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 2rem auto;
    background: #fff;
    gap: 2rem;
}

/* Product Gallery Section */
.product-gallery {
    flex: 1 1 40%;
    max-width: 48%;
}

.main-image {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ddd;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    background: #f9f9f9;
}

.main-product-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.main-product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.thumbnail-image:hover {
    border-color: #d08d6b;
    transform: scale(1.1);
}

.thumbnail-image.active {
    border-color: #d08d6b;
}

/* Product Details Section */
.product-details {
    flex: 1 1 40%;
    max-width: 48%;
    padding: 1.5rem;
    border-left: 1px solid #eaeaea;
}

.scrollable-content {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
}

/* Product Title */
.product-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

/* Price */
.price {
    font-size: 1.8rem;
    color: #d08d6b;
    margin-bottom: 1.5rem;
}

/* Description */
.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

/* Add to Cart Button */
.product-actions .button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #d08d6b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(208, 141, 107, 0.3);
}

.product-actions .button:hover {
    background-color: #b07d5f;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(176, 125, 95, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-inner-container {
        flex-direction: column;
    }

    .product-gallery,
    .product-details {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.6rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .thumbnail-image {
        width: 50px;
        height: 50px;
    }
}
