

/* Start:/bitrix/templates/floor/components/bitrix/catalog/master_template/style.css?178272619817975*/
.grid, .grid2x1 {
    /* Common styles can be defined here if needed */
}

.grid .bx_content_section,
.grid .bx_sidebar,
.grid2x1 .bx_content_section,
.grid2x1 .bx_sidebar {
    margin-bottom: 15px;
}

.grid2x1 {
    display: flex; /* Use flexbox for layout instead of float */
}

.grid2x1 .bx_content_section {
    flex: 2; /* 66% width */
}

.grid2x1 .bx_sidebar {
    flex: 1; /* 33% width */
    padding-left: 5%;
    box-sizing: border-box; /* Only need to declare this once */
}

.description-link {
    position: relative;
    color: #4a90e2;
    border-bottom: 1px dashed;
    padding-bottom: 1px;
}

@media (max-width: 960px) {
    .grid2x1 .bx_sidebar {
        padding-left: 4%;
    }
		.tags_box {
			white-space: nowrap;
			overflow-x: auto;
			padding-bottom: 5px;
		}
}

@media (max-width: 640px) {
    .grid2x1 .bx_content_section,
    .grid2x1 .bx_sidebar {
        width: 100%;
        float: none; /* Not needed with flexbox */
    }
    .grid2x1 .bx_sidebar {
        padding-left: 3%;
    }
		.tags_box {
			white-space: nowrap;
			overflow-x: auto;
			padding-bottom: 5px;
		}
}

@media (max-width: 479px) {
    .grid2x1 .bx_sidebar {
        padding-left: 1%;
    }
		.tags_box {
			white-space: nowrap;
			overflow-x: auto;
			padding-bottom: 5px;
		}
}


/* Стили для информации о запросе на странице результатов поиска */
.search-page-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(240, 164, 0, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(240, 164, 0, 0.2);
}

.search-page-info p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
}

.search-page-info .search-original-query {
    color: #777;
    font-size: 14px !important;
    margin-top: 8px !important;
}

/* Улучшенные стили для результатов поиска */
.catalog-search-list {
    margin-top: 20px;
}

.catalog-search-empty {
    padding: 30px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin: 20px 0;
}

.catalog-search-empty h3 {
    font-size: 20px;
    color: #555;
    margin-bottom: 15px;
}

.catalog-search-empty p {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}

.catalog-search-empty .search-suggestions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.catalog-search-empty .search-suggestions h4 {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.catalog-search-empty .search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-search-empty .search-suggestions li {
    margin-bottom: 8px;
}

.catalog-search-empty .search-suggestions a {
    color: #f0a400;
    text-decoration: none;
}

.catalog-search-empty .search-suggestions a:hover {
    text-decoration: underline;
}

/* Выделение совпадений в результатах поиска */
.search-item-highlight {
    background-color: rgba(240, 164, 0, 0.2);
    padding: 2px 0;
}

/* Стили для блока с рекомендациями при отсутствии результатов */
.catalog-search-empty {
    padding: 30px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.catalog-search-empty h3 {
    font-size: 20px;
    color: #555;
    margin-bottom: 15px;
}

.catalog-search-empty p {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}

.search-suggestions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h4 {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.search-suggestions ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.search-suggestions li {
    margin-bottom: 8px;
    color: #777;
}

.search-suggestions a {
    color: #f0a400;
    text-decoration: none;
}

.search-suggestions a:hover {
    text-decoration: underline;
}

/* ===== Подборки (теги) в одну линию, как на Ozon ===== */
.tags_box#kp-podborki {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    overflow: visible;
}

.tags_box#kp-podborki .kp-podborki__scroll {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.tags_box#kp-podborki .kp-podborki__scroll::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.tags_box#kp-podborki .kp-podborki__scroll ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tags_box#kp-podborki .kp-podborki__scroll ul li.tag {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-right: 8px;
    padding-top: 0;
    padding-bottom: 0;
}

.tags_box#kp-podborki .kp-podborki__scroll ul li.tag a {
    font-size: 14px;
    height: 36px;
    align-items: center;
    white-space: nowrap;
}

