

/* 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 */


/* Start:/local/templates/polaris/components/bitrix/catalog.item/.default/style.css?17836665604162*/
/* Стили для тултипа - черный фон, белые буквы */
.row-deliv .deliv-text {
    position: relative;
    margin-top: 10px;
}

.row-deliv .deliv-text .tooltip-info {
    position: fixed;
    left: 0;
    background: #000000 !important;
    border-radius: 0px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 298px;
    display: none;
    z-index: 9999999 !important;
    font-size: 14px;
}

/* Стрелка тултипа */
/* Стрелка тултипа - увеличенная */
.row-deliv .deliv-text .tooltip-info:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;  /* ← Было -8, стало -12 */
    width: 0;
    height: 0;
    border-left: 12px solid transparent;   /* ← Было 8, стало 12 */
    border-right: 12px solid transparent;  /* ← Было 8, стало 12 */
    border-top: 12px solid #000000 !important;  /* ← Было 8, стало 12 */
    z-index: 9999999;
    transform: translateX(-50%);
}

.row-deliv .deliv-text .tooltip-info > div {
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #000000 !important;
    position: relative;
    z-index: 3;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
}

.row-deliv .deliv-text .tooltip-info > div > div {
    padding: 10px 0;
    position: relative;
    border-bottom: 1px solid #333333 !important;
}

.row-deliv .deliv-text .tooltip-info > div > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.row-deliv .deliv-text .tooltip-info .wrapper-text {
    display: inline-block;
    background: #000000 !important;
    position: relative;
    z-index: 1;
}

.row-deliv .deliv-text .tooltip-info .wrapper-text:first-child {
    max-width: 70%;
}

.row-deliv .deliv-text .tooltip-info .wrapper-text span {
    display: inline;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.4;
}

.row-deliv .deliv-text .tooltip-info .wrapper-text .deliv-link {
    color: #ffffff !important;
    font-weight: 500;
    white-space: nowrap;
}

.row-deliv .deliv-text .tooltip-info .dots {
    display: none;
}

.item-with-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    flex-wrap: nowrap;
    position: relative;
}

.store-trigger {
    cursor: pointer;
    border-bottom: 1px dashed #999;
}

.store-trigger:hover {
    color: #0d61af;
}

.svg-spinner {
    filter: brightness(0) saturate(100%) invert(0%);
}

.svg-compare.active {
    background: transparent !important;
}

.compare-wrap:hover .tooltip-message {
    display: block;
}

.tooltip-message {
    display: none;
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 12px;
    letter-spacing: 0.2px;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    font-family: inherit;


    &::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-top: 9px solid #000000;
    }
}

.compare_message-del {
    display: none;
}

.compare_message-add {
    display: block;
}

label:has(input[data-entity="compare-checkbox"]:checked) .tooltip-message .compare_message-del {
    display: block;
}

label:has(input[data-entity="compare-checkbox"]:checked) .tooltip-message .compare_message-add {
    display: none;
}
/* End */
/* /local/templates/polaris/components/bitrix/catalog/polaris/style.css?17835843706328 */
/* /local/templates/polaris/components/bitrix/system.pagenavigation/catalog/style.min.css?1730976687675 */
/* /local/templates/polaris/components/bitrix/catalog.item/.default/style.css?17836665604162 */
