body{
font-family:Arial;
margin:0;
background:#f5f5f5;
}


.header{
padding:15px 60px;
background:white;
box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

.logo img{
height:60px;
}


/* MAIN PRODUCT PAGE */

.product-page{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

.product-container{
display:grid;
grid-template-columns: 1fr 1.5fr 0.9fr;
gap:60px;
align-items:start;
}


/* IMAGE */

.product-image img{
width:100%;
border-radius:10px;
background:white;
padding:20px;
max-width: 400px;
}


/* DETAILS */

.product-details{
padding-left:10px;
}

.product-details h1{
font-size:26px;
margin-bottom:10px;
}

.rating{
color:#f4b400;
font-size:16px;
margin-bottom:10px;
}

.rating span{
color:#555;
font-size:14px;
}

.bought{
color:#444;
font-size:14px;
margin-bottom:15px;
}


.price{
display:flex;
align-items:center;
gap:10px;
margin-bottom:10px;
}

.discount{
color:#cc0c39;
font-size:18px;
}

.new-price{
font-size:28px;
font-weight:bold;
}

.old-price{
text-decoration:line-through;
color:#777;
}

.tax{
font-size:14px;
color:#555;
margin-bottom:20px;
}

.info p{
margin:6px 0;
}


/* BUY BOX */

.buy-box{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.buy-box h2{
font-size:26px;
margin-bottom:10px;
}

.stock{
color:green;
margin-bottom:20px;
}

.cart-btn{
width:100%;
background:#f4c430;
border:none;
padding:12px;
border-radius:8px;
font-size:15px;
cursor:pointer;
margin-bottom:10px;
}

.buy-btn{
width:100%;
background:#ff9900;
border:none;
padding:12px;
border-radius:8px;
font-size:15px;
cursor:pointer;
margin-bottom:10px;
}

.amazon-btn{
display:block;
text-align:center;
padding:12px;
border-radius:8px;
border:1px solid #1a73e8;
color:#1a73e8;
text-decoration:none;
}


/* DESCRIPTION */

.product-description{
margin-top:60px;
background:white;
padding:30px;
border-radius:10px;
}

.product-description h2{
margin-bottom:15px;
}

.product-description ul{
padding-left:20px;
line-height:1.7;
}



/* RESPONSIVE */

@media(max-width:900px){

.product-container{
grid-template-columns:1fr;
}

.buy-box{
margin-top:20px;
}

}

.product-card{
cursor:pointer;
}

/* BUTTON ANIMATIONS CSS */
.cart-btn,
.buy-btn,
.amazon-btn{
transition: all 0.25s ease;
cursor:pointer;
}

.cart-btn:hover,
.buy-btn:hover,
.amazon-btn:hover{
transform: translateY(-3px);
box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.cart-btn:active,
.buy-btn:active,
.amazon-btn:active{
transform: translateY(1px);
box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.cart-btn:hover{
background:#e5b92b;
}

.buy-btn:hover{
background:#e88b00;
}

.amazon-btn:hover{
background:#1a73e8;
color:white;
}

.cart-btn,
.buy-btn,
.amazon-btn{
border-radius:12px;
}


.product-left{
flex:1;
display:flex;
justify-content:center;
align-items:flex-start;
}

.product-image{
/* max-width:420px; */
width:100%;
height: 400px;;
object-fit:contain;
}

.product-image{
max-width:380px;
}

.product-left img{
max-height:520px;
}
