﻿@charset "utf-8";

/* =========================================================
   JIEXIN Leaf Category Product List
   Primary: #0a5ef3
   Accent:  #ff5733
========================================================= */

.jx-parts-intro,
.jx-category-faq,
.jx-component-list,
.jx-source-banner--parts {
    box-sizing: border-box;
}

    .jx-parts-intro *,
    .jx-category-faq *,
    .jx-component-list *,
    .jx-source-banner--parts * {
        box-sizing: border-box;
    }


/* Category introduction */

.jx-parts-intro {
    padding: 28px 30px;
    margin-top: 24px !important;
    margin-bottom: 10px !important;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    background: #fff;
}

.jx-parts-intro-head {
    width: 100%;
    margin-bottom: 12px;
}

    .jx-parts-intro-head > span {
        display: block;
        margin-bottom: 5px;
        color: #ff5733;
        font-size: 14px;
        line-height: 22px;
        font-weight: 600;
        letter-spacing: .8px;
    }

    .jx-parts-intro-head h1 {
        margin: 0;
        padding-left: 14px;
        position: relative;
        color: #111827;
        font-size: 24px;
        line-height: 40px;
        font-weight: 600;
    }

        .jx-parts-intro-head h1::before {
            content: "";
            position: absolute;
            top: 8px;
            left: 0;
            width: 4px;
            height: 24px;
            border-radius: 4px;
            background: #ff5733;
        }

.jx-parts-intro-copy {
    width: 100%;
    color: #667085;
    font-size: 14px;
    line-height: 24px;
}

    .jx-parts-intro-copy p {
        margin: 0 0 8px;
    }

        .jx-parts-intro-copy p:last-child {
            margin-bottom: 0;
        }

    .jx-parts-intro-copy a {
        color: #0a5ef3;
        text-decoration: none;
    }


/* Category FAQ */

.jx-category-faq {
    padding: 28px 30px;
    margin-top: 10px !important;
    margin-bottom: 42px !important;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    background: #fff;
}

.jx-category-faq-head {
    width: 100%;
    margin-bottom: 14px;
}

    .jx-category-faq-head > span {
        display: block;
        margin-bottom: 5px;
        color: #ff5733;
        font-size: 14px;
        line-height: 22px;
        font-weight: 600;
        letter-spacing: .8px;
    }

    .jx-category-faq-head h2 {
        margin: 0;
        padding-left: 14px;
        position: relative;
        color: #111827;
        font-size: 26px;
        line-height: 36px;
        font-weight: 600;
    }

        .jx-category-faq-head h2::before {
            content: "";
            position: absolute;
            top: 7px;
            left: 0;
            width: 4px;
            height: 22px;
            border-radius: 4px;
            background: #ff5733;
        }

.jx-category-faq-copy {
    width: 100%;
    color: #667085;
    font-size: 14px;
    line-height: 24px;
}

    .jx-category-faq-copy p {
        margin: 0 0 10px;
    }

        .jx-category-faq-copy p:last-child {
            margin-bottom: 0;
        }

    .jx-category-faq-copy h2,
    .jx-category-faq-copy h3,
    .jx-category-faq-copy h4 {
        margin: 18px 0 7px;
        color: #263244;
        font-weight: 600;
    }

    .jx-category-faq-copy h2 {
        font-size: 18px;
        line-height: 27px;
    }

    .jx-category-faq-copy h3,
    .jx-category-faq-copy h4 {
        font-size: 16px;
        line-height: 25px;
    }

    .jx-category-faq-copy ul,
    .jx-category-faq-copy ol {
        margin: 8px 0 12px 20px;
        padding: 0;
    }

    .jx-category-faq-copy li {
        margin-bottom: 5px;
    }

    .jx-category-faq-copy a {
        color: #0a5ef3;
        text-decoration: none;
    }


/* Product table */

.jx-component-list {
    width: 96%;
    padding: 8px 0 42px;
}

.jx-component-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 7px;
    background: #fff;
}

