/************************************************************
Drag 커서 — 사용: .drag-wrap 클래스가 붙은 위젯 (html > thema > FIVESENSES > widget)
************************************************************/
.drag-wrap .swiper .swiper-wrapper,
.swiper.drag-wrap .swiper-wrapper,
.swiper .swiper-wrapper.drag-wrap {
    cursor: none !important;
}

.drag-wrap .swiper .swiper-wrapper .swiper-slide a,
.drag-wrap .swiper .swiper-wrapper .swiper-slide a * {
    cursor: pointer !important;
}

.drag-wrap .swiper .swiper-button-prev,
.drag-wrap .swiper .swiper-button-next,
.swiper.drag-wrap .swiper-button-prev,
.swiper.drag-wrap .swiper-button-next {
    cursor: pointer !important;
}

.drag-wrap .swiper .swiper-wrapper a.swiper-slide,
.drag-wrap .swiper .swiper-wrapper a.swiper-slide * {
    cursor: none !important;
}

/* 모바일(991px 이하)에서는 기본 포인터로 복원 */
@media (max-width: 991px) {
    .drag-wrap .swiper .swiper-wrapper,
    .swiper.drag-wrap .swiper-wrapper,
    .swiper .swiper-wrapper.drag-wrap {
        cursor: pointer !important;
    }
    
    .drag-wrap .swiper .swiper-wrapper a.swiper-slide,
    .drag-wrap .swiper .swiper-wrapper a.swiper-slide * {
        cursor: pointer !important;
    }
    
    .custom-drag-cursor {
        display: none !important;
    }
}

.custom-drag-cursor {
    position: fixed;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--main-btn-point-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .3s ease, height .3s ease, opacity .3s ease;
    opacity: 0;
    z-index: 99999;
    user-select: none;
    pointer-events: none;
    cursor: none;
}

/* ::after 기본 상태 - 항상 존재하지만 투명 */
.custom-drag-cursor::after {
    content: "< DRAG >";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'SUIT', sans-serif;
    color: var(--main-btn-point-color);
    opacity: 0;
    transition: opacity .15s ease;
}

.custom-drag-cursor.active {
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 1px solid var(--main-btn-point-color);
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    transition: width .3s ease, height .3s ease, opacity .3s ease;
    opacity: 1;
}

/* .active일 때 ::after 텍스트 지연 후 표시 */
.custom-drag-cursor.active::after {
    opacity: 1;
    transition: opacity .1s ease .1s;
}

/************************************************************
View More 커서 — 사용: .more-wrap 클래스가 붙은 위젯 (html > thema > FIVESENSES > widget)
************************************************************/
.more-wrap,
.more-wrap img,
a.more-wrap,
.more-wrap a,
.more-wrap a * {
    cursor: none !important;
}

/* 모바일(991px 이하)에서는 기본 포인터로 복원 */
@media (max-width: 991px) {
    .more-wrap,
    .more-wrap img,
    a.more-wrap,
    .more-wrap a,
    .more-wrap a * {
        cursor: pointer !important;
    }
    
    .custom-view-cursor {
        display: none !important;
    }
}

.custom-view-cursor {
    position: fixed;
    transform: translate(-50%, -50%) scale(0.9);
    display: inline-block;
    opacity: 0;
    z-index: 99999;
    user-select: none;
    pointer-events: none;
    cursor: none;
}

.custom-view-cursor.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: transform .3s ease;
}

.custom-view-cursor .view-cursor-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.custom-view-cursor .view-cursor-inner .cursor-txt {
    display: inline-block;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px);
    border-radius: 2.5rem;
    font-family: 'SUIT', sans-serif;
    font-size: 16px;
    color: var(--main-btn-point-color);
    white-space: nowrap;
}

.custom-view-cursor .view-cursor-inner .cursor-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--main-btn-point-color);
    border-radius: 50%;
}
