/**
 * Стили для страницы ФККО (page-fkko.php)
 */
body{
    min-height: -webkit-fill-available;
}
/* -------------------------------------------------- */
/* CSS-переменные                                     */
/* -------------------------------------------------- */
.fkko-wrapper {
    --fkko-badge-1: #C71404;
    --fkko-badge-2: #A76702;
    --fkko-badge-3: #D08802;
    --fkko-badge-4: #005B1F;
    --fkko-badge-5: #087844;
    --fkko-accent: #007656;
    --fkko-text: rgb(27, 27, 27);
    --fkko-text-muted: rgba(0, 0, 0, 0.5);
    --fkko-text-dim: rgba(27, 27, 27, 0.4);
    --fkko-border: rgba(27, 27, 27, 0.15);
    --fkko-border-light: rgba(27, 27, 27, 0.1);
    --fkko-border-mid: rgba(27, 27, 27, 0.2);
    --fkko-bg: #EEEEEE;
    --fkko-row-hover: rgba(27, 27, 27, 0.07);
    --fkko-font: "PP Neue Montreal", sans-serif;
}

/* -------------------------------------------------- */
/* Обёртка                                            */
/* -------------------------------------------------- */
.fkko-wrapper {
    position: relative;
    background-color: var(--fkko-bg);
    padding-top: 130px;
    padding-bottom: 80px;
}

.fkko-wrapper .main-sone-border {
    border-right: 1px solid var(--fkko-border-mid);
}

/* -------------------------------------------------- */
/* Мета-строка: хлебные крошки + дата обновления     */
/* -------------------------------------------------- */
.fkko-meta {
    padding: 0 20px;
    margin-bottom: 18px;
}

.fkko-meta__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-family: var(--fkko-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: var(--fkko-text);
}

.fkko-meta__breadcrumbs a {
    color: inherit !important;
    text-decoration: none;
}

.fkko-meta__breadcrumbs a:hover {
    opacity: 0.8;
}

/* kama_breadcrumbs из header-new: сброс absolute из style.css — крошки в потоке над H1 */
.fkko-meta .kama_breadcrumbs.fkko-meta__breadcrumbs {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
}

.fkko-meta__sep {
    opacity: 0.6;
}

.fkko-meta__updated {
    font-family: var(--fkko-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: var(--fkko-text-muted);
    opacity: 0.5;
    text-align: right;
}

/* -------------------------------------------------- */
/* Заголовок H1                                       */
/* -------------------------------------------------- */
.fkko-title {
    opacity: 1 !important;
    transform: none !important;
    width: 75%;
    font-size: 80px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
}

/* -------------------------------------------------- */
/* Строка поиска и фильтров                           */
/* -------------------------------------------------- */
.fkko-search-bar {
    padding-top: 12px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--fkko-border);
    margin-bottom: 0;
    background-color: var(--fkko-bg);
}

.fkko-search-bar .row {
    align-items: center;
}

.fkko-search-bar .col:first-child {
    padding-left: 20px !important;
}

.fkko-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.fkko-search-icon {
    color: var(--fkko-text-dim);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.fkko-search-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--fkko-text);
    font-family: var(--fkko-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.fkko-search-input::placeholder {
    color: var(--fkko-text-dim);
}

/* Кнопка очистки поиска (X) */
.fkko-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.fkko-search-clear.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.fkko-search-clear:hover {
    opacity: 0.6;
}

.fkko-search-clear svg {
    width: 20px;
    height: 20px;
}

.fkko-search-clear svg path {
    stroke: #000000;
}

/* Активное состояние строки поиска */
.fkko-search-bar.is-focused .fkko-search-input-wrap {
    width: 100%;
}

.fkko-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--fkko-text);
    font-family: var(--fkko-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.02em;
    padding: 6px 12px;
    border-radius: 5px;
    transition: opacity 0.2s ease;
}

.fkko-filter-btn:hover {
    opacity: 0.6;
}

.fkko-filter-btn svg {
    flex-shrink: 0;
}

