/* ==========================================================================
   CONFIGURAÇÃO DE FONTES LOCAIS - SEGOE UI
   ========================================================================== */
@font-face {
    font-family: 'fonte_padrao';
    src: url('segoeui.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'fonte_padrao';
    src: url('segoeuib.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'fonte_padrao';
    src: url('segoeuii.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'fonte_padrao';
    src: url('segoeuil.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'fonte_padrao';
    src: url('segoeuisl.ttf') format('truetype');
    font-weight: 350;
    font-style: normal;
}

@font-face {
    font-family: 'fonte_padrao';
    src: url('segoeuiz.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ==========================================================================
   JOGO BARALHO CIGANO - ESTRELA DE GAIA (CSS CONSOLIDADO)
   ========================================================================== */

/* --- Cabeçalho e Identidade Visual (Global Drupal) --- */
body {
    background: #fff !important;
}
header,
#header, 
.region-header, 
.header-container,
.top-bar { 
    background-color: #000 !important;
    background-image: none !important;
    border-bottom: 2px solid #ffbc00 !important; /* Linha dourada */
}

header nav.navbar {
    margin: 0 auto;
    max-width: 1320px;
}

.site-logo img, 
#logo img,
.logo img,
#logo {
    display: block;
    margin-left: 13px;
    width: auto !important;
    height: 150px !important; 
    transition: transform 0.3s ease;
}

.site-name a {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem !important;
    color: #7b2cbf !important;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
}
.navbar-brand {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

/* --- Menu de Navegação (Clean & Minúsculo) --- */

#main-menu ul.menu, 
.nav-inline,
.region-header nav ul {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 15px 0;
    list-style: none;
}

#main-menu ul.menu li a,
.region-header nav ul li a {
    font-size: 0.95rem !important;
    text-transform: lowercase !important; 
    letter-spacing: 1px;
    color: #efefef !important;
    padding: 10px 20px;
    transition: color 0.3s ease;
    text-decoration: none;
}

#main-menu ul.menu li a:hover,
.region-header nav ul li a:hover {
    color: #ffbc00 !important; 
}

.navbar .nav-link:hover {
    color: #ccc !important;
}

/* --- Container do Jogo (Estilo Clean) --- */

#jogo-cigano-container {
    font-family: 'fonte_padrao', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    color: #333;
    padding: 15px 20px 40px 20px;
    /* max-width: 1100px; */
    margin: auto;
    /* background: #ffffff;  */
    border-radius: 0;
    box-shadow: none;
}

/* --- Mesa e Slots --- */
.mesa {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    min-height: 280px;
}

.slot {
    width: 180px;
    height: 270px;
    border: 2px dashed #ccc; 
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    transition: all 0.4s ease;
}
@media (max-width: 660px) {
    .slot {
        width: auto;
        height: auto;
    }
}

.slot img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.slot:hover {
    border-color: #666;
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.1);
}

/* --- Botões --- */
.btn-principal, .btn-leitura {
    background: #000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: normal;
    transition: all 0.3s ease;
}

.btn-principal:hover, .btn-leitura:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- Deck e Cartas --- */
.deck {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 30px auto;
    padding: 0;
    /* background: rgba(0, 0, 0, 0.03); */
    border-radius: 10px;
}
@media (max-width: 509px){
    .deck {
        justify-content: center;
        gap: 7px;
    }    
}
@media (max-width: 288px){
    .deck {
        gap: 3px;
    }    
}
@media (max-width: 281px){
    .deck {
        gap: 1px;
    }    
}
@media (max-width: 276px){
    .deck {
        gap: 0 !important;
        justify-content: center;
    }    
}
.carta {
    width: 80px;
    height: 114px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-size: cover;
}

.carta.revelada-no-deck {
    opacity: 0.35;
    filter: grayscale(0.8);
    pointer-events: none;
}

/* --- Área de Leitura (IA) --- */
.leitura-profunda {
    background: #fff;
    padding: 20px;
    margin: 20px auto;
    /* text-align: left; */
    max-width: 850px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#texto-ia {
    line-height: 1.2;
    /* font-size: 1.1rem; */
    
}

#texto-ia p {
    font-family: 'fonte_padrao', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 1.5em;
    line-height: 1.4em;
    /* text-align: justify; */
}
#texto-ia strong {
    color: #000;
    display: inline-block;
    margin-top: 25px;
    margin-bottom: 13px;
    padding-bottom: 5px;
    font-family: 'fonte_padrao', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    border-bottom: none !important;
    /* border-bottom: 1px solid #f3c220; */
}
/* #texto-ia strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    /* background-color: #ffbc00;  */
    /* border-radius: 2px; */
/* }   */
#texto-ia p strong {
    display: inline;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: 700;
    text-transform: none;
    color: #333;
}
@media (max-width: 700px) {
    #texto-ia p {
        font-size: 0.93em;
    }
    #texto-ia strong {
        font-size: 1em;
    }
}
span.texto-clicar-carta {
    display: block;
    margin-bottom: 13px;
    font-family: 'fonte_padrao', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9em;
    line-height: 1.3em;
    color: #666;
}
/* --- Loader e Spinner --- */
#carregando-ia {
    /* background: #f9f7ff; */
    border-radius: 15px;
    border: 1px dashed #666;
    margin: 20px 0;
    padding: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #666;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
}

