component-carousel {
  display: grid;
  grid-template-columns: min(var(--carousel-width, 100%), 100%);
  column-gap: var(--carousel-gap, 0px);
  justify-content: center;
  align-items: center;
  overflow: hidden;
  touch-action: pan-y;
}

component-carousel .carousel-item {
  grid-area: 1 / 1;
  min-width: 0;
  margin-inline: 0;
  opacity: 0;
}

component-carousel .carousel-item:first-child {
  opacity: 1;
}

component-carousel.state--draggable {
  cursor: grab;
  user-select: none;
}

component-carousel.state--dragging {
  cursor: grabbing;
}
