:root {
    --table-heading-primary-bgcolor: #c12017;
    --mobile-table-thead-primary-color: #c12017;
    --table-section-main-title-color: #00205b;
    --table-sections-main-font-family: Poppins, sans-serif;
    --table-thead-primary-color: #fff;
    --table-custom-border: 1px solid #0000001a;
    --table-buy-button-bgcolor: #4c83ff;
    --table-buy-button-color: #fff;
    --table-caption-bgcolor: #222;
    --table-caption-color: #fff;
    --mobile-view-product-name: dashed 1px #222;
    --mobile-view-card-border: solid 1px #ebebeb;
    --redirect-btn-bgcolor: #3083ff;
    --redirect-btn-color: #fff;
    --price-range-color: var(--table-section-main-title-color);
    --accent-color: var(--table-heading-primary-bgcolor);
    --accent-color-dark: #a31a14
}

.j-tbl-container {
    max-width: 1500px;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    overflow: hidden;
    background: white
}

.j-tbl-head {
    display: grid;
    grid-template-columns: 400px 1fr 300px;
    align-items: center;
    background: black;
    background: linear-gradient(to right, #292625ff, #000000ff);
    color: var(--table-thead-primary-color);
    padding-inline: 15px;
    padding-block: 12px;
    font-size: 20px;
    font-weight: 600;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    scroll-margin-top: 300px
}

.j-tbl-head p {
    text-align: center;
    margin: 0
}

.j-tbl-head p:first-child {
    text-align: left;
    padding-left: 15px
}

.j-server-pricing-sub-des {
    margin: 0
}

.j-server-pricing-des {
    margin: 0;
    font-style: italic;
    color: #a1a1a1;
    font-size: 12px
}

.j-tbl-body {
    border-radius: 10px;
    display: grid;
    grid-template-columns: 500px 1fr 300px;
    transition: .3s ease;
    margin-top: 20px;
    box-shadow: rgba(50, 50, 93, .25) 0 6px 12px -2px, rgba(0, 0, 0, .3) 0 3px 7px -3px
}

@media (max-width:1399px) {
    .j-tbl-body {
        grid-template-columns: 450px 1fr auto
    }
}

@media (max-width:1199px) {
    .j-tbl-body {
        grid-template-columns: 1fr
    }

    .j-tbl-head {
        display: none
    }

    .j-99-new-filter-container {
        position: relative !important
    }

    .j-server-pricing {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center;
        border-left: none;
        border-top: var(--table-custom-border, 1px solid #0000001a);
        padding: 15px
    }

    .j-server-features-box span {
        height: 30px !important
    }

    .j-server-pricing-original {
        font-size: 16px !important
    }

    .j-server-pricing-discount {
        margin-left: -55%
    }
}

@media (max-width:768px) {
    .j-server-product-brand {
        position: revert !important;
        margin-left: -6%
    }

    .j-server-details {
        height: auto !important
    }

    .j-server-details-bottom {
        gap: 10px
    }

    .j-server-pricing-discount {
        margin-left: -40%
    }
}

@media (max-width:692px) {
    .j-server-pricing-discount {
        margin-left: -20%
    }
}

.g-new-product-pricing-table-wrapper {
    margin: 15px
}

.j-tbl-body:last-child {
    border-bottom: none
}

.j-tbl-body:hover {
    transform: scale(1.01);
    box-shadow: rgba(0, 0, 0, .24) 0 3px 8px
}

.j-server-details {
    padding: 15px;
    color: black;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;
    border-right: 1px solid #f1f1f1;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px
}

.j-server-product-brand {
    width: 50px;
    height: auto;
    display: flex;
    gap: 5px;
    position: absolute;
    left: 75%
}

.j-server-product-brand img {
    width: 100%
}

.j-server-details span {
    position: absolute;
    top: 22%;
    right: 1%;
    width: 250px;
    height: auto;
    opacity: .1
}

.j-server-details span img {
    width: 100%;
    display: block
}

.g-new-product-pricing-table-wrapper .j-tbl-body:nth-child(even) .j-server-details {
    background: #ffffffff
}

.g-new-product-pricing-table-wrapper .j-tbl-body:nth-child(odd) .j-server-details {
    background: #ffffffff
}

.j-server-details.brand-intel {
    background-image: url('/assets/images/intel-server-product.webp')
}

.j-server-details.brand-amd {
    background-image: url('/assets/images/amd-server-product.webp')
}

.j-server-details.brand-ampere {
    background-image: url('/assets/images/amepere-server-product.webp')
}

@media (max-width:992px) {

    .j-server-details.brand-intel,
    .j-server-details.brand-amd,
    .j-server-details.brand-ampere {
        background-image: none;
        background-color: #ffffff
    }

    .j-server-details-id {
        flex-direction: column;
        align-items: center;
        gap: 15px
    }

    .j-server-details {
        gap: 15px
    }
}

.j-tbl-body.brand-intel {
    box-shadow: rgba(8, 109, 183, .4) 0 3px 8px
}

.j-tbl-body.brand-amd {
    box-shadow: rgba(223, 8, 54, .4) 0 3px 8px
}

.j-tbl-body.brand-ampere {
    box-shadow: rgba(255, 12, 8, .4) 0 3px 8px
}

.j-server-processor.brand-intel {
    color: #086db7
}

.j-server-processor.brand-amd {
    color: #df0836
}

.j-server-processor.brand-ampere {
    color: #ff0c08
}

.j-server-features-box span {
    font-weight: 500;
    padding-inline: 15px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, .12) 0 1px 3px, rgba(0, 0, 0, .24) 0 1px 2px;
    width: 100%;
    margin-right: 15px;
    transition: all .4s;
    cursor: pointer;
    display: flex;
    align-items: center
}

.j-server-features-box span:hover {
    transform: scale(1.05)
}

.j-server-processor {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: -5px
}

@media (min-width:1024px) {
    .j-server-processor {
        width: 350px
    }
}

.j-server-processor-details {
    font-size: 18px;
    font-weight: 500;
    opacity: .9
}

.j-server-details-id {
    width: fit-content;
    padding: 6px 10px 6px 10px;
    color: black;
    margin: 0;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    background: white;
    box-shadow: rgba(0, 0, 0, .12) 0 1px 3px, rgba(0, 0, 0, .24) 0 1px 2px
}

.j-server-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    box-sizing: border-box;
    padding: 15px
}