.img-modal {
    width: 180px;
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.close {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
}

/* --- Animações --- */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { opacity: 0.7; } 50% { opacity: 1; } 100% { opacity: 0.7; } }
@keyframes fadeIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 1.5s ease-in-out; }

/* --- Responsividade (AJUSTADO) --- */
@media (max-width: 768px) {
    .mesa {
        gap: 10px; /* Reduz o espaço entre as cartas */
        min-height: auto;
    }
    .slot {
        /* Faz com que as 3 cartas ocupem a mesma linha diminuindo gradativamente */
        flex: 1; 
        max-width: 180px; 
        height: auto;
        aspect-ratio: 3 / 5; /* Mantém a proporção da carta */
    }
    .slot span {
        font-size: 0.8em; /* Diminui o texto "Posição X" */
    }
}

@media (max-width: 480px) {
    .mesa { gap: 5px; }
    #instrucao-escolha { font-size: 1.1em; }
}

/* --- Estilos Extras --- */
.navbar {
    background-color: #000 !important;
    padding: 1.5rem 0;
}

h1, .path-frontpage h2 {
    font-family: 'fonte_padrao', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 300 !important; 
    color: #333 !important; 
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 20px;
    position: relative;
    padding-bottom: 15px;
}

h1::after, .path-frontpage h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ffbc00; 
    border-radius: 2px;
}

.path-frontpage h2 a {
    color: #2e004f !important; 
    text-decoration: none;
    cursor: auto;
}

#instrucao-escolha {
    font-family: 'fonte_padrao', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important; 
    color: #000 !important; 
    margin-top: 10px !important;
    line-height: 1em;
}

.navbar .nav-link {
    text-transform: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.feed-icons {
    display: none;
}


@media (max-width: 400px) {
    .btn-principal, .btn-leitura {
        padding: 20px 20px;
        border-radius: 30px;
        cursor: pointer;
        font-size: 1em;
        font-weight: normal;
        line-height: 1.1em;
    }
    
    h1, .path-frontpage h2 {
        font-size: 1.7rem !important;
        font-weight: 300 !important; 
        padding-bottom: 10px;
    }
    
    #instrucao-escolha {
        font-size: 1.2em !important;
        font-weight: 400 !important; 
        line-height: 1em;
    }

}
@media (max-width: 700px) {
    .page-node-type-produto h1 {
        font-size: 1.5rem !important;
        font-weight: 500 !important; 
        line-height: 1.25em;
    }
}

.bg-secondary {
    background-color: transparent !important;
}

/* BLOCO MODAL CARTA */

/* botao fechar do modal da carta */
/* .close {

} */
#conteudo-modal img {
    float: none !important;
    display: block;
    margin: 0 auto 15px auto !important;
}
#conteudo-modal h2 {
    font-family: 'fonte_padrao', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important; 
    color: #333 !important; 
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 20px;
    position: relative;
    padding-bottom: 15px;
}
#conteudo-modal h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ffbc00; 
    border-radius: 2px;
}

/* 9 CARTAS */
.mesa-9-cartas {
    justify-content: center;
}

/* PAGINAS PRINCIPAIS */
.region-content article p,
.region-content article {
    font-family: 'fonte_padrao', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 1em;    
    line-height: 1.3em;
}
#carregando-ia p span {
    display: block;
    padding-top: 9px;
    margin-top: 12px;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.4em !important;
    border-top: 1px solid #ccc;
}

