/* ELEMENTOS GERAIS */
body.desktop-view {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #000 !important;
    color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
}

.desktop-ola-text {
    font-size: 3.5rem !important;
    font-weight: bold !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.desktop-message {
    font-size: 1.5rem !important;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

.icon-inside-input {
    position: absolute;
    top: 47%;
    left: 10px; /* Ajuste conforme necessário */
    transform: translateY(-30%);
    cursor: pointer;
    z-index: 1;
}

.icon-inside-input i {
    font-size: 20px; /* Ajuste conforme necessário */
}

.form-control {
    width: 100%; /* Ajuste conforme necessário */
    padding: 10px;
    padding-left: 40px; /* Ajuste conforme necessário */
    box-sizing: border-box;
}

/* Estilo para campo de busca */
.search-input {
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    background: #EDEDED;
    padding: 6px;
    padding-left: 35px; /* Adicionar padding à esquerda para não sobrepor a lupa */
    height: 36px;
}

.search-input::placeholder {
    padding-left: 0; /* Removido padding do placeholder para não duplicar espaçamento */
}

.bottom-shadow {
    width: 100%;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.8); /* Ajuste os valores conforme necessário */
    padding: 20px; /* Adicione algum espaçamento interno se desejar */
}

.item-cardapio{
    width: 7rem;
    height: 7rem;
    max-width: 10rem;
    max-height: 10rem;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.sombra {
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.4);
}

#wrapper-categoria {
    margin-top: 0px; /* Ajuste conforme necessário para garantir que o conteúdo não seja cortado */
}

.category-link.active {
    font-weight: bold;
    border-bottom: 1px solid var(--primary-color) !important;
}

.menu {
    position: relative; /* Define a posição inicial */
    background-color: #fff;
    color: white;
}

.menu.fixado {
    position: fixed; /* Fixa o menu no topo */
    top: 0;
    width: 100%;
    z-index: 1000; /* Garante que o menu fique em cima de outros elementos */
}

.espaco-menu {
    height: 0; /* Altura inicial do espaço reservado */
}

.invisible-text {
    visibility: hidden;
}

.header-bg-roxo {
    background: var(--primary-color); /* Ou o roxo do seu tema */
    min-height: 130px; /* Ajuste conforme necessário */
  }


/* Estilos para botões +/- */
.button-reset.botao-menos {
    border-top-left-radius: 5px !important; 
    border-bottom-left-radius: 5px !important;
}
.button-reset.botao-mais {
    border-top-right-radius: 5px !important; 
    border-bottom-right-radius: 5px !important;
}

/* Botão de menu */
.menu-btn {
    background-color: var(--primary-color) !important;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    padding: 6px 8px;
    height: 36px;
    line-height: 1;
    transition: all 0.2s ease;
}

.menu-btn-icone {
    font-size: 20px;
    vertical-align: middle;
    color: white;
}

/* Estilo para elementos gerais */
.wrapper-categoria {
    padding-top: 12px;
}

.categoria-container {
    padding: 12px;
}

.destaque-container {
    margin: 0px 0px 25px 0px;
    padding: 12px;
}

.destaques {    
    font-size: 16px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

/* Estilo para imagens e placeholders */
.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ececec;
}

.svg-icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
}

.svg-icon-large {
    width: 100px;
    height: 100px;
    fill: var(--primary-color);
}

/* Estilo para campo de busca */
.campo-busca {
    padding-left: 35px;
    border: 1px solid #DBDBDB;
    border-radius: 10px;
    border-color: #DBDBDB;
    background: #EDEDED;
    padding: 5px 5px 5px 35px;
    height: 38px;
}

