/* ========================================
   DISABLE SWIPE GESTURES COMPLETELY
   Prevents accidental navbar opening on mobile
   ======================================== */

/* Disable pull-to-refresh and swipe gestures on mobile only */
@media (max-width: 768px) {
    body {
        overscroll-behavior-x: none;
        overscroll-behavior-y: contain;
        touch-action: manipulation;
        -ms-touch-action: manipulation;
    }
}

/* Prevent horizontal swipe navigation */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Prevent swipe-to-navigate on the entire page */
* {
    overscroll-behavior-x: none;
}

/* Ensure navbar doesn't respond to swipes */
.modern-navbar,
.navbar-container,
.navbar-menu-mobile {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}
}

/* Additional mobile fixes */
@media (max-width: 768px) {

    /* Prevent any horizontal scrolling that might trigger swipe */
    .container,
    .container-fluid,
    .container-premium {
        overflow-x: hidden;
    }

    /* Disable browser's default swipe-to-navigate */
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Re-enable text selection for content */
    p,
    span,
    div,
    a,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
}