ul > li {
    list-style: none;
}

.box-left-fl5-title {
    font-family: PingFang SC;
    font-size: 17.5008px;
    font-weight: 500;
    line-height: 24.5008px;
    color: #3d534e;
    margin-top: 26px;
    margin-bottom: 6px;
}

.box-left-fl5-title[data-toggle="desktop-accordion"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.box-left-fl5-title .accordion-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: #818b9c;
    flex-shrink: 0;
}

.box-left-fl5-title .accordion-arrow.open {
    transform: rotate(180deg);
}

.box-left-fl5-body {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.box-left-fl5-body:not(.open) {
    max-height: 0;
}

/* 复选框 label 可点击 */
.form-check-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #818b9c;
    font-size: 17.5008px;
    font-family: PingFang SC;
    line-height: 28px;
    transition: color 0.2s ease;
}

/* 隐藏原生复选框，用自定义样式替代 */
.form-check-input.checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    border: 1.5px solid #c3cdc9;
    border-radius: 5px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    outline: none;
}

.form-check-input.checkbox:hover {
    border-color: #789e96;
}

.form-check-input.checkbox:checked {
    background-color: #789e96;
    border-color: #789e96;
}

/* 选中状态的对勾（SVG 内嵌） */
.form-check-input.checkbox:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 11px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 选中时文字颜色加深 */
.form-check-label:has(.checkbox:checked) {
    color: #3d534e;
}

/* 兼容不支持 :has 的浏览器，直接给 item 激活态 */
.box-lfb-item:has(.checkbox:checked) .form-check-label {
    color: #3d534e;
}

/* 体积双滑块 noUiSlider */
.volume-values {
    font-family: Futura PT;
    font-size: 15px;
    color: #3d534e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-slider {
    margin: 8px 8px 0;
}

.noUi-target {
    background: #e4e9ee;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    height: 4px;
}

.noUi-connect {
    background: #789e96;
}

.noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3d534e;
    border: none;
    box-shadow: none;
    cursor: pointer;
    top: -8px;
    right: -9px;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

