/* =====================================================================
   bs5-reboot-praca.css — diferenças que o Reboot do Bootstrap 5 trouxe e
   que o desenho da praça não quer.

   A praça foi migrada do Bootstrap 3.4.1 para o 5.3.3. Boa parte do visual
   é do CSS próprio (chefmio20/style.css), mas o Reboot do 5 mudou padrões
   de elementos crus — e isso aparece em toda tela de uma vez.

   Este arquivo entra no bundle praca2020 ANTES do style.css: ele só devolve
   o padrão anterior, e qualquer regra específica da praça continua vencendo.

   Ao encontrar outra diferença de Reboot, corrigir AQUI (e não espalhar
   pelas views), para o custo da migração ficar num lugar só.
   ===================================================================== */

/* Links: o BS5 passou a sublinhar por padrão (o 3 e o 4 usavam `none`).
   Como os cards de restaurante e de produto são <a> envolvendo o conteúdo
   inteiro, o texto todo apareceu sublinhado. Restaura o comportamento do
   Bootstrap 3, que é o que o desenho da praça pressupõe: sem sublinhado,
   sublinhando só no hover — e as telas que não querem nem isso já têm a
   sua própria regra (ex.: .a-lista-restaurante:hover). */
a {
    text-decoration: none;
}

    a:hover,
    a:focus {
        text-decoration: underline;
    }

/* Reset do anel de foco. A regra original vinha do tema Atlantis e hoje vive no
   atlantis-compat-praca.css — mas a HOME tem Layout = null e não carrega aquele
   arquivo, então lá o navegador voltava a desenhar o próprio anel (o retângulo
   branco em volta do nome do cliente no topo). Aqui, dentro do bundle praca2020,
   vale para TODA a praça, home inclusive, sem arrastar a tipografia do tema.
   Ver nota no compat: não acrescentar exceção de :focus-visible. */
:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

/* Fontes: carregadas via <link> nos layouts (o @import quebrava ao concatenar no bundle) */

label, a, span, small, strong, h1, h2, h3, h4, h5, h6, div, button, p, td, select {
    font-family: 'Ubuntu', sans-serif;
}

/* fontes */
.display-large-regular {
    font-size: 57px;
    font-style: normal;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: -0.142px;
}

.display-medium-regular {
    font-size: 45px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px;
}

.display-small-regular {
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 44px;
}

.headline-large-regular {
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}

