/* ============================================================
   KUZNYA EFFECTS - Carousels (Swiper)
   ============================================================ */

/* ---- Base wrapper ---- */
.kz-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.kz-carousel .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* ---- Pagination (dots) ---- */
.kz-carousel .swiper-pagination {
    position: relative;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.kz-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(15, 23, 42, 0.2);
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 5px;
    cursor: pointer;
}

.kz-carousel .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--c-primary, #2563EB);
}

/* ---- Arrows ---- */
.kz-carousel .swiper-button-prev,
.kz-carousel .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.12);
    color: var(--c-primary, #2563EB);
    transition: all 0.25s ease;
    top: 50%;
    margin-top: -22px;
}

.kz-carousel .swiper-button-prev:hover,
.kz-carousel .swiper-button-next:hover {
    background: var(--c-primary, #2563EB);
    color: #FFFFFF;
    transform: scale(1.08);
}

.kz-carousel .swiper-button-prev::after,
.kz-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.kz-carousel .swiper-button-prev { left: 8px; }
.kz-carousel .swiper-button-next { right: 8px; }

/* ---- Coverflow effect: наклонные карточки ---- */
.kz-carousel--coverflow {
    padding: 40px 0;
}

.kz-carousel--coverflow .swiper-slide {
    transition: opacity 0.3s ease;
    opacity: 0.5;
}

.kz-carousel--coverflow .swiper-slide-active {
    opacity: 1;
}

/* ---- Fade effect ---- */
.kz-carousel--fade .swiper-slide {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.kz-carousel--fade .swiper-slide-active {
    opacity: 1;
}

/* ---- Responsive arrows ---- */
@media (max-width: 700px) {
    .kz-carousel .swiper-button-prev,
    .kz-carousel .swiper-button-next {
        width: 38px;
        height: 38px;
        margin-top: -19px;
    }
    .kz-carousel .swiper-button-prev::after,
    .kz-carousel .swiper-button-next::after {
        font-size: 13px;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .kz-carousel .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}