/* ==========================================================================
   ALTO — Carrinho (usa a base do checkout + itens)
   ========================================================================== */
@import url('/_clone/checkout.css');

.ci {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ci:last-child { border-bottom: 0; }
.ci__img {
  width: 96px; height: 96px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: cover;
}
.ci__t { margin: 0 0 3px; font-size: 15px; font-weight: 600; }
.ci__v { margin: 0 0 11px; font-size: 12.5px; color: var(--muted); }

.ci__qtd {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.ci__qtd button {
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background .12s;
}
.ci__qtd button:hover { background: #f3f3f6; }
.ci__qtd span { min-width: 36px; text-align: center; font-size: 13.5px; font-weight: 500; }

.ci__rm {
  border: 0;
  background: none;
  margin-left: 12px;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
}
.ci__rm:hover { color: var(--err); }

.ci__p { text-align: right; font-weight: 600; white-space: nowrap; font-size: 14.5px; }
.ci__p small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

.vazio { text-align: center; padding: 64px 20px; }
.vazio svg { width: 58px; height: 58px; color: #c9c9d2; margin: 0 auto 16px; }
.vazio p { color: var(--muted); margin: 0 0 20px; }

.rodape { margin-top: 26px; }
.rodape a { color: var(--muted); font-size: 13px; }
.rodape a:hover { color: var(--ink); }

@media (max-width: 620px) {
  .ci { grid-template-columns: 76px 1fr; }
  .ci__img { width: 76px; height: 76px; }
  .ci__p { grid-column: 2; text-align: left; }
}