.region-content article a {
    text-decoration: none;
    color: #7e29bb;
    /* font-weight: bold; */
    transition: color ease-in-out 0.3s;
}
.region-content article a:hover {
    color: #2e004f;
}
@media (max-width: 728px) {
    .region-content article a {
        display: block;
        text-align: center;
    }
}
/* pagina do produto */
.page-node-type-produto .region-content {
        margin: 0 auto;
        max-width: 1090px;
    }

.field--name-field-foto-de-capa img {
    width: 100%;
    height: auto;
    border: 1px solid #c18401;
    border-radius: 18px;
}
.field--name-field-mais-fotos .field__item {
    border-radius: 18px;
    margin-right: 5px;
    text-align: center;
    margin-left: 5px;
    margin-bottom: 15px;
    width: auto;
    max-width: 480px;
}
.field--name-field-mais-fotos .field__item img {
    border: 1px solid #666;
    /* border-radius: 18px; */
    width: 98%;
}

@media (max-width: 930px) {
    .field--name-field-mais-fotos {
        display: flex;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        flex-wrap: wrap;
        justify-content: center;
    }
    .field--name-field-mais-fotos .field__item {
        margin-bottom: 10px;
    }    
}

.field--name-field-classificacao {
    margin-top: 20px;
    margin-bottom: 20px;
}
.field--name-field-descricao {
    margin-top: 20px;
}


.field--name-field-foto-de-capa {
    text-align: center;
}
.field--name-field-foto-de-capa img {
    width: 70%;    
}

@media (max-width: 680px) {
.field--name-field-foto-de-capa img {
    width: 100%;    
}   
}
@media (max-width: 500px) {
    .field--name-field-classificacao .field__item {
        font-size: 0.9em;
    }    
}
.field--name-field-palavras-chave-prod {
    margin-bottom: 30px;
}
.field--name-field-palavras-chave-prod .field__label {
    margin-bottom: 5px;
}
.field--name-field-palavras-chave-prod .field__item {
    display: inline-block;
    margin-bottom: 5px;
}
.field--name-field-palavras-chave-prod .field__item a {
    display: block;
    padding: 10px 15px;
    font-size: 1em;
    font-weight: 400;
    border-radius: 20px;
    background-color: #f8e3fa;
    color: #2e004f;
    transition: background-color ease-in-out 0.4s;
}
.field--name-field-palavras-chave-prod .field__item a:hover {
    background-color: #efbef3;
    color: #2e004f;
}

.field--name-field-preco {
    margin-top: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    font-weight: 100;
    font-size: 2em;
    color: #000;
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.field--name-field-preco::before {
  content: "R$ ";
  
} 
.field--name-field-mais-fotos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 29px 29px 0 0;
    border-bottom: 0;
}
.field--name-field-informacoes-gerais {
    display: block;
    padding-top: 30px !important;
    padding-bottom: 10px !important;
}
.field--name-field-preco .field__label,
.field--name-field-mais-fotos .field__label,
.field--name-field-informacoes-gerais .field__label {
    display: block;
    margin-bottom: 54px;
    text-align: center;
    font-family: fonte_padrao;
    font-weight: 100;
    font-size: 1.6em;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #333;
}
.field--name-field-preco .field__label::after,
.field--name-field-mais-fotos .field__label::after,
.field--name-field-informacoes-gerais .field__label::after {
    content: '';
    position: absolute;
    margin-top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ffbc00;
    border-radius: 2px;
}
.field--name-field-preco .field__label,
.field--name-field-mais-fotos .field__label {
    margin-bottom: 27px;
    padding-top: 5px;
}

.field--name-field-largura {
    padding-top: 30px;
    margin-top: 0;
    border-top: 1px solid #ccc !important;
}
.field--name-field-largura,
.field--name-field-profundidade,
.field--name-field-altura,
.field--name-field-peso {
    margin-bottom: 5px;
    font-family: fonte_padrao;
    font-size: 1em;
    
}
.field--name-field-peso {
    padding-bottom: 30px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ccc;
}
@media (max-width: 536px) {
    .field--name-field-preco .field__label,
    .field--name-field-mais-fotos .field__label,
    .field--name-field-informacoes-gerais .field__label {
        font-size: 1.3em;
    }
    .field--name-field-preco .field__label::after,
    .field--name-field-mais-fotos .field__label::after,
    .field--name-field-informacoes-gerais .field__label::after {
        margin-top: 33px;
    }
}






