/* Каталог - Стили по макетам Figma (1920, 768, 320) */

/* === ПЕРЕМЕННЫЕ === */
:root {
    --catalog-bg: #f3f4f8;
    --catalog-sidebar-bg: #e6e8f3;
    --catalog-card-bg: #ffffff;
    --catalog-primary: #1154ed;
    --catalog-primary-dark: #0d44c7;
    --catalog-text: #131416;
    --catalog-text-light: #4b5767;
    --catalog-text-muted: #777a8d;
    --catalog-border: #c8d3df;
    --catalog-success: #67b045;
    --catalog-price-blue: #02369c;
}

/* === ФОН КАТАЛОГА === */
body {
    background: var(--catalog-bg) !important;
}

.workarea,
.workarea-wrapper,
.row>.catalog-wrapper {
    background: #f3f4f8 !important;
}

.row:has(.catalog-wrapper) {
    margin: 0 !important;
    padding: 0 !important;
    background: #f3f4f8 !important;
    max-width: 100% !important;
}

.catalog-detail,
.partner-categories {
    padding: 20px 80px !important;

}

.catalog-detail {
    background: white;
}

/* === ОСНОВНАЯ СЕТКА === */
.catalog-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1590px !important;
    margin: 0 auto !important;
    padding: 0px 0px 20px !important;
    box-sizing: border-box !important;
    background: #f3f4f8 !important;
    margin: 0 auto;
}
.bx-filter .bx-ui-slider-track-container {
    padding-left: 26px;
    max-width: 100%;
}
.bx-filter .bx-ui-slider-track-container {
    max-width: 100% !important;
    padding-left: 0px;
}
.bx-filter .bx-ui-slider-handle {
    top: 0px !important;
}
.markered-list .markered-list__item {
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .catalog-wrapper {
        padding: 20px 40px !important;
    }

    .catalog-detail,
    .partner-categories {
        padding: 20px 40px !important;
    }
}

@media (max-width: 768px) {
    .catalog-wrapper {
        padding: 15px !important;
    }

    .catalog-detail,
    .partner-categories {
        padding: 15px !important;
    }
}

/* === САЙДБАР С ФИЛЬТРАМИ === */
.catalog-sidebar {
    width: 328px;
    flex-shrink: 0;
}

.catalog-sidebar .bx-filter {
    background: #e6e8f3;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
}

