:root {
    --jst-green: #12a033;
    --jst-green-dark: #0d7f27;
    --jst-blue: #2e6ec0;
    --jst-text: #525252;
    --jst-heading: #3a3a3a;
    --jst-muted: #7a7a7a;
    --jst-border: #e4e7eb;
    --jst-surface: #ffffff;
    --jst-radius: 10px;
    --jst-radius-sm: 8px;
    --jst-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05);
}

.product-category {
    background: #f4f6f9;
}

.product-category .product-category-container {
    padding: 20px 3.4% 55px 3.6% !important;
}
.product-category .category-breadcrumb-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    color: #6b7785 !important;
    font-size: 13px;
    line-height: 1.6;
    padding: 0 0 12px !important;
    margin: 0 0 18px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e4e7eb;
}

.product-category .category-breadcrumb-bar .sep {
    color: #b6c0cb !important;
}

.product-category .category-breadcrumb-bar a,
.product-category .category-breadcrumb-bar a:link,
.product-category .category-breadcrumb-bar a:visited {
    color: #2e6ec0 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.product-category .category-breadcrumb-bar a:hover {
    color: #1f57a0 !important;
    text-decoration: underline !important;
}
#primary .product-category-container > .products-toolbar:first-of-type {
    margin-top: 20px !important;
}
#primary .product-category-container > .products-toolbar:last-of-type {
    margin-top: 28px !important;
}


.products-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px 16px;
    width: 100%;
    padding: 12px 18px;
    background: var(--jst-surface);
    border: 1px solid var(--jst-border);
    border-radius: var(--jst-radius);
    box-shadow: var(--jst-shadow);
    margin-bottom: 18px;
}

.products-toolbar__results {
    flex: 0 1 auto;
    text-align: right;
    white-space: nowrap;
    font-size: 14px;
    color: #5a5a5a;
}

.products-toolbar__perpage {
    flex: 0 1 auto;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
    color: #5a5a5a;
}

.products-toolbar__label {
    font-weight: 700;
    color: #4a4a4a;
}

.products-toolbar__muted {
    color: #5a5a5a;
}

#items-title,
#items-title-two {
    color: var(--jst-blue);
    font-weight: 700;
}

.hrs-form-select {
    height: 36px;
    padding: 0 32px 0 12px;
    border: 1px solid #ddd !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    color: var(--jst-heading);
    background: #fff url('https://www.jst.com/wp-content/uploads/2025/04/ic-dropdown.png') no-repeat right 10px center;
    background-size: 12px auto;
    -webkit-appearance: none;
    appearance: none;
}

.product-category .product-category-inner-container {
    grid-template-columns: 30% 67% !important;
    column-gap: 3% !important;
    padding-top: 20px;
    align-items: start;
}

.product-category .product-category-filter-container {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 6px;
}

.product-category .product-category-filter-container::-webkit-scrollbar,
.selection-container::-webkit-scrollbar {
    width: 8px;
}

.product-category .product-category-filter-container::-webkit-scrollbar-thumb,
.selection-container::-webkit-scrollbar-thumb {
    background: #d5dae0;
    border-radius: 8px;
}

.product-category .product-category-filter-inner-container #clearFilter {
    display: block;
    background: var(--jst-green);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 11px 14px;
    border-radius: var(--jst-radius-sm);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(18, 160, 51, .25);
    transition: background .2s ease, transform .1s ease;
}

.product-category .product-category-filter-inner-container #clearFilter:hover {
    background: var(--jst-green-dark);
}

#selected-conditions {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    min-height: 70px;
    padding: 10px 12px;
    margin-top: 10px;
    margin-bottom: 22px;
    background: #fbfcfd;
    border: 1px dashed var(--jst-border);
    border-radius: var(--jst-radius-sm);
}

.condition-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 4px 8px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--jst-text);
    background: #fff;
    border: 1px solid var(--jst-border);
    border-radius: 999px;
}

.mh {
    font-weight: 700;
    padding: 0 2px;
    color: var(--jst-muted);
}

.contentval {
    color: var(--jst-blue);
    font-weight: 600;
}

.delete-icon {
    margin-left: 5px;
    color: #d9534f;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    opacity: .75;
}

