@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

.noScroll {
    overflow: hidden;
}

/* ADICIONADO PARA INSTAGRAM , ENDERECO E TELEFONE*/

.contato-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    font-family: "Roboto", sans-serif;
}

.link-contato {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.link-contato:hover {
    text-decoration: underline;
}

.separador {
    color: #ccc;
}

.endereco a {
    color: #fff; /* branco */
    text-decoration: none;
    font-weight: 500;
    
}

.endereco a:hover {
    text-decoration: underline;
    color: #ccc; /* cinza claro no hover */
}

.static-img {
    width: 30px;
    height: 30px;
}

/* ATÉ AQUI */

.box-cabecalho {
  
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  

  /* a mágica */
  
  margin-top: 5px; /* invade a capa */
  z-index: 2;
}

.Tituloprincipal {
    color: white;
    font-size: 1.5rem;
    font-family: "Roboto", sans-serif;
    z-index: 2;

}

.logoprincipal {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);

    
    
    z-index: 2;
}

/*.logoprincipal:hover {
    transform: scale(1.1);
    
}*/

.endereco {
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
}

.horario {
    color: white;
    background-color: #54CC0A;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 30px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

/* Fim do cabecalho*/


.msgmenu {
    color: black;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 45px;

}


/* ALTERADO */
.msg-bebidas {
    color: black;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 45px;

}




/* Inicio Menu*/

.conteudo-comida {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    grid-template-columns: repeat(1fr);
    gap: 45px;
    max-width: 1280px;
    
}


.div-info-produtos{
    display: flex;
    gap: 12px;
    width: 100%;

}


.div-price{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}



.nome-produto {
    margin-top: 10px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

.descricao-produto {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preço-produto {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

.btn-adicionar-carrinho {
    background-color: #000000;
    padding: 4px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;

}

.h2-titulo-carrinho {
    font-family: "Roboto", sans-serif;
}


/* modal retirada e entrega */

.background-retirada-entrega {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
    height: 100%;
    width: 100%;
    z-index: 9999;
    padding: 20px;
}

.modal-retirada-entrega {
    width: min(100%, 560px);
    max-height: min(86vh, 760px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-weight: 600;
    text-align: left;
    align-items: stretch;
}

.h2-retirada-entrega {
    margin: 0;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.1;
    color: #0f172a;
}

.img-btn-entrega, .img-btn-retirada {
    width: 40px;
    height: 40px;
}

.retirada-hero {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 2px 2px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    text-align: left;
}

.retirada-hero__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--accent-10, rgba(84, 204, 10, 0.12));
    color: var(--accent, #54CC0A);
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.retirada-hero__copy {
    min-width: 0;
}

.retirada-hero__eyebrow {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent, #54CC0A);
}

.retirada-hero__lead {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
}

.retirada-choices {
    display: grid;
    gap: 12px;
}

.btns-retirada-entrega,
.retirada-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.btn-entrega,
.btn-retirada {
    font-family: "Inter", "Roboto", sans-serif;
    border: 1px solid #adacac;
    background: #fff;
    color: #0f172a;
    border-radius: 18px;
    padding: 15px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-entrega:hover,
.btn-retirada:hover {
    transform: translateY(-2px);
    border-color: #8f8f8f;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.10);
}

.btn-entrega.one-selecionado,
.btn-retirada.one-selecionado {
    border: 2px solid var(--accent, #54CC0A);
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent, #54CC0A) 5%, #fff) 100%);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10), 0 0 0 4px var(--accent-10, rgba(84, 204, 10, 0.12));
}

.choice-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 1.1rem;
}

.choice-icon--accent {
    background: var(--accent-10, rgba(84, 204, 10, 0.12));
    color: var(--accent, #54CC0A);
}

.choice-icon--soft {
    background: var(--accent-10, rgba(84, 204, 10, 0.12));
    color: var(--accent, #54CC0A);
}

.choice-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.choice-title {
    font-size: 0.98rem;
    font-weight: 800;
}

.choice-subtitle {
    font-size: 0.9rem;
    color: #64748b;
}

.choice-arrow {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--accent, #54CC0A);
    background: var(--accent-10, rgba(84, 204, 10, 0.12));
    flex: 0 0 auto;
}

.btn-retornar-carrinho {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 1.5px solid rgba(100, 116, 139, 0.38);
    border-radius: 14px;
    color: #0f172a;
    background: #fff;
    cursor: pointer;
    box-shadow: none;
}

.btn-proximo-endereco {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 14px;
    color: #08120b;
    background: var(--accent, #54CC0A);
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(84, 204, 10, 0.20);
}

.img-proximo {
    color: rgb(0, 0, 0);
    width: 15px;
    height: 15px;
}

.one-selecionado {
    border: 1px solid var(--accent, #54CC0A);
}

.btn-entrega.one-selecionado,
.btn-retirada.one-selecionado {
    border: 2px solid var(--accent, #54CC0A);
}

@media (max-width: 640px) {
    .background-retirada-entrega {
        padding: 12px;
        align-items: flex-end;
    }

    .modal-retirada-entrega {
        width: 100%;
        max-height: 88vh;
        padding: 18px;
        border-radius: 22px 22px 18px 18px;
        gap: 14px;
    }

    .retirada-hero {
        gap: 12px;
        padding-bottom: 10px;
    }

    .retirada-hero__icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .h2-retirada-entrega {
        font-size: 1.18rem;
    }

    .btn-entrega,
    .btn-retirada {
        padding: 14px;
        gap: 12px;
        border-radius: 16px;
    }

    .choice-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .choice-arrow {
        width: 32px;
        height: 32px;
    }

    .retirada-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-retornar-carrinho,
    .btn-proximo-endereco {
        min-width: 100%;
        width: 100%;
    }
}






/* Bebidas */

.conteudo-bebidas{
    display: grid;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
    grid-template-columns: repeat(1fr);
    gap: 45px;
    max-width: 1280px;

}


/*Descrição dos produtos geral*/

.desc-comidas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;

}

.desc-bebidas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 60%;
}

/* Modal carrinho */

.background-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: none; /* será alterado para flex no JS */
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-carrinho {
    font-weight: bold;
    text-align: center;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 40%;
    padding: 20px;

    max-height: 550px; /* Altura máxima antes de ativar o scroll */
    overflow-y: auto;
    margin-left: 5px;
    margin-right: 5px;
    
}




.info-total {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    
}

.preco-total {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;


}

.taxa-entrega {
    display: flex;
    justify-content: space-between;
}

.total-pagar {
    display: flex;
    justify-content: space-between;
}

/* view Carrinho */

.view-carrinho {
    position: fixed;
    bottom: 0;
    right: 0;
    margin-right: 10px;
    margin-bottom: 20px;
    height: 50px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    
}


/* Modal de endereco */
.modal-endereco,
.modal-form02,
.modal-escolha-endereco {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
  z-index: 9999;
}

.modal-endereco.ativo,
.modal-form02.ativo,
.modal-escolha-endereco.ativo {
  display: flex;
}

.conteudo-endereco,
.modal-content-endereco {
  width: min(100%, 720px);
  max-height: min(88vh, 860px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
  text-align: left;
}

.h2-form,
.modal-content-endereco h3 {
  margin: 0;
  font-family: "Inter", "Roboto", sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}

.modal-content-endereco p {
  margin: 0;
  font-size: 0.96rem;
  color: #64748b;
}

.formulario {
  font-size: 13px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin: 0;
}

.formulario label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.input,
.input-cep,
#btn-novo-endereco,
.btn-retornar,
.btn-pagamento {
  font-family: "Inter", "Roboto", sans-serif;
}

.input {
  width: 100%;
  min-height: 46px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #fff;
  color: #0f172a;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.input:focus {
  outline: none;
  border-color: var(--accent, #54CC0A);
  box-shadow: 0 0 0 4px var(--accent-10, rgba(84, 204, 10, 0.12));
}

.carrinho-itens {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-direction: column;

}


.btn-carrinho {
    color: rgb(255, 255, 255);
    background-color: #000000;
    font-size: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 100px;
    cursor: pointer;

}


.btns-inicio-carrinho {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-direction: row;
    padding: 0;
    cursor: pointer;
}

.btn-pedirmais,
.btn-continuar,
.btn-retornar,
.btn-pagamento {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 50%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Inter", "Roboto", sans-serif;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-pedirmais,
.btn-retornar {
    color: #0f172a;
    background: #fff;
    border-color: rgba(100, 116, 139, 0.38);
    box-shadow: none;
}

.btn-continuar,
.btn-pagamento {
    color: #fff;
    background: linear-gradient(135deg, var(--accent, #54CC0A), color-mix(in srgb, var(--accent) 72%, #ffffff));
    box-shadow: 0 14px 28px rgba(84, 204, 10, 0.20);
}

.btn-retornar:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent, #54CC0A) 24%, rgba(148, 163, 184, 0.22));
}

.btn-pedirmais:hover {
    color: #0f172a;
    background: #fff;
    border-color: rgba(100, 116, 139, 0.38);
    box-shadow: none;
    transform: none;
}

.btn-continuar:hover,
.btn-pagamento:hover {
    transform: none;
    box-shadow: 0 14px 28px rgba(84, 204, 10, 0.20);
}

/* Modal observação */

.background-observacao {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Preto com 60% de opacidade */
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: none;

}
.campo-observacao {
    margin-left: 15px;
    margin-right: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background-color: white;
    color: black;
    border-radius: 5px;
    min-width: 30%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;

}

.observacao {
    width: 100%;
    height: 100px;
    resize: none;
    text-align: start;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

.btn-observacao {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}

.btn-obs-voltar {
    width: 50%;
    height: 30px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #FF3131;
    cursor: pointer;
}

.btn-obs-confirma {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 50%;
    height: 30px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #54CC0A;
    cursor: pointer;
}

#erro-cep {
    font-size: 10px;
    color: #FF3131;
    display: none;
}

/* Modal Pagamento */
.background-pagamento {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
  height: 100%;
  width: 100%;
  z-index: 9999;
  display: none;
  padding: 20px;
}

.conteudo-pagamento {
    width: min(100%, 860px);
    max-height: min(88vh, 880px);
    overflow-y: auto;
    margin: 0;
    font-weight: 600;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.payment-hero,
.confirm-hero {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 4px solid rgba(148, 163, 184, 0.16);
}

.payment-hero__icon,
.confirm-hero__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--accent-10, rgba(84, 204, 10, 0.12));
    color: var(--accent, #54CC0A);
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.payment-hero__copy,
.confirm-hero__copy {
    min-width: 0;
}

.payment-hero__eyebrow,
.confirm-hero__eyebrow {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent, #54CC0A);
}

.payment-hero__lead {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
}

.h3-pagamento,
.titulo-confirm {
    margin: 0;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    line-height: 1.1;
    color: #0f172a;
    font-weight: 800;
}

.subTitulo-confirm {
    margin: 6px 0 0;
    color: #64748b;
    font-weight: 500;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
}

.payment-panel {
    background: #fff;
    border: 3px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.payment-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.payment-panel__head h2,
.section-total p,
.section-entrega .confirm-label,
.p-payment {
    margin: 0;
}

.payment-panel__head h2 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.payment-tag {
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.payment-tag--accent {
    background: #f8fafc;
    color: #64748b;
    border-color: rgba(148, 163, 184, 0.18);
}

.conteudo-precopagar {
    width: 100%;
    display: flex;
    gap: 12px;
    flex-direction: column;
    text-align: left;
    margin-top: 0;
}

.info-precopagar,
.taxa-entrega,
.total-pagar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.linha-pagamento {
    color: #334155;
}

.total-pagar {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.total-pagar span,
.info-precopagar span,
.taxa-entrega span,
#valor-desconto {
    font-weight: 900;
    color: #0f172a;
}

.cupom-desconto-bloco {
    padding: 16px 18px;
    border-radius: 20px;
    border: 4px solid rgba(148, 163, 184, 0.22);
    background: #fff;
}

.input-cupom-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.input-cupom-wrapper input,
#troco,
#input-pix {
    width: 100%;
    min-height: 46px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #fff;
    color: #0f172a;
    box-sizing: border-box;
}

.input-cupom-wrapper button,
.btn-copiar-pix,
.btn-enviar-pedido,
.btn-opdinheiro,
.btn-opcartao,
.btn-cartao,
.btn-pix,
.btn-voltar-endereco,
.btn-voltar-pagamento {
    font-family: "Inter", "Roboto", sans-serif;
    border-radius: 14px;
    min-height: 48px;
    padding: 0.8rem 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.input-cupom-wrapper button {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--accent, #54CC0A), color-mix(in srgb, var(--accent) 72%, #ffffff));
    box-shadow: 0 14px 28px rgba(84, 204, 10, 0.20);
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forma-pagamento,
.div-opcartao-opdinheiro,
.op-debito-credito,
.div-radio,
.btns-voltar-finalizar,
.div-btn-confirm {
    display: flex;
    gap: 12px;
}

.forma-pagamento {
    width: 100%;
    flex-direction: row;
}

.btn-cartao,
.btn-pix,
.btn-opdinheiro,
.btn-opcartao {
    width: 100%;
    border: 4px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    color: #0f172a;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-cartao.selecionado,
.btn-pix.selecionado,
.btn-opdinheiro.selecionado,
.btn-opcartao.selecionado {
    border-color: var(--accent, #54CC0A);
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 6%, #fff) 100%);
    box-shadow: 0 0 0 4px var(--accent-10, rgba(84, 204, 10, 0.12));
}

.logopix,
.logocartao {
    width: 34px;
    height: 34px;
}

.div-opcartao-opdinheiro,
.radio-debito-credito,
.div-radio,
.campo-troco {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
}

#div-debcred .op-debito-credito,
#div-troco {
    align-items: center;
    justify-content: space-between;
}

.btns-voltar-finalizar {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-voltar-endereco,
.btn-voltar-pagamento {
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.btn-enviar-pedido {
    color: #fff;
    background: linear-gradient(135deg, var(--accent, #54CC0A), color-mix(in srgb, var(--accent) 72%, #ffffff));
    border: none;
    box-shadow: 0 14px 28px rgba(84, 204, 10, 0.20);
}

.modal-confirm {
    position: relative;
    width: min(100%, 760px);
    max-height: min(88vh, 860px);
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
    padding: 24px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.btn-closeConfirm {
    width: 40px;
    height: 40px;
    padding: 0;
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.22);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.confirm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.section-entrega,
.section-total,
.payment-details,
.div-btn-confirm {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 16px;
}

.section-entrega,
.section-total {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-total span,
#total-confirm,
#troco-confirm {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f172a;
}

#troco-Text,
#troco-confirm {
    display: none;
}

.confirm-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent, #54CC0A);
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paragrafo-pix,
.paragrafo-pix-2 {
    color: #535353;
    font-weight: 600;
}

.div-btn-confirm {
    justify-content: flex-end;
}

.btn-whatsapp-enviar {
    border: none;
    border-radius: 14px;
    min-height: 48px;
    padding: 0.8rem 1rem;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

@media (max-width: 760px) {
    .conteudo-pagamento,
    .modal-confirm {
        padding: 18px;
        border-radius: 20px;
    }

    .payment-grid,
    .confirm-grid {
        grid-template-columns: 1fr;
    }

    .forma-pagamento {
        flex-direction: column;
    }

    .btns-voltar-finalizar,
    .div-btn-confirm {
        flex-direction: column;
    }

    .btn-voltar-endereco,
    .btn-voltar-pagamento,
    .btn-enviar-pedido,
    .btn-whatsapp-enviar {
        width: 100%;
    }
}

/* Escondendo o input CEP do form*/
.input-cep {
    display: none;
}

.whatsapp-btn {
    width: 15px;
    height: 15px;

/* @Media Responsividade */



/* Maior que */
@media (min-width: 768px) {

    
    .conteudo-categoria{
        grid-template-columns: repeat(2, 1fr);
        max-width: 80%;
        margin: 0 auto;
        margin-bottom: 80px;

    }

    .ui-callout {
        max-width: 350px; 
        font-size: 10px;
    }
    
    .msgmenu {
        font-size: 2rem;
    }

    .menu-nav {
        justify-content: center;
    }
    .menu-nav button:first-child {
        margin-left: 0;
    }
    .menu-nav button:last-child {
        margin-right: 0;
    }


}



/* ATÉ */
@media (max-width: 768px) {

    .menu-nav.scrollable {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .box-cabecalho {
        flex-direction: column;
    }

    .contato-header {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .desc-comidas {
        font-size: 14px;
    }

    .btn-adicionar-carrinho{
        font-size: 15px;
    }

    .Tituloprincipal {
        font-size: 1rem;
    }
    
    .endereco {
        font-size: 1rem; 

    }
    
    .campo-observacao{
        width: 80%;
    }

    .carrinho-itens {
        font-size: 15px;
    
    }
    
    .conteudo-endereco > h2 {
        font-size: 1rem;

    }

    .conteudo-endereco {
        min-width: 80%;
    }

    .formulario {
        margin: auto;
        align-items: center;
        text-align: left;
        gap: 10px;
        font-size: 11px;
        min-width: 70%;
        margin-bottom: 15px;
    }


    
    .h2-form {
        margin-bottom: 30px;
    }

    .footer {
        width: 100%;
        height: 120px;
    }

    .paragrafo-footer {
        font-size: 12px;
    }

    .logoGF {
        width: 160px;
        height: 40px;
        
    }

    .section-entrega {
        font-size: 13px;
    }

    .subTitulo-confirm {
        font-size: 13px;
    }

    .paragrafo-pix {
        font-size: 11px;
    }

    .modal-retirada-entrega {
        min-width: 90%;
    }
    
}

/* 	ADICIONANDO PARA DESTACAR ITEM MAIS PEDIDO */

.mais-vendido {
  border: 2px solid #f1c40f !important;
  position: relative;
  
}

.badge-destaque {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #f1c40f;
  color: #000;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 8px;
}


@keyframes pulse {
    50% {
      transform: scale(1.1);
    }
  
    70% {
      box-shadow: 0 0 0 8px rgba(241, 196, 15, 0);
    }
  
    100% {
      box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
    }
  }
  


/* Garantir rolagem suave e prevenir travamentos no mobile */

/* Corrigir sobreposição e garantir ocultação limpa */
.background-modal,
.modal-endereco,
.background-pagamento,
.background-confirm,
.background-observacao {
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Desativa qualquer rolagem extra forçada em elementos fixos */



.background-modal.ativo,
.background-modal[style*="display: flex"] {
    display: flex !important;
}


.modal-endereco.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}


.background-pagamento.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}


.background-confirm.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}


.background-observacao.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  display: flex;
}

.info-contato-geral {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-family: "Roboto", sans-serif;
    color: white;
    text-align: center;
}

.info-item {
  margin: 15px 0;
  font-size: 15px;
  color: #222; /* <- garante visibilidade */
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-item a {
  color: #222; /* <- link mais escuro por padrão */
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  color: #54CC0A; /* <- cor de destaque ao passar o mouse */
}

.icon-info {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.info-resumo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ffffffd8;
    border-radius: 10px;
    font-family: "Roboto", sans-serif;
    color: #000;
    text-align: center;
}

.info-bloco {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    min-width: 80px;
}

.info-bloco i {
    font-size: 22px;
    margin-bottom: 5px;
    color: #54CC0A; /* Verde padrão */
}

.saber-mais {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.saber-mais:hover {
    text-decoration: underline;
    color: #54CC0A;
}

.aberto {
    color: #28a745;
    font-weight: bold;
}

.fechado {
    color: #dc3545;
    font-weight: bold;
}

.btn-toggle {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-toggle:hover {
    background-color: #f0f0f0;
}

.dias-funcionamento {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffffee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    animation: fadein 0.3s ease-in-out;
}

.dias-funcionamento div {
    margin: 2px 0;
}

.btn-modal {
    background: none;
    border: none;
    font-size: 18px;
    color: #54CC0A;
    cursor: pointer;
    margin-top: 5px;
    transition: transform 0.2s ease;
}

.btn-modal:hover {
    transform: scale(1.2);
}

/* Modal de dias de funcionamento */
.modal-func {
    display: none;
    position: absolute;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content-func {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: fadein 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: "Roboto", sans-serif;
}

.modal-content-func h3 {
    margin-top: 20px;
    color: #333;
}

.dias-lista {
    margin-top: 15px;
    text-align: left;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.dias-lista div {
    margin-bottom: 6px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    
}


.close-modal:hover {
    color: #333;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.info-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.info-card {
    font-family: "Roboto", sans-serif;
    
    flex: 1 1 150px;             /* Flexível, mínimo 150px */
    max-width: 70px;            /* Limita o tamanho máximo */
    min-width: 70px;            /* Impede que fique estreito demais */
    height: 70px;
    
    background-color: #fff;
    border-radius: 10px;

    transition: transform 0.2s ease;
    
    
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin: 0 5px;

    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    cursor: pointer;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 20px;
    
}

.info-titulo {
    font-weight: bold;
    font-size: 10px;
    color: #333;
    white-space: nowrap;
    
}

.info-desc,
.info-link {
    white-space: nowrap;
    font-size: 12px;
    color: #666;
}

.info-endereco {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.info-endereco a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

.info-endereco a:hover {
    color: #54CC0A;
}


.titulodiv {
    font-size: 15px;
    font-family: "roboto", sans-serif;
    color: white;
    
}


.painel-endereco {
    visibility: hidden;
    background:  black;
    padding: 10px 18px;
    border-radius: 8px;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
    display: inline-block;
    font-size: 15px;
    font-family: "Roboto", sans-serif ;
    color: #333;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    z-index: 2;
}

.painel-endereco a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/*.painel-endereco:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.painel-endereco:hover {
    color: #fdfdfd;
    background-color: black;
} */

/* Painel geral responsivo */
.painel-loja {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 12px;
    margin: 0 auto 20px auto;
    max-width: 950px;
    text-align: center;
    width: 95%;
}

/* Cards responsivos com grid */
.painel-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

}

@media (max-width: 550px) {
    .painel-cards {
        gap: 15px;

    }

    .info-card {
        max-width: 50px;            /* Limita o tamanho máximo */
        min-width: 50px;            /* Impede que fique estreito demais */
        height: 50px;
    }

    .info-icon {
        font-size: 15px;
    }

    .delivery-icon {
        width: 5px;
        height: 5px;
    }
    
    .info-titulo {
        font-size: 8px;
        
    }
}


/* Título e endereço */
.painel-titulo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.painel-endereco {
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    font-size: 15px;
    color: #333;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    max-width: 100%;
    word-break: break-word;
}





.painel-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #222;
}

.painel-info {
    font-size: 13px;
    color: #666;
}

.btn-modal {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #54CC0A;
}

/* Responsividade extra para tela menor que 400px */
@media (max-width: 400px) {
    .painel-titulo {
        font-size: 18px;
    }
    .painel-endereco {
        font-size: 13px;
        padding: 8px 12px;
    }
    .painel-icon {
        font-size: 22px;
    }
}



.modal-content-func {
  background-color: #fff;
  color: #222; /* <- cor do texto */
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  width: 90%;
  max-width: 420px;
}

.observacao-painel {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 10px;
    font-weight: bold;
}

.painel-observacao {
    background-color: #FF3F33;
    color: #ffffff;
    padding: 6px 10px;
    margin-top: 6px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* atualiza cor card e divisor */
.item-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background-color: var(--cor-barrinha, #54CC0A);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.divisor-categoria {
    height: 4px;
    border-radius: 4px;
    margin: 10px auto 30px;
    width: calc(100% - 40px);
    max-width: 950px;
}


/* --- CUPOM DESCONTO --- */

.cupom-desconto-bloco {
    margin-top: 20px;
    text-align: center;
}

.titulo-cupom {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}


.input-cupom-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#cupom-desconto {
    padding: 10px;
    border-radius: 8px;
    border: 4px solid #adacac;
    font-size: 1rem;
}

#cupom-desconto:focus {
  outline: none;
  border-color: #54CC0A;
  box-shadow: 0 0 0 2px rgba(84, 204, 10, 0.2);
}

#btn-aplicar-cupom {
    padding: 10px 16px;
    background-color: #28a745;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

#btn-aplicar-cupom:hover,
.input-cupom-wrapper button:hover {
  background-color: #3fa500;
}

.msg-cupom {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.msg-cupom.erro-cupom {
  color: #dc3545;
}

.msg-cupom.sucesso-cupom {
  color: #2e7d32;
}

/* --- FIM CUPOM --- */


/* 💸 Estilização do bloco de desconto */
.linha-pagamento.desconto {
    display: flex;
    justify-content: space-between;
    color: #c82333; /* tom vermelho elegante */
    font-weight: bold;
    font-size: 1rem;
}

.linha-pagamento.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 10px;
}

.linha-pagamento.desconto span {
    animation: pulseDesconto 1.8s infinite;
}

@keyframes pulseDesconto {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

/* Modal escolha de endereco */
.modal-content-endereco {
    max-width: 760px;
}

#lista-endereco-encontrado {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 4px 0 0;
}

.card-endereco {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.card-endereco:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent, #54CC0A) 24%, rgba(148, 163, 184, 0.22));
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.10);
}

.card-endereco strong {
    font-size: 0.98rem;
    color: #0f172a;
}

.card-endereco p {
    margin: 0;
    font-size: 0.86rem;
    color: #64748b;
    word-wrap: break-word;
}

.card-endereco.selecionado {
    border-color: var(--accent, #54CC0A);
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent) 6%, #fff) 100%);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10), 0 0 0 4px var(--accent-10, rgba(84, 204, 10, 0.12));
}

.botoes-escolha-endereco {
    margin-top: 8px;
}

.botoes-escolha-endereco button,
#btn-novo-endereco {
    background: #fff;
    color: #0f172a;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.botoes-escolha-endereco button:hover,
#btn-novo-endereco:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent, #54CC0A) 24%, rgba(148, 163, 184, 0.22));
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

#btn-novo-endereco {
    background: linear-gradient(135deg, var(--accent, #54CC0A), color-mix(in srgb, var(--accent) 72%, #ffffff));
    color: #fff;
    box-shadow: 0 14px 28px rgba(84, 204, 10, 0.20);
}

#btn-novo-endereco:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .conteudo-endereco,
    .modal-content-endereco {
        padding: 18px;
        border-radius: 20px;
    }

    .card-endereco {
        width: 100%;
    }

    .btns-inicio-carrinho {
        flex-direction: column;
    }

    .btn-pedirmais,
    .btn-continuar,
    .btn-retornar,
    .btn-pagamento {
        min-width: 100%;
        width: 100%;
    }

    #btn-novo-endereco {
        font-size: 0.98rem;
    }
}

.bloqueado {
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    filter: grayscale(0.3);
    transition: 0.3s ease;
}
.bloqueado * {
    opacity: 1 !important;  /* mantém inputs visíveis */
}


.bloco-categoria {
    margin: 1rem 0;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.opcao-label {
    display: block;
    margin: 0.4rem 0;
    font-size: 1rem;
}
.btn-fechar, .btn-confirmar {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    margin-right: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.btn-confirmar {
    background: #28a745;
    color: white;
}
.btn-fechar {
    background: #ccc;
}

#modal-item-personalizacao {
    display: flex;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

#conteudo-modal-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
    max-width: 500px;
}

.modal-item-conteudo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
}

/* Estilos do Modal Personalização GF Pedidos */
.background-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.background-modal.ativo {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.modal-item-conteudo {
    background-color: #fff;
    border-radius: 12px;
    max-width: 90%;
    width: 400px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
}

.modal-item-conteudo h2 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #333;
}

.modal-item-conteudo h3 {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #444;
}

.modal-item-conteudo label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #222;
}

.modal-item-conteudo input[type="radio"],
.modal-item-conteudo input[type="checkbox"] {
    margin-right: 8px;
}

.modal-item-conteudo textarea {
    width: 100%;
    height: 60px;
    margin-top: 12px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}


/* Botão de fechar no canto superior direito */


/* Rodapé do modal com total e botão */
.modal-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.divBtns {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.modal-total {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.modal-btn-add {
    background-color: #54CC0A;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;       /* Impede quebra de linha */
    overflow: hidden;          /* (opcional) Esconde overflow */
    text-overflow: ellipsis;   /* (opcional) Adiciona "..." se ultrapassar */
    width: 50%;           /* (ou defina largura adequada) */
}

.modal-btn-add:hover {
    background-color: #45a507;
}

.modal-btn-cancel {
    background-color: #FF3131;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;       /* Impede quebra de linha */
    overflow: hidden;          /* (opcional) Esconde overflow */
    text-overflow: ellipsis;   /* (opcional) Adiciona "..." se ultrapassar */
    width: 50%;           /* (ou defina largura adequada) */
}

.modal-btn-cancel:hover {
    background-color: #bbb;
}

.opcao-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Roboto, sans-serif;
}

/* Adicionando estilo para múltipla escolha (contador) */

.multiplas-contador {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.multiplas-contador .item-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.categoria-bloco {
    margin-bottom: 20px;
    padding: 10px;
    border-left: 4px solid #eee;
}

.multiplas-contador .item-linha .nome-produto {
  font-weight: bold;
  flex: 1;
}

.multiplas-contador .item-linha  {
  background-color: #54CC0A;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 10px;
}


.input-quantidade {
    width: 100%;
    padding: 3px;
    text-align: center;
}

.multiplas-contador .item-linha .contador-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.multiplas-contador .item-linha .contador-wrapper input {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px 4px;
}

.multiplas-contador .item-linha .contador-wrapper  {
  background-color: #54CC0A;
  color: white;
  border: none;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

/* Container da categoria */
.modal-categoria {
    margin-bottom: 1.5rem;
}

/* Título da categoria */
.modal-categoria h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Estilo para cada grupo de categoria */
.categoria-grupo {
    margin-bottom: 25px;
}

/* Título da categoria */
.categoria-grupo h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Regras abaixo do título */
.categoria-regras {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

/* Layout horizontal das opções */
.opcoes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Opção estilo botão para unica/multipla */
.opcao-btn {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    transition: all 0.2s ease;
}

.opcao-btn:hover {
    background-color: #e6e6e6;
}

.opcao-btn.selected {
    border-color: #54CC0A;
    background-color: #dfffe0;
}

/* Checkbox/radio escondido */
.opcao-btn input {
    display: none;
}

/* Layout contador */
.opcao-contador {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 160px;
    justify-content: space-between;
    gap: 10px;
}

.opcao-contador span {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
}

.contador-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contador-buttons button {
    padding: 2px 8px;
    background-color: #ccc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contador-buttons button:hover {
    background-color: #bbb;
}

.contador-quantidade {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

/* Caixinha de cada opção */
.opcao-item {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    min-width: 180px;
    justify-content: space-between;
}

* Input escondido, estilização manual */
.opcao-item input[type="checkbox"],
.opcao-item input[type="radio"] {
    margin-right: 10px;
}

/* Estilo para contador */

.bloco-opcao {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 6px;
}

.contador-container {
    display: flex;
    gap: 6px;
    margin-top: 5px;
}

.contador-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
   
}

.btn-contador-mais  {
    background-color: #54CC0A;
    padding: 3px;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 20px;
}

.btn-contador-menos {
    background-color: #FF3131;
    padding: px;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 20px;

}




.input-quantidade {
    padding: 3px;
    width: 35px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;

}


/* desativar o indicador do input number */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nomeDiv {
    width: 50%;
}


.opcao-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #f8f8f8;
}

.contador-mais,
.contador-menos {
    background: #54CC0A;
    border: none;
    padding: 6px 12px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.contador-btn {
    background-color: #54CC0A;
    color: white;
    border: none;
    border-radius: 5px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.contador-valor {
    font-size: 15px;
    width: 22px;
    text-align: center;
    font-weight: bold;
}

/* Botões do modal */
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}


.fixado-footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    gap: 10px;
}

#preco-fixado-total {
    font-size: 16px;
    margin-right: auto;
    align-self: center;
}

/*
.modal-item-conteudo  {
    display: block;
    width: 50%;
    padding: 10px;
    margin-top: 16px;
    background-color: #54CC0A;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-item-conteudo:hover {
    background-color: #45a507;
}
*/

/* Sobe apenas os cards do topo, sem afetar o restante */
:root {
  --cards-offset: -24px; /* ajuste aqui: valores negativos sobem, positivos descem */
}

.painel-cards {
  position: relative;
  transform: translateY(var(--cards-offset));
}

/* Opcional: em telas maiores, sobe um pouco mais */
@media (min-width: 992px) {
  :root { --cards-offset: -32px; }
}

@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* === CUPOM: botão embutido no campo (pixel-perfect) === */
:root { --h-cupom: 48px; --btn-cupom-w: 128px; --btn-gap: 6px; }

.cupom-desconto-bloco { width: 90%; max-width: 520px; margin: 16px auto 0; }

.input-cupom-wrapper {
  position: relative;              /* permite posicionar o botão por cima */
  width: 100%;
}

#cupom-desconto {
  width: 100%;
  height: var(--h-cupom);
  padding: 0 calc(var(--btn-cupom-w) + var(--btn-gap)*2) 0 14px; /* espaço pro botão */
  font-size: 16px;                 /* evita zoom no iOS */
  line-height: normal;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  outline: none;
  background: #fff;
}

/* Botão “flutuante” dentro do input, alinhado por cima */
#btn-aplicar-cupom {
  position: absolute;
  top: 50%;
  right: var(--btn-gap);
  transform: translateY(-50%);
  min-width: var(--btn-cupom-w);
  height: calc(var(--h-cupom) - var(--btn-gap)*2); /* deixa 3px de “respiro” em cima/baixo */
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #28a745;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;             /* nunca corta “Aplicar” */
  cursor: pointer;
}

#btn-aplicar-cupom:hover { background: #3fa500; }

/* Mensagem do cupom abaixo do campo */
.msg-cupom { margin-top: 8px; }

/* Telas estreitas: botão vira linha de baixo (100% de largura) */
@media (max-width: 420px) {
  #cupom-desconto { padding-right: 14px; }     /* sem reserva pro botão */
  #btn-aplicar-cupom {
    position: static;
    transform: none;
    width: 100%;
    height: var(--h-cupom);
    margin-top: 8px;
  }
}

/* ===== CATEGORIAS (chips) ===== */
.menu-wrapper { margin: 8px auto 14px; max-width: 1050px; }

.menu-nav {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }

/* desktop: vira grid e distribui conforme a quantidade */
@media (min-width: 768px) {
  .menu-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    overflow: visible;          /* sem scroll horizontal */
    padding: 10px 12px;
  }
}

.menu-nav .nav-btn {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: #0f0f0f;         /* fundo padrão escuro */
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .07s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
}

/* botão ativo (categoria selecionada/visível) */
.menu-nav .nav-btn.ativo {
  background: #54CC0A;
  color: #0b1703;
  box-shadow: 0 3px 0 #3d9a08;
}

/* hover/press */
.menu-nav .nav-btn:hover { transform: translateY(-1px); }
.menu-nav .nav-btn:active { transform: translateY(1px); }

/* indicador inferior suave (underline animado) */
.menu-nav .nav-btn::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease, background .2s ease;
}
.menu-nav .nav-btn.ativo::after {
  background: #54CC0A;
  transform: scaleX(1);
}

/* quando tiver poucas categorias no mobile, centraliza */
@media (max-width: 767px) {
  .menu-nav.is-centered {
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
  }
}






/* ===== CARDAPIO DIGITAL ORGANIZADO ===== */
.cardapio-shell {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto 36px;
}

.cardapio-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 18px;
  margin: 10px 0 14px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.cardapio-kicker,
.categoria-label {
  display: block;
  margin: 0 0 4px;
  color: #64748b;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cardapio-title {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.15;
}

.cardapio-summary {
  margin: 6px 0 0;
  color: #475569;
  font-size: .92rem;
}

.cardapio-search {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid color-mix(in srgb, var(--accent) 24%, #d7dee8);
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
}

.cardapio-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
  background: #ffffff;
}

.cardapio-search #campo-busca {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #111827;
  font-size: 1rem;
}

.cardapio-search #campo-busca:focus { box-shadow: none; }

.cardapio-shell .menu-wrapper {
  top: 0;
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.cardapio-shell .menu-nav {
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  background: transparent;
}

.cardapio-shell .menu-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  box-shadow: none;
  font-size: .9rem;
  line-height: 1;
}

.cardapio-shell .menu-nav .nav-btn.ativo,
.cardapio-shell .menu-nav .nav-btn.is-active,
.cardapio-shell .menu-nav .nav-btn[aria-current="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #08120b;
}

.cardapio-shell .menu-nav .nav-btn::after { display: none; }

.categoria-section {
  scroll-margin-top: 92px;
  margin: 0 0 30px;
}

.menu-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding: 0 2px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}

.menu-section-header .categoria-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #111827;
  font-size: 1.28rem;
  line-height: 1.2;
}

.categoria-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 18%, #ffffff);
}

.categoria-meta {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: .82rem;
  font-weight: 800;
}

.cardapio-shell .conteudo-categoria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}

.cardapio-shell .div-info-produtos.item-card,
.cardapio-shell .div-info-produtos.indisponivel {
  position: relative;
  display: grid !important;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  min-height: 134px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .1);
  border-left: 5px solid var(--cor-barrinha, var(--accent));
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.cardapio-shell .div-info-produtos.item-card:hover {
  border-color: color-mix(in srgb, var(--accent) 52%, #cbd5e1);
  border-left-color: var(--accent);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  transform: translateY(-2px);
}

.cardapio-shell .div-img-menu {
  width: 100%;
  height: 100%;
  min-height: 112px;
  border-radius: 11px;
  overflow: hidden;
  background: #eef2f7;
}

.cardapio-shell .img-itens {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  display: block;
}

.cardapio-shell .desc-comidas {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 2px 0;
}

.cardapio-shell .nome-produto {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.cardapio-shell .descricao-produto {
  margin: 6px 0 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cardapio-shell .div-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

.cardapio-shell .preco-produto {
  margin: 0;
  color: #0f172a;
  font-size: 1.02rem;
  font-weight: 900;
}

.item-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #08120b;
}

.cardapio-shell .badge-destaque {
  top: 8px;
  left: 8px;
  z-index: 2;
  border-radius: 999px;
  background: #facc15;
  color: #111827;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.cardapio-shell .indisponivel {
  cursor: not-allowed;
  opacity: .58;
  filter: grayscale(.2);
}

.menu-empty {
  margin: 16px 0 28px;
  padding: 18px;
  border: 1px dashed rgba(15, 23, 42, .22);
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  text-align: center;
  font-weight: 700;
}

.categoria-section.is-hidden-by-search,
.item-card.is-hidden-by-search,
.indisponivel.is-hidden-by-search { display: none !important; }

@media (min-width: 768px) {
  .cardapio-shell .menu-nav {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .cardapio-shell { width: min(100% - 16px, 1120px); }

  .cardapio-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .cardapio-title { font-size: 1.18rem; }

  .cardapio-shell .menu-wrapper {
    position: sticky;
    top: 0;
    z-index: 1300;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .cardapio-shell .menu-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cardapio-shell .menu-nav.open {
    align-items: stretch;
    width: min(292px, 84vw);
    padding: 74px 14px 18px;
    border-radius: 0;
  }

  .cardapio-shell .menu-nav.open .nav-btn {
    justify-content: flex-start;
    width: 100%;
    border-radius: 12px;
  }

  .cardapio-shell .conteudo-categoria { grid-template-columns: 1fr; }

  .cardapio-shell .div-info-produtos.item-card,
  .cardapio-shell .div-info-produtos.indisponivel {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 116px;
    gap: 12px;
    border-radius: 12px;
  }

  .cardapio-shell .div-img-menu,
  .cardapio-shell .img-itens { min-height: 96px; }

  .menu-section-header { align-items: flex-start; }
  .categoria-meta { font-size: .78rem; }
}

@media (max-width: 420px) {
  .cardapio-shell .div-info-produtos.item-card,
  .cardapio-shell .div-info-produtos.indisponivel {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 8px;
  }

  .cardapio-shell .nome-produto { font-size: .95rem; }
  .cardapio-shell .descricao-produto { font-size: .84rem; -webkit-line-clamp: 2; }
  .item-card-action { width: 30px; height: 30px; flex-basis: 30px; }
}

/* ================================================================
   REDESIGN CARDAPIO V2 — cards verticais no desktop, polido no mobile
   ================================================================ */

/* --- cabeçalho da loja (brand-lockup) --- */
.cabecalho .capa {
  position: relative;
  isolation: isolate;
  height: clamp(190px, 26vh, 250px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.capa__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 280px at 50% 65%, rgba(0,0,0,.42), transparent 62%),
    linear-gradient(to top, rgba(0,0,0,.36), rgba(0,0,0,0) 50%);
}
.brand-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(92vw, 820px);
  margin: 0 auto;
  text-align: center;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .42rem .85rem;
  border-radius: 14px;
  border: 2px solid var(--accent, #54CC0A);
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(7px) saturate(1.1);
  box-shadow: 0 6px 22px rgba(0,0,0,.30);
  max-width: 100%;
}
.brand-name {
  font-weight: 800;
  letter-spacing: .15px;
  line-height: 1.08;
  font-size: clamp(1.1rem, 3.4vw + .2rem, 2.1rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.42), 0 1px 0 rgba(0,0,0,.25);
}
.logoprincipal {
  width: clamp(64px, 11vw, 96px);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,.28);
}

/* --- cards desktop: verticais (imagem topo) --- */
@media (min-width: 761px) {
  .cardapio-shell .conteudo-categoria {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
  }

  .cardapio-shell .div-info-produtos.item-card,
  .cardapio-shell .div-info-produtos.indisponivel {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    padding: 0 !important;
    padding-left: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(15,23,42,.09);
    box-shadow: 0 4px 16px rgba(15,23,42,.07);
    background: #fff;
    transition: transform .18s, box-shadow .18s, border-color .18s;
    min-height: unset;
  }

  .cardapio-shell .div-info-produtos.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(15,23,42,.13);
    border-color: color-mix(in srgb, var(--accent) 45%, #cbd5e1);
  }

  /* barrinha accent vira faixa topo */
  .cardapio-shell .item-card::before {
    width: 100% !important;
    height: 3px !important;
    top: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    right: 0 !important;
    border-radius: 0 !important;
  }

  .cardapio-shell .div-img-menu {
    width: 100% !important;
    height: 185px !important;
    min-height: 185px !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: #eef2f7;
  }

  .cardapio-shell .img-itens {
    width: 100% !important;
    height: 185px !important;
    min-height: 185px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform .3s ease;
  }
  .cardapio-shell .item-card:hover .img-itens {
    transform: scale(1.04);
  }

  .cardapio-shell .desc-comidas {
    padding: 13px 14px 14px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .cardapio-shell .produto-copy { flex: 1; }

  .cardapio-shell .nome-produto {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 5px;
    color: #0f172a;
  }

  .cardapio-shell .descricao-produto {
    font-size: .84rem;
    color: #64748b;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    line-height: 1.4;
  }

  .cardapio-shell .div-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(15,23,42,.07);
  }

  .cardapio-shell .preco-produto,
  .cardapio-shell .pre\?o-produto {
    font-size: 1.12rem;
    font-weight: 900;
    color: color-mix(in srgb, var(--accent) 80%, #0a1a00);
    margin: 0;
  }

  .cardapio-shell .item-card-action {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.14);
    transition: box-shadow .12s;
  }
  .cardapio-shell .item-card-action:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,.20);
  }
}

/* --- cards mobile: horizontal melhorado --- */
@media (max-width: 760px) {
  .cardapio-shell .div-info-produtos.item-card,
  .cardapio-shell .div-info-produtos.indisponivel {
    gap: 0;
    padding: 0 !important;
    padding-left: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(15,23,42,.09);
    grid-template-columns: 110px minmax(0, 1fr) !important;
  }

  .cardapio-shell .item-card::before {
    width: 3px !important;
    height: 100% !important;
    top: 0 !important; left: 0 !important; bottom: 0 !important; right: auto !important;
    border-radius: 0 !important;
  }

  .cardapio-shell .div-img-menu {
    height: 100% !important;
    min-height: 110px !important;
    overflow: hidden;
  }

  .cardapio-shell .img-itens {
    width: 110px !important;
    height: 100% !important;
    min-height: 110px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .cardapio-shell .desc-comidas {
    padding: 10px 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }

  .cardapio-shell .preco-produto,
  .cardapio-shell .pre\?o-produto {
    font-size: 1rem;
    font-weight: 900;
    color: color-mix(in srgb, var(--accent) 80%, #0a1a00);
  }
}

/* --- categoria header com accent line --- */
.cardapio-shell .menu-section-header {
  border-bottom: 2px solid var(--accent-20, rgba(84,204,10,.22));
  margin-bottom: 16px;
  padding-bottom: 10px;
}
.cardapio-shell .menu-section-header .categoria-titulo {
  font-size: 1.18rem;
  font-weight: 800;
}
.cardapio-shell .categoria-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent, #54CC0A);
  opacity: .85;
  margin: 0 0 2px;
}
.cardapio-shell .categoria-icone {
  font-size: 1.3rem;
}
.cardapio-shell .categoria-meta {
  background: var(--accent-10, rgba(84,204,10,.12));
  color: color-mix(in srgb, var(--accent) 70%, #000);
  border: 1px solid var(--accent-20, rgba(84,204,10,.22));
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

/* --- toolbar refinado --- */
.cardapio-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent, #54CC0A);
  opacity: .85;
}
.cardapio-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.cardapio-summary {
  font-size: .84rem;
  color: #64748b;
  margin: 3px 0 0;
}

/* ===== BUSCA: garante que o hide-by-search vence o display:flex do redesign ===== */
.cardapio-shell .item-card.is-hidden-by-search,
.cardapio-shell .indisponivel.is-hidden-by-search,
.cardapio-shell .categoria-section.is-hidden-by-search { display: none !important; }

/* ===== LIGHTBOX ===== */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(5px);
  padding: 16px;
  animation: uiFade .15s ease;
  cursor: zoom-out;
}
.img-lightbox[hidden] { display: none !important; }

.lightbox-img {
  max-width: min(94vw, 860px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* imagem do menu fica com cursor de zoom */
.cardapio-shell .div-img-menu { cursor: zoom-in; }

/* ===== RESPONSIVIDADE EXTRA ===== */

/* toolbar mobile: busca full-width e copy mais compacta */
@media (max-width: 640px) {
  .cardapio-shell { width: 100%; margin-bottom: 24px; }

  .cardapio-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid rgba(15,23,42,.09);
    margin: 0 0 10px;
  }

  .cardapio-title { font-size: 1.1rem; }
  .cardapio-summary { display: none; } /* remove contador em telas muito pequenas */

  .cardapio-search { min-height: 44px; }
}

/* categoria header em mobile */
@media (max-width: 640px) {
  .cardapio-shell .menu-section-header {
    padding-bottom: 8px;
    margin-bottom: 12px;
  }
  .cardapio-shell .categoria-titulo { font-size: 1.05rem; }
}

/* card extra-small (< 380px): imagem menor */
@media (max-width: 380px) {
  .cardapio-shell .div-info-produtos.item-card,
  .cardapio-shell .div-info-produtos.indisponivel {
    grid-template-columns: 88px minmax(0,1fr) !important;
  }
  .cardapio-shell .div-img-menu,
  .cardapio-shell .img-itens { min-height: 88px !important; width: 88px !important; }
}

/* ===== CATEGORIAS MOBILE — barra scrollável horizontal (sem drawer) ===== */
@media (max-width: 760px) {

  /* esconde o hambúrguer e o backdrop — não precisamos mais deles */
  .cardapio-shell .menu-toggle { display: none !important; }
  #menu-backdrop { display: none !important; }

  /* wrapper: sticky, fundo sólido, sombra sutil */
  .cardapio-shell .menu-wrapper {
    position: sticky;
    top: 0;
    z-index: 1300;
    padding: 8px 0;
    margin: 0 0 14px;
    background: var(--bg-app, #fff);
    border-bottom: 1px solid rgba(15,23,42,.08);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(15,23,42,.07);
    overflow: visible;
  }

  /* nav: linha única scrollável */
  .cardapio-shell .menu-nav,
  .cardapio-shell .menu-nav.open {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
    padding: 2px 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    animation: none !important;
    z-index: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cardapio-shell .menu-nav::-webkit-scrollbar { display: none; }

  /* cancelar pseudo-elementos do drawer (::before / ::after) */
  .cardapio-shell .menu-nav.open::before,
  .cardapio-shell .menu-nav.open::after { display: none !important; }

  /* chips: tamanho compacto, sem quebrar linha */
  .cardapio-shell .menu-nav .nav-btn,
  .cardapio-shell .menu-nav.open .nav-btn {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: .88rem !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  /* fade-out nas bordas para indicar scroll */
  .cardapio-shell .menu-wrapper::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 28px;
    background: linear-gradient(to right, transparent, var(--bg-app, #fff));
    pointer-events: none;
    z-index: 1;
  }
}

/* ===== INLINE STYLE UTILITIES EXTRACTED FROM TEMPLATES ===== */
.u-inline-style-001 { display: none; }
.u-inline-style-002 { margin: 0; }
.u-inline-style-003 { margin-bottom: 1rem; }
.u-inline-style-004 { margin-top: 0; }
.u-inline-style-005 { display:flex; align-items:center; gap:1rem; }
.u-inline-style-006 { flex:1; }
.u-inline-style-007 { margin-top:1rem; }
.u-inline-style-008 { margin-top: 1rem; }
.u-inline-style-009 { flex:2; }
.u-inline-style-010 { max-width: 140px; text-align:right; margin-right:.5rem; }
.u-inline-style-011 { display:flex; gap:.5rem; }
.u-inline-style-012 { display:none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; z-index: 1000; }
.u-inline-style-013 { background: var(--bg-light); padding: 20px 30px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); text-align: center; max-width: 360px; color: var(--font-color-light); }
.u-inline-style-014 { font-size: 16px; font-weight: bold; color: var(--primary-color); }
.u-inline-style-015 { margin-top: 20px; display: flex; gap: 1rem; justify-content: center; }
.u-inline-style-016 { padding: 10px 16px; background-color: var(--danger-color); border: none; color: white; border-radius: 6px; cursor: pointer; }
.u-inline-style-017 { padding: 10px 16px; background-color: #7f8c8d; border: none; color: white; border-radius: 6px; cursor: pointer; }
.u-inline-style-018 { width:70px; }
.u-inline-style-019 { width:220px; }
.u-inline-style-020 { display:flex; gap:8px; align-items:center; }
.u-inline-style-021 { display:flex;align-items:center;gap:8px; }
.u-inline-style-022 { margin-top:14px;display:flex;gap:10px; }
.u-inline-style-023 { display:inline; }
.u-inline-style-024 { color: var(--danger-color); }
.u-inline-style-025 { position:relative; }
.u-inline-style-026 { grid-column:1/-1;max-width:560px;margin-inline:auto; }
.u-inline-style-027 { margin-bottom:.25rem; }
.u-inline-style-028 { color:var(--danger-color); }
.u-inline-style-029 { font-size:16px; margin-bottom:1.5rem; }
.u-inline-style-030 { display:flex; justify-content: center; gap: 1rem; }
.u-inline-style-031 { list-style: none; padding-left: 0; margin: 0; }
.u-inline-style-032 { text-align: center; margin-top: 2rem; }
.u-inline-style-033 { grid-column: span 3; }
.u-inline-style-034 { grid-column: span 6; }
.u-inline-style-035 { opacity:.85; }
.u-inline-style-036 { grid-column: span 12; }
.u-inline-style-037 { width:44px; }
.u-inline-style-038 { margin-top:8px; }
.u-inline-style-039 { margin-top:12px; }
.u-inline-style-040 { padding:18px; }
.u-inline-style-041 { font-weight:700; }
.u-inline-style-042 { margin-bottom:10px; }
.u-inline-style-043 { margin:8px 0; }
.u-inline-style-044 { width:180px; }
.u-inline-style-045 { margin-top: 20px; }
.u-inline-style-046 { text-align:left; color:#aaa; margin-bottom:20px; }
.u-inline-style-047 { z-index: 2; }
.u-inline-style-048 { color: #000000; }
.u-inline-style-049 { color:#000000; }
.u-inline-style-050 { margin-top:10px; }
.u-inline-style-051 { list-style:none; padding:8px 0 0; margin:0; display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:6px 18px; }
.u-inline-style-052 { user-select: none; }
.u-inline-style-053 { display: flex; justify-content: space-between; align-items: center; font-weight: bold; }
.u-inline-style-054 { display:none; }
.u-inline-style-055 { margin-bottom:6px; }
.u-inline-style-056 { text-align: center; font-weight: bold; font-size: 14px; padding: 12px; color: white; background-color: #64748b; }
.u-inline-style-057 { margin-left:10px; background-color:#dc2626; display:inline-block; padding:6px 12px; border-radius:6px; border:none; color:white; font-weight:500; }
.u-inline-style-058 { display: none; margin-left: 20px; padding: 6px 12px; background-color: #16a34a; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; }
.u-inline-style-059 { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:1000; justify-content:center; align-items:center; }
.u-inline-style-060 { background:white; padding:2rem; border-radius:12px; max-width:400px; width:90%; box-shadow:0 0 20px rgba(0,0,0,0.2); }
.u-inline-style-061 { text-align:center; color:#0f172a; }
.u-inline-style-062 { font-weight:500; margin-top:1rem; display:block; }
.u-inline-style-063 { width:100%; padding:10px; border-radius:6px; border:1px solid #ccc; }
.u-inline-style-064 { width:100%; padding:10px; border-radius:6px; border:1px solid #ccc; min-height:80px; }
.u-inline-style-065 { margin-top:1.5rem; display:flex; gap:10px; }
.u-inline-style-066 { flex:1; padding:10px; background:#16a34a; color:white; border:none; border-radius:8px; font-weight:600; }
.u-inline-style-067 { flex:1; padding:10px; background:#e11d48; color:white; border:none; border-radius:8px; font-weight:600; }
.u-inline-style-068 { background:white; padding:2rem; border-radius:12px; max-width:500px; width:90%; box-shadow:0 0 20px rgba(0,0,0,0.2); }
.u-inline-style-069 { background:#f1f5f9; padding:1rem; border-radius:8px; font-size:14px; margin-bottom:1rem; }
.u-inline-style-070 { flex:1; padding:10px; background:#dc2626; color:white; border:none; border-radius:8px; font-weight:600; }
.u-inline-style-071 { flex:1; padding:10px; background:#94a3b8; color:white; border:none; border-radius:8px; font-weight:600; }
.u-inline-style-072 { margin:0;display:inline-flex;align-items:center;gap:8px; }
