.ct-top{background:linear-gradient(180deg,var(--brand-l) 0%,#fff 100%);padding:44px 0 22px}
.ct-top h1{margin:0 0 6px;font-size:clamp(28px,4vw,38px)}
.ct-sub{margin:0;color:var(--muted)}
.cart-wrap{padding-bottom:64px}
.cart-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.ci{display:grid;grid-template-columns:84px 1fr auto auto;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.ci-img{width:84px;height:84px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ci-img img{max-width:100%;max-height:100%;object-fit:contain}
.ci-name{font-weight:700;color:var(--ink);text-decoration:none;line-height:1.35}
.ci-name:hover{color:var(--brand)}
.ci-meta{color:var(--muted);font-size:14.5px;margin-top:3px}
.ci-price{font-weight:600;font-size:14.5px;margin-top:4px}.ci-price b{font-weight:800}
.inv-note{color:var(--muted);font-weight:400;font-size:13.5px}
.cart-total .inv-note{display:block;margin-top:2px}
.ci-qty{display:flex;align-items:center;gap:6px}
.ci-qty button{width:38px;height:38px;border-radius:10px;border:1.5px solid var(--line);background:#fff;font-size:20px;cursor:pointer;color:var(--ink)}
.ci-qty input{width:58px;height:38px;text-align:center;border:1.5px solid var(--line);border-radius:10px;font-size:16px;-moz-appearance:textfield}
.ci-qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.ci-qty span{color:var(--muted);font-size:14px;margin-left:2px}
.ci-rm{background:none;border:0;color:var(--muted);text-decoration:underline;cursor:pointer;font-size:14.5px}
.ci-rm:hover{color:#b42318}
.cart-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:22px}
.cart-total{margin:0;font-size:18px}
.cart-btns{display:flex;gap:10px;flex-wrap:wrap;margin-left:auto}
.cart-empty{text-align:center;padding:48px 0}
.cart-empty p{color:var(--muted);font-size:18px}
@media (max-width:700px){
  .ci{grid-template-columns:72px 1fr;gap:10px 14px}
  .ci-img{width:72px;height:72px;grid-row:span 2}
  .ci-qty{grid-column:2}
  .ci-rm{grid-column:2;justify-self:start;padding:0}
  .cart-btns{width:100%}.cart-btns .btn{flex:1 1 auto}
}
