/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Corpo */
body {
  background-color: #eeeeee;
  padding-bottom: 80px;
}

/* Header */
.banner-header {
  width: 100%;
  height: auto;
  display: block;
}

.topo-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza a marca */
}




/* Logo + título */
.marca {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.logo {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 50%;
  border: solid 3px white;
  background: white;
}

/* Título */
.marca h1 {
  font-size: 24px;
  line-height: 1.2;
}

/* Botão login */
.btn-login-admin {
  position: absolute;
  top: 15px;
  right: 20px;

  background: white;
  color: #2ecc71;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 14px;
  transition: 0.2s;
  white-space: nowrap;
}

.btn-login-admin:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
}

/* Filtros */
.filtros {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
}

.filtros button {
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background-color: #ddd;
  cursor: pointer;
  transition: 0.2s;
}

.filtros button:hover {
  background-color: #2ecc71;
  color: white;
}

/* Lista produtos */
.produtos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

/* Card produto */
.produto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: white;
  padding: 14px;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Imagem produto */
.produto img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Informações */
.produto div {
  flex: 1;
}

.produto h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.produto p {
  font-size: 14px;
  color: #555;
}

/* Quantidade */
.quantidade {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantidade button {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: #2ecc71;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.quantidade button:hover {
  background: #27ae60;
}

.quantidade span {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
}

/* Carrinho fixo */
.carrinho {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
}

.carrinho p {
  font-size: 16px;
  font-weight: bold;
}

.carrinho button {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: #2ecc71;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.carrinho button:hover {
  background: #27ae60;
}

/* Modal fundo */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

/* Escondido */
.hidden {
  display: none;
}

/* Caixa modal */
.modal-content {
  background: white;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  padding: 22px;
}

.modal-content h2 {
  margin-bottom: 12px;
}

.modal-content p {
  margin-bottom: 12px;
  font-weight: bold;
}

/* Inputs modal */
.modal-content input,
.modal-content select {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

/* Botões modal */
.botoes-modal {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.botoes-modal button {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.botoes-modal button:first-child {
  background: #ccc;
}

.botoes-modal button:last-child {
  background: #2ecc71;
  color: white;
}

.botoes-modal button:last-child:hover {
  background: #27ae60;
}

/* Responsivo */
@media (max-width: 600px) {
  .topo-header {
    align-items: flex-start;
  }

  .marca {
    gap: 10px;
  }

  .logo {
    width: 65px;
    height: 65px;
  }

  .marca h1 {
    font-size: 18px;
  }

  .btn-login-admin {
    padding: 8px 12px;
    font-size: 13px;
  }

  .produto {
    padding: 12px;
  }

  .produto img {
    width: 52px;
    height: 52px;
  }
}