.main-footer {
    margin-top: 20px;
    background: rgba(248, 248, 248, 0.5);
    padding: 20px 0;
    color: #999;
    border-top: 1px solid #eee;
    font-size: 12px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-brand-text {
    font-weight: 700;
    color: #4C7D71;
    font-size: 13px;
}

.copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.copyright a {
    color: #999;
    transition: color 0.2s;
}

.copyright .icp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copyright .icp-link img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: inline-block;
}

.copyright a:hover {
    color: #4C7D71;
    text-decoration: none;
}

.divider {
    color: #eee;
    margin: 0 2px;
    font-size: 10px;
}

.fk-global-pull-refresh-indicator {
    display: none;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 15px 0 70px;
    }

    .copyright {
        flex-direction: column;
        gap: 2px;
    }

    .divider {
        display: none;
    }

    html,
    body {
        overscroll-behavior-y: none;
    }

    .fk-global-pull-refresh-indicator {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 8px);
        left: 50%;
        width: 42px;
        height: 42px;
        padding: 0;
        box-sizing: border-box;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96);
        color: var(--theme-primary, #2196F3);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
        border: 1px solid rgba(226, 232, 240, 0.96);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1005;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(-50%, -22px, 0) scale(0.8);
        transition: opacity 0.18s ease, transform 0.18s cubic-bezier(.22, .61, .36, 1);
        will-change: transform, opacity;
    }

    .fk-global-pull-refresh-indicator i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 1;
        font-style: normal;
    }

    .fk-global-pull-refresh-indicator i::before {
        display: block;
        line-height: 1;
        transition: transform 0.2s ease;
        transform-origin: center center;
        will-change: transform;
    }

    .fk-global-pull-refresh-indicator.is-visible {
        opacity: 1;
    }

    .fk-global-pull-refresh-indicator.is-ready i::before {
        transform: rotate(180deg);
    }

    .fk-global-pull-refresh-indicator.is-refreshing {
        opacity: 1;
    }

    .fk-global-pull-refresh-indicator.is-refreshing i::before {
        animation: fkGlobalPullRefreshSpin 0.75s linear infinite;
    }
}

@keyframes fkGlobalPullRefreshSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.jbj-desktop-footer {
    margin-top: 32px;
    color: #a3a7ad;
    background: #252525;
}

.jbj-footer-inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.jbj-footer-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 34px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    gap: 28px;
}

.jbj-footer-feature {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.jbj-footer-feature > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #f1f3f5;
    border: 1px solid rgba(241, 243, 245, .78);
    border-radius: 50%;
    font-size: 19px;
}

.jbj-footer-feature h2,
.jbj-footer-column h2,
.jbj-footer-follow h2 {
    margin: 0;
    color: #f4f5f6;
    font-size: 14px;
    font-weight: 600;
}

.jbj-footer-feature p,
.jbj-footer-column p {
    margin: 6px 0 0;
    color: #777d85;
    font-size: 12px;
    line-height: 1.7;
}

.jbj-footer-content {
    display: flex;
    justify-content: space-between;
    padding: 38px 0;
    gap: 64px;
}

.jbj-footer-columns {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 48px;
}

.jbj-footer-links {
    display: grid;
    padding: 0;
    margin: 6px 0 0;
    list-style: none;
    gap: 5px;
}

.jbj-footer-links li,
.jbj-footer-links a,
.jbj-footer-links span {
    color: #777d85;
    font-size: 12px;
    line-height: 1.7;
}

.jbj-footer-links a:hover,
.jbj-footer-links a:focus-visible {
    color: #71acf9;
}

.jbj-footer-follow {
    flex: 0 0 auto;
    min-width: 190px;
}

.jbj-footer-follow h2 {
    margin-bottom: 14px;
}

.jbj-footer-qr-list {
    display: flex;
    gap: 12px;
}

.jbj-footer-qr-list figure {
    margin: 0;
    text-align: center;
}

.jbj-footer-qr-list img {
    display: block;
    width: 74px;
    height: 74px;
    padding: 3px;
    background: #fff;
    object-fit: cover;
}

