/*
** NOTE: This file is generated by Gulp and should not be edited directly!
** Any changes made directly to this file will be overwritten next time its asset group is processed by Gulp.
** Assets.json at root of the CinchOrchardCoreCMS.Theme project will point you to the files used to generate this.
*/

/* Series Part Page Styles */

#series-part-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px 48px;
}

#series-part-page .series-part-page-content {
    font-family: WixMadeforText;
}

/* Breadcrumb alignment */
#series-part-page .breadcrumbs {
    margin: 24px 0;
}

/* Product info section */
#series-part-page .section-product {
    margin-bottom: 24px;
}

#series-part-page .series-product-info-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

#series-part-page .series-product-info-main .text-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#series-part-page .series-product-info-main .img_container {
    text-align: center;
}

#series-part-page .series-product-info-main .img_product {
    border: solid 1px #e2e5e7;
    background-color: #ffffff;
    padding: 10px;
    display: flex;
    width: 100%;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}

#series-part-page .series-product-info-main .img_product img {
    width: 100%;
    object-fit: cover;
}

#series-part-page .series-product-info-main .img_product video {
    width: 100%;
    object-fit: cover;
}

#series-part-page .img-description {
    display: block;
    font-family: WixMadeforText;
    font-size: 14px;
    color: #5a5e65;
}

/* Thumbnails */
#series-part-page .thumbnail-parent {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    height: auto;
    margin: 16px 0 0 0;
    padding: 0 0 10px 0;
}

#series-part-page .thumbnail-wrapper {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#series-part-page .thumbnail-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
}

#series-part-page .thumbnails div {
    width: 64px;
    height: 64px;
    display: inline-block;
    border: solid 1px #e2e5e7;
    background-color: #ffffff;
    margin-left: 16px;
}

#series-part-page .thumbnails div.thumb {
    padding: 0;
    margin: 0;
    height: auto;
    width: auto;
    cursor: pointer;
}

#series-part-page .thumbnails div.thumb-img {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 0;
    width: 64px;
    height: 64px;
    overflow: hidden;
}

#series-part-page .thumbnails div.thumb-img img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

#series-part-page .thumbnails div.thumb-img video {
    width: 100%;
    height: 100%;
}

#series-part-page .thumb.selected {
    border: 2px solid #00558a;
}

#series-part-page .arrow-wrapper {
    display: flex;
    justify-content: center;
    visibility: hidden;
}

#series-part-page .arrow {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0 5px;
}

/* Product info text */
#series-part-page .product-info h1 {
    color: #32373c;
    font-size: 40px;
    word-wrap: break-word;
    margin: 0;
}

#series-part-page .product-info .header-link2 {
    font-family: Exo2;
    font-size: 24px;
    font-weight: bold;
    color: #002a58;
}

#series-part-page .product-info .body-text {
    font-size: 18px;
    line-height: 1.78;
    color: #32373c;
    margin-bottom: 0;
    max-width: 840px;
    text-wrap: pretty;
}

#series-part-page .product-info .body-text a {
    color: #00558a;
}

#series-part-page .resource-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

#series-part-page .resource-links .datasheet,
#series-part-page .resource-links .drawing {
    display: inline-block;
    text-decoration: none;
    background-color: #003766;
    transition: background-color 0.25s;
}

#series-part-page .resource-links .datasheet:hover,
#series-part-page .resource-links .drawing:hover {
    background-color: #00558a;
}

#series-part-page .resource-links .view-parts-btn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 10px 16px;
    background-color: #ffffff;
    border: 1px solid #003766;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s;
    box-sizing: border-box;
}

#series-part-page .resource-links .view-parts-btn:hover {
    background-color: #f0f4f8;
}

#series-part-page .resource-links .view-parts-btn span {
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: bold;
    color: #003766;
}

#series-part-page .resource-links .resourcelink-button-searchLibrary {
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 0;
    transition: 0.25s;
}

#series-part-page .resource-links .resource-buttonText-searchLibrary {
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
    color: #ffffff;
}

#series-part-page .resource-links .resource-button-image-searchLibrary {
    width: 20px;
    height: 20px;
    flex-grow: 0;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Features & Specifications tab - side-by-side layout */
.series-specs-layout {
    display: flex;
    gap: 48px;
    padding: 32px 0;
}

.series-features-column,
.series-specs-column {
    flex: 1;
    min-width: 0;
}

.series-specs-header {
    font-family: WixMadeforText;
    font-size: 20px;
    font-weight: bold;
    color: #32373c;
    padding: 0 0 16px;
    border-bottom: solid 1px #e2e5e7;
    margin-bottom: 16px;
}

.series-features-list {
    padding-left: 20px;
    margin: 0;
}

.series-features-list li {
    margin-bottom: 8px;
    color: #5a5e65;
    font-size: 18px;
    line-height: 1.6;
}