/* стрелки прокрутки */
.tags_box#kp-podborki .kp-podborki__arrow {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    position: relative;
    z-index: 2;
    padding: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.tags_box#kp-podborki .kp-podborki__arrow:hover {
    background: #f5f7fa;
}

.tags_box#kp-podborki .kp-podborki__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #505050;
    border-right: 2px solid #505050;
}

.tags_box#kp-podborki .kp-podborki__arrow--prev {
    margin-right: -18px;
}

.tags_box#kp-podborki .kp-podborki__arrow--prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.tags_box#kp-podborki .kp-podborki__arrow--next {
    margin-left: -18px;
}

.tags_box#kp-podborki .kp-podborki__arrow--next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* стрелки скрыты, когда прокрутка не нужна / достигнут край */
.tags_box#kp-podborki .kp-podborki__arrow.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* кнопка "Все подборки" закреплена справа */
.tags_box#kp-podborki .kp-podborki__all {
    flex: 0 0 auto;
    margin-left: 12px;
    border: solid 1px #d5d4d4;
    background: #f5f7fa;
    border-radius: 18px;
    color: #070707;
    font-size: 14px;
    height: 36px;
    padding: 0 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.15s ease-in-out;
}

.tags_box#kp-podborki .kp-podborki__all:hover {
    border-color: #fc8507;
    color: #fc8507;
}

/* развёрнутое состояние: все подборки в несколько строк */
.tags_box#kp-podborki.is-expanded .kp-podborki__scroll {
    overflow: visible;
}

.tags_box#kp-podborki.is-expanded .kp-podborki__scroll ul {
    flex-wrap: wrap;
    gap: 8px 0;
}

.tags_box#kp-podborki.is-expanded .kp-podborki__arrow {
    display: none;
}

/* на мобильных — нативная прокрутка без стрелок */
@media (max-width: 960px) {
    .tags_box#kp-podborki .kp-podborki__arrow,
    .tags_box#kp-podborki .kp-podborki__all {
        display: none;
    }
}

/* ===================================================================== */
/* ===== KP: сортировка в стиле Ozon (десктоп-дропдаун + моб. иконки) === */
/* ===================================================================== */

/* --- Десктопный выпадающий список сортировки --- */
.kp-sort {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.kp-sort__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 220px;
    background: #f5f7fa;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 15px;
    color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kp-sort__toggle:hover {
    border-color: #fc8507;
}

.kp-sort.is-open .kp-sort__toggle {
    border-color: #fc8507;
    box-shadow: 0 0 0 2px rgba(252, 133, 7, 0.15);
}

.kp-sort__current {
    font-weight: 600;
}

.kp-sort__caret {
    width: 9px;
    height: 9px;
    border-right: 2px solid #8a8f99;
    border-bottom: 2px solid #8a8f99;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease, margin 0.2s ease;
    flex: 0 0 auto;
}

.kp-sort.is-open .kp-sort__caret {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.kp-sort__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    padding: 6px;
    z-index: 200;
    display: none;
}

.kp-sort.is-open .kp-sort__menu {
    display: block;
}

.kp-sort__opt {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.kp-sort__opt:hover {
    background: #f5f7fa;
    color: #fc8507;
}

.kp-sort__opt.is-active {
    font-weight: 700;
    color: #fc8507;
}

/* --- Мобильные иконки тулбара: скрыты на десктопе --- */
.tags_box#kp-podborki .kp-mtools {
    display: none;
}

/* Пустой тулбар (без подборок) на десктопе не показываем */
.tags_box#kp-podborki.no-tags {
    display: none;
}

