/* ==========================================================================
   HOTEL LIGHTBOX SLIDER (Shared Modal Gallery — Soft UI / Touch UI)
   ========================================================================== */
.krs-hotel-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000005;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 24px;
    box-sizing: border-box;
    user-select: none;
    animation: krsLightboxFadeIn 0.2s ease;
}

@keyframes krsLightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.krs-hotel-lightbox-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 10;
    flex-shrink: 0;
}

.krs-hotel-lightbox-info {
    color: #ffffff;
}

.krs-hotel-lightbox-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.krs-hotel-lightbox-counter {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

.krs-hotel-lightbox-close {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.krs-hotel-lightbox-close:hover {
    background: #B55C80;
    transform: scale(1.05);
}

.krs-hotel-lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 12px 0;
}

.krs-hotel-lightbox-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 85vh;
}

#krs-hotel-lightbox-active-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    display: block;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.15s ease;
}

.krs-hotel-lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, transform 0.15s ease;
}

.krs-hotel-lightbox-btn:hover {
    background: #2D1A68;
    transform: translateY(-50%) scale(1.08);
}

.krs-hotel-lightbox-prev {
    left: 16px;
}

.krs-hotel-lightbox-next {
    right: 16px;
}

@media (max-width: 768px) {
    .krs-hotel-lightbox-overlay { padding: 14px 16px; }
    .krs-hotel-lightbox-title { font-size: 16px; }
    .krs-hotel-lightbox-btn { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
    .krs-hotel-lightbox-prev { left: 8px; }
    .krs-hotel-lightbox-next { right: 8px; }
    #krs-hotel-lightbox-active-img { max-width: 92vw; max-height: 75vh; }
}
