@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Protest+Riot&display=swapp');
/* fonte fantasia */
:root {

    /* cliente */
    --cliente-primaria: #540804;
    --cliente-primaria-2: #81171b;
    --cliente-primaria-3: #ad2e24;
    --cliente-secundaria: #ffd60a;
    --white: #e9ecef;
    --black: #353535;
    --fonte-fantasia: "Protest Riot", sans-serif;

}

/* INICIO - BODY */
body {
    background-color: var(--white);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-family: Ubuntu;
    text-decoration: none;
    min-height: 100vh;
}

/* INICIO - NAVBAR */
nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    height: 4rem;
    background-color: var(--cliente-primaria);
    flex-wrap: nowrap;
    padding: .5rem;
    gap: 1rem;
    box-shadow: 0px 4px 10px 1px var(--cliente-primaria);
    z-index: 1;
}


nav .logotipo {
    width: 3.9rem;
    height: 3.9rem;
    object-fit: cover;

}

nav .fantasia {
    font-size: 2rem;
    color: var(--cliente-secundaria);
    font-family: var(--fonte-fantasia);

}

nav .banner {
    max-height: 3.9rem;
}

/* FIM - NAVBAR */

/* INICIO - WRAPPER */
.wrapper {
    display: flex;
    min-height: calc(100vh - 10rem);

}

/* FIM - WRAPPER */

/* INICIO - CONTENT */
.content {
    width: 100%;
    padding: .5rem;
    /* transition: .4s all; */

}

/* FIM - CONTENT */
/* FIM - WRAPPER */


/*  INICIO FOOTER */
footer {
    display: flex;
    flex-direction: column;
    color: #cacdd2;
    font-size: 1rem;
}

footer .top {
    height: 4rem;
    background-color: var(--cliente-primaria);
    display: flex;
    flex-direction: column;
    align-items: center;

}

footer .top .sociais {
    display: flex;
    flex-direction: column;
    padding-top: .4em;
}

footer .top .sociais span {
    font-size: .8em;
}

footer .top .sociais ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    padding: 0;
}

footer .bottom {
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.901);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9em;

}

footer .bottom a {
    text-decoration: none;
    margin-left: .5em;
}

/*  FIM FOOTER */


/* FIM - BODY */

/* ========================================================================================================================== */


.titulo {
    display: flex;
    justify-content: center;
    font-size: 2em;
    color: var(--black);
    font-weight: 500;
}

.quadro {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 10px 1px var(--black);
    padding: .5em;
    margin-top: 1em;
    width: 100%;
}

.quadro_titulo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.3em;
    color: var(--black);
    font-weight: 500;
}

.quadro_conteudo {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
}

.quadro_subtitulo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1.1em;
    color: var(--black);
    font-weight: 500;
    margin-top: 1em;
}


.fechada {
    pointer-events: none;
}

.fechada .nao_fechada {
    pointer-events: all;
}



/* INICIO - INDEX */

.index .quadro_titulo{
    margin-top: 1em;
    margin-bottom: 2em;
}

.index .form-item label {
    padding-left: .5em;
}

.index button {
    margin-top: 1em;
}

/* FIM - INDEX */




/* INICIO - produto */

.produto {
    display: flex;
    justify-content: center;
}

.produto .quadro {
    width: fit-content;
    min-width: 23em;
}

.produto nav {
    position: sticky;
    top: 4.1em;
    height: auto;
}

.produto .nav.nav-pills {
    font-size: .8em;
}

.produto .nav.nav-pills .nav-item .nav-link{
    padding: .4rem;
    margin: .1em;
}

.produto .quadro_conteudo h6 {
    background-color: var(--cliente-primaria-3);
    color: var(--cliente-secundaria);
    padding: .2em;
    border-radius: .4em;
}

.produto .nav_itens p {
    border-bottom: 1px solid blue;
    line-height: .7em;
}
.produto .nav_itens p button {
    width: 100%;    
    display: block;    
    text-align: left;
    padding: 0;
    font-size: .9em;
}
.produto .nav_itens p button .topo {
    display: flex;
    justify-content: space-between;
}
.produto .nav_itens p button .botom {
    display: block;
    text-align: left;
    line-height: 1em;
}
.produto .nav_itens p button .botom .ingre{
    line-height: 1em;
    font-size: .7em;
    color: var(--cliente-primaria-2);

}

.produto .modal-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: .5em;
}

.produto .modal-item.valor {
    font-size: 1.2em;
}

.produto .modal-item.valor input {
    width: 6em;
    text-align: center;
    font-size: 1em;
    font-weight: bold;

}

.produto .modal-item.quantidade input {
    width: 3em;
    text-align: center;
    font-size: 1em;
}

.produto .modal-item.quantidade label {
    font-size: 1.2em;

}

.produto .modal-item.quantidade button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    font-size: 1.2em;
    padding: 0 .8em 0 .8em;
}

.produto .modal-item.ingrediente {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: start;
}

.produto .modal-item.ingrediente .ing-top {
    color: red;
    font-weight: bold;
    margin-bottom: .4em;
}

.produto .modal-item.ingrediente .adc-top {
    color: green;
    font-weight: bold;
    margin-bottom: .4em;
}

.produto .modal-item.ingrediente .form-check {
    font-size: .9em;
}

.produto .modal-item.ingrediente .form-check label span {
    color: blue;
}

.produto .modal-footer {
    justify-content: space-between;
}

.produto .modal-footer button:last-child {
    width: 10em;
}

/* FIM - produto */



/* INICIO - CARRINHO */
.carrinho .quadro {
    margin-top: 0;
}

