{
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
  overflow: visible !important;
}

.container-s {
  width: 100%;
  height: 65vh; /* Важно! */
  position: relative;
  z-index: 1;
  overflow: visible;
}
@media (max-width: 480px) {
	.container-s {
		height: 20vh !important;
	}
}

#slides {
  position: relative;
  width: 100%;
  height: 100%;
}
#slides .slide {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
}
#slides .slide:not(.active) .slide-left {
  transform: translateX(-100%) !important;
}
#slides .slide:not(.active) .slide-right {
  transform: translateX(100%) !important;
}

#slides .slide {
  opacity: 0;
  transition: opacity 0.5s ease;
}
#slides .slide.active {
  opacity: 1;
}

.slide-partial {
  will-change: transform; /* Для оптимизации анимации */
}

#slides .slide .title {
  position: absolute;
  top: calc(50% - 0.5em);
  left: 20px;
  z-index: 2;
  padding-top: 5px;
  font-family: "Reem Kufi", sans-serif;
  font-size: 5em;
  color: white;
  overflow: hidden;
}
#slides .slide .title .title-text {
  display: block;
  transform: translateY(1.2em);
  transition: transform 1s ease-in-out;
}
#slides .slide .slide-partial {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 1s ease-in-out;
}
#slides .slide .slide-partial img {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1s ease-in-out;
}
#slides .slide .slide-left {
  top: 0;
  left: 0;
  transform: translateX(-100%);
}
#slides .slide .slide-left img {
  top: 0;
  right: 0;
  -o-object-position: 100% 50%;
     object-position: 100% 50%;
  transform: translateX(50%);
}
#slides .slide .slide-right {
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition-delay: 0.2s;
}
#slides .slide .slide-right img {
  top: 0;
  left: 0;
  -o-object-position: 0% 50%;
     object-position: 0% 50%;
  transition-delay: 0.2s;
  transform: translateX(-50%);
}
#slides .slide.active .title .title-text {
  transform: translate(0);
  transition-delay: 0.3s;
}
#slides .slide.active .slide-partial, #slides .slide.active .slide-partial img {
  transform: translateX(0);
}

#slide-select {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: "Reem Kufi", sans-serif;
  font-size: 1.5em;
  font-weight: lighter;
  color: white;
}
#slide-select li {
  position: relative;
  cursor: pointer;
  margin: 0 5px;
}
#slide-select li.prev:hover {
  transform: translateX(-2px);
}
#slide-select li.next:hover {
  transform: translateX(2px);
}
#slide-select .selector {
  height: 14px;
  width: 14px;
  border: 2px solid white;
  background-color: transparent;
  transition: background-color 0.5s ease-in-out;
}
#slide-select .selector.current {
  background-color: white;
}

.codepen-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  height: 40px;
  width: 40px;
  z-index: 10;
  border-radius: 50%;
  box-sizing: border-box;
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/544318/logo.jpg");
  background-position: center center;
  background-size: cover;
  opacity: 0.5;
  transition: all 0.25s;
}
.codepen-link:hover {
  opacity: 0.8;
  box-shadow: 0 2px 6px #0c0c0c;
}
/* Обязательные стили для слайдов */
.t1148 {
  width: calc(100vw - 15px) !important;
}
.t1148__slider {
    width: 100%;
    height: 300px; /* Временная фиксированная высота */
    overflow: hidden;
}

.t1148__img-wrapper {
    width: 100%;
    height: 100%;
}

.t1148__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-slide {
    height: 100%;
}
/* Основной контейнер слайдера */
.t1148__slider.swiper {
    width: 100%;
    height: 300px !important; /* Фиксированная высота для теста */
    overflow: visible !important;
    margin: 0 auto;
    position: relative;
}

