:root {
  --primary-color: #ff5e00;
  --secondary-color: #ff9f1c;
  --bg-color: #fff9f4;
  --text-color: #2d2d2d;
  --shadow: 0 4px 8px rgba(0,0,0,0.1);
  --radius: 12px;
  --price-color: #ff8c00; /* Cor rosa/vermelho para o preço */
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

header {
  background-image: url('img/fundo.jpeg'); /* ou use uma URL externa aqui */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  flex-wrap: wrap;
  text-align: center;
}


.logo {
  height: 120px;
  width: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px dotted #ff9f1c;
  padding: 3px;
  background-color: white;
  box-shadow: 0 0 10px #ff9f1c, 0 0 20px #ff9f1c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
   animation: brilho 2s infinite alternate;
}

.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
@keyframes brilho {
  0% {
    box-shadow: 0 0 10px #ff9f1c, 0 0 20px #ff9f1c;
  }
  100% {
    box-shadow: 0 0 15px #ff9f1c, 0 0 30px #ff9f1c;
  }
}

.titulo-header {
  font-family: 'Lobster', cursive;
  font-size: 2.2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  margin: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  gap: 1rem;
}

main {
  flex: 3;
  min-width: 300px;
}

aside {
  flex: 1;
  min-width: 300px;
}

#menu, #pedido, #avaliacoes {
  background-color: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* --- ESTILOS ATUALIZADOS PARA O CARDÁPIO --- */

#lanche-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lanche-item {
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8rem 1rem; /* Ajustado padding */
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column; /* Organiza conteúdo em coluna */
}

.lanche-item:hover {
  transform: translateY(-5px);
}

.lanche-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Alinha o topo da imagem e texto */
  margin-bottom: 0.5rem; /* Espaço entre o conteúdo principal e o footer */
}

.lanche-info {
  flex: 1;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
}

.lanche-imagem {
  width: 90px; /* Tamanho da imagem para celular */
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius);
}

.lanche-nome {
  font-size: 1rem; /* Ajustado tamanho da fonte para celular */
  font-weight: 600;
  margin: 0 0 0.3rem 0;
  color: #333;
}

.lanche-descricao {
  font-size: 0.8rem; /* Ajustado tamanho da fonte para celular */
  color: #666;
  margin: 0;
  flex-grow: 1;
  line-height: 1.3;
}

.lanche-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem; /* Espaço entre a descrição e o preço/botão */
}

.lanche-preco {
  font-weight: bold;
  font-size: 1.1rem; /* Ajustado tamanho da fonte para celular */
  color: var(--price-color); /* Cor rosa/vermelho para o preço */
  margin: 0;
  white-space: nowrap; /* Evita quebra de linha no preço */
}

.lanche-item button.adicionar-lanche {
    padding: 0.4rem 0.8rem; /* Ajustado padding do botão */
    font-size: 0.85rem; /* Ajustado tamanho da fonte do botão */
    border-radius: 8px; /* Borda um pouco menor */
}

.lanche-obs {
  margin-top: 0.75rem;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0.4rem;
  font-size: 0.8rem;
  resize: vertical; /* Permite redimensionar verticalmente */
}

/* --- FIM DOS ESTILOS ATUALIZADOS PARA O CARDÁPIO --- */


button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: var(--secondary-color);
}

select {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
}

#pedido-lista {
  list-style: none;
  padding: 0;
}

#pedido-lista li {
  background-color: #fff;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remover-item {
  background-color: #ff4d4d;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  border: none;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  max-width: 500px;
  width: 90%;
  margin: auto;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 90vh;      /* Limita a altura */
  overflow-y: auto;      /* Habilita rolagem vertical */
}

.modal-input, .modal-radio-group {
  width: 100%;
  margin-bottom: 1rem;
}

.modal-radio-group label {
  display: block;
  margin-bottom: 0.3rem;
}

.modal-button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem;
}

#confirmar-pedido {
  background-color: #28a745;
}

#cancelar-pedido {
  background-color: #dc3545;
}

footer {
  text-align: center;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: var(--shadow);
}

footer a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color);
}

.avaliacao {
  background-color: #fff5eb;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius);
  font-style: italic;
  box-shadow: var(--shadow);
}

.whatsapp-button {
  position: fixed;
  bottom: 135px;
  right: 20px;
  background-color: #fff5eb;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.whatsapp-button:hover {
  background-color: #fff;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 1rem;
  }
}
#carrinho-flutuante {
  position: fixed;
  bottom: 200px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 100;
  transition: background-color 0.3s;
}

