
/* SIMPLIF MOBILE WIDTH FIX */

@media (max-width: 740px) {

  html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }

  body {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    overflow-x: clip !important;
    margin: 0;
  }

  main,
  header,
  footer,
  section {
    max-width: 100%;
    min-width: 0;
  }

  /* Developer integration */
  .sdx-section,
  .sdx-container,
  .sdx-workspace,
  .sdx-main,
  .sdx-editor {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .sdx-code-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .sdx-code-scroll pre {
    width: max-content;
    min-width: max-content;
    max-width: none;
  }

  /* Pricing: allow swiping only within cards */
  .sp-section,
  .sp-inner {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .sp-grid {
    max-width: 100%;
    overscroll-behavior-x: contain;
  }

  /* Prevent images from widening the page */
  img,
  video,
  canvas {
    max-width: 100%;
  }
}
