/* ========================================
VISIBILIDADE
======================================== */

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}


/* ========================================
DESKTOP HEADER
======================================== */

.desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;

    gap: .35em;

    padding: 6px 8px;
    box-sizing: border-box;

    font-family: monospace;
    font-size: 16px;

    white-space: nowrap;

    z-index: 99999;
}

#desktop-categorias-track {
    flex: 1;
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;

    scrollbar-width: none;

    cursor: grab;
}

#desktop-categorias-track::-webkit-scrollbar {
    display: none;
}

#desktop-categorias-track.arrastando {
    cursor: grabbing;
}

#desktop-categorias-list {
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
}

#desktop-cat-prev,
#desktop-cat-next {
    flex-shrink: 0;

    border: 0;
    padding: 0;

    background: transparent;
    color: #fff;

    font-family: monospace;
    font-size: 12px;

    cursor: pointer;
}

/* ========================================
DESKTOP FOOTER
======================================== */

.desktop-footer {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 99999;

    box-sizing: border-box;

    padding: 6px 8px;

    font-family: monospace;
    font-size: 14px;

    color: #fff;
}

.desktop-footer-left {
    position: absolute;
    left: 8px;
    bottom: 6px;
}

.desktop-footer-right {
    position: absolute;
    right: 8px;
    bottom: 6px;
}

.desktop-footer a {
    color: #fff;
    text-decoration: none;
}


/* ========================================
MOBILE
======================================== */

@media (max-width: 600px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }


    /* HEADER */

    .mobile-header {
        position: fixed;

        top: 0;
        left: 0;
        right: 0;

        z-index: 99999;

        align-items: center;

        box-sizing: border-box;

        padding: 6px 8px;

        font-family: monospace;
        font-size: 14px;

        color: #fff;
    }

    #mobile-header-track {
        flex: 1;

        min-width: 0;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    #mobile-header-track::-webkit-scrollbar {
        display: none;
    }

    #mobile-header-list {
        display: flex;

        width: max-content;

        gap: .3em;

        white-space: nowrap;
    }

    #mobile-header-list a {
        color: #fff;
        text-decoration: none;
    }

    .mobile-header-next {
        flex-shrink: 0;

        margin-left: 6px;
    }


    /* FOOTER */

    .mobile-footer {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 99999;

        width: 100%;
    }

}

.footer-categorias {
    display: none;
}

@media (max-width: 600px) {
    .footer-categorias {
        display: grid;
    }
}

#consulta-lightbox {
    z-index: 200000 !important;
}

#imagem-lightbox {
    z-index: 210000 !important;
}