@charset "utf-8";

/* ── Loading Overlay ─────────────────────────────────────────────────────── */

#loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.35s ease;
}

#loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── Três pontos animados (wave) ── */
#loading-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ldot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00aa99;
    animation: ldot-wave 1.3s ease-in-out infinite;
}

.ldot:nth-child(1) { animation-delay: 0s;    background: #00aa99; }
.ldot:nth-child(2) { animation-delay: 0.22s; background: #00cc99; }
.ldot:nth-child(3) { animation-delay: 0.44s; background: #00eebb; }

@keyframes ldot-wave {
    0%,  60%, 100% { transform: translateY(0);     opacity: 0.45; }
    30%             { transform: translateY(-14px); opacity: 1;    }
}

#loading-texto {
    font-family: "Arial", sans-serif;
    font-size: 13px;
    color: #00aa99;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media all {

    body {
        background: #eeeeee;
    }

    #banner {
        width: 100%;
        background-size: 100%;
        position: absolute;
    }

    #header {
        position: absolute;
        background: #ffffff;
    }

    #logo-div {
        background: transparent;        
        border-radius: 10px;
    }

    #logo {
        align-self: center;
        vertical-align: center;
    }

    #cart {
        position: fixed;
        float: right;
        z-index: 1000;
    }

    #cart-btn {
        width: 50px;
        height: 50px;
        background: #00aa99;
        border-radius: 30px;
        box-shadow: 1px 1px 5px #000000;
    }

    #cart-btn > img {
        width: 30px;
        height: 30px;
        margin-top: 10px;
    }

    #cart-btn:hover {
        cursor: pointer;
        background: #007766;
    }

    #cart-qtde {
        background: #00aa99;
        color: #ffffff;
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        border-radius: 5px;
        box-shadow: 1px 1px 5px #000000;
        margin-top: 5px;
        padding: 2px;
    }

    #nome {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
    }

    #funcionamento1 {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    #funcionamento2 {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        margin-top: -10px;
    }

    #tempo-entrega1 {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    #tempo-entrega2 {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        margin-top: -10px;
    }
    #tempo-entrega3 {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
        margin-top: -12px;
    }

    #tempo-entrega4 {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        margin-top: -10px;
    }

    #bolinha-verde {
        background: #44ff44;
        width: 14px;
        height: 14px;
        border-radius: 10px;
    }

    #bolinha-vermelha {
        background: #ff4444;
        width: 14px;
        height: 14px;
        border-radius: 10px;
    }

    .aberto-fechado {
        margin-left: 5px;
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    #content {
        position: absolute;
        width: 100%;
    }

    #acompanhe-pedido-btn {
        background: #006677;
        width: 230px;
        height: 40px;
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ffffff;
        border-radius: 7px;
        padding-top: 10px;
    }

    #acompanhe-pedido-btn:hover {
        background: #005566;
        cursor: pointer;
    }

    #verificar-pedidos-btn:hover {
        background: #007766;
        cursor: pointer;
    }

    .grupo-btn {
        background: #00aa99;
        width: 230px;
        height: 40px;
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ffffff;
        border-radius: 7px;
        padding-top: 10px;
    }

    .grupo-btn:hover {
        background: #007766;
        cursor: pointer;
    }

    .nome-grupo {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
    }

    .produto-div {
        background: #ffffff;
    }

    .produto-nome-true {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }

    .produto-nome-false {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #555555;
    }

    .produto-promocao {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ff9900;
        margin: 0px 10px 0px 10px;
    }

    .produto-indisponivel {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #777777;
        margin: 0px 10px 0px 10px;
    }

    .produto-descricao {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    .produto-img {
        width: 100px;
        height: 100px;
        border-radius: 5px;
        float: right;
    }

    .produto-preco {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        font-weight: bold;
    }

    .produto-adicionar {
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 5px;
        float: right;
    }

    .produto-adicionar:hover {
        cursor: pointer;
    }

    .produto-adicionar-true {
        background: #00aa99;
    }

    .produto-adicionar-true:hover {
        background: #007766;
    }

    .produto-adicionar-false {
        background: #777777;
    }

    .produto-adicionar-false:hover {
        background: #555555;
    }

    #footer {
        margin-top: 70px;
        margin-bottom: 30px;
        color: #666666;
    }

    .produto-modal-nome {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }

    .produto-modal-descricao {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    .produto-modal-preco {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        font-weight: bold;
    }

    .produto-modal-qtde-lbl {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }

    .qtde-btn {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        background: #666666;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: none;
        user-select: none;
        outline: none;
    }

    .qtde-btn:hover {
        background: #888888;
        cursor: pointer;
    }

    .produto-modal-qtde {
        font-family: "Arial";
        font-size: 18px;
        color: #666666;
        font-weight: bold;
    }

    .produto-modal-adicionais-lbl {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }

    .produto-modal-subgrupo-preco {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        font-weight: bold;
        margin-left: 15px;
    }

    .produto-modal-adicionar {
        background: #00aa99;
        color: #ffffff;
    }

    .produto-modal-observacao {
        width: 100%;
        height: 60px;
        border-radius: 5px;
        resize: none;
    }

    #notificacao {
        z-index: 100000;
        position: fixed;
        background: #aaddcc;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao > p {
        font-family: "Arial";
        font-size: 16px;
    }

    #notificacao-erro {
        z-index: 100000;
        position: fixed;
        background: #ffaacc;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao-erro > p {
        font-family: "Arial";
        font-size: 16px;
    }

    #notificacao-alerta {
        z-index: 100000;
        position: fixed;
        background: #ffee99;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao-alerta > p {
        font-family: "Arial";
        font-size: 16px;
    }

    #notificacao-meia {
        z-index: 90000;
        position: fixed;
        background: #ffee99;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao-meia > span {
        font-family: "Arial";
        font-size: 12px;
    }

    .carrinho-seu-pedido {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }
    
    .cart-modal-continuar {
        background: #00aa99;
        color: #ffffff;
    }

    .remover-produto-btn {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        background: #cc0000;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: 1px solid #770000;
        user-select: none;
        outline: none;
    }

    .remover-produto-btn:hover {
        background: #ff3333;
        cursor: pointer;
    }

    .remover-produto-btn-meia {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #cc0000;
        background: #ffee99;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: 2px solid #cc0000;
        user-select: none;
        outline: none;
        float: right;
        margin-top: -51px;
        padding-top: 2px;
    }

    .remover-produto-btn-meia:hover {
        border: 2px solid #ee0000;
        color: #ee0000;
        cursor: pointer;
    }

    .taxa-entrega1 {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ee7700;
    }
    
    .cart-modal-enviar {
        background: #00aa99;
        color: #ffffff;
    }

    .vou-retirar-btn-true {
        background: #ee7700;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 8px;
    }

    .vou-retirar-btn-false {
        background: #bab8b6;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 8px;
    }

    .vou-retirar-btn-true:hover {
        background: #dd6600;
        cursor: pointer;
    }

    .delivery-btn-true {
        background: #ee7700;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 20px;
    }

    .delivery-btn-false {
        background: #bab8b6;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 20px;
    }

    .delivery-btn-true:hover {
        background: #dd6600;
        cursor: pointer;
    }

    .mesa-btn-true {
        background: #ee7700;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 30px;
    }

    .mesa-btn-true:hover {
        background: #dd6600;
        cursor: pointer;
    }

    .cart-form > input, .cart-form > select, .cart-form > div > input {
        border-radius: 3px;
        width: 100%;
        border: 1px solid #666666;
        height: 40px;
        padding-left: 5px;
    }

    .acompanhe-informe-cpf, .acompanhe-seu-pedido-h1 {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }

    .acompanhe-modal-verificar-btn {
        background: #00aa99;
        color: #ffffff;
    }

    #acompanhe-modal-cpf-txt {
        border-radius: 3px;
        width: 100%;
        border: 1px solid #666666;
        height: 40px;
        padding-left: 5px;
    }

    .acompanhe-status-lbl, .acompanhe-data-lbl {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }
    
    .acompanhe-status-lbl1, .acompanhe-data-lbl1 {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }
    
    #img-correto{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }
    
    #pedidoFinalizadoModal
    {
      text-align: center; 
      margin-left: auto;
      margin-right: auto;
    }

    /* ── Barra superior sticky ── */
    #sticky-top-bar {
        position: sticky;
        top: 0;
        z-index: 200;
        box-shadow: 0 2px 6px rgba(0,0,0,0.07);
        background: #ffffff;
    }

    /* ── Barra de pesquisa ── */
    #barra-pesquisa {
        padding: 10px 12px 8px;
        background: #ffffff;
    }

    #pesquisa-wrapper {
        display: flex;
        align-items: center;
        background: #f2f2f2;
        border-radius: 22px;
        padding: 8px 14px;
    }

    #pesquisa-lupa {
        font-size: 16px;
        color: #999;
        margin-right: 8px;
    }

    #pesquisa-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 14px;
        color: #333;
        outline: none;
    }

    #pesquisa-input::placeholder { color: #aaa; }

    #pesquisa-limpar {
        color: #aaa;
        cursor: pointer;
        font-size: 14px;
        margin-left: 6px;
    }

    #resultados-pesquisa { background: #ffffff; }

    /* ── Navegação horizontal por grupos ── */
    #nav-grupos-wrapper {
        background: #ffffff;
        padding: 8px 0;
        border-bottom: 1px solid #eeeeee;
        position: relative;
    }

    #nav-grupos-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 35px;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
        pointer-events: none;
    }

    #nav-grupos {
        display: flex;
        overflow-x: auto;
        padding: 0 12px;
        gap: 8px;
        scrollbar-width: none;
    }

    #nav-grupos::-webkit-scrollbar { display: none; }

    .nav-grupo-chip {
        display: inline-block;
        white-space: nowrap;
        padding: 7px 16px;
        border-radius: 20px;
        background: #f2f2f2;
        font-family: "Arial";
        font-size: 13px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        flex-shrink: 0;
        user-select: none;
    }

    .nav-grupo-chip:hover { background: #e0e0e0; }

    .nav-grupo-chip-ativo {
        background: #00aa99 !important;
        color: #ffffff !important;
    }

}

