image-slider {
    display: block;
    width: 100%;
    height: 100%;
}

image-slider .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

image-slider .slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease-out;
}

image-slider .slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

image-slider .slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

image-slider .slider-emoji {
    font-size: 7rem;
}

image-slider .slider-empty {
    width: 100%;
    height: 100%;
    background: var(--gradient-teal, linear-gradient(135deg, #567070, #6a8585));
}

/* White background when has real images */
image-slider .slider-container.has-images {
    background: #fff;
}

/* Clickable image area */
image-slider .slider-slide {
    cursor: pointer;
}

image-slider .slider-slide img {
    pointer-events: none;
}

/* Navigation buttons */
image-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 10;
    color: var(--color-primary-teal, #567070);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

image-slider .slider-container:hover .slider-btn {
    opacity: 1;
}

image-slider .slider-prev {
    left: 10px;
}

image-slider .slider-next {
    right: 10px;
}

image-slider .slider-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* Dot indicators */
image-slider .slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

image-slider .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-primary-orange, #ffa53c);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

image-slider .slider-dot.active {
    background: var(--color-primary-orange, #ffa53c);
    transform: scale(1.2);
}

image-slider .slider-dot:hover {
    background: var(--color-primary-orange-light, #ffb960);
}

/* Mobile: always show buttons */
@media (max-width: 768px) {
    image-slider .slider-btn {
        opacity: 0.8;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    image-slider .slider-emoji {
        font-size: 5rem;
    }
}

/* ========================================
   LIGHTBOX STYLES
   ======================================== */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.image-lightbox.active {
    display: block;
}

.image-lightbox .lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.image-lightbox .lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox .lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.image-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-primary-teal, #567070);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    transition: background 0.3s;
}

.image-lightbox .lightbox-close:hover {
    background: #fff;
}

.image-lightbox .lightbox-prev,
.image-lightbox .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-primary-teal, #567070);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    transition: background 0.3s;
}

.image-lightbox .lightbox-prev {
    left: 20px;
}

.image-lightbox .lightbox-next {
    right: 20px;
}

.image-lightbox .lightbox-prev:hover,
.image-lightbox .lightbox-next:hover {
    background: #fff;
}

.image-lightbox .lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .image-lightbox .lightbox-prev,
    .image-lightbox .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .image-lightbox .lightbox-prev {
        left: 10px;
    }

    .image-lightbox .lightbox-next {
        right: 10px;
    }

    .image-lightbox .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
