/* ================
   Estilo geral
================ */
body {
    font-family: 'Titillium Web', sans-serif;
    padding-bottom: 100px;
    background: #fff;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Titillium Web', sans-serif;
}

.page-header h1 {
    font-size: 28px;
    margin-top: 40px;
}

.page-header h2 {
    font-size: 22px;
}

.sectionTitle {
    text-align: center;
}

.titulo-categoria {
    margin-bottom: 20px;
}

.col-print {
    margin-bottom: 30px;
}

article.portfolio {
    margin-bottom: 35px;
}

/* Imagens */
img.fullwidth,
img.attachment-custom.size-custom,
section.thumbImage img {
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 5px;
}

/* Navbar fixada */
.navbar.menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #d3b2c4;
    margin: 0;
    padding: 10px 15px;
}

.navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-brand {
    color: #fff !important;
}

/* Checkbox escondido */
.checkbox-impressao {
    display: none !important;
}
#botoes-impressao {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
/* ================
   Modo de seleção
================ */
.imprimivel.selecionavel .thumbImage {
    opacity: 0.3;
    transition: all 0.2s ease-in-out;
    border: 1px solid #ccc;
}

.imprimivel.selecionado .thumbImage {
    opacity: 1;
    border: 2px solid #28a745;
}

/* ================
   Impressão
================ */
@media print {

  
    html, body {
        margin: 0;
        padding: 0;
        height: auto !important;
        overflow: visible !important;
        background: white !important;
    }

    a[href]:after {
        content: none !important;
      }
    
      a {
        text-decoration: none !important;
        color: inherit !important;
      }
    .nao-imprimir,
    .menu,
    .navbar,
    .checkbox-impressao,
    #abrir-seletor,
    .no-print-spacer {
        display: none !important;
    }

    .col-print {
        width: 48% !important;
        float: left !important;
        margin: 1% !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    article.portfolio,
    section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    section:last-of-type,
    .col-print:last-of-type,
    article.portfolio:last-of-type {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    img {
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
    }

    img.fullwidth {
        border: 1px solid #4e0263;
        border-radius: 5px;
        padding: 10px;
    }

    .sectionTitle {
        font-size: 16px;
        margin-top: 10px;
        margin-bottom: 5px;
        text-align: center;
    }

    h2 {
        font-size: 18px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
}
