html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 767px) {
  :root,
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body,
  .rbt-main-wrapper,
  .rbt-header-area,
  .rbt-footer-area,
  header,
  main,
  footer {
    min-width: 0;
    max-width: 100%;
  }

  .mainbar-row,
  .mainbar-row > *,
  .header-left,
  .header-center,
  .header-right,
  .rbt-quick-access,
  .mobile-header-search-panel,
  .mobile-header-search-form,
  .mobile-header-search-field,
  .mobile-localization-switchers,
  .storefront-mobile-bottom-switcher {
    min-width: 0;
    max-width: 100%;
  }

  .mainbar-row,
  .mobile-header-search-panel,
  .mobile-localization-switchers {
    width: 100%;
  }

  img,
  video,
  iframe,
  canvas {
    max-width: 100%;
  }
}

@supports not (overflow: clip) {
  @media (max-width: 767px) {
    :root,
    html,
    body {
      overflow-x: hidden;
    }
  }
}