.content {
    background: #ffffff;

    .box {
        margin: 0 auto;
        width: 100%;
        padding-top: 179px;
        box-sizing: border-box;
        display: flex;
        flex-grow: 0;

        .box-left {
            width: 580px;
            flex-shrink: 0;
            height: 100%;
            border: 1px solid #789e96;
            margin-right: 23px;
            padding: 26px 25px 77px 25px;
            border-radius: 10px;
        }

        .box-left-fl1 {
            font-family: Futura PT;
            font-size: 21.88px;
            line-height: 30.6208px;
            color: #3d534e;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .filter-reset {
                font-family: Futura PT;
                font-size: 14px;
                color: #789e96;
                text-decoration: none;
                cursor: pointer;

                &:hover {
                    color: #3d534e;
                }
            }
        }

        .box-left-fl2 {
            width: 100%;
            border: 1px solid #e4e9ee;
            margin: 17px 0;
        }

        .box-left-fl3 {
            font-family: "PingFang SC";
            font-size: 17.5008px;
            font-weight: 500;
            line-height: 24.5008px;
            color: rgb(61, 83, 78);
            margin-top: 26px;
            margin-bottom: 10px;
        }

        .box-left-fl4 {
            display: flex;
            border: 13.1296px;

            .btn {
                width: 234px;
                height: 48px;
                font-size: 17.5008px;
                font-family: PingFang SC;
                line-height: 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 1px solid #e4e9ee;
                box-sizing: border-box;
            }

            .box-left-fl4-b1 {
                border-radius: 13.1296px 0 0 13.1296px;
                background-color: #ffffff;
                color: #3d534e;
            }

            .clickbg {
                background-color: #d4ede2 !important;
            }

            .box-left-fl4-b2 {
                border-radius: 0 13.1296px 13.1296px 0;
                background-color: #ffffff;
                color: #3d534e;
            }
        }

        .box-left-fl5 {
            .box-left-fl5-bottom {
                margin-top: 15px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;

                .box-lfb-item {
                    margin-bottom: 13px;
                    width: 45%;
                    color: #818b9c;
                    font-size: 17.5008px;
                    font-family: PingFang SC;
                    line-height: 28px;
                    white-space: nowrap;
                    overflow: hidden;
                }
            }
        }

        .box-left-fl6 {
            .blf-t {
                font-family: PingFang SC;
                font-size: 17.5008px;
                font-weight: 400;
                line-height: 24.5008px;
                letter-spacing: -0.2192px;
                color: #3d534e;
            }
        }

        .box-right {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
            width: 100%;
            flex: 1;
            align-content: start;

            .box-right-box {
                width: 100%;

                a {
                    text-decoration: none;
                }
            }

            .box-right-item {
                display: flex;
                flex-direction: column;
                background-color: #fff;
                border-radius: 12px;
                border: 1px solid #e4e9ee;
                box-sizing: border-box;
                overflow: hidden;
                transition:
                    transform 0.3s ease,
                    box-shadow 0.3s ease;

                &:hover {
                    transform: translateY(-4px);
                    box-shadow: 0 8px 24px rgba(61, 83, 78, 0.1);
                    border-color: #789e96;

                    .box-right-item-img {
                        transform: scale(1.05);
                    }

                    .box-right-item-info {
                        background-color: #d4ede2;
                    }
                }

                .box-right-item-img-wrap {
                    width: 100%;
                    aspect-ratio: 1 / 1;
                    overflow: hidden;
                    background-color: #fafafa;
                }

                .box-right-item-img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.4s ease;
                    display: block;
                }

                .box-right-item-info {
                    padding: 18px 20px 20px;
                    background-color: #f9f8f2;
                    transition: background-color 0.3s ease;
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                }

                .box-right-item-name {
                    font-family: PingFang SC;
                    font-size: 16px;
                    font-weight: 600;
                    line-height: 1.4;
                    color: #3d534e;
                    margin: 0;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

                .box-right-item-name-en {
                    font-family: Futura PT;
                    font-size: 14px;
                    line-height: 1.3;
                    color: #789e96;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    margin-bottom: 6px;
                }

                .box-right-item-meta {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    margin-top: auto;
                    padding-top: 10px;
                    border-top: 1px solid #e4e9ee;
                }

                .box-right-item-volume {
                    display: inline-flex;
                    align-items: center;
                    gap: 4px;
                    font-family: Futura PT;
                    font-size: 13px;
                    color: #3d534e;
                    background: #ffffff;
                    padding: 2px 10px;
                    border-radius: 4px;
                    border: 1px solid #e4e9ee;
                }

                .box-right-item-volume::before {
                    content: "";
                    width: 12px;
                    height: 12px;
                    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233D534E'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E")
                        no-repeat center;
                    background-size: contain;
                    display: inline-block;
                    flex-shrink: 0;
                }
            }
        }
    }

    .sorter {
        margin: 80px 0 160px;
        list-style: none;
        color: #3d534e;
        font-size: 17.5008px;
        display: flex;
        justify-content: center;

        .page {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;

            .pageg-item1,
            .pageg-item2 {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 38px;
                height: 38px;
                border-radius: 50%;
                border: 1px solid #e5e5e5;
                transition: all 0.25s ease;

                a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 100%;
                    height: 100%;
                    text-decoration: none;
                }

                &:hover:not(.disabled) {
                    background: #d4ede2;
                    border-color: #789e96;
                }
            }

            .pageg-items {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 38px;
                height: 38px;
                border-radius: 50%;
                border: 1px solid #e5e5e5;
                transition: all 0.25s ease;

                a {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    height: 100%;
                    text-decoration: none;
                    color: #3d534e;
                    font-size: 16px;
                    font-family: Futura PT;
                }

                &:hover {
                    background: #edf6f2;
                    border-color: #789e96;
                }
            }

            .pageg-ellipsis {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 28px;
                height: 38px;
                color: #789e96;
                user-select: none;
                pointer-events: none;

                span {
                    font-size: 18px;
                    line-height: 1;
                    letter-spacing: 1px;
                }
            }

            .clickpage {
                background: #d4ede2;
                border-color: #789e96;

                a {
                    color: #3d534e;
                    font-weight: 600;
                }

                &:hover {
                    background: #d4ede2;
                }
            }

            .pageg-item1.disabled,
            .pageg-item2.disabled {
                opacity: 0.3;
                cursor: not-allowed;
                pointer-events: none;
            }
        }
    }
}

@media (min-width: 768px) {
    .showphone {
        display: none;
    }
    .show-box {
        display: none;
    }
    .box-right-show {
        display: none;
    }
}

.box-left.sticky {
    position: sticky;
    top: 90px;
    align-self: flex-start;
    height: auto;
}

.content {
    min-height: calc(100vh - 289px);
}

.catalog-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background-color: #fff;
    border: 1px solid #e4e9ee;
    border-radius: 12px;
}