/* --- Мобильный режим: иконки сортировки + фильтра + теги в линию --- */
@media (max-width: 1024px) {
    .tags_box#kp-podborki {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
        overflow: visible;
    }

    .tags_box#kp-podborki.no-tags {
        display: flex;
    }

    .tags_box#kp-podborki .kp-mtools {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }

    .tags_box#kp-podborki .kp-msort {
        position: relative;
    }

    .tags_box#kp-podborki .kp-msort__btn,
    .tags_box#kp-podborki .kp-mfilter {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid #e3e7ee;
        background: #fff no-repeat center / 22px 22px;
        cursor: pointer;
        padding: 0;
        flex: 0 0 auto;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }

    .tags_box#kp-podborki .kp-msort__btn {
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 20V5'/><path d='M4 8l3-3 3 3'/><path d='M17 4v15'/><path d='M14 16l3 3 3-3'/></svg>");
    }

    .tags_box#kp-podborki .kp-mfilter {
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='4' y1='8' x2='20' y2='8'/><line x1='4' y1='16' x2='20' y2='16'/><circle cx='9' cy='8' r='2.5' fill='white'/><circle cx='15' cy='16' r='2.5' fill='white'/></svg>");
    }

    .tags_box#kp-podborki .kp-msort.is-open .kp-msort__btn,
    .tags_box#kp-podborki .kp-mfilter:active {
        border-color: #fc8507;
        box-shadow: 0 0 0 2px rgba(252, 133, 7, 0.18);
    }

    /* выпадающее меню сортировки на мобильном */
    .tags_box#kp-podborki .kp-msort__menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 250px;
        max-width: 80vw;
        background: #fff;
        border: 1px solid #e3e7ee;
        border-radius: 14px;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
        padding: 8px;
        z-index: 1300;
    }

    .tags_box#kp-podborki .kp-msort.is-open .kp-msort__menu {
        display: block;
    }

    .tags_box#kp-podborki .kp-msort__head {
        font-weight: 700;
        font-size: 16px;
        padding: 8px 12px 12px;
        color: #1a1a1a;
    }

    .tags_box#kp-podborki .kp-msort__opt {
        display: block;
        padding: 11px 12px;
        border-radius: 8px;
        color: #1a1a1a;
        font-size: 15px;
        text-decoration: none;
    }

    .tags_box#kp-podborki .kp-msort__opt.is-active {
        color: #fc8507;
        font-weight: 700;
    }

    /* теги занимают оставшееся место и скроллятся в одну линию */
    .tags_box#kp-podborki .kp-podborki__scroll {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* старый оранжевый язычок-открывашка фильтра больше не нужен */
    #filterMob > .filter_open:not(.btn-close) {
        display: none !important;
    }

    /* блок «Сортировать по» в нижней панели скрыт — он переехал в тулбар */
    .sorting_box .sorting_wrapper--sort {
        display: none !important;
    }
}

/* ===================================================================== */
/* ===== KP: правки фильтра (Отмена, кнопка снизу, шрифты +2px) ========= */
/* ===================================================================== */

/* Убираем подпись «Сортировать по:» на десктопе — остаётся только дропдаун */
.sorting_box .sorting_wrapper--sort .sorting_label {
    display: none;
}

/* «Отмена» — пункт в шапке фильтра (в одну линию с «Фильтры» и «Сбросить») */
.filter_box .filter_top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.filter_box .filter_top .title {
    float: none;
    margin: 0 16px 0 0;
    font-size: 18px;
    line-height: 1.2;
}

.filter_box .filter_top .reset_fltr {
    margin: 0;
}

.filter_box .filter_top .param_item_list {
    flex-basis: 100%;
    width: 100%;
}

.filter_box .kp-filter-cancel.btn-close {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0 auto;
    top: auto;
    right: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #fc8507;
    background: none;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    white-space: nowrap;
}

.filter_box .kp-filter-cancel.btn-close:before,
.filter_box .kp-filter-cancel.btn-close:after {
    display: none !important;
}

/* Шрифты в фильтре крупнее на 2px */
.filter_box .filter_top .title {
    font-size: 20px;
}

.filter_box .filter_top .reset_fltr,
.filter_box .filter_top .reset_fltr input {
    font-size: 16px;
}

.filter_box .filter_parameters_box_title {
    font-size: 18px;
}

.filter_box .param_item span {
    font-size: 16px;
}

.filter_box .filter_param_label,
.filter_box .filter_input_checkbox input[type='checkbox'] + label,
.filter_box .bx-filter-param-text {
    font-size: 16px;
}

.filter_box .bx-filter-select-text {
    font-size: 17px;
}

.filter_box .bx-filter-input-container input {
    font-size: 20px;
}

.filter_box .bx-filter .bx-filter-parameters-box.bx-active .bx-filter-block i.bx-ft-sub,
.filter_box .bx-ft-sub {
    font-size: 16px;
}

