/* ==============================
   Products List Page
   Theme: #026ABD
================================= */

#products {
    background: #fff;
}

/* ==============================
   一级分类菜单
================================= */

.products-main-menu {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eeeeee;
}

.products-main-menu-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.products-main-menu-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 40px;
    padding: 0 22px;
    box-sizing: border-box;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #fff;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
}

.products-main-menu-inner a:hover,
.products-main-menu-inner a.active {
    border-color: #026ABD;
    background: #026ABD;
    color: #fff;
}

/* ==============================
   二级分类菜单
================================= */

.goods-sub-menu {
    width: 100%;
    background: #f7f7f7;
}

.goods-sub-menu-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0;
}

.goods-sub-menu-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 18px;
    background: #fff;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
}

.goods-sub-menu-inner a:hover,
.goods-sub-menu-inner a.active {
    background: #026ABD;
    color: #fff;
}

/* ==============================
   分类内容介绍
================================= */

.products-content-info {
    margin: 40px auto 0;
    padding: 30px 34px;
    box-sizing: border-box;
    background: #f7f7f7;
    border-left: 5px solid #026ABD;
    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: 46px 0 70px;
    background: #fff;
}

.products-list-box {
    position: relative;
    width: 96%;
    max-width: 96%;
    margin: 0 auto;
}

.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: #f7f7f7;
    border-radius: 12px;
}

.products-list-count {
    color: #555;
    font-size: 15px;
    line-height: 28px;
}

.products-list-count strong {
    color: #026ABD;
    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: #026ABD;
    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 #dddddd;
    border-radius: 18px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
}

.products-page-size select:focus {
    border-color: #026ABD;
}

/* ==============================
   产品表格
================================= */

.goodsListWrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
}

.goodsListWrap::-webkit-scrollbar {
    height: 8px;
}

.goodsListWrap::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 8px;
}

.goodsListWrap::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 8px;
}

.goodsListWrap::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.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 #eeeeee;
    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: #013f73;
    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: #026ABD;
    color: #fff;
    font-size: 12px;
    line-height: 28px;
    cursor: pointer;
    transition: all .25s ease;
}

.clear-btn span:hover {
    background: #01569a;
}

.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: #026ABD;
}

#tableContent tr {
    transition: all .25s ease;
}

#tableContent tr:hover {
    background: #eef7ff;
}

#tableContent tr:hover td {
    color: #111;
}

#tableContent a {
    color: #026ABD;
    text-decoration: none;
    transition: all .25s ease;
}

#tableContent a:hover {
    color: #01569a;
    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: #026ABD;
    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 #dddddd;
    border-radius: 20px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 38px;
    text-decoration: none;
    transition: all .25s ease;
}

/* 普通页码 hover */
.digg a:hover {
    border-color: #026ABD;
    background: #eef7ff;
    color: #026ABD;
}

/* 只有 span.current 才是真正当前页 */
.digg span.current {
    border-color: #026ABD;
    background: #026ABD;
    color: #fff;
}

/* 防止后台给 a 也加 current，导致所有页码高亮 */
.digg a.current {
    border-color: #dddddd;
    background: #fff;
    color: #333;
}

/* a.current 鼠标经过时仍然按普通页码效果 */
.digg a.current:hover {
    border-color: #026ABD;
    background: #eef7ff;
    color: #026ABD;
}

/* 禁用状态 */
.digg .disabled {
    border-color: #dddddd;
    background: #f7f7f7;
    color: #aaa;
    cursor: not-allowed;
}

/* 禁用状态 hover 不变色 */
.digg a.disabled:hover,
.digg span.disabled:hover {
    border-color: #dddddd;
    background: #f7f7f7;
    color: #aaa;
}

/* 上一页 / 下一页 */
.digg a.disabled,
.digg span.disabled {
    min-width: 82px;
}