/* =====================================
   PRODUCT PAGE PROFESSIONAL DESIGN
===================================== */


*{
    box-sizing:border-box;
}



body{

    font-family:Arial, Helvetica, sans-serif;
    background:#f8f9fb;
    color:#222;

}



.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}




/* ===============================
BREADCRUMB
================================ */


.breadcrumb{

    padding:25px 0;
    font-size:14px;
    color:#777;

}


.breadcrumb a{

    text-decoration:none;
    color:#555;

}


.breadcrumb a:hover{

    color:#f53333;

}




/* ===============================
PRODUCT MAIN BOX
================================ */


.product-box{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    background:white;
    padding:35px;
    border-radius:15px;
    box-shadow:0 5px 25px rgba(0,0,0,.08);

}





/* ===============================
IMAGE AREA
================================ */


.main-image{

    width:90%;
    height:465px;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    border-radius:15px;
    background:#fafafa;
    border:2px solid transparent;
    border-color: #ffa366;

}



.main-image img{

    width:105%;
    height:105%;
    object-fit:contain;

}




.thumbnail-box{

    display:flex;
    gap:15px;
    margin-top:20px;
    flex-wrap:wrap;

}



.thumb{

    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.3s;
    border-color: #2d74c4;

}



.thumb:hover{

    border-color:#f53333;
    transform:scale(1.05);

}






/* ===============================
PRODUCT DETAILS
================================ */


.company{

    color:#888;
    font-size:15px;

}



.title{

    font-size:32px;
    margin:12px 0;
    line-height:1.3;

}



.rating{

    margin:15px 0;
    font-size:18px;

}



.rating span{

    color:#777;
    font-size:14px;

}





.sku-box{

    background:#f5f5f5;
    display:inline-block;
    padding:10px 15px;
    border-radius:8px;
    margin-bottom:20px;

}





/* ===============================
STOCK
================================ */


.stock{

    margin:20px 0;
    font-weight:bold;
    color:#159447;

}




/* ===============================
OPTIONS
================================ */


.option{

    margin:20px 0;

}


.option label{

    display:block;
    font-weight:bold;
    margin-bottom:10px;

}




.color-list,
.size-list{

    display:flex;
    gap:10px;
    flex-wrap:wrap;

}




.color-btn,
.size-btn{

    border:1px solid #ddd;
    background:white;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;

}



.color-btn:hover,
.size-btn:hover,
.color-btn.active,
.size-btn.active{

    background:#f53333;
    color:white;
    border-color:#f53333;

}





/* ===============================
PRICE
================================ */


.price-box{

    margin:25px 0;
    display:flex;
    align-items:center;
    gap:15px;

}



#price{

    font-size:28px;
    font-weight:bold;
    color:#f53333;

}



.price-box del{

    color:#999;
    font-size:18px;

}





/* ===============================
QUANTITY
================================ */


.qty-box{

    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:20px;

}



.qty-box button{

    width:40px;
    height:40px;
    border:none;
    background:#eee;
    font-size:22px;
    cursor:pointer;
    border-radius:8px;

}



.qty-box input{

    width:70px;
    height:40px;
    text-align:center;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:18px;

}





/* ===============================
ADD CART BUTTON
================================ */


.cart-btn{

    width:100%;
    padding:15px;
    border:none;
    background:#1e4f8a;
    color:white;
    font-size:18px;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;

}



.cart-btn:hover{

    background:#d92323;

}



.cart-btn:disabled{

    background:#aaa;
    cursor:not-allowed;

}





/* ===============================
DELIVERY BOX
================================ */


.delivery-boxes{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin:50px 0;

}



.delivery-card{

    background:white;
    text-align:center;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);

}



.delivery-icon{

    font-size:35px;

}



.delivery-card h3{

    margin:15px 0 5px;

}





/* ===============================
TABS
================================ */


.product-tabs{

    display:flex;
    gap:15px;
    margin-bottom:20px;
    

}



.product-tabs button{

    padding:12px 25px;
    background:#1e4f8a;
    color:white;
    cursor:pointer;
    border-radius:8px;
    border:2px solid transparent;
    border-color: #2d74c4;

}



.product-tabs button:hover{

    background:#f53333;
    color:white;

}



.tab{

    display:none;
    background:white;
    padding:30px;
    border-radius:15px;
    line-height:1.8;
    border:2px solid transparent;
    transition:.3s;
    border-color: #2d74c4;

}



.tab.active{

    display:block;

}





/* ===============================
SPECIFICATION
================================ */


.tab ul{

    list-style:none;
    padding:0;
    

}


.tab li{

    padding:10px 0;
    border-bottom:1px solid #eee;

}






/* ===============================
REVIEWS
================================ */


.customer-review{

    background:#fafafa;
    padding:20px;
    margin:15px 0;
    border-radius:10px;

}



.review-stars{

    margin:10px 0;

}




.review-form input,
.review-form textarea,
.review-form select{


    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:8px;

}



.review-form textarea{

    height:120px;

}



.review-form button{

    background:#1a086e;
    color:white;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    cursor:pointer;

}





/* ===============================
RELATED PRODUCTS
================================ */


.related-title{

    margin:50px 0 25px;
    text-align:center;
    font-size:28px;

}




.related{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

}



.related-card{

    background:white;
    padding:20px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);

}



.related-card img{

    width:100%;
    height:200px;
    object-fit:contain;

}



.related-card h4{

    min-height:45px;

}



.related-card a{

    display:inline-block;
    margin-top:10px;
    background:#f53333;
    color:white;
    padding:10px 20px;
    border-radius:8px;
    text-decoration:none;

}







/* ===============================
MOBILE RESPONSIVE
================================ */


@media(max-width:900px){


.product-box{

    grid-template-columns:1fr;
    padding:20px;

}


.main-image{

    height:350px;

}


.title{

    font-size:25px;

}


.delivery-boxes{

    grid-template-columns:1fr;

}



.related{

    grid-template-columns:repeat(2,1fr);

}


}




@media(max-width:600px){



.container{

    width:95%;

}



.product-box{

    gap:25px;

}



.main-image{

    height:280px;

}



.thumbnail-box .thumb{

    width:60px;
    height:60px;

}



.related{

    grid-template-columns:1fr;

}



.product-tabs{

    flex-direction:column;

}



#price{

    font-size:24px;

}


}

.variation-box{

margin:20px 0;

}


.variation-box h4{

font-size:16px;

margin-bottom:10px;

}


.color-list,
.size-list{

display:flex;

gap:10px;

flex-wrap:wrap;

}



.color-btn,
.size-btn{

padding:10px 18px;

border:1px solid #ddd;

background:white;

cursor:pointer;

border-radius:6px;

font-size:15px;

}



.color-btn:hover,
.size-btn:hover,
.color-btn.active,
.size-btn.active{

background:#111;

color:white;

border-color:#111;

}