/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== LAYOUT BASE ===== */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column; /* Garante que o rodapé vá para o final */
}

body {
  color: #0c0c0c;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  background-color: #0057b7;
}

/* ===== CABEÇALHO ===== */
header {
  text-align: center;
  padding: 30px 10px;
  background-color: #eeeff0;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* BOTÃO VOLTAR */
.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0057b7;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  margin: 20px;
  text-decoration: none;
}
.setina {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 10px solid white;
}

h1 {
  color: #000000;
  text-align: center;
  font-size: 2em;
}

p {
  color: #000000;
  text-align: center;
}

/* ===== GRID DE QUEIJOS ===== */
.queijos1-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas fixas */
  gap: 25px;
  justify-items: center;
  margin-bottom: 50px;
  flex: 1; /* Faz o container empurrar o rodapé para baixo */
}

.queijo-card {
  background-color: #eeeff0;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.queijo-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

/* ===== BOTÃO DE COMPRA ===== */
.comprar {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.comprar:hover {
  background: #0056b3;
}

/* ===== RODAPÉ ===== */
footer {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9em;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto; /* Empurra o rodapé para o fim */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer p {
  margin: 5px 0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 600px) {
  .queijos1-container {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
  }
}