#carrinho-flutuante:hover {
  background-color: var(--secondary-color);
}

#contador-carrinho {
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.9rem;
  margin-left: 4px;
}

.modal-aberta .whatsapp-button,
.modal-aberta #carrinho-flutuante,
.modal-aberta #voltar-topo {
  display: none !important;
}

/* Estilo dos botões de filtro */
#filtros {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filtro-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: var(--shadow);
}

.filtro-btn:hover {
  background-color: var(--secondary-color);
}

.filtro-btn.ativo {
  background-color: var(--secondary-color);
  box-shadow: 0 0 0 2px white inset;
}

#voltar-topo {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 100;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  display: none;
}

#voltar-topo:hover {
  background-color: var(--secondary-color);
}
/* === CARRINHO FLUTUANTE MAIS CHAMATIVO === */
#carrinho-flutuante {
  position: fixed;
  bottom: 200px;
  right: 20px;
  background: linear-gradient(135deg, #ff5e00, #ff9f1c);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 0 20px rgba(255, 126, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: brilho-carrinho 2.2s infinite alternate ease-in-out;
}

/* Contador do carrinho */
#contador-carrinho {
  background-color: #fff;
  color: #ff5e00;
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 94, 0, 0.4);
}

/* Animação de brilho */
@keyframes brilho-carrinho {
  0% {
    box-shadow: 0 0 10px rgba(255, 126, 0, 0.6),
                0 0 20px rgba(255, 159, 28, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 126, 0, 0.9),
                0 0 45px rgba(255, 159, 28, 0.5);
    transform: scale(1.07);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 126, 0, 0.6),
                0 0 20px rgba(255, 159, 28, 0.3);
    transform: scale(1);
  }
}

/* Efeito ao passar o mouse */
#carrinho-flutuante:hover {
  transform: scale(1.12);
  box-shadow: 0 0 35px rgba(255, 126, 0, 0.8),
              0 0 60px rgba(255, 159, 28, 0.6);
  filter: brightness(1.1);
}

/* Responsividade */
@media (max-width: 600px) {
  #carrinho-flutuante {
    bottom: 160px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}



@keyframes carrinhoAnimado {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0px rgba(255, 126, 0, 0.5);
  }
  25% {
    transform: scale(1.2) rotate(-10deg);
    box-shadow: 0 0 10px #ff9f1c;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 15px #ff5e00;
  }
  75% {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 0 20px #ff9f1c;
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 0px rgba(255, 126, 0, 0.5);
  }
}

.animar-carrinho {
  animation: carrinhoAnimado 0.6s ease-in-out;
}
.carrinho-plus {
  position: fixed;
  bottom: 230px; /* acima do botão do carrinho */
  right: 30px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 6px 12px;
  z-index: 999;
  opacity: 1;
  animation: subirSumir 0.8s ease-out forwards;
  box-shadow: 0 0 10px rgba(255, 126, 0, 0.6);
}

@keyframes subirSumir {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-40px) scale(0.8);
    opacity: 0;
  }
}
footer a span {
  font-weight: bold;
  color: white;
  transition: color 0.3s ease;
}

footer a:hover span {
  color: var(--secondary-color);
}

/* Estilos para o novo modal de opções de prensado */
#modal-opcoes-prensado .modal-content {
  max-width: 450px; /* Ajuste a largura conforme necessário */
}

.opcoes-grupo {
  background-color: #fff5eb;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}

.opcoes-grupo h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.opcoes-grupo .modal-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
}

.opcoes-grupo .modal-radio-group input[type="radio"] {
  accent-color: var(--primary-color);
  transform: scale(1.2);
  cursor: pointer;
}

.opcoes-grupo .modal-radio-group label:hover {
  color: var(--secondary-color);
}

/* Ajuste para o botão de cancelar no novo modal */
#cancelar-opcoes-prensado {
  background-color: #dc3545;
  margin-top: 10px;
}

/* --- NOVOS ESTILOS PARA AS IMAGENS DO MODAL --- */

.modal-imagens-container {
  display: flex;
  justify-content: center; /* Centraliza os itens */
  gap: 1rem; /* Espaço entre as imagens */
  margin-bottom: 1.5rem; /* Espaço abaixo das imagens */
  text-align: center;
}

.modal-imagem-item {
  width: 45%; /* Cada item ocupa 45% do espaço */
}

.modal-imagem-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* Mantém a proporção quadrada */
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow);
}

