/* Multi-photo gallery. Overlay and dots stay put; only the photo strip scrolls. */

.photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.photo-strip {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: 52vh;
  min-height: 380px;
  max-height: 560px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.photo-strip::-webkit-scrollbar {
  display: none;
}

.profile-card .photo-strip .profile-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  object-fit: cover;
  pointer-events: none;
}

.photo-dots {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.photo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(28, 25, 23, 0.25);
}

.photo-dot.on {
  background: #fff;
}

.profile-card .aisle-card-overlay {
  pointer-events: none;
}

.profile-photos {
  margin: 0 0 16px;
}

.profile-photos-caption {
  margin: 0 0 12px;
  color: #8A837A;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.profile-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-slot {
  position: relative;
  aspect-ratio: 1 / 1.12;
  border-radius: 18px;
  overflow: hidden;
  background: #F3EBDD;
  border: 1px solid rgba(28, 25, 23, 0.04);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-slot.is-dragging {
  transform: translateY(-10px) rotate(-4deg) scale(1.04);
  box-shadow: 0 14px 28px rgba(28, 25, 23, 0.2);
  z-index: 3;
  pointer-events: none;
  outline: 2px solid #fff;
}

.photo-slot.is-end-target {
  border: 1.5px dashed #C4B8A4;
  background: transparent;
}

.photo-slot-empty {
  background: #F3EBDD;
}

.photo-add,
.photo-delete,
.photo-grip {
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.photo-add {
  width: 100%;
  height: 100%;
  background: transparent;
  color: #1C1917;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.photo-eye,
.photo-delete,
.photo-grip {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 25, 23, 0.55);
  color: #fff;
}

.photo-eye {
  top: 6px;
  left: 6px;
  pointer-events: none;
}

.photo-delete {
  top: 6px;
  right: 6px;
  font-size: 14px;
  line-height: 1;
}

.photo-grip {
  left: 6px;
  bottom: 6px;
  touch-action: none;
  cursor: grab;
}
