:root {
    /* Text Colors */
    --color-text-primary: #E3E3ED;
    --color-text-secondary: #B3B3B3;
    --color-text-tertiary: #9B9B9B;
    --color-text-quaternary: #7B7B7B;
    --color-text-quinary: #3F3E3E;
    --color-text-tertiary-dark: #272626;
    --color-text-white: #FFFFFF;
    --color-text-success: #00B8A1;
    --color-text-info: #26A9F1;
    --color-text-alert: #FE4E52;
    --color-text-warning: #E18528;
    --color-text-brand-400: #FF6B2C;
    --color-text-brand-500: #F96418;

    /* BG Colors */
    --color-bg-base-white: #FFFFFF;
    --color-bg-base-black: #040201;
    --color-bg-primary: #0D0D0D;
    --color-bg-secondary: #181818;
    --color-bg-tertiary: #222222;
    --color-bg-quaternary: #2B2B2B;
    --color-bg-quinary: #3F3E3E;
    --color-bg-brand-400: #FF6B2C;
    --color-bg-brand-500: #F96418;

    /* Border Colors (add as needed) */
    --color-border-primary: #222222;
    --color-border-secondary: #2B2B2B;
    --color-border-tertiary: #3F3E3E;
}

.ss-product-filter-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 64px;
}

.filter-s-s {
    display: flex;
    gap: 24px;
}

.ss-product-filter-header h2 {
    color: var(--color-text-primary);
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: -0.72px;
    margin: 0;

}

.ss-product-filter-body {
    border: 1px solid var(--color-border-primary);
    border-bottom: 0;
}

.ss-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border-primary);
    background: rgba(124, 124, 124, 0.05);
}

.ss-filter-header .title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

span.ss-filter-count {
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: flex-start;
    border-radius: 999px;
    border: 1px solid var(--color-bg-brand-500);
    background: var(--color-bg-brand-400);
    backdrop-filter: blur(10px);
    color: var(--color-bg-base-white);
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 12px;
    height: 20px;
    width: 20px;
}

.ss-product-filter-body .item-filter {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-bottom: 1px solid var(--color-border-primary);
}

.item-filter-type,
.item-filter-category {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 12px 16px;
    align-items: flex-start;
    align-self: stretch;
}

#ss-category-filter {
    width: 100%;
}

#ss-product-type-filter {
    width: 100%;
}

.wrapper__f_p {
    display: flex;
    width: 100%;
    gap: 40px;
}

#ss-product-list {
    display: flex;
    width: 100%;
    gap: 24px;
    flex-wrap: wrap;
}

.ss-product-card {
    width: calc(100% / 3 - 16px);
    position: relative;
}

.ss-products {
    width: calc(100% - 320px - 40px);
}

.ss-product-filter-body {
    width: 320px;
}

#ss-product-list .ss-product-card a {
    position: relative;
    width: 100%;
    display: block;
}

#ss-product-list .ss-product-card .ss-product-info {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    left: 0;
    padding: 16px;
    align-items: center;
}

.ss-product-price {
    color: var(--color-text-brand-500);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.ss-product-info h3 {
    color: var(--color-text-primary);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ss-product-card .ss-add-to-cart {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: var(--color-bg-brand-500);
    color: var(--color-text-primary);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    width: 100%;
    text-transform: initial;
}


div#ss-pagination .ss-pag-btn {
    display: flex;
    width: 44px;
    height: 44px;
    transform: rotate(-0.002deg);
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--color-bg-primary);
    color: var(--color-text-primary);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    background: transparent;
}

div#ss-pagination .ss-pag-btn:hover {
    background: var(--color-bg-brand-500);
    color: var(--color-text-primary);
}

div#ss-pagination .ss-pag-btn.active {
    background: var(--color-bg-brand-500);
    color: var(--color-text-primary);
}

div#ss-pagination {
    display: flex;
    justify-content: center;
    gap: 24px;
    height: 84.076px;
    transform: rotate(0.002deg);
    padding: 20px 0px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border: 1px solid var(--color-bg-primary);
    margin-top: 24px;
}

input#ss-search {
    display: flex;
    width: 352px;
    height: 52px;
    padding: 12px 16px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--color-border-primary);
    background: rgba(124, 124, 124, 0.05);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    display: block;
    margin: 0;
}

select#ss-sort {
    display: flex;
    height: 52px;
    padding: 12px;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border: 1px solid var(--color-border-primary);
    background: rgba(124, 124, 124, 0.05);
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(50px);
    color: var(--color-text-tertiary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    width: 227px;
    background: url(/wp-content/uploads/2025/05/icon-short.svg) no-repeat right 12px center;
}

.ss-price-input-box {
    display: flex;
    padding: 12px 10px;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border: 1px solid rgba(124, 124, 124, 0.10);
    background: rgba(124, 124, 124, 0.05);
    height: 42px;
}

.ss-price-input-box input {
    color: var(--color-text-tertiary);
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    border: 0;
    height: auto;
}

.ss-price-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.ss-price-to {
    color: var(--color-text-quaternary);
    font-size: 14px;
    font-style: normal;
}

.item-filter.item-filter-status label {
    display: flex;
    height: 44px;
    padding: 12px 16px;
    width: 100%;
}

.ss-product-filter-body label {
    color: var(--color-text-quaternary);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    position: relative;
}

