.cart-container{
padding:40px;
}

.cart-title{
text-align:center;
margin-bottom:25px;
}


.cart-wrapper{
display:flex;
gap:40px;
align-items:flex-start;
max-width:1200px;
margin:auto;
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,0.06);
}
.cart-items{
flex:4;
display:flex;
flex-direction:column;
}
.cart-item{
justify-content:space-between;
align-items:center;
}
.cart-item{
display:flex;
gap:25px;
background:white;
border-radius:12px;
padding:25px;
margin-bottom:20px;
width:100%;

box-shadow:0 4px 12px rgba(0,0,0,0.06);
transition:.3s;
}

.cart-item:hover{
box-shadow:0 10px 25px rgba(0,0,0,0.12);
transform:translateY(-4px);
}
.cart-item img{
width:120px;
height:160px;
object-fit:cover;
border-radius:6px;
}
.item-details{
flex:1;
}
.product-info{
display:flex;
gap:20px;
align-items:center;
}
.price{
color:#FFC107;
font-weight:bold;
}

.quantity-box{
display:flex;
align-items:center;
margin:10px 0;
}

.quantity-box button{
background:#FFC107;
border:none;
padding:6px 12px;
cursor:pointer;
font-weight:bold;
border-radius:4px;
transition:.3s;
}

.quantity-box button:hover{
background:black;
color:white;
}
.quantity-box input{
width:40px;
text-align:center;
margin:0 5px;
}

.remove-btn{
background:#ff4d4d;
color:white;
border:none;
padding:6px 12px;
cursor:pointer;
border-radius:4px;
transition:.3s;
margin-left:auto;
height:40px;
align-self:center;
}

.remove-btn:hover{
background:#cc0000;
}

.cart-summary{
flex:1.6;
background:white;
border-radius:12px;
padding:30px;

box-shadow:
0 10px 30px rgba(0,0,0,0.08);

border:1px solid #eee;
}
.checkout-btn{
background:#FFC107;
border:none;
padding:14px;
width:100%;
font-weight:600;
cursor:pointer;
margin-top:25px;
border-radius:8px;
transition:.3s;
}
.checkout-btn:hover{
background:black;
color:white;
}


/* Responsive */

@media(max-width:768px){
.cart-item{
flex-direction:column;
align-items:center;
text-align:center;
}
.cart-wrapper{
flex-direction:column;
}

}

.cart-items h2{
text-align:center;
margin-top:40px;
}

.cart-items a{
display:flex;
justify-content:center;
margin-top:15px;
}

.cart-summary{
position:sticky;
top:100px;
}

.empty-cart{
width:100%;
max-width:600px;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

text-align:center;

padding:60px 20px;

background:white;
border:1px solid #ddd;
border-radius:10px;

margin:auto;

box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.empty-cart h2{
margin-bottom:10px;
}

.empty-cart p{
color:#777;
margin-bottom:20px;
}

.shop-btn{
background:#FFC107;
border:none;
padding:10px 20px;
font-weight:bold;
cursor:pointer;
border-radius:5px;
transition:.3s;
}

.shop-btn:hover{
background:black;
color:white;
}

.cart-container{
padding:40px;
background:#f5f5f5;
min-height:60vh;
}


.cut{
text-decoration: line-through;
color: #888;
margin-left: 5px;
}

.saving{
color: green;
font-weight: 600;
}

.you-saved{
margin-top: 10px;
color: #16a34a;
font-weight: bold;
}


/* Coupon Box */
.coupon-box{
margin-bottom:20px;
display:flex;
justify-content:flex-end;
}

.coupon-box form{
display:flex;
gap:10px;
}

.coupon-box input{
padding:10px;
border:1px solid #ccc;
border-radius:6px;
}

.coupon-box button{
background:#FFC107;
border:none;
padding:10px 15px;
border-radius:6px;
cursor:pointer;
font-weight:600;
transition:.3s;
}

.coupon-box button:hover{
background:black;
color:white;
}

/* Summary Lines */
.summary-line{
display:flex;
justify-content:space-between;
margin-bottom:10px;
font-size:15px;
}

.summary-line.discount{
color:green;
font-weight:600;
}

.summary-total{
display:flex;
justify-content:space-between;
font-size:18px;
font-weight:bold;
margin-top:15px;
}

hr{
border:none;
border-top:1px solid #ddd;
margin:15px 0;
}

.original-price{
    text-decoration: line-through;
    color:#888;
    font-size:14px;
}

.discount-price{
    color:#ff1707;
    font-weight:600;
    font-size:16px;
}


