/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
    margin: 0px;
    overflow: hidden;
}

noscript {
    display: block;
    text-align: center;
    padding-top: 100px;
    font-size: 20px;
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

/* Premium 3D product annotations ----------------------------------------- */
.sn-annotations {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
    font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #fff;
}

.sn-annotations__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.sn-annotation-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    transition: opacity 450ms ease;
}

.sn-annotation-line--glow {
    stroke: rgba(255, 255, 255, 0.36);
    stroke-width: 4;
    filter: url(#sn-line-glow);
}

.sn-annotations.is-ready .sn-annotation-line.is-revealed {
    opacity: 1;
}

.sn-annotations.is-ready .sn-annotation-line.is-revealed.is-obscured {
    opacity: 0;
}

.sn-annotation-line.is-hidden {
    opacity: 0;
}

.sn-hotspot {
    --sn-delay: 0s;
    --sn-card-shift-y: 0px;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 380ms ease;
}

.sn-annotations.is-ready .sn-hotspot {
    opacity: 1;
    transition-delay: var(--sn-delay);
}

.sn-hotspot.is-obscured {
    opacity: 0;
    visibility: hidden;
    transition-delay: 0s;
}

.sn-hotspot.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.sn-hotspot.is-edge .sn-hotspot__pulse {
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 0 12px rgba(255, 255, 255, 0.26),
        0 0 18px rgba(255, 255, 255, 0.3);
}

.sn-hotspot.is-edge .sn-hotspot__card {
    opacity: 0;
}

.sn-hotspot__cursor {
    position: absolute;
    left: 0;
    top: 0;
    width: 92px;
    height: 92px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    outline: none;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    filter: drop-shadow(0 2px 8px rgba(1, 15, 31, 0.28));
}

.sn-hotspot__pulse,
.sn-hotspot__pulse::before,
.sn-hotspot__pulse::after,
.sn-hotspot__core {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.sn-hotspot__pulse {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 0 12px rgba(255, 255, 255, 0.22),
        0 0 14px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sn-hotspot__pulse::before,
.sn-hotspot__pulse::after {
    content: "";
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    animation: sn-hotspot-pulse 2.3s cubic-bezier(0.2, 0.65, 0.35, 1) infinite;
    animation-delay: var(--sn-delay);
}

.sn-hotspot__pulse::after {
    animation-delay: calc(var(--sn-delay) + 1.15s);
}

.sn-hotspot__core {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}

.sn-hotspot__cursor:hover .sn-hotspot__pulse,
.sn-hotspot.is-active .sn-hotspot__pulse {
    background: rgba(255, 255, 255, 0.24);
    box-shadow:
        inset 0 0 14px rgba(255, 255, 255, 0.34),
        0 0 22px rgba(255, 255, 255, 0.42);
}

.sn-hotspot__cursor:focus-visible .sn-hotspot__pulse {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 4px;
}

.sn-hotspot__card {
    position: absolute;
    top: calc(-37px + var(--sn-card-shift-y));
    width: 278px;
    min-height: 92px;
    box-sizing: border-box;
    padding: 15px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
        rgba(6, 22, 42, 0.58);
    box-shadow:
        0 16px 46px rgba(2, 13, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.92);
    transform-origin: center;
    transition:
        opacity 300ms ease,
        transform 460ms cubic-bezier(0.16, 1, 0.3, 1),
        background 250ms ease;
    transition-delay: calc(var(--sn-delay) + 120ms);
}

.sn-hotspot.card-right .sn-hotspot__card {
    left: 46px;
}

.sn-hotspot.card-left .sn-hotspot__card {
    right: 46px;
}

.sn-annotations.is-ready .sn-hotspot__card {
    opacity: 0;
    transform: translateY(4px) scale(0.97);
}

.sn-hotspot.is-active .sn-hotspot__card {
    opacity: 1;
    pointer-events: auto;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
        rgba(10, 26, 46, 0.54);
    transform: translateY(-2px) scale(1);
    transition-delay: 0s;
}

.sn-hotspot__eyebrow,
.sn-hotspot__title,
.sn-hotspot__description {
    display: block;
}

.sn-hotspot__eyebrow {
    margin-bottom: 6px;
    overflow: hidden;
    color: rgba(156, 225, 255, 0.86);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sn-hotspot__title {
    color: rgba(255, 255, 255, 0.98);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 8px rgba(1, 15, 31, 0.25);
}

.sn-hotspot__description {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.03em;
}

@keyframes sn-hotspot-pulse {
    0% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(0.72);
    }
    72%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.05);
    }
}

@media (max-width: 720px) {
    .sn-hotspot__cursor {
        width: 58px;
        height: 58px;
    }

    .sn-hotspot__card {
        top: calc(-30px + var(--sn-card-shift-y));
        width: 224px;
        min-height: 72px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .sn-hotspot.card-right .sn-hotspot__card {
        left: 40px;
    }

    .sn-hotspot.card-left .sn-hotspot__card {
        right: 40px;
    }

    .sn-hotspot__title {
        font-size: 14px;
    }

    .sn-hotspot__description {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sn-hotspot__pulse::before,
    .sn-hotspot__pulse::after {
        animation: none;
    }

    .sn-hotspot,
    .sn-hotspot__card,
    .sn-annotation-line {
        transition-duration: 1ms;
    }
}
