﻿
.product-channel-page {
    width: 100%;
    padding: 60px 0 96px;
    background: #f5f8fb;
    overflow: hidden;
}

.product-channel-page .container {
    position: relative;
}

/* ==============================
   Category Section
============================== */

.product-category-section {
    margin-bottom: 54px;
}

.product-category-section:last-child {
    margin-bottom: 0;
}

/* ==============================
   Category Head
============================== */

.product-category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 34px 36px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    box-sizing: border-box;
}

.product-category-title {
    max-width: 840px;
}

.product-category-title h2 {
    margin: 0 0 14px;
    padding-left: 18px;
    position: relative;
    font-size: 32px;
    line-height: 1.35;
    color: #222;
    font-weight: 700;
}

.product-category-title h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 28px;
    background: #002759;
    border-radius: 4px;
}

.product-category-title p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* more */
.product-category-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid #002759;
    border-radius: 46px;
    color: #002759;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .35s ease;
    flex-shrink: 0;
}

.product-category-more i {
    margin-left: 9px;
    font-size: 16px;
    transition: all .35s ease;
}

.product-category-more:hover {
    background: linear-gradient(135deg, #002759, #002759);
    border-color: #002759;
    color: #fff;
}

.product-category-more:hover i {
    transform: translateX(4px);
}

/* ==============================
   Recommend List
============================== */

.product-recommend-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-recommend-item {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    transition: all .35s ease;
}

.product-recommend-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0, 39, 89, .14);
}

/* ==============================
   Image
============================== */

.product-recommend-img {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #eef3f7;
}

.product-recommend-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .65s ease;
}

.product-recommend-item:hover .product-recommend-img img {
    transform: scale(1.08);
}

/* ==============================
   Info
============================== */

.product-recommend-info {
    padding: 24px 24px 26px;
    box-sizing: border-box;
}

.product-recommend-info h3 {
    margin: 0 0 14px;
    height: 30px;
    font-size: 20px;
    line-height: 1.5;
    color: #222;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all .3s ease;
}

.product-recommend-info p {
    margin: 0 0 22px;
    height: 52px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    overflow: hidden;
}

.product-recommend-info span {
    display: inline-flex;
    align-items: center;
    color: #002759;
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

.product-recommend-info span:after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-left: 12px;
    background: #002759;
    transition: all .3s ease;
}

.product-recommend-item:hover .product-recommend-info h3 {
    color: #002759;
}

.product-recommend-item:hover .product-recommend-info span:after {
    width: 44px;
}


/* =========================================================
   Product List Page
   Main Color: #002759
   Sub Color: #002759
========================================================= */

.product-list-page {
    width: 100%;
    padding: 60px 0 96px;
    background: #f5f8fb;
    overflow: visible;
}

.product-list-page .container {
    position: relative;
}

/* ==============================
   Layout
============================== */

.product-list-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 34px;
}

.product-list-side {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 106px;
    z-index: 5;
}

.product-list-main {
    flex: 1;
    min-width: 0;
}

/* ==============================
   Left Category
============================== */

.product-side-title {
    padding: 28px 26px;
    background: linear-gradient(135deg, #002759, #002759);
    border-radius: 12px 12px 0 0;
    color: #fff;
    box-sizing: border-box;
}

.product-side-title h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.35;
    color: #fff;
    font-weight: 700;
}

.product-side-title p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .76);
    letter-spacing: 1px;
}

.product-side-category {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    overflow: hidden;
}

.product-side-category a {
    display: block;
    position: relative;
    height: 58px;
    line-height: 58px;
    padding: 0 46px 0 26px;
    border-bottom: 1px solid #eef2f5;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .3s ease;
}

.product-side-category a:last-child {
    border-bottom: 0;
}

.product-side-category a:after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    transform: translateY(-50%) rotate(45deg);
    transition: all .3s ease;
}

.product-side-category a span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-side-category a.active,
.product-side-category a:hover {
    color: #002759;
    background: #f5f8fb;
    padding-left: 34px;
}

.product-side-category a.active:after,
.product-side-category a:hover:after {
    right: 22px;
    border-color: #002759;
}

/* ==============================
   Right Title
============================== */

.product-list-head {
    margin-bottom: 30px;
    padding: 34px 36px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    box-sizing: border-box;
}

.product-list-head h1 {
    margin: 0 0 14px;
    padding-left: 18px;
    position: relative;
    font-size: 32px;
    line-height: 1.35;
    color: #222;
    font-weight: 700;
}

.product-list-head h1:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 28px;
    background: #002759;
    border-radius: 4px;
}

.product-list-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* ==============================
   Product Grid
============================== */

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.product-list-item {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    transition: all .35s ease;
}

.product-list-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0, 39, 89, .14);
}

/* ==============================
   Image
============================== */

.product-list-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #eef3f7;
}

.product-list-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all .65s ease;
}

.product-list-item:hover .product-list-img img {
    transform: scale(1.08);
}

/* ==============================
   Info
============================== */

.product-list-info {
    padding: 24px 24px 26px;
    box-sizing: border-box;
}

.product-list-info h2 {
    margin: 0 0 14px;
    height: 30px;
    font-size: 20px;
    line-height: 1.5;
    color: #222;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all .3s ease;
}

.product-list-info p {
    margin: 0 0 22px;
    height: 52px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    overflow: hidden;
}

.product-list-info span {
    display: inline-flex;
    align-items: center;
    color: #002759;
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

.product-list-info span:after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-left: 12px;
    background: #002759;
    transition: all .3s ease;
}

.product-list-item:hover .product-list-info h2 {
    color: #002759;
}

.product-list-item:hover .product-list-info span:after {
    width: 44px;
}