/* ===== 购物车样式 ===== */
.cart-wrap{display:grid;grid-template-columns:1fr 320px;gap:16px;align-items:start}
.cart-list{min-height:200px}
.cart-title{font-size:20px;font-weight:800;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #f1f2f6}

.cart-item{display:grid;grid-template-columns:70px 1fr 110px 130px 80px 50px;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #f8f9fa}
.cart-item:last-child{border-bottom:none}
.ci-emoji{width:60px;height:60px;border-radius:12px;background:#f5f7ff;display:flex;align-items:center;justify-content:center;font-size:30px;overflow:hidden}
.ci-emoji.ci-snap img{width:100%;height:100%;object-fit:cover}
.ci-name{font-size:14px;font-weight:600;line-height:1.3}
.ci-name .ci-spec{display:block;font-size:12px;color:#a4b0be;font-weight:400;margin-top:4px}
.ci-price{font-size:14px;color:#e74c3c;font-weight:700}
.ci-qty{display:flex;align-items:center;border:1px solid #e9ecef;border-radius:8px;overflow:hidden;width:fit-content}
.ci-qty button{width:30px;height:34px;border:none;background:#fff;font-size:14px;cursor:pointer;color:#57606f}
.ci-qty button:hover{background:#f1f2f6}
.ci-qty input{width:38px;height:34px;border:none;text-align:center;font-size:13px;outline:none}
.ci-sub{font-size:14px;font-weight:700;color:#2f3542}
.ci-del{background:none;border:none;color:#a4b0be;font-size:14px;cursor:pointer}
.ci-del:hover{color:#e74c3c}

.cart-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:14px;border-top:2px solid #f1f2f6}
.cart-count{font-size:13px;color:#747d8c}

/* 结算卡 */
.sum-row{display:flex;justify-content:space-between;padding:9px 0;font-size:14px;color:#57606f}
.sum-row.discount .v{color:#27ae60}
.sum-row.total{padding:14px 0;border-top:2px solid #f1f2f6;font-size:16px;font-weight:700;color:#2f3542}
.sum-row.total .v{color:#e74c3c;font-size:24px}
.sum-tip{font-size:12px;color:#a4b0be;margin-top:10px;line-height:1.8}
.checkout-btn{width:100%;margin-top:14px;padding:14px;border:none;border-radius:12px;background:linear-gradient(135deg,#ff6b6b,#ee5a24);color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:all .25s}
.checkout-btn:hover{box-shadow:0 10px 26px rgba(255,107,107,.4)}

@media(max-width:768px){
.cart-wrap{grid-template-columns:1fr}
.cart-item{grid-template-columns:50px 1fr;grid-template-areas:"e name" "e spec" "price qty" "sub del"}
.ci-emoji{grid-area:e}
.ci-name{grid-area:name}
.ci-price{grid-area:price;margin-top:6px}
.ci-qty{grid-area:qty;justify-self:end}
.ci-sub{grid-area:sub}
.ci-del{grid-area:del;justify-self:end}
}
