.cart {
  background: var(--panel);
  display: flex; flex-direction: column; min-height: 0;
  overflow: hidden;
}
.cart-hd {
  padding: 16px 18px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cart-hd .logo {
  display: inline-flex; align-items: baseline; color: var(--ink);
  text-decoration: none; gap: 0;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1;
}
.cart-hd .logo .super {
  color: #E14A2B;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.04em;
  transform: skewX(-6deg); display: inline-block;
  text-shadow: 1.5px 1.5px 0 #FFD43B;
}
.cart-hd .logo .barato {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-left: 2px;
}
.cart-hd .logo .tld {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 14px;
  margin-left: 1px;
  letter-spacing: 0;
  transform: translateY(-1px);
}
.cart-hd .login {
  appearance: none; border: 0; background: transparent;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  transition: background .12s ease;
  text-decoration: none;
}
.cart-hd .login:hover { background: var(--soft); }

.cart-body {
  flex: 1; overflow: auto; padding: 4px 12px 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.cart-body::-webkit-scrollbar { width: 8px; }
.cart-body::-webkit-scrollbar-thumb { background: var(--hair); border-radius: 4px; border: 2px solid transparent; background-clip: content-box; }

.ci {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; background: var(--surface); border-radius: var(--r-sm);
}
.ci .thumb {
  width: 44px; height: 44px; border-radius: 6px;
  background: radial-gradient(circle at 50% 45%, oklch(0.96 0.005 85) 0, oklch(0.93 0.006 85) 80%);
}
.ci .meta .n {
  font-size: 12.5px; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ci .meta .u { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.ci .side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.ci .price { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ci .price .spr { font-weight: 400; color: var(--ink-3); font-size: 11px; margin-left: 2px; }
.ci .qty {
  display: inline-flex; align-items: center; background: var(--soft);
  border-radius: 999px; padding: 2px;
}
.ci .qty button {
  appearance: none; border: 0; background: transparent;
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center;
}
.ci .qty button:hover { background: #fff; }
.ci .qty span { padding: 0 6px; min-width: 18px; text-align: center; font-size: 11.5px; font-variant-numeric: tabular-nums; }

.cart-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--ink-3); text-align: center; padding: 40px 20px;
}
.cart-empty .box {
  width: 72px; height: 72px; border-radius: var(--r-md); background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--ink-4);
}
.cart-empty .msg { font-size: 13px; color: var(--ink-2); }
.cart-empty .hint { font-size: 11.5px; color: var(--ink-3); }

.cart-ft {
  padding: 14px 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.ft-summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px;
  font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.ft-summary .dots {
  border-bottom: 1px dotted var(--ink-4); transform: translateY(-4px);
}
.ft-summary .total { color: var(--ink); font-weight: 600; font-size: 14px; }
.ft-summary .total .spr { color: var(--ink-3); font-weight: 400; font-size: 12px; margin-left: 2px; }
.ft-summary.muted { color: var(--ink-3); }

.cta {
  appearance: none; border: 0; background: var(--ink); color: #fff;
  font: 600 14px/1 'Instrument Sans', sans-serif; letter-spacing: .005em;
  padding: 14px; border-radius: 999px; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.cta:hover { background: oklch(0.32 0.02 80); }
.cta:active { transform: translateY(1px); }
.cta[disabled] { opacity: .35; cursor: not-allowed; }
