/* Start My Business mobile fixes (2026-11-27). Injected site-wide by smb-nginx.conf; mobile-only rules. */
@media (max-width: 767px) {
  /* No sideways panning: older iOS ignores overflow-x:clip, so fall back to hidden there. */
  @supports not (overflow-x: clip) {
    html, body { overflow-x: hidden; }
  }
  /* The closed off-canvas menu panel sits 100vw to the right. Clip it inside its fixed box so it
     can never widen the page or peek in over the hero when the page is dragged sideways. */
  .smbm { overflow: hidden; }
  .smbm .smbm-body { overflow-x: hidden; }
  .smbm .x-nav, .smbm .x-row, .smbm .x-feat { max-width: 100%; min-width: 0; }
  /* Decorative hero gradient lines are wider than the phone; keep them inside the hero. */
  .section.hero-home-page-section { overflow-x: clip; }
  @supports not (overflow-x: clip) {
    .section.hero-home-page-section { overflow-x: hidden; }
  }
  /* Keep the last footer lines clear of the sticky Start Free / Call bar, chat teaser and chat bubble. */
  footer.smbf { padding-bottom: calc(190px + env(safe-area-inset-bottom, 0px)); }
  /* Auto-translated pages (smb-auto-lang.js): longer strings must wrap instead of running off the edge. */
  html.translated-ltr .smb2-chip, html.translated-rtl .smb2-chip { white-space: normal; max-width: calc(100% - 8px); }
  html.translated-ltr .smb-cta-btn, html.translated-rtl .smb-cta-btn { white-space: normal; line-height: 1.1; font-size: 11px; }
}
