/* ==========================================================
   1. IMPORTAÇÃO E FONTES (APLICAÇÃO ÚNICA)
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

* { font-family: 'Montserrat', sans-serif !important; }

/* ==========================================================
   2. CABEÇALHO (LOGO E MENU)
   ========================================================== */

/* Estrutura do Topo */
#cabecalho .conteudo-topo .row-fluid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
}

#cabecalho .logo {
    display: block !important;
    float: none !important;
    margin: 0 auto 15px auto !important;
    text-align: center !important;
}

/* Tamanho da Logo */
@media only screen and (min-width: 768px) { #cabecalho .logo img { max-height: 60px !important; } }
@media only screen and (max-width: 767px) { #cabecalho .logo img { max-height: 40px !important; } }

/* Menu Superior (Exibição das 6 Categorias) */
#cabecalho .menu.superior {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 10px 0 !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
}

#cabecalho .menu.superior .nivel-um {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
}

#cabecalho .menu.superior .nivel-um > li {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 12px !important;
}

/* Estilo do Texto do Menu (Elegante/Fino) */
#cabecalho .menu.superior .nivel-um > li > a > strong {
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    font-size: 12px !important;
    color: #000000 !important;
    white-space: nowrap !important;
}

/* Subcategorias e Efeito Vidro */
.menu.superior .nivel-dois, .menu.superior .nivel-tres {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.menu.superior .nivel-dois li a, 
.menu.superior .nivel-dois li a strong {
    font-weight: 300 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 11px !important;
    color: #333333 !important;
    text-align: left !important;
}

/* Remove botões extras do tema */
li.mais-categorias, li.todas-categorias { display: none !important; }

/* ==========================================================
   3. VITRINE (PRODUTOS)
   ========================================================== */

/* Grid da Listagem */
@media only screen and (min-width: 768px) {
    .listagem .listagem-linha li { width: 31% !important; margin: 1% !important; display: inline-block !important; vertical-align: top !important; }
}
@media only screen and (max-width: 767px) {
    .listagem .listagem-linha li { width: 47% !important; margin: 1% !important; }
}

/* Alinhamento de Imagem e Nome */
.listagem .imagem-produto { 
    height: 350px !important; 
    display: flex !important; 
    align-items: center !important; 
}

.listagem .imagem-produto img { max-height: 100% !important; object-fit: contain !important; }

.listagem .nome-produto, .listagem .nome-produto a {
    min-height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 11px !important;
}

.listagem .preco-produto { text-align: center !important; }

/* ==========================================================
   4. PÁGINA DE PRODUTO (FOTOS E MINIATURAS)
   ========================================================== */

#corpo .pagina-produto .principal .fotos-extras .thumbnails li {
    position: relative !important;
    display: block !important;
    margin-bottom: 15px !important;
}

#corpo .pagina-produto .principal .foto-principal {
    margin-left: 100px !important;
    width: calc(100% - 110px) !important;
    float: left !important;
}

/* ==========================================================
   5. RODAPÉ E AJUSTES FINAIS
   ========================================================== */

#rodape .titulo {
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

#rodape, #rodape a, #rodape p, #rodape span {
    font-size: 13px !important;
    color: #333 !important;
}

/* Ajuste de Banner (Sobe para cobrir espaço branco) */
@media only screen and (min-width: 768px) { .secao-banners { margin-top: -90px !important; } }
@media only screen and (max-width: 767px) { .secao-banners { margin-top: -50px !important; } }


/* AJUSTE PARA SUMIR COM A SETA SEM QUEBRAR O MENU */
#cabecalho .menu.superior .nivel-um li i.icon-chevron-down,
#cabecalho .menu.superior .nivel-um li i {
    opacity: 0 !important;       /* Deixa invisível */
    width: 20px !important;      /* Mantém um tamanho para você conseguir clicar */
    margin-left: -20px !important; /* Puxa para cima do texto para o clique funcionar na palavra */
    position: relative !important;
    z-index: 9 !important;
    display: inline-block !important; /* Devolve o elemento para o código */
}

/* Garante que o link da categoria principal não bloqueie o clique da subcategoria */
#cabecalho .menu.superior .nivel-um > li {
    position: relative !important;
}

/* Garante que o texto não fique deslocado sem a seta */
#cabecalho .menu.superior .nivel-um > li > a {
    padding: 0 !important;
    margin: 0 !important;
}


/* 1. IMPORTAÇÃO (MANTÉM) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

/* 2. REMOVA O '*' E USE ESTE BLOCO PARA A FONTE */
body, p, span, a, div, strong, li { 
    font-family: 'Montserrat', sans-serif !important; 
}

/* 3. AJUSTE PARA O NOME DOS PRODUTOS NÃO CORTAR E VOLTAR AS "..." */
.listagem .nome-produto, 
.listagem .nome-produto a {
    font-size: 11px !important; /* Diminuído para caber mais texto */
    font-weight: 400 !important; /* Letra mais fina (não fica tão grossa) */
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    /* REATIVA AS RETICÊNCIAS (...) */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    width: 100% !important;
}


