

/* Start:/local/templates/erma/components/bitrix/catalog/erma/style.css?17907711008026*/
/*
 * Общий слой каталога.
 * Здесь живут только оболочка страниц и переиспользуемые карточки товаров.
 * Сетка, фильтр и детальная страница оформляются в CSS своих подкомпонентов.
 */

.page-catalog {
    overflow-x: clip;
    color: var(--ui-black);
    background: var(--ui-white);
}

.page-catalog .site-header { color: var(--ui-black); }

.catalog-page {
    width: min(calc(100% - 80px), var(--ui-container));
    min-height: 60vh;
    margin-inline: auto;
    padding: 144px 0 96px;
    background: var(--ui-white);
}

.product-grid {
    display: grid;
    gap: 50px 15px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.product-card__media {
    position: relative;
    display: flex;
    aspect-ratio: 1.16 / 1;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
    background: var(--ui-gray-50);
}

.product-card__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Картинка карточки при наведении не увеличивается — по просьбе заказчика. */

.product-card__badges,
.product-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

.product-card__badges {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
}

/*
 * Метки товара. Размер шрифта задан по макетам:
 * 1920 — 18px, 1366 — 14px, 768 — 12px, 360 — 10px.
 * Высота и отступы растут вместе с кеглем, иначе текст упирается в края.
 */
.product-badge {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 12px;
    font-family: var(--ui-font);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.product-badge--new { color: var(--ui-green); background: #dff5e9; }
.product-badge--action { color: var(--ui-orange); background: #fff0d3; }
.product-badge--discount { color: var(--ui-pink); background: #ffe1ec; }

.product-card__title {
    margin: 18px 0 8px;
    font-family: var(--ui-display);
    font-size: 32px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1;
    text-transform: uppercase;
}

.product-card__title a {
    transition: color .2s ease;
}

.product-card__title a:hover { color: var(--ui-blue); }

/*
 * Свойства карточки — чипы стиля Tag из макета: подложка rgba(19,19,19,.05),
 * радиус 1px, внутренний отступ 6px, Manrope 600, верхний регистр, line-height 1.
 * Кегль: 1920 — 18px, 1366 — 14px, 768 — 12px, 360 — 10px (как у меток товара).
 */
.product-card__props {
    display: flex;
    min-height: 30px;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
    font-family: var(--ui-font);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.product-card__props span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 1px;
    background: rgba(19, 19, 19, .05);
    color: rgba(19, 19, 19, .7);
}

.product-card__price,
.product-detail__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--ui-display);
    font-style: italic;
}

.product-card__price {
    margin: auto 0 14px;
    flex-wrap: wrap;
}

/*
 * Цена — стиль H3, старая цена — H4: Svarog2 500, letter-spacing -.05em, line-height 1.
 * Кегль: 1920 — 48/32, 1366 — 34/22, 768 — 28/20, 360 — 20/16.
 * Детальная страница задаёт свои размеры через .product-detail__price.
 */
.product-card__price-current {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1;
}

.product-card__price-old {
    color: rgba(19, 19, 19, .3);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1;
}

/*
 * Кнопка карточки — Button text: 1920 — 20px при высоте 60, 1366 — 16/50,
 * 768 — 14/45, 360 — 12/40. Ширина по содержимому: расстояние между текстом
 * и стрелкой задаёт gap из макета (120 / 80 / 15 / 15).
 */
.product-card__button {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 120px;
    padding: 0 20px;
    border: 1px solid rgba(19, 19, 19, .15);
    border-radius: 2px;
    font-family: var(--ui-font);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.product-card__button:hover {
    border-color: var(--ui-blue);
    color: var(--ui-white);
    background: var(--ui-blue);
}

.product-card__button .ui-icon,
.product-detail__related-link .ui-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0);
}

.product-card__button:hover .ui-icon {
    filter: none;
}


@media (max-width: 1400px) {
    .catalog-page {
        width: calc(100% - 60px);
        padding: 112px 0 72px;
    }

    .product-grid { gap: 40px 30px; }

    .product-badge {
        min-height: 26px;
        padding: 6px;
        font-size: 14px;
    }

    .product-card__media { aspect-ratio: 1 / 1; padding: 24px; }
    .product-card__props { min-height: 26px; font-size: 14px; }
    .product-card__title { margin: 15px 0 8px; font-size: 22px; }
    .product-card__price-current { font-size: 34px; }
    .product-card__price-old { font-size: 22px; }

    .product-card__button {
        min-height: 50px;
        gap: 80px;
        padding: 0 20px;
        font-size: 16px;
    }
}

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .catalog-page {
        width: calc(100% - 40px);
        padding: 140px 0 64px;
    }

    .product-grid { gap: 40px 10px; }

    .product-badge {
        min-height: 24px;
        padding: 6px;
        font-size: 12px;
    }

    .product-card__media { aspect-ratio: 1 / 1; padding: 22px; }
    .product-card__props { min-height: 24px; font-size: 12px; }
    .product-card__title { margin: 15px 0 8px; font-size: 20px; }
    .product-card__price-current { font-size: 28px; }
    .product-card__price-old { font-size: 20px; }

    .product-card__button {
        min-height: 45px;
        gap: 15px;
        padding: 0 15px;
        font-size: 14px;
    }

    .product-card__button .ui-icon { width: 12px; height: 12px; }
}

@media (max-width: 600px) {
    .catalog-page {
        width: calc(100% - 30px);
        padding: 120px 0 48px;
    }

    .product-badge {
        min-height: 16px;
        padding: 3px 5px;
        font-size: 10px;
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .product-card__media { aspect-ratio: 1.18 / 1; padding: 18px; }
    .product-card__props { min-height: 16px; gap: 5px; font-size: 10px; }
    .product-card__props span { padding: 3px; }
    .product-card__title { margin: 15px 0 8px; font-size: 16px; }
    .product-card__price-current { font-size: 20px; }
    .product-card__price-old { font-size: 16px; }

    .product-card__button {
        min-height: 40px;
        gap: 15px;
        padding: 0 15px;
        font-size: 12px;
    }

    .product-card__button .ui-icon { width: 10px; height: 10px; }
}

/* End */


/* Start:/local/templates/erma/components/bitrix/catalog.section.list/erma_tabs/style.css?17907708465801*/
/* Лента категорий раздела */

.product-list__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;}

/*
 * Чип — кадр «1920_Каталог продукции 2 ур.»: высота 60, поля 20, радиус 2, текст Desktop/Button text
 * (Manrope 600, 20 px, line-height 100 %, заглавные), крестик через 8. Серый — Gray BG, активный — Blue.
 */
.product-chip {
    display: inline-flex;
    height: 60px;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 2px;
    font-family: var(--ui-font);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;}

.product-chip--muted {
    color: var(--ui-black);
    background: var(--ui-gray-100);}

.product-chip--muted:hover {
    color: var(--ui-white);
    background: var(--ui-graphite);}

.product-chip--active {
    color: var(--ui-white);
    background: var(--ui-blue);}

.product-chip__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;}

