/* Frontend Viewer Styles */
.mm360-viewer {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  user-select: none;
  touch-action: pan-y;
  overflow: hidden;
  background: transparent;
  cursor: grab;
}

.mm360-viewer.mm360-grabbing {
  cursor: grabbing;
}

.mm360-viewer canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
  background: transparent;
}

.mm360-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #000;
  background: rgba(255, 255, 255, .35);
  transition: opacity .25s ease;
}

.mm360-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, .3);
  border-top-color: #000;
  border-radius: 50%;
  animation: mm360spin 1s linear infinite;
}

.mm360-progress {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 12px;
}

@keyframes mm360spin {
  to { transform: rotate(360deg); }
}
