.hsf-mobile,
.hsf-backdrop,
.hsf-sheet-head{
    display: none;
}

.hsf{
    margin: 0 0 40px;
}


.hsf-card{
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 24px 24px 34px 24px;
}

.hsf-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hsf-title{
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0 0 6px;
}

.hsf-count{
    font-size: 15px;
    color: #313131;
    text-decoration: none;
}

.hsf-count:hover{
   
}

.hsf-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hsf-tab{
    display: flex;
    align-items: center;
    gap: 0 5px;
   padding: 3px 15px;
    border: 1px solid #e2e2e2;
    background-color: #efefef;
    border-radius: 12px;
    font-size: 14px;
    color: #1b1b1b;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
    flex-direction: column;
}

.hsf-tab:hover{
    border-color: #4780e9;
    color: #4780e9;
}

.hsf-tab img{
    width: 51px;
    height: 35px;
    opacity: 0.8;
    /* display: none; */
    object-fit: contain;
    border-radius: 8px;
}
.hsf-tab:hover img{
    opacity: 1;
}
.hsf-tab span{
    position:relative;
    top:-3px;
}
.hsf-tab.active img{
    opacity: 1;
}
.hsf-tab .ti{
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef2fb;
    border-radius: 8px;
    font-size: 20px;
}

.hsf-tab.active{
    border: 1px solid #3189db42;
    background-color: #efefef;
    color: #ffffff;
}
.hsf-tab.active span{
    color: #3189DB;
}
.hsf-tab.active .ti{
    background-color: rgba(255, 255, 255, .18);
    color: #ffffff;
}

.hsf-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hsf-chip{
    padding:5px 17px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    color: #4a4a4a;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.hsf-chip:hover{
    border-color: #4780e9;
    color: #4780e9;
}

.hsf-chip.active{
    border-color: #3189db42;
    background-color: rgba(71, 128, 233, .08);
    color: #3189DB;
  
}

.hsf-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hsf-field{
    min-width: 0;
}

.hsf-control{
    width: 100%;
    height: 44px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    color: #1b1b1b;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hsf-control:focus{
    border-color: #4780e9;
    box-shadow: 0 0 0 3px rgba(71, 128, 233, .12);
}

.hsf-control:disabled{
    background-color: #efefef;
    color: #9a9a9a;
    cursor: not-allowed;
    box-shadow: none;
}

