@font-face {
    font-family: 'Constantine';
    src: url('fonts/Constantine.ttf') format('truetype');
  }
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #ececec;
  }
  
  header {
    background: url('00126c0c-6bcd-46c4-9d12-1dcb92b0cb60.png') no-repeat center center/cover;
    color: white;
    padding: 100px 20px 40px 20px; /* Mais padding pra ficar no meio certinho */
    text-align: center;
    position: relative;
    z-index: 1;
}
  
  .catalogo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
  }
  
  .card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 250px;
    padding: 15px;
    text-align: center;
  }
  
  .card img {
    width: 100%;
    border-radius: 8px;
  }
  
  .card h3 {
    margin: 10px 0 5px;
  }
  
  .card p {
    color: gray;
  }
  
  .header-container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
  }
  
  .logo {
    width: 80px;
    height: auto;
  }
  
  /* Centralizar o título com a logo */
  @media (min-width: 600px) {
    .header-container {
      justify-content: flex-start;
      padding-left: 20px;
    }
  
    header {
      text-align: left;
    }
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: transparent;
    color: white;
  }
  
  .logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .contato-area .btn-contato {
    background-color: white;
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .contato-area .btn-contato:hover {
    background-color: #ddd;
  }
  
  .footer-fixo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    z-index: 1000;
  }
  
  .top-info {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .arrow-btn {
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 14px;
    cursor: pointer;
  }
  
  .arrow-btn:hover {
    color: #aaa;
  }
  
  /* Estilos da Navbar */
  .navbar {
    background: transparent;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 2; /* sobe a navbar acima do fundo */
}
  
  .menu-left, .menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .menu-left a, .menu-right a {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    position: relative;
  }
  
  .menu-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .logo-navbar {
    height: 140px;
  }
  
  .menu-right i {
    font-size: 18px;
    color: inherit;

  }
  
  /* Dropdown */
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    padding: 10px;
    top: 30px;
    min-width: 150px;
    z-index: 100;
  }
  
  .dropdown-content a {
    display: block;
    padding: 5px 0;
    color: black;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  #searchInput {
    background-color: rgb(255, 255, 255);
    color: black;
    border: 2px solid #464646;
    padding: 10px;
    border-radius: 5px;
  }
  
  #searchInput::placeholder {
    color: #999;
  }
  
  #searchForm {
    background-color: transparent;
    padding: 10px 0;
    display: flex;
    justify-content: center;
  }
  
  /* Estilo dos títulos de categoria */
  .titulo-categoria {
    text-align: center;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #464646;
    font-weight: bold;
    
  }
  
  /* Responsividade */
  @media (max-width: 600px) {
    .menu-left, .menu-right {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  
    .navbar {
      flex-direction: column;
      align-items: center;
    }
  
    .menu-center {
      position: static;
      transform: none;
      margin: 10px auto;
    }
  
    .logo-navbar {
      height: 80px;
    }
  
    .catalogo {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-fixo {
      background-color: black;
      color: white;
      text-align: center;
      padding: 20px 0;
      font-size: 12px;
      margin-top: 40px;
    }
  
    #searchInput {
      width: 90%;
    }
  
    .banner-imagem {
      max-height: 400px; /* Reduzir banner no celular */
    }
  
    header {
      padding: 60px 20px 20px 20px; /* Ajustar header no celular */
    }
  }
  body::after {
    content: "";
    display: block;
    height: 100px; /* Altura extra no final da página */
  }


.btn-comprar {
  display: inline-block;
  margin-top: 10px;
  background-color: #25D366;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-comprar:hover {
  background-color: #1ebd57;
}



.painel-adm {
  background-color: #fff;
  padding: 20px;
  margin: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.painel-adm h2 {
  margin-bottom: 15px;
}

.painel-adm form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.painel-adm input, .painel-adm select, .painel-adm button {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
  flex: 1 1 200px;
}

.painel-adm button {
  background-color: #464646;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.painel-adm button:hover {
  background-color: #ffffff;
}
.banner-topo {
  width: 100%;
  margin-top: 1px; /* para não ficar por trás da navbar */
}

.banner-imagem {
  width: 100%;
  height: auto;
  max-height: 850px; /* você pode ajustar essa altura se quiser */
  object-fit: cover;
}
.preco-atual {
  font-size: 18px;
  color: #000;
  font-weight: bold;
  margin: 5px 0;
}

.preco-antigo {
  font-size: 14px;
  color: red;
  text-decoration: line-through;
  margin-bottom: 10px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-right: 10px; /* espaço entre o botão e a logo */
  }

  .menu-left, .menu-right {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar.active .menu-left,
  .navbar.active .menu-right {
    display: flex;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

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

.banner-informativo {
  background-color: white;
  padding: 10px 0;
  text-align: center;
}

.banner-informativo-img {
  max-width: 100%;
  height: auto;
  max-height: 120px; /* Limita a altura pra não ficar gigante */
  object-fit: contain; /* Garante que não distorce */
}
