#modal-1{
    width: 70% !important;
    height: 80%;
}

#modal-1 .md-content{
    height: 100%;
}

#modal-1 .imagem{
    float: right;
    display: flex;
    max-width: 47%;
    max-height: 100%;
    overflow-x: hidden;
    height: 100%;
    justify-content: center;
}

#modal-1 .imagem img{
    height: 100%;
}

#modal-1 .dados{
    width: 51%;
    height: 100%;
    display: flex;
    align-content: space-between;
    justify-content: space-between;
    padding: 0;
}

#modal-1 .dados input[type=number]{
    text-align: center;
    width: 50px;
    font-size: 15px !important;
    margin: 0;
    height: fit-content;
    border-radius: 3px;
    border: 1px solid #333;
}

#modal-1 .dados .valores{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-top: 10px;
}

#modal-1 .dados .qtd{
    width: 28%;
    display: flex;
    justify-content: space-between;
}

#modal-1 .dados .qtd i{
    background: #333;
    color: white;
    padding: 5px;
    border-radius: 3px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-1 .dados .valores p{
    width: fit-content;
    font-size: 20px;
    font-weight: bold;
}

#modal-1 .dados .composicoes,
#modal-1 .dados .adicionais,
#modal-1 .dados .pontos{
    width: 100%;
    overflow-y: auto;
    margin-bottom: 7px;
    padding: 0 17px 0;
}

#modal-1 .dados .composicao,
#modal-1 .dados .adicional,
#modal-1 .dados .ponto{
    width: 100%;
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 3px 3px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-1 .dados .composicao div,
#modal-1 .dados .adicional div,
#modal-1 .dados .ponto div{
    min-width: 50%;
}

#modal-1 .dados .composicao p,
#modal-1 .dados .adicional p,
#modal-1 .dados .ponto p{
    font-weight: bold;
    font-size: 17px;
}

#modal-1 .dados .composicao i,
#modal-1 .dados .adicional i,
#modal-1 .dados .ponto i{
    font-size: 20px;
}

#modal-1 .composicoes input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    display: none;
}

#modal-1 .composicoes input[type="checkbox"]:checked + label::before {
    content: 'x';
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}

label {
    position: relative;
    display: flex;
    height: 16px;
    width: 16px;
    border: 2px solid #6c6c6c;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#modal-1 table input{
    height: 17px;
    width: 17px;
    border: 0.5px solid #333;
    border-radius: 3px;
    box-shadow: none;
    margin: 0;
    vertical-align: middle;
    color: #333;
}

#modal-1 .topo,
#modal-1 .detalhes{
    width: 100%;
}

#modal-1 .topo{
    min-height: 14vh;
}


#modal-1 .topo small{
    text-transform: uppercase;
}

#modal-1 .detalhes{
    height: 45vh;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    align-content: flex-start;
}

#modal-1 .topo small{
    font-size: 16px;
}

#modal-1 .detalhes .obs{
    width: 100%;
    padding: 17px 17px;
}

#modal-1 .detalhes .obs p{
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 15px;
}

#modal-1 .detalhes textarea{
    border-radius: 3px;
    padding: 5px;
    font-size: 16px;
    width: 100%;
    resize: none;
}

#modal-1 .total {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 13vh;
    align-content: space-between;
}

#modal-1 .total p{
    width: fit-content;
}

#modal-1 .total button{
    width: 100%;
    height: 45px;
}

#modal-1 i.fa.fa-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    background: #333333bd;
    padding: 0px 5px;
    font-size: 25px !important;
    border-radius: 3px;
}

/* MODAL - 2 */
#modal-2{
    height: 95%;
}

#modal-2 .md-content{
    max-height: 100%;
}

#modal-2 .topo_venda p{
    font-size: 20px;
}

#modal-2 .dados {
    width: 100%;
    max-height: 72%;
    overflow-y: auto;
    align-content: flex-start;
    height: 75%;
}

#modal-2 .produto{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    min-height: 100px;
}

#modal-2 .infos{
    width: 78%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#modal-2 .detalhes{
    width: 100%;
}

#modal-2 .nome{
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

#modal-2 .nome p {
    width: fit-content !important;
}

#modal-2 .adicionais div,
#modal-2 .pontos div {
    display: flex;
    justify-content: space-between;
}

#modal-2 .adicionais p,
#modal-2 .pontos p {
    width: fit-content !important;
}

