/**
 * HZT Product Download Files 样式
 */

/* 下载文件容器 */


/* 下载文件标题 */

/* 下载按钮 */
.hzt-download-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f7941d;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.hzt-download-button:hover {
    background-color: #e58718;
    color: #fff;
}

.hzt-download-button svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}



/* 下载文件分类组 */
.hzt-download-type-group {
    margin-bottom: 25px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hzt-download-type-title {
    padding: 40px 0;
    margin: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    color: #000;
}

.hzt-download-type-name {
    font-size: 26px;
    line-height: 26px;
    font-weight: 700;
    padding-left: 20px;
    box-sizing: content-box;
}

.hzt-download-type-name::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 26px;
    background-color: #f7941d;

}




.hzt-download-type-title.active .hzt-download-type-arrow img {
    filter: unset !important;
    transform: rotate(0deg);
}


.hzt-download-type-arrow img {
    filter: brightness(0) invert(0);
    transform: rotate(180deg);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


.hzt-download-type-files {
    display: block;
}

.hzt-download-type-files .hzt-download-file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    padding: clamp(20px, 2.08333333vw, 40px);
    background: #f4f4f4;
    grid-gap: 0 clamp(1.25rem, calc(((20 / 16) * 1rem) + (70 - 20) * calc((100vw - 1024 / 16 * 1rem) / (1920 - 1024))), 4.375rem);
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hzt-download-type-files .hzt-download-file .hzt-download-file-icon-box {
    width: clamp(5rem, calc(((80 / 16) * 1rem) + (120 - 80) * calc((100vw - 1024 / 16 * 1rem) / (1920 - 1024))), 7.5rem);
    height: clamp(5rem, calc(((80 / 16) * 1rem) + (120 - 80) * calc((100vw - 1024 / 16 * 1rem) / (1920 - 1024))), 7.5rem);
    border: 1px solid #b9b9b9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.hzt-download-type-files .hzt-download-file .hzt-download-file-icon-box img {
    max-width: 30%;
}

.hzt-download-type-files .hzt-download-file .hzt-download-file-icon-box span {
    font-family: 'SourceHanSansCN';
    font-weight: 400;
    font-size: var(--font18);
    color: #666666;
    padding-top: clamp(5px, 0.52083333vw, 10px);
}

.hzt-download-type-files .hzt-download-file:last-child {
    margin-bottom: 0;
}

.hzt-download-type-files .hzt-download-file-title {
    flex-grow: 1;
    font-family: 'SourceHanSansCN';
    font-weight: 400;
    color: #666666;
    font-size: clamp(1rem, 0.25rem + 0.94vw, 1.375rem);
    line-height: 1.4;
}


/* 下载列表页面 */
.hzt-download-list-box .hzt-download-list-top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
}


.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-left {
    width: 18%;
    
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-left .hzt-download-list-top-left-title {
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: #444444;
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right {
    width: 82%;
    
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right {
    display: flex;
    line-height: 67px;
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-title {
    margin-right: 90px;
    font-size: 20px;
    color: #000;
    font-weight: 400;
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;

}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list li {
    margin-right: 100px;
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list li a {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    display: block;
    height: 100%;
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list li.active a,
.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list li a:hover {
    color: #EF7800;
    position: relative;
}

.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list li.active a::after,
.hzt-download-list-box .hzt-download-list-top .hzt-download-list-top-right .hzt-download-list-top-right-list li a:hover::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background-color: #EF7800;
    bottom: -1px;
    left: 0;
    transition: all 0.3s;
}


.hzt-download-list-bottom {
    display: flex;
}

.hzt-download-list-bottom .hzt-download-list-bottom-left {
    width: 18%;
    padding-top: 40px;
    border-right: 1px solid #e5e5e5;
}

.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats li {
    margin-bottom: 26px;
    padding-left: 16px;
    position: relative;
}

.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: #ef7800;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 2;
}

.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats li:hover::before,
.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats li.active::before {
    height: 100%;
}

.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e5e5e5;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
}






.hzt-download-list-bottom .hzt-download-list-bottom-left .hzt-download-cats li a {
    font-size: 20px;
    line-height: 20px;
    color: #666666;
    font-weight: 400;
}

.hzt-download-list-bottom .hzt-download-list-bottom-right {
    width: 82%;
    padding-left: 50px;
}


.hzt-download-list-bottom .hzt-download-list-bottom-right .hzt-download-type-files .hzt-download-file{
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.hzt-download-list-bottom-right-pagination{
    display: flex;
    margin: 30px 0 ;
}

.hzt-download-list-bottom-right-pagination a,
.hzt-download-list-bottom-right-pagination span{
    color: #808080;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;  
    padding: 0 10px;
    margin-right: 10px;
}

.hzt-download-list-bottom-right-pagination .current{
    color: #EF7800;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .hzt-download-file-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hzt-download-button {
        width: 100%;
        justify-content: center;
    }
}