/* A imagem que simula o fundo */
/* .bg-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; 
} */

#footer-botoes {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
}

.item-pizza {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  /* box-shadow: 0 7px 4px 0 rgb(0 0 0 / 20%), 0 5px 7px 0 rgba(0, 0, 0, 0.22); */
  margin-bottom: 1.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 2rem;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px, rgba(0, 0, 0, .14) 0 6px 10px 0, rgba(0, 0, 0, .12) 0 1px 18px 0;
}

.pizza-selection {
  /* border: 1px solid #ccc; */
  border: none;
  /* padding: 10px; */
  /* margin-bottom: 16px; */
  border-radius: 15px;
  /* max-width: 310px; */
}

.img-desc {
  /* imagem e descrição do item */
  display: flex;
  gap: 1rem;
}
.img-item {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.col-esquerda {
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.col-esquerda h2 {
  font-size: 1.6rem;
  margin: 0.2rem 0;
  font-weight: 500;
}

.col-esquerda p {
  font-size: 1.6rem;
  color: #666;
  word-break: break-word;
  margin: 0.2rem 0 0 0;
  line-height: 1.4;
}

.descricao-colapsada {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* mostra só 2 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
  text-align: justify;
  hyphens: auto; /* Ajuda na quebra de palavras */
  font-size: 1.6rem;
  color: #666;
  word-break: break-word;
  margin: 0.2rem 0 0 0;
  line-height: 1.4;
}

/* Estilo para a versão expandida */
.descricao-expandida {
  /* display: block;
  overflow: visible;

  text-align: justify;
  hyphens: auto;             Ajuda na quebra de palavras
  line-height: 1.5;          Melhor leitura */
}

/* Botão Ver mais */
.ver-mais {
  /* background: none;
  border: none;
  color: #be2626;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  margin-top: 0.5rem;
  text-decoration: underline; */
}

.col-direita {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  /* min-width: 120px; */
}

.col-direita h2 {
  font-size: 1.6rem;
  margin: 0.2rem 0;
}

.botao_circulo2 {
  /* width: 32px; */
  height: 32px;
  font-size: 1.4rem;
  /* border-radius: 50%; */
  border: none;
  color: #dd6f6f;
  background-color: white;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease;
}

/* Apenas para o botão de subtrair (−) */
.botao-menos {
  background-color: white;
  color: white;
}

/* Ativado quando valor > 0 */
.botao-menos.ativo {
  background-color: white;
  color: #dd6f6f;
}

.input_qtd2 {
  width: 10px;
  text-align: center;
  font-size: 1.6rem;
  border: none;
  background: transparent;
}
.link-voltar {
  width: 40px;
  height: 40px;
  padding: 1px;
  border: none;
  border-radius: 50%; /* Isso cria o círculo */
  font-size: 4rem;
  color: #fff;
  background-color: #000;
  cursor: pointer;
  display: flex; /* Alinha o ícone ao centro */
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-left: 1rem;
}

.link-carrinho {
  align-self: flex-start;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: #be2626;
}

/* Mensagem de Sucesso após envio de pedido */
#mensagem-pedido {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.6rem;
  border: 1px solid #c3e6cb;
  opacity: 0;
  /* transform: translateY(-20px); */
  pointer-events: none;
  /* transition: opacity 0.5s ease, transform 0.5s ease; */
  height: 0;
  /* margin-top:2rem;
  margin-bottom:2rem; */
}

#mensagem-pedido.visivel {
  opacity: 1;
  /* transform: translateY(0); */
  pointer-events: auto;
  height: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#mensagem-pedido .icone {
  font-size: 1.6rem;
  margin-right: 0.5rem;
}
