footer {
    background: var(--panel-3);
    margin-top: 50px;
}

footer .footer-content {
    display: flex;
    padding: 50px 0 25px 0;
    text-align: center;
    position: relative;
    width: min(100% - 24px, var(--container));
    margin: auto;
}

/* 移动端底部固定导航与微信弹窗样式 */
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background: var(--panel-3);
    border-top: none; /* 与底部背景统一，不使用浅色边框 */
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding: 8px 6px;
    font-size: 14px;
    height: 56px;
}
.mobile-bottom-nav .mobile-nav-item:active {
    background: rgba(255,255,255,0.12);
}

.mobile-bottom-nav .mobile-nav-item i {
    display: block;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 4px;
}
.mobile-bottom-nav .mobile-nav-item .label {
    display: block;
    font-size: 12px;
}

.wechat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.wechat-modal.show { display: flex; }
.wechat-modal .wechat-modal-content {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wechat-modal .wechat-modal-content img {
    width: 70vw;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}
.wechat-modal .close {
    margin-top: 12px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 640px) {
    .mobile-bottom-nav { display: flex; }
}

footer .footer-content:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: calc(50% - var(--container) / 2);
    height: 1px;
    width: min(100% - 24px, var(--container));
    background: #707070;
}

footer .footer-content .options {
    flex: 1;
    text-align: left;
}

footer .footer-content .options .options-title {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

footer .footer-content .options .options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-content .options .options-list li {
    font-size: 13px;
    line-height: 25px;
    color: var(--text-sub);
    cursor: default;
}

footer .footer-content .concat {
    flex: 2;
}

footer .footer-content .concat .concat-phone {
    font-size: 45px;
    display: block;
    margin-bottom: 5px;
}

footer .footer-content .concat .concat-phone-msg {
    font-size: 12px;
}

footer .footer-copyright {
    text-align: center;
    padding: 20px 0 20px 0;
    font-size: 13px;
    color: #707070;
}

@media (max-width: 640px) {

    footer .footer-content {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* 一行四组 */
        gap: 12px;
        align-items: start;
    }

    /* 四组内容整体居中 */
    footer .footer-content .options {
        text-align: center;
        margin-bottom: 12px;
    }

    footer .footer-content .concat {
        margin-top: 16px;
        grid-column: 1 / -1; /* 联系方式整行展示 */
        text-align: center;
    }

    footer .footer-content .concat .options-title {
        margin-left: 0;
        margin-bottom: 12px;
    }


}