.series-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.series-specs-table tr:nth-child(even) {
    background-color: rgba(226, 229, 231, 0.16);
}

.series-specs-table td {
    padding: 12px 16px;
}

.series-specs-table td.specName {
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: bold;
    color: #5a5e65;
    white-space: nowrap;
    width: 40%;
}

.series-specs-table td.specValue {
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: normal;
    color: #5a5e65;
}

/* Lifecycle Status Tags (series page scope) */
#series-part-page .CinchTag {
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px 4px 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
    color: #ffffff;
    font-family: WixMadeforText;
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: normal;
}

#series-part-page .CinchTag p {
    margin: 0;
    color: #ffffff;
    font-family: WixMadeforText;
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: normal;
}

#series-part-page .CinchTag-Discontinued {
    background-color: #a0283d;
}

#series-part-page .CinchTag-NRND {
    background-color: #a6502b;
}

#series-part-page .CinchTag-NewProduct {
    background-color: #4d6e31;
}

#series-part-page .CinchTag-active {
    background-color: #0A6466;
}

/* Tabs — reset leaked part.scss styles */
#series-part-page #part-info-container {
    margin-top: 24px;
    justify-content: flex-start;
}

#series-part-page #part-info-tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #e2e5e7;
    gap: 0;
    margin-bottom: 32px;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
}

/* Fix 1: Tab text must be bold */
#series-part-page #part-info-tabs .part-tab-desktop,
#series-part-page #part-info-tabs .part-tab-desktop .CinchText {
    font-weight: bold;
}

/* Series search filters */
#ps-filter-container {
    margin-bottom: 32px;
}

.SeriesTableFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.SeriesSearchNoFilters {
    color: #5a5e65;
    font-size: 14px;
    padding: 8px 0;
}

.SeriesSearchNoParts {
    color: #5a5e65;
    font-size: 16px;
    padding: 24px 0;
    text-align: center;
}

/* Series result info */
.SeriesResultInfo .ResultInfo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.SeriesResultInfo .product-count,
.SeriesResultInfo .ResultInfo .product-count.MainBody-1 {
    font-size: 16px;
    font-weight: normal;
    color: #32373c;
}

.SeriesResultInfo .SelectedSeriesFilters {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 16px;
    margin-left: 16px;
}

.SeriesResultInfo .SelectedSeriesFilters #ps-reset,
.SeriesResultInfo .SelectedSeriesFilters #ps-reset:hover {
    cursor: pointer;
}

.SeriesResultInfo .SelectedSeriesFilters .ps-tag:hover::before {
    background-color: #E2F3FB;
}

.SeriesResultInfo .SelectedSeriesFilters .ps-tag .ChipContent {
    padding-right: 8px;
    gap: 4px;
}

.SeriesResultInfo .SelectedSeriesFilters .ps-tag .ChipContent .CinchText {
    color: #003766;
    margin-right: 0;
    font-size: 14px;
}

.SeriesResultInfo .SelectedSeriesFilters .ps-tag .ChipContent .CinchText.Bold {
    font-weight: bold;
}

/* Products table */
#products-table-container {
    width: 100%;
}

#products-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    border-bottom: none;
}

#products-table thead {
    position: sticky;
    top: 0;
    z-index: 102;
}

#products-table thead tr {
    background-color: #003766;
    color: #ffffff;
}

#products-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    font-family: WixMadeforText;
    text-wrap: auto;
    background-color: #003766;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
}

#products-table thead th:last-child {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

#products-table tbody tr {
    border-bottom: none;
}

#products-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

#products-table tbody tr:hover {
    background-color: transparent;
}

#products-table td {
    padding: 12px 20px;
    vertical-align: middle;
    border-right: 1px solid #e2e5e7;
    font-family: WixMadeforText;
}

#products-table .product-id {
    min-width: 220px;
}

/* Product row */
.row-product-table .product-details-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.row-product-table .product-link {
    color: #002a58;
    text-decoration: underline;
    font-family: Exo2;
    font-weight: bold;
    font-size: 16px;
}

.row-product-table .product-link .MainBody-1 {
    font-family: Exo2;
    font-weight: bold;
    font-size: 18px;
}

.row-product-table .product-tags {
    display: flex;
    gap: 4px;
    margin-bottom: 2px;
}

.row-product-table .product-compare label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    cursor: pointer;
    color: #5a5e65;
}

.row-product-table .product-compare input[type="checkbox"] {
    cursor: pointer;
}

.row-product-table .product-stock-info img.icon,
.row-product-table .product-3d-model img,
.row-product-table .product-pcb-model img {
    width: 24px;
    height: 24px;
}

.row-product-table .not-available {
    opacity: 0.3;
}

/* Product badges (Drawing, 3D Model) */
.row-product-table .product-badges {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin: 6px 0;
    align-items: center;
}