.catalog-sidebar .bx-filter-section {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.catalog-sidebar .filterItems {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalog-sidebar .bx-filter-parameters-box {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.catalog-sidebar .bx-filter-parameters-box-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0 0 15px 0;
    border: none;
    margin-bottom: 0px;
    gap: 10px;
}

.catalog-sidebar .bx-filter-parameters-box-title span,
.catalog-sidebar .bx-filter-parameters-box-hint {
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #131416;
}

/* Стрелочка развернутого/свернутого фильтра - по макету vector0.svg */
.catalog-sidebar .bx-filter-parameters-box-title [data-role="prop_angle"] {
    width: 11px;
    height: 6px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.catalog-sidebar .bx-filter-parameters-box-title [data-role="prop_angle"]::before {
    content: '';
    display: block;
    width: 11px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.189106 4.89782C-0.0630354 5.14995 -0.0630354 5.55878 0.189106 5.8109C0.441255 6.06303 0.850059 6.06303 1.10221 5.8109L4.89781 2.01528C5.14994 1.76315 5.55877 1.76315 5.8109 2.01528L9.60652 5.8109C9.85865 6.06303 10.2675 6.06303 10.5196 5.8109C10.7717 5.55877 10.7717 5.14994 10.5196 4.89782L5.8109 0.189112C5.55877 -0.0630368 5.14994 -0.0630368 4.89781 0.189112L0.189106 4.89782Z' fill='%231154ED'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Стрелочка развернута (up) - повернута на 0° */
.catalog-sidebar .bx-filter-parameters-box.bx-active [data-role="prop_angle"] {
    transform: rotate(0deg);
}

/* Стрелочка свернута (down) - повернута на 180° */
.catalog-sidebar .bx-filter-parameters-box:not(.bx-active) [data-role="prop_angle"] {
    transform: rotate(180deg);
}

.catalog-sidebar .bx-filter-block {
    padding: 0;
    border: none !important;
}

.catalog-sidebar .bx-filter-parameters-box-container {
    padding: 0;
}

.catalog-sidebar .boxC {
    width: 100%;
    border-collapse: collapse;
}

.catalog-sidebar .boxC td {
    padding: 0;
    vertical-align: top;
}

.catalog-sidebar .checkbox {
    display: flex;
    align-items: center;
    margin: 12px 0 0px 0;
    height: auto;
}

.catalog-sidebar .bx-filter-input-checkbox {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 13px;
    padding: 0px 0 0 10px;
}

.catalog-sidebar .border-block {
    margin: 0px;
}

.catalog-sidebar .bx-filter-input-checkbox input[type="checkbox"] {
    display: none !important;
}

.bx-filter .bx-filter-parameters-box-title span {
    margin: 0px 0 0 10px;
}

.catalog-sidebar .bx-filter-param-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    color: #030923;
    line-height: 120%;
    position: relative;
    padding-left: 38px !important;
    width: 100%;
    min-height: 25px;
}

.catalog-sidebar .bx-filter-param-label:before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 25px !important;
    height: 25px !important;
    border: 2px solid #1154ed !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    border-radius: 50% !important;
    background: none;
}

.catalog-sidebar .bx-filter-input-checkbox input[type="checkbox"]:checked+.bx-filter-param-label:before {
    background: #1154ed !important;
    border-color: #1154ed !important;
}

.catalog-sidebar .bx-filter-input-checkbox input[type="checkbox"]:checked+.bx-filter-param-label:after {
    content: '' !important;
    position: absolute !important;
    left: 8px !important;
    top: 4px !important;
    width: 8px !important;
    height: 14px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.catalog-sidebar .bx-filter-param-text {
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    color: #030923;
    line-height: 120%;
}

/* Цена - инпуты */
.catalog-sidebar .priceFilterWrap .bx-filter-parameters-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.catalog-sidebar .bx-filter-parameters-box-container-block {
    display: flex;
    align-items: center;
    gap: 6px;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    flex: 1;
}

.catalog-sidebar .bx-ft-sub {
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    color: #030923;
    font-style: normal;
    line-height: 180%;
}

.catalog-sidebar .bx-filter-input-container {
    flex: 1;
}

.catalog-sidebar .bx-filter-input-container input {
    background: #fff;
    border-radius: 50px !important;
    border: none;
    padding: 11px 14px !important;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px !important;
    color: #030923;
    width: 100%;
    height: 44px !important;
    box-sizing: border-box;
    line-height: 180%;
}

/* Слайдер цены */
*.catalog-sidebar .bx-ui-slider-track-container {
    display: block !important;
    margin: 0px 10px 15px;
    padding: 0;
    width: calc(100% - 20px);
}

.catalog-sidebar .bx-ui-slider-track {
    position: relative;
    height: 4px;
    background: #c8d3df;
    border-radius: 2px;
    margin: 20px 10px;
}

.catalog-sidebar .bx-ui-slider-range {
    position: absolute;
    height: 100%;
    border-radius: 2px;
}

.bx-filter .bx-ui-slider-pricebar-vd {
    background: var(--catalog-primary);
    z-index: 80;
}

.bx-filter .bx-ui-slider-pricebar-vn {
    z-index: 70;
    background: #cfd2e2;
}

.bx-filter .bx-ui-slider-range {
    z-index: 80;
}

.bx-filter .bx-ui-slider-handle.left {
    margin-left: -11px;
}

.bx-filter .bx-ui-slider-handle.right {
    margin-right: -11px;
}
.catalog-sidebar .bx-ui-slider-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--catalog-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.catalog-sidebar .bx-ui-slider-part {
    position: absolute;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 10px;
    color: var(--catalog-text-light);
    transform: translateX(-50%);
    display: none;
}

.catalog-sidebar .bx-ui-slider-part span {
    position: relative;
    top: 10px;
}

/* Popup с количеством товаров при выборе фильтра - по макету */
.catalog-sidebar #modef {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #1154ed !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    display: none !important;
    white-space: nowrap !important;
    z-index: 10000 !important;
    box-shadow: 0 4px 20px rgba(17, 84, 237, 0.4) !important;
}

.catalog-sidebar #modef[style*="display: inline-block"],
.catalog-sidebar #modef[style*="display:inline-block"] {
    display: block !important;
}

.catalog-sidebar #modef .arrow {
    display: none !important;
}

