.cart-page{
    padding:80px 7%;
    background:#f8fafc;
    min-height:70vh;
}

.cart-container{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
}

.cart-left h1{
    margin-bottom:30px;
    color:#0f172a;
}

.cart-item{
    background:white;
    border-radius:18px;
    padding:20px;
    display:grid;
    grid-template-columns:120px 1fr;
    gap:20px;
    margin-bottom:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.cart-item img{
    width:100%;
    height:120px;
    object-fit:contain;
}

.cart-details h3{
    color:#0f172a;
    margin-bottom:8px;
}

.variant{
    color:#64748b;
    margin-bottom:10px;
}

.price{
    font-weight:700;
    margin-bottom:15px;
}

.qty-box{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
}

.qty-btn{
    width:32px;
    height:32px;
    border:none;
    background:#d4af37;
    cursor:pointer;
    border-radius:8px;
}

.remove-btn{
    background:#ef4444;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
}

.item-total{
    margin-top:10px;
    font-weight:700;
}

.coupon-box,
.summary-box{
    background:white;
    padding:25px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    margin-bottom:25px;
}

.coupon-input{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.coupon-input input{
    flex:1;
    padding:12px;
    border:1px solid #d1d5db;
    border-radius:10px;
}

.coupon-input button{
    padding:12px 18px;
    border:none;
    background:#d4af37;
    cursor:pointer;
    border-radius:10px;
}

#couponMessage{
    margin-top: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
}

#couponMessage.success{
    color: #16a34a;
    font-size: 16px;
}

#couponMessage.error{
    color: #dc2626;
    font-size: 17px;
}

#couponMessage.success::before{
    content: "✓ ";
}

#couponMessage.error::before{
    content: "✕ ";
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:18px;
}

.grand-total{
    border-top:1px solid #e5e7eb;
    padding-top:20px;
    font-size:20px;
    font-weight:700;
}

.checkout-btn{
    width:100%;
    margin-top:20px;
    padding:15px;
    border:none;
    background:#0f172a;
    color:white;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    text-decoration: none;
}

.bulk-warning{
    color:#dc2626;
    font-weight:600;
    margin-top:8px;
}

@media(max-width:900px){

    .cart-container{
        grid-template-columns:1fr;
    }

}