/* 覆盖掉search.css的样式 */
.filter-row-2{
    margin-top: 30px;
    display: none;
    overflow: hidden;
}
.filter-row-3 {
    margin-top: 20px;
    display: none;
    overflow: hidden;
}

.filter-row-2.show {
    display: flex;
}

.filter-row-3.show {
    display: flex;
}

.row-2-label,
.row-3-label {
    margin-right: 25px;
    line-height: 30px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
    color: #303133;
}

.filter-row-2>ul,
.filter-row-3>ul {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 30px;
}

.row-2-item,
.row-3-item {
    display: flex;
    align-items: center;
    color: #303133;
    font-size: 14px;
    cursor: pointer;
}

.filter-row-2 .row-2-item:not(:last-child),
.filter-row-3 .row-3-item:not(:last-child) {
    margin-right: 45px;
}

.row-2-total,
.row-3-total {
    margin-left: 2px;
    font-size: 12px;
    color: #DDDDDD;
}

.row-2-item span:nth-child(1),
.row-3-item span:nth-child(1){
    position: relative;
    background: transparent;
    isolation: isolate;
}

.row-2-item.active,
.row-3-item.active{
    transform: scaleX(1.04);
    text-shadow: 0 0 1px currentColor;
}

.row-2-item.active span:nth-child(1)::after,
.row-3-item.active span:nth-child(1)::after{
    content: "";
    position: absolute;
    left: -4px;
    bottom: 8px;
    width: calc(100% + 8px);
    height: 6px;
    border-radius: 2px;
    z-index: -1;
}
.row-2-item.active span:nth-child(1)::after{
    background-color: #DAF4FB;
}
.row-3-item.active span:nth-child(1)::after{
    background-color: #FCE9E3;
}

.search-result{
    margin-top: 30px;
    font-size: 18px;
    color: #434343;
}



.filter-section {
    margin-top: 20px;
}
.filter-row-2{
    margin-top: 0px;
    display: flex;
    overflow: hidden;
}
.filter-row-3 {
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}
.filter-row-4{
    margin-top: 20px;
    display: flex;
    overflow: hidden;
}
.row-2-item{
    padding-bottom: 10px;
}
.row-4-label {
    margin-right: 25px;
    line-height: 20px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
    color: #303133;
}
.filter-row-4>ul {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: hidden;
    white-space: nowrap;
}
.row-4-item {
    display: flex;
    align-items: center;
    color: #303133;
    font-size: 14px;
    cursor: pointer;

}
.search-result{
    margin-top: 50px;
    font-size: 14px;
    color: rgba(67, 67, 67, .41);
    display: flex;
    align-items: center;
    gap: 80px;
}

.result-filter-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.result-filter-item {
    position: relative;
    cursor: pointer;
    user-select: none;
    width: 160px;
}

.filter-label {
    color: rgba(67, 67, 67, .41);
    margin-right: 8px;
}

.filter-value {
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

.filter-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
    margin-left: 4px;
    display: inline-block;
}

.result-filter-item.open > .filter-arrow,
.result-filter-item:hover > .filter-arrow {
    transform: rotate(-180deg);
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -10px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.result-filter-item.open .filter-dropdown,
.result-filter-item:hover .filter-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    padding: 8px 16px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    list-style: none;
    text-align: center;
    white-space: nowrap;
}

.filter-option:hover {
    background: #F5F5F5;
    color: #333;
}

.filter-option.active {
    color: #5A92FF;
    font-weight: 500;
}

.row-4-item.active{
    color: #4fa1ff;
}

/* hover部分 */
.row-2-item:hover>span:nth-child(1)::after,
.row-3-item:hover>span:nth-child(1)::after{
    content: "";
    position: absolute;
    left: -4px;
    bottom: 8px;
    width: calc(100% + 8px);
    height: 6px;
    border-radius: 2px;
    z-index: -1;
}
.row-2-item:hover>span:nth-child(1)::after {
    background-color: #DAF4FB;
}
.row-3-item:hover>span:nth-child(1)::after {
    background-color: #FCE9E3;
}
.row-4-item:hover{
    color: #4fa1ff;
}

.filter-section {
    margin-top: 28px;
}

.filter-row-2,
.filter-row-3,
.filter-row-4 {
    align-items: flex-start;
    overflow: visible;
    min-height: 36px;
}

