﻿@charset "utf-8";

/* Product part-number index */

.jx-product-index {
    width: 100%;
    padding: 52px 0 70px;
}

.jx-product-index *,
.jx-product-index *::before,
.jx-product-index *::after {
    box-sizing: border-box;
}


/* Page introduction */

.jx-product-index-head {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.jx-product-index-head > div {
    flex: 1;
    min-width: 0;
}

.jx-product-index-head > div > span {
    display: block;
    margin-bottom: 6px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .8px;
}

.jx-product-index-head h2 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
}

.jx-product-index-head > p {
    width: 44%;
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 23px;
}


/* A-Z / 1-9 index */

.jx-product-index-nav {
    margin-bottom: 28px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
}

.jx-product-index-nav a {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #dfe6ef;
    border-radius: 6px;
    background: #f8faff;
    color: #334155;
    font-size: 14px;
    line-height: 39px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.jx-product-index-nav a:hover {
    border-color: #0a5ef3;
    background: #0a5ef3;
    color: #fff;
    transform: translateY(-2px);
}


/* Results */

.jx-product-index-result {
    padding: 30px;
    background: #fff;
    border: 1px solid #e4eaf3;
    border-radius: 10px;
}

.jx-product-index-result-head {
    margin-bottom: 22px;
    padding-bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e9edf4;
}

.jx-product-index-result-head > div {
    min-width: 0;
}

.jx-product-index-result-head > div > span {
    display: block;
    margin-bottom: 5px;
    color: #0a5ef3;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .7px;
}

.jx-product-index-result-head h2 {
    margin: 0;
    color: #111827;
    font-size: 23px;
    line-height: 32px;
    font-weight: 600;
}

.jx-product-index-result-head > strong {
    flex-shrink: 0;
    color: #667085;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
}


/* Part number grid */

.jx-product-index-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
}

.jx-product-index-list li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.jx-product-index-list li a {
    width: 100%;
    min-height: 48px;
    padding: 9px 13px 9px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 6px;
    background: #fff;
    color: #354052;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.jx-product-index-list li a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jx-product-index-list li a i {
    flex-shrink: 0;
    color: #a2afbf;
    font-size: 15px;
    transition: color .2s ease, transform .2s ease;
}

.jx-product-index-list li a:hover {
    border-color: #bfd4ff;
    background: #f3f7ff;
    color: #0a5ef3;
    transform: translateY(-2px);
}

.jx-product-index-list li a:hover i {
    color: #0a5ef3;
    transform: translateX(2px);
}


/* Pagination */

.jx-product-index-pagination {
    margin-top: 30px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid #edf0f4;
    text-align: center;
}

.jx-product-index-pagination a,
.jx-product-index-pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe5ec;
    border-radius: 5px;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    line-height: 34px;
    text-decoration: none;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.jx-product-index-pagination a:hover {
    border-color: #0a5ef3;
    background: #0a5ef3;
    color: #fff;
}

.jx-product-index-pagination span {
    border-color: #0a5ef3;
    background: #0a5ef3;
    color: #fff;
    font-weight: 600;
}


/* Mobile */

@media screen and (max-width: 767px) {

    .jx-product-index {
        padding: 30px 0 38px;
    }

    .jx-product-index-head {
        margin-bottom: 18px;
        display: block;
    }

    .jx-product-index-head > div > span {
        font-size: 14px;
    }

    .jx-product-index-head h2 {
        font-size: 22px;
        line-height: 31px;
    }

    .jx-product-index-head > p {
        width: 100%;
        margin-top: 9px;
        font-size: 14px;
        line-height: 22px;
    }

    .jx-product-index-nav {
        margin-bottom: 18px;
        padding: 14px;
        gap: 6px;
        border-radius: 8px;
    }

    .jx-product-index-nav a {
        width: 35px;
        height: 35px;
        font-size: 14px;
        line-height: 35px;
    }

    .jx-product-index-result {
        padding: 20px 15px;
        border-radius: 8px;
    }

    .jx-product-index-result-head {
        margin-bottom: 16px;
        padding-bottom: 16px;
        display: block;
    }

    .jx-product-index-result-head > div > span {
        font-size: 14px;
    }

    .jx-product-index-result-head h2 {
        font-size: 19px;
        line-height: 28px;
    }

    .jx-product-index-result-head > strong {
        display: block;
        margin-top: 7px;
        font-size: 14px;
    }

    .jx-product-index-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .jx-product-index-list li a {
        min-height: 46px;
        padding: 8px 10px 8px 12px;
        font-size: 14px;
    }

    .jx-product-index-pagination {
        margin-top: 22px;
        padding-top: 18px;
    }

}
/* =========================================================
   JIEXIN orange accent
========================================================= */

.jx-product-index-head > div > span,
.jx-product-index-result-head > div > span {
    color: #ff5733;
}

.jx-product-index-head h2::before,
.jx-product-index-result-head h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 21px;
    margin-right: 10px;
    border-radius: 3px;
    background: #ff5733;
    vertical-align: -3px;
}

.jx-product-index-list li a:hover i {
    color: #ff5733;
}

.jx-product-index-nav a:hover {
    border-color: #ff5733;
    background: #ff5733;
}

.jx-product-index-pagination span {
    border-color: #ff5733;
    background: #ff5733;
}
