html,body {
    background-color: #f7f7f7;
    font-family: "Inter", sans-serif;
    /*font-family: "Roboto", sans-serif;*/
    /*font-family: "Open Sans", sans-serif;*/
}

h1,h2,h3,h4,h5 {
    font-family: "Inter", sans-serif;
    /*font-family: "Roboto", sans-serif;*/
    /*font-family: "Open Sans", sans-serif;*/
}

label,p {
    font-family: "Inter", sans-serif;
    /*font-family: "Roboto", sans-serif;*/
    /*font-family: "Open Sans", sans-serif;*/
}

a { 
    text-decoration: none;
   font-family: "Inter", sans-serif;
    /*font-family: "Roboto", sans-serif;*/
    /*font-family: "Open Sans", sans-serif;*/
}

.top-navbar {
    background-color: #0d6063;
}
.top-navbar .list-group {
    list-style: none;
}
.top-navbar .list-group li,
.top-navbar .list-group li .top-nav-link {
    color: #f9f9f9;
    text-decoration: none;
    padding: 6px 5px;
    font-size: 14px;
}

.navbar .nav-link {
    padding: 20px 12px !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
    color: #000 !important;
}

.nav-btn {
    background-color: #dc2126;
    color: #fff !important;
    font-size: 14px !important;
    border-radius: 4px;
    padding: 8px 12px;
    font-weight: 600;
}

/* toogle navbar X */

.custom-toggler.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    width: 30px;
    height: 20px; /* Altura total do conjunto de linhas */
    position: relative;
    padding: 0;
    background: transparent;
    display: block; /* Garante visibilidade */
}


/* Posição inicial de cada linha */
.toggler-line:nth-child(1) { top: 0; }
.toggler-line:nth-child(2) { top: 9px; }
.toggler-line:nth-child(3) { top: 18px; }

/* --- Animação para o X --- */

/* Linha 1: Desce 9px e gira */
.custom-toggler:not(.collapsed) .toggler-line:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

/* Linha 2: Fica invisível e desliza */
.custom-toggler:not(.collapsed) .toggler-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

/* Linha 3: Sobe 9px e gira ao contrário */
.custom-toggler:not(.collapsed) .toggler-line:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* o codigo abaixo está no front end blade pois é cor dinamica */
/*.toggler-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: {{ $catalog_settings_global->header_text_color ?? '#000000' }};
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}*/

/* end toogle*/

.logo-catalogo {
    width: 100%; 
    max-width: 200px; 
    max-height: 80px;
}

@media (max-width: 990px) {

    .logo-catalogo {
    width: 100%; 
    max-width: 140px; 
    max-height: 80px;
}

}

@media (max-width: 920px) {

    .logo-catalogo {
    width: 100%; 
    max-width: 130px; 
    max-height: 80px;
}

}

@media (max-width: 500px) {

    .logo-catalogo {
    width: 100%; 
    max-width: 110px; 
    max-height: 80px;
}

}

@media (max-width: 400px) {

    .logo-catalogo {
    width: 100%; 
    max-width: 90px; 
    max-height: 80px;
}

}

@media (max-width: 376px) {

    .logo-catalogo {
    width: 100%; 
    max-width: 80px; 
    max-height: 80px;
}

}

@media (max-width: 360px) {

    .logo-catalogo {
    width: 100%; 
    max-width: 65px; 
    max-height: 80px;
}

}