#modal-2 .fa-trash{
    font-size: 15px;
    padding: 7px 0px;
}

#modal-2 .total{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-2 .img_prod{
    width: 90px;
    height: 100px;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    border-radius: 3px;
}

#modal-2 .img_prod img{
    height: 100%;
}

#modal-2 .qtd{
    width: 30%;
    display: flex;
    justify-content: space-between;
    height: 25px;
}

#modal-2 .qtd i{
    background: #333;
    color: white;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 3px;
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-2 .qtd input{
    width: 28%;
}

#modal-2 input[type=number]{
    text-align: center;
    width: 50px;
    font-size: 15px !important;
    border-radius: 3px;
    border: 1px solid #333;
    height: 100%;
}

#modal-2 .total p{
    width: fit-content;
    text-align: right;
    height: fit-content;
    font-size: 18px;
    font-weight: bold;
}

#modal-2 button{
    font-weight: bold;
    border-radius: 3px;
    padding: 7px;
}

#modal-2 .limpar{
    width: 30%;
    border: 1px solid #333;
    background: transparent;
    color: #333;
}

#modal-2 .finalizar{
    width: 69%;
    color: white;
}

#modal-2 .total_final{
    height: 10%;
}

#modal-2 .total_final input{
    border: none;
    background: transparent;
    color: #333;
}

#modal-2 .obs{
    margin-bottom: 10px;
}

#modal-2 hr{
    border-top: 1px solid #a0a0a0;
    margin: 13px 0;
}

#modal-2 .vazio{
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.col-1{
    width: 10%;
}

.col-2{
    width: 20%;
}

.col-3{
    width: 30%;
}

.col-5{
    width: 50%;
    text-align: left;
}

.col-6{
    width: 60%;
}

.col-7{
    width: 70%;
}

.col-9{
    width: 90%;
    text-align: left;
}

.col-10{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.vermais-guia .fa-close{
    font-size: 20px;
}

.qtde{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

#modal-1 .dados tr i {
    width: 25%;
}

#modal-1 .dados tr input[type="number"] {
    width: 45%;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* SCROLL BAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0); /* Transparente inicialmente */
    border-radius: 4px;
    transition: background-color 0.3s;
}

body.scrolling ::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.4); /* Aparece durante o scroll */
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

body.scrolling {
    scrollbar-color: rgba(100,100,100,0.4) transparent;
}
/* ---------------------------------------- */

.prods{
    z-index: 992 !important;
    position: relative !important;
    
}

@media only screen and (max-width: 480px){
    html, body{
        max-width: 100%;
        overflow-x: hidden;
    }

    .menu_foto {
        margin-top: -3em;
        margin-bottom: 15px;
    }

    .categoria p {
        font-size: 18px;
    }

    .item{
        max-width: 100%;
        min-width: 99.3%;
        height: 120px;
        padding: 17px 0;
        border: none;
        border-bottom: 1px solid #4444442e;
    }

    .item-texto {
        width: 65%;
    }

    .item p {
        font-size: 15px;
    }

    .item-img {
        max-width: 35%;
        height: 100px;
        border-radius: 3px;
    }

    .descricao {
        color: #595959;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 16px;
        white-space: pre-line;
        word-break: break-word !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 33px;
        padding-right: 9px;
    }

    .prods{
        z-index: 1000 !important;
        position: relative !important;
        
    }

    .vermais-guia{
        right: -100%;
        width: 100%;
    }

    .show {
        right: 0;
        z-index: 9999999;
    }

    #modal-1{
        width: 100% !important;
        height: 100%;
        z-index: 999999;
    } 

    #modal-1 .md-content{
        padding: 0;
        height: 100%;
    }

    #modal-1 .fa-angle-left {
        position: absolute;
        top: 13px;
        left: 19px;
        font-size: 23px;
        background: #ffffff;
        border-radius: 50%;
        padding: 10px;
        height: 35px;
        width: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 0px 4px 1px #3333336e;
        color: #d41717;
    }

    #modal-1 .imagem {
        max-width: 100%;
        max-height: 30%;
        width: 100%;
        overflow: hidden;
        align-items: center;
    }

    #modal-1 .imagem img{
        height: auto;
        width: 100%;
    }

    #modal-1 .dados {
        width: 100%;
        height: 81%;
        padding: 0px;
        overflow-y: auto;
    }

    #modal-1 .topo_venda p {
        font-size: 20px;
        width: 100%;
    }

    #modal-1 .dados .qtd {
        width: 33%;
    }

    #modal-1 .detalhes {
        height: 70%;
        overflow-y: visible;
    }

    #modal-1 .total {
        height: 18%;
        padding: 12px 17px 12px;
        box-sizing: border-box;
        overflow: hidden;
        box-shadow: -2px -8px 11px -9px #00000042;
    }

    #modal-1 .total input {
        height: 38%;
    }

    #modal-1 .total button {
        height: 50%;
        font-size: 18px;
    }

    #modal-1 .col-7 {
        width: 65%;
    }

    #modal-1 .col-2 {
        width: 25%;
    }

    #modal-1 .topo{
        padding: 8.5px 17px 8.5px;
        min-height: 107px;
        box-shadow: 0px 2px 7px #33333352;
        height: auto;
    }

    #modal-1 .dados .valores {
        margin-top: 5px;
    }


    #modal-2{
        width: 100% !important;
        height: 100%;
        z-index: 999999;
    }

    #modal-2 .img_prod {
        width: 20%;
    }

    #modal-2 .adicionais p,
    #modal-2 .pontos p,
    #modal-2 .composicoes p,
    #modal-2 .obs p{
        font-size: 16px;
    }

    #modal-2 .qtd {
        width: 42%;
        height: 30px;
    }

    #modal-2 .qtd i {
        width: 30px;
        font: 18px;
    }

    #modal-2 .limpar,
    #modal-2 .finalizar{
        height: 100%;
    }

    .md-show + body {
        overflow: hidden;
        height: 100%;
    }

    .fa-close {
        font-size: 4em !important;
    }

    .itens-menu-prod {
        width: fit-content;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 10px;
    }

    .navbar-nav>li>a {
        font-size: 18px;
    }

    .separador{
        display: none !important;
    }

    .info .fa-info-circle{
        font-size: 20px;
    }

    .texto_menu_foto .nome {
        font-weight: bold;
    }

}

