*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product_mobile_carousel {
  position: relative;
  padding-top: 100%;
   perspective: 100px;
    margin-top: -40px
}

.product_mobile_carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.product_mobile_carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  background-color: ;
  counter-increment: item;
}

.product_mobile_carousel__slide:nth-child(even) {
  background-color: ;
}

.product_mobile_carousel__slide:before {
  content: counter(item);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}

.product_mobile_carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}


  .product_mobile_carousel__slide:last-child .product_mobile_carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product_mobile_carousel__snapper {
    animation-name: none;
  }
}

.product_mobile_carousel:hover .product_mobile_carousel__snapper,
.product_mobile_carousel:focus-within .product_mobile_carousel__snapper {
  animation-name: none;
}

.product_mobile_carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.product_mobile_carousel__navigation-list,
.product_mobile_carousel__navigation-item {
  display: inline-block;
}

.product_mobile_carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}


.product_mobile_carousel::before,
.product_mobile_carousel__prev {
  left: -1rem;
}

.product_mobile_carousel::after,
.product_mobile_carousel__next {
  right: -1rem;
}

.product_mobile_carousel::before,
.product_mobile_carousel::after {
  content: '';
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.product_mobile_carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.product_mobile_carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}
