.panorama-gallery { margin: var(--space-4) 0; }

.panorama-stage {
  position: relative;
  height: min(60vh, 480px);
  border: var(--border-w) solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--color-bg-alt);
}
.panorama-scroll {
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  cursor: grab;
}
.panorama-scroll:active { cursor: grabbing; }
.panorama-scroll img {
  height: 100%;
  width: auto;
  max-width: none;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
}

.panorama-hint {
  position: absolute;
  bottom: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 17, 15, .8);
  color: #fff;
  padding: .4em 1em;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  pointer-events: none;
  transition: opacity .3s ease;
}
.panorama-hint.is-hidden { opacity: 0; }

.panorama-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: var(--border-w) solid var(--color-border);
  background: var(--color-primary-tint);
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.panorama-arrow:hover { background: var(--color-primary); color: #fff; }
.panorama-arrow--prev { left: var(--space-2); }
.panorama-arrow--next { right: var(--space-2); }

.panorama-thumbs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-1);
}
.panorama-thumb {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: .6;
}
.panorama-thumb img {
  width: 6rem;
  height: 4rem;
  object-fit: cover;
  border: var(--border-w) solid var(--color-border);
  border-radius: var(--radius-sm);
}
.panorama-thumb span { font-size: var(--font-size-xs); font-weight: 800; }
.panorama-thumb.is-active { opacity: 1; }
.panorama-thumb.is-active img { border-color: var(--color-primary); }

@media (max-width: 40rem) {
  .panorama-stage { height: min(45vh, 320px); }
  .panorama-thumbs { justify-content: flex-start; }
}
