
* {
    padding: 0;
    margin: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: rgba(244, 165, 178, 0.4);
    min-height: 100vh;
}
.back a{
    border: 1px solid #999;
    padding: .5rem;
    background: pink;
    text-decoration: none;
    border-radius: .5rem;
    color: #000;
}

.product-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    max-width: 60%;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.main-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    gap: 2rem;
    margin-right: 2rem;
}

.main-img{
    padding: 4rem;
}


    /* --- Product Info (Right Column) --- */
.product-info {
    padding: 0 10px;
}

.title {
    font-size: 2.5rem;
    font-weight: 800;
    color: palevioletred;
    margin-bottom: 5px;
}

        /* Rating */
.rating {
    display: flex;
    align-items: center;
    color: gold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.rating i {
    margin-right: -2px;
}
.rating span {
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 10px;
}
/* Price */
.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 20px;
}

.price:hover{
    color: palevioletred;
}

        /* Description */
.product-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}
.size-selected{
     margin-bottom: 30px;
}

.size-selected p {
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    text-transform: capitalize;
}
 /* Size Buttons */
.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-size {
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid var(--border-gray);
    background-color: pink;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;

}
/* .btn-size.active {
    border: 2px solid var(--primary-green);
    background-color: var(--light-green);
    font-weight: 600;
    color: #000;
} */
.btn-size:hover {
    border: #333 solid 1px;
    background: #fff;
    color: #000;
}

/* --- CTA Buttons --- */
.btn-product {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
    color: #000;
    
}
.btn-product:hover{
    color: #fff;
}
.btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 1rem;
    color: var(--border-gray);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    min-width: 150px;
    border: 1px solid #eadede;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn.first {
    background-color: #fff;
}
.btn.first:hover {
    background-color: pink;
}
.btn:not(.first) {
    background-color: #fff;
}
.btn:not(.first):hover {
    background-color: pink;
}
.btn:active {
    transform: scale(0.98);
}





@media (max-width:896px ){
    .product-detail{
        width: 100%;
        height: 70vh;

    }
    .product-detail{
        width: 50%;
    }
    .product-detail .product-info h2{
        width: 50%;
        font-size: 12px;
    }
    .product-detail .product-info .rating{
        font-size: 12px;
        width: 50%;
    }
    .product-detail .product-info .price{
        font-size: 12px;
        width: 50%;
    }

    .product-detail .product-info p{
        font-size: 12px;
        width: 50%;
    }
    .product-detail .product-info .size-selected{
        font-size: 12px;
        width: 50%;
    }
    .product-detail .product-info .size-options{
        font-size: 12px;
        width: 50%;
    }
    .product-detail .product-info .btn-product{
        width: 50%;
        font-size: 12px;
    }

    .product-detail .main-img img{
        width: 100%;
        /* font-size:100px; */
    }

}