.j-server-features-box {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px
}

.j-server-features-box i {
    border-radius: 50%;
    font-size: 18px;
    color: var(--accent-color);
    min-width: 20px;
    text-align: center
}

.j-server-feature-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-evenly
}

.j-server-feature-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    justify-content: space-evenly;
    border-right: 1px solid #f1f1f1
}

.j-server-pricing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 10px;
    height: 100%;
    box-sizing: border-box
}

.j-server-pricing-discount {
    font-size: 30px;
    font-weight: 600;
    color: #006e2d
}

.j-server-buy-btn {
    color: var(--table-buy-button-color);
    padding: 10px 22px;
    font-size: 18px;
    cursor: pointer;
    transition: .6s;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(10deg, #003b98, #0a86ff)
}

.j-server-buy-btn:hover {
    color: white
}

@keyframes shine {
    0% {
        left: -100%
    }

    50% {
        left: 100%
    }

    100% {
        left: 100%
    }
}

.j-tbl-body:hover .j-server-buy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    animation: shine 3s 1 forwards
}

.j-tbl-title {
    background: #181836;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-inline: 30px;
    font-size: 20px;
    font-weight: 600;
    justify-content: space-between;
    display: flex
}

@media (max-width:1024px) {
    .j-tbl-head {
        grid-template-columns: 300px 1fr 240px;
        font-size: 18px
    }

    .j-server-processor {
        font-size: 20px
    }

    .j-server-processor-details {
        font-size: 16px
    }

    .j-server-features {
        grid-template-columns: 1fr
    }

    .j-server-pricing span {
        font-size: 24px
    }

    .j-server-buy-btn {
        font-size: 16px;
        padding: 8px 18px
    }
}

