/* pc端 自制 侧边下拉and输入框 筛选 */
/* 侧边栏 */
.Hui-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    left: 0;
    height: calc(100vh);
    width: 230px;
    padding: var(--Hui-padding) var(--ten);
    padding-top: 80px;
    background-color: #fff;
    z-index: 99;
    flex-shrink: 0;
}

.Hui-sidebar .Hui-titles {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.1rem;
}

.Hui-sidebar .Hui-titles img {
    width: var(--Hui-padding);
    object-fit: contain;
}

.Hui-sidebar .Hui-titles span {
    font-size: 15px;
    font-weight: 700;
    color: #181818;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Hui-sidebar .Hui-search {
    display: flex;
    position: relative;
    margin-bottom: 0.1rem;
}

.Hui-sidebar .Hui-search input {
    border-radius: var(--borderRadius);
    -webkit-border-radius: var(--borderRadius);
    -moz-border-radius: var(--borderRadius);
    -ms-border-radius: var(--borderRadius);
    -o-border-radius: var(--borderRadius);
    border-color: rgb(220, 223, 230);
    height: 35px;
    padding-left: 35px;
}

.Hui-sidebar .Hui-search .Hui-buttonSearch {
    position: absolute;
    display: flex;
    top: 50%;
    transform: translateY(-50%);
    left: 0.1rem;
    cursor: pointer;
}

.Hui-sidebar .Hui-search .Hui-buttonSearch img {
    width: var(--Hui-padding);
    object-fit: contain;
}

.Hui-sidebar .Hui-search input::placeholder {
    font-size: 13px;
    letter-spacing: 2px;
}

.Hui-sidebar .Hui-search input:focus {
    border-color: #0056ff;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.Hui-sidebar .Hui-dropdown {
    background-color: #f9fafc;
    max-height: calc(100vh - 155px + 0.2rem);
    overflow-y: auto;
}

.Hui-sidebar .Hui-dropdown::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #fff;
}

