.cart-page { font: 400 16px/1.5 Blender, Arial, sans-serif; color: #1a1a1a; background: #fff; --home-accent: #1a1a1a; --home-ink: #1a1a1a; }
.cart-page > div#site-header, .cart-page > div#site-footer { display: none; }
.cart-wrap { width: min(1320px, calc(100% - 64px)); min-height: 56vh; margin: 42px auto 80px; }
.cart-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.cart-heading h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; margin: 0; line-height: 1.08; }
.cart-heading a, .cart-line-title, .cart-remove { text-underline-offset: 4px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 345px); gap: clamp(16px, 4vw, 56px); align-items: start; }
.cart-items { border-top: 1px solid #dedede; }
.cart-section-title { margin: 0; padding: 12px 0; font-size: 17px; font-weight: 500; color: #4a4a4a; }
.cart-line { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: start; gap: 14px 20px; padding: 18px 0; border-top: 1px solid #dedede; }
.cart-line:last-child { border-bottom: 1px solid #dedede; }
.cart-line-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: #f6f6f6; }
.cart-line-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-title { display: inline-block; color: inherit; font-size: 21px; font-weight: 700; text-decoration: none; }
.cart-line-title:hover { text-decoration: underline; }
.cart-line-copy p { margin: 3px 0; color: #4d4d4d; }
.cart-line-total { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 11px; }
.cart-quantity { display: inline-grid; grid-template-columns: repeat(3, 34px); align-items: stretch; border: 1px solid #bbb; }
.cart-quantity button, .cart-quantity input, .cart-remove { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; color: #1a1a1a; }
.cart-quantity input { width: 34px; height: 35px; text-align: center; appearance: textfield; }
.cart-quantity input::-webkit-inner-spin-button, .cart-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-quantity button:hover { background: #ececec; }
.cart-quantity button:disabled { opacity: .45; cursor: default; }
.cart-remove { text-decoration: underline; font-size: .92rem; }
.cart-summary { padding: clamp(18px, 2.2vw, 28px); background: #f5f5f5; }
.cart-summary h2 { margin: 0 0 12px; font-size: 24px; font-weight: 500; }
.cart-summary dl { margin: 0; }
.cart-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-top: 1px solid #ddd; }
.cart-summary dd { margin: 0; font-weight: 700; }
.cart-summary p { color: #4a4a4a; margin-top: 8px; }
.cart-checkout { display: block; background: #1a1a1a; color: #fff; text-decoration: none; text-align: center; padding: 12px 16px; font-weight: 700; }
.cart-checkout:hover { background: #333; }
.cart-empty { text-align: center; padding: clamp(24px, 6vw, 80px) 16px; border-block: 1px solid #dedede; }
.cart-empty h2 { font-size: 25px; font-weight: 500; margin: 12px 0 4px; }
.cart-empty p { margin: 0 0 16px; color: #4a4a4a; }
.cart-empty .cart-checkout { display: inline-block; }
.cart-empty-icon { display: inline-block; width: 38px; height: 33px; border: 1px solid #333; position: relative; margin-top: 8px; }
.cart-empty-icon::before { content: ''; position: absolute; inset: -10px 10px auto; height: 16px; border: 1px solid #333; border-radius: 9px 9px 0 0; border-bottom: 0; }
@media (max-width: 800px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-wrap { width: calc(100% - 32px); margin-block: 26px 48px; }
  .cart-line { grid-template-columns: 86px minmax(0, 1fr) auto; column-gap: 11px; }
  .cart-line-title, .cart-line-total { font-size: 18px; }
}
@media (max-width: 390px) {
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart-heading { flex-wrap: wrap; }
}
