/* Поиск */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination-prev, .pagination-next {
    margin: 0 10px;
    cursor: pointer;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    padding: 5px 10px;
    cursor: pointer;
}

.pagination-number.active {
    background-color: #175CFF;
    color: #fff;

}

.pagination-prev:hover,
.pagination-next:hover,
.pagination-number:hover {
    text-decoration: none;
    background-color: #175CFF;
    color: #fff;
    transition: all 0.3s ease;
}

.pagination-prev:hover svg path,
.pagination-next:hover svg path {
    stroke: white;
}

.pagination-prev:focus svg path,
.pagination-next:focus svg path {
    stroke: white;
}



.pagination-prev.disabled,
.pagination-next.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}


.pagination-container a {
    /* line-height: 30px; */
    /* color: #000000; */
    height: 41px;
    min-width: 41px;
    padding: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #175CFF;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #175CFF;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.3s ease;
}


.title-search-result{
    padding: 24px 42px 15px 42px;
    position: relative;
}


.title-search-result.preload:before {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('data:image/svg+xml,<svg width="21" height="49" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="url(%23pattern0)" d="M0 0h20v49H0z"/><defs><pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"><use xlink:href="%23image0_245_62" transform="matrix(.02207 0 0 .009 -.008 0)"/></pattern><image id="image0_245_62" width="46" height="111" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAABvCAYAAACTvfL+AAAO9klEQVR4nNWcz48cx3XHP696dpekGLIp04aQC4f6B7TKQTdDMwYcwCdSQQ4JEoC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daQ8h9FTcmycm7ARqkHsvXhsHoR15Nrh/ud2+1AAeCClQ/qPFJsX9G7yLIYAeWHXb0ctbXfuPk4X7sUdtPDfzPw2Kla/pVpxBUAbDEZsNdOyx/eLh3D2sBPj7BaZP8aMNSPdhSfxzrhSELElQa85XbZrVagGclZ/CvfURgMJGTRp6vYvf75e+4+f8KXJSmpQpzU/fueb3KUyvPdIM35n+zc7rVAty65/PTYW4AWIUFSSCWPWbbLjBnPRJf4pzaKklIMUdPSXIChuP24V8Ihpro0FoXdIVfX0287Waq+CU+VeP5ym2zWi3AVTgXHA0GrLIb4hOhyu5jnjlm7qrsk9rh4vG0Xdfc/DH3rGWIoUfJgBIxK/TT6mZSbyz0NTmz6LSL63gO9jFtvp/o7H9pK02YJ2IVy0K6HdriwNtSwBSYzL0Bl4KPtRe7uH5DnbFK2r6iSJUwOiNBaXxTJP6kNtt67vOae9Vv0XY0EodCpXrpN37cI5la2tEAb0sRU7YUeE1qAkcncRDuTLzK5N5b+YZL3LV7MSYPccyIO3UNfpTAb01Eg0BdhglHySpQTARb1KcmcJQSt9xKyxVAbf8wA44SeMkuyXu2mG8L8NdkF+W+VIlzbb/lhKM1zuhw/Mu2tTEKHDVwy054xIL9tqgKgND331o3fx0t8D+RHSz3AWH/26TjAOEfwZTfNuB73KR6NaG2dvTAnZuvJetJ29EDByjr+e8Hafs9ZIxlP0r2t3AAAAAASUVORK5CYII="/></defs></svg>');
    background-size:  contain;
    width: 50px;
    z-index: 2000;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.title-search-result.preload:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.6);
}
.title-search-result a{
    text-decoration:none;
}

.search-result {
    display: flex;
    color: rgba(0, 0, 0, .9);
    font-size: 20px;
    text-decoration: none;
}
.search-result img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.search-result-sidebar {
    width: 245px;

}

