* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #faf9f7;
  color: #2b2b2b;
}

/* LOGO */
.marca {
  text-align: center;
  margin-top: 30px;
}

.marca img {
  height: 120px;
  position: relative;
  top: 80px;
}

.marca h1 {
  font-size: 3rem;
  color: #6b4b3e;
}

.marca span {
  letter-spacing: 2px;
  color: #a88c6d;
  font-size: 0.9rem;
}

/* TITULO */
h2 {
  text-align: center;
  margin: 30px 0 20px;
}

/* CARRINHO */
.carrinho {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* ITEM */
.item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.item:last-child {
  border-bottom: none;
}

.nome {
  font-size: 16px;
}

.quantidade {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
}

.quantidade button {
  border: none;
  background: none;
  width: 32px;
  cursor: pointer;
  font-size: 18px;
}

.qtd {
  width: 32px;
  text-align: center;
}

.preco {
  font-weight: 500;
}

.remover {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 18px;
}

.remover:hover {
  color: #b00020;
}

/* TOTAL */
.total {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  font-size: 18px;
  font-weight: 600;
}

/* BOTÃO */
.finalizar {
  margin: 30px auto;
  display: block;
  width: 200px;
  padding: 14px 0;
  background: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.finalizar:hover {
  background: #0d8321;
}

/* RESPONSIVO */
@media (max-width:600px){
  .item{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .total{
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
/* ================= CUPOM DE DESCONTO ================= */

.cupom-container {
  margin-top: 25px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cupom-container input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}

.cupom-container input:focus {
  border-color: #000;
}

.cupom-container button {
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.cupom-container button:hover {
  opacity: 0.85;
}

#mensagemCupom {
  font-size: 14px;
  min-height: 18px;
}

/* ================= RESUMO DE VALORES ================= */

.total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #eee;
  font-size: 15px;
}

.total strong {
  font-weight: 600;
}

.total.final {
  font-size: 18px;
  font-weight: bold;
  border-top: 2px solid #000;
  padding-top: 14px;
}

/* ================= MOBILE ================= */

@media (max-width: 480px) {
  .cupom-container {
    padding: 12px;
  }

  .cupom-container input,
  .cupom-container button {
    font-size: 14px;
  }

  .total {
    font-size: 14px;
  }

  .total.final {
    font-size: 16px;
  }
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.img-carrinho {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.info {
  flex: 1;
}

.nome {
  display: block;
  font-weight: bold;
}


