/* ==========================================================================
   Prichal Video Lightbox
   ========================================================================== */

/* -- Camera button on room image ------------------------------------------- */
.room-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
    padding: 0;
    line-height: 1;
}

.room-video-btn:hover,
.room-video-btn:focus-visible {
    background: var(--color-gold, #b8913a);
    border-color: transparent;
    transform: scale(1.1);
    outline: none;
}

.room-video-btn svg {
    pointer-events: none;
    display: block;
}

/* -- Lightbox overlay ------------------------------------------------------ */
.pv-lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    padding: 20px;
    box-sizing: border-box;
}

.pv-lb.is-open {
    opacity: 1;
    visibility: visible;
}

body.pv-lb-open {
    overflow: hidden;
}

/* -- Inner wrapper --------------------------------------------------------- */
.pv-lb__wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
}

/* -- Close button ---------------------------------------------------------- */
.pv-lb__close {
    position: absolute;
    top: -46px;
    right: -6px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    padding: 0;
}

.pv-lb__close:hover {
    background: rgba(255, 255, 255, .2);
    transform: scale(1.1);
}

/* -- Stage (video + arrows) ------------------------------------------------ */
.pv-lb__stage {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* -- Video element --------------------------------------------------------- */
.pv-lb__video {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-height: 82vh;
    border-radius: 6px;
    background: #000;
    display: block;
    outline: none;
}

/* -- Prev / Next arrows ---------------------------------------------------- */
.pv-lb__nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, opacity .2s;
    padding: 0;
}

.pv-lb__nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, .2);
}

.pv-lb__nav:disabled {
    cursor: default;
}

/* -- Counter "1 / 3" ------------------------------------------------------- */
.pv-lb__counter {
    margin: 10px 0 0;
    text-align: center;
    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
    letter-spacing: .03em;
    min-height: 1.2em;
}

/* -- Responsive ------------------------------------------------------------ */
@media (max-width: 600px) {
    .pv-lb__nav {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .pv-lb__close {
        top: -42px;
        right: 0;
    }

    .room-video-btn {
        width: 32px;
        height: 32px;
    }
}
