/* ===== IMAGE SLIDER COMPONENT ===== */
.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    background: #f5f5f7;
}

.image-slider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.image-slider__slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 10;
}

.image-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dot indicators – positioned outside the slider, bottom-right */
.image-slider__dots {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-right: 4px;
}

.image-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #C4C4C4;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.image-slider__dot--active {
    background: #D4A843;
}

.image-slider__dot:hover {
    background: #b89a3a;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .image-slider {
        max-height: 350px;
    }

    .image-slider__dots {
        margin-top: 12px;
        gap: 6px;
    }

    .image-slider__dot {
        width: 6px;
        height: 6px;
    }
}
/* Hero Slider Override */
.image-slider--hero {
    /* border-radius: 0 !important; */
    height: 100% !important;
    background: transparent !important;
}
.image-slider--hero .image-slider__track {
    height: 100%;
}
.image-slider--hero .image-slider__slide {
    aspect-ratio: auto !important;
    height: 100% !important;
}

/* Position dots inside the hero */
.hero-subpage {
    position: relative;
}
.hero-subpage .image-slider__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin-top: 0;
    padding: 0;
}
.hero-subpage .image-slider__dot {
    background: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
}
.hero-subpage .image-slider__dot--active {
    background: #ffffff;
}
