.produtos {
  padding: 20px;
  text-align: center;
  background-color: #fffaf8;
}

.produtos h2 {
  font-size: 2rem;
  margin: 30px auto 20px auto;
  padding: 0 20px;
  color: #6B1B1B;
  text-align: center;
  font-weight: 600;
}

.produtos-conteudo {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* mantém os cards com alturas iguais */
  justify-content: center;
  gap: 40px;
}


.produto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 320px; /* garante largura consistente */
  flex: 1 1 320px; /* permite que se adaptem com base no espaço, mas respeita o limite */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%; /* força a altura igual no container flex */
  margin-bottom: 30px;
}


.produto:hover {
  transform: scale(1.03);
}

.foto-produto {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}




.texto-produto {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.texto-produto h3 {
  color: #6B1B1B;
  margin-bottom: 10px;
  font-size: 1.2rem;
}





.texto-produto p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

.lista-recheios {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  gap: 30px;
  max-width: 600px;
  margin: 10px auto;
  padding-left: 0;
  list-style-position: inside;
}

.lista-recheios li {
  text-align: left;
  list-style-type: disc;
  margin-bottom: 8px;
  font-size: 0.95rem;
}



.bloco-bolos {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.produto-grande {
  width: 100%;
  max-width: 480px;
}


/* Responsividade */
@media (max-width: 768px) {
  .produtos-conteudo {
    flex-direction: column;
    align-items: center;
  }

  .texto-produto {
    text-align: center;
  }

  .produto {
    width: 100%;
    max-width: 100%; /* usa toda a largura disponível no mobile */
    flex: none; /* impede que se comportem como flex-item variável */
  }

  .produto-grande {
    max-width: 100%;
  }
}
