/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Rubik', sans-serif;
}

html,
body{
    min-height:100%;
}

body{
    background:#f5f5f5;
}

/* CONTAINER */
.container{
    max-width:1280px;
    margin:auto;
    padding:0 15px;
}

/* BANNER */
.banner{
    margin:10px auto;
    height:320px;
    border-radius:16px;
    overflow:hidden;
    position:relative;
    z-index:1;
    background:url('/img/banner1.png') center/cover;
    border:4px solid #fff;
}

/* INFO */
.info{
    display:flex;
    align-items:flex-end;
    gap:15px;
    padding-left:40px;
    margin-top:-65px;
    position:relative;
    z-index:2;
    max-width:900px;
}

.logo{
    margin-bottom:-20px;
    width:152px;
    height:152px;
    border-radius:16px;
    border:4px solid #fff;
    background:url('/img/logo.jpeg') center/cover;
    box-shadow:0 4px 12px rgba(0,0,0,0.25);
}

.textos h1{
    font-size:35px;
    font-weight:700;
    margin-bottom:22px;
    color:#161d26;
}

.status{
    color:#e53935;
    font-weight:500;
}

.cidade{
    color:#666;
    display:flex;
    align-items:center;
    gap:6px;
}

.cidade i{
    font-size:16px;
}

.linha{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:15px;
    margin-bottom:1px;
}

/* BUSCA */
.busca{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.busca input,
.busca select{
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    width:100%;
}

.card{
    background:#fff;
    border-radius:14px;
    display:flex;
    overflow:hidden;
}

.card-body{
    padding:12px;
}

.preco{
    font-weight:bold;
    margin-top:6px;
}

/* RESPONSIVO */
@media(max-width:768px){
    .grid{
        grid-template-columns:1fr;
    }

    .banner{
        height:180px;
    }
}

.dot{
    color:#333;
    font-size:22px;
    font-weight:900;
    line-height:1;
}


.mais-info{
    color:#5c5c5c;
    font-size:15px;
    font-weight:600;
    text-decoration:none;
}

.mais-info:hover{
    text-decoration:none;
    color:#000;
}

/* TOPO */
.top-bar{
    display:flex;
    gap:15px;
    justify-content:space-between;
    margin-top:55px;
    align-items:center;
}

@media(max-width:768px){
    .top-bar{
        margin-top:20px;
        justify-content:space-between;
        gap:10px;
        margin-left:12px;
        margin-right:12px;
    }

    .categoria-btn{
        flex:1;
    }
}

.top-bar select{
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    width:220px;
    background:#fff;
}

.top-bar input{
    flex:1;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
}

/* LAYOUT PRINCIPAL */
.layout{
    display:grid;
    grid-template-columns:1fr 320px;
    gap:20px;
    margin-top:30px;
    align-items:start;
}

/* SIDEBAR */
.sidebar{
    position:sticky;
    top:0px;
    margin-top:-25px;
}

.busca-btn{
    display:flex;
    align-items:center;
    gap:10px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:12px 16px;
    cursor:pointer;
    font-size:14px;
    color:#555;
    transition:all 0.25s ease;
}

.busca-btn i{
    color:#888;
    transition:0.2s;
}

.busca-btn span{
    font-weight:500;
    transition:0.2s;
}

@media(max-width:768px){
    .busca-btn span{
        display:none;
    }

    .busca-btn{
        flex:0 0 48px;
        width:48px;
        height:48px;
        padding:0;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:12px;
    }
}

/* BOTÃO CATEGORIA */
.categoria-btn{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:12px;
    padding:16px 16px;
    cursor:pointer;
    font-size:14px;
    color:#555;
}

.categoria-btn i{
    color:#888;
}

.categoria-btn span{
    font-weight:500;
}

/* DROPDOWN */
.categoria-box{
    position:relative;
}

.categoria-dropdown{
    position:absolute;
    top:110%;
    left:0;
    min-width:220px;
    width:max-content;
    max-width:320px;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    display:none;
    overflow:hidden;
    z-index:999;
}

.categoria-dropdown div{
    padding:12px 16px;
    font-size:14px;
    color:#555;
    cursor:pointer;
}

.categoria-dropdown div:hover{
    background:#f7f7f7;
}

/* TITULO */
.titulo{
    font-size:24px;
    font-weight:600;
    color:#2c2c2c;
    display:flex;
    align-items:center;
    gap:8px;
    margin:45px 0 25px;
}

/* LISTA */
.grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
}

@media(max-width:768px){
    .grid{
        grid-template-columns:1fr;
        gap:14px;
    }
}

.card{
    display:flex;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    width:100%;
    max-width:450px;
    min-height:160px;
    border:1px solid #ddd;
    transition:all 0.25s ease;
}

.card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,0.12);
}

/* IMAGEM */
.card-img{
    width:110px;
    min-width:110px;
    height:110px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border-radius:12px;
    margin:12px;
}

