*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#f5f5f5;
    color:#333;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:40px 0;
}

.product{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    background:white;
    padding:30px;
    margin-bottom:40px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.gallery img.main-image{
    width:100%;
    height:400px;
    object-fit:cover;
    border-radius:8px;
}

.thumbnails{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.thumbnails img{
    width:80px;
    height:60px;
    object-fit:cover;
    cursor:pointer;
    border-radius:5px;
    transition:.3s;
}

.thumbnails img:hover{
    transform:scale(1.05);
}

.product-info h2{
    font-size:28px;
    margin-bottom:15px;
}

.product-info p{
    margin-bottom:20px;
    line-height:1.6;
}

.features{
    margin-top:20px;
}

.features h3{
    margin-bottom:10px;
}

.features ul{
    padding-left:20px;
}

.features li{
    margin-bottom:8px;
}

@media(max-width:900px){
    .product{
        grid-template-columns:1fr;
    }
}
@media (max-width: 600px) {

    .container {
        width: 95%;
        padding: 20px 0;
    }

    .product {
        padding: 20px;
        gap: 20px;
    }

    .gallery img.main-image {
        height: 250px;
    }

    .thumbnails {
        justify-content: center;
    }

    .thumbnails img {
        width: 60px;
        height: 45px;
    }

    .product-info h2 {
        font-size: 22px;
        text-align: center;
    }

    .product-info p {
        font-size: 14px;
        text-align: justify;
    }

    .features h3 {
        font-size: 16px;
    }

    .features li {
        font-size: 14px;
    }
}
