.ssr-filters:has(.catalog-sections-panel[open] .catalog-family--torch[open]) {
    position: static;
    max-height: none;
    overflow: visible;
}

.catalog-tree .catalog-family--torch > div {
    margin: 0;
    padding: 0 0 10px;
    border: 0;
}

.catalog-torch-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
    padding: 0 7px 4px;
}

.catalog-tree .catalog-torch-actions a,
.catalog-torch-actions button {
    min-height: 36px;
    padding: 8px 0;
    color: #31536d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.catalog-torch-actions button {
    border: 0;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.catalog-tree .catalog-torch-tree,
.catalog-tree .catalog-torch-tree ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-tree .catalog-torch-tree ul {
    margin-inline-start: 8px;
    padding-inline-start: 6px;
    border-inline-start: 1px solid #c6d2db;
}

.catalog-tree .catalog-torch-tree li {
    position: relative;
    margin: 0;
}

.catalog-tree .catalog-torch-tree details {
    border: 0;
}

.catalog-tree .catalog-torch-tree a,
.catalog-tree .catalog-torch-tree summary {
    display: block;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0;
    padding: 12px 7px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    overflow-wrap: anywhere;
}

.catalog-tree .catalog-torch-tree > li > a {
    font-weight: 700;
}

.catalog-torch-branch > a {
    position: absolute;
    z-index: 1;
    inset: 0 40px auto 0;
}

.catalog-tree .catalog-torch-tree summary {
    position: relative;
    padding-inline-end: 47px;
    list-style: none;
}

.catalog-torch-tree summary::-webkit-details-marker {
    display: none;
}

.catalog-torch-tree summary span {
    visibility: hidden;
}

.catalog-torch-tree summary::after {
    content: "";
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border: solid #456278;
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(-45deg);
}

.catalog-torch-tree details[open] > summary::after {
    transform: translateY(-65%) rotate(45deg);
}

.catalog-tree .catalog-torch-tree a[aria-current="page"] {
    background: #e6edf3;
    color: #753511;
}