/* TEXTO */
.card-body{
    padding:12px;
    flex:1;
    display:flex;
    flex-direction:column;
}

.card-body h3{
    font-size:15px;
    font-weight:600;
    margin-bottom:4px;
}

.card-body p{
    font-size:13px;
    color:#666;
    margin-bottom:8px;
    line-height:1.5;
}

/* PREÇO */
.preco{
    margin-top:auto;
    font-weight:600;
    color:#000;
}

/* CARD FIDELIDADE */
.card-fidelidade{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:14px;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
    margin-top:-10px;
}

.fidelidade-header{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
    color:#333;
    margin-bottom:10px;
}

.fidelidade-header i{
    background:#000;
    color:#fff;
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:14px;
}

.fidelidade-body p{
    font-size:13px;
    color:#666;
    line-height:1.5;
}

.pontos{
    margin-top:10px;
    font-size:13px;
    color:#999;
}

/* CARD SACOLA */
.card-sacola{
    margin-top:12px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    overflow:hidden;
}

.sacola-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px;
    font-size:14px;
    color:#333;
    cursor:pointer;
    border-bottom:1px solid #eee;
}

.sacola-item i{
    font-size:18px;
    color:#888;
}

.cupom-texto{
    display:flex;
    flex-direction:column;
    flex:1;
}

.cupom-texto small{
    font-size:12px;
    color:#999;
}

.sacola-vazia{
    text-align:center;
    padding:70px 10px;
    color:#999;
}

.sacola-vazia.sacola-com-itens{
    padding:0;
    text-align:left;
    color:inherit;
}

.sacola-vazia i{
    font-size:42px;
    display:block;
    margin-bottom:8px;
}


@keyframes pulseCupom {
    0%{ transform:scale(1); opacity:1; }
    50%{ transform:scale(1.2); opacity:0.6; }
    100%{ transform:scale(1); opacity:1; }
}

.sacola-item:nth-child(3) i:first-child{
    color:#ff9800;
    animation:pulseCupom 1.5s infinite;
}

@media(max-width:768px){
    .container{
        padding:0;
    }

    .categoria{
        padding:0 12px;
    }

    .banner{
        width:100vw;
        height:200px;
        border-radius:0;
        margin:0;
        border:none;
    }

    .info{
        flex-direction:column;
        align-items:center;
        text-align:center;
        margin-top:-70px;
        padding:0;
    }

    .logo{
        width:120px;
        height:120px;
        margin:0 auto -20px auto;
        border-radius:70px;
    }

    .textos h1{
        font-size:22px;
        margin-top:10px;
    }

    .linha{
        justify-content:center;
        flex-wrap:wrap;
        gap:8px;
    }

    .layout{
        display:flex;
        flex-direction:column;
        background:#fff;
        border-top-left-radius:20px;
        border-top-right-radius:20px;
        margin-top:-20px;
        padding-top:15px;
        position:relative;
        z-index:2;
    }

    .sidebar{
        position:relative;
        top:0;
        margin-top:15px;
    }

    .status{
        order:2;
        width:100%;
        text-align:center;
        margin-top:4px;
    }

    .cidade{
        order:1;
    }

    .mais-info{
        order:1;
    }

    .dot{
        display:none;
    }

    .conteudo{
        display:flex;
        flex-direction:column;
    }

    .info{
        order:1;
    }

    .fidelidade-topo{
        order:2;
    }

    .top-bar{
        order:3;
    }

    .categoria{
        order:4;
    }

    .card-fidelidade{
        margin-left:12px;
        margin-right:12px;
    }

    .card-sacola{
        display:none !important;
    }
}

/* ESCONDE O TOPO NO DESKTOP */
.fidelidade-topo{
    display:none;
}

/* MOBILE */
@media(max-width:768px){
    .fidelidade-topo{
        display:block;
        margin-top:40px;
    }

    .fidelidade-mobile{
        display:none;
    }
}

/* FUNDO ESCURO + CENTRALIZAÇÃO */
.modal-produto{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
    overflow:hidden;
}