.jx-component-table {
    width: 100%;
    min-width: 1180px;
    border-spacing: 0;
    border-collapse: separate;
    background: #fff;
}

    .jx-component-table th,
    .jx-component-table td {
        box-sizing: border-box;
    }

    .jx-component-table thead {
        background: #f4f7fb;
    }

    .jx-component-table th {
        padding: 11px 11px;
        border-right: 1px solid #e5eaf1;
        border-bottom: 1px solid #dce3ec;
        background: #f4f7fb;
        color: #334155;
        font-size: 14px;
        line-height: 21px;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
    }

        .jx-component-table th:last-child {
            border-right: 0;
        }

        .jx-component-table th.th-photo {
            width: 90px;
            min-width: 90px;
            max-width: 90px;
            text-align: center;
        }

        .jx-component-table th.th-part {
            width: 235px;
            min-width: 235px;
            max-width: 235px;
        }

    .jx-component-table td {
        padding: 10px 11px;
        border-right: 1px solid #edf0f4;
        border-bottom: 1px solid #e8edf3;
        background: #fff;
        color: #536174;
        font-size: 14px;
        line-height: 21px;
        vertical-align: middle;
    }

        .jx-component-table td:last-child {
            border-right: 0;
        }

    .jx-component-table tbody tr:hover td {
        background: #f7faff;
    }

    .jx-component-table tbody tr:last-child td {
        border-bottom: 0;
    }


/* Photo */

.jx-component-photo {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    text-align: center;
}

    .jx-component-photo > a.p {
        width: 64px;
        height: 64px;
        padding: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border: 1px solid #e0e6ed;
        border-radius: 5px;
        background: #fff;
    }

        .jx-component-photo > a.p:hover {
            border-color: #0a5ef3;
        }

    .jx-component-photo img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }


/* Part information */

.jx-component-info {
    width: 235px;
    min-width: 235px;
    max-width: 235px;
}

    .jx-component-info h2 {
        max-width: 210px;
        margin: 0 0 4px;
        overflow: hidden;
        color: #172033;
        font-size: 14px;
        line-height: 22px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .jx-component-info h2 a {
            color: #172033;
            text-decoration: none;
        }

            .jx-component-info h2 a:hover {
                color: #0a5ef3;
            }

    .jx-component-info p {
        max-width: 210px;
        margin: 0 0 2px;
        overflow: hidden;
        color: #7a8596;
        font-size: 14px;
        line-height: 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .jx-component-info p:last-child {
            margin-bottom: 0;
        }

        .jx-component-info p a {
            color: #0a5ef3;
            text-decoration: none;
        }


/* Inventory / price */

.jx-component-stock {
    color: #263244 !important;
    font-weight: 600;
    white-space: nowrap;
}

.jx-component-price {
    color: #0a5ef3 !important;
    font-weight: 600;
    white-space: nowrap;
}


/* Quantity / RFQ */

.jx-component-qty {
    min-width: 110px;
}

.jx-component-qty-input {
    margin-bottom: 6px;
}

    .jx-component-qty-input input {
        width: 76px;
        height: 32px;
        padding: 0 8px;
        border: 1px solid #dce3ec;
        border-radius: 4px;
        background: #fff;
        color: #263244;
        font-size: 14px;
        line-height: 30px;
        text-align: center;
        outline: none;
    }

        .jx-component-qty-input input:focus {
            border-color: #0a5ef3;
            box-shadow: 0 0 0 2px rgba(10,94,243,.08);
        }

.jx-component-rfq-btn {
    width: 76px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #ff5733;
    color: #fff !important;
    font-size: 14px;
    line-height: 32px;
    font-weight: 600;
    text-decoration: none;
}

    .jx-component-rfq-btn:hover {
        background: #e94726;
    }


/* Datasheet */

.jx-component-datasheet {
    min-width: 118px;
}

.jx-component-datasheet-link {
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #cfdcf0;
    border-radius: 4px;
    background: #f7faff;
    color: #0a5ef3 !important;
    font-size: 14px;
    line-height: 30px;
    text-decoration: none;
    white-space: nowrap;
}

    .jx-component-datasheet-link i {
        color: #0a5ef3;
    }

    .jx-component-datasheet-link:hover {
        border-color: #0a5ef3;
        background: #0a5ef3;
        color: #fff !important;
    }

        .jx-component-datasheet-link:hover i {
            color: #fff;
        }

.jx-component-spec {
    min-width: 116px;
}


/* Sticky first columns */

@media screen and (min-width: 768px) {

    .jx-component-table th.th-photo,
    .jx-component-table td.jx-component-photo {
        position: sticky;
        left: 0;
        z-index: 20;
        background: #fff;
    }

    .jx-component-table th.th-part,
    .jx-component-table td.jx-component-info {
        position: sticky;
        left: 90px;
        z-index: 20;
        background: #fff;
        box-shadow: 7px 0 12px rgba(18,38,63,.05);
    }

    .jx-component-table thead th.th-photo,
    .jx-component-table thead th.th-part {
        z-index: 30;
        background: #f4f7fb;
    }

    .jx-component-table tbody tr:hover td.jx-component-photo,
    .jx-component-table tbody tr:hover td.jx-component-info {
        background: #f7faff;
    }
}


/* JS fixed header - IDs preserved for eso.goodslist.js */

#partsFixedThead {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9997;
    display: none;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18,38,63,.10);
    pointer-events: none;
}

    #partsFixedThead .parts-fixed-scroll {
        width: 100%;
        overflow: hidden;
    }

    #partsFixedThead table {
        width: 100%;
        min-width: 1180px;
        border-spacing: 0;
        border-collapse: separate;
        background: #fff;
    }

    #partsFixedThead th {
        box-sizing: border-box;
        padding: 11px;
        border-right: 1px solid #e5eaf1;
        border-bottom: 1px solid #dce3ec;
        background: #f4f7fb;
        color: #334155;
        font-size: 14px;
        line-height: 21px;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
    }

        #partsFixedThead th.th-photo {
            position: sticky;
            left: 0;
            z-index: 60;
            width: 90px;
            min-width: 90px;
            max-width: 90px;
            background: #f4f7fb;
            text-align: center;
        }

        #partsFixedThead th.th-part {
            position: sticky;
            left: 90px;
            z-index: 60;
            width: 235px;
            min-width: 235px;
            max-width: 235px;
            background: #f4f7fb;
            box-shadow: 7px 0 12px rgba(18,38,63,.05);
        }