.delete-icon:hover {
    opacity: 1;
}

.filter-block {
    padding: 0;
}

.filter-block > .filters-title,
.filter-block > p.large-text-alt {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--jst-green);
    margin: 4px 0 12px;
}

.filter-category-container {
    margin-bottom: 10px;
    background: var(--jst-surface);
    border: 1px solid var(--jst-border);
    border-radius: var(--jst-radius-sm);
    overflow: hidden;
}

.filter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    background: #fafbfc;
    cursor: pointer;
    transition: background .18s ease;
}

.filter-container:hover {
    background: #f2f6f3;
}

.filter-dropdown h4,
.filter-container.navy-txt {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--jst-heading);
    margin: 0;
}

#itemsearch {
    font-size: 15px !important;
    font-weight: 600;
    color: var(--jst-heading) !important;
}

svg.down-up-arrow {
    width: 14px;
    height: 10px;
    flex: 0 0 auto;
    stroke: var(--jst-green);
    stroke-width: 3;
    fill: none;
    transition: transform .28s ease;
}

.down-up-arrow.rotate-icon {
    transform: rotate(180deg);
}

.selection-container {
    padding: 8px 14px 12px;
    border-top: 1px solid var(--jst-border);
    max-height: 320px;
    overflow-y: auto;
}

.selection-inner-container > div,
.value-category,
.value-series,
.value-pitch,
.value-current,
.value-voltage,
.value-rohs {
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 5px 0;
    font-size: 14px;
    color: var(--jst-text);
}

.selection-inner-container .value-category label,
.selection-inner-container .value-series label,
.selection-inner-container .value-features label {
    display: inline-block;
    margin: 0;
    font-weight: 400;
    color: var(--jst-text);
    cursor: pointer;
}

.selection-inner-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--jst-green);
    cursor: pointer;
}

.product-category-product-container {
    min-height: 320px;
}

.product-category-product-container .product-category-product-inner-container {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.product-category-product-container .product-preview-container {
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    outline: 0 !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

.product-category-product-container .product-preview-container:hover {
    border-color: #cfd8e3 !important;
    box-shadow: 0 3px 12px rgba(16, 24, 40, .07) !important;
}

.product-category-product-container .product-preview-inner-container {
    border: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    background: #fff !important;
}

.product-category-product-container .preview-container {
    display: grid !important;
    grid-template-columns: minmax(200px, 32%) 1fr !important;
    gap: 24px !important;
    padding: 20px 22px !important;
    align-items: start !important;
}

.product-category-product-container .product-preview-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafbfc;
    border-radius: 8px;
    overflow: hidden;
}

.product-category-product-container .product-preview-image img {
    display: block;
    width: 100% !important;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border: 0 !important;
}

.product-category-product-container .product-preview-details {
    padding: 0 !important;
    max-height: none !important;
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #4a4a4a !important;
}

.product-category-product-container .product-preview-details .product-name {
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #5b6673 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.8 !important;
}

.product-category-product-container #series-name,
.product-category-product-container #categery_name {
    color: #2e6ec0 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.product-category-product-container #series-name:hover,
.product-category-product-container #categery_name:hover {
    color: #1f57a0 !important;
    text-decoration: none !important;
}

.product-category-product-container .preview-features-container {
    border-top: 0 !important;
    margin-top: 14px !important;
    padding-top: 0 !important;
}

.product-category-product-container .preview-features-inner-container {
    padding-top: 0 !important;
}

.product-category-product-container .d3-file {
    width: 100% !important;
    max-width: 420px;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 8px 16px !important;
    background: #12a033 !important;
    border: 1px solid #12a033 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background .2s ease, border-color .2s ease !important;
}

.product-category-product-container .d3-file a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none !important;
}

.product-category-product-container .d3-file span {
    color: #fff !important;
}

.product-category-product-container .d3-file img {
    width: 18px !important;
    height: 18px !important;
}

.product-category-product-container .d3-file:hover {
    background: var(--jst-green-dark) !important;
    border-color: var(--jst-green-dark) !important;
}

.product-category-product-container .click-information-wrap {
    padding-top: 12px !important;
}

