document.addEventListener('DOMContentLoaded', function () {
    if (typeof GLightbox !== 'undefined' && document.querySelector('.glightbox')) {
        GLightbox({ selector: '.glightbox', touchNavigation: true });
    }
});