.headline-medium-regular {
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.headline-small-regular {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.title-large-regular {
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.title-medium-medium {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.024px;
}

.title-small-medium {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.014px;
}

.label-large-medium {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.014px;
}

.label-medium-medium {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.06px;
}

.label-small-medium {
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.055px;
}

.body-large-regular {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.08px;
}

.body-medium-regular {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.035px;
}

.body-small-regular {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

/* End Fontes */

body {
    margin: 0px !important;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.div-head-chefmio {
    display: flex;
    justify-content: center;
    padding: 15px;
    gap: 20px;
}

.div-head-chefmio-mob {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

/* Links do topo vermelho: branco. O :not(.dropdown-item) exclui os itens do menu
   do cliente — eles ficam DENTRO deste bloco, mas sobre o fundo BRANCO do
   dropdown, e herdavam o branco daqui (texto invisível, menu parecendo vazio).
   O display:flex em coluna também os desalinhava. */
.div-head-chefmio a:not(.dropdown-item) {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*=====================================================================
  Menu do cliente no topo (#dropdownLoginTopo)
  Acabamento próprio em vez do padrão cru do Bootstrap 5: a HOME não
  carrega o compat do tema (tem Layout = null), então lá o menu saía com
  fonte 16px e cantos de 8px, destoando do resto do site. Escopado no id,
  vale igual na home e nas telas com layout.
=====================================================================*/
#dropdownLoginTopo {
    border: 0;
    border-radius: 12px;
    padding: 6px;
    margin-top: 6px;
    min-width: 210px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

    #dropdownLoginTopo .dropdown-item {
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 15px;
        color: #455A64;
    }

        #dropdownLoginTopo .dropdown-item:hover,
        #dropdownLoginTopo .dropdown-item:focus {
            background: #F0F2F4;
            color: #1F2021;
            text-decoration: none;
        }

    /* "Sair" separado dos atalhos de conta, como no modal de perfil */
    #dropdownLoginTopo li:last-child {
        border-top: 1px solid #F0F2F4;
        margin-top: 6px;
        padding-top: 6px;
    }

        #dropdownLoginTopo li:last-child .dropdown-item {
            color: #CC161C;
        }

/* Nome + foto do cliente: sem o padding herdado de .text-login-chefmio, que
   descolava o alvo do clique da caixa do menu */
#LoginTopo > .dropdown-toggle {
    padding: 3px 8px;
    border-radius: 8px;
}

    #LoginTopo > .dropdown-toggle::after {
        align-self: center;
        margin-left: 8px;
    }

@media(max-width: 907px) {
    .d-mobile-none {
        display: none;
    }

    .text-titulo-app-chefmio {
        text-align: center;
    }
}

@media(min-width: 910px) {
    .d-desk-none {
        display: none;
    }

    .text-titulo-app-chefmio {
        max-width: 400px;
    }
}

.btn-menu-chefmio {
    background: unset;
    color: #ffff;
    border: none;
}

.div-body-chefmio {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/ContentPraca/img/home-chefmio.jpg);
    width: 100%;
    height: 70vh;
}

    .div-body-chefmio .flex-div {
        padding: 32px 0;
        display: flex;
        justify-content: center;
    }

.div-endereco-chefmio {
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 600px;
}

.flex-endereco-chefmio {
    gap: 16px;
    display: flex;
    flex-direction: column;
}

.input-cep-chefmio {
    padding: 12px 0px 12px 16px;
    border-radius: 4px;
    color: var(--neutral-500, #96999E);
    border: transparent;
}

.div-text-cep-chefmio span {
    color: var(--black-white-white, var(--White, #FFF));
    text-align: center;
}

.btn-pesquisar-cep-chefmio {
    border-radius: 40px;
    background: var(--main-600, #CC161C);
    height: 52px;
    padding: 10px 6px 10px 8px;
    color: #FFF;
    border: none;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.gap-2 {
    gap: 2px;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-17 {
    gap: 17px;
}

.gap-24 {
    gap: 24px;
}

.mb-0 {
    margin-bottom: 0px;
}

.link-buscarEndereco-chefmio, .link-buscarEndereco-chefmio:hover, .link-buscarEndereco-chefmio:focus {
    color: #FFF !important;
    padding: 8px;
    text-decoration: none;
}

.btn-categoria-chefmio {
    border-radius: 40px;
    border: 1px solid var(--neutral-300, #D7DCE0);
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(4px);
    color: #FFF;
    padding: 4px 14px;
}

.div-app-chefmio {
    padding: 36px 20px;
    background: var(--neutral-100, #F0F3F5);
}

.btn-app-store-chefmio, .btn-app-store-chefmio:hover, .btn-app-store-chefmio:focus {
    border-radius: 8px;
    border: 1px solid var(--neutral-300, #D7DCE0);
    background: var(--Black, #000);
    padding: 6px 20px;
    text-decoration: none;
}

.text-titulo-app-chefmio span {
    color: var(--neutral-900, #1F2021);
    font-feature-settings: 'ss02' on;
    font-family: Ubuntu;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
}

.text-titulo-app-chefmio small {
    color: var(--neutral-900, #1F2021);
    font-feature-settings: 'ss02' on;
    font-family: Ubuntu;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.text-btn-app-store {
    color: var(--White, #FFF);
}

    .text-btn-app-store p {
        margin-bottom: 0px;
    }

    .text-btn-app-store span {
        font-feature-settings: 'ss02' on;
        font-family: Ubuntu;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%; /* 21.6px */
        letter-spacing: 0.027px;
    }

.flex-btn-app-store-chefmio {
    display: flex;
    justify-content: center;
    gap: 17px;
}

@media (max-width: 430px) {
    .flex-btn-app-store-chefmio {
        display: flex;
        flex-direction: column;
        gap: 17px;
        align-items: center;
    }

    .btn-app-store-chefmio {
        width: 178px;
    }
}

.div-footer-chefmio {
    background: var(--neutral-900, #1F2021);
    padding: 35px 20px;
}

.flex-footer-chefmio {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.txt-footer-chefmio {
    color: #FFF;
}

.icon-redeSocial-chefmio {
    display: flex;
    gap: 8px;
}

    .icon-redeSocial-chefmio i {
        font-size: 21px;
        color: #FFFFFF;
    }

.text-empresa-footer-chefmio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .text-empresa-footer-chefmio span {
        color: #fff;
    }

    .text-empresa-footer-chefmio a, text-empresa-footer-chefmio a:hover, text-empresa-footer-chefmio a:focus {
        color: var(--neutral-200, #E7EAEE);
        text-decoration: none;
    }

.text-chefmio-footer-chefmio {
    max-width: 350px;
}

@media (max-width: 470px) {
    .d-mobile-footer-none {
        display: none;
    }
}

@media (min-width: 471px) {
    .d-desk-footer-none {
        display: none;
    }
}

.div-modal-header {
    display: flex;
    justify-content: space-between;
    padding: 8px;
}

.modal-endereco-chefmio {
    border-radius: 12px;
}

.div-content-modal-endereco {
    padding: 8px 16px 24px 16px;
}

.btn-padrao-endereco {
    padding: 10px 6px 10px 8px;
    border-radius: 40px;
    background: var(--main-600, #CC161C);
    color: #FFF;
    width: 100%;
    border-color: transparent;
}

.div-modal-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.select-endereco-chefmio {
    border-radius: 4px;
    padding: 0px 16px;
    color: var(--neutral-500, #96999E);
}

.titulo-text-chefmio {
    margin-top: 25px;
    margin-bottom: 20px;
}

.header-praca {
    border-radius: 0px 0px 8px 8px;
    background: var(--main-600, #CC161C);
    display: flex;
    justify-content: center;
    padding: 25px 16px 0px 16px;
}

.div-endereco-restaurante, .div-endereco-restaurante:hover, .div-endereco-restaurante:focus {
    border-radius: 40px;
    padding: 4px 12px 4px 16px;
    position: relative;
    top: -10px;
    max-width: 350px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.a-endereco-restaurante, .a-endereco-restaurante:hover, .a-endereco-restaurante:focus {
    display: flex;
    justify-content: space-between;
    color: #FFF;
    gap: 4px;
    text-decoration: none;
}

.text-endereco-restaurante {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.div-logo-restaurante {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.div-body-restaurantes {
    padding: 20px 16px;
    background-color: #FFFFFF;
}

/* Carrossel de categorias por CSS (sem slick), mesmo padrão de .top-chefmio-carrossel
   e da fileira do "Peça de novo". Antes o slick montava a fileira no JS, e por isso
   a div nascia com display:none e só aparecia num fadeIn depois de inicializada —
   o que fazia a faixa piscar a cada carregamento da lista, inclusive ao voltar da
   loja pelo botão de voltar. */
.carousel-restaurante {
    display: flex;
    user-select: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-right: -16px; /* sangra até a borda direita */
}

    .carousel-restaurante::-webkit-scrollbar {
        display: none;
    }

.img-categoria {
    width: 100%;
}

.nome-categoria {
    color: var(--blue-grey-700, #455A64);
    text-align: center;
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 145.455% */
    letter-spacing: 0.055px;
}

.div-categoria-restaurantes {
    border-radius: 8px;
    background: var(--neutral-100, #F0F3F5);
    width: 88px;
    height: 86px;
    margin-right: 8px;
    flex: 0 0 auto; /* sem slick, o flex não pode espremer os itens */
}

    .div-categoria-restaurantes:hover, .div-categoria-restaurantes:focus {
        text-decoration: none;
    }

.titulo-restaurante {
    color: var(--neutral-900, #1F2021);
    font-weight: 600 !important;
    margin-bottom: 16px;
}

.div-card-restaurante {
    margin-bottom: 16px;
}

.card-restaurante {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.btn-wrap {
    position: relative;
}

    .btn-wrap .classif-melhor-restaurante {
        border-radius: 100px;
        background: #CC161C;
        position: absolute;
        z-index: 1;
        top: 27%;
        right: 5%;
        width: 16px;
        height: 16px;
        padding: 0;
        margin: -15px 0 0 -30px;
        border: 0 none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


.div-info-restaurante {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.titulo-nome-restaurante {
    color: var(--blue-grey-900, #263238);
    margin: 0px;
    font-weight: 600;
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-categoria {
    color: var(--blue-grey-700, #455A64);
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.div-entrega-restaurante {
    color: var(--blue-grey-900, #263238);
    margin-top: 4px;
}

.mright-4 {
    margin-right: 4px;
}

.mleft-4 {
    margin-left: 4px;
}

.mbottom-4 {
    margin-bottom: 4px;
}

.mright-2 {
    margin-right: 2px;
}

.tempo-entrega-restaurante {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.text-entrega-gratis {
    color: #2E7D32;
}

.badge-novo-restaurante {
    border-radius: 100px;
    background: var(--main-100, #FFDEE0);
    padding: 4px 8px;
    color: var(--main-Accent-A700, #D50000);
}

.div-nota-avaliacao {
    display: flex;
}

    .div-nota-avaliacao i {
        font-size: 12px;
        color: #FFB300;
    }

.txt-nota-avaliacao {
    color: var(--blue-grey-800, #37474F);
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 145.455% */
    letter-spacing: 0.055px;
}

.backgroun-img-restaurantes {
    width: 69px;
    height: 69px;
}

.img-logo-restaurante {
    border-radius: 8px;
}

.mb-8 {
    margin-bottom: 8px;
}

.a-lista-restaurante:hover, .a-lista-restaurante:focus {
    text-decoration: none;
}

.div-card-lista-restaurante {
    height: 80px;
}

@media (min-width: 980px) {
    .div-card-lista-restaurante {
        margin-bottom: 8px;
    }
}

.hr-list-restaurantes {
    margin: 8px 16px;
    border-top: 1px solid #F7F9FA;
}

.closed-restaurante-card {
    opacity: .4;
}

.div-img-menu {
    margin-top: 12px;
    margin-bottom: 12px;
}

.menu-inferior {
    border-radius: 24px 24px 0px 0px;
    border: 0px solid rgba(0, 0, 0, 0.20);
    background: #FFF;
    padding: 0px 16px !important;
    display: flex !important;
    justify-content: space-around !important;
    box-shadow: 0px 8px 12px 6px rgba(128, 128, 130, 0.15);
}

.padding-menu-icon {
    padding: 6px 12px;
}

.div-search-pesquisa {
    border-radius: 0px 0px 8px 8px;
    background: var(--black-white-white, #FFF);
    box-shadow: 0px 2px 6px 2px rgba(128, 128, 130, 0.15);
    margin-bottom: 16px;
}

.div-search-restaurantes {
    padding: 12px 16px 11px 16px !important;
    display: flex;
}

.icon-search-restaurante {
    color: #96999E;
}

.input-search {
    border-radius: 8px !important;
    background: var(--neutral-100, #F0F3F5) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    color: #96999E;
    padding-left: 3.5rem !important;
}

.cancelar-pesquisa-restaurante, .cancelar-pesquisa-restaurante:hover {
    color: var(--main-600, #CC161C);
    text-decoration: none;
    padding: 14px 8px;
}

.w-100 {
    width: 100%;
}

.menu-ativo {
    border-radius: 40px;
    background: var(--main-50, #FFF5F5);
}

.div-cabecalho-perfil {
    margin-bottom: 30px;
}

.login-perfil {
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background: #E7EAEE;
}

.titulo-perfil {
    color: var(--neutral-900, #1F2021);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px;
}

.card-perfils {
    border-radius: 8px;
    background: var(--black-white-white, #FFF);
    box-shadow: 0px 1px 3px 1px rgba(128, 128, 130, 0.15);
    margin: 8px 0px;
    padding: 16px;
}

    .card-perfils a:hover, .card-perfils a:focus {
        text-decoration: none;
    }

.txt-menu-perfil {
    color: var(--blue-grey-700, #455A64);
    margin-left: 8px;
}

.icon-menu-perfil {
    font-size: 19px;
    color: #CC161C;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width:767px) {

    .w-modal .modal-dialog {
        width: 100%;
        margin: 0px !important;
        height: 100%;
    }

    .modal-dialog .modal-full-mobile {
        height: 100% !important;
    }
}

.img-login-chefmio {
    border-radius: 30px;
}

.text-login-chefmio:hover, .text-login-chefmio:focus {
    color: #ffff;
}

.text-login-chefmio {
    padding: 3px 20px;
    text-decoration: none;
    color: #262626;
}

.cabecalho-pagina {
    background: var(--main-600, #CC161C);
    height: 50px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    padding: 13px 16px 13px 16px;
}

.card-list-cartao {
    border-radius: 8px;
    border: 1px solid var(--neutral-300, #D7DCE0);
    background: var(--black-white-white, #FFF);
    padding: 16px;
    gap: 8px;
    display: flex;
    justify-content: space-between;
    margin: 8px auto;
}

.txt-apelido-cartao {
    color: var(--neutral-800, #3F4042);
}

.txt-final-cartao {
    color: var(--neutral-500, #96999E);
}

.body-pagina {
    padding: 0px 16px;
}

.div-no-cartao {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0px 50px;
}

.img-no-imagem-cartao {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.div-icone-cartao {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .div-icone-cartao i {
        font-size: 18px;
        padding: 0px 5px;
    }

.dropdown-menu.right {
    right: 0 !important;
    left: auto !important;
}

.modal-body-cartao {
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.titulo-modal-delete-cartao {
    color: var(--neutral-900, #1F2021);
    text-align: center;
    margin: 0px 0px 4px 0px;
}

.text-modal-delete-cartao {
    color: var(--neutral-600, #6F7175);
    text-align: center;
    margin: 0px;
}

.border-modal-cartao {
    border-radius: 8px;
    border: 1px solid var(--neutral-300, #D7DCE0);
    background: var(--White, #FFF);
    display: flex;
    height: 56px;
    padding: 16px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.btn-modal-deleteCartao {
    border-radius: 8px;
    background: var(--main-600, #CC161C);
    padding: 10px 6px 10px 8px;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.014px;
    border-color: transparent;
}

.flex-button-deleteCartao {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.a-modal-deleteCartao, .a-modal-deleteCartao:hover {
    padding: 10px 6px 10px 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.014px;
    color: var(--main-600, #CC161C);
    text-align: center;
    text-decoration: none;
}

@media (min-width: 768px) {
    .modal-dialog-deleteCartao {
        width: 400px !important;
    }
}

.body-pagina-meusDados {
    padding: 0px 16px 0 16px;
}

@media(max-width: 682px) {
    .row-meuDados {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px;
    }
}

@media(min-width: 683px) {
    .row-meuDados .col-12 {
        margin: 24px 0px;
    }

    .row-meuDados .position-relative {
        margin: 24px 0px;
    }
}

.input-form-plaholder {
    border-radius: 8px;
    color: var(--neutral-500, #96999E);
    padding: 8px 0px 8px 16px;
    border: 1px solid #D7DCE0;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.08px;
    height: 50px;
}

.label-form-placeholder {
    color: var(--neutral-500, #96999E);
    position: absolute;
    left: 25px;
    top: -8px;
    background: #fff;
    padding: 0px 4px;
}

.position-relative {
    position: relative;
}

.text-no-imagem {
    color: var(--neutral-600, #6F7175);
    text-align: center;
}

.loader-dark {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*-------------Login---------------*/

.body-pagina-login {
    padding: 40px 16px;
    height: 100vh;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.div-logo-login {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.txt-cabecalho-login {
    color: var(--neutral-900, #1F2021);
    margin-top: 8px;
}

.text-login {
    color: var(--neutral-600, #6F7175);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    padding: 0px 8px 0px 8px;
    justify-content: center;
}

.titulo-login {
    color: var(--neutral-900, #1F2021);
    margin: 0px;
    text-align: center;
}

.label-input-login, .label-input-padding {
    color: var(--neutral-500, #96999E) !important;
    font-style: normal;
    font-weight: 400;
    margin: 16px 0px 16px 16px !important;
    padding: 0px !important;
}

.input-form-login, .input-form-padding {
    padding: 0px 16px !important;
}

.form-floating-label .form-control:focus + .placeholder, .form-floating-label .form-control:valid + .placeholder, .form-floating-label .form-control.filled + .placeholder {
    top: -12px !important;
}

.btn-desativado {
    color: #5C5E61;
    background: #E7EAEE;
    border-radius: 40px;
    padding: 14px 8px;
    border: none;
    text-align: center;
}

.form-login {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.separator-solid {
    border-top: 2px solid #96999E;
    margin: 15px 0;
    width: 100%;
}

.btn-facebook-login {
    border-radius: 30px;
    background: #1877F2;
    padding: 10px 20px;
    border: none;
    margin: 0px 8px;
}

.btn-entrar-login {
    background: var(--main-600, #CC161C);
    padding: 14px 6px 14px 8px;
    border-radius: 40px;
    border-color: transparent;
    color: var(--03-on-primary-high-emphasis, var(--White, #FFF));
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.014px;
}

.div-login-senha-login {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.a-esqueciSenha-login, .a-esqueciSenha-login:hover, .a-link-padrao, .a-link-padrao:hover, .a-link-padrao:focus {
    padding: 14px 6px 14px 8px !important;
    color: var(--main-600, #CC161C);
    width: 100%;
    display: flex !important;
    justify-content: center;
    border-color: transparent;
    background-color: transparent;
}

.button-login-senha-login {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.form-login-senha-login {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

@media (min-width: 1069px) {
    .body-pagina-login {
        margin: auto 300px;
    }

    .body-pagina-Registerlogin {
        margin: auto 300px;
    }

    .div-bottom-menu {
        margin: 16px 316px 70px 316px !important;
    }

    .div-bottom-login {
        margin: 16px 316px !important;
    }

    .body-padrao-desk {
        margin: auto 300px !important;
    }
}

.titulo-cadastroLogin {
    text-align: left;
    color: var(--neutral-900, #1F2021);
    margin: 0px;
}

.text-cadastroLogin {
    color: var(--neutral-600, #6F7175);
}

.body-pagina-Registerlogin {
    padding: 40px 16px;
    height: 100vh;
    background-color: #FFFFFF;
}

.body-padrao-desk {
    padding: 16px;
    height: 100vh;
    background-color: #FFFFFF;
}

.div-text-cadastroLogin {
    margin: 16px 0px;
}

    .div-text-cadastroLogin span {
        color: var(--neutral-800, #3F4042);
        font-family: Roboto;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
    }

        .div-text-cadastroLogin span a {
            color: var(--main-600, #CC161C);
            text-decoration-line: underline;
            font-family: Roboto !important;
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
        }

.div-bottom-menu {
    margin: 16px 16px 70px 16px;
}

.div-bottom-login {
    margin: 16px;
}

.text-left {
    text-align: left !important;
}

.inputs-codigo-login {
    margin: 24px auto;
    display: flex;
    justify-content: center;
}

.div-btn-modal {
    padding: 8px 16px;
    background: white;
}

.text-receber-codigo span, .text-receber-codigo input {
    text-align: center;
}

.text-receber-codigo {
    text-align: center;
}

.receber-codigo-login {
    color: var(--neutral-600, #6F7175);
}

.enviar-codigo {
    color: var(--main-700, #AD0C14);
    border: transparent;
    background: transparent;
}

.input-codigoEnviado {
    border: 1px solid var(--neutral-400, #B4B8BD);
    border-radius: 8px;
    height: 55px;
    gap: 10px;
    width: 55px;
    margin: 2px;
    font-size: 16px;
    padding: 0px 20px;
    text-align: center;
    color: var(--neutral-600, #6F7175);
}

    .input-codigoEnviado.error-codigo {
        border: 1px solid var(--main-700, #AD0C14);
    }

.d-none {
    display: none !important;
}

/* CSS for the loading spinner */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left-color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Spinner visible while loading */
.loading .spinner {
    display: inline-block;
}

.loading .spinner-text {
    display: inline;
}

.loading-div-restaurantes {
    width: 90px;
    height: 69px;
    align-content: center;
}

.div-cabecalho-endereco {
    padding: 13px 16px 13px 16px;
}

.titulo-topo-endereco {
    color: var(--neutral-900, #1F2021);
    text-align: center;
}

.padding-16 {
    padding: 16px;
}

.div-listagem-endereco {
    padding-bottom: 170px;
}

.card-list-endereco {
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 1px 3px 1px rgba(128, 128, 130, 0.15);
    margin-bottom: 8px;
}

    .card-list-endereco.selecionado {
        border: 1px solid var(--neutral-600, #6F7175);
    }

.a-list-endereco {
    padding: 8px 16px;
    gap: 8px;
    cursor: pointer;
}

.flex-grow-1 {
    -ms-flex-positive: 1 !important;
    flex-grow: 1 !important;
}

.rua-endereco, .apelido-endereco {
    color: var(--neutral-900, #1F2021);
}

.completo-endereco {
    color: var(--neutral-600, #6F7175);
}

.icon-ellipsis-endereco {
    padding: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.padding-modal-endereco {
    padding: 32px 16px 32px 16px;
}

.card-endereco-editar {
    border-radius: 8px;
    background: var(--neutral-50, #F7F9FA);
    padding: 8px 16px;
    margin: 8px 0px 24px 0px;
}

.btn-padrao-border, .btn-padrao-border:hover, .btn-padrao-border:focus {
    color: #CC161C;
    border: 1px solid #CC161C !important;
    border-radius: 8px !important;
    padding: 14px 8px !important;
    text-align: center;
    width: 100%;
    background: transparent;
}

.btn-endereco-voltar {
    padding: 18px 8px;
    border: none;
    background: transparent;
    color: #CC161C;
}

@media (max-width: 991px) {

    /*INICIO MODAL BOTTOM*/
    .modal.bottom .modal-dialog {
        position: fixed;
        bottom: 0;
        margin: auto;
        width: 100%;
        height: auto;
        -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
        -o-transform: translate3d(0%, 0, 0);
        transform: translate3d(0%, 0, 0);
    }

    .modal.bottom .modal-content {
        height: 100%;
        overflow-y: auto;
    }
}

.padding-img-endereco {
    padding-top: 100px;
}

.img-cadastro-endereco {
    display: flex;
    justify-content: center;
    padding-bottom: 24px;
}

.titulo-pedido-detalhes, .titulo-cadastro-endereco {
    color: var(--neutral-900, #1F2021);
    margin: 0 0 10px 0 !important;
}

.btn-endereco-buscar {
    width: 100%;
    border-radius: 8px;
    padding: 18px 8px;
    margin-top: 8px;
}

.fechar-modal-endereco {
    color: var(--main-600, #CC161C);
}

.bottom-margin-add-endereco {
    background-color: transparent !important;
}

.div-entrega-endereco {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.height-100 {
    height: 100vh;
}

.bottom-margin-add-endereco {
    padding: 16px 16px 140px 16px;
    background: #fff;
}

.txt-no-pedido {
    color: var(--neutral-600, #6F7175);
}

@media(max-width: 802px) {
    .card-div-lista-pesquisa {
        margin-bottom: 10px;
    }
}

.mensagem-error-codigo {
    display: flex;
    justify-content: center;
}

    .mensagem-error-codigo span {
        color: var(--main-700, #AD0C14);
    }

.div-form-cadastroUsuario {
    margin-top: 20px;
}
/*-------------------------------------------------------------------------------------------*/
#sorteioMoto {
    background: url(/ContentPraca/css/img/bg-pattern.png), linear-gradient(to left, #d21607, #dc2430);
}

.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}

.overflow-2-line {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.overflow-3-line {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

.overflow-4-line {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 4;
}

.min-heght-item-card-restaurante {
    display: grid;
    grid-template-rows: 1fr 63px;
    margin: 0;
}

a.custom-card,
a.custom-card:hover {
    color: inherit;
    text-decoration: none;
}

.border-dashed {
    border: 1px dashed #dfdfdf !important;
}

/*.profile {
    border-radius: 50%;
    float: left;
    margin-right: 9px;
    overflow: hidden;
    position: relative;
    top: -2px;
}*/

/*.btnIr {
    position: absolute;
    right: 20px;
    bottom: 5px;
    width: 23px;
    height: 23px;
    padding: 5px;
    color: white;
    opacity: 0.7;
}*/
.btnIr {
    position: absolute;
    right: 20px;
    bottom: 5px;
    /* width: 23px; */
    height: 23px;
    margin: 5px;
    padding: 5px;
    color: white;
    opacity: 0.7;
}

.border-light {
    border: 1px solid rgba(193, 193, 193, 0.125);
}


/*.custom-card .btnIr {
    display: none;
}

.custom-card :hover .btnIr {
    display: block;
}*/

/*#LoginTopo {
    cursor: pointer;
    margin-top: 8px !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
}*/

.profile {
    border-radius: 50%;
    float: left;
    margin-right: 13px;
    overflow: hidden;
    position: relative;
}

#navbarNav {
    color: white;
}

.titulo-home {
    color: #3e3e3e;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 2rem;
}

.font-size-chefmio-pequena {
    font-size: 1rem;
    font-weight: 400;
}

.bg-red-chefmio {
    background-color: #d21607;
}

.bg-cinza-claro {
    background-color: #f5f3f4
}

.font-red-chefmio {
    color: #d21607;
}


.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.closed-restaurante-card {
    opacity: .4;
}

.content-restaurante-list {
    margin-bottom: 60px;
}

.tab-bar {
    font-weight: 500;
    position: fixed;
    bottom: 0;
    height: 50px;
    display: flex;
    justify-content: space-around;
    background: #fff;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.24);
    z-index: 9998;
}


.tab-bar-item {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    width: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #3f3e3e;
    text-decoration: none;
    border: none;
    background: none;
    color: #3e3e3e;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3rem;
}

.max-tamanho-text-card {
    max-width: 220px;
}

.max-tamanho-titulo-card {
    max-width: 175px;
}

.line-height-0-8 {
    line-height: 0.8rem;
}

.line-height-0-9 {
    line-height: 0.97rem;
}

.font-size-1-2em {
    font-size: 1.2em;
}

/*Topo restaurante ********************/

.tab-bar-restaurante {
    font-weight: 500;
    bottom: 0;
    height: 50px;
    display: flex;
    justify-content: space-around;
    left: 0;
    right: 0;
    z-index: 9998;
    background-color: #f7f7f7;
}

#menuPrincipalRestaurante {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.24);
    background-color: #f7f7f7;
}

.tab-bar-item-restaurante {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    width: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #3f3e3e;
    text-decoration: none;
    border: none;
    background: none;
    color: #3e3e3e;
    font-weight: 350;
    font-size: 0.9rem;
    line-height: 1.3rem;
}

.card-title-custom {
    font-weight: 500;
}

/*#card-img-topo {
    background-image: url(/ContentPraca/css/chefmio20/https:/admin.cmpedidos.com.br/foto/697/img/topo/topo-697.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 215px;
}*/
/*************************************/
/*Cardapio card *********************/
.content-cardapio-list {
    margin-bottom: 60px;
}

.cardapio-card {
    border: 1px solid #f2f2f2;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.05);
}


/**********************************/

/*Restaurante Card *****************/

.closed-restaurante-card {
    opacity: .4;
}

.content-restaurante-list {
    margin-bottom: 60px;
}

.restaurante-card {
    border: 1px solid #f2f2f2;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.05);
}

/*FOOTER **************************/
#footer {
    padding: 30px 0 60px 0;
}

section .section-title {
    text-align: center;
    color: #717171;
    margin-bottom: 50px;
    text-transform: uppercase;
}

#footer {
    background: #f5f3f4 !important;
    /*margin-top: 50px;*/
}

    #footer h5 {
        padding-left: 10px;
        border-left: 3px solid #eeeeee;
        padding-bottom: 6px;
        margin-bottom: 20px;
        color: #717171;
    }

    #footer a {
        color: #717171;
        text-decoration: none !important;
        background-color: transparent;
        -webkit-text-decoration-skip: objects;
        font-size: 13px;
    }

    #footer ul.social li {
        padding: 3px 0;
    }

        #footer ul.social li a i {
            margin-right: 5px;
            font-size: 25px;
            -webkit-transition: .5s all ease;
            -moz-transition: .5s all ease;
            transition: .5s all ease;
        }

        #footer ul.social li:hover a i {
            font-size: 30px;
            margin-top: -10px;
        }

        #footer ul.social li a,
        #footer ul.quick-links li a {
            color: #717171;
        }

            #footer ul.social li a:hover {
                color: #717171;
            }

    #footer ul.quick-links li {
        padding: 3px 0;
        -webkit-transition: .5s all ease;
        -moz-transition: .5s all ease;
        transition: .5s all ease;
    }

        #footer ul.quick-links li:hover {
            padding: 3px 0;
            margin-left: 5px;
            font-weight: 700;
        }

        #footer ul.quick-links li a i {
            margin-right: 5px;
        }

        #footer ul.quick-links li:hover a i {
            font-weight: 700;
        }

@media (max-width:767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }
}
/**********************************/

.card {
    border: 1px dashed #dfdfdf !important;
}

/* Slider ***********************************/

.slick-prev:before, .slick-next:before {
    opacity: 0.5;
    color: #bfbfbf !important;
}

.slick-prev, .slick-next {
    top: 35% !important;
}

.itemCategoria:focus {
    outline: none;
}
/*********************************************/
/*.col-sm-*/
@media (min-width: 576px) {
    .max-tamanho-text-card {
        max-width: 220px;
    }
}

/*.col-md-*/
@media (min-width: 768px) {
    .max-tamanho-text-card {
        max-width: 220px;
    }

    .content-cardapio-list {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/*.col-lg-*/
@media (min-width: 992px) {
    .max-tamanho-text-card {
        max-width: 185px;
    }
}

/*.col-xl-*/
@media (min-width: 1200px) {
    .max-tamanho-text-card {
        max-width: 220px;
    }
}

@media (min-width: 1200px) {
    .menu-superior-logo {
        display: flex;
        justify-content: space-between;
    }
}

/*------------------------header APP Chef Mio---------------------------*/

.div-header-app {
    height: 60px;
    background: #FFF;
    padding: 13px 16px;
    gap: 8px;
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 0px;
    width: 100%;
}

@media(min-width: 729px) {
    .div-header-app {
        display: none;
    }

    .modal-ganhou-cupom {
        position: relative !important;
    }

    .div-modal-ganhou-cupom {
        position: relative !important;
    }
}

.titulo-div-app {
    overflow: hidden;
    color: var(--neutral-900, #1F2021);
    text-overflow: ellipsis;
    font-family: "Ubuntu", sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.024px;
}

.text-div-app {
    color: var(--neutral-700, #5C5E61);
    text-overflow: ellipsis;
    font-family: "Roboto", sans-serif !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.btn-app-chefmio {
    border-radius: 200px;
    background: #2A9AEB;
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    border: none;
}

.div-text-app-chefmio {
    display: flex;
    gap: 8px;
}

.text-app-chefmio {
    display: flex;
    flex-direction: column;
}

.btn-app-chefmio span {
    color: #FFF;
    text-align: center;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.06px;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*----------------------end header APP Chef Mio---------------------------*/

/*-----------------------modal de cupom-------------------------------*/

.div-modal-ganhou-cupom {
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    z-index: 10;
    top: 0;
}

.modal-ganhou-cupom {
    border-radius: 12px;
    border: 1px solid var(--neutral-300, #D7DCE0);
    background: var(--black-white-white, #FFF);
    height: 61px;
    /*margin: 0px 16px;*/
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    position: absolute;
    top: 0px;
    z-index: 1000;
    left: auto;
    right: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.txt-ganhou-cupom span, .txt-ganhou-cupom label {
    color: var(--neutral-800, #3F4042);
    font-family: "Ubuntu", sans-serif !important;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    margin-bottom: 0px !important;
}

.txt-ganhou-cupom span {
    font-weight: 700 !important;
}

.btn-ganhou-cupom {
    border-radius: 400px;
    background: var(--main-100, #FFDEE0);
    padding: 8px 10px;
    border: none;
    display: flex;
    gap: 4px;
}

.div-text-cupom {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.btn-txt-cupom {
    white-space: nowrap !important;
}

    .btn-txt-cupom small, .btn-txt-cupom span {
        color: var(--main-600, #CC161C);
        font-family: "Inter", sans-serif !important;
        font-size: 16px;
        font-style: normal;
        line-height: 24px;
        letter-spacing: 0.024px;
    }

    .btn-txt-cupom small {
        font-weight: 500;
    }

    .btn-txt-cupom span {
        font-weight: 700;
    }

/*-----------------------end modal de cupom-------------------------------*/

.a-card-pedido:hover, .a-card-pedido:focus {
    text-decoration: none;
}

.page-termos-home {
    margin: auto 15px;
}

.div-barra-sacola {
    bottom: 80px !important;
    display: flex;
    justify-content: center;
    height: 56px;
}

.barra-sacola {
    border-radius: 8px;
    box-shadow: 0px 4px 8px 3px rgba(128, 128, 130, 0.15);
    background: var(--main-600, #CC161C);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 16px;
}

.a-sacola, .a-sacola:focus, .a-sacola:hover {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
}

.txt-padrao {
    font-size: 17px;
    font-weight: 500;
}

    .txt-padrao span, .txt-padrao i {
        color: var(--black-white-white, var(--White, #FFF));
    }

.total-entrega-sacola {
    color: var(--main-100, #FFDEE0);
}

@media (min-width: 937px) {
    .barra-sacola {
        width: 50%;
    }
}

@media(max-width: 935px) {
    .barra-sacola {
        width: 100%;
    }
}

.txt-sacola-home {
    display: flex;
    gap: 8px;
}

    .txt-sacola-home i {
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-weight: 600;
    }

    .txt-sacola-home span {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: var(--black-white-white, var(--White, #FFF));
    }

.modal-body-chefMioApp {
    padding: 20px 16px;
}

.flex-div-modal-chefMioApp {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.flex-logo-chefMioApp {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.div-img-chefMioApp {
    border-radius: 12px;
    background: var(--White, #FFF);
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.20);
    padding: 10px;
}

.text-modal-chefMioApp {
    color: var(--neutral-800, #3F4042);
}

.titulo-modal-chefMioApp {
    color: var(--neutral-900, #1F2021);
    text-align: center;
}

.btn-modal-chefMioApp, .btn-modal-chefMioApp:hover {
    width: 100%;
    padding: 10px 24px;
    border-radius: 100px;
    background: var(--main-600, #CC161C);
    color: var(--White, #FFF) !important;
    border: none;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.link-modal-chefMioApp, .link-modal-chefMioApp:hover {
    color: var(--main-600, #CC161C);
    padding: 10px 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.gap-4{
    gap: 4px;
}
/*=====================================================================
  Cards de restaurante no padrao do app ChefMio (.card-app-restaurante)
  Escopado: nao altera outros cards da praca.
=====================================================================*/
/* Grid proprio da lista: colunas iguais e espacamento uniforme.
   (O grid do Bootstrap deixava buracos porque os cards tem alturas diferentes
   — uns com chip de fidelidade/"Novo", outros sem.) */
.grid-restaurantes {
    display: grid;
    /* minmax(0, 1fr) e obrigatorio: com "1fr" puro a coluna nao encolhe abaixo
       do min-content, e os textos nowrap dos cards (nome/categoria longos)
       estouravam o grid para fora da tela (scroll lateral). */
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 0; /* cards alinham em 16px herdado do .div-body-restaurantes */
    margin-bottom: 8px;
    align-items: stretch;
}

@media (min-width: 620px) {
    .grid-restaurantes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (min-width: 992px) {
    .grid-restaurantes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1400px) {
    .grid-restaurantes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Card com moldura (paridade visual com o app + moldura para a web).
   height:auto vence o height:80px legado de .div-card-lista-restaurante. */
.card-app-restaurante {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 12px 12px 12px;
    border: 1px solid #E7EAEE;
    border-radius: 12px;
    background: #FFF;
    margin-bottom: 0;
    min-width: 0;
    overflow: visible; /* coracao nao pode ser cortado */
    display: flex;
    flex-direction: column;
}

    /* o <a> ocupa o card; flex para a linha logo+texto alinhar no topo */
    .card-app-restaurante .a-lista-restaurante {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        color: inherit;
    }

    /* Linha principal: logo | infos — alinhados no TOPO (como no app) */
    .card-app-restaurante .a-lista-restaurante > .d-flex {
        display: flex !important;
        align-items: flex-start;
        gap: 12px;
        min-width: 0;
    }

    /* Logo quadrada (padrao desktop / tablet) */
    .card-app-restaurante .backgroun-img-restaurantes {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
        margin: 0;
    }

    .card-app-restaurante .img-logo-restaurante {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #F1F3F5;
        display: block;
    }

    .card-app-restaurante .loading-div-restaurantes {
        width: 64px;
        flex: 0 0 64px;
    }

    /* Bloco de texto: sobrescreve white-space/overflow/width:200px legados */
    .card-app-restaurante .div-info-restaurante {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2px;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: 100%;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset;
        /* espaco a direita para o coracao absoluto nao sobrepor o nome */
        padding-right: 28px;
    }

    .card-app-restaurante .titulo-nome-restaurante {
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        padding: 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 20px;
        color: #1F2021;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-app-restaurante .text-categoria {
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        font-size: 13px;
        line-height: 18px;
        color: #6F7175;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

        /* categoria vazia nao reserva linha (alinha nota sob o nome) */
        .card-app-restaurante .text-categoria:empty {
            display: none;
        }

    .card-app-restaurante .linha-info-restaurante-app {
        width: 100%;
        margin-top: 2px;
    }

    .card-app-restaurante .linha-chips-restaurante-app {
        width: 100%;
        margin-top: 6px;
    }

    /* coracao alinhado com o NOME (topo do conteudo), nao com o padding do card */
    .card-app-restaurante .fav-restaurante-btn {
        top: 10px;
        right: 8px;
        width: 32px;
        height: 32px;
    }

        .card-app-restaurante .fav-restaurante-btn i {
            font-size: 18px;
        }

/* Mobile: lista vertical compacta, logo 56px (ainda legivel) */
@media (max-width: 619px) {
    .grid-restaurantes {
        gap: 8px;
        padding: 0;
    }

    .card-app-restaurante {
        padding: 10px;
        border-radius: 12px;
    }

        .card-app-restaurante .a-lista-restaurante > .d-flex {
            gap: 10px;
        }

        .card-app-restaurante .backgroun-img-restaurantes,
        .card-app-restaurante .loading-div-restaurantes {
            width: 56px;
            height: 56px;
            flex-basis: 56px;
        }

        .card-app-restaurante .img-logo-restaurante {
            width: 56px;
            height: 56px;
            border-radius: 10px;
        }

        .card-app-restaurante .div-info-restaurante {
            padding-right: 26px;
        }

        .card-app-restaurante .titulo-nome-restaurante {
            font-size: 14px;
            line-height: 18px;
        }

        .card-app-restaurante .text-categoria {
            font-size: 12px;
            line-height: 16px;
        }

        .card-app-restaurante .linha-info-restaurante-app {
            font-size: 12px;
            margin-top: 1px;
            gap: 4px;
        }

        .card-app-restaurante .linha-chips-restaurante-app {
            margin-top: 4px;
        }

        .card-app-restaurante .chip-info-restaurante-app,
        .card-app-restaurante .badge-novo-restaurante {
            font-size: 10px;
            padding: 2px 7px;
        }

        .card-app-restaurante .fav-restaurante-btn {
            top: 8px;
            right: 6px;
            width: 28px;
            height: 28px;
        }

            .card-app-restaurante .fav-restaurante-btn i {
                font-size: 17px;
            }
}

/* Linha unica de infos: nota • tempo • taxa (padrao do app) */
.linha-info-restaurante-app {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 13px;
    line-height: 18px;
    color: #6F7175;
}

.item-info-restaurante-app {
    white-space: nowrap;
}

/* Tempo nao pode ficar engessado em 80px (corta "60-90" / "40-60 min") */
.card-app-restaurante .tempo-entrega-restaurante {
    max-width: none;
}

.ponto-separador-app {
    color: #ADB5BD;
    flex: 0 0 auto;
}

.icon-star-app {
    font-size: 12px;
    color: #FFB300;
}

.card-app-restaurante .txt-nota-avaliacao {
    font-size: 13px;
    color: #1F2021;
    font-weight: 600;
}

.card-app-restaurante .text-entrega-gratis {
    color: #2E7D32;
    font-weight: 600;
}

.badge-fechado-app {
    color: #CC161C;
    font-weight: 600;
}

/* Loja fechada: logo esmaecida (mesmo efeito do app) */
.closed-restaurante-card .img-logo-restaurante {
    filter: grayscale(1);
    opacity: 0.55;
}

.closed-restaurante-card .titulo-nome-restaurante,
.closed-restaurante-card .text-categoria {
    color: #96999E;
}


/*=====================================================================
  Home da praca - "Usar minha localizacao" + enderecos salvos (padrao iFood)
=====================================================================*/
.btn-usar-localizacao-chefmio {
    width: 100%;
    padding: 12px;
    border: 1px solid #FFFFFF;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    cursor: pointer;
}

    .btn-usar-localizacao-chefmio:hover {
        background: rgba(255, 255, 255, 0.22);
    }

    .btn-usar-localizacao-chefmio .fa-location-arrow {
        margin-right: 6px;
    }

.lista-enderecos-home-chefmio {
    margin-bottom: 4px;
}

.card-endereco-home-chefmio {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #1F2021;
}

    .card-endereco-home-chefmio:hover, .card-endereco-home-chefmio:focus {
        text-decoration: none;
        color: #1F2021;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }

.icone-endereco-home {
    color: #CC161C;
    font-size: 16px;
    flex: 0 0 auto;
}

.texto-endereco-home {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

    .texto-endereco-home b {
        margin-right: 6px;
    }

.estrela-endereco-home {
    color: #F5A623;
    font-size: 13px;
    flex: 0 0 auto;
}

.divisor-enderecos-home-chefmio {
    text-align: center;
    color: #FFFFFF;
    opacity: 0.85;
    margin: 2px 0;
}


/*=====================================================================
  Meus pedidos (praca) - status colorido + botao "Pedir novamente"
=====================================================================*/
.pedido-status-andamento {
    color: #E58F00;
}

.pedido-status-ok {
    color: #1B8500;
}

.pedido-status-erro {
    color: #CC161C;
}

.rodape-card-pedido {
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 12px;
    border-top: 1px solid #F0F2F4;
}

.btn-repedir-pedido {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #CC161C;
    color: #FFFFFF;
    border-radius: 100px;
    padding: 8px 18px;
    text-decoration: none;
}

    .btn-repedir-pedido:hover,
    .btn-repedir-pedido:focus {
        color: #FFFFFF;
        text-decoration: none;
        background: #B01217;
    }


/*=====================================================================
  Lista de enderecos (praca) - card com apelido em destaque
=====================================================================*/
.card-list-endereco .apelido-endereco {
    display: inline-block;
    background: #F0F2F4;
    color: #5C5E61;
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 4px;
}

.card-list-endereco .rua-endereco {
    display: block;
    color: #1F2021;
}

.card-list-endereco .completo-endereco {
    margin: 2px 0 0;
    color: #6F7175;
}

.card-list-endereco .cep-endereco {
    margin: 2px 0 0;
    color: #96999E;
}


/*=====================================================================
  Feedback ao abrir uma loja a partir da lista
  (antes: o logo sumia e virava spinner + 500ms de espera artificial)
=====================================================================*/

/* Barra de progresso no topo da tela — sinal claro de "carregando" */
.barra-progresso-navegacao {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #CC161C;
    z-index: 300020;
    opacity: 0;
    transition: width .25s ease, opacity .2s ease;
}

    .barra-progresso-navegacao.ativa {
        opacity: 1;
        width: 85%;
        transition: width 2.2s cubic-bezier(.15, .85, .35, 1);
    }

    .barra-progresso-navegacao.concluida {
        width: 100%;
        opacity: 0;
    }

/* Card em carregamento: mantem o logo (identidade da loja) e sobrepoe um
   spinner discreto; o restante do card esmaece e ignora novos cliques. */
.card-app-restaurante.card-carregando {
    pointer-events: none;
}

    .card-app-restaurante.card-carregando .div-info-restaurante,
    .card-app-restaurante.card-carregando .fav-restaurante-btn {
        opacity: .45;
        transition: opacity .15s ease;
    }

    .card-app-restaurante.card-carregando .backgroun-img-restaurantes {
        position: relative;
    }

        /* veu claro sobre o logo */
        .card-app-restaurante.card-carregando .backgroun-img-restaurantes::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 12px;
            z-index: 1;
        }

        /* anel girando por cima do logo */
        .card-app-restaurante.card-carregando .backgroun-img-restaurantes::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 26px;
            height: 26px;
            margin: -13px 0 0 -13px;
            border: 3px solid rgba(204, 22, 28, 0.25);
            border-top-color: #CC161C;
            border-radius: 50%;
            animation: giroCardRestaurante .7s linear infinite;
            z-index: 2;
        }

@keyframes giroCardRestaurante {
    to { transform: rotate(360deg); }
}


/*=====================================================================
  Card de restaurante - refino visual (mesma estrutura/ordem de infos)
=====================================================================*/
.card-app-restaurante {
    padding: 14px !important;
    border-radius: 16px !important;
    border-color: #EEF0F3 !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

    /* resposta ao toque/mouse: o card "levanta" de leve */
    .card-app-restaurante:hover {
        border-color: #E0E3E8 !important;
        box-shadow: 0 4px 12px rgba(16, 24, 40, 0.10);
    }

    .card-app-restaurante:active {
        transform: scale(.995);
    }

    /* logo um pouco maior e mais arredondada, acompanhando o card */
    .card-app-restaurante .img-logo-restaurante {
        border-radius: 12px !important;
    }

    /* nome mais firme e categoria mais leve (hierarquia) */
    .card-app-restaurante .titulo-nome-restaurante {
        font-weight: 600;
        line-height: 21px;
        margin-bottom: 1px;
    }

    .card-app-restaurante .text-categoria {
        color: #96999E;
    }

    /* linha de nota/tempo/taxa com respiro */
    .card-app-restaurante .linha-info-restaurante-app {
        margin-top: 3px;
        gap: 2px;
    }

    .card-app-restaurante .text-entrega-gratis {
        color: #1B8500;
        font-weight: 600;
    }

