* {
        margin: 0%;
        padding: 0%;
        box-sizing: border-box;
    }
    
    body { 
        font-family: Arial, sans-serif;
        display: block;
        justify-content: center; 
        height: 100vh;
        background-color: #f4f4f4; 
    }
     
    
    .container {
        display: flex;
        justify-content: center;
        width: 98%;
        height: 550px;
        margin: 40px 4px 10px 4px;
        border: 2px solid #ccc;
        border-radius: 10px;
        background-color: #fff;
    }
    
    .left-column {
        width: 40%;
        position: relative;
    }
    
    .slider {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
    }
    
    .slide {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        object-fit: contain;
        top: 0;
        left: 100%;
        transition: left 0.5s ease-in-out;
    }
    
    button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        font-size: 20px;
        padding: 10px;
        cursor: pointer;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .right-side {
        width: 60%;
        padding: 20px; 
        overflow-y: scroll;
    }
    
    h1 {
        font-size: 30px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    p {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    button {
        background-color: #007bff;
        padding: 10px 20px;
        color: white;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
    }
    
    button:hover {
        background-color: #0056b3;
    }
    

    .product-title {
        font-size: 24px;
        font-weight: bold;
    }
    
    .category, .brand, .price {
        font-size: 16px;
        margin-top: 5px;
    }
    .price{
        font-weight: 700;
    }
    
    .description {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Comments Section */
    .comments {
        margin-top: 20px;
    }
    
    .comment {
        /* display: flex; */
        margin-bottom: 10px;
    }
    .profile-pic {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 10px;
    }
    
    .comment-details {
        flex: 1;
    }
    
    .comment-text {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .posted-by {
        display: flex;
    }
    
    .posted-by, .posted-date {
        font-size: 12px;
        color: gray;
    }
    .report-link{
        font-size: 12px;
    }
    /* Similar Products Section */
.similar-products {
    width: 95%;
    margin: 10px auto;
    padding: 20px;
}

.similar-products h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.products-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.product-item {
    min-width: 200px;
    min-height: 300px;
    text-align: center;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.product-item img {
    width: 180px;
    height: 150px;
    border-radius: 8px;
}

.product-item p {
    margin: 10px 0;
    color: #333;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack columns vertically */
        height: auto; 
        margin: 1px 1px;
    }

    .left-column {
        width: 100%; 
        height: auto; 
    }
	
    .right-side {
        width: 100%; 
        padding-top: 20px; 
        height: 420px;
    }

    .slider {
        height: 300px;  
    }

    button {
        font-size: 18px;  
    } 
    .similar-products h2 {
        font-size: 1.2rem;    
    }

}    

 