﻿.hs-landing-page-container {
    background: none !important;
    /* max-width: 2000px !important; */
}

/* Model column vertical stacking */
.model-col-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 120px;
    word-break: break-word;
}
.model-col-content a {
    text-decoration: none;
    color: inherit;
}
.model-title {
    margin-bottom: 2px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
}
.model-img {
    margin: 4px 0;
}
.model-pdf {
    margin: 2px 0;
}
.model-pdf a {
    color: inherit !important;
    text-decoration: none;
    font-size: 13px;
}

/* amplifiers.css - Styles for amplifiers.php product catalog and facets */
.data-table-container {
    width: 95% !important;
    margin: 30px auto;
    padding-bottom: 30px;
}
#productsTable_wrapper {
    width: 95% !important;
    margin: 30px auto;
    padding-bottom: 30px;
    overflow-x: auto;
}
#productsTable_wrapper #productsTable_length {
    margin-bottom: 15px;
}
#productsTable {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(36, 51, 71, 0.08);
    background: white;
    overflow: scroll;
}
#productsTable thead th {
    background: #1d1b39;
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    border: 1px solid #fff;
    min-width: 250px;
    padding: 0 !important;
    height: 40px !important;
}
#productsTable thead th .col-title {
    justify-content: center;
    height: 40px !important;
    align-items: center;
    display: flex;
}
#productsTable tbody tr {
    transition: background 0.2s ease;
    background-color: #fff !important;
}
#productsTable td {
    padding: 12px 10px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #E6E6E6;
    box-shadow: none !important;
    border-left: 1px solid #E6E6E6;
}
#productsTable td:last-child {
    border-right: 1px solid #E6E6E6;
}
#productsTable td.sorting {
    box-shadow: none !important;
}
#productsTable td .part-items {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
}
#productsTable td .part-items a {
    color: initial;
}
#productsTable thead th::before,
#productsTable thead th::after {
    display: none;
}
#productsTable thead {
    pointer-events: none;
}
#productsTable thead .sort-btn-group,
#productsTable thead .sort-button-asc,
#productsTable thead .sort-button-desc {
    pointer-events: auto;
}
#productsTable td .col-view-btn {
    background-color: #ffffff !important;
    border: 1px solid #001871 !important;
    color: #001871 !important;
    padding: 10px 25px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
}
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    gap: 8px;
    min-height: 48px;
    background: #f7f9fc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(36,51,71,0.06);
    padding: 8px 0 4px 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #fff;
    border: 1px solid #243347;
    color: #243347 !important;
    border-radius: 6px;
    padding: 7px 16px;
    margin: 0 4px 4px 4px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(36,51,71,0.07);
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    cursor: pointer;
    outline: none;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:focus {
    background: #243347 !important;
    color: #fff !important;
    border-color: #243347 !important;
    box-shadow: 0 2px 8px rgba(36,51,71,0.13);
    font-weight: 700;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
    background: #f0f4f8 !important;
    color: #243347 !important;
    border-color: #0066cc !important;
    box-shadow: 0 2px 8px rgba(0,102,204,0.10);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    background: #f7f7f7 !important;
    color: #aaa !important;
    border-color: #eee !important;
    box-shadow: none !important;
}
.dataTables_wrapper .dataTables_paginate .ellipsis {
    background: none !important;
    border: none !important;
    color: #888 !important;
    font-size: 16px;
    padding: 0 8px;
    min-width: 18px;
    display: inline-block;
}
@media (max-width: 600px) {
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 7px 10px;
        font-size: 13px;
    }
    .dataTables_wrapper .dataTables_paginate {
        gap: 4px;
    }
}
#customSearchInput,
#minFreqInput,
#maxFreqInput {
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}
#customSearchInput:focus,
#minFreqInput:focus,
#maxFreqInput:focus {
    border-color: #243347;
}
#resetFiltersBtn {
    background: #243347;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}
#resetFiltersBtn:hover {
    background: #0066cc;
}
#searchFiltersBtn {
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
    margin-right: 6px;
}
#searchFiltersBtn:hover {
    background: #004999;
}
.search-block {
    width: 100%;
}
.loading-row {
    background: #f0f0f0 !important;
    opacity: 0.6;
    pointer-events: none;
}
table.custom-table {
    border-collapse: collapse;
    width: 100%;
}
.sort-button-asc {
    border-right: 1px solid !important;
}
.sort-btn-group {
    width: 100%;
    margin-bottom: 0;
    height: 43px;
    border-top: 1px solid;
    display: flex;
}
.sort-button-asc,
.sort-button-desc {
    cursor: pointer;
    border: none;
    background: none;
    color: #fff;
    font-size: 16px;
    width: 50%;
    padding-top: 5px;
    transition: background 0.18s, color 0.18s;
}
.sort-button-asc {
    border-right: 1px solid #fff !important;
}
.sort-button-desc {
    border-left: 1px solid #fff !important;
}
.sort-button-asc.active {
    color: #f0762d;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,102,204,0.08);
}
.sort-button-desc.active {
    color: #f0762d;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(211,47,47,0.08);
}
.sort-button-asc::before {
    content: '\25B2';
    display: block;
}
.sort-button-desc::before {
    content: '\25BC';
    display: block;
}
.filter-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.filter-field {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #243347;
}
.filter-field label {
    margin-bottom: 6px;
    font-size: 14px;
}
.filter-field input,
.filter-field select {
    width: 180px;
    padding: 5px 12px 4px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 15px;
    background: #f7f9fc;
    color: #243347;
    transition: all 0.2s ease;
}
.filter-field input:focus,
.filter-field select:focus {
    outline: none;
    border-color: #4e6ef2;
    box-shadow: 0 0 0 2px rgba(78, 110, 242, 0.15);
    background: #ffffff;
}
.facet-container {
    display: flex;
    gap: 20px;
    margin: auto;
    min-width: 150px;
    overflow-x: auto;
}
@media (max-width: 900px) {
    .facet-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 8px;
        max-width: 100vw;
        margin-top: 2em;
    }
    .facet-section {
        min-width: 220px;
        max-width: 90vw;
        flex: 0 0 auto;
        margin-bottom: 0;
    }
}
.facet-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-height: 300px;
    border-radius: 0;
    width: 171.55078125px;
    min-width: 150px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.08);
    height: 300px;
}
.facet-section .facet-item-section {
    padding: 8px 0;
    overflow: auto;
    flex-grow: 1;
}
.facet-section .facet-item-section::-webkit-scrollbar {
    width: 6px;
}
.facet-section .facet-item-section::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}
.facet-title {
    text-transform: uppercase;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 0.5rem;
    background: #ffffff;
    color: #243347;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    padding: 12px;
}
.facet-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    padding-left: 12px;
}
.facet-item input {
    margin-right: 6px;
    cursor: pointer;
    margin-left: 0;
}
.facet-item span {
    color: #888;
    font-size: 12px;
    margin-left: 3px;
}
.dataTables_filter {
    display: none !important;
}
.selected-facet-tag {
    display: inline-block;
    background: #e3e9f6;
    color: #243347;
    border-radius: 16px;
    padding: 4px 12px 4px 10px;
    margin: 0 8px 8px 0;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    cursor: default;
    border: 1px solid #b3c0dd;
    transition: background 0.2s;
}
.selected-facet-tag .remove-selected-facet {
    margin-left: 8px;
    color: #f0762d;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: color 0.2s;
}
.selected-facet-tag .remove-selected-facet:hover {
    color: #d32f2f;
}
.facet-container.facet-empty{
    display: none !important;
}
#selected-facets.facet-empty{
    display: none !important;
}