/* lista dos produtos */
.lista-produtos h3 {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 30px;
    margin-bottom: 20px;
    font-family: fonte_padrao;
    font-size: 1.3em;
    font-weight: 100;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.lista-produtos h3::after {
    content: '';
    position: absolute;
    margin-top: 29px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    /* background-color: #ffbc00; */
    border-radius: 2px;
}
.lista-produtos .views-row {
    display: block;
    margin: 10px;
    width: 323px;
    height: auto;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 9px 2px rgba(115, 115, 116, 0.42); 
    box-shadow: 0px 0px 9px 2px rgba(115, 115, 116, 0.42);
}
.lista-produtos .views-row img {
    /* border-radius: 15px; */
    margin: 10px;
    border: 1px solid #666;
}
.lista-produtos .views-row .views-field-title a {
    display: block;
    padding: 15px;
    height: 100px;
    color: #333;
    font-weight: 700;
    font-family: 'fonte_padrao' !important; 
    text-decoration: none;
    /* text-transform: uppercase; */
    line-height: 1.2em;
    transition: color ease-in-out 0.4s;
}
@media (max-width: 630px) {
    .lista-produtos .views-row .views-field-title a {
        height: auto;
    }    
}
@media (max-width: 350px) {
    .lista-produtos .views-row {
        margin: 10px;
        width: 92%;
    }
    .lista-produtos .views-row img {
        width: 92% !important;
    }
    .lista-produtos .views-field-title {
        width: auto !important;
    }
}

.lista-produtos .view-content {
    display: flex;
    margin: auto;
    text-align: center;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
}
.lista-produtos .views-field-title {
    width: 300px;
}

.lista-produtos .views-field-field-preco {
    font-family: fonte_padrao; 
    font-size: 2em;
    text-align: center;
    font-weight: 100;
    color: #000;
}



/* ajuste de bordas */
main .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
main .region-content {
    margin: 0 auto;
    padding: 0 !important;
    max-width: 1360px;
}
@media (max-width: 1134px) {
    main .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
@media (max-width: 376px) {
    .lista-produtos .views-row img {
        width: 93% !important; 
    }
}
@media (max-width: 362px) {
    .lista-produtos .views-row img {
        width: 91% !important; 
    }
}
@media (max-width: 360px) {
    .lista-produtos .views-row img {
        width: 90% !important; 
        margin-top: 16px;
    }
}
@media (max-width: 262px) {
    .lista-produtos .views-row img {
        width: 89% !important; 
        margin-top: 12px;
    }
}

/* pagina da lista de taxonomia */
.view-taxonomy-term {
    text-align: center;
}
.view-taxonomy-term .view-content {
    margin-top: 20px;
}
.view-taxonomy-term h2 {
    font-size: 1em !important;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}
.view-taxonomy-term h2 a {
    font-weight: 400;
    font-family: 'fonte_padrao', Roboto, Helvetica, Arial, sans-serif !important;
    text-decoration: none;
    line-height: 1.2em;
}
.view-taxonomy-term .node__content {
    display: none;
}  
/* @media (max-width: 930px) {} */

#input-pergunta {
    height: 156px;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.3em;
    color: #000;
    border: 2px solid #fcac0c !important;
    outline: none !important;
}
#input-pergunta::placeholder {
    color: #666;
    font-weight: 500 !important;
}
.label-pergunta {
    display: block;
    font-size: 1.3em;
    text-transform: uppercase;
    color: #2e004f;
}

/* mensagem de erro da leitura  */
.msg-erro-custom {
    color: #2e004f !important;
    border: 1px solid #2e004f !important;
}

/* botao compartilhar */
#btnCompartilhar {
    background-color: #000 !important;
}

/* menu principal tamanho */
.navbar-nav .nav-link {
    font-size: 1.05em;
}
.navbar-nav .nav-item {
    margin-right: 20px;
    /* padding-right: 20px; */
    /* border-right: 1px solid #552575; */
}

/* menu de usuário */

.region-nav-additional .navbar-nav .nav-item {
    margin-right: 10px;
    padding: 0 10px;
    border-right: none;
    font-size: 0.8em !important;
    font-weight: 200;
    background-color: #222;
    /* border-radius: 18px; */
}

.navbar-collapse {
    margin-top: 30px;
}