.search-result-replacement {
    margin-bottom: 40px;
    display:grid;
}
.sidebar-filters{
    display:block;
}
.sidebar-filter__item {
    border-bottom: 1px solid #0000004D;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 22px;
    padding: 15px 5px 15px;
    cursor: pointer;
}
.sidebar-filter__item-count {
    border-radius: 11px;
    border: 1px solid #0000004D;
    flex: 0 0 auto;
    font-size: 15px;
    line-height: 22px;
    min-width: 25px;
    width: auto;
    margin: 0 0 0 5px;
    padding: 0 8px;

}
.sidebar-filter__item:hover .sidebar-filter__item-count {
    background: rgba(0, 0, 0, 0.6);
    border-color: transparent;
    color: #fff;

}

.search-result__body {
    width: calc(100% - 245px);
    display: flex;
    flex-wrap: wrap;
    margin-left: 50px;
    align-content: flex-start;
}

.result-list__items {
    width: 50%;
    padding-left: 15px;
    padding-bottom: 20px;
}

.search-result a {
    line-height: 30px;
    color: #000000;
}


.list__title:hover {
    background: #175CFF;
    color: #FFFFFF;
}
.list__title:after{
    content: '';
    background-image: url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L1 13" stroke="black" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 auto;
    min-width: 20px;
    width: auto;
    height: 20px;
    margin-left: 10px;
}
.list__title {
    background: #E7E7E7;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    font-size: 20px;
    line-height: 30px;
    padding: 5px 20px;
    max-width: fit-content;

}

.search-result-item {
    display: flex;
    align-items: center;
    margin-top: 15px;
    cursor: pointer;


}

.search-result-item__body {
    display: grid;
    margin-bottom: 10px;
    margin-left: 12px;

}
.search-result-item__more a{
    color: rgba(0, 0, 0, 0.7);
    margin-top: 15px;
}
.search-result-item__more {
    margin-top: 15px;
}


.result-list_items-detail {
    padding-left: 15px;
}

.list__body-detail {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
}
.search-all-results {
    width: 100%;
}


#pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;

}

.sidebar-filter__item.active .sidebar-filter__item-count {
    background: #4A83FF;
    border-color: transparent;
    color: #FFFFFF;
}
.search-result-item__title {
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.show-filters {

}



.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}

.visible {
    opacity: 1;
    max-height: 100px; /* Достаточно большое значение для плавного раскрытия */
}

.search-result__body.single-search {
    display: unset;
}

.result-list__items.single-search {
    width: unset;
}

.list__title.single-search {
    width: max-content;
}

.search-result__body.single-search img {
    width: 100px;
    height: 100px;
}

@media (max-width: 1440px) {

    .result-list__items {
        width: 50%;
    }

    .list__body-detail {
        grid-template-columns: 1fr 1fr;
    }


    .title-search-result{
        padding: 15px 12px 20px 12px;

    }

}

@media (max-width: 1024px) {


    .list__body-detail {
        grid-template-columns: unset;
    }
    

}


@media (max-width: 768px) {
    .search-result__body {

        display: unset;
        margin-left: 20px;
    }

    .result-list__items {
        width: unset;
        padding-left: unset;
        padding-bottom: 20px;
    }

    .list__body .search-result-item:nth-child(n+4) {
        display: none;
    }

    .title-search-result {
        padding: 24px 24px 20px 24px;
    }
    .search-result-item__more {
        display: none;
    }
    .result-list_items-detail {
        padding-left: unset;
    }

}

@media (max-width: 530px) {
    .search-result-sidebar {
        width: 100%;
    }

    .search-result {
        flex-wrap: wrap;
    }
    .search-result__body {
        margin-left: unset;
        width: 100%;
    }

    .result-list__items  {
        padding-top: 24px;
    }

    .title-search-result {

        padding: 24px 20px 20px 20px;

    }


    .result-list_items-detail {
        width: unset;
        padding-bottom: 20px;
        margin-top: 24px
    }

    .search-result-replacement {
        margin-bottom: 24px;
    }


    .sidebar-filter__list {
        display: none; /* Скрываем список */
    }

    /* Стили для кнопки "Фильтры" */
    .filters-toggle {
        display: block;
        background-color: #f0f0f0;
        border: none;
        padding: 10px;
        font-size: 16px;
        cursor: pointer;
        text-align: center;
        width: 100%;
    }

    .filters-toggle {
        display: none;
    }




}