/* ==============================
Products List Page
Theme: #293b86 / #0305d5
================================= */

#products {
    background: #fff;
}

/* ==============================
整体左右布局
================================= */

.products-list-page {
    width: 100%;
    padding: 46px 0 70px;
    background: #fff;
}

.products-layout {
    display: grid; width:94%; margin:0 auto;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

/* ==============================
左侧分类菜单
================================= */

.products-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e6ebf7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(41,59,134,.06);
}

.products-sidebar-title {
    padding: 22px 24px 18px;
    background: #293b86;
}

.products-sidebar-title h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

.products-sidebar-title span {
    display: block;
    width: 42px;
    height: 5px;
    margin-top: 10px;
    background: #fff;
    border-radius: 5px;
}

.products-cate-tree {
    padding: 14px;
    box-sizing: border-box;
}

.product-cate-node {
    width: 100%;
}

.product-cate-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 10px;
    color: #333;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
    transition: all .25s ease;
}

.product-cate-link span {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-cate-link i {
    margin-left: 8px;
    color: #b8bfd4;
    font-size: 16px;
    transition: all .25s ease;
    flex-shrink: 0;
}

.product-cate-link:hover {
    color: #293b86;
    background: #f2f4ff;
}

.product-cate-link.active {
    background: #293b86;
    color: #fff;
}

.product-cate-link.active i {
    color: #fff;
}

/* 一级 */
.product-cate-lv1-node {
    margin-bottom: 6px;
}

.product-cate-lv1-link {
    min-height: 46px;
    font-size: 15px;
    font-weight: bold;
}

/* 二级 */
.product-cate-lv2-list {
    display: none;
    padding: 6px 0 6px 12px;
}

.product-cate-lv2-link {
    min-height: 38px;
    padding-left: 14px;
    color: #444;
    font-size: 14px;
}

/* 三级 */
.product-cate-lv3-list {
    display: none;
    padding: 4px 0 6px 14px;
}

.product-cate-lv3-link {
    min-height: 34px;
    padding-left: 14px;
    color: #555;
    font-size: 13px;
}

/* 四级 */
.product-cate-lv4-list {
    display: none;
    padding: 4px 0 8px 16px;
}

.product-cate-lv4-link {
    min-height: 30px;
    padding-left: 14px;
    color: #666;
    font-size: 13px;
}

.product-cate-lv4-link::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 7px;
    border-radius: 50%;
    background: #b8bfd4;
    flex-shrink: 0;
}

.product-cate-lv4-link.active::before,
.product-cate-lv4-link:hover::before {
    background: #fff;
}

/* 有子级显示箭头 */
.product-cate-node.has-children > .product-cate-link i {
    display: inline-block;
}

/* 没有子级隐藏箭头 */
.product-cate-node.no-children > .product-cate-link i {
    display: none;
}

/* 手风琴展开状态 */
.product-cate-node.open > .product-cate-link {
    color: #293b86;
    background: #f2f4ff;
}

.product-cate-node.open > .product-cate-link i {
    color: #293b86;
    transform: rotate(90deg);
}

/* 当前分类 */
.product-cate-link.active {
    background: #293b86 !important;
    color: #fff !important;
}

.product-cate-link.active i {
    color: #fff !important;
}

/* 鼠标手势 */
.product-cate-node.has-children > .product-cate-link {
    cursor: pointer;
}

.product-cate-node.no-children > .product-cate-link {
    cursor: pointer;
}
/* ==============================
右侧内容
================================= */

.products-right-main {
    min-width: 0;
}

/* 分类内容介绍 */
.products-content-info {
    margin: 0 0 26px;
    padding: 30px 34px;
    box-sizing: border-box;
    background: #f7f9ff;
    border-left: 5px solid #293b86;
    border-top: 1px solid #e6ebf7;
    border-right: 1px solid #e6ebf7;
    border-bottom: 1px solid #e6ebf7;
    color: #555;
    font-size: 15px;
    line-height: 30px;
}

.products-content-info p {
    margin: 0 0 14px;
}

.products-content-info p:last-child {
    margin-bottom: 0;
}

.products-content-info img {
    max-width: 100%;
    height: auto !important;
}

/* ==============================
产品列表主体
================================= */

.products-main {
    width: 100%;
    padding: 0;
    background: #fff;
}

.products-list-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.goodsContain {
    width: 100%;
}

/* ==============================
工具栏
================================= */

.products-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 18px 22px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    border-radius: 12px;
}

.products-list-count {
    color: #555;
    font-size: 15px;
    line-height: 28px;
}

.products-list-count strong {
    color: #293b86;
    font-size: 18px;
    font-weight: bold;
}

.products-page-size {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
}

.products-page-size i {
    margin-right: 8px;
    color: #293b86;
    font-size: 16px;
}

.products-page-size b {
    margin-right: 10px;
    font-weight: normal;
}

.products-page-size select {
    width: 86px;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #dfe5f5;
    border-radius: 18px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
}

.products-page-size select:focus {
    border-color: #293b86;
}

/* ==============================
产品表格
================================= */

.goodsListWrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background: #fff;
    border: 1px solid #e6ebf7;
    border-radius: 12px;
}

.goodsListWrap::-webkit-scrollbar {
    height: 8px;
}

.goodsListWrap::-webkit-scrollbar-track {
    background: #f2f4ff;
    border-radius: 8px;
}

.goodsListWrap::-webkit-scrollbar-thumb {
    background: #293b86;
    border-radius: 8px;
}

.goodsListWrap::-webkit-scrollbar-thumb:hover {
    background: #0305d5;
}

.goodsList {
    width: 100%;
    min-width: 1380px;
}

.goodsList table {
    width: 100%;
    min-width: 1380px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.goodsList table td {
    width: 150px;
    height: 52px;
    padding: 12px 14px;
    box-sizing: border-box;
    border-bottom: 1px solid #e6ebf7;
    color: #222e4d;
    font-size: 14px;
    line-height: 24px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

.goodsList table td:first-child {
    width: 210px;
}

.goodsList .firTr td {
    height: 88px;
    background: #293b86;
    color: #fff;
    font-weight: bold;
    vertical-align: middle;
}

.goodsList .firTr td i {
    display: block;
    margin: 0;
    color: #fff;
    font-style: normal;
    font-weight: bold;
}

.goodsList .first-col {
    width: 210px;
    min-width: 210px;
}

.th-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 64px;
    text-align: center;
}

.th-first {
    align-items: center;
    justify-content: center;
}

.th-box > i {
    display: block;
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.th-box .single-title {
    margin: 0;
    line-height: 32px;
}

.clear-btn {
    margin: 0;
}

.clear-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 14px;
    border-radius: 15px;
    background: #ffffff;
    color: #293b86;
    font-size: 12px;
    line-height: 28px;
    cursor: pointer;
    transition: all .25s ease;
    font-weight: bold;
}

.clear-btn span:hover {
    background: #0305d5;
    color: #fff;
}

.select-w {
    display: flex;
    justify-content: center;
    width: 100%;
}

.select-w select,
.goodsList select.searchField {
    display: block;
    width: 122px;
    height: 32px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 13px;
    line-height: 32px;
    text-align: left;
}

.select-w select:focus,
.goodsList select.searchField:focus {
    border-color: #0305d5;
}

#tableContent tr {
    transition: all .25s ease;
}

#tableContent tr:hover {
    background: #f2f4ff;
}

#tableContent tr:hover td {
    color: #111;
}

#tableContent a {
    color: #293b86;
    text-decoration: none;
    transition: all .25s ease;
}

#tableContent a:hover {
    color: #0305d5;
    text-decoration: underline;
}

#tableContent img {
    max-width: 24px;
    height: auto;
    vertical-align: middle;
}

/* ==============================
分页
================================= */

.products-page-info {
    margin-top: 18px;
    color: #666;
    font-size: 14px;
    line-height: 24px;
    text-align: right;
}

.products-page-info span {
    color: #293b86;
    font-weight: bold;
}

.page-box {
    margin-top: 24px;
    text-align: center;
}

.digg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
}

.digg a,
.digg span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    margin: 0 0 8px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #dfe5f5;
    border-radius: 20px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 38px;
    text-decoration: none;
    transition: all .25s ease;
}

.digg a:hover {
    border-color: #293b86;
    background: #f2f4ff;
    color: #293b86;
}

.digg span.current {
    border-color: #293b86;
    background: #293b86;
    color: #fff;
}

.digg a.current {
    border-color: #dfe5f5;
    background: #fff;
    color: #333;
}

.digg a.current:hover {
    border-color: #293b86;
    background: #f2f4ff;
    color: #293b86;
}

.digg .disabled {
    border-color: #dddddd;
    background: #f7f7f7;
    color: #aaa;
    cursor: not-allowed;
}

.digg a.disabled:hover,
.digg span.disabled:hover {
    border-color: #dddddd;
    background: #f7f7f7;
    color: #aaa;
}

.digg a.disabled,
.digg span.disabled {
    min-width: 82px;
}
/* ==============================
   Table Header Text Fix
================================= */

.goodsList {
    width: max-content;
    min-width: 100%;
}

.goodsList table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

.goodsList table td {
    width: auto;
    min-width: 165px;
}

.goodsList table td:first-child {
    width: 210px;
    min-width: 210px;
}

/* Allow long header titles to wrap */
.goodsList .firTr td {
    height: auto;
    min-height: 104px;
    padding: 12px 10px;
    white-space: normal;
    overflow: hidden;
}

.goodsList .firTr .th-box {
    min-height: 80px;
    gap: 8px;
}

.goodsList .firTr .th-box > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 0 3px;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 18px;
    text-align: center;
}

/* Keep filter selects aligned */
.goodsList .firTr .select-w {
    width: 100%;
    flex-shrink: 0;
}

.goodsList .firTr .select-w select,
.goodsList .firTr select.searchField {
    width: 130px;
    max-width: 100%;
    min-width: 110px;
}

/* Keep product data on one line */
#tableContent td {
    white-space: nowrap;
}