/* Estilo para ícones de redes sociais */
.icone-rede-social {
    text-decoration: none;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    width: 25px;
    background: linear-gradient(45deg, #7232A0 0%, #8F52BB 50%, #7232A0 100%);
    border-radius: 50%;
}

.icone-rede-social i {
    font-size: 14px;
    color: white;
}

/* Estilo para informações da loja */
.info-loja {
    background-color: #EDEDED;
    border-top: 1px solid #DBDBDB;
    border-bottom: 1px solid #DBDBDB;
}

.info-loja-icone {
    font-size: 14px;
}

.info-loja-texto {
    font-size: 80%;
    margin-left: 2px;
    font-weight: bold;
}

.info-loja-item {
    margin-left: 15px;
}

.info-loja-link {
    margin-left: 15px;
    cursor: pointer;
}


/* Header */
.header-image {
    height: 130px;
    width: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    z-index: -1;
}

.header-image-container {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.header-image-grayscale {
    filter: grayscale(100%);
}

.header-content {
    padding-top: 5px;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 150px; /* Espaço para o logo no lado esquerdo */
    padding-right: 12px;
}

.header-logo-col {
    padding: 0px;
}

.logo-container {
    height: 95px;
    width: 95px;
    max-height: 95px;
    max-width: 95px;
    overflow: hidden;
    padding: 0px;
    border-radius: 10px;
    border: 1px solid #7232A0;
    cursor: pointer;
}

.logo-image-div {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    border-radius: 50%; /* Garantir que a imagem fique redonda */
}

.logo-placeholder {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.logo-placeholder-svg {
    width: 50px;
    height: 50px;
    fill: #7232A0;
}

.company-info-col {
    padding: 0px 0px 0px 20px;
}


.star-rating i {
    color: #7232A0;
}

/* Info Bar */
.info-bar {
    background-color: #EDEDED;
    border-top: 1px solid #DBDBDB;
    border-bottom: 1px solid #DBDBDB;
    overflow-x: auto;
    white-space: nowrap;
}

.info-bar-icon {
    font-size: 14px;
}

.info-bar .d-flex {
    flex-wrap: nowrap;
}

.info-bar .subtitulo {
    white-space: nowrap;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .info-bar .subtitulo {
        font-size: 0.8rem;
    }
    .info-bar-icon {
        font-size: 25px;
    }
}

.info-bar-status-closed {
    color: #dc3545;
}

.vermelho {
    color: #dc3545 !important;
}

.info-bar-item-margin {
    margin-left: 15px;
}

.info-bar-link {
    cursor: pointer;
    margin-left: 15px;
}

/* Campo de Busca - já possui a classe .campo-busca */
.search-container {
    height: 38px;
}

/* Estilos migrados do index.php */
.adicionais-titulo {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #000000;
    font-weight: 500;
    font-size: 13px;
}

.observacao-titulo {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    margin-top: 5px;
    display: block;
    color: #000000;
    font-weight: 500;
    font-size: 13px;
}

.observacao-texto {
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    margin-top: 5px;
    margin-bottom: 10px;
    display: block;
    padding-left: 10px;
    border-left: 2px solid #f0f0f0;
}

.itens-adicionais-container {
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.item-adicional-span {
    font-size: 12px;
    padding-right: 8px;
    margin-right: 5px;
    display: inline-block;
}

.col-sem-padding {
    padding: 0px;
}

.produto-img {
    border-radius: 10px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.produto-invidual {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    overflow: hidden;
    width: 100%;
}

.espaco-final {
    margin-top: 70px;
}

.espaco-inferior-grande {
    margin-top: 70px;
}

.espaco-inferior-footer {
    margin-top: 70px;
}

.logo-image-url {
    --logo-image-url: url();
}

.logo-image-bg {
    background-image: var(--logo-image-url); /* URL será definida via style attribute */
}

.logo-svg-hidden {
    display: none;
}

.item-adicional-wrapper {
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.col-image-produto {
    padding: 0px;
}

/* Classes para substituir estilos inline no index.php */
.adicional-titulo {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #000000;
    font-weight: 500;
    font-size: 13px;
}

.item-adicional-container {
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
    width: 100%;
    margin-bottom: 4px;
}

.item-adicional-texto {
    font-size: 12px;
    padding-right: 8px;
    margin-right: 5px;
    display: inline-block;
}

.observacao-titulo {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    margin-top: 5px;
    display: block;
    color: #000000;
    font-weight: 500;
    font-size: 13px;
}

.observacao-conteudo {
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    margin-top: 5px;
    margin-bottom: 10px;
    display: block;
}

/* Classes para botões */
.button-enabled-purple {
    background: var(--primary-color) !important;
}

.btn-dinamico-roxo {
    background: var(--primary-color) !important;
}

.btn-dinamico-cinza {
    background: #E6E6E6;
}

.btn-dinamico-cinza-escuro {
    background: #AFA9A9;
}

.botao-menos-cinza {
    background: #E6E6E6;
}

.botao-mais-roxo {
    background: #7232A0;
}

.botao-desabilitado {
    background: #AFA9A9;
}


/* Estilo para produtos */
.produto-descricao {
    font-size: 12px;
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
    width: 100%;
    overflow: hidden;
    margin-top: 3px;
}

.produto-nome {
    color: #7232A0;
    font-weight: 500;
}

/* Product List */
.product-list-item-row {
    line-height: 1.2;
}

.product-list-item-hidden-spacer {
    visibility: hidden;
    margin-top: auto;
    text-align: left;
}

.preco-produto {
    margin-top: auto;
}

.product-list-item-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ececec;
}


#wrapper-categoria {
    width: 100%;
    max-width: 964px;
    position: relative;
}

#carousel-categoria {
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#carousel-categoria::-webkit-scrollbar {
    height: 0;
}

#content-categoria {
    display: flex;
    grid-gap: 16px;
    grid-auto-flow: column;
    margin: auto;
    box-sizing: border-box;
}

.item {
    width: 150px;
    height: 150px;
    background: green;
    border-radius: 10px;
}

#content-categoria a {
    white-space: nowrap;
}

#carousel-categoria {
    cursor: grab;
}

