/* 短页面时页脚贴底，避免视口下方大片空白 */
.max_box {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.box_contents,
.cat-products-page {
    flex: 1 0 auto;
}

.cat-products-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding-top: var(--site-nav-height, 50px);
}

.cat-products-main {
    flex: 1 0 auto;
}

.site-footer {
    background-color: #eaeaea;
    color: #000;
    text-align: center;
    margin-top: 30px;
    flex-shrink: 0;
}

.site-footer a {
    text-decoration: none;
}

.footer-guarantees {
    padding: 30px 0;
    width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.footer-guarantee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #444;
}

.footer-copyright {
    padding: 30px 0;
    color: #999;
    border-top: 1px solid #ddd;
}

.footer-copyright a {
    color: #999;
}

@media screen and (max-width: 768px) {
    .site-footer {
        margin-top: 20px;
        padding: 0;
    }

    .footer-guarantees {
        width: 100%;
        padding: 15px 10px;
        flex-direction: column;
        gap: 12px;
        box-sizing: border-box;
    }

    .footer-guarantee-item {
        font-size: 13px;
        gap: 6px;
        width: 100%;
        justify-content: flex-start;
        padding: 8px 0;
    }

    .footer-guarantee-item img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .footer-copyright {
        padding: 15px 10px;
        font-size: 11px;
        line-height: 1.6;
    }

    .footer-copyright span {
        display: block;
        margin-bottom: 8px;
    }

    .footer-copyright img {
        width: 14px;
        height: 14px;
        vertical-align: middle;
        margin: 0 4px;
    }

    .footer-copyright a {
        font-size: 11px;
        display: inline-block;
        word-break: break-all;
    }
}
