/* Virtual Tour widget */

.wf-vt {
    position: relative;
    width: 100%;
}

.wf-vt--bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.wf-vt-title {
    margin: 0 0 24px;
    text-align: center;
}

.wf-vt-stage {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.wf-vt-embed {
    position: absolute;
    inset: 0;
}

.wf-vt-embed iframe,
.wf-vt-embed > *:not(script):not(style) {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Expand button / click-to-open overlay
   The <button> is only a transparent hit area; the visible button is the dark chip inside it.
   Reset beats theme button styles (border, background, shadow, sizing). */

.wf-vt .wf-vt-open,
.wf-vt .wf-vt-open:hover,
.wf-vt .wf-vt-open:focus,
.wf-vt .wf-vt-open:active {
    position: absolute;
    z-index: 3;
    width: auto;
    height: auto;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0;
    color: inherit;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.wf-vt-open-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    line-height: 1.2;
    transition: background-color 0.2s ease;
}

.wf-vt .wf-vt-open:focus-visible .wf-vt-open-chip {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #000;
}

.wf-vt-open-label {
    font-size: 15px;
}

/* Button mode: small chip in a corner */
.wf-vt.wf-vt--pos-top-right .wf-vt-open { top: var(--wf-vt-offset, 16px); right: var(--wf-vt-offset, 16px); }
.wf-vt.wf-vt--pos-top-left .wf-vt-open { top: var(--wf-vt-offset, 16px); left: var(--wf-vt-offset, 16px); }
.wf-vt.wf-vt--pos-bottom-right .wf-vt-open { bottom: var(--wf-vt-offset, 16px); right: var(--wf-vt-offset, 16px); }
.wf-vt.wf-vt--pos-bottom-left .wf-vt-open { bottom: var(--wf-vt-offset, 16px); left: var(--wf-vt-offset, 16px); }

/* Click mode: transparent overlay over the whole tour, chip at the bottom */
.wf-vt.wf-vt--click .wf-vt-open {
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--wf-vt-offset, 16px) !important;
}

/* Fullscreen modal (appended to body) */

body.wf-vt-modal-open {
    overflow: hidden;
}

.wf-vt-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    box-sizing: border-box;
    padding: 56px 24px 24px;
    background: rgba(0, 0, 0, 0.92);
}

.wf-vt-modal-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.wf-vt-modal .wf-vt-embed {
    position: absolute;
    inset: 0;
}

.wf-vt-modal-close {
    position: absolute;
    top: 8px;
    right: 16px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.wf-vt-modal-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .wf-vt-modal {
        padding: 56px 0 0;
    }
}
