.produtos {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.produtos h2 {
  font-size: 2rem;
  color: #b71c1c;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Grade dos produtos === */
.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* === Card do produto === */
.produto {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  padding-bottom: 20px;
}

.produto:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* === Imagem === */
.produto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #d50000;
}

/* === Informações === */
.produto .info {
  padding: 15px;
  text-align: center;
  width: 100%;
}

.produto h3 {
  color: #b71c1c;
  margin-bottom: 8px;
}

.produto p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.produto .preco {
  font-size: 1.2rem;
  color: #d50000;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
}

/* === BOTÃO CENTRALIZADO VERMELHO === */
.produto button {
  background: linear-gradient(90deg, #b71c1c, #d50000);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
  width: fit-content;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.produto button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #d50000, #b71c1c);
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

/* === BOTÃO "VER DETALHES" === */
.btn-ver {
  background: linear-gradient(90deg, #b71c1c, #d50000);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10px;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.btn-ver:hover {
  background: linear-gradient(90deg, #d50000, #b71c1c);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}
.busca-produtos {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.filtros-produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.filtros-produtos input,
.filtros-produtos select {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: 0.2s;
}

.filtros-produtos input:focus,
.filtros-produtos select:focus {
  border-color: #b71c1c;
  box-shadow: 0 0 5px rgba(183, 28, 28, 0.3);
}

.btn-limpar {
  background: linear-gradient(90deg, #555, #222);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn-limpar:hover {
  background: linear-gradient(90deg, #000, #444);
  transform: scale(1.05);
}


/* === Responsivo === */
@media (max-width: 768px) {
  .grid-produtos {
    grid-template-columns: 1fr;
  }
  .produto {
    max-width: 100%;
  }
   .busca-produtos input {
    width: 100%;
    font-size: 0.95rem;
  }
}