/* CAIXA DO MODAL */
.modal-box{
    width:90%;
    max-width:920px;
    height:560px;
    max-height:calc(100dvh - 32px);
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

/* CONTEÚDO */
.modal-conteudo{
    display:flex;
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
}

/* ESQUERDA */
.modal-left{
    flex:0 0 50%;
    min-width:0;
    overflow:hidden;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
}

.modal-img{
    width:350px;
    height:350px;
    max-width:80%;
    max-height:80%;
    background-size:cover;
    background-position:center;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(0,0,0,0.18);
}

/* DIREITA */
.modal-right{
    flex:1 1 0;
    min-width:0;
    min-height:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

/* INFO */
.modal-info{
    padding:0 0 18px;
    margin-bottom:15px;
    border-bottom:1px solid #eee;
}

.modal-info h2{
    font-size:18px;
    margin-bottom:5px;
}

.modal-info p{
    font-size:14px;
    color:#666;
}

.modal-preco{
    font-weight:bold;
    margin-top:10px;
    font-size:16px;
}

/* OPÇÕES */
.modal-opcoes{
    flex:1 1 auto;
    min-height:0;
    padding:15px;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
}

/* RESPONSIVO MODAL */
@media(max-width:768px){
    .modal-produto{
        padding-top:0px;
        padding-right:10px;
        padding-bottom:65px;
        padding-left:10px;

        align-items:center;
        justify-content:center;
    }

    .modal-box{
        width:100%;
        height:calc(100dvh - 96px);
        max-height:calc(100dvh - 96px);
        border-radius:16px;
        display:flex;
        flex-direction:column;
        overflow:hidden;
    }

    .modal-conteudo{
        flex:1 1 auto;
        min-height:0;
        overflow-y:auto;
        overflow-x:hidden;
        flex-direction:column;
    }

    .modal-left{
        flex:0 0 auto;
        width:100%;
        height:auto;
        min-height:0;
        padding:16px 0 6px;
    }

    .modal-img{
        width:150px;
        height:150px;
    }

    .modal-right{
        flex:0 0 auto;
        width:100%;
        min-height:auto;
        overflow:visible;
    }

    .modal-opcoes{
        flex:0 0 auto;
        min-height:auto;
        overflow:visible;
        padding:10px 15px 15px;
    }

    .modal-footer{
        flex:0 0 auto;
        width:100%;
        max-width:100%;

        margin:0;
        padding:8px 8px;

        display:grid;
        grid-template-columns:86px minmax(0, 1fr);
        gap:6px;

        background:#fff;
        border-top:1px solid #eee;
        overflow:hidden;
    }

    .controle-quantidade{
        width:86px;
        min-width:0;
        max-width:86px;
        height:44px;
        flex:none;
    }

    .controle-quantidade button{
        width:27px;
        height:44px;
        font-size:20px;
    }

    .controle-quantidade span{
        min-width:26px;
        font-size:14px;
    }

    .btn-adicionar-pedido{
        width:100%;
        min-width:0;
        max-width:100%;
        height:44px;
        flex:none;
        padding:0 10px;
        overflow:hidden;
    }

    .btn-adicionar-pedido span,
    .btn-adicionar-pedido strong{
        min-width:0;
        white-space:nowrap;
    }


}

/* CARD CLICÁVEL */
.card{
    cursor:pointer;
    position:relative;
    z-index:5;
}

.modal-header{
    flex:0 0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 16px;
    border-bottom:1px solid #eee;
}

.titulo-modal{
    font-size:20px;
    font-weight:600;
    color:#161d26;
}

.modal-header button{
    width:34px;
    height:34px;
    border-radius:50%;
    border:none;
    background:#f1f1f1;
    font-size:16px;
    cursor:pointer;
    transition:0.2s;
}

.modal-header button:hover{
    background:#e0e0e0;
}

.opcao-bloco{
    border-bottom:1px solid #eee;
    margin-bottom:10px;
    padding-bottom:10px;
}

.opcao-topo{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:8px;
}

.topo-right{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}

.topo-left{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.topo-left strong{
    font-size:15px;
}

.sub-info{
    font-size:12px;
    color:#777;
    margin-top:4px;
}

.contador{
    font-size:11px;
    color:#fff;
    background:#6b7280;
    padding:3px 8px;
    border-radius:6px;
    display:inline-block;
    margin-top:0;
    white-space:nowrap;
}

.contador.ok{
    background:#16a34a;
}

.badge-obg{
    background:#6b7280;
    color:#fff;
    padding:3px 8px;
    border-radius:6px;
    font-size:11px;
    white-space:nowrap;
}

/* ITEM */
.opcao-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
    border-top:1px solid #eee;
    cursor:pointer;
}

/* LINHA */
.opcao-linha{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    width:100%;
    gap:12px;
}

/* BLOCO TEXTO */
.info-opcao{
    display:flex;
    flex-direction:column;
    max-width:80%;
    min-width:0;
}

/* NOME */
.nome-opcao{
    font-size:14px;
    font-weight:500;
}

/* DESCRIÇÃO */
.desc-opcao{
    display:block;
    font-size:12px;
    color:#777;
    margin-top:2px;
    line-height:1.4;
    word-break:break-word;
}

/* PREÇO */
.preco-add{
    margin-top:4px;
    color:#333;
    font-weight:600;
    font-size:14px;
}

/* INPUT ORIGINAL ESCONDIDO */
.check-opcao{
    position:absolute;
    right:0;
    top:50%;
    width:20px;
    height:20px;
    margin:0;
    opacity:0;
    transform:translateY(-50%);
    pointer-events:none;
}

/* BOLINHA */
.fake-check{
    flex:0 0 20px;
    width:20px;
    height:20px;
    border-radius:50%;
    border:2px solid #ccc;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all 0.2s ease;
}

.fake-check::after{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    background:#000;
    transform:scale(0);
    transition:0.2s;
}

.check-opcao:checked + .fake-check{
    border-color:#000;
}

.check-opcao:checked + .fake-check::after{
    transform:scale(1);
}

.check-ok{
    width:18px;
    height:18px;
    border-radius:50%;
    background:#16a34a;
    color:#fff;
    font-size:12px;
    align-items:center;
    justify-content:center;
    display:none;
}

/* RODAPÉ DO MODAL */
.modal-footer{
    flex:0 0 auto;

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;

    padding:10px 16px;
    border-top:1px solid #eee;

    background:#fff;
}

/* CONTROLE DE QUANTIDADE */
.controle-quantidade{
    width:112px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#f3f4f6;
    border-radius:8px;

    overflow:hidden;
    flex:0 0 112px;
}

.controle-quantidade button{
    width:36px;
    height:44px;

    border:none;
    background:transparent;

    font-size:22px;
    font-weight:500;
    color:#111827;

    cursor:pointer;
}

.controle-quantidade button:disabled{
    color:#c7c7c7;
    cursor:not-allowed;
}

.controle-quantidade span{
    min-width:34px;
    text-align:center;

    font-size:15px;
    font-weight:600;
    color:#111827;
}

/* BOTAO ADICIONAR */
.btn-adicionar-pedido{
    width:236px;
    height:44px;
    flex:0 0 236px;

    border:none;
    border-radius:8px;

    background:#000;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    padding:0 14px;

    font-size:14px;
    font-weight:700;

    cursor:pointer;
}

.btn-adicionar-pedido strong{
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
}

.btn-adicionar-pedido.bloqueado{
    background:#d1d5db;
    color:#6b7280;
    cursor:pointer;
}

.opcao-topo.alerta-obrigatorio{
    background:#fff1f2;
    border:1px solid #ef4444;
    border-radius:8px;
    padding:8px 10px;
}










.modal-entrega {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.entrega-box {
    width: 100%;
    max-width: 445px;
    min-height: 575px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.entrega-header {
    height: 62px;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1f2937;
    font-size: 18px;
}

.entrega-header button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 22px;
    cursor: pointer;
}

.entrega-body {
    padding: 24px 20px;
    text-align: center;
}

.entrega-body p {
    max-width: 310px;
    margin: 0 auto 34px;
    color: #374151;
    font-size: 16px;
    line-height: 1.45;
}

#cepEntrega {
    width: 100%;
    border: none;
    outline: none;
    text-align: center;
    font-size: 38px;
    color: #111827;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

#cepEntrega::placeholder {
    color: #c7ccd5;
}

.entrega-body > button {
    width: 240px;
    height: 40px;
    border: none;
    border-radius: 5px;
    background: #8c8c8c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.entrega-body small {
    display: block;
    margin-top: 34px;
    color: #4b5563;
    font-weight: 600;
}

.campo {
    text-align: left;
    margin-bottom: 16px;
}

.campo label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 -2px 12px;
    background: #fff;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.campo input {
    width: 100%;
    height: 40px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 16px;
    outline: none;
}

.campo small {
    margin: 5px 0 0 12px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
}

.linha-campos {
    display: flex;
    gap: 10px;
}

.campo.maior {
    flex: 1;
}

.campo.menor {
    width: 92px;
}

.entrega-acoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}

