body{background:#fff}
.cart-container{display:flex;flex-wrap:wrap;gap:30px;padding:40px 20px;max-width:1200px;margin:auto;font-family:Tahoma,sans-serif;color:#333}
.quantity-wrapper{position:relative;display:inline-block;margin-bottom:30px}
.quantity-wrapper input{width:150px;height:40px;text-align:center;border-radius:6px;border:1px solid #ccc;padding:0;box-sizing:border-box;margin-top:30px}
.cart-items h2,.cart-summary h2{border-bottom:2px solid #f0f0f0}
.quantity-decrease,.quantity-increase{position:absolute;top:0;width:30px;height:100%;line-height:40px;text-align:center;cursor:pointer;background:0 0;border:none;user-select:none;font-size:25px;margin-top:30px}.
cart-items,.cart-summary{background-color:#fff;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.08)}.
quantity-decrease{left:0;border-right:none}.quantity-increase{right:0;border-left:none}.
quantity-controls button:hover{color:#0056b3}.cart-items{flex:2;padding:20px;min-width:300px}.
cart-items h2{margin-bottom:20px;font-size:24px;padding-bottom:10px}.
empty-message{text-align:center;font-size:18px;color:#888;padding:40px 0}.
cart-item{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding:15px 0;transition:background-color .2s}
.cart-item:hover{background-color:#f5f5f5;border-radius:8px}
.cart-item img{width:100px;height:100px;object-fit:cover;border-radius:8px;margin-left:15px}
.item-details{flex:1}
.item-details h4{font-size:18px;margin-bottom:6px}
.item-details p{font-size:14px;margin:2px 0}
.remove-item{cursor:pointer;color:#e74c3c;font-size:22px;flex-shrink:0;margin-right:15px;transition:transform .2s}
.remove-item:hover{transform:scale(1.2)}
.cart-summary{flex:1;padding:25px;min-width:250px;height:fit-content}
.cart-summary h2{margin-bottom:20px;font-size:22px;padding-bottom:8px}
.summary-row{display:flex;justify-content:space-between;padding:10px 0;font-size:16px;border-bottom:1px dashed #ddd}
.summary-row.total{font-weight:700;font-size:18px;border-bottom:none;padding-top:15px}
.checkout-btn{display:block;width:100%;text-align:center;padding:12px 0;margin-top:25px;background-color:#27ae60;color:#fff;text-decoration:none;border-radius:8px;font-weight:700;transition:background-color .2s}
.checkout-btn:hover{background-color:#2ecc71}@media (max-width:900px){
    .cart-container{flex-direction:column}
    .cart-items,.cart-summary{width:100%}.
    cart-item{flex-direction:column;align-items:flex-start}
    .remove-item{align-self:flex-end;margin-top:10px}
    .item-details h4{font-size:16px}
    .item-details p{font-size:13px}
}