/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    /* Define Roboto como fonte padrão */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f9f9f9;
}

/* Estilos para telas maiores que 480px */
@media (min-width: 481px) {
    body {
        width: 70%;
        /* Define o tamanho do body */
        margin: 0 auto;
        /* Centraliza horizontalmente */
        /* background-color: lightblue; */
        /* Cor de fundo diferente para destacar */
    }
}

h1,
h2,
h3,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    /* Define a espessura da fonte */
}

p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    /* Estilo regular */
}

.top-image {
    /* background: red; */
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Imagem do topo */
.top-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-size: cover;
}

.logo img {
    width: 90px;
    height: 90px;
    /* background-color: #555; */
    position: absolute;
    top: 13%;
    margin-left: 20px;
    object-fit: cover;
    background-size: cover;
    border-radius: 10px;


}

#playButton {
    background: #007bff;
    border: none;
    padding: 10px;
    color: #f9f9f9;
    font-size: 16px;
    font-weight: bold;
}

/* style de audio */
#audio {
    position: absolute;
}

.area_desc {
    padding-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Sombra quase imperceptível */

}

.area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 1px;
}

.area_status {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: -10px;

}

.area_nome_status {
    flex-direction: row;
    padding: 0px 10px 0px 10px;
    justify-content: space-between;
    display: flex;


}

.nome_estab {
    font-size: 24px;
    font-weight: bold;
    padding-top: 15px;

}

.status_estab {
    font-size: 16px;
    /* color: rgb(57, 168, 6); */

    margin-left: 5px;
    font-weight: 400;
}



.area_tem_end {
    padding: 15px 10px 3px 10px;
    display: flex;
    gap: 10px;
    justify-content: space-between;

}

.area_desc_end_tem {
    padding: 0px 10px 3px 10px;
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.endereco {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;

}

.endereco h5 {
    font-size: 14px;
}

.endereco p {
    font-size: 14px;
}

.filter {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    justify-content: flex-start;
    overflow-x: scroll;
    /* Apenas rolagem horizontal */
    overflow-y: hidden;
    /* Sem rolagem vertical */
    white-space: nowrap;
    /* Garante que o conteúdo fique numa linha */
}

.filter::-webkit-scrollbar {
    width: 10px;
    /* Largura da barra */
}

.filter span {

    margin: 0px 10px 0px 0px;
    padding: 10px;


}

.spanAdiciona {
    margin-top: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    border: none;
    padding: 4px;
    gap: 3px;
    width: 60%;
    /* background-color: red; */



}

.spanAdiciona span {
    margin-top: -5px;
}






.nav-link {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #f1f1f1;
}

.nav-link.active {
    background-color: #106fd4;
    color: white;
}


/* Conteúdo Principal */
.content {
    flex: 1;
    padding: 20px;

}

.notf_cleinte {
    margin-top: -7px;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: #6e6e6e;
    font-weight: 600;
}

.content h1 {
    text-align: center;
    margin-bottom: 20px;
}

.menu-list {
    list-style: none;
    padding: 0;


}

#preco_promo {
    color: #d79e0f;
    font-size: 15px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);


}

.menu-item img {
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* max-width: 20%; */
    display: inline-block;
    text-align: center;
    position: relative;
    border-radius: 10px;

    width: 80px;
    height: 95px;
    object-fit: cover;
    /* overflow: hidden; Esconde o que ultrapassa o contêiner */



}

.area_img_control {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

/*todo:== style do controle de quantidade  */
.number-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-button {
    margin-top: 3px;
    /* height: 40px; */
    width: 20px;
    padding: 0px;
    font-size: 24px;
    font-weight: bold;
    background-color: transparent;
    color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;

}

.control-button:hover {
    background-color: transparent;
    color: #007bff;
}

.product-quantity {
    width: 32px;
    font-size: 18px;
    border: none;
    /* border: 1px solid #ccc; */
    /* border-radius: 5px; */
    padding: 0px;
    text-align: center;
    font-weight: bold;

}

/* todo: ============================== */


/*TODO:: STYLE PARA ABILITAR E DESABILITAR O SPAN DE ADICIONAIS */
.disabled {
    pointer-events: none;
    /* Desabilita clique */
    opacity: 0.5;
    /* Mostra visualmente que está desabilitado */
    cursor: not-allowed;
    /* Altera o cursor para indicar desabilitado */
}

.enabled {
    pointer-events: auto;
    /* Permite clique */
    opacity: 1;
    /* Torna visível */
    cursor: pointer;
    /* Cursor de clique */
}

/*TODO: ================================================================== */





/*todo:== style do controle de quantidade dos adicionais  */
.control-button-adicional {
    color: white;
    margin-top: 3px;
    width: 20px;
    padding: 1px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;

}


.product-quantity-ad {
    width: 32px;
    font-size: 18px;
    border: none;
    padding: 0px;
    text-align: center;
    font-weight: bold;

}

/* todo: ============================== */



.item-info {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}



.item-info p {
    width: 100%;
    max-width: 80%;
    word-wrap: break-word;
    /* Faz o texto quebrar quando for muito longo */
    white-space: normal;
    /* Permite que o texto ocupe várias linhas */

}


.menu-item .item-info {
    flex: 1;
    margin-right: 10px;
}

.menu-item h2 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.menu-item p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #777;
}

.menu-item span {
    font-weight: bold;
    color: #007bff;
}

.btn-pedido {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-pedido:hover {
    background-color: #0056b3;
}





/* Menu Inferior */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
    padding: 10px 0;
    z-index: 1000;
}

.menu-item-menu {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    color: #6e6e6e;
    text-decoration: none;
    gap: 2px;
}

.menu-item-menu span {
    font-size: 14px;
    font-weight: 600
}

.menu-item a {
    text-decoration: none;
    color: #555;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;


}

.menu-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.menu-item .icon-home::before {
    content: "🏠";
    /* Ícone de casa */
}

.menu-item .icon-cart::before {
    content: "🛒";
    /* Ícone de carrinho */
}

.menu-item:hover {
    color: #007bff;
}


/* //TODO:ESTILO DO BOTÃO DE FINALIZAR COMPRA */

/* Botão fixo */
#fixedButton {
    position: fixed;
    bottom: 0%;
    /* bottom: 10%; */
    left: 0;
    width: 100%;
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    z-index: 2000;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;


}

/*//TODO STYLE DO RELOAD */
/* Estilo do carregamento */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Fica na frente de tudo */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    /* Fundo */
    border-top: 5px solid #007bff;
    /* Cor da borda animada */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*TODO: STYLE PARA ABRIR IMAGEM */
#img-prod {
    cursor: pointer;
    transition: transform 0.3s;
}

#img-prod:hover {
    transform: scale(1.05);
}

/* Estilo do modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 70%;
    max-height: 70%;
    border: 2px solid #fff;
    border-radius: 10px;
}

.modal:target {
    display: flex;
    /* Mostra o modal quando acessado */
}

/* Botão "X" */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 5px 12px;
}

.close-btn:hover {
    background: rgba(255, 0, 0, 0.8);
}