.jbj-footer-qr-list figcaption {
    margin-top: 6px;
    color: #777d85;
    font-size: 12px;
}

.jbj-footer-legal {
    padding: 16px 0;
    color: #70757d;
    background: #1d1d1d;
    font-size: 12px;
}

.jbj-footer-legal .jbj-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.jbj-footer-legal a {
    color: inherit;
}

.jbj-footer-icp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jbj-footer-icp img {
    display: block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    object-fit: contain;
}

/* ========== v3.21 页脚聚比价三段式（品牌信息 + 链接列 / 资质徽章 / 备案 legal） ========== */
.jbj-footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(auto-fit, minmax(132px, 1fr));
    padding: 40px 0 34px;
    gap: 30px 34px;
}

.jbj-footer-brand { min-width: 0; }

.jbj-footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.jbj-footer-logo img {
    display: block;
    width: auto;
    max-width: 168px;
    max-height: 46px;
    object-fit: contain;
}

.jbj-footer-brand-name {
    margin: 0;
    color: #f4f5f6;
    font-size: 16px;
    font-weight: 600;
}

.jbj-footer-brand-desc {
    margin: 9px 0 0;
    max-width: 330px;
    color: #777d85;
    font-size: 12px;
    line-height: 1.8;
}

/* v3.22 底部 IP 形象（透明底电电喵，悬浮动效） */
.jbj-footer-ip {
    display: inline-block;
    margin-bottom: 12px;
    animation: jbjFooterFloat 3.2s ease-in-out infinite;
}
.jbj-footer-ip img {
    display: block;
    width: 72px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .38));
}
@keyframes jbjFooterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
    .jbj-footer-ip { animation: none; }
}

.jbj-footer-brand-tags {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
    gap: 8px;
}

.jbj-footer-brand-tags li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    color: #b9bec6;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    font-size: 12px;
}

.jbj-footer-brand-tags li i { color: #71acf9; }

.jbj-footer-column { min-width: 0; }

.jbj-footer-column h2 { margin-bottom: 12px; }

.jbj-footer-badges { border-top: 1px solid rgba(255, 255, 255, .08); }

.jbj-footer-badges .jbj-footer-inner {
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 22px;
}

.jbj-footer-badges-label {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    color: #b9bec6;
    font-size: 13px;
    white-space: nowrap;
}

.jbj-footer-badges-label i { color: #f1c96b; font-size: 16px; }

.jbj-footer-badges-row {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.jbj-footer-badges-row::-webkit-scrollbar { display: none; }

.jbj-footer-badge {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 5px 10px;
    background: rgba(255, 255, 255, .94);
    border-radius: 8px;
    gap: 8px;
    transition: transform .22s ease;
}

.jbj-footer-badge:hover { transform: translateY(-2px); }

.jbj-footer-badge img {
    display: block;
    width: auto;
    height: 38px;
    max-width: 64px;
    object-fit: contain;
}

.jbj-footer-badge figcaption {
    color: #46505f;
    font-size: 12px;
    white-space: nowrap;
}

.jbj-footer-legal .jbj-footer-inner { align-items: center; }

.jbj-footer-gongan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jbj-footer-gongan i { font-size: 13px; }

@media (max-width: 768px) {
    .jbj-goods-detail-page > .jbj-header,
    .jbj-body .main-footer,
    .jbj-desktop-footer {
        display: none;
    }

    /* v3.21 门面页（landing）手机端页脚：由 landing.css 解除 display:none 后按此布局展示 */
    .jbj-footer-inner { width: calc(100% - 32px); }
    .jbj-footer-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 24px 0 20px;
        gap: 18px;
    }
    .jbj-footer-feature > i { flex: 0 0 36px; width: 36px; height: 36px; font-size: 16px; }
    .jbj-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 28px 0 22px;
        gap: 22px 18px;
    }
    .jbj-footer-brand { grid-column: 1 / -1; }
    .jbj-footer-brand-desc { max-width: none; }
    .jbj-footer-brand-tags li { padding: 4px 9px; font-size: 11px; }
    .jbj-footer-badges .jbj-footer-inner {
        flex-direction: column;