/* Sticky horizontal scrollbar */

#partsStickyScrollbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    display: none;
    height: 18px;
    padding: 3px 0;
    border-top: 1px solid #dfe6ef;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -5px 16px rgba(18,38,63,.08);
}

    #partsStickyScrollbar .psb-track {

        height: 12px;
        margin: 0 auto;
        overflow-x: auto;
        overflow-y: hidden;
    }

    #partsStickyScrollbar .psb-spacer {
        height: 1px;
    }

    #partsStickyScrollbar .psb-track::-webkit-scrollbar,
    .jx-component-table-wrap::-webkit-scrollbar {
        height: 7px;
    }

    #partsStickyScrollbar .psb-track::-webkit-scrollbar-track,
    .jx-component-table-wrap::-webkit-scrollbar-track {
        background: #edf2f7;
    }

    #partsStickyScrollbar .psb-track::-webkit-scrollbar-thumb,
    .jx-component-table-wrap::-webkit-scrollbar-thumb {
        background: #9fb9e5;
        border-radius: 10px;
    }

        #partsStickyScrollbar .psb-track::-webkit-scrollbar-thumb:hover,
        .jx-component-table-wrap::-webkit-scrollbar-thumb:hover {
            background: #0a5ef3;
        }


/* Pagination */

.jx-list-pager {
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

    .jx-list-pager:empty {
        display: none;
    }

    .jx-list-pager a,
    .jx-list-pager > span,
    .jx-list-pager > strong,
    .jx-list-pager > em {
        min-width: 36px;
        height: 36px;
        margin: 0 !important;
        padding: 0 10px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid #dbe3ed;
        border-radius: 5px;
        background: #fff;
        color: #536174;
        font-size: 14px;
        line-height: 34px;
        font-style: normal;
        font-weight: 500;
        text-decoration: none;
        box-shadow: none;
    }

        .jx-list-pager a:hover {
            border-color: #0a5ef3;
            color: #0a5ef3;
            background: #f5f8ff;
        }

    .jx-list-pager > span,
    .jx-list-pager > strong,
    .jx-list-pager > em,
    .jx-list-pager .current,
    .jx-list-pager .selected {
        border-color: #0a5ef3;
        background: #0a5ef3;
        color: #fff;
    }



/* =========================================================
   Shared sourcing banner
========================================================= */

.jx-source-banner {
    width: 100%;
    padding: 0 0 50px;
}

.jx-source-banner-inner {
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid #dce5f0;
    border-left: 4px solid #ff5733;
    border-radius: 7px;
    background: #f5f8ff;
}

.jx-source-banner-copy {
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

    .jx-source-banner-copy > span {
        display: block;
        margin-bottom: 4px;
        color: #ff5733;
        font-size: 14px;
        line-height: 21px;
        font-weight: 600;
        letter-spacing: .6px;
    }

    .jx-source-banner-copy h2 {
        margin: 0;
        color: #172033;
        font-size: 23px;
        line-height: 32px;
        font-weight: 600;
    }

    .jx-source-banner-copy p {
        margin: 7px 0 0;
        color: #667085;
        font-size: 14px;
        line-height: 22px;
    }

.jx-source-banner-actions {
    width: 190px;
    flex: 0 0 190px;
    display: grid;
    gap: 8px;
}

.jx-source-banner-primary,
.jx-source-banner-secondary {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 40px;
    font-weight: 600;
    text-decoration: none;
}

.jx-source-banner-primary {
    border: 1px solid #ff5733;
    background: #ff5733;
    color: #fff;
}

    .jx-source-banner-primary:hover {
        border-color: #e94726;
        background: #e94726;
        color: #fff;
    }

.jx-source-banner-secondary {
    border: 1px solid #bcd0ef;
    background: #fff;
    color: #0a5ef3;
}

    .jx-source-banner-secondary:hover {
        border-color: #0a5ef3;
        background: #f3f7ff;
        color: #0a5ef3;
    }

/* Leaf sourcing banner
   Base banner rules come from product1.css */
.jx-source-banner--parts {
    padding-bottom: 58px;
}

    .jx-source-banner--parts .jx-source-banner-primary {
        border-color: #ff5733;
        background: #ff5733;
    }

        .jx-source-banner--parts .jx-source-banner-primary:hover {
            border-color: #e94726;
            background: #e94726;
        }




/* =========================================================
   Filtered component selection page
========================================================= */

.jx-parts-intro--selection .jx-parts-intro-head > span {
    color: #0a5ef3;
}

.jx-parts-intro--selection .jx-parts-intro-head h1::before {
    background: #0a5ef3;
}

.jx-source-banner--selection .jx-source-banner-inner {
    background: #fff8f5;
    border-color: #ffd8cf;
    border-left-color: #ff5733;
}

/* Mobile */

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

    .jx-parts-intro {
        padding: 22px 18px;
        margin-top: 18px !important;
        margin-bottom: 20px !important;
    }

    .jx-parts-intro-head h1 {
        padding-left: 12px;
        font-size: 18px;
        line-height: 33px;
    }

        .jx-parts-intro-head h1::before {
            top: 6px;
            width: 3px;
            height: 21px;
        }

    .jx-parts-intro-copy {
        font-size: 14px;
        line-height: 22px;
    }

    .jx-category-faq {
        padding: 22px 18px;
        margin-top: 20px !important;
        margin-bottom: 32px !important;
    }

    .jx-category-faq-head h2 {
        padding-left: 12px;
        font-size: 22px;
        line-height: 31px;
    }

        .jx-category-faq-head h2::before {
            top: 5px;
            width: 3px;
            height: 21px;
        }

    .jx-category-faq-copy {
        font-size: 14px;
        line-height: 22px;
    }

    .jx-component-list {
        width: 94%;
        padding: 6px 0 34px;
    }

    .jx-component-table {
        min-width: 1040px;
    }

        .jx-component-table th,
        .jx-component-table td {
            padding: 9px;
            font-size: 14px;
        }

    .jx-component-photo > a.p {
        width: 58px;
        height: 58px;
    }

    .jx-list-pager {
        margin-top: 18px;
        gap: 5px;
    }

        .jx-list-pager a,
        .jx-list-pager > span,
        .jx-list-pager > strong,
        .jx-list-pager > em {
            min-width: 34px;
            height: 34px;
            padding: 0 8px;
            line-height: 32px;
        }

    #partsStickyScrollbar,
    #partsFixedThead {
        display: none !important;
    }

    .jx-component-table th.th-photo,
    .jx-component-table th.th-part,
    .jx-component-table td.jx-component-photo,
    .jx-component-table td.jx-component-info {
        position: static;
        left: auto;
        z-index: auto;
        box-shadow: none;
    }

    .jx-source-banner {
        padding-bottom: 38px;
    }

        .jx-source-banner .container {
            width: 94%;
        }

    .jx-source-banner-inner {
        padding: 22px 18px;
        display: block;
    }

    .jx-source-banner-copy h2 {
        font-size: 20px;
        line-height: 29px;
    }

    .jx-source-banner-actions {
        width: 100%;
        margin-top: 18px;
    }

    .jx-source-banner--parts {
        padding-bottom: 42px;
    }
}
