/* correcoes.css */

/* Reset Básico */
body, html {
    margin: 0;
    padding: 0;
    /* REMOVIDO: overflow-x: hidden; -> Quebrava o sticky header/sidebar */
}

/* Solução segura para evitar scroll lateral no mobile sem quebrar sticky */
body {
    position: relative;
    max-width: 100vw;
    overflow-x: clip; /* Moderno, seguro e não afeta sticky */
}

/* Garante que imagens sejam responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Corrige conflitos de fontes de ícones */
.fa, .fas, .far, .fal, .fab {
    line-height: inherit;
}

/* Z-Index do Fancybox */
.fancybox__container {
    z-index: 99999 !important;
}

/* Ajuste para admin bar com header fixo */
body.admin-bar header.sticky {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header.sticky {
        top: 46px;
    }
}