/* ==============================
   产品频道页
   Theme: #293b86 / #0305d5
================================= */

.product-channel-page {
    width: 100%;
    padding: 70px 0;
    background: #fff;
}

.product-channel-head {
    margin-bottom: 42px;
}

.product-channel-title h1 {
    margin: 0;
    color: #111;
    font-size: 38px;
    line-height: 48px;
    font-weight: bold;
}

.product-channel-title span {
    display: block;
    width: 60px;
    height: 10px;
    margin-top: 12px;
    background: #293b86;
}

.product-channel-title p {
    max-width: 860px;
    margin: 20px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 30px;
}


/* ==============================
   一级分类整体
================================= */

.product-category-wrap {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.product-category-block {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 34px;
    padding: 30px;
    box-sizing: border-box;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    border-radius: 20px;
    transition: all .3s ease;
}

.product-category-block:hover {
    background: #fff;
    border-color: #293b86;
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(41,59,134,.12);
}


/* ==============================
   左侧一级分类
================================= */

.product-category-left {
    width: 100%;
}

.product-category-img {
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 16px;
    background: #eef2ff;
}

.product-category-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .45s ease;
}

.product-category-block:hover .product-category-img img {
    transform: scale(1.06);
}

.product-category-main {
    padding-top: 22px;
}

.product-category-main h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: 28px;
    line-height: 38px;
    font-weight: bold;
    transition: all .25s ease;
}

.product-category-block:hover .product-category-main h2 {
    color: #293b86;
}

.product-category-main p {
    margin: 0 0 20px;
    color: #666;
    font-size: 15px;
    line-height: 28px;
}

.product-category-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 20px;
    background: #293b86;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
}

.product-category-more i {
    margin-left: 8px;
    transition: all .25s ease;
}

.product-category-more:hover {
    background: #0305d5;
    color: #fff;
}

.product-category-more:hover i {
    transform: translateX(4px);
}


/* ==============================
   右侧二级 / 三级 / 四级分类
================================= */

.product-category-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-content: start;
}

.product-sub-group {
    position: relative;
    min-height: 148px;
    padding: 22px 22px 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e6ebf7;
    border-radius: 16px;
    transition: all .25s ease;
}

.product-sub-group:hover {
    border-color: #293b86;
    box-shadow: 0 14px 34px rgba(41,59,134,.10);
    transform: translateY(-3px);
}

.product-sub-group::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 4px;
    height: 32px;
    background: #293b86;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: all .25s ease;
}

.product-sub-group:hover::before {
    opacity: 1;
}

/* 二级分类标题 */
.product-sub-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #111;
    font-size: 18px;
    line-height: 26px;
    font-weight: bold;
    text-decoration: none;
    transition: all .25s ease;
}

.product-sub-title span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-sub-title i {
    margin-left: 12px;
    color: #b8bfd4;
    font-size: 18px;
    transition: all .25s ease;
    flex-shrink: 0;
}

.product-sub-group:hover .product-sub-title {
    color: #293b86;
}

.product-sub-group:hover .product-sub-title i {
    color: #293b86;
    transform: translateX(4px);
}

/* 三级分类列表 */
.product-third-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-third-item {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 32px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 18px;
    background: #f7f9ff;
    border: 1px solid #e6ebf7;
    color: #555;
    font-size: 13px;
    line-height: 32px;
    text-decoration: none;
    transition: all .25s ease;
}

.product-third-item span {
    display: block;
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-third-item:hover {
    background: #293b86;
    border-color: #293b86;
    color: #fff;
}

/* 四级分类 */
.product-fourth-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: -2px;
    padding: 0 0 6px 10px;
    box-sizing: border-box;
}

.product-fourth-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    font-size: 12px;
    line-height: 22px;
    text-decoration: none;
    transition: all .25s ease;
}

.product-fourth-item::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: #b8bfd4;
}

.product-fourth-item:hover {
    color: #0305d5;
}

.product-fourth-item:hover::before {
    background: #0305d5;
}

/* 没有子分类 */
.product-sub-empty {
    color: #999;
    font-size: 14px;
    line-height: 26px;
}

