/* Neat UI — carousel.css: horizontal snap track + previous/next */

.neat-carousel {
  position: relative;
  display: block;
  min-width: 0;
}

.neat-carousel__viewport {
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.neat-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.neat-carousel__viewport > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.neat-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 999px;
  border: 1px solid #e4e7f0;
  background: #fff;
  color: #3b3e66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(20, 24, 40, 0.12);
}

.neat-carousel__nav--prev { left: 8px; }
.neat-carousel__nav--next { right: 8px; }

.neat-carousel__nav:hover:not(:disabled),
.neat-carousel__nav:focus-visible:not(:disabled) {
  border-color: #5c67f2;
  color: #5c67f2;
  outline: none;
}

.neat-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .neat-carousel__viewport {
    scroll-behavior: auto;
  }
}
