.js-horizontalScroll {
  width: 100%;
}

.js-horizontalScroll__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.js-horizontalScroll__viewport::-webkit-scrollbar {
  display: none;
}

.js-horizontalScroll__scrollbar {
  position: relative;
  width: 100%;
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  background-color: #ddd;
  border-radius: 9999px;
  cursor: pointer;
  touch-action: none;
}

.js-horizontalScroll__scrollbar[hidden] {
  display: none;
}

.js-horizontalScroll__thumb {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background-color: #666;
  border-radius: inherit;
  cursor: grab;
  touch-action: none;
  user-select: none;
  will-change: transform;
}

.js-horizontalScroll__thumb.is-dragging {
  cursor: grabbing;
}