.product-chip__close .ui-icon {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);}

/*
 * Размеры чипов по макету «Каталог 2 ур»:
 * 1366 — 50px/16px, 768 — 45px/14px, 360 — 40px/12px.
 * Кнопки прокрутки ленты совпадают по высоте с чипами.
 */

@media (max-width: 1400px) {
    .product-list__chips { gap: 10px; margin-bottom: 60px;}
    .product-chip { height: 50px; padding: 0 20px; font-size: 16px;}
}

@media (max-width: 1200px) {
    .product-list__chips { gap: 5px; margin-bottom: 40px;}
    .product-chip { height: 45px; padding: 0 15px; font-size: 14px;}
}

@media (max-width: 600px) {
    .product-list__chips { margin-bottom: 20px;}
    .product-chip { height: 40px; padding: 0 15px; font-size: 12px;}
}

/* ---------- Чипы категорий раздела ---------- */

.product-list__chips-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;}

.product-list__chips-viewport {
    position: relative;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;}

.product-list__chips-viewport::before,
.product-list__chips-viewport::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: clamp(34px, 6vw, 76px);
    opacity: 0;
    pointer-events: none;
    content: "";
    transition: opacity .2s ease;}

.product-list__chips-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #fff 5%, rgb(255 255 255 / 0));}

