* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.visualizador-3d {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  cursor: grab;
  touch-action: none;
}

.visualizador-3d:active {
  cursor: grabbing;
}

#producto {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Estructura generada por viewer360.js */
.viewer360 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

.viewer360-spinner {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: #fff;
}

.viewer360-images,
.viewer360-images li {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.viewer360-images img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
  opacity: 0;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.viewer360-images img.current-image {
  opacity: 1;
  z-index: 2;
}

.viewer360-images img.previous-image {
  opacity: 0;
  z-index: 1;
}

/* Fallback para 3deye.min.js */
#producto div {
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}