@media (max-width: 1049px) {
    .navbar-nav .nav-link {
        font-size: 0.9em;
    }   
}
@media (max-width: 1020px) {
    .navbar-nav .nav-link {
        font-size: 0.85em;
    }   
}


@media (max-width: 991px) {
    .navbar-nav .nav-link {
        font-size: 1em;
    }
    
    .navbar-nav .nav-item {
        border-right: none;
    }
    .region-nav-additional .navbar-nav .nav-link {
        padding: 10px 12px 10px 0px !important;
        font-size: 1.25em;
    }
    .region-nav-additional {
        padding-top: 20px;
    }
    .region-nav-additional .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 10px;
        padding: 0 10px;
        max-width: 200px;
    }

}


@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 100% !important;
        width: 100% !important;
    }
}
#seletores-assunto .check-label-custom {
    font-weight: bold;
}

/* BOTÃO COMPRAR DO PRODUTO */
#block-bootstrap5-botaoconversarhatsapp {
    margin-top: 50px;
}
#block-bootstrap5-botaoconversarhatsapp a {
    display: block !important;
    margin: 0 auto;
    padding: 20px 25px;
    color: #fff;
    font-family: fonte_padrao;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #000;
    border: 3px solid #000;
    transition: background-color ease-in-out 0.4s;
}
/* #block-bootstrap5-botaoconversarhatsapp a:hover {
    background-color: #333;
    border-color: #333;
} */


/* comprar produto - botao... */
.lista-produtos .views-field-nothing {
    margin-top: 10px;
    text-align: left;
}
.lista-produtos .btn-whatsapp-estrela {
    display: inline-block;
    padding: 10px 20px;
    width: 109px;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-family: inherit;
    font-size: 0.9em;
    background-color: #000;
    border: 3px solid #000;
    transition: background-color 0.3s ease;
}
.lista-produtos .btn-whatsapp-estrela:hover {
    background-color: #333;
    border-color: #333;
}

.lista-produtos .btn-detalhe {
    display: inline-block;
    color: #000 !important;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    font-family: inherit;
    font-size: 1em;
    transition: color 0.3s ease;
}
.lista-produtos .btn-detalhes:hover {
    background-color: #666;
}

@media (max-width: 356px) {
    .lista-produtos .btn-whatsapp-estrela {
        padding: 10px 0;
        text-align: center;
    }
    .lista-produtos .btn-detalhe {
        padding: 10px 0 10px 10px;
    }
}
@media (max-width: 259px) {
    .lista-produtos .btn-whatsapp-estrela {
        padding: 10px 0;
        font-size: 0.8em;
    }
    .lista-produtos .btn-detalhe {
        padding: 10px 0 10px 3px;
        font-size: 0.8em;
    }
}

.path-user .user-register-form,
.path-user .user-login-form,
.path-user .user-pass {
    padding: 30px;
    margin: auto;
    max-width: 600px;
    background-color: #fff;
    /* border-radius: 18px; */
    border: 2px solid #333;
}
.form-control:focus {
    border-color: #666;
    box-shadow: none;
}
.user-form input,
.path-user .user-pass input,
.path-user .user-register-form input,
.path-user .user-login-form input {
    border-color: #ccc;
    border-radius: 0 !important;
    font-family: fonte_padrao !important;
    font-size: 0.9em;
    font-weight: 400;
}
.path-user .user-pass input:focus,
.path-user .user-register-form input:focus,
.path-user .user-login-form input:focus {
    border-color: #666;
    /* -webkit-box-shadow: 0px 0px 9px 6px rgba(111,18,255,0.36); 
    box-shadow: 0px 0px 9px 6px rgba(111,18,255,0.36); */
}
.path-user .user-pass #edit-submit,
.path-user .user-login-form #edit-submit {
    padding: 10px 15px;
}
.path-user .user-pass #edit-submit,
.path-user .user-login-form #edit-submit,
.path-user .user-register-form #edit-submit {
    background-color: #000 !important;
    color: #fff;
    text-transform: uppercase;
    font-family: 'fonte_padrao';
    font-size: 1em;
    font-weight: 400;
    border-radius: 15px;
    border: none !important;
    transition: background-color ease-in-out 0.4s;
}
.path-user .user-pass:hover #edit-submit,
.path-user .user-login-form #edit-submit:hover,
.path-user .user-register-form #edit-submit:hover {
    background-color: #333 !important;
}
.path-user .user-register-form .description {
    display: none;
}

