.total{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.total a{
    background-color: #cd8df4;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px 20px;
}

.total a:hover{
    background-color: #b672e0;
    color: #fff5e9;
}

.total span{
    font-size: 16px;
    font-weight: bold;
}

/* Wrapper para alinhar os botões e o número */
.qtde-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* espaço entre os elementos */
}

/* Botões de + e - */
.btn-qtd {
  background: #cd8df4;
  color: #fff;
  padding: 6px 14px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  transition: background-color 0.3s ease;
}

.btn-qtd:hover {
  background-color: #b672e0;
}

/* Número da quantidade */
.qtde-num {
  font-weight: 600;
  font-size: 1rem;
  min-width: 24px;
  text-align: center;
  display: inline-block;
}

/* Responsividade: em telas pequenas */
@media (max-width: 600px) {
  .qtde-wrapper {
    gap: 4px;
  }
  .btn-qtd {
    padding: 4px 10px;
    font-size: 0.9rem;
    min-width: 28px;
    min-height: 28px;
  }
  .qtde-num {
    font-size: 0.9rem;
    min-width: 20px;
  }
}
