/* BrightBay – responsive / mobile-fix styles */

/* ── On mobile: hide the desktop Wix shell until redirect fires ─────────── */
@media (max-width: 980px) {
  #SITE_CONTAINER,
  #SITE_HEADER,
  #SITE_FOOTER {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
  }
}

/* ── Once the mob page is loaded the rules above don't apply ─────────────── */
/* ── General responsive improvements for desktop pages when CSS loads ─────── */
@media (max-width: 980px) {
  /* Prevent horizontal overflow */
  body, #SITE_CONTAINER, #masterPage {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* Scale down oversized wix sections */
  .wixui-section,
  [data-semantic-classname="section"] {
    min-height: unset !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Make images scale */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Readable font sizes */
  .font_0 { font-size: clamp(28px, 6vw, 54px) !important; }
  .font_2 { font-size: clamp(20px, 4vw, 34px) !important; }
  .font_5 { font-size: clamp(15px, 3.5vw, 20px) !important; }
}
