.stomil360-wrapper {
    width: 100%;
    margin: 0 auto;
}

.stomil360-viewer {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.stomil360-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: grab;
}

.stomil360-canvas:active {
    cursor: grabbing;
}

.stomil360-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.05s linear;
    pointer-events: none;
}

.stomil360-frame.active {
    opacity: 1;
}

/* Hint w środku canvasa */
.stomil360-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.stomil360-hint svg {
    fill: #fff;
    flex-shrink: 0;
}

/* Pasek postępu */
.stomil360-progress {
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
}

.stomil360-progress-bar {
    height: 100%;
    background: #f0a800;
    width: 0%;
    transition: width 0.05s linear;
}

/* Viewer w modalu motywu (.stomil-props-modal) */
.stomil360-modal .stomil-props-modal-body {
    padding: 0;
}

.stomil360-modal .stomil360-wrapper {
    max-width: 100% !important;
}

.stomil360-modal .stomil360-canvas {
    aspect-ratio: 16 / 10;
    background: #fafafa;
}

.stomil360-modal-overlay {
    z-index: 999999;
}

/* Przycisk "Widok 3D" - dziedziczy styl po .stomil-ptr-tab-link motywu,
   tu tylko delikatne wyróżnienie ikony */
.stomil-360-trigger .stomil-tab-icon {
    color: inherit;
}