@media (max-width:768px) {
    

    .j-tbl-container {
        box-shadow: none;
        border-radius: 0;
        background: transparent
    }

    .j-tbl-head {
        display: none
    }

    .j-tbl-body {
        display: block;
        border: var(--mobile-view-card-border, solid 1px #ebebeb);
        border-radius: 15px;
        margin-bottom: 20px;
        background: white;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .07);
        overflow: hidden;
        border-bottom: var(--mobile-view-card-border, solid 1px #ebebeb)
    }

    .j-tbl-body:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
    }

    .j-server-details {
        border-radius: 0;
        text-align: center;
        height: 150px;
        align-items: center
    }

    .j-server-details::after {
        display: none
    }

    .j-server-features {
        grid-template-columns: 1fr;
        padding: 20px 15px
    }
}

@media (max-width:480px) {
    .j-server-features-box span {
        word-break: break-word;
        height: 55px !important
    }

    .j-server-pricing-discount {
        margin-left: 0
    }

    .j-server-pricing {
        flex-direction: column !important;
        gap: 15px;
        align-items: stretch
    }

    .j-server-pricing span {
        text-align: center
    }

    .j-server-buy-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box
    }
}

.common-section:nth-of-type(2) {
    display: none
}

.product-filtering-title {
    color: black !important
}

@media (max-width:992px) {
    .product-filtering-container {
        grid-template-columns: 1fr !important
    }
}

.j-server-pricing-original {
    color: #db000087;
    text-decoration: line-through
}

.filter-main-container {
    padding: 25px 0
}

.filter-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px
}

.filter-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--table-section-main-title-color);
    display: flex;
    align-items: center
}

.filter-heading i {
    font-size: 32px;
    margin-right: 10px;
    color: var(--table-heading-primary-bgcolor)
}

.reset-filters-btn {
    padding: 12px 25px;
    background-color: var(--table-heading-primary-bgcolor);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s, transform .2s;
    box-shadow: 0 4px 8px rgba(193, 32, 23, .3);
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.reset-filters-btn:hover {
    background-color: #a31a14;
    transform: translateY(-1px)
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px
}

.filter-card {
    background-color: white;
    border: 1px solid var(--filter-card-border-color);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column
}

.filter-group-header {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--filter-card-border-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center
}

.filter-group-header i {
    color: var(--filter-tag-selected-bg);
    margin-right: 8px
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.filter-tag {
    padding: 8px 15px;
    background-color: var(--filter-tag-bg);
    color: var(--filter-tag-color);
    border: 1px solid var(--filter-tag-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 14px;
    font-weight: 500;
    flex-grow: 0;
    text-align: center;
    min-width: 80px
}

.filter-tag:hover {
    border-color: var(--filter-tag-selected-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .05)
}

.filter-tag.active {
    background-color: var(--filter-tag-selected-bg);
    color: var(--filter-tag-selected-color);
    border-color: var(--filter-tag-selected-bg);
    box-shadow: 0 4px 8px rgba(0, 32, 91, .3)
}

.price-range-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 16px
}

.price-min,
.price-max {
    color: var(--price-range-color);
    padding: 5px 10px;
    border: 1px solid var(--filter-card-border-color);
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
    background-color: var(--filter-tag-bg)
}

#max-price-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    margin-top: 10px
}

#max-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--price-range-color);
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2)
}

.reset-options-btn {
    background: none;
    border: none;
    color: var(--table-heading-primary-bgcolor);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: color .2s;
    text-decoration: none
}

.reset-options-btn:hover {
    color: var(--table-section-main-title-color);
    text-decoration: underline
}

@media (max-width:600px) {
    .filter-grid {
        grid-template-columns: 1fr
    }

    .filter-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px
    }

    .reset-filters-btn {
        width: 100%
    }
}