@media only screen and (max-height: 548px) {
    #modal-1 .total input,
    #modal-1 .total p{
        font-size: 18px !important;
    }

    #modal-1 .total {
        height: auto;
        padding: 0 17px 17px;
    }

    #modal-1 .total input {
        height: 60%;
        -webkit-text-fill-color: #333;
        opacity: 1;
    }

    #modal-2 .total_final input {
        color: #333;
        -webkit-text-fill-color: #333;
        opacity: 1;
    }

    #modal-1 small {
        font-size: 13px;
    }

    #modal-1 .total button {
        height: 60%;
    }

    #modal-1 .dados tr input[type="number"] {
        width: 45%;
        color: #333;
        -webkit-text-fill-color: #333;
        opacity: 1;
    }
}



@media only screen and (min-width: 480px){
    #modal-1 .dados {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        width: 100%;
        height: 100%;
        align-items: flex-start;
    }

    #modal-1 .imagem {
        float: right;
        display: flex;
        width: 47%;
        max-height: 100%;
        overflow-x: hidden;
        height: 100%;
        justify-content: center;
    }

    #modal-1 .detalhes {
        height: 83%;
        overflow-y: hidden;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        width: 51%;
    }

    #modal-1 .detalhes .obs {
        width: 100%;
        padding: 17px 0;
    }
    
    #modal-1 .dados .composicoes, #modal-1 .dados .adicionais , #modal-1 .dados .pontos {
        width: 100%;
        overflow-y: auto;
        margin-bottom: 7px;
        padding: 0;
    }

    #modal-1 .total {
        width: 49%;
        display: flex;
        font-size: 20px;
        margin: 0;
        font-weight: bold;
        height: 15%;
        float: right;
        position: absolute;
        right: 20px;
        bottom: 20px;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
    }

    .dados_detalhes{
        overflow-y: auto;
        height: 77%;
        width: 100%;
    }
}

.loading{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 3px;
    width: 65%;
    padding: 25px;
    color: white;
    font-weight: bold;
}

.loading h2{
    height: fit-content;
    display: flex;
    align-items: center;
    color: #333;
    width: 100%;
    justify-content: center;
}

.loading img{
    height: 45px;
    margin-right: 20px;
}

.bounce-top {
	-webkit-animation: bounce-top 0.9s both;
	        animation: bounce-top 0.9s both;
}

.over-btn-cart{
    display: none !important;
}

.categoria .accordion i{
    font-size: 18px;
}