.products-module .products-carousel {
  position: relative;
  padding: 12px 12px;
  overflow: visible;
}

.products-module .products-list {
  display: flex;
  gap: 36px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 24px 16px;
}

.products-module .products-list::-webkit-scrollbar {
  display: none;
}

.products-module .products-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background-color: #ffffff; 
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 0.5px solid #eeeeee; 
  box-shadow: 0 8px 14px rgba(0,0,0,0.06);
  padding-bottom: 48px;
}

.products-module .products-card img {
  width: 100%;
  height: auto;
  border-radius: 0;
  align-self: center;
}

.products-module .products-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.products-module .products-dots span {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
  transition: width 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.products-module .products-dots span.active {
  width: 56px; 
  background: rgba(0,0,0,0.65);
}

.products-module .products-dots span:active {
  background: rgba(0,0,0,0.35);
}

.products-module .products-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.3;
  text-align: center;
  margin-top: -28px;
  color: #2B2B2B;

}


.products-module .products-arrow {
  display: none;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  
}

.products-module .products-arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  margin: auto;
}


.products-module .products-arrow:hover {
  background: rgba(0,0,0,0.08);
}

.products-module .products-arrow:active {
  background: rgba(0,0,0,0.16);
}

.products-module .products-arrow--left {
  left: 8px;
}

.products-module .products-arrow--left::before {
  transform: translateX(2px) rotate(-135deg);
}

.products-module .products-arrow--right::before {
  transform: translateX(-2px) rotate(45deg);
}

.products-module .products-arrow--right {
  right: 8px;
}



@media (min-width: 1024px) {
  .products-module .products-list {
    gap: 32px;
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    padding: 32px 16px 48px;
    scroll-snap-type: x mandatory;
    max-width: 1100px;
    margin: 0 auto;
    scroll-padding: 0 10px;
    cursor: grab;
  }

  .products-module .products-list:active {
    cursor: grabbing;
  }

  .products-module .products-card {
    flex: 0 0 calc((100% - 50px) / 3);
    scroll-snap-align: start;
  }

  .products-module .products-arrow {
    display: block;
  }

  .products-module .products-arrow--left {
    left: calc((100% - 1100px) / 2 - 62px);
  }

  .products-module .products-arrow--right {
    right: calc((100% - 1100px) / 2 - 62px);
  }
  .products-module .products-name {
    font-size: 28px;
  }
}


@media (max-width: 767px) {
  .products-module .products-dots {
    transform: scale(0.8);
    transform-origin: center;
  }
}