/* CSS DO MENU FIXO DAS CATEGORIAS DOS PRODUTOS */
/* Container que segura o menu */
.menu-categorias-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #dbdbdb;
  background: #fff;
  /* box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); */
}

.menu-categorias-fixo {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Esconder barra de scroll */
.menu-categorias-fixo::-webkit-scrollbar { display: none; }

.menu-item-cat {
  padding: 8px 5px;
  margin: 0 5px;
  cursor: pointer;
  font-weight: 500;
  font-family: fonte_padrao;
  font-size: 0.9em;
  color: #666;
  transition: all 0.2s ease-in-out;
  flex: 0 0 auto;
}

/* Estado Ativo */
.menu-item-cat.active {
  color: #e3e3e4;
  background: #000; /* Cor iFood */
}

/* IMPORTANTE: Evita que o menu cubra o título ao rolar */
h3 {
  scroll-margin-top: 80px; /* Ajuste esse valor conforme a altura do seu menu */
}
@media (max-width: 800px) {
    .menu-item-cat {
        font-size: 0.75em;
        padding: 3px 5px;
    }
}

/* javascript - botão voltar ao topo e compartilhar */
/* Estilo Base Comum */
#btnVoltarTopo, #btnCompartilhar, #btnVoltarPagina {
    position: fixed;
    display: flex;
    right: 30px;
    padding: 0; /* Remove padding padrão para centralizar SVG */
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: white; /* Cor do ícone SVG (currentColor) */
    background-color: #000;
    border-radius: 50%;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

/* Estilo para os SVGs dentro dos botões */
#btnVoltarTopo svg, #btnCompartilhar svg, #btnVoltarPagina svg {
    width: 24px; /* Tamanho do ícone */
    height: 24px;
    /* stroke: currentColor; já está definido no SVG e no color do botão */
}

/* 1. Botão Voltar Página (Sempre Visível na Base) */
#btnVoltarPagina {
    bottom: 30px;
    /* Não precisa mais de transform: rotate(180deg) */
}

/* 2. Botão Voltar ao Topo (Aparece no meio) */
#btnVoltarTopo {
    bottom: 30px; /* Começa escondido atrás do Voltar Página */
    transform: scale(0); /* Começa pequeno */
    opacity: 0;
    pointer-events: none;
}

#btnVoltarTopo.aparecer {
    bottom: 95px; /* Sobe para a segunda posição */
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* 3. Botão Compartilhar (Topo da pilha) */
#btnCompartilhar {
    bottom: 95px; /* Começa acima do botão Voltar Página */
}

/* Quando o botão de subir aparece, o compartilhar vai para a 3ª posição */
#btnCompartilhar.subir {
    bottom: 160px; 
}
/* Redução de tamanho para telas menores que 930px */
@media (max-width: 930px) {
    #btnVoltarTopo, #btnCompartilhar, #btnVoltarPagina {
        width: 40px;
        height: 40px;
        right: 20px; /* Aproxima um pouco da borda para ganhar espaço */
    }

    /* Ajusta o tamanho dos ícones internos para não ficarem apertados */
    #btnVoltarTopo svg, #btnCompartilhar svg, #btnVoltarPagina svg {
        width: 20px;
        height: 20px;
    }

    /* Ajusta o empilhamento para a nova altura (40px + espaçamento) */
    #btnVoltarTopo.aparecer {
        bottom: 80px; /* Antes era 95px */
    }

    #btnCompartilhar {
        bottom: 80px; /* Posição inicial do compartilhar */
    }

    #btnCompartilhar.subir {
        bottom: 130px; /* Antes era 160px */
    }
}


/* rodape */
footer {
    margin-top: 0 !important;
}
footer .artesa {
    margin-bottom: 28px;
    padding-bottom: 34px;
    border-bottom: 1px solid #333;
}
footer.mt-auto {
    margin-top: 60px !important;
    background-color: #000 !important;
    background: #000 !important;
}


/* rodape - quer ter uma oja como essa */
.rodape-comercial {
    padding: 22px 20px;
    border-top: 1px solid #333;
    text-align: center;
    background-color: #000 !important;
    background: #000 !important;
}

