* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;

    font-family: 'Lato', sans-serif;
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
    width: 8px; /* Largura da scrollbar */
    height: 8px; /* Altura da scrollbar horizontal */
    background-color: #1f2124;
}

::-webkit-scrollbar-thumb {
    background-color: #6c757d; /* Cor do "polegar" da scrollbar */
    border-radius: 4px; /* Bordas arredondadas */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #495057; /* Cor ao passar o mouse */
}

::-webkit-scrollbar-track {
    border-radius: 4px; /* Bordas arredondadas */
}

header{    
    background-size: cover; 
    background-position: center;
    z-index: 0;
    height: 250px;
}

.logo{
    border: #fff 4px solid;
}

.container{
    width: 100%;
}
    .container h1{
        color: #fff;
    }
        .container h1.fantasia{
            font-size: 1em;
            font-weight: 800;   
            padding: 5px;       
        }
    .container p{
        color: #fff;
    }
        .container p.localizacao{
            font-size: 1em; 
            padding: 10px;       
        }

    .container p{
        color: #fff;
    }
    .container span{
        color: #fff;
        font-size: 0.8em;
        padding: 10px;
    }



.add-cart{
    transition: all 0.3s ease-in-out;
}

.add-cart:hover{
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.card{
    transition: all 0.3s ease-in-out;
}

.card:hover{
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.bg_white{
    background: #fff;
    margin-top: 10px;
    padding-top: 0px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    float: right;
    border-radius: 30px;
}

#video{
    border-radius: 20px;
    border: 4px #000 solid;
    padding: 10px;
    background: #81ff9c;
}


/* Grid de 2 colunas iguais */
.grade {
  display: grid;
  grid-template-columns: 1fr 1fr; /* duas colunas iguais */
  gap: 5px;
  width: 100%;
  padding: 5px;
}

/* Estilo das colunas */
.coluna {
  background: #fff;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
    

    /* Responsividade: empilha em telas pequenas */
    @media (max-width: 720px) {
        .grade {
            grid-template-columns: 1fr; /* uma coluna só */
        }
    }


#bg_top{
    width: 100%;
    /* background-color: pink; */
    height: 35px;
}
    .bg_mesa{
        background-color: #000;
        color: #fff;
        font-size: 0.8em;
        width: 80px;
        padding: 2px;    
        border-radius: 15px;    
        margin-left: auto;
        margin-top: 30px;
    }

.bg_pedido{
    background-color: #fff;
    color: #000;
    width: 110px;
    padding: 5px;
    float: right;
    border-radius: 15px;
    margin-top: -30px;
    right: 0;
}
#bg_comanda{
    width: 100%;
    height: 25px;
}
    .bg_comanda{
        background-color: #fff;
        color: #000;
        font-size: 0.8em;
        width: 120px;
        padding: 2px;
        float: right;
        border-radius: 15px;    
        right: 0;
    }

.bg_categoria{
    background-color: #ddd;
    color: #000;
    font-size: 1.5em;
    width: 100%;
    padding: 2px;
    border-radius: 5px;
}

.bg_filtro{
    width: 100%;
    height: 30px;  
}
.bg_filtro label{
    font-size: 0.7em;
    padding-left: 10px;
}
.bg_filtro select{
    width: 150px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8f8;
    font-size: 15px;
    transition: 0.3s;
}
    .bg_filtro select:hover{
        border-color: #999;
    }
    .bg_filtro select:focus{
        border-color: #000;
        background-color: #fff;
    }


input[type="text"]{
    width: 300px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8f8;
    font-size: 15px;
    transition: 0.3s;
}
input[type="text"]:hover{
    border-color: #999;
}
input[type="text"]:focus{
    border-color: #000;
    background-color: #fff;
}

#instrucoes{
    width: 100%;
    padding: 20px;
}    
#instrucoes p{
    font-size: 0.8em;
    text-align: center;
}
#instrucoes h2{
    font-size: 1em;
}

#scanner {
    width: 100%;
    max-width: 400px;    
    border: 2px solid #333;
    margin: 0 auto;
}
#resultado {
    font-family: monospace;
    font-size: 1.2em;
    text-align: center;
}

.btn-primary{
    background-color: blue;
    color: #fff;
    font-size: 0.9em;
}
.btn-danger{
    background-color: red;
    color: #fff;
    font-size: 0.9em;
}


.texto_adicional{
    color: #000;
    font-size: 0.7em;
}