/* Другие услуги: самостоятельный переиспользуемый блок */
.cs-related {
  width: 100%;
  min-width: 0;
  padding-block: 10px;
  color: #000000;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.6;
}
.cs-related, .cs-related *, .cs-related *::before, .cs-related *::after { box-sizing: border-box; }
.cs-related__container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 20px; }
.cs-related .cs-related__heading {
  margin: 0 0 20px;
  color: #363636;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.cs-related__slider { position: relative; min-width: 0; }
.cs-related .cs-related__track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin: 0;
  padding: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}
.cs-related__track::-webkit-scrollbar { display: none; }
.cs-related .cs-related__slide {
  display: flex;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  scroll-snap-align: start;
}
.cs-related__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #ffffff;
}
.cs-related__media { flex-shrink: 0; width: 100%; aspect-ratio: 2 / 1; background: #f4faf8; }
.cs-related .cs-related__image { display: block; width: 100%; height: 100%; aspect-ratio: 2 / 1; margin: 0; object-fit: cover; }
.cs-related__body { display: flex; flex: 1; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; }
.cs-related .cs-related__title { margin: 0; color: #363636; font-size: 26px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.cs-related__description { margin: 0; color: #000000; font-size: inherit; line-height: 1.6; overflow-wrap: anywhere; }
.cs-related__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; }
.cs-related .cs-related__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid #00997f;
  border-radius: 10px;
  background: #ffffff;
  color: #00997f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.cs-related__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0 0 0 auto; color: #00997f; font-size: 22px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }

/* Стрелки по центру слайдера: 90% заливка, при наведении 70% */
.cs-related .cs-related__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(0,153,127,.9);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s ease;
}
.cs-related__arrow--prev { left: 10px; }
.cs-related__arrow--next { right: 10px; }
.cs-related [hidden] { display: none !important; }
.cs-related a:focus-visible, .cs-related button:focus-visible { outline: 2px solid #00997f; outline-offset: 3px; }
@media (hover: hover) {
  .cs-related .cs-related__arrow:hover { background: rgba(0,153,127,.7); }
  .cs-related .cs-related__button:hover { background: #00997f; color: #ffffff; }
}
@media (min-width: 1024px) { .cs-related { padding-block: 15px; } }
@media (min-width: 768px) and (max-width: 1023px) {
  .cs-related .cs-related__slide { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
  .cs-related { font-size: 16px; }
  .cs-related__container { padding-inline: 10px; }
  .cs-related .cs-related__heading { font-size: 22px; }
  .cs-related .cs-related__slide { flex-basis: 100%; }
  .cs-related__body { padding: 20px 16px; }
  .cs-related .cs-related__title { font-size: 20px; }
  .cs-related__price { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-related .cs-related__button, .cs-related .cs-related__arrow { transition: none; }
}

@media (max-width: 767px) {
  .cs-related .cs-related__arrow {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cs-related .cs-related__track {
    cursor: grab;
  }
}

.cs-related .cs-related__track img {
  -webkit-user-drag: none;
}

.cs-related .cs-related__track.is-dragging,
.cs-related .cs-related__track.is-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}