/* Resetando estilos padrão para garantir consistência */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo da página */
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Container principal do painel */
.painel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Título */
h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Estilo para o formulário */
.form-grupo {
  margin-bottom: 20px;
}

.form-grupo label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-grupo input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.form-grupo input:focus {
  border-color: #4caf50;
  outline: none;
}

/* Botão de salvar */
button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  width: 100%;
  margin-top: 10px;
}

button:hover {
  background-color: #45a049;
}

/* Estilo para a mensagem de aviso */
#mensagem-aviso {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

/* Estilos para a vitrine de produtos */
#vitrine {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* Cartão de produto */
.card-produto {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-produto img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Efeito ao passar o mouse sobre o card */
.card-produto:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Nome do produto */
.card-produto h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* Preço destacado */
.preco-destaque {
  font-size: 20px;
  color: #4caf50;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Categoria do produto */
.card-produto p {
  font-size: 14px;
  color: #777;
}

/* Estilo para mensagens de erro ou vazio */
#vitrine p {
  font-size: 18px;
  color: #ff0000;
  text-align: center;
  font-weight: bold;
}
