
.ech-virtual-showroom {
    --ech-blue: rgb(0, 84, 134);
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background: #090f14;
    color: #fff;
}

html.ech-showroom-open,
body.ech-showroom-open {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.ech-virtual-showroom__viewport,
.ech-virtual-showroom__scene,
.ech-virtual-showroom__flat,
.ech-virtual-showroom__panorama {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ech-virtual-showroom__flat {
    background: #1a2024;
}

.ech-virtual-showroom__flat-inner {
    position: absolute;
    inset: -2.5%;
    transform: scale(1.045);
    transform-origin: 50% 50%;
    will-change: transform;
    transition: transform .16s ease-out;
}

.ech-virtual-showroom__room-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
    user-select: none;
    pointer-events: none;
}

.ech-virtual-showroom__tv {
    position: absolute;
    display: block;
    object-fit: cover;
    background: #020609;
    border: 0;
    outline: 0;
    transform: translateZ(0);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.ech-virtual-showroom__hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ech-virtual-showroom__hotspot {
    position: absolute;
    z-index: 8;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 50%;
    background: rgba(0,84,134,.92);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    box-shadow:
        0 0 0 7px rgba(0,84,134,.14),
        0 12px 32px rgba(0,0,0,.28);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ech-virtual-showroom__hotspot::before,
.ech-virtual-showroom__hotspot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #fff;
    transform: translate(-50%,-50%);
}

.ech-virtual-showroom__hotspot::before {
    width: 15px;
    height: 2px;
}

.ech-virtual-showroom__hotspot::after {
    width: 2px;
    height: 15px;
}

.ech-virtual-showroom__hotspot:hover {
    transform: scale(1.12);
    box-shadow:
        0 0 0 10px rgba(0,84,134,.18),
        0 16px 38px rgba(0,0,0,.34);
}

.ech-virtual-showroom__hotspot-label {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(9,17,23,.82);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.ech-virtual-showroom__start {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5,11,15,.52);
    backdrop-filter: blur(10px);
    transition: opacity .28s ease, visibility .28s ease;
}

.ech-virtual-showroom__start.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ech-virtual-showroom__start-card {
    width: min(520px, calc(100vw - 40px));
    padding: 34px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: rgba(10,20,27,.90);
    text-align: center;
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.ech-virtual-showroom__logo {
    width: 150px;
    height: auto;
    margin: 0 auto 22px;
}

.ech-virtual-showroom__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #79c8ef;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ech-virtual-showroom__title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.ech-virtual-showroom__message {
    margin: 0 0 22px;
    color: rgba(255,255,255,.74);
}

.ech-virtual-showroom__enter {
    min-width: 190px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--ech-blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ech-virtual-showroom__enter:disabled {
    opacity: .45;
    cursor: wait;
}

.ech-virtual-showroom__ui {
    position: absolute;
    left: 22px;
    top: 20px;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(8,15,21,.55);
    backdrop-filter: blur(10px);
}

.ech-virtual-showroom__ui-logo {
    width: 70px;
    height: auto;
}

.ech-virtual-showroom__ui-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.ech-virtual-showroom__hint {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 12;
    transform: translateX(-50%);
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(8,15,21,.62);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

/* Device viewer */
.ech-virtual-showroom__device-viewer {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: grid;
    place-items: center;
    padding: 28px;
}

.ech-virtual-showroom__device-viewer[hidden] {
    display: none !important;
}

.ech-virtual-showroom__device-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,9,13,.78);
    backdrop-filter: blur(10px);
}

.ech-virtual-showroom__device-panel {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100vw - 56px));
    height: min(760px, calc(100dvh - 56px));
    overflow: hidden;
    border: 1px solid rgba(0,84,134,.18);
    border-radius: 22px;
    background: #f4f6f7;
    color: #15222b;
    box-shadow: 0 32px 100px rgba(0,0,0,.40);
}

.ech-virtual-showroom__device-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #17303f;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.ech-virtual-showroom__device-header {
    height: 92px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 76px 18px 28px;
    border-bottom: 1px solid rgba(17,34,45,.10);
    background: #fff;
}

.ech-virtual-showroom__device-logo {
    width: 104px;
    height: auto;
}

.ech-virtual-showroom__device-header div {
    display: grid;
    gap: 4px;
}

.ech-virtual-showroom__device-header strong {
    font-size: 22px;
}

