.photo-360-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  background-color: #f5f7fa;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

@media only screen and (max-width: 767px) {
  .photo-360-container {
    max-height: 500px;
  }
}

.photo-360-container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.06);
}

.width-content {
  max-width: 123.2rem;
}

.width-full {
  max-width: 100%;
}

.panorama-viewer {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.panorama-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 100;
  flex-direction: column;
  transition: all 0.3s ease;
}

.photo-360-container:not(:hover) .panorama-controls {
  opacity: 0.6;
}

.photo-360-container:hover .panorama-controls {
  opacity: 1;
  transform: translateY(0);
}

.panorama-control {
  width: 26px;
  height: 26px;
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.92);
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  backdrop-filter: blur(5px);
}

.panorama-control svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  color: #fff;
}

.panorama-control:hover {
  background-color: #000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.panorama-control:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.panorama-control:hover svg {
  transform: scale(1.15);
}

.panorama-control.active {
  background-color: #3498db;
  color: white;
}

.panorama-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 101;
  backdrop-filter: blur(10px);
}

.panorama-loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(52, 152, 219, 0.2);
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  margin-bottom: 20px;
}

.panorama-loading-text {
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  letter-spacing: 0.3px;
}

.panorama-error {
  color: #e74c3c;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.photo-360-container.is-fullscreen {
  border-radius: 0;
  box-shadow: none;
}

.photo-360-container.is-fullscreen .panorama-viewer {
  border-radius: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.photo-360-container:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.photo-360-container:fullscreen .panorama-viewer {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.pnlm-container {
  background: transparent !important;
}