.product-list__chips-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #fff 5%, rgb(255 255 255 / 0));}

.product-list__chips-viewport.can-scroll-left::before,
.product-list__chips-viewport.can-scroll-right::after {
    opacity: 1;}

.product-list__chips--scroll {
    width: 100%;
    flex-wrap: nowrap;
    margin-bottom: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;}

.product-list__chips--scroll::-webkit-scrollbar {
    display: none;}

.product-list__chips--scroll .product-chip {
    flex: 0 0 auto;}

.product-list__chips-nav {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;}

.product-list__chips-nav[hidden] {
    display: none;}

/*
 * Кнопка прокрутки ленты — «Container» макета: квадрат высотой с чип (60 / 50 / 45),
 * фон Black 5 %, радиус 2, иконка Arrow_R 20×20 (треугольник 9×12 #131313).
 * Видна только та стрелка, в сторону которой лента ещё прокручивается.
 */
.product-list__chips-button {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 2px !important;
    color: var(--ui-black);
    background: rgba(19, 19, 19, .05);
    transition: color .2s ease, background-color .2s ease;}

.product-list__chips-button:hover {
    color: var(--ui-white);
    background: var(--ui-graphite);}

.product-list__chips-button[hidden] {
    display: none;}

/* Стрелки прокрутки ленты */
.product-list__chips-nav .product-pager__arrow {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.product-list__chips-nav .product-pager__arrow--prev { border-right: 9px solid currentcolor; }
.product-list__chips-nav .product-pager__arrow--next { border-left: 9px solid currentcolor; }

/*
 * Лента раздела и её кнопки прокрутки описаны ниже базовых правил,
 * поэтому адаптив для них вынесен в конец файла — иначе базовый блок перебивает.
 * Кнопки совпадают по высоте с чипами: 1366 — 50, 768 — 45, 360 — 40.
 * Отступ ленты до фильтра и сетки по макету: 60 / 60 / 40 / 20, между лентой и кнопками — 15.
 */

@media (max-width: 1400px) {
    .product-list__chips-row { margin-bottom: 60px;}
    .product-list__chips-button { width: 50px; height: 50px;}
}

@media (max-width: 1200px) {
    .product-list__chips-row { margin-bottom: 40px;}
    .product-list__chips-button { width: 45px; height: 45px;}
}

@media (max-width: 600px) {
    .product-list__chips-row { margin-bottom: 20px;}
    .product-list__chips-button { width: 40px; height: 40px;}
}

/* End */


/* Start:/local/templates/erma/components/bitrix/catalog.smart.filter/erma_filter/style.css?179077084615101*/
/* Умный фильтр каталога */

/* ---------- Фильтры ---------- */

.product-filters-widget { min-width: 0; }

.product-filters__mobile-open,
.product-filters__mobile-close,
.product-filters__backdrop { display: none; }

.product-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;}

.product-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
}

.product-filters__head-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.product-filters__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0;
}

.product-filters__reset {
    color: var(--ui-black);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    display: flex;
    gap: 8px;
    align-items: center;
}

.product-filters__reset .ui-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0);
}

.product-filter {
    border: 1px solid #e0e2e4;
    background: var(--ui-white);}

.product-filter__toggle {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 0;
    border-radius: 0 !important;
    background: var(--ui-gray-100);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: left;
}

.product-filter__chevron {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: url(/local/templates/erma/components/bitrix/catalog.section/erma_grid/../../../../assets/img/ui/arrow-down.svg) 50% / contain no-repeat;
    filter: brightness(0);
    transition: transform .2s ease;
}

.product-filter.is-open .product-filter__chevron {
    transform: rotate(180deg);}

.product-filter__body {
    padding: 0 16px 14px;
    background: var(--ui-gray-100);
}

