#tarja-slide ul{display: flex !important; justify-content: center !important;align-items: center !important; flex-wrap: wrap !important; list-style-type: none !important;}

.ul-todas-categorias > li:nth-child(n+11) {
display: none !important;
}

.navbar-nav>li>a{
    flex-direction: row;
    text-transform: uppercase;
    gap: 7px;
    font-weight: bold;
}

.btn-simple{
    background: var(--cor-1) !important;
}

.btn-simple img {
    filter: invert(0);
}

.badge {
    background: #000 !important;
    font-size: 13px !important;

}

.newsletter-body > p > img {
    width: 100% !important;
}

.product-title {
    word-wrap: break-word;
}

.menu-desktop .form_header_busca{
    margin: 0;
}

#btn_orcamento {
    width: 100%;
    height: 56px;
    outline: none;
    background: #272727;
    border: none;
    border-radius: 8px;
    font-family: Source Sans Pro, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff !important;
}

.btn-buy{
    color: #FFFF00 !important;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: #32791a !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.btn-carrinho:hover {
    background: #ffc102 !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.footer-1 {
    background: var(--cor-2);
    padding-bottom: 25px;
    padding-top: 20px;
    color: white;
}

body{
    background-color: var(--cor-3) !important;
}

@media (max-width: 430px){
    .footer-social-links{
        justify-content: start;
    }
}

@media (max-width: 992px) {
    .navbar-nav>li>a {background-color: transparent;}
}

/* ===== Normalização das descrições de produto (conteúdo do banco) ===== */
.desc-panel .desc-content,
.product-desc,
.especificacao-content,
.itens-inclusos-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
}

/* Parágrafos: padrão único, sem excesso de espaço */
.desc-panel .desc-content p,
.desc-panel .desc-content p.Normal,
.product-desc p,
.product-desc p.Normal,
.especificacao-content p,
.especificacao-content p.Normal,
.itens-inclusos-content p,
.itens-inclusos-content p.Normal {
    margin: 0 0 0.75em 0 !important;
    padding: 0;
    font-size: 1em !important;
    line-height: 1.6 !important;
}

/* Parágrafos vazios ou só com <br>: esconder margem extra */
.desc-panel .desc-content p:empty,
.product-desc p:empty,
.especificacao-content p:empty,
.itens-inclusos-content p:empty {
    margin: 0 !important;
    min-height: 0;
    height: 0;
    overflow: hidden;
}

/* Títulos de seção – cores da loja (preto, amarelo, branco) */
.desc-panel .desc-content p strong,
.desc-panel .desc-content p strong .tm7,
.desc-panel .desc-content .tm7,
.product-desc p strong,
.product-desc .tm7,
.especificacao-content p strong,
.especificacao-content .tm7,
.itens-inclusos-content p strong,
.itens-inclusos-content .tm7 {
    display: block;
    margin-top: 1.25em !important;
    margin-bottom: 0.5em !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.3 !important;
}

.desc-panel .desc-content p strong:first-child,
.desc-panel .desc-content p:first-child strong,
.product-desc p:first-child strong,
.especificacao-content p:first-child strong,
.itens-inclusos-content p:first-child strong {
    margin-top: 0 !important;
}

/* Override de font-size inline vindo do banco (7pt, 8pt, 16px) */
.desc-panel .desc-content span[style*="font-size"],
.product-desc span[style*="font-size"],
.especificacao-content span[style*="font-size"],
.itens-inclusos-content span[style*="font-size"] {
    font-size: inherit !important;
}

.desc-panel .desc-content td span[style*="font-size"],
.desc-panel .desc-content td p,
.especificacao-content td span[style*="font-size"],
.especificacao-content td p {
    font-size: 0.9375rem !important; /* 15px - legível em células */
}

/* Tabelas: layout organizado e responsivo */
.desc-panel .desc-content table,
.product-desc table,
.especificacao-content table,
.itens-inclusos-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 0.9375rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: visible;
}

.desc-panel .desc-content table td,
.desc-panel .desc-content table th,
.product-desc table td,
.product-desc table th,
.especificacao-content table td,
.especificacao-content table th,
.itens-inclusos-content table td,
.itens-inclusos-content table th {
    padding: 10px 12px !important;
    border: 1px solid #e9ecef !important;
    vertical-align: middle !important;
    text-align: left !important;
    font-size: inherit !important;
    color: #111 !important;
}

