.sidebar-inner {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-inner > * + * {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #EEEEEE;
}

.title__sidebar {
    margin: 0;
    color: #212121;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
}

.title__sidebar--uppercase {
    text-transform: uppercase;
}

.filter-price {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-price__values {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.filter-price__value {
    padding: 8px 12px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FFFFFF;
    color: #212121;
    font-weight: 300;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 0.02em;
    text-align: right;
}

.filter-price__separator {
    color: #757575;
    font-weight: 300;
    font-size: 18px;
    line-height: 1;
}

.filter-price__slider {
    position: relative;
    height: 28px;
}

.filter-price__track,
.filter-price__range {
    position: absolute;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
}

.filter-price__track {
    left: 0;
    right: 0;
    background: #EEEEEE;
}

.filter-price__range {
    background: #C40F0F;
}

.filter-price__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.filter-price__input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.filter-price__input::-moz-range-track {
    height: 4px;
    background: transparent;
}

.filter-price__input::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #C40F0F;
    box-shadow: 0 0 0 2px #C40F0F;
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -6px;
}

.filter-price__input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #C40F0F;
    box-shadow: 0 0 0 2px #C40F0F;
    cursor: pointer;
    pointer-events: auto;
}
/* branch */
.click-show-hide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.click-show-hide svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.filter__branch {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter__branch.is-collapsed .click-show-hide svg {
    transform: rotate(180deg);
}

.filter__branch__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter__branch__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter__branch__item.is-active {
    border-color: #C40F0F;
}

.filter__branch__item:focus-visible {
    outline: none;
    border-color: #C40F0F;
    box-shadow: 0 0 0 2px rgba(196, 15, 15, 0.12);
}

.filter__branch__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
}

.filter__branch__img {
    display: block;
    width: 32px;
    height: 24px;
    object-fit: contain;
}

.filter__branch__fallback {
    color: #212121;
    font-weight: 500;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fillter__cat {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fillter__cat.is-collapsed .click-show-hide svg {
    transform: rotate(180deg);
}

.fillter__cat__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fillter__cat__item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.fillter__cat__checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 2px;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
    background: #FFFFFF;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fillter__cat__checkbox svg {
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fillter__cat__label {
    color: #616161;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.fillter__cat__count {
    color: #9E9E9E;
    font-size: 12px;
    line-height: 137%;
    letter-spacing: 0.01em;
}

.fillter__cat__item.is-active .fillter__cat__checkbox {
    border-color: #C40F0F;
    background: #C40F0F;
}

.fillter__cat__item.is-active .fillter__cat__checkbox svg {
    opacity: 1;
}

.fillter__cat__item.is-active .fillter__cat__label {
    color: #212121;
    font-weight: 500;
}

.fillter__cat__item:focus-visible {
    outline: none;
}

.fillter__cat__item:focus-visible .fillter__cat__checkbox {
    border-color: #C40F0F;
    box-shadow: 0 0 0 2px rgba(196, 15, 15, 0.12);
}

.fillter__cat__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #BDBDBD;
    font-weight: 300;
    font-size: 12px !important;
    line-height: 150%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.fillter__cat__more svg {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.fillter__cat.is-expanded .fillter__cat__more svg {
    transform: rotate(180deg);
}

.fillter__attribute-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fillter__attribute-group > * + * {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #EEEEEE;
}

.fillter__attribute {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fillter__attribute.is-collapsed .click-show-hide svg {
    transform: rotate(180deg);
}

.fillter__attribute__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fillter__attribute__item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.fillter__attribute__checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 2px;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
    background: #FFFFFF;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fillter__attribute__checkbox svg {
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fillter__attribute__label {
    color: #616161;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.fillter__attribute__count {
    color: #9E9E9E;
    font-size: 12px;
    line-height: 137%;
    letter-spacing: 0.01em;
}

.fillter__attribute__item.is-active .fillter__attribute__checkbox {
    border-color: #C40F0F;
    background: #C40F0F;
}

.fillter__attribute__item.is-active .fillter__attribute__checkbox svg {
    opacity: 1;
}

.fillter__attribute__item.is-active .fillter__attribute__label {
    color: #212121;
    font-weight: 500;
}

.fillter__attribute__item:focus-visible {
    outline: none;
}

.fillter__attribute__item:focus-visible .fillter__attribute__checkbox {
    border-color: #C40F0F;
    box-shadow: 0 0 0 2px rgba(196, 15, 15, 0.12);
}

.fillter__attribute__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #BDBDBD;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.fillter__attribute__more svg {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.fillter__attribute.is-expanded .fillter__attribute__more svg {
    transform: rotate(180deg);
}

.fillter__attribute {
    gap: 12px;
}

.fillter__attribute__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fillter__attribute__values {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.fillter__attribute__number {
    width: 100%;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FFFFFF;
    color: #212121;
    font-weight: 300;
    font-size: 14px;
    line-height: 145%;
    letter-spacing: 0.02em;
    text-align: right;
}

.fillter__attribute__number::-webkit-outer-spin-button,
.fillter__attribute__number::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.fillter__attribute__number[type=number] {
    -moz-appearance: textfield;
}

.fillter__attribute__separator {
    color: #757575;
    font-weight: 300;
    font-size: 18px;
    line-height: 1;
}

.fillter__attribute__slider {
    position: relative;
    height: 28px;
}

.fillter__attribute__track,
.fillter__attribute__range {
    position: absolute;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 999px;
}

.fillter__attribute__track {
    left: 0;
    right: 0;
    background: #EEEEEE;
}

.fillter__attribute__range {
    background: #C40F0F;
}

.fillter__attribute__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.fillter__attribute__input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.fillter__attribute__input::-moz-range-track {
    height: 4px;
    background: transparent;
}

.fillter__attribute__input::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #C40F0F;
    box-shadow: 0 0 0 2px #C40F0F;
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -6px;
}

.fillter__attribute__input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: #C40F0F;
    box-shadow: 0 0 0 2px #C40F0F;
    cursor: pointer;
    pointer-events: auto;
}

@media screen and (max-width: 768px) {
    .filter-price__values {
        gap: 12px;
    }

    .fillter__attribute__values {
        gap: 10px;
    }
}