.product-filter__body[hidden] {
    display: none;}

.product-filter__option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    cursor: pointer;
    font-size: 14px;}

.product-filter__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;}

.product-filter__mark {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 1px solid var(--ui-gray-300);
    background: var(--ui-white);
    transition: border-color .2s ease, background-color .2s ease;}

/*
 * Радиокнопка по макету (компонент radio-button): круг 18 (на 360 — 15), без обводки, белый;
 * выбранная — синяя с белым кругом 12 (на 360 — 10) внутри, т. е. синее кольцо 1/6 диаметра.
 */
.product-filter__option input[type="radio"] + .product-filter__mark {
    --radio-size: 18px;
    width: var(--radio-size);
    height: var(--radio-size);
    border: 0;
    border-radius: 50%;
    background: var(--ui-white);
    transition: box-shadow .2s ease;}

.product-filter__option input:checked + .product-filter__mark {
    border-color: var(--ui-blue);
    background: var(--ui-blue);}

.product-filter__option input[type="checkbox"]:checked + .product-filter__mark::after {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid var(--ui-white);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);}

.product-filter__option input[type="radio"]:checked + .product-filter__mark {
    background: var(--ui-white);
    box-shadow: inset 0 0 0 calc(var(--radio-size) / 6) var(--ui-blue);}

/* Пункт «Все» (пустое значение) нужен штатному фильтру для сброса, в макете его нет — скрыт. */
.product-filter__option--all {
    display: none;}

.product-filter__option input:focus-visible + .product-filter__mark {
    outline: 2px solid var(--ui-blue);
    outline-offset: 2px;}

.product-filter__label {
    color: var(--ui-black);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
}


/* Диапазон цены */

.product-price-range {
    padding-top: 6px;}

.product-price-range__track {
    position: relative;
    height: 24px;}

.product-price-range__track::before {
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 4px;
    background: #e0e2e4;
    content: "";}

.product-price-range__fill {
    position: absolute;
    top: 10px;
    height: 4px;
    background: var(--ui-blue);}

.product-price-range__thumb {
    position: absolute;
    top: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;}

.product-price-range__thumb:focus {
    outline: 0;}

.product-price-range__thumb::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid var(--ui-blue);
    border-radius: 50%;
    -webkit-appearance: none;
    appearance: none;
    background: var(--ui-white);
    cursor: pointer;
    pointer-events: auto;}

.product-price-range__thumb::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid var(--ui-blue);
    border-radius: 50%;
    background: var(--ui-white);
    cursor: pointer;
    pointer-events: auto;}

.product-price-range__fields {
    display: flex;
    gap: 10px;
    margin-top: 14px;}

.product-price-range__input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 0;
    background: rgba(19, 19, 19, 0.05);
    color: var(--ui-gray-500);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
}

.product-price-range__input:focus {
    color: var(--ui-black);
}

/* Кнопки внизу панели: «Показать N товаров» и «Сбросить» */

.product-filters__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.product-filters__submit {
    width: 100%;
    height: 56px;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 0 !important;
    font-size: 15px;
    gap: 12px;
    cursor: pointer;
    transition: opacity .2s ease;}

.product-filters__submit:disabled { cursor: progress; opacity: .7; }

.product-filters__submit .ui-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);}

.product-filters__clear {
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid #e0e2e4;
    color: var(--ui-black);
    background: var(--ui-white);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .2s ease;
}

.product-filters__clear:hover { border-color: var(--ui-black); }

.product-filters__clear .ui-icon { width: 20px; height: 20px; filter: brightness(0); }

.product-filters.is-loading .product-filter__count { opacity: .5; }

/* Плашка у изменённого свойства (штатный #modef, режим VERTICAL) */

.product-filter { position: relative; }

.product-filter__modef-slot {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
}

.product-filters__popup {
    position: absolute;
    top: 32px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px 12px 18px;
    white-space: nowrap;
    color: var(--ui-black);
    background: var(--ui-white);
    box-shadow: 0 10px 30px rgb(0 0 0 / .16);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    transform: translateY(-50%);
}