/* AJUSTE DE TAMANHO DA LOGO */

/* No Computador (Telas maiores que 768px) */
@media only screen and (min-width: 768px) { 
    #cabecalho .logo img { 
        max-height: 40px !important; /* Diminua esse valor para reduzir a logo */
        width: auto !important;
    } 
}

/* No Celular (Telas menores que 767px) */
@media only screen and (max-width: 767px) { 
    #cabecalho .logo img { 
        max-height: 35px !important; /* Diminua esse valor para reduzir no celular */
        width: auto !important;
    } 
}

/* AJUSTE EXCLUSIVO MOBILE: BANNER E POSICIONAMENTO */
@media only screen and (max-width: 767px) {
    /* 1. Reset total de altura para matar o achatamento */
    .secao-banners, 
    .secao-banners .flexslider, 
    .secao-banners .slides, 
    .secao-banners .slides li, 
    .secao-banners .slides li a,
    .secao-banners .banner-principal {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* 2. Força a imagem a ser proporcional ao arquivo original */
    .secao-banners .banner-principal img {
        height: auto !important;
        width: 100% !important;
        max-height: none !important;
        object-fit: initial !important; /* Remove qualquer instrução de esticar */
        position: relative !important;
    }

    /* 3. Sobe o banner (Aumentei o recuo para subir mais) */
    .secao-banners {
        margin-top: -70px !important; /* Aumente para -70px se quiser subir ainda mais */
        z-index: 10 !important;
    }

    /* Remove espaçamentos extras que impedem o banner de subir */
    #cabecalho {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}




/* PADRONIZAÇÃO DA FONTE DA DESCRIÇÃO DO PRODUTO */
#descricao, 
#descricao *, 
.produto-caracteristicas, 
.produto-caracteristicas * {
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.6 !important; /* Melhora a leitura do texto */
    color: #333333 !important;
}

/* Ajuste específico para os títulos dentro da descrição, se houver */
#descricao h1, #descricao h2, #descricao h3, #descricao strong {
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}




/* FORÇAR MONTSERRAT NOS TÍTULOS DO TEMA MOSAICO */
.titulo-lilas, .titulo-bordado, .titulo-fundo, .titulo-secao, 
h1, h2, h3, h4, h5, 
.nome-produto .titulo-categoria {
    font-family: 'Montserrat', sans-serif !important;
}






/* 1. CORREÇÃO DOS QUADRADOS (PAGINAÇÃO E FILTROS) */
/* Devolve a fonte de ícones para o site todo, exceto onde vamos esconder */
[class^="icon-"], [class*=" icon-"], .icon-chevron-down, .icon-chevron-right {
    font-family: 'FontAwesome' !important;
}

/* 2. MENU SUPERIOR: ESCONDER SETAS NO PC MAS MANTER CLIQUE */
@media only screen and (min-width: 768px) {
    #cabecalho .menu.superior .nivel-um li i.icon-chevron-down {
        opacity: 0 !important;
        width: 0 !important;
        margin-left: -5px !important;
    }
}





/* RESTAURAR ÍCONES GLOBAIS (WHATSAPP, QUANTIDADE, PAGAMENTO) */
[class^="icon-"], [class*=" icon-"], i {
    font-family: 'FontAwesome' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    visibility: visible !important;
    opacity: 1 !important;
}



/* ==========================================================
   AJUSTES FINAIS - BOUTIQUE EUPHORIA (CORREÇÃO TOTAL)
   ========================================================== */

/* CONSERTO DEFINITIVO ÍCONE WHATSAPP */
#btn-whatsapp i, 
.whatsapp-flutuante i, 
.icon-whatsapp:before, 
#btn-whatsapp i:before {
    font-family: "FontAwesome" !important;
    content: "\f232" !important; /* Código do telefone do WhatsApp */
    font-style: normal !important;
    font-weight: normal !important;
    text-decoration: none !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
}

/* Garante que nada 'esconda' o ícone dentro do círculo */
.whatsapp-flutuante, #btn-whatsapp {
    overflow: visible !important;
}

/* 2. MENU MOBILE: Seta visível e funcional */
@media only screen and (max-width: 767px) {
    /* Devolve o elemento da seta ao código */
    #cabecalho .menu.superior .nivel-um li.com-filho > i {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 50px !important;
        height: 100% !important;
        z-index: 9999 !important;
        justify-content: center !important;
        align-items: center !important;
        color: #000 !important;
    }

    /* Desenha a seta manualmente para não depender do tema */
    #cabecalho .menu.superior .nivel-um li.com-filho > i::before {
        content: "\f078" !important;
        font-family: 'FontAwesome' !important;
        font-size: 12px !important;
        display: block !important;
    }

    /* Afasta o texto do nome da categoria para não bater na seta */
    #cabecalho .menu.superior .nivel-um li.com-filho > a {
        padding-right: 50px !important;
    }
}

/* 3. TÍTULOS: Montserrat com peso elegante (500) */
.titulo-lilas, .titulo-secao, .vitrine-lancamentos .titulo-bot, 
#descricao .titulo, .nome-produto, h1, h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}