/* ========================================
   360° View - Native Fotorama Overlay
   ======================================== */

/* 360 Viewer overlays the Fotorama stage when active */
.product-360-view-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: #fff;
    display: none;
}

.product-360-container {
    position: relative;
    overflow: hidden;
    cursor: grab;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.product-360-container:active {
    cursor: grabbing;
}

.product-360-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: 0 auto;
    pointer-events: none;
    object-fit: contain;
}

/* Drag Indicator */
.product-360-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0.85;
    white-space: nowrap;
}

.product-360-indicator .icon-360 {
    font-size: 16px;
    animation: spin360hint 2.5s ease-in-out infinite;
}

@keyframes spin360hint {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}
