﻿@charset "utf-8";

/* =========================================================
   EGOO Leaf Category Product List
   Brand Color: #e66b2e
========================================================= */

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

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


/* Category introduction */

.egoo-parts-intro {
    margin-top: 24px;
    margin-bottom: 28px;
    padding: 28px 30px;
    border: 1px solid #ececec;
    border-radius: 9px;
    background: #fff;
}

.egoo-parts-intro-head {
    max-width: 1080px;
    margin-bottom: 10px;
}

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

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

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

.egoo-parts-intro-copy {
    max-width: 1100px;
    color: #6b7280;
    font-size: 14px;
    line-height: 23px;
}

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

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

    .egoo-parts-intro-copy a {
        color: #e66b2e;
        text-decoration: none;
    }


/* Product table */

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

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

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

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

    .egoo-component-table thead {
        background: #f7f7f7;
    }

    .egoo-component-table th {
        padding: 11px 11px;
        border-right: 1px solid #ececec;
        border-bottom: 1px solid #e7e7e7;
        background: #f7f7f7;
        color: #374151;
        font-size: 14px;
        line-height: 21px;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
    }

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

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

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

    .egoo-component-table td {
        padding: 10px 11px;
        border-right: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;
        background: #fff;
        color: #6b7280;
        font-size: 14px;
        line-height: 21px;
        vertical-align: middle;
    }

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

    .egoo-component-table tbody tr:hover td {
        background: #fff7f2;
    }

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


/* Photo */

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

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

        .egoo-component-photo > a.p:hover {
            border-color: #e66b2e;
        }

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


/* Part information */

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

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

        .egoo-component-info h2 a {
            color: #1f2937;
            text-decoration: none;
        }

            .egoo-component-info h2 a:hover {
                color: #e66b2e;
            }

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

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

        .egoo-component-info p a {
            color: #e66b2e;
            text-decoration: none;
        }


/* Inventory / price */

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

.egoo-component-price {
    min-width: 174px;
    color: #e66b2e !important;
    text-align: right;
    white-space: nowrap;
}

.egoo-component-price strong {
    color: #e66b2e !important;
    font-weight: normal;
    font-family: myFirstFont;
}

.egoo-list-price-breaks {
    width: 132px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.egoo-list-price-row {
    min-height: 20px;
    display: grid;
    grid-template-columns: 52px auto;
    align-items: baseline;
    justify-content: start;
    column-gap: 5px;
    color: #e66b2e;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
}

.egoo-list-price-row span,
.egoo-list-price-row strong {
    color: #e66b2e !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
}

.egoo-list-price-row span {
    width: 52px;
    text-align: right;
}

.egoo-list-price-row strong {
    text-align: left;
}

.egoo-list-price-extra {
    display: none;
}

.egoo-list-price-breaks.is-expanded .egoo-list-price-extra {
    display: grid;
}

.egoo-list-price-toggle {
    min-height: 22px;
    margin: 2px 0 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    border: 0;
    outline: none;
    background: transparent;
    color: #e66b2e;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.egoo-list-price-toggle:hover,
.egoo-list-price-toggle:focus {
    color: #c95722;
}

.egoo-list-price-toggle i {
    position: relative;
    top: 1px;
    color: inherit;
    font-size: 13px;
    transition: transform .2s ease;
}

.egoo-list-price-breaks.is-expanded .egoo-list-price-toggle i {
    transform: rotate(180deg);
}

/* Quantity / RFQ */

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

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

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

        .egoo-component-qty-input input:focus {
            border-color: #e66b2e;
            box-shadow: 0 0 0 2px rgba(230,107,46,.08);
        }

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

    .egoo-component-rfq-btn:hover {
        background: #e66b2e;
    }


/* Datasheet */

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

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

    .egoo-component-datasheet-link i {
        color: #e66b2e;
    }

    .egoo-component-datasheet-link:hover {
        border-color: #e66b2e;
        background: #e66b2e;
        color: #fff !important;
    }

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

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


/* Sticky first columns */

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

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

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

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

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


/* 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 #e7e7e7;
    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 #ececec;
        border-bottom: 1px solid #e7e7e7;
        background: #f7f7f7;
        color: #374151;
        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: #f7f7f7;
            text-align: center;
        }

        #partsFixedThead th.th-part {
            position: sticky;
            left: 90px;
            z-index: 60;
            width: 235px;
            min-width: 235px;
            max-width: 235px;
            background: #f7f7f7;
            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 #e7e7e7;
    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,
    .egoo-component-table-wrap::-webkit-scrollbar {
        height: 7px;
    }

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

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

        #partsStickyScrollbar .psb-track::-webkit-scrollbar-thumb:hover,
        .egoo-component-table-wrap::-webkit-scrollbar-thumb:hover {
            background: #e66b2e;
        }


/* Pagination */

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

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

    .egoo-list-pager a,
    .egoo-list-pager > span,
    .egoo-list-pager > strong,
    .egoo-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 #e7e7e7;
        border-radius: 5px;
        background: #fff;
        color: #6b7280;
        font-size: 14px;
        line-height: 34px;
        font-style: normal;
        font-weight: 500;
        text-decoration: none;
        box-shadow: none;
    }

        .egoo-list-pager a:hover {
            border-color: #e66b2e;
            color: #e66b2e;
            background: #fff7f2;
        }

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



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

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

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

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

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

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

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

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

.egoo-source-banner-primary,
.egoo-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;
}

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

    .egoo-source-banner-primary:hover {
        border-color: #e66b2e;
        background: #e66b2e;
        color: #fff;
    }

