[data-rotate-toggle], [data-fullscreen-toggle] { display: none; }

.fullscreen-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
}
.fullscreen-overlay .controls {
  pointer-events: auto;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
/* ako je 360 transparentan */
canvas.fullscreen {
  background-color: #000;
}
.fs-controls {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 99999;
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.fs-controls button {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 0.6em;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.fs-exit {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 99999;
}

/* fallback-bg */
.fs-fallback-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #111, #222); /* or background-image */
  z-index: 0;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
/* fallback-bg kao img 
.fs-fallback-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.2;
}
*/
/* fallback-bg kao img 
.fs-fallback-bg {
  background: url('/media/default-fs-bg.jpg') center center / cover no-repeat;
}
*/

/* button exposing */
.canvas-360-wrapper.fullscreen {
  position: relative;
}
.fs-controls {
  pointer-events: none; /* allow clicks to pass through except on buttons */
}
.fs-controls button {
  pointer-events: auto;
}