@media (max-width: 650px) {

    #banner {
        height: 125px;
    }

    #header {
        width: 100%;
        margin-top: 125px;
    }

    #logo-div {
        width: 125px;
        height: 125px;
        margin-top: -55px;
        margin-left: 15px;
    }

    #logo {
        width: 125px;
        height: 125px;
    }

    #cart {
        right: 5%;
        top: 80%;
    }

    #nome {
        margin-top: 20px;
        margin-left: 15px;
    }

    #funcionamento-div {
        margin-top: 20px;
        margin-left: 15px;
    }

    #content {
    }

    #acompanhe-pedido-btn {
        margin-top: 30px;
    }

    .nome-grupo {
        margin-top: 40px;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .produto-div {
        width: 100%;
        min-height: 100px;
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
    }

    .produto-nome-true, .produto-nome-false {
        margin-left: 15px;
    }

    .produto-descricao {
        margin-left: 15px;
        max-height: 100px;
        min-width: 150px;
        overflow: hidden;
    }

    .produto-img {
        margin-right: 20px;
        margin-top: 0px;
        margin-left: 20px;
    }

    .produto-preco {
        margin-left: 15px;
    }

    .produto-adicionar {
        margin: 0px 20px 15px 0px;
    }

}

@media (min-width: 651px) and (max-width: 768px) {

    #banner {
        height: 300px;
    }

    #header {
        width: 80%;
        left: 10%;
        height: 180px;
        margin-top: 180px;
        border-radius: 10px;
    }

    #logo-div {
        width: 150px;
        height: 150px;
        margin-top: 15px;
        margin-left: 15px;
    }

    #logo {
        width: 150px;
        height: 150px;
    }

    #cart {
        right: 5%;
        top: 80%;
    }

    #nome {
        margin-top: -145px;
        margin-left: 205px;
    }

    #funcionamento-div {
        margin-left: 205px;
    }

    #content {
    }

    .nome-grupo {
        margin-top: 40px;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .produto-div {
        width: 100%;
        min-height: 100px;
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
    }

    .produto-nome-true, .produto-nome-false {
        margin-left: 15px;
    }

    .produto-descricao {
        margin-left: 15px;
        max-height: 100px;
        min-width: 150px;
        overflow: hidden;
    }

    .produto-img {
        margin-right: 20px;
        margin-top: 0px;
        margin-left: 20px;
    }

    .produto-preco {
        margin-left: 15px;
    }

    .produto-adicionar {
        margin: 0px 20px 15px 0px;
    }

}

