@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

.noScroll {
    overflow: hidden;
}

/* ADICIONADO PARA INSTAGRAM , ENDERECO E TELEFONE*/

.contato-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    font-family: "Roboto", sans-serif;
}

.link-contato {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.link-contato:hover {
    text-decoration: underline;
}

.separador {
    color: #ccc;
}

.endereco a {
    color: #fff; /* branco */
    text-decoration: none;
    font-weight: 500;
    
}

.endereco a:hover {
    text-decoration: underline;
    color: #ccc; /* cinza claro no hover */
}

.static-img {
    width: 30px;
    height: 30px;
}

/* ATÉ AQUI */

.box-cabecalho {
  
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  

  /* a mágica */
  
  margin-top: 5px; /* invade a capa */
  z-index: 2;
}

.Tituloprincipal {
    color: white;
    font-size: 1.5rem;
    font-family: "Roboto", sans-serif;
    z-index: 2;

}

.logoprincipal {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);

    
    
    z-index: 2;
}

/*.logoprincipal:hover {
    transform: scale(1.1);
    
}*/

.endereco {
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
}

.horario {
    color: white;
    background-color: #54CC0A;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 30px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

/* Fim do cabecalho*/


.msgmenu {
    color: black;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 45px;

}


/* ALTERADO */
.msg-bebidas {
    color: black;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 45px;

}




/* Inicio Menu*/

.conteudo-comida {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    grid-template-columns: repeat(1fr);
    gap: 45px;
    max-width: 1280px;
    
}


.div-info-produtos{
    display: flex;
    gap: 12px;
    width: 100%;

}


.div-price{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}



.nome-produto {
    margin-top: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

.descricao-produto {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Limita a 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preço-produto {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.btn-adicionar-carrinho {
    background-color: #000000;
    padding: 4px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;

}

.h2-titulo-carrinho {
    font-family: "Roboto", sans-serif;
}


/* modal retirada e entrega */

.background-retirada-entrega {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;
}

.modal-retirada-entrega {
    font-weight: bold;
    text-align: center;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 40%;
    padding: 20px;

    max-height: 550px; /* Altura máxima antes de ativar o scroll */
    overflow-y: auto;
    margin-left: 5px;
    margin-right: 5px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.h2-retirada-entrega {
    font-family: "Roboto", sans-serif;
}

.img-btn-entrega, .img-btn-retirada {
    width: 40px;
    height: 40px;
}

.btns-retirada-entrega {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
}


.btn-entrega {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 300;
    border-radius: 5px;
    border: none;
    background-color: #DDDDDD;

    
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    min-width: 100%;
    margin: 0 auto;

    margin-top: 30px;

    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
	display: inline-flex;


}

.btn-retirada {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 300;
    border-radius: 5px;
    border: none;
    background-color: #DDDDDD;
   
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    min-width: 100%;
    margin: 0 auto;

    margin-bottom: 40px;

    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
	display: inline-flex;
}

.btn-retornar-carrinho {
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #000000;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-proximo-endereco {
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #54CC0A;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-proximo {
    color: rgb(0, 0, 0);
    width: 15px;
    height: 15px;
}

.one-selecionado {
    border: 2px solid #54CC0A;
}






/* Bebidas */

.conteudo-bebidas{
    display: grid;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
    grid-template-columns: repeat(1fr);
    gap: 45px;
    max-width: 1280px;

}


/*Descrição dos produtos geral*/

.desc-comidas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;

}

.desc-bebidas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 60%;
}

/* Modal carrinho */

.background-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: none; /* será alterado para flex no JS */
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-carrinho {
    font-weight: bold;
    text-align: center;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 40%;
    padding: 20px;

    max-height: 550px; /* Altura máxima antes de ativar o scroll */
    overflow-y: auto;
    margin-left: 5px;
    margin-right: 5px;
    
}




.info-total {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    
}

.preco-total {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;


}

.taxa-entrega {
    display: flex;
    justify-content: space-between;
}

.total-pagar {
    display: flex;
    justify-content: space-between;
}

/* view Carrinho */

.view-carrinho {
    position: fixed;
    bottom: 0;
    right: 0;
    margin-right: 10px;
    margin-bottom: 20px;
    height: 50px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    
}


/* Modal de endereco*/
.modal-endereco {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;

}

.modal-form02{

    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;
  
  }

.conteudo-endereco {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 50%;
    padding: 20px;
    text-align: left;
    margin-bottom: 50px;
    margin-left: 15px;
    margin-right: 15px;


}


.h2-form {
    text-align: center;
    margin-bottom: 50px;
}



.formulario {
    font-size: 13px;
    display: flex;
    gap: 12px;
    flex-direction: column;
    margin-top: 25px;
    margin-left: 25px;
    margin-bottom: 35px;
    
}


.input {
    width: 90%;
    padding: 5px;
    border-radius: 5px;
    border: 1px;
    border-style: solid;
}

.carrinho-itens {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-direction: column;

}


.btn-carrinho {
    color: rgb(255, 255, 255);
    background-color: #000000;
    font-size: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 100px;
    cursor: pointer;

}


.btns-inicio-carrinho {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-direction: row;
    padding: 10px;
    cursor: pointer;

}

.btn-pedirmais {
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #000000;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;

    font-family: "Roboto", sans-serif
    
}

.btn-continuar{
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #54CC0A;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;

    font-family: "Roboto", sans-serif

}



.btn-retornar {
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #000000;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;

    font-family: "Roboto", sans-serif

}

.btn-pagamento {
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #54CC0A;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;

    font-family: "Roboto", sans-serif

}

/* Modal observação */

.background-observacao {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;

}
.campo-observacao {
    margin-left: 15px;
    margin-right: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 30%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;

}

.observacao {
    width: 100%;
    height: 100px;
    resize: none;
    text-align: start;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.btn-observacao {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}

.btn-obs-voltar {
    width: 50%;
    height: 30px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #FF3131;
    cursor: pointer;
}

.btn-obs-confirma {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 50%;
    height: 30px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #54CC0A;
    cursor: pointer;
}

#erro-cep {
    font-size: 10px;
    color: #FF3131;
    display: none;
}

/* Modal Pagamento*/

.background-pagamento {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;
}

.conteudo-pagamento{
    margin-left: 15px;
    margin-right: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    align-items: center;

}

.conteudo-precopagar{
    width: 90%;
    display: flex;
    gap: 15px;
    flex-direction: column;
    text-align: left;
    margin-top: 15px;

}


.info-precopagar{
    display: flex;
    justify-content: space-between;


}


.forma-pagamento{
    width: 90%;
    display: flex;
    gap: 15px;
    flex-direction: row;
    justify-content: center;
}

.btn-cartao {
    background-color: #DDDDDD;
    color: white;
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    padding: 7px;
    width: 50%;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
}

.btn-cartao:hover {
    background-color: #000000;
    color: white;
}

.btn-pix {
    background-color: #DDDDDD;
    color: white;
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    padding: 7px;
    width: 50%;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
}

.btn-pix:hover {
    background-color: #000000;
    color: white;
}

.selecionado {
    background-color: #000000;
    color: white;
}



.logopix {
    width: 40px;
    height: 40px;
}

.logocartao{
    width: 40px;
    height: 40px;
}

.div-opcartao-opdinheiro{
    display: none;
    gap: 15px;
    justify-content: space-between;
    flex-direction: row;
    padding: 10px;
    cursor: pointer;
    width: 90%;

}

.btn-opdinheiro{
    background-color: #8d8d8d;
    color: white;
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    padding: 7px;
    width: 50%;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: none;

}

.btn-opdinheiro:hover {
    background-color: #000000;
    color: white;
}

.btn-opcartao {
    background-color: #8d8d8d;
    color: white;
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    padding: 7px;
    width: 50%;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: none;

}

.btn-opcartao:hover {
    background-color: #000000;
    color: white;
}

.div-radio {
    width: 90%;
    display: none;
    gap: 25px;
    flex-direction: row;
    justify-content: center;

    
}

.campo-troco {
    width: 40%;
    display: none;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
    
}

.input-troco {
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    text-align: left;

}

.radio-debito-credito {
    width: 90%;
    display: none;
    gap: 25px;
    flex-direction: column;
    justify-content: center;
}

.op-debito-credito{
    display: flex;
    justify-content: center;
    gap: 25px;
}



.btns-voltar-finalizar {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-direction: row;
    padding: 10px;
    cursor: pointer;
    width: 90%;
    margin-top: 30px;
    

}

.img-voltar {
    width: 15px;
    height: 15px;
}

.btn-voltar-endereco {
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #000000;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
   

}

.btn-voltar-pagamento {
    display: none;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #000000;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}


.btn-enviar-pedido {
    display: inline-flex;
    flex-direction: row;
    gap: 3px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    height: 30px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #54CC0A;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-confirme {
    width: 15px;
    height: 15px;
}

.menu-nav {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    white-space: nowrap;
    justify-content: center; /* no mobile alinha à esquerda */
    overflow-x: auto; /* permite rolagem horizontal */
    -webkit-overflow-scrolling: touch; /* rolagem suave no iOS */
    scrollbar-width: none; /* esconde a barra no Firefox */
}


/* remove barra de rolagem no Chrome */
.menu-nav::-webkit-scrollbar {
    display: none;
}

.menu-nav button {
    flex: 0 0 auto;
    background-color: #888;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    white-space: nowrap;
}

/* espaço antes do primeiro botão */
.menu-nav button:first-child {
    margin-left: 0.5rem;
}

/* espaço depois do último botão */
.menu-nav button:last-child {
    margin-right: 0.5rem;
}




.nav-btn:hover {
    background-color: #000000;
}

/* Ajuste para a exibição dinâmica das categorias */
.categoria-titulo {
    text-align: center;
    font-size: 24px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    margin-top: 20px;
    color: #000000;
    margin-bottom: 50px;
}

.conteudo-categoria {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 25px;
    justify-items: center; /* Centraliza os itens dentro das colunas */
    align-items: center; /* Centraliza os itens verticalmente */
    padding: 10px;
    max-width: 100%;
    margin-left: 13px;
    margin-bottom: 80px;
}

.paragrafo-footer {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    
}

.footer {
    position: relative;   /* mantém fixo mesmo rolando a página */
    bottom: 0;         /* encosta no final da tela */
    left: 0;        
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 200px;
    padding-top: 30px;
    margin-top: 90px;
    background-color: #ECECEC;
    color: #000000;
    z-index: 1000;
}

.logoGF {
    width: 250px;
    height: 60px;
    margin-bottom: 35px;
}


/* ADICIONADO PARA TRATAR FECHADO OU ABERTO */

#box-horario {
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 8px;
    color: white;
}

#box-horario.aberto {
    margin-top: 15px;
    background-color: #28a745; /* verde */
}

#box-horario.fechado {
    background-color: #dc3545; /* vermelho */
}

#icone-horario {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
    animation: pulse 1.5s infinite;
}

