body {
  margin: 0;
  font-family: Arial;
}

/* Tablet */
@media (max-width: 1024px) {
  .produto {
    width: 45%;
  }
}

/* Celular */
@media (max-width: 600px) {
  .produto {
    width: 100%;
  }
}

header {
  background: rgba(42, 204, 10, 0.767);
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo img {
  height: 80px;
  transition: 0.3s;
  object-fit: contain;
   border-radius: 50%;
    margin-left: -250px;
}

.logo img:hover {
  transform: scale(1.05);
}
.menu {
    display: flex;
  
    
}
.menu a {
  position: relative;
  margin-left: 20px;
  text-decoration: none;
  color: #fffefe;
  font-weight: 500;
  transition: 0.3s;
}

/* Efeito ao passar o mouse */
.menu a:hover {
  color: #00720f;
}

.banner {
  width: 100%;
  overflow: hidden;
  margin: 20px auto;
  text-align: center;
}

.banner img {
  width: 98%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px; /* bordas arredondadas */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

a{
  text-decoration: none;
  color: #000000;
}

.texto {
  text-align: center;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.nome{
   text-align: center;
   color: #fffefe;
}
.produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

.produto {
  width: calc(25% - 15px); 
  background: white;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.produto:hover {
  transform: translateY(-5px);
}

/* Imagem */
.produto img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 8px;
}

/* Nome */
.produto h3 {
  margin: 10px 0 5px;
  font-size: 16px;
  text-decoration: none;
}

/* Preço */
.produto p {
  color: rgb(33, 175, 4);
  font-weight: bold;
  text-decoration: none;
}

.footer-container {
  display: flex;
  justify-content: space-between; /* distribui */
  align-items: flex-start;
  padding: 20px;
  background-color: rgba(42, 204, 10, 0.767);
}


/*página produtos*/

.paginaprodutos {
  font-family: Arial;
  margin: 0;
  background: #f5f5f5;
}

.container {
  display: flex;
  padding: 30px;
  gap: 30px;
}

.imagens {
  width: 50%;
  display: flex;
  gap: 20px;
}

.imagens img {
   width: 290px;
  border-radius: 8px;
}

.info {
  width: 50%;
}

.preco {
  font-size: 24px;
  color: green;
  margin: 10px 0;
}

button {
  padding: 12px;
  margin: 10px 0;
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.comprar {
  background: green;
  color: white;
}

.carrinho {
  background: green;
  color: white;
}

.cep-box {
  margin-top: 20px;
}

input {
  padding: 10px;
  width: 60%;
}

.resultado {
  margin-top: 10px;
}

/*botão de voltar*/
.btn-voltar {
    background: linear-gradient(45deg, green,  rgb(7, 221, 7));
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-voltar:hover {
    transform: scale(1.05);
}


/*finalizar venda*/

body {
  font-family: Arial;
  background: #f5f5f5;
  margin: 0;
}

.container {
  display: flex;
  gap: 30px;
  padding: 30px;
}

.formulario, .resumo {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 50%;
}

h1 {
  margin-top: 0;
  font-family: Arial;
}

input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

button {
  padding: 12px;
  width: 100%;
  background: green;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.pagamento label {
  display: block;
  margin: 5px 0;
}

.resumo p {
  margin: 3px 0;
 flex-direction: column;
}

.total {
  font-size: 20px;
  color: green;

}

.quantidade {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantidade button {
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
}

.quantidade input {
  width: 50px;
  text-align: center;
}

body {
  font-family: Arial;
  background: #f5f5f5;
  margin: 0;
}

.container {
  padding: 20px;
}

.item {
  display: flex;
  
  align-items: center;
  background: white;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
}


.info img {
  width: 80px;
  border-radius: 8px;
}

.quantidade {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantidade button {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.total {
  font-size: 22px;
  margin-top: 20px;
  color: green;
}

button.finalizar {
  margin-top: 20px;
  padding: 12px;
  width: 35%;
  background: green;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}


#areaPix {
    margin-top: 20px;
}

#qrcode {
    width: 200px;
    margin-top: 10px;
}

.botaocomprar{
 background: linear-gradient(135deg,rgb(7, 221, 7), #20a85b);
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgb(7, 221, 7);
}

.botaocomprar:hover {
    background: linear-gradient(135deg, #20a85b, #168f4b);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(40, 199, 111, 0.45);
}

.botaocomprar:active {
    transform: scale(0.96);
}