body { margin: 0; overflow-x: hidden; }
html, body { width: 100%; height: 100%; }

#container3D canvas {
  width: 100vw !important;
  height: 100vh !important;
  position: absolute;
  top: 0;
  left: 0;
}

.tm-loader__bg {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.tm-loader__logo {
  position: relative;
  z-index: 10;
}

.tm-loader__logo-img {
  width: 250px;
  height: auto;
}


/* Por defecto NO se ve */
.tm-loader { 
  display: none; 
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* Solo se muestra cuando JS lo habilita */
.tm-loader.tm-loader--show {
  display: block;
}

/* cuando termina, lo ocultamos (opcional transición) */
.tm-loader.tm-loader--hide {
  display: none;
}