.rodape-container p {
    font-family: fonte_padrao !important;
    font-size: 1.4rem !important;
    font-weight: 400;
    color: #efefef;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.btn-whatsapp {
    display: inline-flex;
    padding: 12px 25px;
    font-weight: bold;
    font-family: sans-serif;
    color: #fff !important;
    text-decoration: none;
    align-items: center;
    background-color: #128c7e; /* Verde oficial do WhatsApp */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    color: white;
}

/* Ajuste Mobile */
@media (max-width: 600px) {
    .rodape-container p {
        font-size: 1rem;
    }
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* pagina administração de produtos */
.adm-produtos table tr th,
.adm-produtos table tr td {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1.4rem !important;
    color: #000;
}
.adm-produtos table tr th {
    font-weight: bold !important;
}
.adm-produtos table tr td {
    font-weight: normal;
}
.adm-produtos table caption {
    font-family: fonte_padrao;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.adm-produtos .views-field-title a {
    display: block;
    line-height: 1.3em;
    text-decoration: none;
    text-align: left;
    color: #000;
}

/* FORMULARIO DE BUSCA DOS DA LISTA DE PRODUTOS */
/* Container principal do formulário */
#views-exposed-form-lista-produtos-block-1 .form--inline,
#views-exposed-form-lista-produtos-block-2 .form--inline {
  display: flex;
  align-items: center;
  background: #fff; /* Cor de fundo leve */
  border-radius: 25px;  /* Bordas bem arredondadas estilo App */
  padding: 5px 15px;
  width: fit-content;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

/* Esconde o label "Buscar" */
#views-exposed-form-lista-produtos-block-1 label,
#views-exposed-form-lista-produtos-block-2 label {
  display: none;
}

/* Estilização do Campo de Texto */
#edit-title {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 8px;
  font-size: 16px;
  color: #333;
}

/* Wrapper das ações (onde está o botão) */
#edit-actions {
  display: flex;
  align-items: center;
  margin: 0;
}

/* Transforma o botão "Aplicar" em uma Lupa */
#edit-submit-lista-produtos {
  text-indent: -9999px; /* Esconde o texto "Aplicar" */
  width: 30px;
  height: 30px;
  border: none;
  cursor: pointer;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat center;
  background-size: 20px;
  transition: transform 0.2s ease;
}

#edit-submit-lista-produtos:hover {
  transform: scale(1.1);
}

/* Efeito de foco no formulário inteiro */
#views-exposed-form-lista-produtos-block-1 .form--inline:focus-within {
  background: #fff;
  border-color: #666; /* Cor de destaque ao clicar */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lista-produtos .views-exposed-form .form-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.lista-produtos .view-filters {
    display: block;
    text-align: center;
}
.lista-produtos .view-filters .views-exposed-form {
    display: inline-block;
}

/* INSTALAR APP PAGE */
.install-guide {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: fonte_padrao;
  text-align: center;
}
.install-guide h2,
.install-guide h3 {
  font-family: fonte_padrao;
  font-weight: 400;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap; /* Garante que quebre linha no celular */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.platform-card {
  flex: 1;
  min-width: 280px; /* Largura mínima para não esmagar no mobile */
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #e0e0e0;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.platform-card h3 {
  color: #2c3e50;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.platform-card ol {
  padding-left: 20px;
  line-height: 1.6;
}

.platform-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Destaque visual para o ícone de compartilhar do iOS */
.share-icon {
  display: inline-block;
  background: #007aff;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}
.ios-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #007aff; /* Azul padrão Apple */
  color: white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 4px; /* Ajuste fino para a seta */
}

/* formulario de cadastro/registro e login */
.user-login-form .description {
    display: none;
}
.user-register-form label,
.user-login-form label,
.user-pass label,
.user-form label {
    font-family: fonte_padrao !important;
    font-weight: 700 !important;
}
.user-register-form .js-form-type-password {
    margin-top: 15px;
}
.user-register-form .password-confirm-message {
    padding-top: 5px;
    font-weight: 500;
    font-family: fonte_padrao !important;
    font-size: 0.8em !important;
}
.user-pass p {
    font-family: fonte_padrao;
    font-size: 0.9em;
    line-height: 1.15em;
}
.user-form .password-confirm-message,
.user-form .description {
    padding-top: 5px;
    font-size: 0.9em !important;
    font-family: fonte_padrao !important;
    line-height: 1.2em;
}
.user-form .description a {
    color: #333;
}
.user-form .description em {
    font-style: normal !important;
}
.user-form .form-item-pass-pass2 {
    padding-top: 15px;
}
.menu--recuperacao-de-senha-e-cadastro ul {
    margin: 20px auto !important;
    display: block !important;
    max-width: 600px !important;
}
.menu--recuperacao-de-senha-e-cadastro ul li.nav-item {
    font-family: fonte_padrao !important;
    font-weight: bold !important;
}
.menu--recuperacao-de-senha-e-cadastro ul li.nav-item a.nav-link {
    padding: 0 0 3px 0!important;
}

#edit-language,
#edit-google-analytics {
    display: none;
}
.user-form #edit-submit {
    background: #000 !important;
    border-color: #000 !important;
}