.ech-virtual-showroom__device-header span {
    color: #60707a;
    font-size: 14px;
}

.ech-virtual-showroom__device-stage {
    position: relative;
    height: calc(100% - 132px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 44%, #fff 0, #f4f6f7 48%, #e6ebee 100%);
    cursor: grab;
    user-select: none;
}

.ech-virtual-showroom__device-stage.is-dragging {
    cursor: grabbing;
}

.ech-virtual-showroom__device-stage img {
    display: block;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transform-origin: center;
    pointer-events: none;
    filter: drop-shadow(0 24px 24px rgba(0,0,0,.16));
}

.ech-virtual-showroom__device-empty {
    display: grid;
    gap: 8px;
    place-items: center;
    text-align: center;
    color: #48606f;
}

.ech-virtual-showroom__device-empty strong {
    color: var(--ech-blue);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.ech-virtual-showroom__device-help {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.90);
    color: #5d6a72;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

@media (max-width: 720px) {
    .ech-virtual-showroom__ui {
        left: 12px;
        top: 12px;
    }

    .ech-virtual-showroom__ui-title {
        display: none;
    }

    .ech-virtual-showroom__hint {
        bottom: 10px;
        max-width: calc(100vw - 24px);
        text-align: center;
        white-space: normal;
    }

    .ech-virtual-showroom__device-viewer {
        padding: 10px;
    }

    .ech-virtual-showroom__device-panel {
        width: calc(100vw - 20px);
        height: calc(100dvh - 20px);
        border-radius: 14px;
    }

    .ech-virtual-showroom__device-header {
        height: 78px;
        padding: 14px 60px 14px 18px;
    }

    .ech-virtual-showroom__device-logo {
        width: 82px;
    }

    .ech-virtual-showroom__device-stage {
        height: calc(100% - 118px);
    }

    .ech-virtual-showroom__device-help {
        max-width: calc(100% - 24px);
        white-space: normal;
        text-align: center;
    }
}


/* =========================================================
   v3.1.0 ROOM NAVIGATION
   ========================================================= */

.ech-virtual-showroom__navigation {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
}

.ech-virtual-showroom__nav-point {
    position: absolute;
    width: 74px;
    height: 74px;
    margin: -37px 0 0 -37px;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    color: #fff;
}

.ech-virtual-showroom__nav-ring {
    position: absolute;
    inset: 7px;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 50%;
    background: rgba(0,84,134,.76);
    box-shadow:
        0 0 0 8px rgba(0,84,134,.14),
        0 14px 34px rgba(0,0,0,.28);
    transition: transform .18s ease, background .18s ease;
}

.ech-virtual-showroom__nav-point:hover .ech-virtual-showroom__nav-ring {
    transform: scale(1.10);
    background: rgba(0,104,165,.94);
}

.ech-virtual-showroom__nav-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform-origin: 50% 50%;
}

.ech-virtual-showroom__nav-point[data-direction="forward"] .ech-virtual-showroom__nav-arrow {
    transform: translate(-50%,-35%) rotate(-45deg);
}

.ech-virtual-showroom__nav-point[data-direction="back"] .ech-virtual-showroom__nav-arrow {
    transform: translate(-50%,-65%) rotate(135deg);
}

.ech-virtual-showroom__nav-label {
    position: absolute;
    left: 50%;
    top: calc(100% + 5px);
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(8,15,21,.82);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.ech-virtual-showroom__scene-name {
    display: inline-flex;
    align-items: center;
    padding-left: 12px;
    margin-left: 2px;
    border-left: 1px solid rgba(255,255,255,.20);
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 500;
}

.ech-virtual-showroom__transition {
    position: absolute;
    inset: 0;
    z-index: 25;
    background: #071017;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.ech-virtual-showroom__transition.is-active {
    opacity: .72;
    visibility: visible;
}

.ech-virtual-showroom__flat-inner {
    transition:
        transform .48s cubic-bezier(.22,.8,.22,1),
        opacity .24s ease;
}

.ech-virtual-showroom__flat-inner.is-changing {
    opacity: .20;
}

@media (max-width: 720px) {
    .ech-virtual-showroom__scene-name {
        display: none;
    }

    .ech-virtual-showroom__nav-point {
        width: 62px;
        height: 62px;
        margin: -31px 0 0 -31px;
    }

    .ech-virtual-showroom__nav-ring {
        inset: 6px;
    }
}
