/* Instagram Slider Plugin */

.is-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 48px;
    box-sizing: border-box;
}

/* Track — de horizontale rij slides */
.is-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;      /* IE/Edge */
    padding: 8px 4px 16px;
    cursor: grab;
}

.is-track:active {
    cursor: grabbing;
}

.is-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Individuele slide */
.is-slide {
    flex: 0 0 auto;
    width: 90%;
    max-width: 400px;
    scroll-snap-align: center;
}

/* Pijlen */
.is-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: box-shadow 0.15s, opacity 0.15s;
    padding: 0;
    color: #333;
}

.is-arrow:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.is-arrow--disabled {
    opacity: 0.3;
    pointer-events: none;
}

.is-arrow svg {
    width: 18px;
    height: 18px;
}

.is-arrow--prev {
    left: 0;
}

.is-arrow--next {
    right: 0;
}

/* Foutmelding */
.is-error {
    color: #d93025;
    font-size: 0.9rem;
}

/* Mobiel */
@media (max-width: 600px) {
    .is-wrapper {
        padding: 0 36px;
    }

    .is-slide {
        width: 85%;
    }

    .is-arrow {
        width: 32px;
        height: 32px;
    }

    .is-arrow svg {
        width: 14px;
        height: 14px;
    }
}