@media (min-width: 769px) {

    #banner {
        height: 300px;
    }

    #header {
        width: 80%;
        left: 10%;
        height: 180px;
        margin-top: 180px;
        border-radius: 10px;
    }

    #logo-div {
        width: 150px;
        height: 150px;
        margin-top: 15px;
        margin-left: 15px;
    }

    #logo {
        width: 150px;
        height: 150px;
    }

    #cart {
        right: 5%;
        top: 80%;
    }

    #nome {
        margin-top: -145px;
        margin-left: 205px;
    }

    #funcionamento-div {
        margin-left: 205px;
    }

    #content {
        width: 70%;
        left: 15%;
    }

    .nome-grupo {
        margin-top: 40px;
        margin-bottom: 15px;
    }

    .produto-div {
        width: 100%;
        min-height: 100px;
        border-radius: 10px;
        padding-top: 1px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .produto-nome-true, .produto-nome-false {
        margin-left: 15px;
    }

    .produto-descricao {
        margin-left: 15px;
        max-height: 100px;
        min-width: 150px;
        overflow: hidden;
    }

    .produto-img {
        margin-right: 20px;
        margin-top: 0px;
        margin-left: 20px;
    }

    .produto-preco {
        margin-left: 15px;
    }

    .produto-adicionar {
        margin: 0px 20px 15px 0px;
    }
    
    /* Modal customizado */
    #pixModal .modal-dialog {
        max-width: 500px;  /* largura máxima do modal */
        width: 90%;        /* largura relativa à tela */
        height: auto;      /* altura automática */
        margin: 30px auto; /* centraliza e dá espaço no topo */
    }

    #pixModal .modal-content {
        padding: 20px;     /* espaço interno do conteúdo */
    }

}

.btn-whatsapp {
    background: #25d366;   /* verde WhatsApp */
    color: #ffffff;
    font-family: "Arial";
    font-size: 18px;
    font-weight: bold;
    border-radius: 7px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%; /* ocupa toda a largura do modal-footer */
    box-sizing: border-box;
}

.btn-whatsapp i {
    margin-right: 8px; /* espaço entre ícone e texto */
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    cursor: pointer;
}
