/* =============================================
   HAIRTEC HIGHLIGHT REEL — Scene filmstrip
   ============================================= */

.hairtec-reel {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 85;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.hairtec-reel-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hairtec-reel-track {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hide scrollbar */
.hairtec-reel-track::-webkit-scrollbar {
  height: 0;
  display: none;
}

.hairtec-reel-track {
  scrollbar-width: none;
}

.hairtec-reel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.hairtec-reel-item:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}

.hairtec-reel-active {
  border-color: #fff;
  transform: scale(1.05);
}

.hairtec-reel-active:hover {
  border-color: #fff;
}

.hairtec-reel-item img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  display: block;
}

.hairtec-reel-title {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 2px 6px 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .hairtec-reel {
    bottom: 56px;
  }

  .hairtec-reel-track {
    padding: 8px 10px;
    gap: 6px;
  }

  .hairtec-reel-item img {
    width: 80px;
    height: 48px;
  }

  .hairtec-reel-title {
    font-size: 9px;
    max-width: 80px;
  }
}