.filter-row-2,
.filter-row-3,
.filter-row-4 {
    display: none;
}

.filter-row-2.is-visible,
.filter-row-3.is-visible,
.filter-row-4.is-visible {
    display: flex;
}

.filter-row-2 {
    margin-top: 0;
}

.filter-row-3,
.filter-row-4 {
    margin-top: 18px;
}

.row-2-label,
.row-3-label,
.row-4-label {
    flex: 0 0 52px;
    margin-right: 0;
    line-height: 36px;
    font-size: 18px;
    font-weight: 700;
    color: #252a33;
}

.filter-row-2>ul,
.filter-row-3>ul,
.filter-row-4>ul {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    overflow: visible;
    white-space: normal;
    line-height: normal;
}

.row-2-item,
.row-3-item,
.row-4-item {
    width: 124px;
    height: 36px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    border-radius: 18px;
    background: #f6f7f9;
    color: #686c73;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.row-2-item span:first-child,
.row-3-item span:first-child,
.row-4-item span:first-child {
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-2-total,
.row-3-total {
    display: none;
}

.row-2-item.active,
.row-3-item.active,
.row-4-item.active,
.row-2-item:hover,
.row-3-item:hover,
.row-4-item:hover {
    transform: none;
    text-shadow: none;
    background: #f8fbff;
    color: #5a92ff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(90, 146, 255, 0.16);
}

.row-2-item span:nth-child(1),
.row-3-item span:nth-child(1) {
    background: transparent;
}

.row-2-item.active span:nth-child(1)::after,
.row-3-item.active span:nth-child(1)::after,
.row-2-item:hover>span:nth-child(1)::after,
.row-3-item:hover>span:nth-child(1)::after {
    content: none;
}

.loading-page{
	display: none !important;
}

/* 一级分类导航 */
.category-nav {
    width: 100%;
    padding: 30px 0;
}

.category-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.category-nav-btn {
    width: 124px;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #303133;
    font-size: 15px;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(30, 116, 212, 0.14);
    transition: border-color 0.2s ease, border-radius 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.category-nav-btn:hover {
    color: #0090ff;
    border-color: #0090ff;
    border-radius: 5px;
    box-shadow: 2px 6px 11px rgb(80 165 231 / 20%);
}

.category-nav-btn.active {
    color: #0090ff;
    border-color: #0090ff;
    border-radius: 5px;
    box-shadow: 2px 6px 11px rgb(80 165 231 / 20%);
}

.category-nav-icon {
    flex: 0 0 auto;
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.category-nav-icon-plugin { background-image: url("/images/index/icon/chajian.png"); }
.category-nav-icon-max { background-image: url("/images/index/icon/max.png"); }
.category-nav-icon-cad { background-image: url("/images/index/icon/cad.png"); }
.category-nav-icon-su { background-image: url("/images/index/icon/sketchup.png"); }
.category-nav-icon-c4d { background-image: url("/images/index/icon/C4D.png"); }
.category-nav-icon-blender { background-image: url("/images/index/icon/Blender.png"); }
.category-nav-icon-maya { background-image: url("/images/index/icon/maya.png"); }
.category-nav-icon-davinci { background-image: url("/images/index/icon/dafengqi.png"); }
.category-nav-icon-ps { background-image: url("/images/index/icon/photoshop.png"); }
.category-nav-icon-ppt { background-image: url("/images/index/icon/ppt.png"); }
.category-nav-icon-pdf { background-image: url("/images/index/icon/pdf.png"); }
.category-nav-icon-ae { background-image: url("/images/index/icon/ae.png"); }
.category-nav-icon-texture { background-image: url("/images/index/icon/maps.png"); }
.category-nav-icon-design { background-image: url("/images/index/icon/fangan.png"); }
.category-nav-icon-soft { background-image: url("/images/index/icon/softfurnishings.png"); }
.category-nav-icon-video { background-image: url("/images/index/icon/video.png"); }
.category-nav-icon-other { background-image: url("/images/index/icon/other.png"); }

.list-loadmore-loading {
    width: 100%;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-loadmore-loading-icon {
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    border: 3px solid rgba(53, 94, 254, 0.16);
    border-top-color: #355efe;
    border-radius: 50%;
    animation: listLoadmoreSpin 0.8s linear infinite;
}

@keyframes listLoadmoreSpin {
    to {
        transform: rotate(360deg);
    }
}