/* mensagens de alerta do topo */
.alert-success {
    margin-top: 15px;
}
.alert {
    font-family: fonte_padrao !important;
    font-size: 1em;
    font-weight: 500;
    color: #154f27 !important;
    background-color: #efefef !important;
    border-color: 2px solid #ccc !important;
    border-radius: 0 !important;
}

/* EXIBIÇÃO DAS IMAGENS - ACRROSEL DE IMAGEM - GALERIA DE IMAGEM */

/* Estado Inicial */
.page-node-type-produto .field--name-field-mais-fotos {
    display: block !important;
    max-height: 200px !important;
    height: 200px !important;
    overflow-y: hidden !important;
    transition: all 0.5s ease-in-out !important;
}

/* Estado Aberto */
.page-node-type-produto .field--name-field-mais-fotos.aberto {
    max-height: 10000px !important;
    height: auto !important;
    overflow-y: visible !important;
}

/* Estilo do Botão */
.btn-expandir-fotos {
    display: block !important;
    margin: 0 auto !important;
    /* width: 90% !important; */
    padding: 15px !important;
    max-width: 480px;
    color: #fff !important;
    font-weight: 700 !important;
    font-family: fonte_padrao;
    text-align: center !important;
    text-transform: uppercase;
    background: #000 !important;
    /* border: none !important; */
    border-radius: 0 0 45px 45px;
    cursor: pointer !important;
}
.page-node-type-produto .field--name-field-mais-fotos {
    margin: 20px auto 0 auto ;
    /* width: 85%; */
    max-width: 480px;
    max-height: 650px !important; /* Altura inicial */
    height: auto !important; /* Deixe o height auto para o max-height mandar */
    overflow-y: hidden !important;
    transition: max-height 0.8s ease-in-out !important; /* Aqui acontece a suavidade */
    /* -webkit-box-shadow: 0px 0px 9px 2px rgba(115, 115, 116, 0.42);
    box-shadow: 0px 0px 9px 2px rgba(115, 115, 116, 0.42); */
}

/* Classe que o JS vai colocar/tirar */
.page-node-type-produto .field--name-field-mais-fotos.fotos-abertas {
    max-height: 20000px !important; /* Valor alto para caber tudo */
    overflow-y: hidden !important; /* Esconde a barra de rolagem interna ao abrir */
}


@media (max-width: 466px) {
    .page-node-type-produto .field--name-field-mais-fotos {
        max-height: 650px !important;
    }
}

/* Ajuste para o botão de fotos não ficar sobreposto ao de voltar ao topo */
.btn-expandir-fotos {
    /* ... seus outros estilos ... */
    display: flex !important;
    align-items: center;    /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    position: relative;
    margin: 20px auto;
    padding: 0 !important;  /* Remove qualquer espaço interno que desloque a seta */
    width: 50px;
    height: 50px;
    color: white;
    outline: none;
    background-color: #000;
    border-radius: 50%;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* Garante que o SVG não ultrapasse o botão e fique centralizado */
.container-bt-foto {
    clear: both; /* Garante que não haja interferência de floats das fotos */
    margin: 0 auto;
    padding: 10px 0;
    max-width: 480px;
    max-height: 718px !important;
    height: auto !important;
    background-color: #fff;
    border-radius: 0 0 19px 19px;
    border: 1px solid #ccc;
    border-top: none;
    overflow-y: hidden !important;
    transition: max-height 0.8s ease-in-out !important;
    /* -webkit-box-shadow: 0px 0px 9px 2px rgba(115, 115, 116, 0.42);
    box-shadow: 0px 13px 19px 1px rgba(115, 115, 116, 0.42); */
}
.btn-expandir-fotos svg {
    width: 24px;
    height: 24px;
    display: block; /* Remove espaços vazios de elementos inline */
}
