.cart-page{
    max-width:900px;
    margin:70px auto;
    padding:0 20px;
}

.cart-page h1{
    font-family:"Cormorant Garamond",serif;
    font-size:54px;
    text-align:center;
    margin-bottom:40px;
}

.cart-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.cart-item{
    background:var(--card);
    border-radius:var(--radius);
    padding:24px;
    box-shadow:var(--shadow);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.cart-item h2{
    margin:0 0 8px;
}

.cart-item p{
    margin:0;
}

.remove-btn{
    margin-top:12px;
    border:none;
    background:none;
    color:#A65F5F;
    cursor:pointer;
    font-weight:700;
}

.cart-summary{
    margin-top:35px;
    text-align:right;
}

.quantity-form{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:12px;
}

.qty-btn{
    width:34px;
    height:34px;
    border:none;
    border-radius:50%;
    background:#E6D8C8;
    color:var(--text);
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.qty-btn:hover{
    transform:translateY(-2px);
    background:#D8C4AE;
}

.qty-number{
    min-width:28px;
    text-align:center;
    font-weight:700;
    font-size:18px;
}

body.dark-mode .qty-btn{
    background:#3A332C;
    color:#F3EDE3;
}

body.dark-mode .qty-btn:hover{
    background:#4A4038;
}

.checkout-page{
    max-width:1100px;
    margin:70px auto;
    padding:0 20px;
}

.checkout-page h1{
    font-family:"Cormorant Garamond",serif;
    font-size:54px;
    text-align:center;
    margin-bottom:40px;
}

.checkout-layout{
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:28px;
    align-items:start;
}

.checkout-form,
.checkout-summary,
.success-card{
    background:var(--card);
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.checkout-summary h2,
.checkout-form h2{
    margin-top:0;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin:14px 0;
}

.total-row{
    font-size:22px;
}

.success-card{
    max-width:560px;
    margin:auto;
    text-align:center;
}

.success-card h1{
    margin-bottom:15px;
}

@media(max-width:800px){
    .checkout-layout{
        grid-template-columns:1fr;
    }
}