.egoo-source-banner-secondary {
    border: 1px solid #f1d8ca;
    background: #fff;
    color: #e66b2e;
}

    .egoo-source-banner-secondary:hover {
        border-color: #e66b2e;
        background: #fff7f2;
        color: #e66b2e;
    }

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

    .egoo-source-banner--parts .egoo-source-banner-primary {
        border-color: #e66b2e;
        background: #e66b2e;
    }

        .egoo-source-banner--parts .egoo-source-banner-primary:hover {
            border-color: #e66b2e;
            background: #e66b2e;
        }






/* =========================================================
   Category content and FAQ
========================================================= */

.egoo-parts-intro--category {
    margin-top: 10px;
}

.egoo-parts-intro-copy h2,
.egoo-parts-intro-copy h3,
.egoo-parts-intro-copy h4 {
    margin: 18px 0 8px;
    color: #1f2937;
    font-weight: 600;
}

.egoo-parts-intro-copy h2:first-child,
.egoo-parts-intro-copy h3:first-child,
.egoo-parts-intro-copy h4:first-child {
    margin-top: 0;
}

.egoo-parts-intro-copy ul,
.egoo-parts-intro-copy ol {
    margin: 8px 0 12px 20px;
    padding: 0;
}

.egoo-parts-intro-copy li {
    margin-bottom: 5px;
}

.egoo-category-faq {
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 34px;
    padding: 28px 30px;
    border: 1px solid #ececec;
    border-radius: 9px;
    background: #fff;
}

.egoo-category-faq *,
.egoo-category-faq *::before,
.egoo-category-faq *::after {
    box-sizing: border-box;
}

.egoo-category-faq > h2 {
    margin: 0 0 18px;
    padding-left: 14px;
    position: relative;
    color: #111827;
    font-size: 20px;
    line-height: 36px;
    font-weight: 600;
}

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

.egoo-category-faq-body {
    color: #6b7280;
    font-size: 14px;
    line-height: 23px;
}

.egoo-category-faq-body h3 {
    margin: 18px 0 6px;
    color: #1f2937;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.egoo-category-faq-body h3:first-child {
    margin-top: 0;
}

.egoo-category-faq-body p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 23px;
}

.egoo-category-faq-body p:last-child {
    margin-bottom: 0;
}

.egoo-category-faq-body a {
    color: #e66b2e;
    text-decoration: none;
}

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

.egoo-parts-intro--selection .egoo-parts-intro-head > span {
    color: #e66b2e;
}

.egoo-parts-intro--selection .egoo-parts-intro-head h1::before,
.egoo-parts-intro--selection .egoo-parts-intro-head h2::before {
    background: #e66b2e;
}

.egoo-source-banner--selection .egoo-source-banner-inner {
    background: #fff7f2;
    border-color: #f1d8ca;
    border-left-color: #e66b2e;
}

/* Mobile */

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

    .egoo-parts-intro {
        margin-top: 18px;
        margin-bottom: 22px;
        padding: 22px 18px;
    }

    .egoo-parts-intro-head h1,
    .egoo-parts-intro-head h2 {
        padding-left: 12px;
        font-size: 24px;
        line-height: 33px;
    }

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

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

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

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

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

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

    .egoo-component-price {
        min-width: 166px;
    }

    .egoo-list-price-row,
    .egoo-list-price-row span,
    .egoo-list-price-row strong,
    .egoo-list-price-toggle {
        font-size: 14px;
    }

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

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

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

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

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

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

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

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

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

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

    .egoo-category-faq {
        margin-top: 18px;
        margin-bottom: 28px;
        padding: 22px 18px;
    }

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

    .egoo-category-faq > h2::before {
        top: 5px;
        width: 3px;
        height: 20px;
    }

}

/* =========================================================
   Price alignment - fixed two-column widths
   get_goods_price_p() actual output:
   <p><span>1+: </span><span>$0.33000</span></p>
========================================================= */
.egoo-component-price p {
    width: 134px;
    margin: 0 0 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 52px 76px;
    column-gap: 6px;
    align-items: baseline;
    justify-content: start;
    color: #e66b2e;
    line-height: 20px;
    white-space: nowrap;
}

.egoo-component-price p > span {
    display: block;
    margin: 0;
    padding: 0;
    color: #e66b2e;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.egoo-component-price p > span:first-child {
    width: 52px;
    text-align: right;
}

.egoo-component-price p > span:last-child {
    width: 76px;
    text-align: left;
}