.modal-imagem-item p {
  margin-top: 0.5rem;
  font-weight: bold;
  color: var(--text-color);
  font-size: 0.9rem;
}
#pedido {
  background-color: #fffaf3;
  border: 2px solid #ff7b00;
  border-radius: 12px;
  padding: 20px;
  max-width: 400px;
  margin: 20px auto;
  box-shadow: 0 4px 10px rgba(255, 123, 0, 0.2);
}

#pedido h2 {
  color: #ff7b00;
  margin-bottom: 10px;
  text-align: center;
}

#pedido h3 {
  color: #ff9a3d;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  animation: pulsar 1.5s infinite ease-in-out;
}

/* 🔶 Animação do "ATENÇÃO" */
@keyframes pulsar {
  0% {
    transform: scale(1);
    color: #ff9a3d;
    text-shadow: 0 0 6px rgba(255, 154, 61, 0.5);
  }
  50% {
    transform: scale(1.08);
    color: #ff7b00;
    text-shadow: 0 0 12px rgba(255, 123, 0, 0.8);
  }
  100% {
    transform: scale(1);
    color: #ff9a3d;
    text-shadow: 0 0 6px rgba(255, 154, 61, 0.5);
  }
}

/* Label e Select */
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: black;
  font-size: 1rem;
}

.custom-select {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  color: #333;
  background-color: #fffaf3;
  border: 2px solid #ff7b00;
  border-radius: 8px;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: 0.3s;
  background-image: linear-gradient(45deg, transparent 50%, #ff7b00 50%), 
                    linear-gradient(135deg, #ff7b00 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50%), 
                       calc(100% - 15px) calc(50%);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:hover {
  background-color: #fff3e0;
  border-color: #ff9a3d;
}

select:focus {
  box-shadow: 0 0 5px rgba(255, 123, 0, 0.5);
}

/* Evita o azul ao selecionar */
option {
  background-color: #fffaf3;
  color: #333;
}

/* Lista do pedido */
#pedido-lista {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#pedido-lista li {
  background-color: #ffe8cc;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  color: #333;
  border-left: 4px solid #ff7b00;
}
/* --- NOVOS ESTILOS PARA OS ITENS DO PEDIDO --- */

#pedido-lista li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px; /* Espaço entre o texto e os botões */
}

.pedido-item-info {
    flex-grow: 1; /* Faz com que o nome do item ocupe o espaço disponível */
}

.pedido-item-obs {
    font-size: 0.8rem;
    color: #555;
    margin-top: 4px;
    font-style: italic;
}

.pedido-item-botoes {
    display: flex;
    gap: 6px; /* Espaço entre o botão de editar e o de remover */
}

.pedido-item-botoes button {
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s;
}

.remover-item {
    background-color: #ff4d4d; /* Vermelho */
}

.editar-item {
    background-color: #4a90e2; 
}

.remover-item:hover {
    background-color: #c82333;
}

.editar-item:hover {
    background-color: #357abd;
}
/* --- ESTILOS PARA BUSCA E COMPARTILHAR --- */

/* Estilo para o container da barra de busca */
.search-container {
  position: relative;
  margin: 1rem auto;
  width: 90%;
  max-width: 500px;
}

/* Ícone de lupa dentro da barra */
.search-container .fa-search {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

/* Input da barra de busca */
#search-bar {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem; /* Espaço para o ícone */
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: 1rem;
  box-sizing: border-box; /* Garante que padding não afete a largura total */
}

#search-bar:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(255, 94, 0, 0.5);
}

/* Botão de compartilhar no rodapé */
#share-whatsapp-button {
  background-color: #25D366; /* Cor verde do WhatsApp */
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

#share-whatsapp-button:hover {
  background-color: #128C7E; /* Verde mais escuro */
}
/* Estilos para o Modal de Opções (PRENSADO E OBSERVAÇÃO) */
.modal-opcoes {
  display: none; /* Começa escondido */
  position: fixed; /* Fica fixo na tela */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Fundo escurecido */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* <<< ADICIONE ESTA LINHA! */
}
/* Impede o scroll da página quando um modal estiver aberto! */
body.modal-aberta {
  overflow: hidden;
}
#finalizar-pedido {
  position: relative;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  display: block;
  text-transform: uppercase;
}

/* Luz em movimento */
#finalizar-pedido::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  animation: brilho-movendo 2.5s infinite;
}

/* Animação da luz */
@keyframes brilho-movendo {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Efeito ao passar o mouse */
#finalizar-pedido:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 126, 0, 0.5);
}
