/* Renova 360° viewer — shared styles */
.r360 { position: relative; width: 100%; }
.r360-stage {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    background: #ffffff; border-radius: var(--r-radius-2xl, 16px);
    overflow: hidden; cursor: grab; user-select: none;
    touch-action: pan-y;
}
.r360.r360-grabbing .r360-stage { cursor: grabbing; }
.r360-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: contain; display: block;
    pointer-events: none; -webkit-user-drag: none;
    transition: opacity .06s linear;   /* quick cross-fade between frames — kills the decode flash */
}
.r360-img-back { opacity: 0; }
.r360-badge {
    position: absolute; top: 14px; right: 14px;
    background: rgba(20,17,12,.82); color: #fff;
    font-family: var(--r-font-body, sans-serif); font-size: .68rem; font-weight: 700;
    letter-spacing: .12em; padding: 5px 10px; border-radius: 999px;
    backdrop-filter: blur(6px); pointer-events: none;
}
.r360-hint {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(20,17,12,.78); color: #fff;
    font-family: var(--r-font-body, sans-serif); font-size: .76rem; font-weight: 500;
    letter-spacing: .02em; padding: 8px 14px; border-radius: 999px;
    backdrop-filter: blur(6px); pointer-events: none;
    transition: opacity .4s ease, transform .4s ease;
}
.r360-hint-ico { display: inline-flex; animation: r360spin 3.2s linear infinite; }
@keyframes r360spin { to { transform: rotate(360deg); } }
.r360-hint.r360-hide { opacity: 0; transform: translateX(-50%) translateY(8px); }
.r360-loader {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    background: #fff; transition: opacity .5s ease;
}
.r360-loader.r360-done { opacity: 0; pointer-events: none; }
.r360-loader-bar {
    width: 140px; height: 3px; background: rgba(20,17,12,.1);
    border-radius: 999px; overflow: hidden;
}
.r360-loader-bar i {
    display: block; height: 100%; width: 0%;
    background: var(--r-gold, #c9a044); transition: width .2s ease;
}
.r360-loader-pct {
    font-family: var(--r-font-body, sans-serif); font-size: .72rem;
    letter-spacing: .14em; color: var(--r-text-muted, #76695a);
}
