

/* Start:/local/templates/main/styles.css?1796367846158*/
.header-dropdown a.header-dropdown__item:hover{
   color: #6B6A21 !important;
}

.header-dropdown a.header-dropdown__item {
    padding: 8px 0px !important;
}
/* End */


/* Start:/local/templates/main/template_styles.css?179636784613797*/
@media (max-width: 768px) {
	.footer-sec {
		padding-bottom: 105px !important;
	}
}

.bx-filter .checkbox:has(#arrFilter_52_336913281) {
    display: none !important;
}

.h1_project {
    color: #353535;
    font-size: 3.6rem;
    font-weight: 700;
    margin-top: 20px;
}

.product__name span {
    color: var(--main);
}

.page-catalog__toggler.active,
.page-catalog__toggler.selected {
    color: #fff;
    background-color: #85861c;
}

.page-catalog__tabs .tab.active {
    color: #fff;
    border-color: #85861c;
    background-color: #85861c;
}

.page-catalog__tabs .tab:hover,
.page-catalog__tabs .tab.active {
    background: #767524;
    color: #ffffff;
    border-color: #767524;
    box-shadow: 0 6px 12px -6px rgba(30, 41, 59, 0.3);
}

/* Недоступный вариант */
.smartfilter .filter-option-unavailable {
    color: #9d9d9d !important;
    opacity: 0.4;
    cursor: not-allowed !important;
    filter: grayscale(1);
    user-select: none;
}

/* Если внутри label есть отдельный текст */
.smartfilter .filter-option-unavailable span {
    color: #9d9d9d !important;
}

/* Видимый нативный checkbox */
.smartfilter input[type="checkbox"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    accent-color: #b5b5b5;
}

/* ===== Основной аккордеон ===== */
.acc:last-child {
    border-bottom: none;
   	background: #f3f3f3;
    border-radius: 15px;
}

.acc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #0b1a2f;
    transition: background 0.2s;
}

.acc__toggle:hover {

}

.acc__toggle-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.acc__toggle-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.acc__toggle-icon::before,
.acc__toggle-icon::after {
    content: '';
    position: absolute;
    background: #7a7b1f;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.acc__toggle-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acc__toggle-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acc.is-open .acc__toggle-icon {
    transform: rotate(180deg);
}

.acc.is-open .acc__toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.acc__body {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s ease,
                visibility 0.3s ease;
}

.acc.is-open .acc__body {
    max-height: 2000px;
    opacity: 1;
    visibility: visible;
}

.bt {
    border-top: 1px solid rgba(202, 215, 219, .96);
}

.acc__content {
    padding: 0 0 20px 0;
    display: flex;
    justify-content: space-between;
}

.acc-category__content {
    padding-left: 10px;
    padding-right: 10px;
}

/* ===== Блок категорий ===== */
.acc-category__block {
	max-width: 200px;
	min-width: 200px;
}

.acc-category__block:last-child {
    border-bottom: none;
}

.acc-category__block .acc__toggle {
    padding: 12px 0;
}

.acc-category__block .acc__toggle-title {
    font-size: 2rem;
    color: #353535 !important;
    font-weight: 700;
}

.acc-category__block-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.acc-category__block-list li {
    padding: 4px 0;
    width: 100%;
}

.acc-category__block-list a {
    font-size: 1.6rem;
    color: #000;
    text-decoration: underline;
    transition: color 0.2s;
}

.acc-category__block-list a:hover {
    color: #767524;
    text-decoration: underline;
}

/* ===== Список размеров с ограничением высоты ===== */
.acc-category__block-list.has-height-limit {
    max-height: 191px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px 0;
}

.acc-category__block-list.has-height-limit.expanded {
    max-height: 100%;
}

.acc-category__block-list.has-height-limit li {
    padding: 3px 0;
}

/* ===== Кнопка "Показать еще" ===== */
.acc-category__block-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #767524;;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 15px;
    transition: color 0.2s;
}

.acc-category__block-more:hover {
    color: #1a4f9e;
}

.acc-category__block-more .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.acc-category__block-more .arrow.rotated {
    transform: rotate(180deg);
}

/* ===== Главная кнопка "Скрыть категории" ===== */
.filter__acc > .acc__toggle {
    background: #f3f3f3;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 0px;
    margin-top: 20px;
    justify-content: flex-start;
}

.filter__acc > .acc__toggle .acc__toggle-title {
    font-size: 2rem;
    font-weight: 700;
    color: #353535;
}

.filter__acc > .acc__body {
    padding: 0 4px;
}

@media (max-width: 1024px) {
    .acc__content {
        flex-wrap: wrap;
    }

    .h1_project {
        font-size: 3.2rem;
    }
}

/* ===== Адаптив ===== */
@media (max-width: 600px) {
    .acc__toggle-title {
            font-size: 1.5rem !important;
    }
    .acc-category__block-list {
        gap: 4px 10px;
    }

    .h1_project {
        font-size: 2.2rem;
    }
}

/* Переключатели (табы) — горизонтальный скролл */
.page-catalog__tabs-wrap {
    margin-top: 20px;
}

.page-catalog__togglers {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    border-bottom: 2px solid #eef2f6;
}

.page-catalog__togglers::-webkit-scrollbar {
    height: 4px;
}
.page-catalog__togglers::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}
.page-catalog__togglers::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

.page-catalog__toggler {
    flex: 0 0 auto;
    padding: 10px 22px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #475569;
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: #f8fafc;
    border: 1px solid transparent;
}

.page-catalog__toggler:hover {
    background: #e9edf2;
    color: #1e293b;
}

.page-catalog__toggler.active {
    background: #767524;
    color: #ffffff;
    border-color: #767524;
    box-shadow: 0 6px 12px -6px rgba(30, 41, 59, 0.3);
}

