/* ==============================
   Product Channel Page - Vertical
================================= */

.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-radius: 24px;
    box-shadow: 0 20px 45px rgba(34, 46, 77, .08);
}

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

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

.product-channel-head p {
    max-width: 860px;
    margin: 0;
    color: rgba(34, 46, 77, .72);
    font-size: 17px;
    line-height: 30px;
}


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

.product-category-section {
    margin-top: 34px;
    padding: 34px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(34, 46, 77, .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: rgba(0, 53, 205, .08);
    color: #0035cd;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

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

.product-category-title p {
    max-width: 880px;
    margin: 0;
    color: rgba(34, 46, 77, .72);
    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: #222e4d;
    color: #fff;
    font-size: 14px;
    line-height: 44px;
    font-weight: 800;
    transition: all .25s ease;
}

.product-category-more:hover {
    background: #0035cd;
    color: #fff;
    transform: translateY(-2px);
}


/* ==============================
   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 rgba(34, 46, 77, .10);
    border-radius: 22px;
    color: #222e4d;
    transition: all .25s ease;
    overflow: hidden;
}

.product-sub-card:hover {
    border-color: rgba(0, 53, 205, .38);
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(34, 46, 77, .12);
}

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

.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: #222e4d;
    font-size: 19px;
    line-height: 27px;
    font-weight: 800;
}

.product-sub-info p {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 14px;
    color: rgba(34, 46, 77, .72);
    font-size: 14px;
    line-height: 26px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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


/* ==============================
   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;
    }
}