/* OWL Carousel Centraliza os itens quando não ocupam a largura total */
.owl-carousel .owl-stage {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.img-owl {
    /* Define um tamanho fixo igual para largura e altura */
    width: 150px;
    height: 150px;
    
    /* Faz o círculo perfeito */
    border-radius: 50%;
    
    /* O SEGREDO: Corta a imagem para preencher o círculo sem distorcer */
    object-fit: cover;
    
    /* Garante que a imagem foque no centro */
    object-position: center;
    
    /* Evita que o Owl Carousel force outra largura */
    display: block !important;
    margin: 0 auto 10px;
    
    /* Estética opcional: uma borda fina ou sombra */
    border: 2px solid #ddd;
}

.sem-imagem {

    display: flex; 
    justify-content: center; 
    align-items: center; 
    /* Define um tamanho fixo igual para largura e altura */
    width: 150px;
    height: 150px;
    
    /* Faz o círculo perfeito */
    border-radius: 50%;
    background-color: #f8f9fa; 
    border: 1px solid #ddd;

}


@media (max-width: 780px) {

    .img-owl {
    width: 120px;
    height: 120px;
}

.sem-imagem {
    width: 120px;
    height: 120px;
}
}

@media (max-width: 690px) {

    .img-owl {
    width: 110px;
    height: 110px;
}

.sem-imagem {
    width: 110px;
    height: 110px;
}
}

@media (max-width: 600px) {

    .img-owl {
    width: 100px;
    height: 100px;
}

.sem-imagem {
    width: 100px;
    height: 100px;
}

}

@media (max-width: 500px) {

    .img-owl {
    width: 80px;
    height: 80px;
}

.sem-imagem {
    width: 80px;
    height: 80px;
}

}

@media (max-width: 391px) {

    .img-owl {
    width: 70px;
    height: 70px;
}

.sem-imagem {
    width: 70px;
    height: 70px;
}

}

/*end OWL Carousel*/


    /*para aparecer somente 2 linhas nos cards de produtos relacionados*/
    .product-title-grid {
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Número de linhas que você quer mostrar */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 2.4em; /* Mantém a altura fixa para alinhar os cards (ajuste conforme a fonte) */
        line-height: 1.2em;
        white-space: normal; /* Sobrescreve o comportamento do truncate padrão */
    }


    /* Força o negrito a aparecer dentro da descrição do produto */
.lead b, .lead strong {
    font-weight: bold !important;
}

/* Aproveite para garantir que as listas também apareçam */
.lead ul {
    list-style-type: disc !important;
    margin-left: 1.5rem !important;
}



/* start share button botão compartilhar */
    
    /* Alinha o botão de compartilhar à direita do container pai */
    .container-share {
        display: flex;
        justify-content: flex-end; 
        width: 100%;
        padding: 1px 30px;
    }

    .btn-share {
        background-color: #737373; /* Cor sugestiva ou a do seu tema */
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 50%; /* Deixa o botão redondo */
        cursor: pointer;
        transition: transform 0.2s;
    }

    .btn-share:hover {
        transform: scale(1.1);
    }

    /* Estilo do Menu de Fallback */
    .share-menu {
        position: fixed;
        bottom: 80px; /* Um pouco acima do botão */
        right: 20px;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        z-index: 9999;
        width: 200px;
    }

    .share-options a, .share-options button {
        display: flex;
        align-items: center;
        gap: 10px; /* Espaço entre ícone e texto */
        margin-bottom: 10px;
        text-decoration: none;
        color: #333;
        font-family: sans-serif;
        font-size: 14px;
        background: #f8f9fa;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #eee;
        width: 100%;
        cursor: pointer;
    }

    .link-whatsapp:hover { background: #e7f9ee; color: #25d366; }
    .btn-close { color: #888; border: none; background: none; width: 100%; cursor: pointer; font-size: 12px; }

/* end share button botão compartilhar */

    
    /* start imagens miniatura lightbox */

    /* Mantém a imagem principal com um tamanho máximo elegante */
    .main-product-img {
        max-height: 500px;
        object-fit: contain;
        background-color: #f8f9fa;
    }

    /* Cria um quadrado perfeito para as miniaturas */
    .thumb-wrapper {
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    .thumb-wrapper img {
        width: 100%;
        height: 100%;
       /* object-fit: cover;*/
    }
    .main-product-img {
        object-fit: contain;
        background: #fff;
    }
    .thumb-wrapper:hover {
        transform: scale(1.05);
        border-color: #4169E1;
    }

/* end imagens miniatura lightbox */

/* Customizando a barra de rolagem do dropdown (categorias da navbar) */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
/*.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: {{ $catalog_settings_global->header_text_color }};
    border-radius: 10px;
}*/
.dropdown-menu::-webkit-scrollbar-track {
    background: #bfbfbf;
}

/* Exemplo: Negrito e borda inferior no link ativo */
.nav-link.active {
    font-weight: bold !important;
    border-bottom: 2px solid /*{{ $catalog_settings_global->header_text_color }}*/;
}

/* Cor de fundo para a categoria ativa dentro do dropdown */
.dropdown-item.active {
    /*background-color: {{ $catalog_settings_global->header_text_color }};*/
    color: #fff !important;
}


/* Força a cor branca e o fundo dinâmico quando a classe active estiver presente */
.dropdown-item.active {
    background-color: #4d4d4d/*{{ $catalog_settings_global->header_text_color }} !important*/;
    color: #ffffff !important;
}

@media (max-width: 991px) { /* Aplica apenas no modo mobile/responsivo */
    .nav-item .nav-link.active {
        display: inline-block; /* Faz o elemento ter o tamanho do texto */
        width: auto;           /* Garante que não herde 100% */
        border-bottom: 2px solid; /*{{ $catalog_settings_global->header_text_color }};*/
        padding-bottom: 2px;   /* Ajusta a distância da borda para o texto */
    }

}

