/* swiper-custom.css — полные стили для корректной работы свайпера */

.swiper-container {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: ease-out;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Для горизонтального свайпа */
.swiper-container-horizontal > .swiper-wrapper {
    flex-direction: row;
}

/* Для плавного переключения */
.swiper-container.no-transition .swiper-wrapper {
    transition: none !important;
}

/* Предотвращение выделения при свайпе */
.swiper-container {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Центрирование содержимого внутри слайда */
.swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Для плавного переключения */
.swiper-container.no-transition .swiper-wrapper {
    transition: none !important;
}

/* Предотвращение выделения при свайпе */
.swiper-container {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.swiper-slide img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
}