.upink-vr-showroom-wrap {
    width: 100%;
}

.upink-vr-viewer {
    width: var(--upink-vr-width, 100vw);
    height: var(--upink-vr-height, 70vh);
    max-width: 100%;
    position: relative;
    overflow: hidden;
    background: #111;
}

.upink-vr-canvas,
.upink-vr-canvas canvas {
    width: 100% !important;
    height: 100% !important;
}

.upink-vr-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.upink-vr-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    font-size: 14px;
}

.upink-vr-title {
    font-size: 16px;
}

.upink-vr-info-panel {
    pointer-events: auto;
    align-self: flex-end;
    max-width: min(420px, calc(100% - 24px));
    margin: 0 16px 16px;
    padding: 0;
    color: #fff;
}

.upink-vr-info-panel__inner {
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 16px;
    width:300px;
    height:70vh;
    position:relative;
}

.upink-vr-info-close {
    position:absolute;
    top:0;
    right:0;
    color: var( --e-global-color-secondary );
    border-color: var( --e-global-color-secondary );
    border-radius:50px;
    padding:3px 7px;
}

.upink-vr-info-close:hover, .upink-vr-hotspot-button:focus{
    background-color: var( --e-global-color-secondary );
    color:#000;
}

.upink-vr-hotspot-button {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap:0;
    padding:0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color:#000;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);

    /* 🔥 supprime tout lissage */
    transition: none !important;

    /* 🔥 évite les micro-lags */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    vertical-align: center;
}

.upink-vr-hotspot-button:hover, .upink-vr-hotspot-button:focus{
    background-color:transparent;
}

.upink-vr-hotspot-ping {
    position: relative;
    width: 26px;
    height: 26px;
    display: inline-block;
/*    display: inline-block;
    border-radius: 50%;
    background: #111;
    margin-right:5px;*/
}
.upink-vr-hotspot-ping::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 26px;
    height: 26px;

    background-image: url('/wp-content/themes/hello-theme-child-master/assets/up_ink-favicon.png');
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 6px;
    pointer-events: none;

    animation: whitePulse 2s infinite;
}

.upink-vr-scenes-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.upink-vr-scene-nav-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #ececec;
    cursor: pointer;
}

.upink-vr-scene-nav-button.is-active {
    background: #111;
    color: #fff;
}

.upink-vr-error {
    padding: 16px;
    border-radius: 12px;
    background: #fff2f2;
    color: #8a1f11;
}

.upink-vr-hotspot-label {
    display: none;
}

@media (max-width: 767px) {
    .upink-vr-viewer {
        border-radius: 16px;
    }

    .upink-vr-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