.common-section {
    display: none
}

.j-server-details-loc {}

.j-99-new-filter-container {
    padding: 25px 0;
    background-color: white;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    border: 1px solid #e0e0e0;
    position: sticky;
    top: 8%;
    z-index: 1000;
    scroll-margin-top: 300px;
    box-shadow: rgba(0, 0, 0, .25) 0 14px 28px, rgba(0, 0, 0, .22) 0 10px 10px
}

.j-99-new-filter-dropdown-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
    justify-content: space-around
}

.j-99-filter-group {
    position: relative;
    flex-grow: 1;
    min-width: 200px
}

.j-99-filter-button {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background-color: #fff;
    color: #ffffffff;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .2s;
    background: linear-gradient(10deg, #003b98, #0a86ff);
    box-shadow: rgba(50, 50, 93, .25) 0 6px 12px -2px, rgba(0, 0, 0, .3) 0 3px 7px -3px
}

.j-99-filter-button:hover {
    border-color: var(--accent-color)
}

.j-99-filter-button.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(193, 32, 23, .2);
    color: var(--accent-color-dark) !important;
    background: white;
    font-weight: normal
}

.j-99-filter-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    box-shadow: rgba(0, 0, 0, .3) 0 19px 38px, rgba(0, 0, 0, .22) 0 15px 12px;
    display: none;
    padding: 10px 0
}

.j-99-filter-content.show {
    display: block;
    width: 100% !important
}

.j-99-filter-option {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 15px;
    color: #555;
    transition: background-color .15s;
    display: flex;
    justify-content: space-between
}

.j-99-filter-option:hover {
    background-color: #f5f5f5
}

.j-99-filter-option.selected {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600
}

.j-99-filter-price-range {
    padding: 15px
}

.j-99-filter-price-range label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--table-section-main-title-color)
}

.j-99-price-display {
    font-size: 18px;
    font-weight: 700;
    color: black;
    margin-bottom: 15px;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    background-color: #f9f9f9
}

.j-99-new-filter-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 0;
    margin-bottom: 20px;
    gap: 10px;
    align-items: center
}

.j-99-new-filter-actions button {
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color .2s;
    display: flex;
    align-items: center;
    gap: 5px
}

.j-99-new-filter-actions button:hover {
    background-color: var(--accent-color-dark)
}

.j-99-new-filter-actions button:first-child {
    background-color: #000000ff
}

.j-99-new-filter-actions button:first-child:hover {
    background-color: #5a6268
}

#price-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    background: #e0e0e0
}

#price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    margin-top: -6px
}

#price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3)
}

.j-99-new-filter-img {
    width: 27px
}

.j-99-new-filter-img img {
    width: 100%
}

.j-99-min-pre-price {
    display: flex;
    justify-content: space-between
}

.j-99-min-pre-price:first-child {
    color: #005000;
    font-weight: 700
}

.j-99-min-pre-price:last-child {
    color: #8d0000;
    font-weight: 700
}

.j-99-server-loc-icon {
    border-radius: 50%;
    font-size: 18px;
    color: var(--accent-color);
    min-width: 20px;
    text-align: center
}

.j-server-details-bottom {
    display: flex;
    justify-content: space-between
}

#scroll-down-btn {
    cursor: pointer
}

#scroll-up-btn {
    cursor: pointer
}

.j-99-sort-dropdown {
    position: relative;
    display: inline-block;
}

.j-99-sort-control {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    user-select: none;
}

.j-99-sort-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
    display: none;
    z-index: 99;
}

.j-99-sort-menu.show {
    display: block;
}

.j-99-sort-option {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.j-99-sort-option:hover {
    background: #f4f4f4;
}

.j-99-filter-group.dropdown-open {
    z-index: 1001;
}

.j-99-new-filter-actions {
    position: relative;
    z-index: 50
}

.j-99-new-filter-dropdown-wrapper {
    position: relative;
    z-index: 40
}

.j-99-sort-menu {
    z-index: 100 !important
}