/* Обёртка иконки с бейджем */
.fkko-filter-btn__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Бейдж-счётчик активных фильтров */
.fkko-filter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 50%;
    background: #007656;
    color: #FFFFFF;
    font-family: var(--fkko-font);
    font-size: 11px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fkko-filter-badge.is-visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1199px) {
    .fkko-filter-badge {
        top: -3px;
        right: -3px;
        min-width: 18px;
        height: 18px;
        padding: 0 3px;
        font-size: 10px;
        line-height: 18px;
    }
}

/* Sticky кнопка фильтров при скролле */
.fkko-filter-sticky {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #007656;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #FFFFFF;
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.fkko-filter-sticky.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fkko-filter-sticky:hover {
    opacity: 0.9;
}

.fkko-filter-sticky__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.fkko-filter-sticky__icon svg {
    width: 36px;
    height: 36px;
}

.fkko-filter-sticky__count:empty {
    display: none;
}

.fkko-filter-sticky__count:not(:empty)::before {
    content: '(';
}

.fkko-filter-sticky__count:not(:empty)::after {
    content: ')';
}

/* -------------------------------------------------- */
/* Таблица                                            */
/* -------------------------------------------------- */
.fkko-table {
    width: 100%;
}

.fkko-table-head {
    padding: 0;
    border-bottom: 1px solid var(--fkko-border);
}

.fkko-table-head .col {
    color: var(--fkko-text-muted);
    font-family: var(--fkko-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.01em;
    padding-top: 10px;
    padding-bottom: 10px;
}

.fkko-table-head .col:first-child {
    border-top: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.fkko-search-bar.is-focused + .fkko-table .fkko-table-head .col:first-child {
    border-top-color: var(--fkko-text);
}

.fkko-table-body {
    width: 100%;
}

.fkko-table-row {
    border-bottom: 1px solid var(--fkko-border-light);
    background-color: var(--fkko-bg);
    transition: background-color 0.15s ease;
}

.fkko-table-row:hover {

}

.fkko-table-row .col {
    color: var(--fkko-text);
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.02em;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Отступы колонок таблицы (переопределяем .colava) */
.fkko-table-head .col:first-child,
.fkko-table-row .col:first-child {
    padding-left: 20px !important;
}

.fkko-table-head .col:not(:first-child),
.fkko-table-row .col:not(:first-child) {
    padding-left: 8px !important;
}

/* -------------------------------------------------- */
/* Бейджи классов опасности                           */
/* -------------------------------------------------- */
.fkko-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--fkko-font);
    font-size: inherit;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.02em;
}

.fkko-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fkko-badge--1::before { background-color: var(--fkko-badge-1); }
.fkko-badge--2::before { background-color: var(--fkko-badge-2); }
.fkko-badge--3::before { background-color: var(--fkko-badge-3); }
.fkko-badge--4::before { background-color: var(--fkko-badge-4); }
.fkko-badge--5::before { background-color: var(--fkko-badge-5); }

.fkko-badge--1 { color: var(--fkko-badge-1); }
.fkko-badge--2 { color: var(--fkko-badge-2); }
.fkko-badge--3 { color: var(--fkko-badge-3); }
.fkko-badge--4 { color: var(--fkko-badge-4); }
.fkko-badge--5 { color: var(--fkko-badge-5); }

/* -------------------------------------------------- */
/* Ссылки в таблице                                   */
/* -------------------------------------------------- */
.fkko-table-link {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.fkko-table-link:hover {
    opacity: 0.6;
    color: #000000;
}

/* Наименование вида отхода: первая буква заглавная (::first-letter требует не чистый inline) */
.fkko-table-row .row.rowava > .col:first-child .fkko-table-link {
    display: inline-block;
}

.fkko-table-row .row.rowava > .col:first-child .fkko-table-link::first-letter {
    text-transform: uppercase;
}

/* -------------------------------------------------- */
/* Пустое состояние таблицы                           */
/* -------------------------------------------------- */
.fkko-table-empty {
    text-align: center;
    padding: 225px 20px;
}

.fkko-table-empty__title {
    font-family: var(--fkko-font);
    font-size: 48px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: var(--fkko-text);
    margin: 0 0 16px;
}

.fkko-table-empty__text {
    font-family: var(--fkko-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: var(--fkko-text-muted);
    margin: 0;
}

/* -------------------------------------------------- */
/* Разделительная линия                               */
/* -------------------------------------------------- */
.fkko-separator {
    width: calc(100% - 40px);
    margin: 0 20px;
    height: 0;
    border-top: 1px solid var(--fkko-border-mid);
}

/* -------------------------------------------------- */
/* Нижняя панель таблицы: пагинация                  */
/* -------------------------------------------------- */
.fkko-table-bottom {
    display: flex;
    padding: 40px 20px;
    padding-left: 50%;
}

.fkko-pagination {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.fkko-pagination__controls {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 10px;
}

.fkko-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--fkko-border-mid);
    background: transparent;
    cursor: pointer;
    color: var(--fkko-text);
    transition: opacity 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.fkko-pagination__btn svg {
    width: 16px;
    height: 16px;
}

.fkko-pagination__btn:hover {
    border-color: var(--fkko-text);
    opacity: 0.8;
}

.fkko-pagination__btn--disabled,
.fkko-pagination__btn--disabled:hover {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    border-color: var(--fkko-border-mid);
}

.fkko-pagination__nums {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fkko-pagination__num {
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--fkko-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.fkko-pagination__num:hover {
    color: var(--fkko-text);
}

.fkko-pagination__num--active {
    color: var(--fkko-text);
}

.fkko-pagination__dots {
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--fkko-text-muted);
}

/* -------------------------------------------------- */
/* Кнопка «Показать меньше»                           */
/* -------------------------------------------------- */
.fkko-show-less {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 326px;
    height: 50px;
    border: none;
    border-left: 3px solid var(--fkko-accent);
    background: transparent;
    cursor: pointer;
    padding: 0 0 0 20px;
    transition: opacity 0.2s ease;
}

.fkko-show-less:hover {
    opacity: 0.7;
}

.fkko-show-less__text {
    font-family: var(--fkko-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--fkko-text);
    white-space: nowrap;
}

.fkko-show-less__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* -------------------------------------------------- */
/* Информационная секция                              */
/* -------------------------------------------------- */
.fkko-info {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 150px 20px;
}

.fkko-info__image {
    width: 50%;
    flex-shrink: 0;
    padding-left: 20px;
    box-sizing: border-box;
}

.fkko-info__image img {
    width: auto;
    max-width: 459px;
    height: 356px;
    display: block;
    object-fit: cover;
}

.fkko-info__content {
    flex: 1;
    min-width: 0;
    padding-left: 8px;
}

.fkko-mob-br {
    display: none;
}

.fkko-info__h2 {
    font-family: var(--fkko-font);
    font-size: 48px;
    font-weight: 500;
    line-height: 91.67%;
    letter-spacing: -0.0208em;
    color: var(--fkko-text);
    margin-bottom: 40px;
}

.fkko-info__texts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fkko-info__text {
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--fkko-text);
    opacity: 0.6;
    margin: 0;
}

.fkko-info__text--label {
    opacity: 1;
    color: var(--fkko-text);
}

.fkko-info__subgroup {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fkko-info__texts ul,
.fkko-info__texts ol {
    padding-left: 1.5em;
}

.fkko-info__texts ul li {
    list-style: disc;
}

.fkko-info__texts ol li {
    list-style: decimal;
}

/* -------------------------------------------------- */
/* Блок с картинкой перед футером                     */
/* -------------------------------------------------- */
.fkko-footer-img {
    height: 700px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.fkko-footer-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Граница зоны показа sticky-кнопки «Фильтры» (до футера страницы ФККО) */
.fkko-filter-sticky-sentinel {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Попап и sticky-кнопка рендерятся вне .fkko-wrapper (page-fkko.php),
   поэтому не наследуют --fkko-font с обёртки страницы. */
.fkko-filter-popup,
.fkko-filter-sticky {
    --fkko-font: "PP Neue Montreal", sans-serif;
}

/* -------------------------------------------------- */
/* Оверлей фильтра                                    */
/* -------------------------------------------------- */
.fkko-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(35, 35, 35, 0.4);
    z-index: 999984;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.fkko-filter-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

/* -------------------------------------------------- */
/* Попап фильтра                                      */
/* -------------------------------------------------- */
.fkko-filter-popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 475px;
    height: 100vh;
    height: 100dvh;
    background: #007656;
    z-index: 999984;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: none;
}

.fkko-filter-popup.is-open {
    transform: translateX(0);
}

/* Шапка попапа */
.fkko-filter-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    padding-bottom: 40px;
    flex-shrink: 0;
    gap: 20px;
}

/* Заголовок «Фильтры» и «Сбросить все» в одну строку, кнопка справа от заголовка */
.fkko-filter-popup__header-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    flex: 1;
    min-width: 0;
}

.fkko-filter-popup__title {
    font-family: var(--fkko-font);
    font-size: 45px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    flex-shrink: 0;
}

.fkko-filter-popup__reset {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
    text-align: left;
    white-space: nowrap;
    flex-shrink: 0;
}

.fkko-filter-popup__reset:hover {
    color: rgba(255, 255, 255, 0.8);
}

.fkko-filter-popup__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}

.fkko-filter-popup__close svg {
    width: 24px;
    height: 24px;
}

.fkko-filter-popup__close:hover {
    opacity: 0.6;
}

/* Тело попапа */
.fkko-filter-popup__body {
    /*flex: 1;*/
    height: 100dvh;
    overflow-y: auto;
    padding: 0 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.08);
}

.fkko-filter-popup__body::-webkit-scrollbar {
    width: 4px;
}

.fkko-filter-popup__body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.fkko-filter-popup__body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Контейнер секций фильтра */
.fkko-filter-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Секция фильтра */
.fkko-filter-section__title {
    font-family: var(--fkko-font);
    font-size: 24px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0 0 24px;
}

/* Список чекбоксов */
.fkko-filter-checks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Один чекбокс */
.fkko-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}

.fkko-filter-check:focus-visible .fkko-filter-check__box {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.fkko-filter-check__box {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease;
    background: transparent;
}

/* Галочка внутри чекбокса */
.fkko-filter-check__box::after {
    content: '';
    position: absolute;
    opacity: 0;
    left: 50%;
    top: 44%;
    width: 32%;
    height: 52%;
    border-right: 1.5px solid #007656;
    border-bottom: 1.5px solid #007656;
    transform: translate(-60%, -50%) rotate(40deg);
    transition: opacity 0.18s ease;
}

/* Checked state */
.fkko-filter-check.is-checked .fkko-filter-check__box {
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.fkko-filter-check.is-checked .fkko-filter-check__box::after {
    opacity: 1;
}

.fkko-filter-check__label {
    font-family: var(--fkko-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.18s ease;
}

.fkko-filter-check:hover .fkko-filter-check__label {
    color: #FFFFFF;
}

.fkko-filter-check:hover .fkko-filter-check__box {
    border-color: #FFFFFF;
}

.fkko-filter-check.is-checked .fkko-filter-check__label {
    color: #FFFFFF;
}

/* Разделитель между секциями */
.fkko-filter-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Подвал попапа */
.fkko-filter-popup__footer {
    padding: 4px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    flex-shrink: 0;
}

/* Кнопка «Показать»: активна — текст #007656 без прозрачности; неактивна — 50% */
.fkko-filter-popup__apply {
    width: 100%;
    padding: 12px 24px;
    background: #FFFFFF;
    color: #007656;
    border: none;
    border-radius: 4px;
    font-family: var(--fkko-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: -0.03em;
    cursor: pointer;
    transition: color 0.2s ease;
    text-align: center;
}

.fkko-filter-popup__apply.is-disabled,
.fkko-filter-popup__apply:disabled {
    color: rgba(0, 118, 86, 0.5);
    cursor: default;
    pointer-events: none;
}

/* -------------------------------------------------- */
/* Адаптив: фильтр попап                              */
/* -------------------------------------------------- */
@media (max-width: 1199px) {
    .fkko-filter-popup {
        width: 380px;
    }

    .fkko-filter-popup__title {
        font-size: 32px;
    }

    .fkko-filter-popup__reset {
        font-size: 16px;
    }

    .fkko-filter-popup__apply,
    .fkko-filter-check__label {
        font-size: 16px;
    }

    .fkko-filter-section__title {
        font-size: 20px;
    }

    .fkko-filter-popup__header {
        padding: 20px;
        padding-bottom: 40px;
    }

    .fkko-filter-popup__body {
        padding: 0 20px 20px;
    }

    .fkko-filter-popup__footer {
        padding: 4px 20px 20px;
    }

    .fkko-filter-section__title {
        margin-bottom: 16px;
    }

    .fkko-filter-checks {
        gap: 14px;
    }

    .fkko-filter-check {
        gap: 8px;
    }

    .fkko-filter-check__box {
        width: 20px;
        height: 20px;
    }

    .fkko-filter-popup__close svg {
        width: 20px;
        height: 20px;
    }

    .fkko-filter-popup__apply {
        padding: 12px 24px;
        font-size: 16px;
    }
    .fkko-table-link{
        max-width: 180px;
    }
}

@media (max-width: 767px) {
    .fkko-filter-popup {
        width: 100%;
    }

    /* -------------------------------------------------- */
    /* Вертикальные линии: выравнивание по 16px padding    */
    /* -------------------------------------------------- */
    .fkko-wrapper .main-sone-border-alter-l {
        width: 16px;
    }

    .fkko-wrapper .main-sone-border-alter-r {
        width: calc(100% - 16px);
    }

    /* -------------------------------------------------- */
    /* Обёртка                                            */
    /* -------------------------------------------------- */
    .fkko-wrapper {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    /* -------------------------------------------------- */
    /* Обёртка: flex для перестановки мета/заголовка       */
    /* -------------------------------------------------- */
    .fkko-wrapper {
        display: flex;
        flex-direction: column;
    }

    /* -------------------------------------------------- */
    /* Мета-строка: разбиваем на отдельные flex-элементы   */
    /* чтобы вставить заголовок между ХК и датой           */
    /* -------------------------------------------------- */
    .fkko-meta {
        display: contents;
    }

    .fkko-meta > .row.rowava {
        display: contents;
    }

    .fkko-meta > .row.rowava > .col:first-child {
        order: -1;
        padding: 0 16px !important;
        margin-bottom: 12px;
    }

    .fkko-meta > .row.rowava > .col:last-child {
        padding: 0 16px !important;
        margin-bottom: 12px;
    }

    .fkko-meta__breadcrumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
        white-space: nowrap;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }

    .fkko-meta__breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    .fkko-meta__updated {
        text-align: left;
        margin-top: 0;
    }

    /* -------------------------------------------------- */
    /* Заголовок H1                                       */
    /* -------------------------------------------------- */
    .fkko-title {
        font-size: 30px;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 12px;
        order: -1;
    }

    /* -------------------------------------------------- */
    /* Строка поиска и фильтров                           */
    /* -------------------------------------------------- */
    .fkko-search-bar {
        padding: 12px 16px 0px;
    }

    .fkko-search-bar .row {
        flex-wrap: nowrap;
    }

    .fkko-search-bar .col {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    .fkko-search-bar .col:first-child {
        flex: 1;
        padding-left: 0 !important;
    }

    .fkko-search-bar .col:nth-child(2),
    .fkko-search-bar .col:nth-child(3) {
        display: none;
    }

    .fkko-search-input-wrap {
        gap: 8px;
    }

    .fkko-search-input-wrap svg:first-child {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .fkko-search-input {
        font-size: 14px;
        min-width: 0;
    }

    .fkko-filter-btn {
        font-size: 0;
        padding: 6px;
        gap: 0;
    }

    .fkko-filter-btn .fkko-filter-btn__icon-wrap {
        font-size: 18px;
    }

    .fkko-search-bar .row.rowava {
        border-bottom: 1px solid transparent;
        padding-bottom: 20px;
        transition: border-color 0.2s ease;
    }

    .fkko-search-bar.is-focused .row.rowava {
        border-bottom-color: var(--fkko-text);
    }

    .fkko-search-bar.is-focused + .fkko-table .fkko-table-head .col:first-child {
        border-top-color: transparent;
    }

    /* -------------------------------------------------- */
    /* Таблица — горизонтальный скролл                    */
    /* -------------------------------------------------- */
    .fkko-table {
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .fkko-table::-webkit-scrollbar {
        display: none;
    }

    .fkko-table-head,
    .fkko-table-body,
    .fkko-table-row {
        min-width: 800px;
    }

    .fkko-table-head .row.rowava,
    .fkko-table-row .row.rowava {
        flex-wrap: nowrap;
        min-width: 800px;
    }

    .fkko-table-head .col.colava,
    .fkko-table-row .col.colava {
        flex: 0 0 auto;
        max-width: none;
        width: auto;
    }

    .fkko-table-head .col.colava:nth-child(1),
    .fkko-table-row .col.colava:nth-child(1) {
        flex: 0 0 250px;
        min-width: 250px;
    }

    .fkko-table-head .col.colava:nth-child(2),
    .fkko-table-row .col.colava:nth-child(2) {
        flex: 0 0 200px;
        min-width: 200px;
    }

    .fkko-table-head .col.colava:nth-child(3),
    .fkko-table-row .col.colava:nth-child(3) {
        flex: 0 0 200px;
        min-width: 200px;
    }

    .fkko-table-head .col.colava:nth-child(4),
    .fkko-table-row .col.colava:nth-child(4) {
        flex: 0 0 250px;
        min-width: 250px;
        padding-right: 16px !important;
    }

    .fkko-table-head .col {
        font-size: 14px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .fkko-table-row .col {
        font-size: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .fkko-table-head .col:first-child,
    .fkko-table-row .col:first-child {
        padding-left: 16px !important;
    }

    /* -------------------------------------------------- */
    /* Разделитель                                        */
    /* -------------------------------------------------- */
    .fkko-separator {
        width: calc(100% - 32px);
        margin: 0 16px;
    }

    /* -------------------------------------------------- */
    /* Пагинация                                          */
    /* -------------------------------------------------- */
    .fkko-table-bottom {
        padding: 40px 16px;
        padding-left: 16px;
    }

    .fkko-pagination {
        width: 100%;
    }

    .fkko-pagination__controls {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        padding-left: 0;
    }

    .fkko-pagination__nums {
        flex: 1;
        justify-content: center;
        gap: 12px;
        min-width: 0;
        overflow: hidden;
    }

    .fkko-pagination__num {
        flex-shrink: 0;
    }

    .fkko-pagination__dots {
        font-size: 16px;
        flex-shrink: 0;
    }

    /* -------------------------------------------------- */
    /* Информационная секция                              */
    /* -------------------------------------------------- */
    .fkko-info {
        flex-direction: column;
        padding: 40px 16px 0;
        gap: 40px;
    }

    .fkko-info__image {
        width: 100%;
        order: 2;
        padding-left: 0;
    }

    .fkko-info__image img {
        width: 100%;
        max-width: 100%;
        height: 361px;
        object-fit: cover;
    }

    .fkko-info__content {
        padding-left: 0;
        order: 1;
    }

    .fkko-mob-br {
        display: block;
    }

    .fkko-info__h2 {
        font-size: 24px;
        line-height: 1em;
        letter-spacing: -0.0417em;
        margin-bottom: 30px;
    }

    .fkko-info__texts {
        gap: 20px;
    }

    .fkko-info__text {
        font-size: 14px;
        line-height: 120%;
        letter-spacing: -0.03em;
    }

    .fkko-info__subgroup {
        gap: 12px;
    }

    .fkko-info__text--label {
        font-size: 16px;
    }

    /* -------------------------------------------------- */
    /* Блок с картинкой перед футером                     */
    /* -------------------------------------------------- */
    .fkko-footer-img {
        height: 300px;
    }

    /* -------------------------------------------------- */
    /* Пустое состояние таблицы                           */
    /* -------------------------------------------------- */
    .fkko-table-empty {
        padding: 60px 16px;
    }

    .fkko-table-empty__title {
        font-size: 28px;
    }

    .fkko-table-empty__text {
        font-size: 16px;
    }

    /* -------------------------------------------------- */
    /* Sticky-кнопка фильтров: скрыта на мобильных        */
    /* -------------------------------------------------- */
    .fkko-filter-sticky {
        display: none;
    }
}

.fkko-table.is-loading .fkko-table-body {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
