.imgstrip-wrap {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
}

.imgstrip-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 18px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  padding: 10px 24px;
  scrollbar-width: none;
  align-items: center;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.imgstrip-track::-webkit-scrollbar {
  display: none;
}

.imgstrip-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.imgstrip-img {
  width: 100% !important;
  flex: 0 0 220px !important;
  aspect-ratio: 1 / 1.75;
  object-fit: cover !important;
  object-position: center;
  display: block;
  cursor: pointer;
  border-radius: 14px !important;
  overflow: hidden !important;
  pointer-events: auto;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  scroll-snap-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.imgstrip-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.imgstrip-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.imgstrip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #b8b8b8;
  padding: 0;
  cursor: pointer;
  transition: 0.2s;
}

.imgstrip-dot.active {
  background: #111;
  transform: scale(1.25);
}

.imgstrip-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.imgstrip-lightbox.rr-hidden {
  display: none !important;
}

.imgstrip-lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.imgstrip-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 100000;
}

@media (max-width: 600px) {
  .imgstrip-track {
    gap: 14px;
    padding: 10px 18px;
  }
}
