/* ====== ESTILO GERAL DO CARRINHO ====== */
.listing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.listing-table th {
  background: #f8f9fa;
  color: #555;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.listing-table td {
  padding: 14px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f1f1;
}

.listing-table tr:last-child td {
  border-bottom: none;
}

/* ====== IMAGEM DO PRODUTO ====== */
.td-foto img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ====== NOME DO PRODUTO ====== */
.td-nome .nome {
  font-weight: 600;
  color: #111;
  font-size: 15px;
  line-height: 1.4;
  display: block;
}

/* ====== ADICIONAIS ====== */
tr td[colspan="7"] {
  background: #fafafa;
  font-size: 14px;
  color: #444;
  border-left: 3px solid var(--main);
  border-radius: 0 6px 6px 0;
  padding-left: 16px;
}

/* ====== QUANTIDADE ( + - ) ====== */
.campo-numero {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 8px;
  padding: 6px 10px;
  width: fit-content;
  margin: auto;
}

.campo-numero i {
  background: #f3f4f6;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #555;
  transition: all 0.2s ease;
}

.campo-numero i:hover {
  background: #6d28d9;
  color: #fff;
}

.campo-numero input {
  width: 48px;
  height: 32px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  outline: none;
}


/* ====== BOTÕES ====== */
.botao-acao {
  width: 100%;
  padding: 12px;
  background: #6d28d9;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.botao-acao:hover {
  background: #4c1d95;
  transform: translateY(-1px);
}

.botao-continuar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #22c55e;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: all 0.3s;
}

.botao-continuar:hover {
  background-color: #16a34a;
  transform: translateY(-1px);
}

/* ====== SUBTOTAL ====== */
.subtotal {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
}

.subtotal span {
  color: #6d28d9;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  .listing-table th:nth-child(3),
  .listing-table td:nth-child(3),
  .listing-table th:nth-child(4),
  .listing-table td:nth-child(4) {
    display: none;
  }

  .td-foto img {
    width: 60px;
    height: 60px;
  }
}
