

/* Start:/local/templates/polaris/components/bitrix/catalog/polaris/style.css?17835843706328*/
.catalog-top {
    width: 100%;
}

.catalog_items-list {
    width: 100%;
}

.catalog__items-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== Контейнер ===== */
.custom-select {
    position: relative;
    display: inline-block;
    user-select: none;
}


/* Убираем рамку полностью */
.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;;
    justify-content: space-between;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
     border-color: #fff;
    border-radius: inherit;
    background-color: inherit;
    white-space: nowrap;
    cursor: pointer;
}

catalog__sort {
    font-size: 1rem;
}

/* ===== Текст ===== */
.custom-select__text {
    font-weight: 500;
    color: #1F2937;
    flex: 1;
}

/* ===== Стрелка ===== */
.custom-select__arrow {
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #6B7280; /* Цвет стрелки */
}

/* Поворот стрелки при открытии */
.custom-select__trigger.open .custom-select__arrow {
    transform: rotate(180deg);
    color: #3B82F6; /* Цвет стрелки при открытии */
}

/* ===== Выпадающий список ===== */
.custom-select__options {
    position: absolute;

    right: 0;
    min-width: 100%;
    width: auto;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    z-index: 1000;
}

/* Открытое состояние */
.custom-select__options.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ===== Пункты списка ===== */
.custom-select__option {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    cursor: pointer;
}

/* Ховер на пункте */
.custom-select__option:hover {
    background: #f8f9fa; /* Цвет фона при наведении на пункт */
}

/* Активный/выбранный пункт */
.custom-select__option.selected {
    background: #010916;
    color: white;/* Цвет фона выбранного пункта */
    font-weight: 500;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    .custom-select {
        min-width: 180px;
    }

    .custom-select__trigger {
        padding: 8px 14px;
    }


    .custom-select__option {
        padding: 6px 12px;
    }
}




@media (max-width: 992px) {

    .catalog__items-count {
        display: none;
    }

    .catalog__sort {
        width: 100%;
    }

    .custom-select {
        width: 100%;
    }

    .custom-select__trigger {
        width: 100%;
        border: 1px solid #010916;
        background-color: #fff;
        padding: .6em 1.1em .5em .5em;
        cursor: pointer;
        width: 100%;
        max-height: 48px;
        height: 48px;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
    }

    /* ===== Выпадающий список в закрытом состоянии ===== */
    .custom-select__options {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 0 20px rgba(1, 9, 22, .2);
        padding: 0;
        /* Анимация только по высоте и прозрачности */
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: hidden;

        /* ВАЖНО: Сбрасываем десктопный трансформ, чтобы убрать эффект уменьшения размера */
        transform: none !important;

        /* Плавный переход только для высоты и прозрачности */
        transition: max-height 0.5s ease-in-out,
        opacity 1s ease-in-out,
        visibility 1s ease-in-out;
    }

    /* ===== Выпадающий список в ОТКРЫТОМ состоянии ===== */
    .custom-select__options.open {
        max-height: 15em;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;

        /* Гарантируем отсутствие трансформа и при открытии */
        transform: none !important;

        transition: max-height 0.5s ease-in-out,
        opacity 0.1s ease-in-out,
        visibility 0.1s;
    }

    .catalog__sort-title {
        display: none;
    }

    .custom-select__option {
        padding: 0.6em;
    }

    .custom-select__option.selected {
        background: inherit;
        color: #212529;
        font-weight: 400;
    }


    .custom-select__option:focus, .custom-select__option:active, .custom-select__option.has-focus {
        background-color: #f0f1f3;
    }

    .filter_wrapper.active {
        /*display: block;*/
        -webkit-transform: translateX(-100vw);
        -ms-transform: translateX(-100vw);
        transform: translateX(-100vw);
        overflow: overlay;
    }

    .filter_wrapper {
        position: fixed;
        right: calc(-100% - 15px);
        top: 0;
        z-index: 5;
        height: 100%;
        width: 80%;
        padding: 20px;
        cursor: pointer;
        background-color: #efefef;
        -webkit-transition: transform .53s;
        -o-transition: .53s transform;
        transition: transform .53s;
        -webkit-transition-timing-function:
                cubic-bezier(.38, .52, .37, 1);
        -o-transition-timing-function: cubic-bezier(.38,.52,.37,1);
        transition-timing-function:
                cubic-bezier(.38, .52, .37, 1);
    }
}
/* End */


/* Start:/local/templates/polaris/components/bitrix/system.pagenavigation/catalog/style.min.css?1730976687675*/
div.modern-page-navigation{padding:.5em 0}div.modern-page-navigation a,span.modern-page-current,span.modern-page-dots{border-left-width:1px;border-left-style:solid;padding-left:.75em;padding-right:.5em;text-decoration:none}div.modern-page-navigation a.modern-page-previous{border-right-width:1px;border-right-style:solid;border-left:0}div.modern-page-navigation a.modern-page-first,div.modern-page-navigation span.modern-page-first{border-left:0;padding-left:.5em}span.modern-page-current{font-weight:var(--ui-font-weight-bold)}div.modern-page-navigation a,span.modern-page-current,div.modern-page-navigation a.modern-page-previous,span.modern-page-dots{border-color:#cdcdcd}
/* End */
/* /local/templates/polaris/components/bitrix/catalog/polaris/style.css?17835843706328 */
/* /local/templates/polaris/components/bitrix/system.pagenavigation/catalog/style.min.css?1730976687675 */