/* Сетка для ссылок-табов */
.page-catalog__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    list-style: none;
    padding: 6px 0 4px;
    margin: 0;
}

.page-catalog__tabs[hidden] {
    display: none;
}

.page-catalog__tab {
    display: inline-block;
}

.tab {
    display: inline-block;
    padding: 8px 18px;
    background: #f8fafc;
    border-radius: 40px;
    font-size: 1.6rem;
    font-weight: 450;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid #e9edf2;
    line-height: 1.4;
    margin-bottom: 10px;
}

.tab:hover {
    background: #eef2f6;
    border-color: #cbd5e1;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.06);
}

.tab:active {
    transform: scale(0.97);
}

/* Адаптив для небольших экранов */
@media (max-width: 600px) {
    .page-catalog__tabs-wrap {
        border-radius: 20px;
    }

    .page-catalog__toggler {
        padding: 8px 16px;
        font-size: 1.3rem;
    }

    .tab {
        padding: 6px 14px;
        font-size: 1.2rem;
    }

    .page-catalog__tabs {
        gap: 6px 8px;
    }
}



/* SEO-текст под каталогом */
.seo-text {
    width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;

    margin-top: 40px;
/*    padding: 36px 40px;

    background: #f3f3f3;*/
    border-radius: 10px;

    color: #1e1e1e;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* Заголовки внутри SEO-текста */
.seo-text h2 {
    margin: 32px 0 16px;

    color: #1e1e1e;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.seo-text h2:first-child {
    margin-top: 0;
}

/* Абзацы */
.seo-text p {
    margin: 0 0 16px;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

/* Списки */
.seo-text ul,
.seo-text ol {
    margin: 0 0 20px;
    padding-left: 24px;
    list-style: disc;
}

.seo-text li {
    margin-bottom: 8px;
}

.seo-text li:last-child {
    margin-bottom: 0;
}

.seo-text li::marker {
    color: #767524;
}

/* Выделения и ссылки */
.seo-text strong,
.seo-text b {
    font-weight: 700;
}

.seo-text a {
    color: #767524;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-text a:hover {
    text-decoration: none;
}

/* Убираем нижний отступ у последнего элемента */
.seo-text > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .seo-text {
        margin-top: 30px;
        padding: 24px 20px;

        font-size: 14px;
        line-height: 1.4;
    }

    .seo-text h2 {
        margin: 26px 0 14px;

        font-size: 22px;
        line-height: 1.3;
    }
}

.seo-text h3 {
    margin: 32px 0 16px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    color: #222;
}

.seo-text h4 {
    margin: 24px 0 12px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

/* Убираем лишний отступ, если заголовок стоит первым */
.seo-text h3:first-child,
.seo-text h4:first-child {
    margin-top: 0;
}

@media (max-width: 767px) {
    .seo-text h3 {
        margin: 24px 0 12px;
        font-size: 18px;
    }

    .seo-text h4 {
        margin: 20px 0 10px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    #filter .page-catalog__tabs-wrap {
        margin: 0 0 24px;
        padding: 0 0 22px;
        border-bottom: 1px solid #dfe3e8;
    }

    #filter .page-catalog__tabs-wrap::before {
        content: "Быстрый подбор";
        display: block;
        margin-bottom: 16px;
        color: #242424;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
    }

    /*
     * Верхние табы — по два в строке.
     */
    #filter .page-catalog__togglers {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        margin: 0 0 16px;
        padding: 0 0 16px;
    }

    #filter .page-catalog__toggler {
        width: 100%;
        min-width: 0;
        padding: 9px 8px;
        font-size: 13px;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }

    /*
     * Ссылки выбранной группы.
     */
    #filter .page-catalog__tabs {
        width: 100%;
        padding: 0;
        gap: 7px;
    }

    #filter .page-catalog__tab {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        width: 100%;
    }

    #filter .page-catalog__tabs .tab {
        margin: 0;
        padding: 7px 12px;
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 600px) {
    #filter .bx-filter-section {
        padding: 24px 16px 20px;
    }

    #filter .page-catalog__tabs-wrap::before {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    /*
     * Пока JavaScript не перенёс блок в попап,
     * табы на странице не показываем.
     */
    .page-catalog__tabs-wrap {
        display: none;
    }

    /*
     * После переноса внутрь фильтра показываем.
     */
    #filter .page-catalog__tabs-wrap {
        display: block;
        margin: 0 0 24px;
        padding-bottom: 0;
        border-bottom: none;
    }

    /*
     * Заголовок «Фильтр» перед разделительной полоской.
     */
    /*#filter .page-catalog__tabs-wrap::after {
        content: "Фильтр";
        display: block;
        margin-top: 24px;
        padding-bottom: 14px;
        border-bottom: 1px solid #dfe3e8;

        color: #242424;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
    }*/
}

@media (max-width: 600px) {
    #filter .page-catalog__tabs-wrap::after {
        margin-top: 20px;
        font-size: 18px;
    }
}

.page-catalog__filter-title {
    display: none;
}

@media (max-width: 1024px) {
    /*
     * Предотвращает появление табов до переноса.
     */
    body .page-catalog__tabs-wrap {
        display: none;
    }

    body #filter .page-catalog__tabs-wrap {
        display: block;
        padding-bottom: 14px;
        border-bottom: 1px solid #dfe3e8;
    }

    #filter .page-catalog__filter-title {
        display: block;
        margin-top: 24px;

        color: #242424;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
    }
}

@media (max-width: 600px) {
    #filter .page-catalog__filter-title {
        margin-top: 20px;
        font-size: 18px;
    }
}
/* End */
/* /local/templates/main/styles.css?1796367846158 */
/* /local/templates/main/template_styles.css?179636784613797 */
