/* CRITICAL OVERFLOW FIX */

/* Hide ALL scrollbars */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html, body, * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Prevent horizontal scroll */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

#root {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Header elements */
.header-area,
.xb-header,
.header__wrap,
.ul_li_between,
.main-menu__wrap,
.main-menu,
nav,
ul {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* Container fix */
.container {
  max-width: 1200px !important;
  overflow-x: hidden !important;
}

/* Mega menu */
.mega-menu-modern {
  overflow-y: visible !important;
  box-sizing: border-box !important;
}

.mega-menu-inner,
.mega-menu-grid-modern {
  overflow: visible !important;
  max-height: none !important;
}
