/* ── MAYHM Logo Preloader ── */

/* Hide page content while loader is visible */
body.mayhm-loading {
  overflow: hidden;
}

#mayhm-loader {
  position: fixed;
  inset: 0;
  background: #0D0D0D;          /* overridden by JS with the saved option */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;              /* above everything, including WP admin bar */
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#mayhm-loader.mayhm-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#mayhm-logo-svg {
  width: 140px;
  height: auto;
}

/* Smaller logo on mobile — activated by JS adding the class */
#mayhm-loader.mayhm-mobile-small #mayhm-logo-svg {
  width: 140px; /* desktop stays the same */
}

@media ( max-width: 480px ) {
  #mayhm-loader.mayhm-mobile-small #mayhm-logo-svg {
    width: 72px;
  }
}

#mayhm-logo-path {
  stroke: #F5F4F2;
  stroke-width: 60;
  fill: none;
}
