/* KLD mobile snap carousel — shared styles (breakpoint 768px) */

.kld-snap-carousel__dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.kld-snap-carousel__dots.is-visible {
    display: flex;
}

.kld-snap-carousel__dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
    cursor: pointer;
    transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.kld-snap-carousel__dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: #7b2f9e;
}

.kld-snap-carousel__viewport {
    flex: 1;
    min-width: 0;
}

.kld-snap-carousel__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
}

.kld-snap-carousel__arrow {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .kld-snap-carousel--mobile .kld-snap-carousel__arrow {
        display: none !important;
    }

    .kld-snap-carousel--mobile .kld-snap-carousel__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .kld-snap-carousel--mobile .kld-snap-carousel__viewport::-webkit-scrollbar {
        display: none;
    }

    .kld-snap-carousel--mobile .kld-snap-carousel__track {
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }

    .kld-snap-carousel--mobile .kld-snap-carousel__slide {
        scroll-snap-align: start;
        scroll-snap-stop: always;
        flex-shrink: 0;
    }

    .kld-snap-carousel--mobile.kld-snap-carousel--single .kld-snap-carousel__track {
        justify-content: center;
    }

    /* Owl — Avis clients */
    .carousel-testi .owl-pba .owl-nav,
    .template-cms_carousel--team.owl-carousel.owl-pba .owl-nav {
        display: none !important;
    }

    .carousel-testi .owl-pba .owl-dots,
    .template-cms_carousel--team.owl-carousel.owl-pba .owl-dots {
        display: block !important;
        margin-top: 12px;
        text-align: center;
    }

    .carousel-testi .owl-pba .owl-dots .owl-dot span,
    .template-cms_carousel--team.owl-carousel.owl-pba .owl-dots .owl-dot span {
        width: 8px;
        height: 8px;
        margin: 0 3px;
        background: #d1d5db;
        display: block;
        border-radius: 50%;
        transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
    }

    .carousel-testi .owl-pba .owl-dots .owl-dot.active span,
    .template-cms_carousel--team.owl-carousel.owl-pba .owl-dots .owl-dot.active span {
        width: 24px;
        border-radius: 4px;
        background: #7b2f9e;
    }
}

@media (min-width: 769px) {
    .kld-snap-carousel__dots {
        display: none !important;
    }
}
