.carrinho-main {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.carrinho-main h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.carrinho-vazio {
  text-align: center;
  padding: 48px 0;
  color: #aaa;
}
.carrinho-vazio i { font-size: 3rem; margin-bottom: 12px; display: block; }
.carrinho-vazio p { font-size: 1rem; margin-bottom: 20px; }
.carrinho-vazio a {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s;
}
.carrinho-vazio a:hover { background: var(--dark-green); }

/* ITENS */
.carrinho-itens-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 16px;
  margin-bottom: 16px;
}

.carrinho-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}

.carrinho-item:last-child { border-bottom: none; }

.carrinho-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f8f8;
  flex-shrink: 0;
}

.carrinho-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.carrinho-item-nome {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
}

.carrinho-item-preco-un {
  font-size: 0.8rem;
  color: #888;
}

.carrinho-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.carrinho-item-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.carrinho-item-qty button {
  background: #f8f8f8;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.carrinho-item-qty button:hover { background: #eee; }

.carrinho-item-qty span {
  padding: 0 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  height: 32px;
  display: flex;
  align-items: center;
}

.carrinho-item-total {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.carrinho-item-remove {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  margin-left: 10px;
  transition: color 0.2s;
}

.carrinho-item-remove:hover { color: var(--red); }

/* RESUMO */
.carrinho-resumo-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  padding: 20px;
}

.carrinho-resumo-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.resumo-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.92rem;
  color: #444;
}

.resumo-linha.pix {
  color: var(--green);
  font-weight: 500;
}

.resumo-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 12px 0;
}

.resumo-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  padding: 4px 0;
}

.btn-finalizar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  transition: background 0.2s;
}

.btn-finalizar:hover { background: var(--dark-green); }

.link-continuar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  background: #f0f0f0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.link-continuar:hover {
  background: var(--red);
  color: #fff;
}
