/* Cart Page CSS */
.cart-page{padding:32px 0}
.cart-page h1{font-size:24px;font-weight:800;margin-bottom:24px}
.cart-table{width:100%;border-collapse:collapse}
.cart-table th{background:var(--bg-alt);padding:12px 16px;text-align:left;font-size:12px;font-weight:700;color:var(--text2);text-transform:uppercase}
.cart-table td{padding:14px 16px;border-bottom:1px solid var(--border2);vertical-align:middle}
.cart-item-info{display:flex;align-items:center;gap:12px}
.cart-item-img{width:64px;height:64px;border-radius:6px;overflow:hidden;flex-shrink:0;border:1px solid var(--border)}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-name{font-size:14px;font-weight:500}
.cart-item-name small{display:block;font-size:12px;color:var(--text2);margin-top:2px}
.cart-remove-btn{width:32px;height:32px;border-radius:50%;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--text2);cursor:pointer;transition:all .15s}
.cart-remove-btn:hover{background:var(--error);color:#fff;border-color:var(--error)}

/* Quantity Selector (shared with product page) */
.qty-selector{display:flex;align-items:center;border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;width:fit-content}
.qty-btn{width:36px;height:36px;border:none;background:var(--bg-alt);font-size:16px;font-weight:700;color:var(--text);cursor:pointer;transition:background .15s;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.qty-btn:hover{background:var(--border)}
.qty-input{width:44px;height:36px;border:none;border-left:1px solid var(--border);border-right:1px solid var(--border);text-align:center;font-size:14px;font-weight:600;color:var(--text);background:#fff;-moz-appearance:textfield}
.qty-input::-webkit-outer-spin-button,.qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.cart-bottom{display:flex;justify-content:space-between;align-items:flex-start;margin-top:24px;gap:24px;flex-wrap:wrap}
.cart-coupon{display:flex;gap:8px}
.cart-coupon input{padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--radius);font-size:14px;width:220px}
.cart-totals{background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius);padding:24px;min-width:320px}
.cart-totals h3{font-size:16px;font-weight:700;margin-bottom:16px}
.cart-totals-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px}
.cart-totals-row.total{border-top:2px solid var(--border);padding-top:12px;margin-top:8px;font-size:18px;font-weight:800}
.cart-totals-row.total .amount{color:var(--accent)}
.cart-totals .btn{margin-top:16px}
.cart-empty{text-align:center;padding:60px 20px}
.cart-empty h2{font-size:20px;font-weight:700;margin-bottom:8px}
.cart-empty p{font-size:14px;color:var(--text2);margin-bottom:20px}
.cart-cards{display:none}
.cart-card{display:flex;gap:12px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);margin-bottom:10px;position:relative}
.cart-card-img{width:80px;height:80px;border-radius:6px;overflow:hidden;flex-shrink:0}
.cart-card-img img{width:100%;height:100%;object-fit:cover}
.cart-card-info{flex:1}
.cart-card-name{font-size:14px;font-weight:500;margin-bottom:4px}
.cart-card-price{font-size:15px;font-weight:700;color:var(--accent);margin-bottom:8px}
.cart-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cart-card-remove{position:absolute;top:8px;right:8px;width:28px;height:28px;border:none;background:rgba(255,77,109,.08);border-radius:50%;color:var(--error);display:flex;align-items:center;justify-content:center;cursor:pointer}
@media(max-width:768px){
.cart-table-wrapper{display:none}
.cart-cards{display:block}
.cart-bottom{flex-direction:column}
.cart-coupon{width:100%}
.cart-coupon input{flex:1;width:auto}
.cart-totals{min-width:auto;width:100%}
}