.filter_box .bx-ui-slider-part span {
    font-size: 13px;
}

/* выпадающие списки фильтра (popup рендерится в body) */
.bx-filter-select-popup ul li label {
    font-size: 16px;
}

/* Закреплённая снизу кнопка (Закрыть / Применить) — только в мобильной панели */
.kp-filter-footer {
    display: none;
}

@media (max-width: 1024px) {
    /* раскрытый фильтр перекрывает нижнее моб. меню (у него z-index 1200) */
    #filterMob.filter_box.open {
        z-index: 1300;
    }

    .filter_box.open .kp-filter-footer {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1300;
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    }

    .filter_box.open .kp-filter-done {
        display: block;
        width: 100%;
        border: none;
        border-radius: 12px;
        background: #fc8507;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        padding: 15px;
        cursor: pointer;
        transition: background 0.15s ease;
    }

    .filter_box.open .kp-filter-done:active {
        background: #e3760a;
    }

    /* запас снизу, чтобы последние параметры не прятались под кнопкой;
       без верхнего отступа, чтобы закреплённая плашка полностью перекрывала контент */
    .filter_box.open .filter_wrp {
        padding-top: 0;
        padding-bottom: 90px;
    }

    /* Закрепляем верхнюю плашку (Фильтры / Сбросить / Отмена) при скролле */
    #filterMob .filter_top {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 60;
        background: #fff;
    }
}
/* End */


/* Start:/bitrix/templates/floor/components/bitrix/catalog.section.list/bootstrap_v4/style.min.css?17476541722306*/
.catalog-section-list-item-title{overflow:hidden;margin:0;padding:0;vertical-align:middle;text-align:center;text-overflow:ellipsis;font-size:14px;line-height:20px}.catalog-section-list-item-link{vertical-align:middle;font-size:14px;line-height:20px}.catalog-section-list-item-counter{vertical-align:middle;font-size:12px;line-height:20px}.catalog-section-list-item-description{font-size:13px}.catalog-section-list-item-img{display:block;padding-top:100%;width:100%;border:1px solid #ccc;border-radius:2px;background-color:#fff;background-position:center;background-size:cover;background-repeat:no-repeat;transition:250ms linear all}.catalog-section-list-item-img:hover{border-color:var(--theme-color-primary)}.catalog-section-list-line-list{padding:0;list-style:none}.catalog-section-list-line-list .catalog-section-list-item{display:flex;margin-bottom:15px;align-items:flex-start}.catalog-section-list-line-list .catalog-section-list-item-title{text-align:left}.catalog-section-list-line-img-container{padding-right:15px;min-width:75px;width:75px}.catalog-section-list-line-list .catalog-section-list-titles{margin:0;line-height:20px}.catalog-section-list-text-list{padding:0;list-style:none;column-count:3}.catalog-section-list-text-list .catalog-section-list-item-title{text-align:left}@media(max-width:767px){.catalog-section-list-text-list{column-count:1}}.catalog-section-list-tile-list{padding:0;list-style:none}.catalog-section-list-tile-img-container{width:100%}.catalog-section-list-list{margin-bottom:30px}.catalog-section-list-list .catalog-section-list-item{padding:0;line-height:16px}.catalog-section-list-list .catalog-section-list-item:before{content:''!important}.catalog-section-list-list-title{display:inline-block;margin:0;margin-bottom:10px;padding:0;vertical-align:top;font-weight:normal;font-size:12px;line-height:16px}.catalog-section-list-list-link{white-space:nowrap;font-size:13px}.catalog-section-list-list-link:hover{text-decoration:none}.catalog-section-list-list-title span{font-size:11px}@media(max-width:639px){.bx-touch .catalog-section-list-list .bx_catalog_line_title{margin-bottom:5px;line-height:12px}.bx-touch .catalog-section-list-list .bx_catalog_line_title a{font-size:12px}}.catalog-section-list-list-title,.catalog-section-list-list-link{transition:all .3s ease}
/* End */
/* /bitrix/templates/floor/components/bitrix/catalog/master_template/style.css?178272619817975 */
/* /bitrix/templates/floor/components/bitrix/catalog.section.list/bootstrap_v4/style.min.css?17476541722306 */
