/* ==============================
   Product Channel Page - Vertical
   Future Power Color
================================= */

.product-channel-page {
    width: 100%;
    padding: 40px 0;
    overflow-x: hidden;
}

.product-channel-page * {
    box-sizing: border-box;
}

.product-channel-page a {
    text-decoration: none;
}


/* ==============================
   Page Head
================================= */

.product-channel-head {
    margin-bottom: 34px;
    padding: 46px 50px;
    background: #fff;
    border: 1px solid #e7f2ee;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(16, 36, 58, .08);
    position: relative;
    overflow: hidden;
}

.product-channel-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #37b34a 0%, #109bd7 72%, #f6bd16 100%);
}

.product-channel-head span {
    display: inline-block;
    margin-bottom: 14px;
    color: #168a3a;
    font-size: 15px;
    line-height: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.product-channel-head h1 {
    margin: 0 0 14px;
    color: #14284b;
    font-size: 46px;
    line-height: 56px;
    font-weight: 800;
}

.product-channel-head p {
    max-width: 860px;
    margin: 0;
    color: #5b6472;
    font-size: 17px;
    line-height: 30px;
}


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

.product-category-section {
    margin-top: 34px;
    padding: 34px;
    background: #fff;
    border: 1px solid #e7f2ee;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(16, 36, 58, .08);
}

.product-category-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.product-category-title {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.product-category-title > span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(55,179,74,.12), rgba(16,155,215,.12));
    color: #168a3a;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.product-category-title h2 {
    margin: 0 0 10px;
    color: #14284b;
    font-size: 32px;
    line-height: 40px;
    font-weight: 800;
}

.product-category-title p {
    max-width: 880px;
    margin: 0;
    color: #5b6472;
    font-size: 15px;
    line-height: 27px;
}

.product-category-more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 44px;
    padding: 0 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, #37b34a 0%, #109bd7 82%);
    color: #fff;
    font-size: 14px;
    line-height: 44px;
    font-weight: 800;
    transition: all .25s ease;
    box-shadow: 0 10px 24px rgba(55,179,74,.22);
}

.product-category-more:hover {
    background: linear-gradient(135deg, #2aa640 0%, #0a8fc9 82%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16,155,215,.24);
}


/* ==============================
   Sub Category Grid
================================= */

.product-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-sub-card {
    display: block;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #e7f2ee;
    border-radius: 22px;
    color: #14284b;
    transition: all .25s ease;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(16,36,58,.05);
}

.product-sub-card:hover {
    border-color: rgba(16,155,215,.34);
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(16,155,215,.14);
}

.product-sub-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 145px;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.product-sub-img::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #37b34a 0%, #109bd7 72%, #f6bd16 100%);
}

.product-sub-img img {
    display: block;
    max-width: 86%;
    max-height: 86%;
    object-fit: contain;
    transition: all .25s ease;
}

.product-sub-card:hover .product-sub-img img {
    transform: scale(1.05);
}

.product-sub-info h3 {
    margin: 0 0 10px;
    color: #14284b;
    font-size: 19px;
    line-height: 27px;
    font-weight: 800;
}

.product-sub-info p {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 14px;
    color: #5b6472;
    font-size: 14px;
    line-height: 26px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-sub-info span {
    color: #168a3a;
    font-size: 14px;
    line-height: 22px;
    font-weight: 800;
}

.product-sub-card:hover .product-sub-info span {
    color: #109bd7;
}


/* ==============================
   Responsive
================================= */

@media screen and (max-width: 1200px) {
    .product-sub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 992px) {
    .product-channel-page {
        padding: 40px 0 60px;
    }

    .product-channel-head {
        padding: 34px 30px;
    }

    .product-channel-head h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .product-category-section {
        padding: 26px;
    }

    .product-category-main {
        display: block;
    }

    .product-category-more {
        margin-top: 20px;
    }

    .product-sub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .product-channel-page {
        padding: 30px 0 45px;
    }

    .product-channel-head {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .product-channel-head h1 {
        font-size: 30px;
        line-height: 38px;
    }

    .product-channel-head p {
        font-size: 15px;
        line-height: 27px;
    }

    .product-category-section {
        padding: 22px;
        border-radius: 20px;
    }

    .product-category-title {
        display: block;
    }

    .product-category-title > span {
        margin-bottom: 16px;
    }

    .product-category-title h2 {
        font-size: 25px;
        line-height: 33px;
    }

    .product-sub-grid {
        grid-template-columns: 1fr;
    }

    .product-sub-img {
        height: 135px;
    }
}