/* 下拉标题 */
.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    height: 40px;
    padding: var(--ten);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    background-color: rgb(241 241 241 / 77%);
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle .Hui-nei {
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 90%;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle .Hui-pullButton {
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10%;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle .Hui-pullButton .Hui-reversal {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle .Hui-pullButton img {
    width: 15px;
    height: 15px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle:hover {
    background-color: #e6e6e6;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-MenuTitle img {
    width: 30px;
    flex-shrink: 0;
    height: var(--Hui-padding);
    object-fit: fill;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 5px 0;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows {
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item {
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #181818;
    height: 40px;
    padding: var(--ten) 20px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item img {
    width: 30px;
    flex-shrink: 0;
    height: var(--Hui-padding);
    object-fit: fill;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item .Hui-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item .Hui-text .Hui-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item .Hui-text .Hui-hot {
    font-size: 11px;
    background-color: crimson;
    color: #fff;
    padding: 0 5px;
    height: fit-content;
    max-width: 45px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item.Hui-itemRows-active {
    background-color: #f1f6fd;
    background-size: cover;
}

.height-transition-enter-active,
.height-transition-leave-active {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.height-transition-enter,
.height-transition-leave-to {
    height: 0 !important;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.Hui-sidebar .Hui-dropdown .Hui-MenuItem .Hui-mainParentElement .Hui-itemRows .Hui-item:hover {
    background-color: rgba(227, 230, 235, 0.56);
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

@media (min-width: 768px) {
    .Hui-mobileEndSidePull {
        display: none;
    }
}

/* 移动端 自制 侧边下拉and输入框 筛选 */
@media screen and (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
        tap-highlight-color: transparent;
    }

    .Hui-sidebar {
        display: none;
    }

    /* 输入框 筛选 */
    .Hui-mobileEndSidePull {
        position: sticky;
        width: 100%;
        padding: 4vw 5vw;
        top: 15vw;
        left: 0;
        z-index: 99;
        background-color: #fff;
        box-shadow: 0px 1px 20px 0px rgba(0, 0, 0, 0.05);
    }

    /* 搜索 - 筛选按钮 */

    .Hui-mobileEndSidePull .Hui-unplannedArea {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5vw;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-screen {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 6vw;
        height: 6vw;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-screen button {
        border: none;
        border-radius: var(--borderRadius);
        -webkit-border-radius: var(--borderRadius);
        -moz-border-radius: var(--borderRadius);
        -ms-border-radius: var(--borderRadius);
        -o-border-radius: var(--borderRadius);
        background-color: transparent;
        padding: 2vw;
        height: 10vw;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-screen button:active {
        background-color: rgb(247, 247, 247);
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-screen img {
        width: 6vw;
        height: 6vw;
        object-fit: contain;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-search {
        display: flex;
        position: relative;
        width: 100%;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-search input {
        border-radius: var(--borderRadius);
        -webkit-border-radius: var(--borderRadius);
        -moz-border-radius: var(--borderRadius);
        -ms-border-radius: var(--borderRadius);
        -o-border-radius: var(--borderRadius);
        background-color: rgb(247, 247, 247);
        height: 10vw;
        border: none;
        padding-left: 35px;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-search .Hui-buttonSearch {
        position: absolute;
        display: flex;
        top: 50%;
        transform: translateY(-50%);
        left: 2vw;
        cursor: pointer;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-search .Hui-buttonSearch img {
        width: var(--Hui-padding);
        object-fit: contain;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-search input::placeholder {
        font-size: 3.5vw;
    }

    .Hui-mobileEndSidePull .Hui-unplannedArea .Hui-search input:focus {
        border-color: #0056ff;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
    }

    /* 筛选主体 */
    .Hui-filterSubjects {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        margin-left: auto;
        height: 100vh;
        z-index: 9999;
        opacity: 0;
    }

    .Hui-mask {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #00000082;
        z-index: 9998;
        top: 0;
        left: 0;
    }

    /* 对称渐隐：进入和退出都是渐隐效果 */
    .fade-enter-active,
    .fade-leave-active {
        transition: opacity 0.3s ease;
    }

    .fade-enter-from,
    .fade-leave-to {
        opacity: 0;
    }

    .fade-enter-to,
    .fade-leave-from {
        opacity: 1;
    }


    .Hui-filterSubjects .Hui-contentArea {
        background-color: #fff;
        height: 100vh;
        width: 100%;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-headLine {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        height: 15vw;
        border-bottom: 2px solid rgb(247, 247, 247);
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-headLine div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-headLine .Hui-return:active {
        background-color: rgb(247, 247, 247);
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-headLine .Hui-return img {
        width: 3.7vw;
        height: 3.7vw;
        object-fit: contain;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-headLine .Hui-title {
        font-size: 4.5vw;
    }

    /* 增强版从左到右动画 */
    .slide-left-enter-active {
        animation: slideInLeft 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .slide-left-leave-active {
        animation: slideOutLeft 0.35s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }

    @keyframes slideInLeft {
        from {
            transform: translateX(100%);
            -webkit-transform: translateX(100%);
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -o-transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            -o-transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes slideOutLeft {
        from {
            transform: translateX(0);
            -webkit-transform: translateX(0);
            -moz-transform: translateX(0);
            -ms-transform: translateX(0);
            -o-transform: translateX(0);
            opacity: 1;
        }

        to {
            transform: translateX(100%);
            -webkit-transform: translateX(100%);
            -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
            -o-transform: translateX(100%);
            opacity: 0;
        }
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus {
        height: calc(100vh - 15vw);
        width: 100%;
        display: flex;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts {
        display: flex;
        flex-direction: column;
        gap: 8vw;
        font-size: 3.8vw;
        width: 70%;
        height: fit-content;
        max-height: 100%;
        overflow-y: auto;
        padding: 5vw 3vw;
        overflow-y: auto;
    }

    /* 隐藏滚动条 */
    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts::-webkit-scrollbar {
        display: none;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-greatMerger h3 {
        color: rgb(18, 18, 18);
        font-size: 4vw;
        display: flex;
        align-items: center;
        gap: 1vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-greatMerger h3 .Hui-hot {
        display: none;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-greatMerger h3 img {
        width: 8vw;
        height: 5vw;
        object-fit: contain;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-greatMerger {
        display: flex;
        flex-direction: column;
        gap: 4vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-greatMerger .Hui-flexs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw 2vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-item {
        height: auto;
        border: 1px solid rgb(237, 237, 237);
        border-radius: 1vw;
        -webkit-border-radius: 1vw;
        -moz-border-radius: 1vw;
        -ms-border-radius: 1vw;
        -o-border-radius: 1vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-item .Hui-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-item .Hui-commodity img,
    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-item .Hui-commodity .Hui-hot {
        display: none;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-lefts .Hui-item.Hui-item-active {
        border-color: #0056ff;
        background-color: rgb(242, 250, 253);
        color: rgb(105, 151, 199);
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights {
        width: 30%;
        height: 100%;
        background-color: rgb(245, 245, 245);
        overflow-y: auto;
    }

    /* 隐藏滚动条 */
    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights::-webkit-scrollbar {
        display: none;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights .Hui-item {
        font-size: 3.8vw;
        color: rgb(158, 158, 158);
        padding: 3.5vw 0 3.5vw 3vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights .Hui-item.Hui-item-active {
        background-color: #fff;
        color: rgb(37, 37, 39);
        position: relative;
        transition: var(--transition);
        -webkit-transition: var(--transition);
        -moz-transition: var(--transition);
        -ms-transition: var(--transition);
        -o-transition: var(--transition);
        border-radius: 1vw 0 0 1vw;
        -webkit-border-radius: 1vw 0 0 1vw;
        -moz-border-radius: 1vw 0 0 1vw;
        -ms-border-radius: 1vw 0 0 1vw;
        -o-border-radius: 1vw 0 0 1vw;
        margin-left: 1vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights .Hui-item.Hui-item-active::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0.5vw;
        transform: translateY(-50%);
        width: 1vw;
        height: 4vw;
        background-color: rgb(59, 129, 250);
        border-radius: 2vw;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights .Hui-item .Hui-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .Hui-filterSubjects .Hui-contentArea .Hui-contentPlus .Hui-rights .Hui-item img {
        display: none;
    }
}