#horario-funcionamento,
#status-funcionamento {
    display: block;
    font-weight: bold;
    font-size: 14px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ADICIONANDO PARA LAYOUT DO MODAL DOS HORARIO*/

#modal-horarios.background-modal {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-horarios {
    background: #fff;
    padding: 30px 20px 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    font-family: "Roboto", sans-serif;
    text-align: center;
    color: #333;
}

.titulo-modal {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.lista-horarios {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.lista-horarios li {
    margin-bottom: 8px;
    font-size: 15px;
}

.btn-fechar-modal {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-fechar-modal:hover {
    background-color: #555;
}

.fechar-x {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

/* adiconado para evento de click dos itens*/

.div-img-menu {
    flex: 0 0 auto;
    height: 100%;
    padding: 5px;
}

.item-card {
    position: relative;
    padding-left: 20px; /* espaço para a barra */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #ddd;
    align-items: stretch; /* Garante que todos os filhos tenham a mesma altura */
    border-radius: 10px;
    overflow: hidden; /* Garante que nada ultrapasse os limites arredondados */
}

.item-card:hover {
    background-color: #f7f7f7;
    transform: scale(1.01);
}

.img-itens {
    display: block;
    height: 100px;         /* estica a imagem verticalmente */
    width: 100px;
    object-fit: cover;
    border-radius: 5px;

}

.item-card .desc-comidas {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.item-card .nome-produto {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
}

.item-card .descricao-produto {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

.item-card .preço-produto {
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 10px;
}

/* Adicionado para manipular itens indisponiveis*/

.overlay-indisponivel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: red;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}


.chave-pix {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    display: none;
}

.text-pix {
    color: #000000;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.paragrafo-pix{
    color: #dc3545;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
}

.paragrafo-pix-2{
    color: #000000;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

#input-pix {
    border-radius: 5px;
    width: 50%;
    height: 25px;
    text-align: center;
    align-items: center;
}

.btn-copiar-pix{
    color: white;
    background-color: #54CC0A;
    border-radius: 5px;
    width: 50%;
    height: 25px;
    cursor: pointer;
    border: none;

}

/* Escondendo o input CEP do form*/
.input-cep {
    display: none;
}

.whatsapp-btn {
    width: 15px;
    height: 15px;
}

.background-confirm {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;
    
}

.modal-confirm {
    position: relative;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 40%;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    
   
}

.btn-closeConfirm {
    width: 35px;
    height: 35px;
    padding: 2px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
}

.conteudo-pedido-confirm {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 35px;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(228, 228, 228);

}

.img-confirm {
    width: 60px;
    height: 60px;
}

.titulo-confirm {
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;

}

.subTitulo-confirm {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 300;
}

.section-entrega {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(228, 228, 228);
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 300;

}

.section-total {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    margin-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(228, 228, 228);
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;

}

.payment-details {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
    padding-bottom: 10px;
    font-family: "Roboto", sans-serif;

}

.p-payment {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 300;
}

.div-btn-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    
}

.btn-whatsapp-enviar {
    min-width: 90%;
    height: 40px;
    padding: 5px;
    display: inline-flex;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    background-color: #54CC0A;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#troco-Text, #troco-confirm {
    display: none;
}





/* @Media Responsividade */



/* Maior que */
@media (min-width: 768px) {

    
    .conteudo-categoria{
        grid-template-columns: repeat(2, 1fr);
        max-width: 80%;
        margin: 0 auto;
        margin-bottom: 80px;

    }

    .ui-callout {
        max-width: 350px; 
        font-size: 10px;
    }
    
    .msgmenu {
        font-size: 2rem;
    }

    .menu-nav {
        justify-content: center;
    }
    .menu-nav button:first-child {
        margin-left: 0;
    }
    .menu-nav button:last-child {
        margin-right: 0;
    }


}



/* ATÉ */
@media (max-width: 768px) {

    .menu-nav.scrollable {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .box-cabecalho {
        flex-direction: column;
    }

    .contato-header {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .desc-comidas {
        font-size: 14px;
    }

    .btn-adicionar-carrinho{
        font-size: 15px;
    }

    .Tituloprincipal {
        font-size: 1rem;
    }
    
    .endereco {
        font-size: 1rem; 

    }
    
    .campo-observacao{
        width: 80%;
    }

    .carrinho-itens {
        font-size: 15px;
    
    }
    
    .conteudo-endereco > h2 {
        font-size: 1rem;

    }

    .conteudo-endereco {
        min-width: 80%;
    }

    .formulario {
        margin: auto;
        align-items: center;
        text-align: left;
        gap: 10px;
        font-size: 11px;
        min-width: 70%;
        margin-bottom: 15px;
    }


    
    .h2-form {
        margin-bottom: 30px;
    }

    .h3-pagamento {
        font-size: 1rem;
    }

    .conteudo-pagamento {
        min-width: 80%;
    }

    .conteudo-precopagar {
        font-size: 12px;
    }

    .btn-cartao, .btn-pix {
        font-size: 10px;
    }
    
    .logopix, .logocartao {
        width: 30px;
        height: 30px;
    }

    .op-debito-credito, .div-radio {
        font-size: 12px;
    }

    .titulo-pag {
        font-size: 14px;
    }

    .campo-troco {
        width: 60%;
        font-size: 14px;
    }

    .footer {
        width: 100%;
        height: 120px;
    }

    .paragrafo-footer {
        font-size: 12px;
    }

    .logoGF {
        width: 160px;
        height: 40px;
        
    }

    .section-entrega {
        font-size: 13px;
    }

    .subTitulo-confirm {
        font-size: 13px;
    }

    .paragrafo-pix {
        font-size: 11px;
    }

    .modal-retirada-entrega {
        min-width: 90%;
    }
    
}

/* 	ADICIONANDO PARA DESTACAR ITEM MAIS PEDIDO */

.mais-vendido {
  border: 2px solid #f1c40f !important;
  position: relative;
  
}

.badge-destaque {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #f1c40f;
  color: #000;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 8px;
}


@keyframes pulse {
    50% {
      transform: scale(1.1);
    }
  
    70% {
      box-shadow: 0 0 0 8px rgba(241, 196, 15, 0);
    }
  
    100% {
      box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
    }
  }
  


/* Garantir rolagem suave e prevenir travamentos no mobile */

/* Corrigir sobreposição e garantir ocultação limpa */
.background-modal,
.modal-endereco,
.background-pagamento,
.background-confirm,
.background-observacao {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  transition: opacity 0.3s ease;
}

/* Desativa qualquer rolagem extra forçada em elementos fixos */



.background-modal.ativo,
.background-modal[style*="display: flex"] {
    display: flex !important;
}


.modal-endereco.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}


.background-pagamento.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}


.background-confirm.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}


.background-observacao.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}

.info-contato-geral {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-family: "Roboto", sans-serif;
    color: white;
    text-align: center;
}

.info-item {
  margin: 15px 0;
  font-size: 15px;
  color: #222; /* <- garante visibilidade */
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-item a {
  color: #222; /* <- link mais escuro por padrão */
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  color: #54CC0A; /* <- cor de destaque ao passar o mouse */
}

.icon-info {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.info-resumo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ffffffd8;
    border-radius: 10px;
    font-family: "Roboto", sans-serif;
    color: #000;
    text-align: center;
}

.info-bloco {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    min-width: 80px;
}

.info-bloco i {
    font-size: 22px;
    margin-bottom: 5px;
    color: #54CC0A; /* Verde padrão */
}

.saber-mais {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.saber-mais:hover {
    text-decoration: underline;
    color: #54CC0A;
}

.aberto {
    color: #28a745;
    font-weight: bold;
}

.fechado {
    color: #dc3545;
    font-weight: bold;
}

.btn-toggle {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-toggle:hover {
    background-color: #f0f0f0;
}

.dias-funcionamento {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffffee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    animation: fadein 0.3s ease-in-out;
}

.dias-funcionamento div {
    margin: 2px 0;
}

.btn-modal {
    background: none;
    border: none;
    font-size: 18px;
    color: #54CC0A;
    cursor: pointer;
    margin-top: 5px;
    transition: transform 0.2s ease;
}

.btn-modal:hover {
    transform: scale(1.2);
}

/* Modal de dias de funcionamento */
.modal-func {
    display: none;
    position: absolute;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content-func {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: fadein 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: "Roboto", sans-serif;
}

.modal-content-func h3 {
    margin-top: 20px;
    color: #333;
}

.dias-lista {
    margin-top: 15px;
    text-align: left;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.dias-lista div {
    margin-bottom: 6px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    
}


.close-modal:hover {
    color: #333;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.info-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.info-card {
    font-family: "Roboto", sans-serif;
    
    flex: 1 1 150px;             /* Flexível, mínimo 150px */
    max-width: 70px;            /* Limita o tamanho máximo */
    min-width: 70px;            /* Impede que fique estreito demais */
    height: 70px;
    
    background-color: #fff;
    border-radius: 10px;

    transition: transform 0.2s ease;
    
    
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin: 0 5px;

    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    cursor: pointer;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 20px;
    
}

.info-titulo {
    font-weight: bold;
    font-size: 10px;
    color: #333;
    white-space: nowrap;
    
}

.info-desc,
.info-link {
    white-space: nowrap;
    font-size: 12px;
    color: #666;
}

.info-endereco {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.info-endereco a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

.info-endereco a:hover {
    color: #54CC0A;
}


.titulodiv {
    font-size: 15px;
    font-family: "roboto", sans-serif;
    color: white;
    
}


.painel-endereco {
    visibility: hidden;
    background:  black;
    padding: 10px 18px;
    border-radius: 8px;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    display: inline-block;
    font-size: 15px;
    font-family: "Roboto", sans-serif ;
    color: #333;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    z-index: 2;
}

.painel-endereco a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/*.painel-endereco:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.painel-endereco:hover {
    color: #fdfdfd;
    background-color: black;
} */

/* Painel geral responsivo */
.painel-loja {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 12px;
    margin: 0 auto 20px auto;
    max-width: 950px;
    text-align: center;
    width: 95%;
}

/* Cards responsivos com grid */
.painel-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

}

@media (max-width: 550px) {
    .painel-cards {
        gap: 15px;

    }

    .info-card {
        max-width: 50px;            /* Limita o tamanho máximo */
        min-width: 50px;            /* Impede que fique estreito demais */
        height: 50px;
    }

    .info-icon {
        font-size: 15px;
    }

    .delivery-icon {
        width: 5px;
        height: 5px;
    }
    
    .info-titulo {
        font-size: 8px;
        
    }
}


/* Título e endereço */
.painel-titulo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.painel-endereco {
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    font-size: 15px;
    color: #333;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    max-width: 100%;
    word-break: break-word;
}





.painel-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #222;
}

.painel-info {
    font-size: 13px;
    color: #666;
}

.btn-modal {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #54CC0A;
}

/* Responsividade extra para tela menor que 400px */
@media (max-width: 400px) {
    .painel-titulo {
        font-size: 18px;
    }
    .painel-endereco {
        font-size: 13px;
        padding: 8px 12px;
    }
    .painel-icon {
        font-size: 22px;
    }
}



.modal-content-func {
  background-color: #fff;
  color: #222; /* <- cor do texto */
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  width: 90%;
  max-width: 420px;
}

.observacao-painel {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 10px;
    font-weight: bold;
}

.painel-observacao {
    background-color: #FF3F33;
    color: #ffffff;
    padding: 6px 10px;
    margin-top: 6px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* atualiza cor card e divisor */
.item-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background-color: var(--cor-barrinha, #54CC0A);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.divisor-categoria {
    height: 4px;
    border-radius: 4px;
    margin: 10px auto 30px;
    width: calc(100% - 40px);
    max-width: 950px;
}


/* --- CUPOM DESCONTO --- */

.cupom-desconto-bloco {
    margin-top: 20px;
    text-align: center;
}

.titulo-cupom {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}


.input-cupom-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#cupom-desconto {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

#cupom-desconto:focus {
  outline: none;
  border-color: #54CC0A;
  box-shadow: 0 0 0 2px rgba(84, 204, 10, 0.2);
}

#btn-aplicar-cupom {
    padding: 10px 16px;
    background-color: #28a745;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

#btn-aplicar-cupom:hover,
.input-cupom-wrapper button:hover {
  background-color: #3fa500;
}

.msg-cupom {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.msg-cupom.erro-cupom {
  color: #dc3545;
}

.msg-cupom.sucesso-cupom {
  color: #2e7d32;
}

/* --- FIM CUPOM --- */


/* 💸 Estilização do bloco de desconto */
.linha-pagamento.desconto {
    display: flex;
    justify-content: space-between;
    color: #c82333; /* tom vermelho elegante */
    font-weight: bold;
    font-size: 1rem;
}

.linha-pagamento.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 10px;
}

.linha-pagamento.desconto span {
    animation: pulseDesconto 1.8s infinite;
}

@keyframes pulseDesconto {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

/* Modal geral */
.modal-escolha-endereco {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    box-sizing: border-box;
}

/* Conteúdo centralizado do modal */
.modal-content-endereco {
    font-family: "Roboto", sans-serif;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 50%;
    padding: 20px;
    text-align: left;
    margin-bottom: 50px;
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    gap: 25px;
    flex-direction: column;
    justify-content: center;
    text-align: center;

}

/* Título do modal */
.modal-content-endereco h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
}

/* Subtítulo */
.modal-content-endereco p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Container dos cards */
#lista-endereco-encontrado {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* Card individual */
.card-endereco {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.card-endereco:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    background-color: #fffde7;
}

.card-endereco strong {
    font-size: 1rem;
    color: #222;
}

.card-endereco p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    word-wrap: break-word;
}

.card-endereco.selecionado {
    border: 2px solid #54CC0A;
    background-color: #f4fff0;
}

/* Botão novo endereço */
.botoes-escolha-endereco {
    margin-top: 24px;
}


.botoes-escolha-endereco button {
    background-color: #111;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.botoes-escolha-endereco button:hover {
    background-color: #222;
}

#lista-endereco-encontrado {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}


#btn-novo-endereco {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 22px;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#btn-novo-endereco {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


#btn-novo-endereco:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .modal-content-endereco h3 {
        font-size: 1.3rem;
    }

    .modal-content-endereco p {
        font-size: 0.95rem;
    }

    .card-endereco {
        width: 100%;
        max-width: 300px;
    }

    #btn-novo-endereco {
        font-size: 1rem;
    }
}

.bloqueado {
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    filter: grayscale(0.3);
    transition: 0.3s ease;
}
.bloqueado * {
    opacity: 1 !important;  /* mantém inputs visíveis */
}


.bloco-categoria {
    margin: 1rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.opcao-label {
    display: block;
    margin: 0.4rem 0;
    font-size: 1rem;
}
.btn-fechar, .btn-confirmar {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    margin-right: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.btn-confirmar {
    background: #28a745;
    color: white;
}
.btn-fechar {
    background: #ccc;
}

#modal-item-personalizacao {
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

#conteudo-modal-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
    max-width: 500px;
}

.modal-item-conteudo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
}

/* Estilos do Modal Personalização GF Pedidos */
.background-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.background-modal.ativo {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.modal-item-conteudo {
    background-color: #fff;
    border-radius: 12px;
    max-width: 90%;
    width: 400px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
}

.modal-item-conteudo h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #333;
}

.modal-item-conteudo h3 {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #444;
}

.modal-item-conteudo label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #222;
}

.modal-item-conteudo input[type="radio"],
.modal-item-conteudo input[type="checkbox"] {
    margin-right: 8px;
}

.modal-item-conteudo textarea {
    width: 100%;
    height: 60px;
    margin-top: 12px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}


/* Botão de fechar no canto superior direito */


/* Rodapé do modal com total e botão */
.modal-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.divBtns {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.modal-total {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.modal-btn-add {
    background-color: #54CC0A;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;       /* Impede quebra de linha */
    overflow: hidden;          /* (opcional) Esconde overflow */
    text-overflow: ellipsis;   /* (opcional) Adiciona "..." se ultrapassar */
    width: 50%;           /* (ou defina largura adequada) */
}

.modal-btn-add:hover {
    background-color: #45a507;
}

.modal-btn-cancel {
    background-color: #FF3131;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;       /* Impede quebra de linha */
    overflow: hidden;          /* (opcional) Esconde overflow */
    text-overflow: ellipsis;   /* (opcional) Adiciona "..." se ultrapassar */
    width: 50%;           /* (ou defina largura adequada) */
}

.modal-btn-cancel:hover {
    background-color: #bbb;
}

.opcao-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Roboto, sans-serif;
}

/* Adicionando estilo para múltipla escolha (contador) */

.multiplas-contador {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.multiplas-contador .item-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.categoria-bloco {
    margin-bottom: 20px;
    padding: 10px;
    border-left: 4px solid #eee;
}

.multiplas-contador .item-linha .nome-produto {
  font-weight: bold;
  flex: 1;
}

.multiplas-contador .item-linha  {
  background-color: #54CC0A;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 10px;
}


.input-quantidade {
    width: 100%;
    padding: 3px;
    text-align: center;
}

.multiplas-contador .item-linha .contador-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.multiplas-contador .item-linha .contador-wrapper input {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px 4px;
}

.multiplas-contador .item-linha .contador-wrapper  {
  background-color: #54CC0A;
  color: white;
  border: none;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

/* Container da categoria */
.modal-categoria {
    margin-bottom: 1.5rem;
}

/* Título da categoria */
.modal-categoria h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Estilo para cada grupo de categoria */
.categoria-grupo {
    margin-bottom: 25px;
}

/* Título da categoria */
.categoria-grupo h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Regras abaixo do título */
.categoria-regras {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

/* Layout horizontal das opções */
.opcoes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Opção estilo botão para unica/multipla */
.opcao-btn {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    transition: all 0.2s ease;
}

.opcao-btn:hover {
    background-color: #e6e6e6;
}

.opcao-btn.selected {
    border-color: #54CC0A;
    background-color: #dfffe0;
}

/* Checkbox/radio escondido */
.opcao-btn input {
    display: none;
}

/* Layout contador */
.opcao-contador {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 160px;
    justify-content: space-between;
    gap: 10px;
}

.opcao-contador span {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
}

.contador-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contador-buttons button {
    padding: 2px 8px;
    background-color: #ccc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contador-buttons button:hover {
    background-color: #bbb;
}

.contador-quantidade {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

/* Caixinha de cada opção */
.opcao-item {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    min-width: 180px;
    justify-content: space-between;
}

* Input escondido, estilização manual */
.opcao-item input[type="checkbox"],
.opcao-item input[type="radio"] {
    margin-right: 10px;
}

/* Estilo para contador */

.bloco-opcao {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 6px;
}

.contador-container {
    display: flex;
    gap: 6px;
    margin-top: 5px;
}

.contador-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
   
}

.btn-contador-mais  {
    background-color: #54CC0A;
    padding: 3px;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 20px;
}

.btn-contador-menos {
    background-color: #FF3131;
    padding: px;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 20px;

}




.input-quantidade {
    padding: 3px;
    width: 35px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;

}


/* desativar o indicador do input number */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nomeDiv {
    width: 50%;
}


.opcao-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #f8f8f8;
}

.contador-mais,
.contador-menos {
    background: #54CC0A;
    border: none;
    padding: 6px 12px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.contador-btn {
    background-color: #54CC0A;
    color: white;
    border: none;
    border-radius: 5px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.contador-valor {
    font-size: 15px;
    width: 22px;
    text-align: center;
    font-weight: bold;
}

/* Botões do modal */
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}


.fixado-footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    gap: 10px;
}

#preco-fixado-total {
    font-size: 16px;
    margin-right: auto;
    align-self: center;
}

/*
.modal-item-conteudo  {
    display: block;
    width: 50%;
    padding: 10px;
    margin-top: 16px;
    background-color: #54CC0A;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-item-conteudo:hover {
    background-color: #45a507;
}
*/

/* Sobe apenas os cards do topo, sem afetar o restante */
:root {
  --cards-offset: -24px; /* ajuste aqui: valores negativos sobem, positivos descem */
}

.painel-cards {
  position: relative;
  transform: translateY(var(--cards-offset));
}

/* Opcional: em telas maiores, sobe um pouco mais */
@media (min-width: 992px) {
  :root { --cards-offset: -32px; }
}


