.footer {
    width: 100%;
    background: #000000;
    font-family: 微软雅黑;
}

.top {
    border-bottom: 1px solid rgb(43, 43, 43);
    padding: 2.08333vw 5.22466% 2.60417vw;
    box-sizing: border-box;

    .top_container {
        .logo {
            width: 50%;

            div {
                min-height: 30px;
                min-width: 30px;
                margin: 0.679206vw 64.6441% 0vw 0%;
                box-sizing: border-box;

                img {
                    width: 100%;
                }
            }

        }

        .search {
            width: 50%;

            div {
                min-height: 30px;
                min-width: 120px;
                margin: 1.30617vw 2.80047% 0vw 34.0723%;

                input {
                    height: 60px;
                    min-height: 44px;
                    width: 100%;
                }
            }
        }
    }
}

.middle {
    padding: 2.34375vw 5.22466% 3.125vw;
    font-size: 16px;
    color: #5b5a5b;
    display: flex;

    .imgLogo {
        width: auto;
        height: 100px;
        display: inline-block;
        padding-right: 40px;

        img {
            width: auto;
            height: 100%;
        }
    }

    .middle_container {
        flex: 1;
        flex-shrink: 0;

        .title {
            width: 100%;
            color: #ffffff;
            line-height: 1.5;
        }

        .about_us {
            width: 50%;

            .desc {
                margin: 0.522466vw 21.7664% 0vw 0%;
                min-height: 30px;
                line-height: 2;
            }

        }

        .contact_us,
        .product_category {
            width: 16.66%;

            .category {
                margin: 0.522466vw 0% 0vw;

                div {
                    line-height: 2;
                }
            }
        }

        .contact_us {
            width: 33.33%;
            font-size: 14px;
            padding-left: 120px;

            .category {
                div {
                    height: 32px;
                    line-height: 32px;
                }
            }
        }

    }
}

.bottom {
    padding: 0.520833vw 12.4%;

    .bottom_container {
        width: 100%;
        padding: 12px 0px;

        div {
            width: 100%;
            text-align: center;
            font-size: 12px;
            color: #999999;
        }
    }

}

.qrcode-trigger {
    position: fixed;
    bottom: 115px;
    right: 21px;
    z-index: 1000;
    width: 45px;
}

.link {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
    background: #fff;
    color: #1e50ae;
}

.qrcode-icon {
    padding: 10px 0;
}

.qrcode-link {
    height: 45px;
    padding: 12px 9px 0 9px;
    border-radius: 4px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    width: 45px;
    background: #FFFFFF;
    position: relative;

    img {
        width: 22px;
        height: 22px;
    }


}

.qrcode-link:after {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    /*background-image: url(/site/img/aside.png);*/
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 500px;
    content: "";
    background-position: -152px 0;

}

/* 悬停弹出的二维码卡片 */
.qrcode-popup {
    position: absolute;
    right: 0; /* 让卡片出现在触发元素的左侧 */
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: none;
    z-index: 100;
    text-align: center;
    width: 150px;
    transform: translateX(calc(-100% - 16px)) scale(1);
    top: auto;
    bottom: 0;
    left: 0; /* 替换原来的 right: 120% */
    opacity: 0;
    border-radius: 4px;
}

/* 悬停时显示卡片 */
.qrcode-trigger:hover .qrcode-popup {
    display: block;
    animation: qrPopup 0.2s ease-out forwards;
    pointer-events: auto;
}

/* 二维码标题 */
.qrcode-popup .title {
    font-size: 14px;
    color: #333;
    padding-bottom: 5px;
}

/* 二维码图片 */
.qrcode-popup img {
    width: 100px;
    height: 100px;
}

/* 扫码提示文字 */
.qrcode-popup .tip {
    font-size: 12px;
    color: #666;
}

/* 电话栏样式 */
.qrcode-popup .phone {
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 12px;
    color: #111111;
    text-align: left;
    line-height: 22px;
    transform: translateX(-3px);
}

.qrcode-popup .phone-icon {
    background-image: url(/site/img/aside.png);
    display: inline-block;
    background-repeat: no-repeat;
    content: "";

    width: 50px;
    height: 50px;
    background-size: 500px; /* 背景图缩放为500px宽 */
    background-position: -200px 0;
}

@keyframes qrPopup {
    0% {
        opacity: 0;
        transform: translateX(calc(-100% - 16px)) scale(.95);
    }
    100% {
        opacity: 1;
        transform: translateX(calc(-100% - 16px)) scale(1);
    }
}

/* 屏幕宽度小于768px */
@media (max-width: 768px) {
    .qrcode-trigger {
        bottom: 50px;
        zoom: 0.74;
    }

    .top {
        margin-top: 20px;
        padding: 0;
        border-bottom: none;
        box-sizing: border-box;

        .top_container {
            width: 100%;
            display: block;

            .logo {
                width: 100%;
                padding: 1.31373vw 3.733% 0vw;
                text-align: center;

                div {
                    margin: 0 auto;
                    box-sizing: border-box;

                    img {
                        margin: 0 auto;
                        line-height: 1.5;
                        height: 63px;
                        width: auto;
                    }
                }

            }

            .search {
                height: 54px;
                line-height: 54px;
                width: 100%;

                div {
                    margin: 0vw 1.733%;;

                    input {
                        height: 42px;
                    }
                }
            }
        }
    }

    .middle {
        padding: 0;
        font-size: 14px;
        display: block;

        .imgLogo {
            display: none;
        }

        .middle_container {
            flex-direction: column;

            .title {
                padding: 1.32067vw 3.733% 0.660337vw;
            }

            .about_us {
                width: 100%;

                .desc {
                    margin: 0vw 3.733% 0.660337vw;
                    line-height: 1.5;
                }

            }

            .product_category {
                width: 100%;

                .category {
                    margin: 0vw 3.733% 0.660337vw;
                }
            }

            .contact_us {
                width: 100%;

                padding-left: 0px;

                .category {
                    margin: 0vw 3.733% 0.660337vw;

                    div {
                        font-size: 12px;
                        height: 28px;
                        line-height: 28px;
                    }
                }
            }

        }
    }

    .bottom {
        padding: 0.520833vw 12.4%;

        .bottom_container {
            width: 100%;
            padding: 12px 0px;

            div {
                width: 100%;
                text-align: center;
                font-size: 12px;
                color: #999999;
            }
        }

    }

}