/*==============================
CART PAGE
==============================*/

body{

background:#eaeded;

font-family:Poppins,sans-serif;

}

.cart-section{

max-width:1500px;

margin:35px auto;

padding:20px;

display:grid;

grid-template-columns:1fr 360px;

gap:25px;

align-items:start;

}

.cart-section h1{

grid-column:1/-1;

font-size:42px;

font-weight:700;

margin-bottom:10px;

color:#222;

}

/*==============================
CART CARD
==============================*/

.cart-card{

display:flex;

gap:20px;

background:#fff;

padding:20px;

border-radius:14px;

border:1px solid #ddd;

box-shadow:none;

transition:.25s;

}

.cart-card:hover{

box-shadow:0 8px 18px rgba(0,0,0,.08);

transform:none;

}

.cart-card img{

width:170px;

height:210px;

object-fit:cover;

border-radius:10px;

background:#fafafa;

border:1px solid #eee;

}

.cart-info{

flex:1;

display:flex;

flex-direction:column;

justify-content:space-between;

}

.cart-info h3{

font-size:23px;

font-weight:600;

margin-bottom:10px;

color:#111;

line-height:1.4;

}

.cart-info p{

font-size:15px;

color:#666;

margin:6px 0;

}

.cart-info h4{

font-size:30px;

font-weight:700;

color:#B09246;

margin:15px 0;

}

/*==============================
QUANTITY
==============================*/

.qty{

display:flex;

align-items:center;

width:140px;

height:46px;

border:1px solid #ddd;

border-radius:10px;

overflow:hidden;

background:#fff;

}

.qty button{

width:42px;

height:46px;

background:#fafafa;

font-size:22px;

border:none;

cursor:pointer;

transition:.3s;

}

.qty button:hover{

background:#B09246;

color:white;

}

.qty span{

font-size:17px;

font-weight:700;

}

.qty span{

flex:1;

text-align:center;

font-weight:700;

font-size:17px;

}

/*==============================
REMOVE
==============================*/

.remove-btn{

width:130px;

height:42px;

border-radius:10px;

border:1px solid #ddd;

background:white;

color:#555;

font-weight:600;

}

.remove-btn:hover{

background:#f44336;

border-color:#f44336;

color:white;

}

/*==============================
SUMMARY
==============================*/

.cart-summary{

position:sticky;

top:95px;

background:white;

border-radius:16px;

padding:28px;

border:1px solid #ddd;

box-shadow:0 10px 20px rgba(0,0,0,.06);

}

.cart-summary h2{

font-size:28px;

margin-bottom:25px;

}

.summary-row{

display:flex;

justify-content:space-between;

margin:18px 0;

font-size:17px;

}

.summary-row.total{

padding-top:18px;

border-top:1px solid #eee;

font-size:24px;

font-weight:700;

color:#B0124F;

}

#checkoutBtn{

width:100%;

height:56px;

border:none;

border-radius:10px;

background:linear-gradient(

135deg,

#9D8331,

#B09246,

#D4B26A

);

color:white;

font-size:18px;

font-weight:700;

transition:.3s;

}

#checkoutBtn:hover{

transform:translateY(-2px);

box-shadow:

0 12px 28px rgba(176,146,70,.35);

}

/*==============================
EMPTY CART
==============================*/

.empty-cart{

background:white;

padding:90px 30px;

border-radius:16px;

border:1px solid #ddd;

text-align:center;

}

.empty-cart h2{

font-size:34px;

margin-bottom:12px;

}

.empty-cart p{

color:#777;

margin-bottom:28px;

}

.empty-cart a{

display:inline-block;

padding:14px 28px;

border-radius:14px;

background:#B0124F;

color:#fff;

text-decoration:none;

font-weight:600;

}

/*==============================
MOBILE
==============================*/

@media(max-width:992px){

.cart-section{

grid-template-columns:1fr;

}

.cart-summary{

position:static;

}

}

@media(max-width:768px){



.cart-card img{

width:100%;

height:340px;

}

.cart-section h1{

font-size:32px;

}



.cart-section{
    padding:16px !important;
}




.cart-info{
    flex:1 !important;
    width:auto !important;
}



.cart-info p{
    font-size:14px !important;
    margin:4px 0;
}

.cart-card{

display:flex;

gap:15px;

padding:15px;

border-radius:14px;

}

.cart-card img{

width:110px;

height:140px;

border-radius:10px;

}

.cart-info h3{

font-size:17px;

}

.cart-info h4{

font-size:22px;

}

.qty{

width:115px;

height:40px;

}

.remove-btn{

width:100%;

margin-top:12px;

}

.cart-summary{

margin-top:20px;

}



.qty button{
    width:38px;
    height:38px;
    font-size:20px;
}

.qty span{
    flex:1;
    text-align:center;
    font-size:16px;
    font-weight:700;
}



.cart-summary h2{
    font-size:22px;
}

.summary-row{
    font-size:16px;
}

#checkoutBtn{
    height:52px;
    font-size:16px;
}

}

@media(max-width:480px){

.cart-section{

padding:15px;

margin:20px auto;

}

.cart-card{

padding:15px;

border-radius:18px;

}

.cart-card img{

height:260px;

}

.cart-summary{

padding:22px;

border-radius:18px;

}

.cart-summary h2{

font-size:24px;

}

#checkoutBtn{

height:54px;

font-size:16px;

}

}