.ss-product-filter-body strong {
    color: var(--color-text-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

#ss-product-filter-app input[type="checkbox"] {
    margin-bottom: 4px;
    display: none;
}

#ss-product-filter-app input[type="checkbox"]:before {
    transition-timing-function: cubic-bezier(.075, .820, .165, 1);
    border-radius: 0;
    background-color: var(--color-bg-base-white);
    border-color: transparent;
    box-sizing: border-box;
    color: var(--color-bg-brand-500);
    content: close-quote;
    display: inline-block;
    height: 16px;
    background: var(--color-bg-base-black);
    transition-duration: .5s;
    transition-property: background-color, border-color;
    width: 16px;
    border: 2px solid var(--color-border-primary);
}

.group-lable label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid var(--color-border-primary);
    padding: 6px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
}

#ss-product-filter-app input[type="checkbox"]:checked+label:after {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 9px;
    border: solid var(--color-text-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#ss-product-filter-app input[type="checkbox"]:checked+label:before {
    box-shadow: 0px 0px 0px 2px rgba(249, 100, 24, 0.25);
    background: var(--color-bg-brand-500);
    border-color: var(--color-bg-brand-500);
}

.group-lable {
    display: flex;
    gap: 8px;
}

span.ss-filter-product-count {
    color: var(--color-text-quaternary);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}

input#ss-search {
    background: url(/wp-content/uploads/2025/05/icon-search.svg) no-repeat 16px center;
    padding-left: 48px;
}

.ss-product-status-filter {
    width: 100%;
}

.item-filter-type.active,
.item-filter-category.active {
    background: linear-gradient(90deg, rgba(255, 77, 0, 0.15) 0%, rgba(255, 77, 0, 0.01) 100%);
}

.item-filter-category.active label,
.item-filter-type.active label {
    color: var(--color-text-brand-400);
}

.item-filter-type.active span.ss-filter-product-count {
    color: var(--color-text-brand-400);
}

.item-filter-category.active span.ss-filter-product-count {
    color: var(--color-text-brand-400);
}


.ss-product-status-filter.active {
    background: linear-gradient(90deg, rgba(255, 77, 0, 0.15) 0%, rgba(255, 77, 0, 0.01) 100%);
    width: 100%;
}

.ss-product-status-filter.active label {
    color: var(--color-text-brand-400);
}

.ss-product-status-filter input[type="checkbox"]:checked+label:after {
    top: 17px;
    left: 22px;
}

.ss-product-status-filter.active label {
    position: relative;
}

.ss-reset-filter {
    cursor: pointer;
}

.ss-reset-filter:hover {
    color: var(--color-text-brand-400);
}

.wd-search-full-screen.wd-fill {
    background: var(--color-bg-tertiary);
}

.wd-search-full-screen .searchform input[type="text"] {
    color: var(--color-text-primary);
}

body .wd-search-full-screen .autocomplete-suggestions {
    background-color: var(--color-bg-tertiary);
}

.wd-search-full-screen .view-all-results {
    display: none;
}

.ss-price-slider-wrap {
    position: relative;
    width: 100%;
    height: 20px;
}

/* Track background (behind sliders) */
.slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background: #ff671f;
    left: 5%;
    right: 5%;
    z-index: 1;
}

/* Hide default sliders */
.ss-price-slider-wrap input[type="range"] {
    position: absolute;
    width: 100%;
    height: 20px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
}

.ss-price-slider-wrap input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background: white;
    border: 5px solid #121212;
    box-sizing: border-box;
    cursor: pointer;
}

.ss-price-slider-wrap input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    height: 20px;
    width: 20px;
    background: white;
    border: 4px solid #121212;
    box-sizing: border-box;
    cursor: pointer;
}

.ss-product-price del {
    font-size: 20px;
    display: block;
}

/* Custom select UI for sort filter */
.ss-custom-select-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
    font-family: inherit;
}
.ss-custom-select-selected {
    display: flex;
    height: 52px;
    padding: 12px;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border: 1px solid var(--color-border-primary);
    background: rgba(124, 124, 124, 0.05);
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(50px);
    cursor: pointer;
    color: #9B9B9B;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.ss-custom-select-selected span {
    color: #9B9B9B;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.ss-custom-select-dropdown {
    display: none;
    position: absolute;
    top: 112%;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10;
    padding: 0;
    border: 1px solid #121212;
    background: #121212;
    backdrop-filter: blur(12px);
}

.ss-custom-select-wrap.open .ss-custom-select-dropdown {
    display: block;
}

.ss-custom-select-option {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: #7B7B7B;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    padding: 12px 20px 12px 20px;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.ss-custom-select-option.selected,
.ss-custom-select-option:hover:not(.disabled) {
    background: rgba(124, 124, 124, 0.05);
    color: #E3E3ED;
}
.ss-custom-select-option.disabled {
    color: #666;
    cursor: not-allowed;
    background: none;
    font-weight: 600;
}

.ss-custom-select-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ss-custom-select-selected-text span {
    color: #E3E3ED;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
}

input#ss-search {
    background: url(/wp-content/uploads/2025/05/icon-search.svg) no-repeat 16px center;
    padding-left: 48px;
    background-color: rgba(124, 124, 124, 0.05);
}