.catalog-sidebar #modef br {
    display: none !important;
}

.catalog-sidebar #modef a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    color: #1154ed !important;
    font-family: 'Gilroy-SemiBold', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-left: 15px !important;
    transition: all 0.2s ease !important;
}

.catalog-sidebar #modef a:hover {
    background: #f3f4f8 !important;
}

.catalog-sidebar #modef_num {
    color: #fff !important;
    font-family: 'Gilroy-Bold', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Скрываем дублирующий контейнер */
.catalog-sidebar .bx-filter-container-modef {
    display: none !important;
}

/* Кнопки фильтра - по макету frame-48095671 */
.catalog-sidebar .bx-filter-button-box {
    margin-top: 15px;
}

.catalog-sidebar .bx-filter-button-box .bx-filter-block {
    padding: 0;
}

.catalog-sidebar .button-conteiners {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.catalog-sidebar .btnfilterapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #1154ed;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 25px 15px;
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
}

.catalog-sidebar .btnfilterapp:hover {
    background: #0d44c7;
}

.catalog-sidebar .btn-link {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    background: #f3f4f8;
    color: #4b5767;
    border-radius: 10px;
    padding: 10px 25px 15px;
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    ;
    letter-spacing: 0;
    text-decoration: none;
}

.catalog-sidebar .btn-link:hover {
    color: #1154ed;
    background: #e6e8f3;
}

/* Показываем кнопку сброса когда есть выбранные фильтры */
.catalog-sidebar .bx-filter-button-box.has-selected .btn-link {
    display: flex !important;
}

