.carousel-fullpage {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 250px;
    margin: 50px auto;
    overflow: hidden;
}

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

.carousel-fullpage__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.carousel-fullpage__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-fullpage__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.carousel-fullpage__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.carousel-fullpage__arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-fullpage__arrow--prev {
    left: 24px;
}

.carousel-fullpage__arrow--next {
    right: 24px;
}

.carousel-fullpage__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-fullpage__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
}

.carousel-fullpage__dot.is-active {
    background: #fff;
}

.carousel-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-lightbox__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
}

.carousel-lightbox__image {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.carousel-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    .carousel-fullpage {
        height: 600px;
    }
}