.row-product-table .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    font-size: 14px;
    font-weight: normal;
    color: #00558a;
    text-decoration: none;
    white-space: nowrap;
    border-right: 1px solid #e2e5e7;
}

.row-product-table .product-badge:last-child {
    border-right: none;
}

.row-product-table .product-badge:first-child {
    padding-left: 0;
}

.row-product-table .product-badge img {
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%) invert(24%) sepia(89%) saturate(1032%) hue-rotate(179deg) brightness(93%) contrast(101%);
}

.row-product-table .product-badge:hover {
    text-decoration: underline;
}

.row-product-table .attribute-name {
    font-size: 14px;
    color: #5a5e65;
}

.row-product-table .product-compare {
    margin-top: 4px;
}

/* DataTables overrides */
#products-table thead .sorting,
#products-table thead .sorting_asc,
#products-table thead .sorting_desc {
    cursor: pointer;
    background-color: #003766;
    color: #ffffff;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

#products-table thead .sorting:last-child,
#products-table thead .sorting_asc:last-child,
#products-table thead .sorting_desc:last-child {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

#products-table_wrapper .dataTables_scrollHead {
    overflow: visible !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    color: #ffffff;
}

/* Compare container — sticky wrapper (matches parametric search z-index: 103) */
#ps-compare-container {
    position: sticky;
    top: 0;
    z-index: 103;
    background-color: #ffffff;
}

/* Compare products strip — matches parametric search styling */
#CompareProductsStrip {
    display: none;
    border-top: solid 1px #c9ccce;
    padding: 20px 16px;
    background-color: #fafbfc;
}

#CompareProductsStrip .compare-buttons {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

#CompareProductsStrip .compare-count {
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #32373c;
    white-space: nowrap;
}

#CompareProductsStrip .compare-button-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

#CompareProductsStrip .remove-all-link {
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    color: #002a58;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

#CompareProductsStrip .remove-all-link:hover {
    text-decoration: underline;
}

#CompareProductsStrip .compare-button-container button {
    width: 100%;
    padding: 0px 16px;
    border: none;
    cursor: pointer;
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    white-space: nowrap;
    background-color: #003766;
    color: #ffffff;
}

#CompareProductsStrip .compare-button-container button:hover {
    background-color: #002a58;
}

#CompareProductsStrip .selected-compare-products {
    display: flex;
    gap: 16px;
    align-items: center;
    overflow: auto;
    justify-content: flex-start;
}

#CompareProductsStrip .compare-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    background-color: transparent;
    border: none;
}

#CompareProductsStrip .compare-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

#CompareProductsStrip .compare-item .remove-compare-pn {
    font-family: WixMadeforText;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.67;
    color: #32373c;
    text-align: left;
    white-space: nowrap;
}

#CompareProductsStrip .remove-compare-item {
    background: none;
    border: none;
    font-family: WixMadeforText;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.67;
    color: #a0283d;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

#CompareProductsStrip .remove-compare-item:hover {
    text-decoration: underline;
}

/* Numbered pagination */
.series-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
}

.series-pagination .page-info {
    font-family: WixMadeforText;
    font-size: 16px;
    color: #5a5e65;
}

.series-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.series-pagination .page-btn {
    padding: 6px 10px;
    border: none;
    background: none;
    color: #003766;
    font-family: WixMadeforText;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s;
}

.series-pagination .page-btn:hover:not([disabled]):not(.active) {
    background-color: rgb(95 202 250 / 16%);
}

.series-pagination .page-btn.active {
    font-weight: bold;
    border-bottom: solid 2px #003766;
    color: #003766;
}

.series-pagination .page-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.series-pagination .page-ellipsis {
    padding: 6px 4px;
    color: #5a5e65;
    font-family: Exo2;
    font-size: 14px;
}

.series-pagination .page-prev,
.series-pagination .page-next {
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.series-pagination .page-prev img,
.series-pagination .page-next img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Loading */
#series-part-page .loading {
    display: none;
    justify-content: center;
    width: 100%;
}

#series-part-page .load-more {
    display: none;
    justify-content: center;
    padding: 24px 0;
}

.load-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Share modal */
dialog[data-modal] {
    border: none;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

dialog[data-modal] .message-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

dialog[data-modal] .share-link {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e5e7;
    border-radius: 4px;
}

dialog[data-modal] .CTAs {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Compatible products divider */
.compatible-products-divider {
    height: 1px;
    background-color: #e2e5e7;
    margin: 32px 0;
}

/* CinchHide utility */
.CinchHide {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    #series-part-page .series-product-info-main {
        flex-direction: column;
    }

    #series-part-page .series-product-info-main .col-md-3,
    #series-part-page .series-product-info-main .text-container {
        width: 100%;
        max-width: 100%;
    }

    #series-part-page .product-info h1 {
        font-size: 28px;
    }

    .series-specs-layout {
        flex-direction: column;
        gap: 24px;
    }

    #products-table {
        font-size: 12px;
    }
}
