/* =========================================================================
   F5 · Assemble — cart page styles, ported from the design handoff
   (design_handoff_liquid_landing/Cart.html inline <style>). The prototype's
   <image-slot> placeholder is a real <img>, so the rules that sized it now size
   the image. Its .ship-note rules are not ported: nothing renders one, and the
   delivery and VAT prose it carried belongs to checkout.

   The stepper (.qty), the summary panel (.panel, .sum-row), the empty state
   (.empty) and the line's name and meta type (.pc-*) are all design-system
   rules and live in base.css already.
   ========================================================================= */
.cart-body { display: grid; grid-template-columns: 1fr 366px; gap: clamp(30px, 4vw, 64px); padding-block: clamp(24px, 3vw, 40px) 0; align-items: start; }
.cart-line { display: grid; grid-template-columns: 104px 1fr auto auto; gap: clamp(16px, 2.4vw, 30px); align-items: center; padding-block: clamp(18px, 2.2vw, 26px); border-bottom: 1px solid var(--line); }
.cl-media { display: block; background: var(--sand-2); border: 1px solid var(--line); border-radius: var(--r); aspect-ratio: 3/4; overflow: hidden; }
.cl-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-line.is-out .cl-media img { opacity: .55; }
.cl-info .pc-name { font-size: 1.45rem; }
.cl-info .pc-name a { color: inherit; text-decoration: none; }
.cl-info .pc-name a:hover { text-decoration: underline; }
.cl-alert { font-size: .85rem; color: var(--clay); margin-top: 8px; }
.cl-links { display: flex; gap: 18px; margin-top: 11px; }
.cl-links button { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cl-links button:hover { color: var(--clay); }
.cl-qty { margin: 0; }
.cl-price { font-family: var(--serif); font-size: 1.3rem; min-width: 108px; text-align: right; }
.summary { position: sticky; top: 132px; }
.summary .btn { width: 100%; margin-top: 22px; }

@media (max-width: 940px) {
  .cart-body { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 640px) {
  .cart-line { grid-template-columns: 84px 1fr; }
  .cl-qty, .cl-price { grid-column: 2; text-align: left; }
}
