﻿@charset "utf-8";
/* ===== 自定义优化样式 - 模仿首页风格 ===== */

/* 一级分类导航 - 横向滑动（放在二级分类上面） */
.main-category-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 0;
    padding: 0 5px;
    background: #0068d2;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.main-category-nav::-webkit-scrollbar {
    display: none;
}
.main-category-nav a {
    display: inline-block;
    font-size: 16px;
    color: #FFF;
    line-height: 44px;
    padding: 0 18px;
    margin: 0 2px;
    white-space: nowrap;
}
.main-category-nav a.current {
    background: rgba(255,255,255,0.2);
    font-weight: bold;
}

/* 二级分类导航 - 横向滑动 */
.sub-category-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 0;
    padding: 0 5px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sub-category-nav::-webkit-scrollbar {
    display: none;
}
.sub-category-nav a {
    display: inline-block;
    font-size: 15px;
    color: #333;
    line-height: 40px;
    padding: 0 15px;
    margin: 0 2px;
    white-space: nowrap;
}
.sub-category-nav a.current {
    color: #2589ef;
    font-weight: bold;
    border-bottom: 2px solid #2589ef;
}

/* 列表项 - 完全模仿首页样式，下载按钮垂直居中 */
.soft-list .mod-img-list li {
    border-bottom: 1px solid #f0f0f0;
}
.soft-list .mod-img-list li a.img-box {
    display: block;
    padding: 15px 10px;
    min-height: 90px;
    position: relative;
}
.soft-list .mod-img-list li a.img-box img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 12px;
}
.soft-list .mod-img-list .title {
    font-size: 17px;
    font-weight: normal;
    margin: 0 80px 5px 70px;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.soft-list .mod-img-list .blue {
    font-size: 14px;
    color: #2589ef;
    margin: 0 80px 3px 70px;
    line-height: 1.3;
}
.soft-list .mod-img-list .text {
    font-size: 13px;
    color: #999;
    margin: 0 80px 0 70px;
    line-height: 1.4;
}
.soft-list .soft-down {
    /*position: absolute;*/
    right: 15px;
    top: 50%;
    /*transform: translateY(-50%);*/
    width: 60px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #2589ef;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
}

/* 排序选项卡 - 模仿首页导航风格 */
.sort-nav {
    background: #f5f5f5;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}
.sort-nav ul {
    display: flex;
    text-align: center;
}
.sort-nav li {
    flex: 1;
    font-size: 15px;
    line-height: 35px;
}
.sort-nav li a {
    display: block;
    color: #333;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.sort-nav li.on a {
    color: #fff;
    background: #2589ef;
    border-color: #2589ef;
}

/* 分页区域 - 长方形包裹，一排显示 */
.pagination {
    text-align: center;
    margin: 20px 10px;
    padding: 10px 0;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}
.pagination .page-info {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}
.pagination .page-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}
.pagination .page-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    color: #333;
    font-size: 14px;
    border: 1px solid #ddd;
    text-decoration: none;
    min-width: 50px;
}
.pagination .page-btn:hover {
    background: #f0f0f0;
}
.pagination .page-btn.current {
    background: #2589ef;
    color: #fff;
    border-color: #2589ef;
}
.pagination .page-select {
    padding: 7px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    min-width: 90px;
    text-align: center;
}

/* 头部标题 */
.nav.textct a {
    font-size: 16px;
}