.view-360-section {
    padding: 0 15px;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}

.view-360-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #000;
}

.swipe-badge {
    display: inline-block;
    background-color: #5b8ab8;
    color: #fff;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.viewer-container {
    position: relative;
    width: 280px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.product-360-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.product-360-img.active {
    opacity: 1;
}

.orbit-path {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    width: 350px;
    height: 350px;
    border: 3px solid #000;
    border-radius: 50%;
    z-index: 1;
    border-bottom-color: rgba(0,0,0,0.1);
    border-left-color: #000;
    border-right-color: #000;
    border-top-color: #000;
}

.merged-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: inline-flex;
    align-items: center;

    background-color: #000;
    border-radius: 30px;
    padding: 4px 8px;

    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-btn {
    cursor: pointer;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-btn:hover {
    opacity: 1;
}

@media (max-width: 450px) {
    .merged-nav {
        top: 65%;
        padding: 3px 6px;
    }

    .nav-btn svg {
        width: 8px;
        height: 14px;
    }

    .nav-btn {
        padding: 5px 10px;
    }
}

@media (max-width: 700px) {
    .view-360-title {
        font-size: 26px;
    }

    .swipe-badge {
        font-size: 16px;
    }
}