.ags-slider {
    max-width: 100%;
}

/* Groot venster */
.ags-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    background: #000;
}

.ags-main-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ags-main-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.ags-main-image.ags-fit-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ags-main-image.ags-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grote pijlen */
.ags-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    font-size: 26px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    z-index: 10;
}

.ags-prev {
    left: 10px;
}

.ags-next {
    right: 10px;
}

/* Thumbnails + scrollknoppen */
.ags-thumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.ags-thumbs-inner {
    display: flex;
    gap: 6px;
    flex: 1 1 auto;
    overflow-x: auto;
    padding-top: 4px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.ags-thumbs-inner::-webkit-scrollbar {
    display: none;
}

.ags-thumbs-arrow {
    border: none;
    background: rgba(0,0,0,0.8);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Thumbs */
.ags-thumb {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

.ags-thumb-image {
    display: block;
    height: 100px;
    width: auto;
    opacity: 0.6;
}

.ags-thumb-image.ags-thumb-active {
    opacity: 1;
    outline: 2px solid #fff;
}

.ags-notice {
    color: #777;
}

/* Kleinere thumbs op mobiel */
@media (max-width: 600px) {
    .ags-thumb-image {
        height: 70px;
    }
}
