.gallerySwiper {
    width: 100%;
    height: 500px; /* 필요에 따라 조정 */
}

.gallerySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallerySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallerySwiper {
        height: 250px;
    }
}

.fade-gallery {
    width: 100%;
}

/* 메인 */
.fade-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-slide.active {
    opacity: 1;
    z-index: 2;
}

.fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 좌우 버튼 (중앙 배치 핵심) */
.fade-prev,
.fade-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 45px;
    height: 45px;

    border: none;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.fade-prev {
    left: 10px;
}

.fade-next {
    right: 10px;
}

/* thumbnails */
.fade-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
	position: absolute;
    bottom: 1%;        /* 이미지 하단에서 살짝 위 */
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    z-index: 20;


}

/* 원형 thumb */
.thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    overflow: hidden;

    cursor: pointer;
    background: #ccc;

    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* 이미지 숨기고 dot 느낌 유지 */
.thumb img {
    display: none;
}

/* active 상태 */
.thumb.active {
    background: #333;
    transform: scale(1.3);
    border-color: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* 기본 갤러리 */
.fade-main {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* 페이지별 높이 제거 */
.main .fade-main,
.room .fade-main,
.bbq .fade-main,
.valley .fade-main {
    height: auto;
    min-height: auto;
}

/* 이미지 비율 유지 */
.fade-slide,
.fade-slide img {
    width: 100%;
    height: 100%;
}

.fade-slide img {
    object-fit: contain; /* cover → contain */
    display: block;
}

/* 모바일 */
@media (max-width: 768px) {

    .fade-main {
        aspect-ratio: 16 / 10;
    }

    .fade-prev,
    .fade-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}