﻿/******************悬浮导航********************/
.float-box {
    position: fixed;
    right: 10px;
    top: 20vh;
    width: 58px;
    height: 272px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 23px 0;
    z-index: 99;
}

    .float-box img {
        max-width: 24px;
        max-height: 24px;
    }

.float-item {
    position: relative;
    left: -20px;
    padding-left: 40px;
    cursor: pointer;
}

    .float-item .popup-content {
        display: none;
        position: absolute;
        left: -170px;
        top: -20px;
        width: 180px;
        height: 213px;
        border-radius: 8px;
        padding: 25px;
        background-color: rgba(255, 255, 255, 1);
        text-align: center;
        box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
    }

    .float-item .apply-download {
        /*left: -315px;
        width: 325px;*/
        left: -180px;
        width: 190px;
        height: 205px;
    }

        .float-item .apply-download .apply-download-item {
            float: left;
            width: 138px;
        }

            .float-item .apply-download .apply-download-item img {
                width: 90px;
                height: 90px;
            }

            .float-item .apply-download .apply-download-item .text {
                color: #999;
                font-size: 14px;
                padding-top: 8px;
            }

    .float-item:hover .popup-content {
        display: block
    }

    .float-item .popup-content span, .float-item .apply-download .apply-download-item .title {
        color: #101010;
        font-size: 16px;
        text-align: center;
        font-weight: 600;
    }

    .float-item .popup-content img {
        width: 130px;
        height: 130px;
        max-width: 130px;
        max-height: 130px;
        margin-top: 15px;
    }

    .float-item .cart-img {
        position: relative;
    }

        .float-item .cart-img .totle {
            position: absolute;
            left: 10px;
            top: -10px;
            border-radius: 50px;
            min-width: 20px;
            min-height: 20px;
            background: var(--main-color);
            color: #fff;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .float-item .cart-img .ornaments {
            position: absolute;
            left: 2px;
            top: 10px;
            width: 18px;
            height: 10px;
            line-height: 20px;
            text-align: center;
            border-radius: 50%;
            background-color: rgba(255, 70, 72, 0.22);
        }
