.carousel__wrapper {
  overflow: hidden;
  width: 100%;

  .carousel {
    display: flex;
    gap: 1rem;
    margin: 0;
    overflow-x: scroll;
    padding: 0.5rem 0;

    &.carousel__auto-scroll {
      gap: 0;
      overflow-x: unset;
      position: relative;
      transform: translateX(100%);

      .carousel__tile {
        flex: 1 0 100%;
        transform: translateX(-50%);
      }

      &.carousel__auto-scroll--toggle {
        left: -50%;
        transform: none;
        transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
      }
    }
  }

  .carousel__tile {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;

    &.carousel__tile--s {
      min-width: var(--container-xs);
    }
  }
}
