/* TS Carousel (werkt desktop + mobiel) */
.ts-carousel{
  position: relative;
  max-width: 400px;           /* matcht jullie 400×400 foto’s */
  width: 100%;
  aspect-ratio: 1 / 1;        /* altijd vierkant kader */
  margin: 10px auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.12);
}

.ts-carousel-viewport{
  width: 100%;
  height: 100%;
  position: relative;
}

.ts-carousel-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;        /* jullie “letterbox”-stijl blijft mooi */
  background: #fff;
  opacity: 0;
  transition: opacity .18s ease-in-out;
}

.ts-carousel-slide.is-active{ opacity: 1; }

.ts-carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 24px;
  line-height: 38px;
  cursor: pointer;
  z-index: 5;
}

.ts-carousel-btn:hover{ background: rgba(0,0,0,.58); }
.ts-carousel-btn.prev{ left: 10px; }
.ts-carousel-btn.next{ right: 10px; }

.ts-carousel-dots{
  position: absolute;
  left: 0; right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 6;
}

.ts-carousel-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.25);
  cursor: pointer;
}
.ts-carousel-dot.is-active{ background: rgba(0,0,0,.60); }

/* Op hele kleine schermen iets compactere knoppen */
@media (max-width: 420px){
  .ts-carousel-btn{ width: 34px; height: 34px; font-size: 22px; line-height: 34px; }
}