#carousel-categoria:active {
    cursor: grabbing;
}

#wrapper {
    width: 100%;
    max-width: 964px;
    position: relative;
}

#carousel {
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#carousel::-webkit-scrollbar {
    height: 0;
}

#content {
    display: grid;
    grid-gap: 16px;
    grid-auto-flow: column;
    margin: auto;
    box-sizing: border-box;
}

.item {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

#carousel {
        cursor: grab;
}

#carousel:active {
        cursor: grabbing;
}

#wrapper {
    width: 100%;
    max-width: 964px;
    position: relative;
}

#carousel {
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border: 50px;
}

#carousel::-webkit-scrollbar {
    height: 0;
}

#content {
    display: grid;
    grid-gap: 16px;
    grid-auto-flow: column;
    margin: auto;
    box-sizing: border-box;
}

.item {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
}

#carousel {
        cursor: grab;
}

#carousel:active {
        cursor: grabbing;
}

/* Posicionamento do logo estilo lado esquerdo */
.logo-ifood-style {
    position: absolute;
    bottom: 0;
    left: 15px;
    transform: translateY(50%);
    z-index: 100;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    background-color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-ifood-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.logo-placeholder-hidden {
    display: none;
}

/* Header margin bottom */
.header-margin-bottom {
    margin-top: 10px;
    margin-bottom: 10px; /* Espaço fixo abaixo do cabeçalho */
    height: 60px; /* Altura fixa para manter espaçamento constante */
    display: flex;
    align-items: center;
}

.content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0;
    background: white;
}

/* Ajuste adicional para o texto do nome da empresa */
.header-content .h5 {
    margin: 0;
    line-height: 1.1;
}

.nomedaempresa {
    font-size: 19px;
    line-height: 1.1;
    /* Garantir que o texto não ultrapasse os limites do container */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limitar a 2 linhas */
    line-clamp: 2; /* Versão padrão */
    -webkit-box-orient: vertical;
}

.imagem-placeholder {
width: 112px;
height: 112px;
border-radius: 10px;
background-color: #EDEDED;
}

/* Utilitário: borda somente no md+ */
.border-md {
border: none; /* Sem borda em < md */
}

@media (min-width: 768px) {
.border-md {
border: 1px solid #DBDBDB;
border-radius: 0;
box-sizing: border-box;
}
}