/*
 * BOLEPIX_SIDEBAR_SCROLL_STABLE_V5703Z188SIDEJITTER1C1
 *
 * Objetivo:
 * - impedir tremor/pulo durante scroll;
 * - sidebar permanece fixa;
 * - somente o conteúdo interno rola;
 * - impedir scroll chaining para a página;
 * - impedir scroll anchoring de reposicionar a lateral;
 * - somente desktop cliente com FIX3C4 ativo.
 */

@media (min-width: 901px) {

  html.bp-client-sidebar-fixed-stable-v5703z179fix3c4
  body
  #app
  > .layout
  > #m3dLoggedSideMenuV16Q.side {

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

    overscroll-behavior-y: contain !important;
    overscroll-behavior-x: none !important;

    overflow-anchor: none !important;

    scroll-behavior: auto !important;
    scroll-snap-type: none !important;

    scrollbar-gutter: stable !important;

    transform: none !important;
    translate: none !important;

    transition: none !important;
    animation: none !important;

    will-change: auto !important;

    box-sizing: border-box !important;

    touch-action: pan-y !important;

    -webkit-overflow-scrolling: touch;
  }


  /*
   * Os botões não podem participar de scroll anchoring.
   * Isso evita o navegador tentar reposicionar a lateral
   * quando algum item recebe classe/estado ativo.
   */
  html.bp-client-sidebar-fixed-stable-v5703z179fix3c4
  body
  #app
  > .layout
  > #m3dLoggedSideMenuV16Q.side
  > * {

    overflow-anchor: none !important;
  }


  /*
   * Não permite que CSS antigo do C7 transforme a sidebar
   * novamente em conteúdo expandido da página.
   */
  html.bp-client-sidebar-fixed-stable-v5703z179fix3c4
  body
  #app
  > .layout
  > #m3dLoggedSideMenuV16Q.side {

    position: fixed !important;

    right: auto !important;
    bottom: auto !important;
  }
}
