/* Карусель «Похожие» — scroll-snap (без Slick, без transform) */

.product-related__loading {
  color: #8e8e8e;
  padding: 16px 0;
  margin: 0;
}

.pr-snap {
  width: 100%;
  position: relative;
}

.pr-snap__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.pr-snap__viewport::-webkit-scrollbar {
  display: none;
}

.pr-snap__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
}

.pr-snap__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  padding: 0 15px;
}

/* Карточка — стили каталога */
.pr-snap__slide .item {
  position: relative;
  padding-bottom: 52px;
  height: 100%;
}

.pr-snap__slide .item-img {
  margin-bottom: 10px;
  border-radius: 10px;
  text-align: center;
}

.pr-snap__slide .item-img img {
  border-radius: 10px;
  max-width: 100%;
  max-height: 220px;
  width: auto !important;
  height: auto;
}

.pr-snap__slide .item-title {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.4;
}

.pr-snap__slide .item-title a {
  color: #000;
}

.pr-snap__slide .item-title a:hover {
  color: #f7d043;
}

.pr-snap__slide .item-collection {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(28, 46, 54, 0.5);
}

.pr-snap__slide .item-pers {
  min-height: 150px;
}

.pr-snap__slide .item .btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.pr-snap__slide .price-wrapper {
  font-size: 16px;
}

.pr-snap__slide .old-price-wrapper {
  text-decoration: line-through;
  font-size: 13px;
  color: #676767;
  margin-right: 5px;
}

@media (max-width: 439px) {
  .pr-snap__slide {
    padding: 0 8px;
  }

  .pr-snap__slide .item-title {
    font-size: 11px;
  }

  .pr-snap__slide .item .btn {
    font-size: 9px;
    padding: 7px 0;
  }
}