.carrinho .quadro_conteudo {
    margin-top: 0;
}

.carrinho table {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 0;
}

.carrinho .produto_nome {
    width: 100%;
    font-weight: bold;
    text-align: left;
}

.carrinho td:nth-child(4) {
    text-align: right;
}

.carrinho td:nth-child(5) {
    text-align: right;
}

.carrinho .ing_obs {
    border-top: hidden;
    line-height: .4em;
    text-align: left;
    font-size: .8em;
}

.carrinho tr.ing_obs label {
    font-weight: bold;
}

.carrinho tr.ing_obs span {
    font-style: italic;
    margin-left: .5em;
}

.carrinho .total {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    margin-top: .5em;
}

.carrinho .total input {
    width: 8em;
    margin-left: .5em;
    text-align: right;
}

.carrinho .botoes {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    gap: .5em;
    align-items: center;
}

.carrinho .botoes button {
    width: 90%;
    margin-top: 1em;
}

.carrinho .botoes .modal-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2em;
}

.carrinho .botoes .modal-body .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.carrinho .botoes .modal-body .card button {
    display: flex;
    flex-direction: column;
    margin-top: .5em;
    padding: 0;
}

.carrinho .botoes .modal-body .card button .taxa {
    text-align: center;
    width: 100%;
    background-color: var(--cliente-secundaria);
    border-radius: .4em;
    line-height: 1.1em;
}

.carrinho .botoes .modal-body .card button .taxa span {
    font-weight: bold;
    color: var(--cliente-primaria);
}

.carrinho .botoes .modal-body .card-header {
    background-color: var(--cliente-primaria);
    color: var(--cliente-secundaria);
    height: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    width: 100%;
}

/* FIM - CARRINHO */

/* INICIO - RESUMO */

.resumo .quadro {
    margin-top: 0;
}

.resumo .quadro_conteudo {
    margin-top: 0;
}

.resumo table {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 0;
}

.resumo .produto_nome {
    width: 100%;
    font-weight: bold;
    text-align: left;
}

.resumo td:nth-child(4) {
    text-align: right;
}

.resumo td:nth-child(5) {
    text-align: right;
}

.resumo .ing_obs {
    border-top: hidden;
    line-height: .4em;
    text-align: left;
    font-size: .8em;
}

.resumo tr.ing_obs label {
    font-weight: bold;
}

.resumo tr.ing_obs span {
    font-style: italic;
    margin-left: .5em;
}

.resumo .total {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    margin-top: .5em;
}

.resumo .total input {
    width: 8em;
    margin-left: .5em;
    text-align: right;
}

.resumo .botoes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    gap: 1em;
}

.resumo .botoes a:first-child {
    width: 90%;
}

/* FIM - RESUMO */

/* INICIO - CLI_DADOS */

.cli_dados .quadro_conteudo form {
    display: flex;
    flex-direction: column;
}

.cli_dados label {
    margin: 0;
    margin-left: .5em;
}

.cli_dados h5 {
    margin-left: .5em;
}

.cli_dados .endereco {
    margin-top: 1em;
}

.cli_dados .endereco input {
    margin-bottom: .5em;
}

.cli_dados button {
    /* margin-top: .5em; */
    width: 80%;
    margin: .5em auto;
}


/* FIM -  CLI_DADOS */

/* INICIO - PAGAMENTO */

.pagamento .quadro_conteudo {
    display: flex;
    flex-direction: row;
    gap: .5em;
    flex-wrap: nowrap;
    justify-content: center;
}

.pagamento .card button {
    padding: 0;
}

.pagamento .modal.dinheiro .modal-body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 3em;
}


.pagamento .modal.dinheiro .modal-body button {
    width: 30%;
}

.pagamento .modal.troco .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.pagamento .modal.troco .modal-body input {
    width: 10em;
}

.pagamento .modal.pix .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagamento .modal.pix .modal-body label {
    font-weight: bold;
    font-size: 2em;
    margin-bottom: .5em;
}

.pagamento .modal.pix .modal-body span {
    font-size: 1.1em;
}
.pagamento .modal.pix .modal-body span:nth-child(3) {
    font-weight: bold;
}

.pagamento .modal.pix .modal-body button {
    margin-top: 1em;
}
/* FIM - PAGAMENTO */

/* INICIO - PEDIDOS */

.pedidos table {
    vertical-align: middle;
}

.pedidos table .acoes {
    width: 2em;
}

.pedidos table .acoes button {
    width: 5em;
    padding: .2em;
    margin-bottom: .2em;
}
.pedidos table .comprovante{
    text-align: center;
    border-top: hidden;
    line-height: 1px;
    font-size: .9em;
}
.pedidos table .comprovante span{
    color: blue;
}
.pedidos table .chave-pix span{
    margin-left: 1em;
    color: red;
}

.pedidos .ing_obs {
    border-top: hidden;
    line-height: .4em;
    text-align: left;
    font-size: .8em;
}

.pedidos .botoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.pedidos .botoes button {
    width: 80%;
    min-width: fit-content;
}

.pedidos .botoes a {
    width: 7em;
}

.pedidos .total {
    text-align: end;
    padding-right: .5em;
    margin-bottom: 1em;
}

.pedidos .total span {
    font-weight: bold;
    margin-left: 1em;
}

.pedidos .detalhes {
    display: flex;
    flex-direction: column;
}

.pedidos .detalhes label {
    font-weight: bold;
}

.pedidos .detalhes span {
    font-style: italic;
    margin-left: .5em;
}


/* FIM - PEDIDOS */


[id]{
    scroll-margin-top: 170px;
}