/* Мобильный баннер-слайдер главной */
.kd-mslider {
  position: relative;
  width: 100%;
  max-width: 710px;
  margin: 0 auto 8px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8f1f3;
  aspect-ratio: 640 / 375;
}

.kd-mslider__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.kd-mslider__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.kd-mslider__track::-webkit-scrollbar {
  display: none;
}

.kd-mslider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.kd-mslider__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.kd-mslider__slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.kd-mslider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  -webkit-user-drag: none;
  user-select: none;
}

.kd-mslider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 10;
  padding: 0 0 8px;
  pointer-events: none;
}

.kd-mslider__dot {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.kd-mslider__dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.kd-mslider__dot.is-active::before {
  background: #fff;
  transform: scale(1.2);
}

/* Горизонтальная лента преимуществ на мобильном */
.kd-mperks {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 10px 0 0;
  padding-bottom: 4px;
}

.kd-mperks::-webkit-scrollbar { display: none; }

.kd-mperks__row {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 0 2px;
}

.kd-mperks__card {
  flex: 0 0 auto;
  min-width: 148px;
  max-width: 200px;
  scroll-snap-align: start;
  border-radius: 40px;
  background: #e8f1f3;
  border: 1px solid #e8f1f3;
  padding: 10px 14px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kd-mperks__card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  color: #333;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.kd-mperks__card a span {
  flex: 0 1 auto;
}

.kd-mperks__card img {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  order: -1;
}

@media (prefers-reduced-motion: reduce) {
  .kd-mslider__track { scroll-behavior: auto; }
}