/* Альтернативный селектор для совместимости */
.catalog-sidebar .bx-filter-button-box:has(.btn-link:hover) .btn-link,
.catalog-sidebar .bx-filter-button-box .btn-link:focus {
    display: flex !important;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
.catalog-main {
    flex: 1;
    min-width: 0;
}

/* H1 - название раздела */
.catalog-h1 {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #131416;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .catalog-h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

/* === ПОДРАЗДЕЛЫ (CATEGORIES2) - ПО МАКЕТУ === */
.categories2 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;
    margin-bottom: 20px;
}

.categories2__item {
    border-radius: 10px;
    border: 1px solid #c8d3df;
    padding: 12px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 188px;
    background: white;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 16%;
    height: 218px;
    justify-content: space-between;
    flex-direction: column;
    align-content: space-between;
}

.categories2__item img {
    max-height: 100px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.categories2__item:hover {
    border-color: var(--catalog-primary);
}

.categories2__text {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #131416;
    line-height: 1;
    width: 100%;
}

.catalog-panel {
    margin-bottom: 20px;
}

.catalog-main .catalog-panel {
    background: none;
    border-radius: 10px;
    padding: 15px 0px;
    margin-bottom: 20px;
}

.catalog-panel__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

/* Кнопка фильтров в панели */
.catalog-toolbar__filters-btn {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--catalog-sidebar-bg);
    border-radius: 20px;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 14px;
    color: var(--catalog-text);
    cursor: pointer;
    border: none;
    height: 30px;
    transition: all 0.2s ease;
}

@media (max-width: 992px) {
    .catalog-toolbar__filters-btn {
        display: flex;
    }
}

/* === СОРТИРОВКА - DROPBOX ПО МАКЕТУ === */
.dropbox {
    background: #e6e8f3;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    height: 30px;
    position: relative;
}

.dropbox__button {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
}

.dropbox__text {
    color: #131416;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 14px;
    line-height: 120%;
}

.dropbox__label {
    font-family: 'Gilroy-Regular', sans-serif;
}

.dropbox__value {
    font-family: 'Gilroy-Medium', sans-serif;
    font-weight: 500;
    text-decoration: underline;
}

.dropbox__arrow {
    width: 4px;
    height: 7px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dropbox.open .dropbox__arrow {
    transform: rotate(180deg);
}

.dropbox__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    background: #fff;
    border-radius: 10px;
    margin-top: 5px;
    padding: 10px 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dropbox.open .dropbox__dropdown {
    display: block;
}

.dropbox__option {
    padding: 10px 15px;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 14px;
    color: #131416;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropbox__option:hover {
    background: #f3f4f8;
}

.dropbox__option.active {
    color: var(--catalog-primary);
}

.bubbles {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.bubble {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    cursor: default;
    transition: all 0.2s ease;
}

.bubble:hover {
    background: #f8f9fa;
}

.bubble__text {
    color: #030923;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 12px;
    line-height: 120%;
    font-weight: 400;
}

.bubble__close {
    width: 8px;
    height: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.bubble__close:hover {
    opacity: 1;
}

/* Bubble "Очистить все" - по макету frame-152 */
.bubble--clear {
    background: transparent;
    padding: 6px 5px;
    border-radius: 20px;
    cursor: pointer;
}

.bubble--clear:hover {
    background: rgba(17, 84, 237, 0.05);
}

.bubble--clear .bubble__text {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 12px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    color: #1154ed;
}

.bubble--clear .bubble__close {
    opacity: 1;
}

.bubble--clear .bubble__close path {
    stroke: #1154ed;
}

/* === КАРТОЧКИ ТОВАРОВ - ПО МАКЕТУ (.cards) === */
.products-list {
    width: 100%;
}

.products-list__list {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    align-content: flex-start !important;
    margin: 0;
    padding: 0 !important;
    list-style: none !important;
}

.products-list__list::before,
.products-list__list::after {
    display: none !important;
}


@media (max-width: 576px) {
    .products-list__list {
        gap: 15px !important;
    }


}

.catalog-main .products-list__item {
    margin: 0px;
    width: calc(25% - 23px);
}

@media (max-width: 1670px) {
    .catalog-main .products-list__item {
        margin: 0px;
        width: calc(33% - 17px);
    }
}

@media (max-width: 1200px) {
    .catalog-main .products-list__item {
        margin: 0px !important;
        width: calc(50% - 17px) !important;
    }
}

@media (max-width: 680px) {
    .catalog-main .products-list__item {
        margin: 10px !important;
        width: 100% !important;
    }
}

/* === МОБИЛЬНАЯ ВЕРСИЯ === */
@media (max-width: 992px) {
    .catalog-sidebar {
        display: none;
    }

    .catalog-wrapper {
        flex-direction: column;
    }
}

/* === МОДАЛЬНОЕ ОКНО ФИЛЬТРОВ (МОБИЛЬНОЕ) === */
.catalog-filters-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
}

.catalog-filters-modal.active {
    display: block !important;
}

.catalog-filters-modal__content {
    background: #e6e8f3 !important;
    min-height: 100vh !important;
    width: 100% !important;
    padding: 20px !important;
    padding-bottom: 120px !important;
    box-sizing: border-box !important;
}

.catalog-filters-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    position: sticky !important;
    top: 0 !important;
    background: #e6e8f3 !important;
    padding: 10px 0 !important;
    z-index: 10 !important;
}

.catalog-filters-modal__title {
    font-family: 'Gilroy-Bold', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #131416 !important;
    margin: 0 !important;
}

.catalog-filters-modal__close {
    width: 37px !important;
    height: 37px !important;
    border: 1px solid rgba(19, 20, 22, 0.3) !important;
    border-radius: 50% !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.catalog-filters-modal__footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #f8f8fc !important;
    padding: 15px 20px !important;
    display: flex !important;
    gap: 15px !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

.catalog-filters-modal__reset {
    flex: 1 !important;
    padding: 12px !important;
    background: #f3f4f8 !important;
    border-radius: 10px !important;
    font-family: 'Gilroy-Medium', sans-serif !important;
    font-size: 14px !important;
    color: #4b5767 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    border: none !important;
    text-align: center !important;
}

.catalog-filters-modal__apply {
    flex: 1 !important;
    padding: 12px !important;
    background: #1154ed !important;
    border-radius: 10px !important;
    font-family: 'Gilroy-SemiBold', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    cursor: pointer !important;
    border: none !important;
    text-align: center !important;
}

/* === ПАГИНАЦИЯ ПО МАКЕТУ === */
.catalog-pagination {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
}

.catalog-pagination__show-more {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    color: #4b5767;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 16px;
    letter-spacing: 0.05em;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.catalog-pagination__show-more:hover {
    background: var(--catalog-primary);
    color: #fff;
}

.catalog-pagination__pages {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.catalog-pagination__arrow {
    background: #ffffff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.catalog-pagination__arrow:hover {
    opacity: 1;
}

.catalog-pagination__arrow.disabled {
    pointer-events: none;
}

.catalog-pagination__page {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #c8d3df;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #131416;
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    line-height: 145%;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.catalog-pagination__page:hover {
    border-color: var(--catalog-primary);
}

.catalog-pagination__page.active {
    background: var(--catalog-primary);
    border-color: var(--catalog-primary);
    color: #fff;
}

/* === Заголовок страницы === */
.h-2 .pagetitle,
h2.pagetitle {
    font-family: 'Gilroy-Bold', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    color: #131416 !important;
    margin: 0 0 30px 0 !important;
    line-height: 1.2 !important;
}

/* === МОБИЛЬНЫЙ SIDEBAR КАК МОДАЛЬНОЕ ОКНО === */
@media (max-width: 991.98px) {
    .catalog-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        bottom: 0px;
        z-index: 10000 !important;
        background: #e6e8f3 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        overflow-y: auto !important;
        padding: 20px 20px !important;

        box-sizing: border-box !important;
    }

    .catalog-sidebar.active {
        transform: translateX(0) !important;
    }

    .catalog-sidebar__header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(19, 20, 22, 0.1) !important;
    }

    .catalog-sidebar__title {
        font-family: 'Gilroy-Bold', sans-serif !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        color: #131416 !important;
        margin: 0 !important;
    }

    .catalog-sidebar__close {
        width: 37px !important;
        height: 37px !important;
        border: 1px solid rgba(19, 20, 22, 0.3) !important;
        border-radius: 50% !important;
        background: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        opacity: 0.5;
    }

    .catalog-sidebar__close:hover {
        background: #f3f4f8 !important;
        border-color: var(--catalog-primary) !important;
    }

    .catalog-sidebar__footer {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #f8f8fc !important;
        padding: 15px 20px !important;
        display: flex !important;
        gap: 15px !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
    }

    .catalog-sidebar__reset {
        flex: 1 !important;
        padding: 12px !important;
        background: #f3f4f8 !important;
        border-radius: 10px !important;
        font-family: 'Gilroy-Medium', sans-serif !important;
        font-size: 14px !important;
        color: #4b5767 !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        border: none !important;
        text-align: center !important;
        transition: all 0.2s ease !important;
    }

    .catalog-sidebar__reset:hover {
        background: #e6e8f3 !important;
    }

    .catalog-sidebar__apply {
        flex: 1 !important;
        padding: 12px !important;
        background: #1154ed !important;
        border-radius: 10px !important;
        font-family: 'Gilroy-SemiBold', sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #fff !important;
        cursor: pointer !important;
        border: none !important;
        text-align: center !important;
        transition: background 0.2s ease !important;
    }

    .catalog-sidebar__apply:hover {
        background: #0d44c7 !important;
    }

    .catalog-sidebar-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .catalog-sidebar-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }

    /* Скрываем кнопки фильтра внутри sidebar на мобильном (они есть в footer) */
    .catalog-sidebar .bx-filter-button-box {
        display: none !important;
    }
}

/* Десктоп - скрываем мобильные элементы */
@media (min-width: 992px) {

    .catalog-sidebar__header,
    .catalog-sidebar__footer,
    .catalog-sidebar-overlay {
        display: none !important;
    }
}

.frame-15 {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    gap: 10px;
    cursor: default;
    transition: all 0.2s ease;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: center;
}

.frame-15:hover {
    background: #f8f9fa;
}

.frame-242 {
    display: flex;
    align-items: center;
}

.div20 {
    color: #030923;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 12px;
    line-height: 120%;
    font-weight: 400;
}

.vector14 {
    width: 8px;
    height: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    margin-top: -7px;
}

.vector14:hover {
    opacity: 1;
}

.frame-152 {
    background: transparent;
    padding: 6px 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
}

.frame-152:hover {
    background: rgba(17, 84, 237, 0.05);
}

.div21 {
    font-family: 'Gilroy-Bold', sans-serif;
    font-size: 12px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    color: #1154ed;
}

.vector17 {
    width: 8px;
    height: 8px;
    opacity: 1;
    margin-top: -5px;
    margin-left: 8px;
}