/* Cabeçalho de tabela – preto com texto branco (cores da loja) */
.desc-panel .desc-content table tr:first-child th,
.desc-panel .desc-content table tr:first-child td,
.desc-panel .desc-content table td[style*="background"],
.product-desc table tr:first-child td,
.especificacao-content table tr:first-child th,
.especificacao-content table tr:first-child td,
.especificacao-content table td[style*="background"],
.itens-inclusos-content table tr:first-child td {
    background: #111 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

/* Zebra: branco e amarelo claro – evita texto branco em fundo claro */
.desc-panel .desc-content table tbody tr:nth-child(even),
.especificacao-content table tbody tr:nth-child(even),
.itens-inclusos-content table tbody tr:nth-child(even) {
    background: #fffbe6;
}

.desc-panel .desc-content table tbody tr:nth-child(even) td,
.especificacao-content table tbody tr:nth-child(even) td,
.itens-inclusos-content table tbody tr:nth-child(even) td {
    background: #fffbe6 !important;
    color: #111 !important;
}

.desc-panel .desc-content table tbody tr:nth-child(odd) td,
.especificacao-content table tbody tr:nth-child(odd) td,
.itens-inclusos-content table tbody tr:nth-child(odd) td {
    background: #fff !important;
    color: #111 !important;
}

/* Evitar texto branco em fundo claro (override de estilos inline do banco) – só nas linhas de dados */
.desc-panel .desc-content table tbody tr:not(:first-child) td,
.desc-panel .desc-content table tbody tr:not(:first-child) td *,
.especificacao-content table tbody tr:not(:first-child) td,
.especificacao-content table tbody tr:not(:first-child) td *,
.itens-inclusos-content table tbody tr:not(:first-child) td,
.itens-inclusos-content table tbody tr:not(:first-child) td * {
    color: #111 !important;
}

/* Reduzir impacto de <br> em sequência (espaçamento já vem dos p) */
.desc-panel .desc-content br,
.product-desc br,
.especificacao-content br,
.itens-inclusos-content br {
    display: block;
    content: "";
    margin-top: 0.25em;
}

/* Links dentro da descrição – preto/amarelo da loja */
.desc-panel .desc-content a,
.especificacao-content a,
.itens-inclusos-content a {
    color: #111;
    text-decoration: underline;
}

.desc-panel .desc-content a:hover,
.especificacao-content a:hover,
.itens-inclusos-content a:hover {
    color: #333;
}

/* Tabelas já estilizadas (ex: table-striped da especificação) - não sobrescrever demais */
.desc-panel .desc-content table.table,
.especificacao-content table.table {
    border-radius: 8px;
}

/* ===== Tabela de ESPECIFICAÇÕES (estrutura da imagem: 2 colunas, bordas cinza, zebra suave) ===== */
.desc-panel .desc-content table.table,
.desc-panel .desc-content table.table-striped,
.especificacao-content table.table,
.especificacao-content table.table-striped {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-top: 0.75em;
    margin-bottom: 1.25em;
    box-shadow: none;
}

/* Primeira linha da tabela de especificações = mesma estrutura (label + valor), sem cabeçalho preto */
.desc-panel .desc-content table.table tr:first-child th,
.desc-panel .desc-content table.table tr:first-child td,
.desc-panel .desc-content table.table-striped tr:first-child th,
.desc-panel .desc-content table.table-striped tr:first-child td,
.especificacao-content table.table tr:first-child th,
.especificacao-content table.table tr:first-child td,
.especificacao-content table.table-striped tr:first-child th,
.especificacao-content table.table-striped tr:first-child td {
    background: #fff !important;
    color: #111 !important;
}

.desc-panel .desc-content table.table tr:first-child td,
.desc-panel .desc-content table.table-striped tr:first-child td,
.especificacao-content table.table tr:first-child td,
.especificacao-content table.table-striped tr:first-child td {
    font-weight: 400 !important;
}

.desc-panel .desc-content table.table th,
.desc-panel .desc-content table.table-striped th,
.especificacao-content table.table th,
.especificacao-content table.table-striped th {
    width: 40%;
    max-width: 220px;
    padding: 12px 16px !important;
    font-weight: 700 !important;
    color: #111 !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-bottom: 1px solid #dee2e6 !important;
    vertical-align: middle !important;
    font-size: 0.9375rem !important;
}

.desc-panel .desc-content table.table td,
.desc-panel .desc-content table.table-striped td,
.especificacao-content table.table td,
.especificacao-content table.table-striped td {
    padding: 12px 16px !important;
    color: #111 !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-bottom: 1px solid #dee2e6 !important;
    vertical-align: middle !important;
    font-size: 0.9375rem !important;
}

.desc-panel .desc-content table.table tr:nth-child(even) th,
.desc-panel .desc-content table.table tr:nth-child(even) td,
.desc-panel .desc-content table.table-striped tr:nth-child(even) th,
.desc-panel .desc-content table.table-striped tr:nth-child(even) td,
.especificacao-content table.table tr:nth-child(even) th,
.especificacao-content table.table tr:nth-child(even) td,
.especificacao-content table.table-striped tr:nth-child(even) th,
.especificacao-content table.table-striped tr:nth-child(even) td {
    background: #f8f9fa !important;
    color: #111 !important;
}

.desc-panel .desc-content table.table tr:nth-child(odd) th,
.desc-panel .desc-content table.table tr:nth-child(odd) td,
.desc-panel .desc-content table.table-striped tr:nth-child(odd) th,
.desc-panel .desc-content table.table-striped tr:nth-child(odd) td,
.especificacao-content table.table tr:nth-child(odd) th,
.especificacao-content table.table tr:nth-child(odd) td,
.especificacao-content table.table-striped tr:nth-child(odd) th,
.especificacao-content table.table-striped tr:nth-child(odd) td {
    background: #fff !important;
    color: #111 !important;
}

.desc-panel .desc-content table.table td *,
.desc-panel .desc-content table.table-striped td *,
.especificacao-content table.table td *,
.especificacao-content table.table-striped td * {
    color: #111 !important;
}

.desc-panel .desc-content table.table a,
.especificacao-content table.table a {
    color: #111 !important;
    font-weight: 600;
}

.desc-panel .desc-content table.table a:hover,
.especificacao-content table.table a:hover {
    color: #333 !important;
}

/* Título "Especificações" (e outros títulos antes de table.table) em amarelo/dourado */
.desc-panel .desc-content p:has(+ table.table) strong,
.desc-panel .desc-content p:has(+ table.table) .tm7,
.desc-panel .desc-content p:has(+ table.table-striped) strong,
.desc-panel .desc-content p:has(+ table.table-striped) .tm7,
.especificacao-content p:has(+ table.table) strong,
.especificacao-content p:has(+ table.table) .tm7,
.especificacao-content p:has(+ table.table-striped) strong,
.especificacao-content p:has(+ table.table-striped) .tm7 {
    color: #c9a227 !important;
}

.produto.custom-estilo{z-index: 499 !important;}

/* Mobile: .desc-content (HTML do banco) — arrastar tabelas na horizontal */
@media (max-width: 768px) {
    .desc-panel,
    .desc-panel .panel-body,
    .desc-panel .desc-content,
    .desc-content {
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        max-width: 100%;
    }

    .desc-panel .desc-content table,
    .desc-content table {
        display: table !important;
        width: max-content !important;
        min-width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
    }

    .desc-panel .desc-content table td,
    .desc-panel .desc-content table th,
    .desc-content table td,
    .desc-content table th {
        padding: 8px 10px !important;
        font-size: 0.875rem !important;
        white-space: nowrap !important;
    }

    .produto .btn-carrinho{width: 100% !important;}
    .produto .botoes-area{flex-direction: column;}
    .nome-prod-desktop{height: 37px !important;}
}

.produto{
    min-height: 490px !important;
}
/* IMPRESSAO CONFIGS */
/* @media print {

    body * {
        visibility: hidden;
        margin: 0;
    }


    header, footer, .navbar, .footer-site, #btn-imprimir {
        display: none !important;
    }


    #conteudo_carrinho, #conteudo_carrinho * {
        visibility: visible;
    }

   
    #conteudo_carrinho {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }


    html, body {
        height: auto;
        overflow: visible;
    }
} */
 /* IMPRESSAO CONFIGS */
@media print {
    #sidecart{
        display: none !important;
    }
    aside#sidecart{
        display: none !important;
    }
    .sidecart-panel{
        display: none !important;
    }
    .cart-remove, 
    .minus-carrinho, 
    .plus-carrinho,
    .titlecarmobile,
    svg {
        display: none !important;
    }
    /* 1. Em vez de esconder TUDO, escondemos os blocos principais e mostramos só o alvo */
    body > *:not(#sidecart):not(#conteudo_carrinho) {
        visibility: hidden !important;
    }
    /* 1. Container do Logo */
    .text-center {
        display: block !important;
        visibility: visible !important;
        text-align: center !important;
        margin-bottom: 30px !important; /* Espaço entre o logo e a lista de produtos */
        padding-top: 10px !important;
        border-bottom: 2px solid #f4f4f4; /* Linha sutil para separar o cabeçalho */
        padding-bottom: 20px !important;
    }

    /* 2. Estilização da Imagem do Logo */
    .text-center img {
        display: inline-block !important;
        visibility: visible !important;
        max-width: 200px !important; /* Aumenta um pouco para o papel se necessário */
        height: auto !important;
        
        /* Garante que o navegador não ignore a imagem */
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        
        /* Filtro opcional: se o logo for muito claro, isso garante que ele saia nítido */
        filter: contrast(1.1);
    }

    /* 3. Ajuste de quebra de página */
    .text-center {
        page-break-after: avoid; /* Evita que o logo fique sozinho em uma página e o conteúdo em outra */
    }
    img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}
    /* 2. Garante que o container do carrinho e seus pais estejam visíveis */
    #sidecart, 
    #conteudo_carrinho,
    .sidecart-main,
    .sidecart-content,
    #sidecart-body {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-height: auto !important;
        overflow: visible !important;
    }

    /* Força o conteúdo interno a aparecer */
    #sidecart *, #conteudo_carrinho * {
        display: inline-block; /* Melhora o fluxo de itens do carrinho */
        display: revert; 
        visibility: visible !important;
    }

    /* 3. Força cores e imagens */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* 4. Esconde elementos de interface (Botões, lixeiras, menus) */
    #btn-imprimir, 
    .btn-cart, 
    .btn-default, 
    .cart-remove, 
    .modal, 
    svg, 
    hr {
        display: none !important;
    }

    /* 5. Ajuste de layout para papel */
    /* 5. Estilização para parecer um documento oficial */
    #conteudo_carrinho {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        background: white;
    }
    .carckt {
        box-shadow: none !important; /* Remove sombra no papel */
        margin-top: 20px !important;
        border: 1px solid #eee; /* Adiciona uma borda leve no resumo */
    }
    #sidecart, #conteudo_carrinho {
        position: absolute;
        top: 0rem;
        left: 0;
        margin: 0;
        padding: 0;
    }

    /* Ajuste para grids se houver */
    .col-md-8, .col-md-4, .col-md-12 {
        width: 100% !important;
        float: none !important;
    }
    html, body {
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    @page {
        size: auto;
        margin: 5mm;
    }
    .carrinhodisplay {
        display: flex !important;
        align-items: center !important;
        border-bottom: 1px solid #eee !important;
        padding: 15px 0 !important;
        margin: 0 !important;
        page-break-inside: avoid;
    }
    .carrinhodisplay .col-md-2.col-sm-2.col-xs-4 {
        width: 20% !important;
        text-align: center !important;
        float: none !important;
        display: flex !important;
        justify-content: center !important;
    }
    .carrinhodisplay img {
        width: 80px !important; /* Aumentado para melhor visibilidade */
        height: auto !important;
        border-radius: 4px;
    }
    .nomeprodcarrinho {
        font-weight: bold !important;
        font-size: 14px !important;
        display: block !important;
        margin-bottom: 5px !important;
    }

    .carvalorproduto {
        color: #555 !important;
        font-size: 12px !important;
        margin: 0 !important;
    }
    .qty-input.form-carrinho {
        border: none !important;
        background: transparent !important;
        font-size: 18px !important;
        font-weight: bold !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 5px !important;
    }
    /* Ajuste do container da quantidade */
    .col-md-2.col-md-offset-6 {
        width: 15% !important;
        margin: 0 !important;
        text-align: center !important;
        float: none !important;
    }

    .col-md-2.col-md-offset-6 label {
        font-size: 10px !important;
        text-transform: uppercase !important;
        color: #888 !important;
        margin-bottom: 0 !important;
    }

    /* 6. Preço Total à Direita */
    .col-md-3.text {
        width: 20% !important;
        text-align: right !important;
        font-size: 16px !important;
        float: none !important;
        margin-left: auto !important;
    }

    /* Garante que o input mostre o valor no print */
    input.qty-input {
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
    }
}

.badge-indisponivel {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 4px;
    z-index: 2;
}
.img-produto {
    position: relative;
}

ul.dropdown-menu.mega-dropdown-menu.dropdown-desktop.container.dropdown-todas-categorias {
    gap: 0px;
    max-height: 350px;
    overflow-y: auto;
}

.vitrine-carrosel .owl-item {
    padding: 5px;
}