.entrega-acoes button {
    height: 47px;
    border-radius: 5px;
    font-weight: 800;
    cursor: pointer;
}

.btn-voltar {
    background: #fff;
    border: 1px solid #777;
    color: #111;
}

.btn-confirmar {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.erro-cep {
    margin-top: 14px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
}


.campo select{
    width:100%;
    padding:14px 12px;
    border-radius:8px;
    border:1px solid #ddd;
    font-size:14px;
    outline:none;
    color:#444;
    background:#fff;
}



.barra-sacola-mobile {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --altura-menu-mobile: 65px;
    }

    body.tem-sacola-mobile {
        padding-bottom: 0px;
    }

    .barra-sacola-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--altura-menu-mobile);
        z-index: 9998;
        height: 52px;
        background: #000;
        color: #fff;
        display: none;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 -4px 14px rgba(0,0,0,0.18);
        cursor: pointer;
    }

    .barra-sacola-mobile.ativa {
        display: flex;
    }

    .barra-sacola-icone {
        position: relative;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .barra-sacola-icone i {
        font-size: 24px;
        color: #fff;
    }

    .barra-sacola-icone span {
        position: absolute;
        right: 4px;
        top: 2px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 50px;
        background: #fff;
        color: #000;
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .barra-sacola-mobile strong {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
    }

    .barra-sacola-mobile > span {
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
    }
}



.modal-sacola-mobile {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99997;
    align-items: center;
    justify-content: center;
    padding: 18px 12px calc(var(--altura-menu-mobile) + 12px);
}

.sacola-mobile-box {
    width: 100%;
    max-width: 438px;
    max-height: calc(100dvh - 105px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 40px rgba(0,0,0,0.28);
}

.sacola-mobile-header {
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sacola-mobile-header strong {
    font-size: 18px;
    color: #1f2937;
}

.sacola-mobile-header button {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.sacola-mobile-conteudo {
    overflow-y: auto;
    padding: 0 12px 12px;
}

.sacola-mobile-endereco {
    min-height: 64px;
    padding: 12px 4px;
    border-bottom: 1px dashed #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.sacola-mobile-endereco i {
    font-size: 20px;
    color: #9ca3af;
}

.sacola-mobile-endereco div {
    flex: 1;
    min-width: 0;
}

.sacola-mobile-endereco strong {
    display: block;
    font-size: 13px;
    color: #374151;
    line-height: 1.35;
}

.sacola-mobile-endereco small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #8a94a6;
}

.sacola-mobile-titulo {
    padding: 14px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sacola-mobile-titulo strong {
    font-size: 16px;
    color: #111827;
}

.sacola-mobile-titulo span {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
}

.sacola-mobile-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.sacola-mobile-item-info {
    flex: 1;
    min-width: 0;
}

.sacola-mobile-item-topo {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    color: #111827;
}

.sacola-mobile-item-topo strong {
    font-size: 14px;
}

.sacola-mobile-opcoes {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.sacola-mobile-acoes {
    margin-top: 10px;
    display: flex;
    gap: 26px;
}

.sacola-mobile-acoes span {
    font-size: 12px;
    cursor: pointer;
}

.sacola-mobile-acoes span:first-child {
    color: #000;
    font-weight: 700;
}

.sacola-mobile-acoes span:last-child {
    color: #9ca3af;
}

.sacola-mobile-img {
    width: 58px;
    height: 58px;
    border-radius: 7px;
    background-size: cover;
    background-position: center;
    flex: 0 0 58px;
    margin-top: 28px;
}

.sacola-mobile-add {
    width: 100%;
    border: none;
    background: #fff;
    color: #000;
    padding: 18px 0 26px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.sacola-mobile-resumo {
    border-top: 1px solid #eee;
    padding: 12px 4px 0;
}

.sacola-mobile-linha {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    font-size: 13px;
    color: #6b7280;
}

.sacola-mobile-total {
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
}

.sacola-mobile-cupom {
    margin-top: 14px;
    padding: 13px 4px;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #374151;
}

.sacola-mobile-cupom div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sacola-mobile-cupom strong {
    font-size: 13px;
}

.sacola-mobile-cupom small {
    font-size: 12px;
    color: #9ca3af;
}

.sacola-mobile-finalizar {
    width: 100%;
    margin-top: 12px;
    height: 48px;
    border: none;
    border-radius: 6px;
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

@media (min-width: 769px) {
    .modal-sacola-mobile {
        display: none !important;
    }
}








.modal-pagamento{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:999999;
    align-items:center;
    justify-content:center;
}

.pagamento-box{
    width:445px;
    max-width:94%;
    max-height:90vh;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    font-family:'Rubik', Arial, sans-serif;
}

.pagamento-header{
    height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
    border-bottom:1px solid #eee;
}

.pagamento-header button{
    background:none;
    border:none;
    font-size:22px;
    cursor:pointer;
    color:#222;
}

.pagamento-header strong{
    font-size:16px;
    font-weight:500;
    color:#374151;
}

.pagamento-passos{
    display:flex;
    align-items:flex-start;
    padding:14px 28px 22px;
    border-bottom:1px solid #eee;
}

.passo{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#e5e7eb;
    color:#9ca3af;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:700;
    position:relative;
    flex-shrink:0;
}

.passo span{
    position:absolute;
    top:25px;
    left:50%;
    transform:translateX(-50%);
    font-size:10px;
    color:#6b7280;
    font-weight:500;
    white-space:nowrap;
}

.passo.ativo,
.passo.atual{
    background:#000;
    color:#fff;
}

.linha-passo{
    height:4px;
    background:#000;
    flex:1;
    margin-top:9px;
}

.linha-passo.cinza{
    background:#e5e7eb;
}

.pagamento-body{
    padding:18px 20px;
    overflow:auto;
}

.pagamento-body h3{
    font-size:16px;
    margin:0 0 12px;
    color:#374151;
}

.pagamento-body h3:not(:first-child){
    margin-top:22px;
}

.pagamento-opcao{
    min-height:48px;
    background:#f3f4f6;
    border:1px solid #e5e7eb;
    border-radius:6px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 12px;
    margin-bottom:10px;
    cursor:pointer;
    transition:.2s;
    position:relative;
}

.pagamento-opcao.ativo{
    border-color:#000;
    background:#fff;
    box-shadow:0 0 0 2px rgba(0,0,0,.08);
}

.pagamento-opcao i{
    font-size:24px;
    color:#374151;
}

.pagamento-opcao span{
    flex:1;
    font-size:14px;
    color:#374151;
}

.pagamento-check{
    width:20px;
    height:20px;
    border-radius:50%;
    background:#000;
    color:#fff;
    display:none;
    align-items:center;
    justify-content:center;
    font-size:12px;
    line-height:1;
    flex:0 0 20px;
}

.pagamento-opcao.ativo .pagamento-check{
    display:flex;
}

.pagamento-opcao.ativo[data-pagamento="dinheiro"]{
    min-height:82px;
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    gap:8px;
    padding:10px 12px;
}


.pagamento-opcao-linha{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
}

.pagamento-opcao-linha span{
    flex:1;
}

.pagamento-detalhe{
    display:none;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding-left:38px;
}

.pagamento-opcao.ativo .pagamento-detalhe{
    display:flex;
}

.pagamento-detalhe small{
    border:none;
    padding:0;
    color:#6b7280;
    font-size:13px;
    font-weight:400;
}

.pagamento-detalhe button{
    border:none;
    background:transparent;
    color:#111;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.modal-troco{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:1000000;
    align-items:center;
    justify-content:center;
}

.troco-box{
    width:288px;
    background:#fff;
    border-radius:10px;
    padding:24px;
    text-align:center;
    box-shadow:0 14px 40px rgba(0,0,0,.28);
}

.troco-box p{
    font-size:16px;
    line-height:1.45;
    color:#374151;
    margin-bottom:28px;
}

.troco-box h3{
    font-size:16px;
    color:#1f2937;
    margin-bottom:28px;
}

.troco-acoes{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.troco-acoes button{
    height:42px;
    border-radius:6px;
    font-size:14px;
    font-weight:800;
    cursor:pointer;
}

.troco-nao{
    background:#fff;
    color:#111;
    border:1px solid #999;
}

.troco-sim{
    background:#000;
    color:#fff;
    border:1px solid #000;
}

#valorTroco{
    width:100%;
    height:44px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:0 12px;
    font-size:16px;
    text-align:center;
    margin-bottom:18px;
}

.pagamento-opcao small{
    border:1px solid #19c37d;
    color:#0f9f64;
    padding:6px 10px;
    border-radius:7px;
    font-size:12px;
    font-weight:600;
}

.btn-duas-formas{
    width:100%;
    border:none;
    background:#fff;
    padding:18px 8px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.pagamento-resumo{
    border-top:1px dashed #ddd;
    padding-top:14px;
}

.pagamento-resumo div{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-size:13px;
    color:#6b7280;
}

.pagamento-resumo strong{
    font-weight:500;
}

.pagamento-total span,
.pagamento-total strong{
    color:#111;
    font-size:16px;
    font-weight:700;
}

.pagamento-footer{
    padding:12px 16px 16px;
    border-top:1px solid #eee;
}

.pagamento-footer button{
    width:100%;
    height:46px;
    background:#000;
    color:#fff;
    border:none;
    border-radius:8px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

@media(max-width:768px){
    .modal-pagamento{
        align-items:center;
        justify-content:center;
        padding:12px;
    }

    .pagamento-box{
        width:100%;
        max-width:480px;
        height:auto;
        max-height:calc(100dvh - 24px);
        border-radius:16px;
    }

    .pagamento-body{
        padding:18px 20px 12px;
    }

    .pagamento-footer{
        padding:12px 16px 16px;
    }

    .pagamento-footer button{
        height:48px;
        border-radius:8px;
    }
}


.confirmacao-bloco {
    border-bottom: 1px dashed #e1e4e8;
    padding: 12px 0;
}

.confirmacao-bloco > span {
    display: block;
    font-size: 13px;
    color: #7b8490;
    margin-bottom: 6px;
}

.confirmacao-bloco strong {
    display: block;
    font-size: 14px;
    color: #283241;
}

.confirmacao-bloco small {
    display: block;
    font-size: 12px;
    color: #7b8490;
    margin-top: 3px;
    line-height: 1.4;
}

.confirmacao-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
}

.confirmacao-item span {
    font-size: 13px;
    font-weight: 600;
    color: #283241;
    white-space: nowrap;
}


.status-loja{
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-weight:700;
}

.status-loja::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    flex:0 0 auto;
}

.status-loja.aberto{
    color:#12b85a;
}

.status-loja.aberto::before{
    background:#12d66b;
    box-shadow:0 0 0 4px rgba(18,214,107,0.14);
}

.status-loja.fechado{
    color:#d03434;
}

.status-loja.fechado::before{
    background:#d03434;
    box-shadow:0 0 0 4px rgba(208,52,52,0.12);
}

.btn-fechado{
    width:calc(100% - 20px);
    margin:0 10px 10px;
    padding:14px;
    border:none;
    border-radius:8px;
    background:#eee;
    color:#666;
    font-size:14px;
    font-weight:800;
    line-height:1.2;
    cursor:not-allowed;
    display:block;
}

.btn-fechado.loja-aberta{
    background:#19c463;
    color:#fff;
    cursor:default;
}

.btn-fechado.loja-fechada{
    background:#eee;
    color:#666;
    cursor:not-allowed;
}

@media(max-width:768px){
    .info .linha{
        justify-content:center;
        text-align:center;
        gap:6px;
    }

    .status-loja{
        justify-content:center;
        text-align:center;
    }
}




.modal-mais-info{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.58);
    z-index:999999;
    align-items:center;
    justify-content:center;
    padding:18px;
}

.mais-info-box{
    width:620px;
    max-width:100%;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    color:#1f2937;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}

.mais-info-header{
    min-height:68px;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.mais-info-header strong{
    display:block;
    font-size:21px;
    color:#1f2937;
}

.mais-info-header small{
    display:block;
    margin-top:3px;
    color:#8a8f99;
    font-size:12px;
}

.mais-info-header button{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#eef0f3;
    color:#687080;
    font-size:20px;
    cursor:pointer;
}

.mais-info-tabs{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    border-top:1px solid #f1f2f4;
    border-bottom:1px solid #e5e7eb;
}

.mais-info-tabs button{
    height:54px;
    border:none;
    background:#fff;
    color:#7a7f89;
    font-weight:800;
    font-size:13px;
    cursor:pointer;
}

.mais-info-tabs button.ativo{
    color:#000;
    border-bottom:2px solid #000;
}

.mais-info-body{
    padding:24px;
    min-height:310px;
}

.aba-info{
    display:none;
}

.aba-info.ativa{
    display:block;
}

.sobre-card{
    display:flex;
    gap:18px;
    align-items:flex-start;
}

.sobre-logo{
    width:96px;
    height:96px;
    border-radius:12px;
    background:url('/admin/img/favicon.png') center/cover no-repeat;
    border:1px solid #e5e7eb;
    flex:0 0 96px;
}

.sobre-texto p{
    margin:0 0 14px;
    color:#374151;
    font-size:15px;
    line-height:1.55;
}

.sobre-detalhes{
    display:grid;
    gap:8px;
    color:#374151;
    font-size:14px;
}

.sobre-detalhes i{
    margin-right:7px;
    color:#111;
}

.info-section-title{
    margin:24px 0 12px;
    font-weight:800;
    color:#1f2937;
}

.contato-info{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.contato-info a{
    height:42px;
    padding:0 14px;
    border:1px solid #111;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#111;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
}

.horario-lista{
    display:grid;
    gap:8px;
}

.horario-lista div{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding:13px 14px;
    border-radius:10px;
    color:#374151;
}

.horario-lista div.hoje{
    background:#f2f3f5;
}

.horario-lista span{
    font-size:15px;
}

.horario-lista strong{
    font-size:15px;
    color:#1f2937;
}

.pagamento-lista-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.pagamento-lista-info div{
    min-height:54px;
    padding:0 16px;
    border-radius:10px;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    gap:12px;
    color:#374151;
    font-weight:800;
}

.pagamento-lista-info i{
    font-size:20px;
    color:#111;
}

@media(max-width:768px){
    .mais-info-box{
        max-height:88vh;
        overflow:auto;
    }

    .sobre-card{
        flex-direction:column;
    }

    .pagamento-lista-info{
        grid-template-columns:1fr;
    }

    .horario-lista div{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
}






.modal-loja-fechada{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.loja-fechada-box{
    width:100%;
    max-width:360px;
    background:#fff;
    border-radius:14px;
    padding:26px 22px 22px;
    text-align:center;
    position:relative;
    box-shadow:0 20px 50px rgba(0,0,0,0.25);
    animation:lojaFechadaEntrar .18s ease;
}

.loja-fechada-close{
    position:absolute;
    top:10px;
    right:10px;
    width:32px;
    height:32px;
    border:none;
    background:#f1f2f4;
    border-radius:50%;
    cursor:pointer;
    font-size:16px;
    color:#333;
}

.loja-fechada-icone{
    width:58px;
    height:58px;
    margin:0 auto 14px;
    border-radius:50%;
    background:#fff3e6;
    color:#c96b00;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.loja-fechada-box h3{
    margin:0 0 8px;
    font-size:20px;
    color:#161d26;
}

.loja-fechada-box p{
    margin:0 0 20px;
    font-size:15px;
    color:#555;
    line-height:1.4;
}

.loja-fechada-box > button:last-child{
    width:100%;
    border:none;
    background:#000;
    color:#fff;
    padding:14px;
    border-radius:8px;
    font-weight:800;
    cursor:pointer;
}

@keyframes lojaFechadaEntrar{
    from{
        opacity:0;
        transform:translateY(10px) scale(0.98);
    }

    to{
        opacity:1;
        transform:none;
    }
}




.popup-erro{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:9999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.popup-erro-box{
    width:100%;
    max-width:360px;
    background:#fff;
    border-radius:14px;
    padding:28px 22px 22px;
    text-align:center;
    position:relative;
    box-shadow:0 18px 45px rgba(0,0,0,0.25);
}

.popup-erro-close{
    position:absolute;
    top:10px;
    right:12px;
    border:none;
    background:transparent;
    font-size:20px;
    cursor:pointer;
    color:#333;
}

.popup-erro-icone{
    width:54px;
    height:54px;
    border-radius:50%;
    background:#fff1f1;
    color:#b00020;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 14px;
    font-size:30px;
}

.popup-erro-box h3{
    margin:0 0 8px;
    font-size:22px;
    color:#111;
}

.popup-erro-box p{
    margin:0 0 20px;
    font-size:15px;
    color:#555;
}

.popup-erro-box > button:last-child{
    width:100%;
    padding:13px;
    border:none;
    border-radius:8px;
    background:#000;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}



.observacao-produto{
    padding:16px 0 4px;
    border-top:1px solid #eee;
    margin-top:12px;
}

.observacao-topo{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}

.observacao-topo label{
    font-size:13px;
    color:#6b7280;
    font-weight:500;
}

.observacao-topo span{
    font-size:12px;
    color:#8b95a1;
}

.observacao-produto textarea{
    width:100%;
    height:78px;
    resize:none;
    border:1px solid #d7dbe1;
    border-radius:8px;
    padding:11px 12px;
    font-size:14px;
    color:#161d26;
    outline:none;
    box-sizing:border-box;
    font-family:inherit;
}

.observacao-produto textarea:focus{
    border-color:#111;
}






.modal-busca-produtos{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:999999;
    padding:20px;
}

.busca-produtos-box{
    width:100%;
    max-width:1150px;
    min-height:430px;
    max-height:72vh;
    background:#f7f8fa;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 24px 60px rgba(0,0,0,0.28);
    display:flex;
    flex-direction:column;
}

.busca-produtos-topo{
    height:68px;
    background:#fff;
    border-bottom:1px solid #e5e5e5;
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 22px;
}

.busca-produtos-topo i{
    font-size:24px;
    color:#98a1ad;
}

.busca-produtos-topo input{
    flex:1;
    border:none;
    outline:none;
    font-size:20px;
    color:#1f2937;
    background:transparent;
}

.busca-produtos-topo input::placeholder{
    color:#98a1ad;
    font-weight:500;
}

.busca-limpar{
    border:none;
    background:transparent;
    color:#8b93a1;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    display:none;
}

.busca-fechar{
    border:none;
    background:transparent;
    color:#98a1ad;
    font-size:28px;
    cursor:pointer;
    line-height:1;
}

.busca-produtos-conteudo{
    padding:20px;
    overflow:auto;
    flex:1;
}

.busca-vazia{
    min-height:320px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    color:#c4cad3;
}

.busca-vazia i{
    font-size:92px;
    line-height:1;
}

.busca-vazia p{
    margin-top:14px;
    font-size:15px;
    color:#9aa3af;
}

.busca-resultados{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
}

.busca-produto-card{
    background:#fff;
    border:1px solid #e3e6ea;
    border-radius:8px;
    min-height:150px;
    padding:16px;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    gap:14px;
    transition:0.2s;
}

.busca-produto-card:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.busca-produto-info{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-width:0;
}

.busca-produto-info strong{
    font-size:16px;
    color:#243044;
    line-height:1.25;
}

.busca-produto-info small{
    display:block;
    margin-top:7px;
    color:#8b93a1;
    font-size:13px;
    line-height:1.35;
}

.busca-produto-info span{
    display:block;
    margin-top:12px;
    color:#243044;
    font-size:15px;
    font-weight:500;
}

.busca-produto-img{
    width:115px;
    min-width:115px;
    height:115px;
    border-radius:8px;
    background:center/cover no-repeat;
}

@media(max-width:768px){
    .modal-busca-produtos{
        padding:0;
        align-items:stretch;
    }

    .busca-produtos-box{
        max-height:none;
        height:100%;
        border-radius:0;
    }

    .busca-produtos-topo{
        height:62px;
        padding:0 15px;
    }

    .busca-produtos-topo input{
        font-size:16px;
    }

    .busca-resultados{
        grid-template-columns:1fr;
        gap:12px;
    }

    .busca-produto-card{
        min-height:130px;
    }

    .busca-produto-img{
        width:95px;
        min-width:95px;
        height:95px;
    }
}

.contato-info a {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
}

.contato-info a:hover {
    transform: translateY(-3px);
    background-color: #111;
    color: #fff;
    border-color: #111;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.contato-info a i {
    transition: transform 0.22s ease;
}

.contato-info a:hover i {
    transform: scale(1.1);
}