select.hsf-control{
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

select.hsf-control:disabled{
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.hsf-currency{
  
    background-color: #fafafa;
    font-size: 14px;
}

.hsf-range{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #dcdcdc;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
}

.hsf-range .hsf-control{
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hsf-range .hsf-control:focus{
    background-color: #f7faff;
}

.hsf-range .hsf-currency{
    background-color: #fafafa;
}

.hsf-field-price .hsf-range{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(75px, 76px);
}

.hsf-extra{
    display: none;
}

.hsf.hsf-open .hsf-extra,
.hsf-card.hsf-open .hsf-extra{
    display: block;
}

.hsf-card.hsf-open .hsf-extra.hsf-multi{
    display: block;
}

.hsf-multi{
    position: relative;
}

.hsf-multi-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hsf-multi-btn::after{
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.hsf-multi-btn:disabled::after{
    opacity: .5;
}

.hsf-multi.open .hsf-multi-btn{
    border-color: #4780e9;
}

.hsf-multi-drop{
    display: none;
    position: absolute;
    z-index: 45;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
}

.hsf-multi.open .hsf-multi-drop{
    display: block;
}

.hsf-multi-search{
    width: 100%;
    height: 36px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    margin-bottom: 6px;
    outline: none;
}

.hsf-multi-search:focus{
    border-color: #4780e9;
}

.hsf-multi-item{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 24px 7px 8px;
    border-radius: 8px;
    font-size: 15px;
    color: #1b1b1b;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
    position: relative;
}

.hsf-multi-item:hover{
    background-color: #f2f6ff;
}

.hsf-multi-item::after{
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #dcdcdc;
}

.hsf-multi-item.hsf-multi-item-active::after{
    background-color: #e5484d;
}

.hsf-multi-single .hsf-multi-item::after{
    content: none;
}

.hsf-multi-item input[type="checkbox"]{
    display: none;
}

.hsf-multi-item input[type="radio"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    width: 16px;
    display: none;
    height: 16px;
    margin: 0;
    border: 1.5px solid #d0d0d0;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
}

.hsf-multi-item input[type="radio"]:checked{
    border-color: #e5484d;
    background-color: #e5484d;
}

.hsf-drop-head,
.hsf-drop-foot,
.hsf-drop-backdrop{
    display: none;
}

@keyframes hsf-drop-up{
    from{
        transform: translateY(100%);
    }
    to{
        transform: translateY(0);
    }
}

@keyframes hsf-fade{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.hsf-foot{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hsf-more-btn,
.hsf-reset{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 43px;
    padding: 0 18px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    color: #1b1b1b;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.hsf-more-btn:hover,
.hsf-reset:hover{
    border-color: #4780e9;
    color: #4780e9;
}

.hsf-more-btn{
    position: relative;
}

.hsf-more-btn-arrow{
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.hsf-card.hsf-open .hsf-more-btn-arrow{
    transform: rotate(180deg);
}

.hsf-more-btn.hsf-more-dot::after{
    content: "";
    position: absolute;
    top: 7px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e5484d;
    box-shadow: 0 0 0 2px #ffffff;
}

.hsf-submit{
    height: 43px;
    padding: 0 34px;
    margin-left: auto;
    border: 0;
    background-color: #3189DB;
    color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.hsf-submit:hover{
    background-color: #3a6fd6;
    
}

@media (max-width: 1199.98px){
    .hsf-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px){

    .hsf-mobile{
        display: block;
        background-color: #ffffff;
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    }
    .hsf{margin-bottom:0;}

    /* в каталоге карточка не показываем — вход через иконку «Фильтр» в шапке */
    .hsf-catalog .hsf-mobile{
        display: none;
    }

    /* строка-поле «Марка, модель, год» — вся кнопка, открывает шторку */
    .hsf-mobile-field{
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        height: 48px;
        padding: 0 14px;
        border: 1px solid #f7f8fa;
        border-radius: 12px;
        background-color: #ECEEF0;
        color: #7d838c;
        font-size: 15px;
        text-align: left;
        cursor: pointer;
        transition: background-color .2s ease, border-color .2s ease;
    }

    .hsf-mobile-field:hover{
        background-color: #e4e7ea;
    }

    .hsf-mobile-field:active{
        background-color: #dde1e6;
    }

    .hsf-mobile-title{
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.2;
        color: #7d838c;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hsf-mobile-field-sep{
        flex: 0 0 1px;
        width: 1px;
        height: 22px;
        background-color: #d5d9de;
    }

    .hsf-mobile-field i{
        flex: 0 0 auto;
        font-size: 22px;
        color: #1b1b1b;
    }

    /* синяя ссылка «Показать N объявлений» → /all?search= */
    .hsf-mobile-count{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 48px;
        margin-top: 10px;
        border: 0;
        border-radius: 12px;
        background-color: #3189DB;
        color: #ffffff;
        font-size: 15px;
       
        text-decoration: none;
        cursor: pointer;
        transition: background-color .2s ease, box-shadow .2s ease;
    }

    .hsf-mobile-count:hover{
        background-color: #2a74b8;
        box-shadow: 0 8px 20px rgba(49, 137, 219, .3);
    }

    .hsf-backdrop{
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
        z-index: 1040;
    }

    body.hsf-sheet-open .hsf-backdrop{
        opacity: 1;
        visibility: visible;
    }

    .hsf-card{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: #ffffff;
        border-radius: 20px 20px 0 0;
        padding: 0 16px 0;
        transform: translateY(101%);
        visibility: hidden;
        transition: transform .28s ease, visibility .28s ease;
        box-shadow: 0 -14px 40px rgba(0, 0, 0, .18);
    }

    body.hsf-sheet-open .hsf-card{
        transform: none;
        visibility: visible;
    }

    .hsf-sheet-head{
        display: flex !important;
        align-items: center;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 6;
        height: 56px;
        margin: 0 -16px 12px;
        padding: 0 16px;
        background-color: #ffffff;
        border-bottom: 1px solid #eeeeee;
    }

    .hsf-sheet-close{
        width: 38px;
        height: 38px;
        margin-left: -6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background-color: transparent;
        border-radius: 50%;
        font-size: 22px;
        color: #1b1b1b;
        cursor: pointer;
        transition: background-color .2s ease;
    }

    .hsf-sheet-close:hover{
        background-color: #f5f5f5;
    }

    .hsf-sheet-title{
        font-size: 16px;
        font-weight: 700;
        color: #1b1b1b;
    }

    .hsf-sheet-reset{
        margin-left: auto;
        height: auto;
        padding: 0;
        border: 0;
        background-color: transparent;
        border-radius: 0;
        font-size: 15px;
        font-weight: 600;
        color: #4780e9;
        box-shadow: none;
    }

    .hsf-sheet-reset:hover{
        background-color: transparent;
        color: #3a6fd6;
        box-shadow: none;
    }

    body.hsf-sheet-open{
        overflow: hidden;
    }

    .hsf-title,
    .hsf-count{
        display: none;
    }

    .hsf-tabs{
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hsf-tabs::-webkit-scrollbar{
        display: none;
    }

    .hsf-tab{
        flex: 0 0 auto;
    }

    .hsf-chips{
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hsf-chips::-webkit-scrollbar{
        display: none;
    }

    .hsf-chip{
        flex: 0 0 auto;
    }

    .hsf-foot{
        flex-wrap: wrap;
        gap: 10px;
        margin: 16px -16px 0;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        background-color: #ffffff;
        border-top: 1px solid #eeeeee;
        position: sticky;
        bottom: 0;
        z-index: 5;
    }

    .hsf-more-btn{
        flex: 1 0 100%;
        margin: 0;
    }

    .hsf-foot .hsf-reset{
        display: none;
    }

    .hsf-submit{
        flex: 1 0 100%;
        width: 100%;
        margin: 0;
    }

    .hsf-multi-drop.hsf-drop-open{
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        z-index: 1052;
        max-height: 72vh;
        overflow: hidden;
        padding: 0;
        border: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -14px 40px rgba(0, 0, 0, .22);
        animation: hsf-drop-up .26s ease;
    }

    .hsf-multi-drop.hsf-drop-open .hsf-drop-head{
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        padding: 8px 10px;
        background-color: #ffffff;
        border-bottom: 1px solid #eeeeee;
    }

    .hsf-drop-back{
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background-color: transparent;
        border-radius: 50%;
        font-size: 20px;
        color: #1b1b1b;
        cursor: pointer;
        transition: background-color .2s ease;
    }

    .hsf-drop-back:hover{
        background-color: #f2f6ff;
    }

    .hsf-drop-title{
        flex: 1 1 auto;
        min-width: 0;
        font-size: 16px;
        font-weight: 700;
        color: #1b1b1b;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hsf-drop-count{
        flex: 0 0 auto;
        min-width: 44px;
        font-size: 13px;
        font-weight: 600;
        color: #4780e9;
        text-align: right;
    }

    .hsf-multi-drop.hsf-drop-open .hsf-multi-search{
        flex: 0 0 auto;
        width: auto;
        margin: 10px 12px 0;
    }

    .hsf-multi-drop.hsf-drop-open .hsf-multi-list{
        flex: 1 1 auto;
        min-height: 60px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px;
    }

    .hsf-multi-drop.hsf-drop-open .hsf-multi-item{
        padding: 13px 30px 13px 12px;
        font-size: 15px;
        border-radius: 10px;
    }

    .hsf-multi-drop.hsf-drop-open .hsf-drop-foot{
        display: block;
        flex: 0 0 auto;
        padding: 10px 16px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        background-color: #ffffff;
        border-top: 1px solid #eeeeee;
    }

    .hsf-drop-apply{
        width: 100%;
        height: 48px;
        border: 0;
        border-radius: 12px;
        background-color: #4780e9;
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color .2s ease;
    }

    .hsf-drop-apply:hover{
        background-color: #3a6fd6;
    }

    .hsf-drop-backdrop.visible{
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1051;
        background-color: rgba(0, 0, 0, .5);
        animation: hsf-fade .2s ease;
    }

    body.hsf-drop-open .hsf-card{
        overflow: hidden;
    }
}

@media (max-width: 575.98px){
    .hsf-grid{
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===== Skeleton: Ð´Ð²Ð¸Ð¶ÐºÐ¾Ð²Ñ‹Ð¹ Ð¿Ð°Ñ‚Ñ‚ÐµÑ€Ð½ Ð¿Ð»Ð¸Ñ‚Ð¾Ðº (#F7F8FA â†’ #e3e4e8) ===== */

.hsf-skeleton{
    display: none;
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 24px;
}

.hsf.hsf-loading .hsf-skeleton{
    display: block;
}

.hsf.hsf-loading .hsf-mobile,
.hsf.hsf-loading .hsf-card{
    display: none;
}

.hsf-skeleton-tile{
    display: block;
    background-color: #F7F8FA;
    border-radius: 6px;
    animation: hsf-skeleton-loading 1s linear infinite alternate;
}

@keyframes hsf-skeleton-loading{
    0%{
        background-color: #F7F8FA;
    }
    100%{
        background-color: #e3e4e8;
    }
}

.hsf-skeleton-head{
    margin-bottom: 18px;
}

.hsf-skeleton-head-title{
    width: 250px;
    max-width: 70%;
    height: 28px;
    border-radius: 8px;
}

.hsf-skeleton-head-count{
    width: 130px;
    height: 15px;
    margin-top: 8px;
}

.hsf-skeleton-card{
    display: none;
}

.hsf-skeleton-card-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

/* карточка-скелетон = две полоски как реальный блок (поле + ссылка) */
.hsf-skeleton-card-title{
    width: 100%;
    height: 48px;
    border-radius: 12px;
}

.hsf-skeleton-card-circle{
    display: none;
}

.hsf-skeleton-card-plate{
    height: 48px;
    border-radius: 12px;
}

.hsf-skeleton-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hsf-skeleton-tab{
    width: 96px;
    height: 52px;
    border-radius: 12px;
}

.hsf-skeleton-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hsf-skeleton-chip{
    width: 80px;
    height: 30px;
    border-radius: 999px;
}

.hsf-skeleton-chip:nth-child(1){
    width: 64px;
}

.hsf-skeleton-chip:nth-child(2){
    width: 132px;
}

.hsf-skeleton-chip:nth-child(3){
    width: 112px;
}

.hsf-skeleton-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hsf-skeleton-field{
    height: 44px;
    border-radius: 10px;
}

.hsf-skeleton-foot{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hsf-skeleton-btn{
    width: 150px;
    height: 44px;
    border-radius: 10px;
}

.hsf-skeleton-btn-submit{
    width: 190px;
    height: 48px;
    margin-left: auto;
}

@media (max-width: 1199.98px){
    .hsf-skeleton-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px){
    .hsf-skeleton{
        background-color: transparent;
        padding: 0;
    }

    .hsf-skeleton-head,
    .hsf-skeleton-tabs,
    .hsf-skeleton-chips,
    .hsf-skeleton-grid,
    .hsf-skeleton-foot{
        display: none;
    }

    .hsf-skeleton-card{
        display: block;
        background-color: #ffffff;
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    }

    /* в каталоге и блок, и его скелетон не показываем */
    .hsf-catalog .hsf-skeleton-card{
        display: none;
    }
}

@media (max-width: 575.98px){
    .hsf-skeleton-grid{
        grid-template-columns: minmax(0, 1fr);
    }
}



@media (min-width: 992px){
    .hsf-catalog .hsf-head,
    .hsf-catalog .hsf-skeleton-head{
        display: none;
    }
}

/* === Кнопка «Сохранить поиск» в футере фильтра === */
.hsf-save-search{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    color: #1b1b1b;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.hsf-save-search:hover{
    border-color: #4780e9;
    color: #4780e9;
}

.hsf-save-search.is-saved{
    border-color: #4780e9;
    color: #4780e9;
}
.hsf-save-search .spinner-border{
    width: 20px;
    height: 20px;
    border-width: 2px;
    color: #1b1b1b;   /* currentColor => чёрный, даже в is-saved/hover */
}

.hsf-save-search i{
    font-size: 20px;
        line-height: 15px;
}

@media (max-width: 991.98px){
    .hsf-save-search{
        flex: 1 1 0;
        margin: 0;
    }
}

/* === Надпись «Фильтр» у иконки в липкой шапке (каталог) — только мобилка === */
.header-flex-box-label{
    display: none;
    font-size: 15px;
    font-weight: 600;
    color: #1b1b1b;
    margin-left: 6px;
    white-space: nowrap;
}

@media (max-width: 991.98px){
    .header-flex-box-label{
        display: inline;
    }
}


/* === Главная: заголовок и табы в одну строку === */
.hsf-home .hsf-head-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hsf-home .hsf-head{
    margin-bottom: 0;
}

.hsf-home .hsf-tabs{
    margin-bottom: 0;
}

@media (max-width: 991.98px){
    .hsf-home .hsf-head-row{
        display: block;
    }
    .hsf-home .hsf-head{
        margin-bottom: 14px;
    }
}

/* === Страницы категории: табы основных категорий скрыты, только десктоп.
   Остаются чипы своей категории; на мобиле (≤991) табы в шторке видны === */
@media (min-width: 992px){
    .hsf-category .hsf-tabs{
        display: none;
    }
}