html, body {
  background-color: black !important;
  color: white !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  margin: 0;
  padding: 0;
}

/* Elementos visuais */
.logo-img {
  max-height: 100px;
  margin-bottom: 20px;
}

h1 {
  color: #f1c40f;
  text-align: center;
  margin-bottom: 30px;
}

.topo {
  text-align: center;
  margin-bottom: 20px;
}

.button {
  background-color: #27ae60;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 6px;
  margin: 5px;
  display: inline-block;
}

.button.excluir {
  background-color: #c0392b;
}

.button.voltar {
  background-color: #3498db;
}

/* Itens do cardápio */
.item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #444;
  padding: 15px;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 15px;
  background-color: #111;
  border-radius: 6px;
}

.item .imagem {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
}

.item .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info {
  flex-grow: 1;
}

.info h2 {
  font-size: 20px;
  margin: 0;
  color: #f1c40f;
}

.info p {
  font-size: 14px;
  margin: 5px 0;
  color: #bdc3c7;
}

.preco {
  font-size: 16px;
  font-weight: bold;
  color: #e67e22;
  margin-bottom: 10px;
}

.acoes {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Separadores */
.separador {
  background-color: #222;
  border: 2px dashed #555;
  padding: 20px;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 700px;
  text-align: center;
}

.separador-imagem {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.separador-imagem img {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



.separador-titulo {
  font-size: 20px;
  color: #f1c40f;
  margin: 0;
  text-align: center;
}

/* ✅ Impressão com fundo preto */
@media print {
  html, body {
    background-color: black !important;
    color: white !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    margin: 0 !important;
    padding: 0 !important;
  }

  .topo,
  .button,
  .logo {
    display: none !important;
  }

  @page {
    margin: 0;
  }
}