.product-category-product-container .click-information-block {
    width: 100% !important;
    max-width: 420px;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px !important;
    padding: 8px 16px !important;
    background: #fff !important;
    border: 1px solid #9fb2c6 !important;
    border-radius: 6px !important;
    color: #3f4a56 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease !important;
}

.product-category-product-container .click-information-block span {
    color: #3f4a56 !important;
    font-size: 13px !important;
}

.product-category-product-container .click-information-block::after {
    content: "▼";
    margin-left: 6px;
    font-size: 10px;
    line-height: 1;
}

.product-category-product-container .click-information-block.active::after {
    content: "▲";
}

.product-category-product-container .click-information-block:hover {
    border-color: #2e6ec0 !important;
    background: #f5f9ff !important;
    color: #2e6ec0 !important;
}

.product-category-product-container .click-information-block:hover span {
    color: #2e6ec0 !important;
}

.product-category-product-container .information-block {
    display: none;
    padding: 0 22px 22px;
}

.product-category-product-container .detail-mid-container {
    margin: 0 !important;
    padding: 0 !important;
}

.product-category-product-container .detail-mid-container table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
}

.product-category-product-container .detail-mid-container table td {
    width: 50%;
    padding: 11px 16px !important;
    border: 1px solid #cfd8e3 !important;
    background: #fff !important;
    color: #4a4a4a !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

.product-category-product-container .detail-mid-container table .td1,
.product-category-product-container .detail-mid-container table td:first-child {
    background: #eef4f9 !important;
    color: #3f4a56 !important;
    font-weight: 600 !important;
}

.product-category-product-container .detail-mid-container + .detail-mid-container table td {
    border-top: 0 !important;
}

.product-category-product-container .detail-mid-container table tr:hover td {
    background: #f7fafd !important;
}

.product-category-product-container .detail-mid-container table tr:hover td.td1 {
    background: #e6eff7 !important;
}

#product-pagination-container,
#product-pagination-container-two {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

#primary div.simple-pagination {
    width: 100%;
}

#primary div.simple-pagination ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#primary div.simple-pagination ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

#primary div.simple-pagination ul li a,
#primary div.simple-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 6px;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
    line-height: 1;
    color: var(--jst-blue) !important;
    text-decoration: none;
}

#primary div.simple-pagination ul li a:hover {
    background: #eef4ff !important;
}

#primary div.simple-pagination ul li.active > a,
#primary div.simple-pagination ul li.active > span,
#primary div.simple-pagination ul li a.current,
#primary div.simple-pagination ul li span.current,
#primary div.simple-pagination .current {
    background: var(--jst-green) !important;
    color: #fff !important;
    font-weight: 700;
}

#primary div.simple-pagination .prev,
#primary div.simple-pagination .next {
    background: transparent !important;
    color: var(--jst-blue) !important;
    font-weight: 700;
}

#primary div.simple-pagination .prev.disabled,
#primary div.simple-pagination .next.disabled {
    opacity: .4;
    pointer-events: none;
}

.page-link {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    background-color: rgba(17, 24, 39, .45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.loading-spinner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 46px;
    margin: auto;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .35);
    border-top-color: var(--jst-green);
    animation: jst-spin .8s infinite linear;
}

@keyframes jst-spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 576px) {
    .products-toolbar {
        flex-wrap: wrap;
        padding: 12px;
    }

    .products-toolbar__results,
    .products-toolbar__perpage {
        flex: 1 1 100%;
        text-align: center;
        padding-bottom: 4px;
    }

    #product-pagination-container,
    #product-pagination-container-two {
        flex: 1 1 100%;
        justify-content: center;
    }

    #primary div.simple-pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-category .product-category-filter-container {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .product-category-product-container .preview-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
    }

    .product-category-product-container .d3-file,
    .product-category-product-container .click-information-block {
        max-width: 100%;
    }

    .product-category-product-container .information-block {
        padding: 0 16px 16px;
    }
}
.product-category .category-breadcrumb-bar {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.product-category .category-breadcrumb-bar a,
.product-category .category-breadcrumb-bar a:link,
.product-category .category-breadcrumb-bar a:visited {
    font-weight: 600 !important;
}

.product-category .category-breadcrumb-bar .sep {
    font-weight: 600 !important;
}