/* Пока плашка не переехала к свойству — она не нужна */
.product-filters > .product-filters__popup { display: none !important; }

.product-filters__popup::before {
    position: absolute;
    top: 50%;
    left: -7px;
    width: 14px;
    height: 14px;
    background: var(--ui-white);
    box-shadow: -3px 3px 6px rgb(0 0 0 / .06);
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.product-filters__popup.is-visible { animation: product-filters-popup .2s ease both; }

@keyframes product-filters-popup {
    from { opacity: 0; transform: translate(-6px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

.product-filters__popup-text b { font-weight: 700; }

.product-filters__popup-link {
    display: inline-flex;
    height: 36px;
    align-items: center;
    padding: 0 16px;
    color: var(--ui-white);
    background: var(--ui-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.product-filters__popup-close {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.product-filters__popup-close .ui-icon { width: 12px; height: 12px; filter: brightness(0); opacity: .5; }

/*
 * Размеры фильтра по макету «Каталог 2 ур».
 * 1366 — заголовок 20, сброс 16, группа 16, опции 14, контролы 50px;
 * 768 — 18 / 14 / 14 / 13, контролы 45px;
 * 360 — 14 / 12 / 12 / 12, контролы 40px.
 */

@media (max-width: 1400px) {
    .product-filters__head { margin-bottom: 25px; }
    .product-filters__title { font-size: 20px; }
    .product-filters__reset { font-size: 16px; }
    .product-filters__reset .ui-icon { width: 20px; height: 20px; }

    .product-filter__toggle { min-height: 56px; padding: 16px 20px; font-size: 16px; }
    .product-filter__body { padding: 0 20px 16px; }
    .product-filter__option { gap: 10px; padding: 6px 0; font-size: 14px; }
    .product-filter__label { font-size: 14px; }
    .product-filter__count { font-size: 12px; }

    .product-price-range__input { height: 50px; padding: 0 20px; font-size: 14px; }
    /* Специфичность выше .ui-button, иначе кнопка остаётся 60px/18px. */
    .product-filters .product-filters__submit { min-height: 50px; height: 50px; gap: 20px; padding: 0 20px; font-size: 16px; }
}

@media (max-width: 1200px) {
    .product-filters-widget { margin-bottom: 24px; }

    .product-filters__mobile-open {
        display: flex;
        width: 100%;
        height: 45px;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        border: 0;
        color: var(--ui-white);
        background: var(--ui-blue);
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .product-filters__mobile-open .ui-icon { width: 15px; height: 15px; }

    .product-filters__title { font-size: 18px; }
    .product-filters__reset { font-size: 14px; }
    .product-filters__reset .ui-icon { width: 18px; height: 18px; }

    .product-filter__toggle { min-height: 50px; padding: 14px 15px; font-size: 14px; }
    .product-filter__body { padding: 0 15px 14px; }
    .product-filter__option { font-size: 13px; }
    .product-filter__label { font-size: 13px; }

    .product-price-range__input { height: 45px; padding: 0 15px; font-size: 13px; }
    .product-filters .product-filters__submit { min-height: 45px; height: 45px; gap: 15px; padding: 0 15px; font-size: 14px; }

    .product-filters__backdrop {
        position: fixed;
        z-index: 800;
        inset: 0;
        border: 0;
        background: rgb(0 0 0 / .46);
    }

    .product-filters__backdrop:not([hidden]) { display: block; }

    .product-filters {
        position: fixed;
        z-index: 801;
        right: 0;
        bottom: 0;
        left: 0;
        max-height: min(86vh, 760px);
        padding: 22px 20px 24px;
        overflow-y: auto;
        background: var(--ui-white);
        box-shadow: 0 -18px 45px rgb(0 0 0 / .16);
        overscroll-behavior: contain;
        transform: translateY(105%);
        visibility: hidden;
        transition: transform .28s cubic-bezier(.2, .6, .2, 1), visibility .28s;
    }

    .product-filters-widget.is-open .product-filters {
        visibility: visible;
        transform: translateY(0);
    }

    .product-filters__mobile-close {
        display: inline-flex;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: var(--ui-gray-100);
    }

    .product-filters__mobile-close .ui-icon { width: 13px; height: 13px; filter: brightness(0); }

    body.has-catalog-filter-open { overflow: hidden; }

    /* ТЗ 5.8: внизу модалки — «Показать N товаров»; плашка у свойства не нужна */
    .product-filters__popup { display: none !important; }

    .product-filters__actions {
        position: sticky;
        z-index: 2;
        bottom: -24px;
        margin: 8px -20px -24px;
        padding: 12px 20px 24px;
        background: var(--ui-white);
        box-shadow: 0 -10px 20px rgb(0 0 0 / .06);
    }
}

@media (max-width: 600px) {
    .product-filter__option input[type="radio"] + .product-filter__mark { --radio-size: 15px; }

    .product-filters__mobile-open { height: 40px; font-size: 12px; }
    .product-filters__mobile-open .ui-icon { width: 12px; height: 12px; }
    .product-filters { padding: 18px 15px 20px; }
    .product-filters__actions { bottom: -20px; margin: 8px -15px -20px; padding: 10px 15px 20px; }
    .product-filters__title { font-size: 14px; }
    .product-filters__reset { font-size: 12px; }
    .product-filters__reset .ui-icon { width: 16px; height: 16px; }

    .product-filter__toggle { min-height: 46px; padding: 12px 15px; font-size: 12px; }
    .product-filter__option { font-size: 12px; }
    .product-filter__label { font-size: 12px; }

    .product-price-range__input { height: 40px; padding: 0 15px; font-size: 12px; }
    .product-filters .product-filters__submit { min-height: 40px; height: 40px; gap: 15px; padding: 0 15px; font-size: 12px; }
}

/* Количество товаров у значения фильтра */
.product-filter__count {
    margin-left: auto;
    color: var(--ui-gray-300);
    font-size: 13px;
}

.product-filter__option.disabled {
    opacity: .45;
    pointer-events: none;
}

/* Зависимый фильтр (ТЗ 5.3): скрыт, пока в родительском не выбрано нужное значение. */
.product-filter[hidden] {
    display: none;
}

/* End */


/* Start:/local/templates/erma/components/bitrix/catalog.section/erma_grid/style.css?179077110010832*/
/* Выдача товаров: заголовок, раскладка, тулбар, список и пагинация. */

.product-list { padding-bottom: 16px; }

.product-list__intro {
    margin: 0 0 42px;
}

.product-list__title {
    margin: 0;
    color: var(--ui-blue);
    font-family: var(--ui-display);
    font-size: clamp(36px, 3.2vw, 60px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1;
    text-transform: uppercase;
}

.product-list__lead {
    max-width: 780px;
    margin: 16px auto 0;
    color: var(--ui-gray-500);
    font-size: 17px;
    line-height: 1.4;
}

.product-list__layout {
    display: grid;
    align-items: start;
    gap: 38px;
    grid-template-columns: minmax(248px, 424px) minmax(0, 1fr);
}

.product-list__layout--full { grid-template-columns: minmax(0, 1fr); }

.product-list__content { min-width: 0; }

.product-list__empty {
    margin: 40px 0;
    color: var(--ui-gray-500);
    font-size: 17px;
}

/* ---------- Панель управления ---------- */

.product-list__toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.product-list__count {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.product-list__controls {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    gap: 8px;
}

.product-view {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.product-view__button {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: var(--ui-gray-100);
    transition: color .2s ease, background-color .2s ease;
}

.product-view__button:hover { background: var(--ui-gray-300); }
.product-view__button.is-active { color: var(--ui-white); background: var(--ui-blue); }
.product-view__button.is-active:hover { background: var(--ui-blue-hover); }

.product-view__icon {
    display: block;
    width: 16px;
    height: 16px;
    color: currentcolor;
}

.product-view__icon--grid {
    background:
        linear-gradient(currentcolor 0 0) 0 0 / 7px 7px no-repeat,
        linear-gradient(currentcolor 0 0) 100% 0 / 7px 7px no-repeat,
        linear-gradient(currentcolor 0 0) 0 100% / 7px 7px no-repeat,
        linear-gradient(currentcolor 0 0) 100% 100% / 7px 7px no-repeat;
}

.product-view__icon--list {
    background:
        linear-gradient(currentcolor 0 0) 0 0 / 16px 3px no-repeat,
        linear-gradient(currentcolor 0 0) 0 50% / 16px 3px no-repeat,
        linear-gradient(currentcolor 0 0) 0 100% / 16px 3px no-repeat;
}

.product-sort {
    position: relative;
    z-index: 5;
    width: 290px;
    flex: 0 0 auto;
}

.product-sort__toggle {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    border: 0;
    background: var(--ui-gray-100);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.product-sort__chevron {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: url("/local/templates/erma/components/bitrix/catalog.section/erma_grid/../../../../assets/img/ui/arrow-down.svg") 50% / contain no-repeat;
    filter: brightness(0);
    transition: transform .2s ease;
}

.product-sort.is-open .product-sort__chevron { transform: rotate(180deg); }

.product-sort__list {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0;
    padding: 10px 0 10px;
    background: var(--ui-gray-100);
    list-style: none;
    top: 60px;
}

.product-sort__list[hidden] { display: none; }

.product-sort__list a {
    display: block;
    padding: 10px 20px;
    color: rgba(19, 19, 19, 0.5);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease;
}

.product-sort__list a:hover { color: var(--ui-black);}

/* ---------- Списочный режим ---------- */
/*
 * Кадр «Каталог_Список» из макета: строка на подложке rgba(19,19,19,.05),
 * слева превью, затем название с метками, цена, справа кнопка.
 * Свойства товара в списке не показываются — их нет в макете.
 * Размеры: 1920 — строка 140px, 1366 — 120px, 768 — 90px, 360 — колонка.
 */

.product-grid.is-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-grid.is-list .product-card {
    display: grid;
    align-items: center;
    min-height: 140px;
    padding: 20px 40px 20px 20px;
    border-radius: 2px;
    background: rgba(19, 19, 19, .05);
    column-gap: 30px;
    row-gap: 15px;
    grid-template-columns: 100px minmax(0, 1fr) minmax(120px, 160px) auto;
    grid-template-areas:
        "media title price . button"
        "media badges price . button";
    transition: background-color .2s ease;
}

.product-grid.is-list .product-card:hover { background: rgba(19, 19, 19, .08); }

.product-grid.is-list .product-card__media {
    width: 100px;
    height: 100px;
    padding: 9px;
    border-radius: 2px;
    background: rgba(19, 19, 19, .05);
    aspect-ratio: auto;
    grid-area: media;
}

.product-grid.is-list .product-card__badges {
    position: static;
    gap: 5px;
    grid-area: badges;
}

.product-grid.is-list .product-badge { min-height: 26px; padding: 6px; font-size: 14px; }

.product-grid.is-list .product-card__title {
    margin: 0;
    font-size: 28px;
    grid-area: title;
}

/* В макете списка свойств нет — остаются только метки. */
.product-grid.is-list .product-card__props { display: none; }

.product-grid.is-list .product-card__price {
    align-items: flex-start;
    margin: 0;
    flex-direction: column;
    gap: 5px;
    grid-area: price;
}

.product-grid.is-list .product-card__price-current { font-size: 28px; }
.product-grid.is-list .product-card__price-old { color: rgba(19, 19, 19, .15); font-size: 28px; }

.product-grid.is-list .product-card__button { grid-area: button; }

@media (max-width: 1700px) {
    .product-list__layout{
        grid-template-columns: minmax(248px, 305px) minmax(0, 1fr);
    }
}

@media (max-width: 1400px) {
    .product-list__layout { gap: 28px; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
    .product-list__intro { margin-bottom: 40px; }
    .product-list__lead { font-size: 20px; }
    .product-list__count { font-size: 20px; }

    .product-view__button { width: 50px; height: 50px; }

    .product-sort { width: 280px; }
    .product-sort__toggle { height: 50px; padding: 0 20px; font-size: 16px; }
    .product-sort__list { top: 55px; }
    .product-sort__list a { padding: 10px 20px; font-size: 16px; }

    .product-grid.is-list .product-card {
        min-height: 120px;
        grid-template-columns: 80px minmax(0, 1fr) minmax(100px, 140px) auto;
        row-gap: 10px;
    }

    .product-grid.is-list .product-card__media { width: 80px; height: 80px; padding: 7px; }
    .product-grid.is-list .product-badge { min-height: 24px; padding: 6px; font-size: 12px; }
    .product-grid.is-list .product-card__title { font-size: 20px; }
    .product-grid.is-list .product-card__price-current,
    .product-grid.is-list .product-card__price-old { font-size: 20px; }
}

@media (max-width: 1200px) {
    .product-list__intro { margin-bottom: 40px; }
    .product-list__lead { font-size: 18px; }
    .product-list__layout { display: block; }
    .product-list__toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
    .product-list__count { padding-top: 0; font-size: 18px; }
    .product-list__controls { width: 100%; }

    .product-view__button { width: 45px; height: 45px; }

    .product-sort { width: auto; flex: 1 1 auto; }
    .product-sort__toggle { height: 45px; padding: 0 15px; font-size: 14px; }
    .product-sort__list { top: 50px; }
    .product-sort__list a { padding: 8px 15px; font-size: 14px; }

    .product-grid.is-list .product-card {
        min-height: 90px;
        padding: 15px 30px 15px 15px;
        column-gap: 20px;
        grid-template-columns: 60px minmax(0, 1fr) minmax(90px, 120px) minmax(20px, .25fr) auto;
    }

    .product-grid.is-list .product-card__media { width: 60px; height: 60px; padding: 5px; }
    .product-grid.is-list .product-card__title { font-size: 16px; }
    .product-grid.is-list .product-card__price-current,
    .product-grid.is-list .product-card__price-old { font-size: 16px; }
}

@media (max-width: 700px) {
    .product-list__title { font-size: 28px; }
    .product-list__lead { margin-top: 15px; font-size: 14px; }
    .product-list__count { font-size: 14px; }
    .product-view__button { width: 40px; height: 40px; }
    .product-sort__toggle { height: 40px; padding: 0 15px; font-size: 12px; }
    .product-sort__list { top: 45px; }
    .product-sort__list a { padding: 8px 15px; font-size: 12px; }
    .product-grid.is-list .product-card {
        align-items: start;
        min-height: 0;
        padding: 15px;
        column-gap: 15px;
        row-gap: 10px;
        grid-template-columns: 60px minmax(0, 1fr);
        grid-template-areas:
            "media badges"
            "media title"
            "media price"
            ".     button";
    }

    .product-grid.is-list .product-card__media { width: 60px; height: 60px; padding: 5px; }
    .product-grid.is-list .product-badge { min-height: 16px; padding: 3px; font-size: 10px; }
    .product-grid.is-list .product-card__title { font-size: 14px; }

    .product-grid.is-list .product-card__price {
        align-items: baseline;
        flex-direction: row;
        gap: 5px;
    }

    .product-grid.is-list .product-card__price-current,
    .product-grid.is-list .product-card__price-old { font-size: 14px; }

    .product-grid.is-list .product-card__button { margin-top: 10px; }
}

/* Подгрузка списка без перезагрузки (сортировка, страницы): список притухает, пока идёт запрос. */
.product-list__content {
    transition: opacity .2s ease;
}

.product-list__content.is-loading {
    opacity: .45;
    pointer-events: none;
}

/* End */
/* /local/templates/erma/components/bitrix/catalog/erma/style.css?17907711008026 */
/* /local/templates/erma/components/bitrix/catalog.section.list/erma_tabs/style.css?17907708465801 */
/* /local/templates/erma/components/bitrix/catalog.smart.filter/erma_filter/style.css?179077084615101 */
/* /local/templates/erma/components/bitrix/catalog.section/erma_grid/style.css?179077110010832 */