/* Обертка слайдов */
.swiper-wrapper {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* Отдельный слайд */
.t1148__item.swiper-slide {
    height: 100% !important;
    width: auto !important;
    display: flex !important;
    flex-shrink: 0 !important;
}

/* Контейнер изображения */
.t1148__img-wrapper {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* Само изображение */
.t1148__img {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}
/* Фиксируем структуру слайдера */
.t1148__gallery {
    position: relative;
    width: 100%;
    height: 400px; /* Временная фиксированная высота */
    margin: 0 auto;
    overflow: hidden;
}

.t1148__slider.swiper {
    width: 100%;
    height: 100% !important;
    padding: 20px 0;
}

.swiper-wrapper {
    height: 100%;
    align-items: center;
}

.t1148__item.swiper-slide {
    height: 100%;
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.t1148__img-wrapper {
    height: 100%;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.t1148__img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block !important;
}

/* Кнопки навигации */
.t1148__controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.t1148__control {
    pointer-events: all;
    z-index: 11;
}
/* Обновленные стили для контейнера изображений */
.kc-slide-image-container {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible; 
	padding-left: 60px;
}

    /* Новые стили для изображений */
.kc-slide-image {
	width: 100%; /* Полная ширина контейнера */
	height: auto; /* Автоматическая высота */
	max-width: 100%;
	object-fit: contain; /* Сохраняем пропорции */
	object-position: center;
	flex-shrink: 0; /* Запрещаем уменьшение */
}

/* Обновленные настройки слайдов */
.kc-swiper-slide {
	width: 20%; /* 5 слайдов в ряд */
	height: auto;
	padding: 0 10px; /* Отступы между слайдами */
	box-sizing: border-box;
}

/* Настройки для Swiper */
.kc-swiper-container {
	width: 100%;
	overflow: hidden;
}

.kc-swiper-wrapper {
	display: flex;
	align-items: center;
}

/* Адаптивность */
@media (max-width: 1024px) {
	.kc-swiper-slide {
		width: 25%; /* 4 слайда */
	}
}

@media (max-width: 768px) {
	.kc-swiper-slide {
		width: 33.33%; /* 3 слайда */
	}
}

@media (max-width: 480px) {
	.kc-swiper-slide {
		width: 100% !important;
	}
}
/* Стили для контейнера кнопок навигации */
/* Обновленные стили для контейнера кнопок */
.kc-swiper-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse; /* Меняем порядок кнопок */
    z-index: 10;
    pointer-events: none;
    padding: 0 15px;
    box-sizing: border-box;
}
@media (max-width: 480px) {
	.kc-swiper-nav {
		display: none;
	}
}


/* Стили для кнопки "назад" (теперь справа) */
.kc-swiper-button-prev {
    order: 2; /* Перемещаем в конец */
}

/* Стили для кнопки "вперед" (теперь слева) */
.kc-swiper-button-next {
    order: 1; /* Перемещаем в начало */
	transform: rotate(180deg) !important;
}

/* Остальные стили остаются без изменений */
.kc-swiper-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    pointer-events: all;
}

.kc-swiper-button svg {
    width: 24px;
    height: 24px;
    display: block;
    transition: transform 0.2s ease;
}


.kc-swiper-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.kc-swiper-button:hover svg {
    transform: scale(1.1);
}

.kc-swiper-button-prev:hover svg {
	transform: scale(1.1);
}

.kc-swiper-button.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
 .tooltip-horizontal-scroll-icon_hand {
	animation: tooltip-horizontal-scroll-icon_anim-scroll-hand 2s infinite;
}
.tooltip-horizontal-scroll-icon_card {
	animation: tooltip-horizontal-scroll-icon_anim-scroll-card 2s infinite;
}
@keyframes tooltip-horizontal-scroll-icon_anim-scroll-hand {
	0% {
		transform: translateX(80px) scale(1);
		opacity: 0;
	}
	10% {
		transform: translateX(80px) scale(1);
		opacity: 1;
	}
	20%,
	60% {
		transform: translateX(175px) scale(0.6);
		opacity: 1;
	}
	80% {
		transform: translateX(5px) scale(0.6);
		opacity: 1;
	}
	to {
		transform: translateX(5px) scale(0.6);
		opacity: 0;
	}
}
@keyframes tooltip-horizontal-scroll-icon_anim-scroll-card {
	0%,
	60% {
		transform: translateX(0);
	}
	80%,
	to {
		transform: translateX(-240px);
	}
}

iframe {
    width: 100%;
    height: 100%;
}

iframe .container {
    margin: 0;
    padding: 0;
    width: 100%;
}
iframe * {
  position: relative;
}
iframe .dealers__map {
    margin-top: 0;
}
iframe ymaps {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 960px) {
    .t554__general-wrapper {
        padding-bottom: 0 !important;
    }
}
