/* Mamasan static restore — fixes when GoDaddy CDN / bundled JS are unavailable */

#loftloader-wrapper {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.loftloader-lite-enabled {
  overflow: auto !important;
}

/* Lazy-loaded images: show real src when JS bundle does not run */
img.lazyload[data-src] {
  content: normal;
}

/* Swiper / Elementor carousels without JS: stack first slide only */
.elementor-widget-image-carousel .swiper-slide:not(:first-child),
.elementor-main-swiper .swiper-slide:not(:first-child) {
  display: none !important;
}

.elementor-widget-image-carousel .swiper-wrapper,
.elementor-main-swiper .swiper-wrapper {
  transform: none !important;
  display: block !important;
}

/* Duplicate mobile overlay menu (desktop theme shows all layers without JS) */
@media (min-width: 1025px) {
  .mobile_menu_wrapper,
  #perspective.mobile-menu-open {
    display: none !important;
  }
}

/* Readable defaults if custom webfonts fail to load */
body,
.elementor-widget-text-editor,
.elementor-heading-title {
  color: #2c2c2c;
}

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

body {
  background-color: #f5f0e8;
}

img {
  max-width: 100%;
  height: auto;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* Elementor tabs: show all panels when tab JS is missing */
.elementor-tab-content[hidden] {
  display: block !important;
  visibility: visible !important;
}

.elementor-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