.catalog-empty-icon {
    margin-bottom: 24px;
}

.catalog-empty-title {
    font-family: PingFang SC;
    font-size: 22px;
    font-weight: 600;
    color: #3d534e;
    margin: 0 0 12px;
}

.catalog-empty-text {
    font-family: Futura PT;
    font-size: 15px;
    line-height: 1.6;
    color: #8a9b96;
    margin: 0 0 24px;
    max-width: 360px;
}

.catalog-empty-btn {
    display: inline-block;
    font-family: Futura PT;
    font-size: 15px;
    font-weight: 600;
    background: #789e96;
    color: #f3f1e0 !important;
    padding: 12px 36px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-empty-btn:hover {
    background: #688a82;
}

@media (max-width: 768px) {
    .show-box {
        display: block;
    }
    .box-right {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .top {
        display: none;
    }

    .box-right-box {
        width: 100%;
    }

    .box-left {
        display: none;
    }

    .content {
        background: #ffffff;

        .showvolume {
            display: none;
        }

        .box {
            margin: 0 auto;
            padding-top: 150px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;

            .box-right-show {
                display: flex;
                gap: 15px;
                margin-bottom: 20px;

                .box-right-show-img {
                    width: 25px;
                    height: 25px;
                }

                .box-right-show-t {
                    font-size: 20px;
                }
            }
        }

        .sorter {
            margin: 50px 0 120px;
            list-style: none;
            color: #3d534e;
            font-size: 16px;
            display: flex;
            justify-content: center;

            .page {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                justify-content: center;
                gap: 7px;

                .pageg-item1,
                .pageg-item2 {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 36px;
                    height: 36px;
                    border-radius: 50%;
                    border: 1px solid #e5e5e5;
                    transition: all 0.25s ease;

                    a {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 100%;
                        height: 100%;
                        text-decoration: none;
                    }

                    &:hover:not(.disabled) {
                        background: #d4ede2;
                        border-color: #789e96;
                    }
                }

                .pageg-items {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 36px;
                    height: 36px;
                    border-radius: 50%;
                    border: 1px solid #e5e5e5;
                    transition: all 0.25s ease;

                    a {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 100%;
                        height: 100%;
                        text-decoration: none;
                        color: #3d534e;
                        font-size: 15px;
                        font-family: Futura PT;
                    }

                    &:hover {
                        background: #edf6f2;
                        border-color: #789e96;
                    }
                }

                .pageg-ellipsis {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 24px;
                    height: 36px;
                    color: #789e96;
                    user-select: none;
                    pointer-events: none;

                    span {
                        font-size: 16px;
                        line-height: 1;
                        letter-spacing: 1px;
                    }
                }

                .clickpage {
                    background: #d4ede2;
                    border-color: #789e96;

                    a {
                        color: #3d534e;
                        font-weight: 600;
                    }

                    &:hover {
                        background: #d4ede2;
                    }
                }

                .pageg-item1.disabled,
                .pageg-item2.disabled {
                    opacity: 0.3;
                    cursor: not-allowed;
                    pointer-events: none;
                }
            }
        }
    }

    /* ===== 移动端筛选器改进 ===== */

    #show-box.show-box {
        display: none;
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: hsla(0, 0%, 7%, 0.36);
        z-index: 9999;
        cursor: pointer;
    }

    #show-box.show-box #show-content.show-content {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 85%;
        max-width: 360px;
        background: #fff;
        height: 100%;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        cursor: default;
        display: flex;
        flex-direction: column;
    }

    #show-box.show-box #show-content.show-content::-webkit-scrollbar {
        width: 6px;
    }

    #show-box.show-box #show-content.show-content::-webkit-scrollbar-thumb {
        background-color: #c3c3c3;
        border-radius: 3px;
    }

    #show-box.show-box #show-content.show-content .show-box-img {
        display: none;
    }

    /* 抽屉顶部固定栏 */
    #show-box.show-box .mobile-filter-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #e4e9ee;
        flex-shrink: 0;
    }

    #show-box.show-box .mobile-filter-header .mh-title {
        font-family: Futura PT;
        font-size: 18px;
        font-weight: 600;
        color: #3d534e;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #show-box.show-box .mobile-filter-header .mh-actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    #show-box.show-box .mobile-filter-header .mh-reset {
        font-family: Futura PT;
        font-size: 14px;
        color: #789e96;
        text-decoration: none;
    }

    #show-box.show-box .mobile-filter-header .mh-close {
        width: 28px;
        height: 28px;
        cursor: pointer;
        opacity: 0.7;
    }

    #show-box.show-box .mobile-filter-header .mh-close:active {
        opacity: 1;
    }

    /* 分类标签区域 */
    #show-box.show-box .show-content-filters {
        padding: 0 0 24px;
        flex: 1;
    }

    #show-box.show-box .show-content-filters .box-left-fl1,
    #show-box.show-box .show-content-filters .box-left-fl2 {
        display: none;
    }

    #show-box.show-box .show-content-filters .box-left-fl3 {
        padding: 14px 20px 0;
        margin: 0 0 10px;
        font-size: 17px;
        color: #3d534e;
        font-weight: 500;
        font-family: "PingFang SC";
    }

    #show-box.show-box .show-content-filters .box-left-fl4 {
        padding: 8px 20px 4px;
        display: flex;
        gap: 16px;
    }

    #show-box.show-box .show-content-filters .box-left-fl4 .btn {
        flex: 1;
        width: auto;
        max-width: none;
        height: 54px;
        font-size: 17px;
        font-family: PingFang SC;
        font-weight: 500;
        border-radius: 12px;
        border: 1.5px solid #c3cdc9;
        background: #ffffff;
        color: #818b9c;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        transition: all 0.15s ease;
    }

    #show-box.show-box .show-content-filters .box-left-fl4 .btn:active {
        background: #f0f5f3;
        transform: scale(0.97);
    }

    #show-box.show-box .show-content-filters .box-left-fl4 .clickbg.btn {
        background: #d4ede2 !important;
        border-color: #789e96 !important;
        color: #3d534e !important;
        font-weight: 600;
    }

    /* 折叠面板 */
    #show-box.show-box .mobile-accordion {
        border-bottom: 1px solid #e4e9ee;
    }

    #show-box.show-box .mobile-accordion .ma-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    #show-box.show-box .mobile-accordion .ma-header .ma-title {
        font-family: PingFang SC;
        font-size: 16px;
        font-weight: 500;
        color: #3d534e;
    }

    #show-box.show-box .mobile-accordion .ma-header .ma-arrow {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
        color: #818b9c;
        flex-shrink: 0;
    }

    #show-box.show-box .mobile-accordion .ma-header .ma-arrow.open {
        transform: rotate(180deg);
    }

    #show-box.show-box .mobile-accordion .ma-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    #show-box.show-box .mobile-accordion .ma-body.open {
        max-height: 800px;
    }

    #show-box.show-box .mobile-accordion .ma-content {
        padding: 4px 20px 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #show-box.show-box .mobile-accordion .ma-content .box-lfb-item {
        width: 100%;
        margin-bottom: 0;
    }

    #show-box.show-box .mobile-accordion .ma-content .form-check-label {
        font-size: 15px;
        gap: 12px;
    }

    #show-box.show-box
        .mobile-accordion
        .ma-content
        .form-check-input.checkbox {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    /* 体积筛选区 */
    #show-box.show-box .volume-mobile {
        padding: 12px 20px 20px;
    }

    #show-box.show-box .volume-mobile .volume-input-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    #show-box.show-box .volume-mobile .volume-input-row input {
        flex: 1 1 0;
        min-width: 0;
        width: 0;
        height: 44px;
        padding: 0 12px;
        border: 1.5px solid #e4e9ee;
        border-radius: 8px;
        font-family: Futura PT;
        font-size: 15px;
        color: #3d534e;
        outline: none;
        text-align: center;
        background: #fff;
        -moz-appearance: textfield;
    }

    #show-box.show-box
        .volume-mobile
        .volume-input-row
        input::-webkit-inner-spin-button,
    #show-box.show-box
        .volume-mobile
        .volume-input-row
        input::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

    #show-box.show-box .volume-mobile .volume-input-row input:focus {
        border-color: #789e96;
    }

    #show-box.show-box .volume-mobile .volume-input-row .volume-sep {
        color: #818b9c;
        font-size: 16px;
        flex-shrink: 0;
    }

    #show-box.show-box .volume-mobile .volume-search-btn {
        width: 100%;
        height: 48px;
        background-color: #789e96;
        border-radius: 8px;
        font-family: Futura PT;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        text-align: center;
        line-height: 48px;
        border: none;
        letter-spacing: 0.1em;
        margin-top: 12px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    #show-box.show-box .volume-mobile .volume-search-btn:active {
        background-color: #5e7e77;
    }
}
