/*
 * Список товаров webc.podbor:ui.products.list, шаблон rolf.
 * Один скоуп .pc29933297 на корне списка, правила вложены нативной вложенностью:
 * база — компактный вид, big включается @container (min-width: 760px) на ячейке ряда.
 * @font-face вне скоупа — вкладывать его нельзя.
 */

@font-face {
    font-family: 'DIN 2014';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/DIN2014-Regular.woff) format('woff');
}

@font-face {
    font-family: 'DIN 2014';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/DIN2014-DemiBold.woff) format('woff');
}

@font-face {
    font-family: 'DIN 2014';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/DIN2014-Bold.woff) format('woff');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/roboto-condensed-400-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/roboto-condensed-400-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/roboto-condensed-700-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/roboto-condensed-700-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Скоуп и токены */
.pc29933297 {
    /* Ячейка ряда: раскладка карточки меряется шириной ячейки, а не окна */
    .products-list__item {
        /* Три карточки в ряду при зазоре 24px: (100% − 2 × 24px) / 3 */
        display: flex;
        flex: 0 0 calc((100% - 48px) / 3);
        min-width: 0;
        max-width: 100%;

        container-type: inline-size;
        container-name: product-card;

        /* Первая карточка списка занимает всю ширину ряда */
        &.products-list__item--big {
            display: block;
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
        }
    }

    --card-black: var(--theme-dark, #111111);
    --card-white: var(--theme-light, #FFFFFF);
    --card-yellow: var(--theme-accent, #FFCD00);
    --card-yellow-dark: var(--theme-accent-dark, #E6B800);
    --card-blue: var(--theme-market-bg, #215DF6);
    --card-wb: var(--theme-market-wb, #CB11AB);
    --card-muted: var(--theme-gray-light, #B0B5BA);
    --card-big-height: 317px;
    --card-font: "DIN 2014", "DIN2014", var(--theme-font, "Roboto Condensed"), "Arial Narrow", Arial, sans-serif;

    /* Карточка */
    .product-card {
        display: flex;
        position: relative;
        flex: 1 1 auto;
        flex-direction: column;
        box-sizing: border-box;
        overflow: hidden;
        background-color: var(--card-black);
        color: var(--card-white);
        font-family: var(--card-font);
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.07px;
    }

    /* Фон карточки */
    .product-card__bg {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
    }

    .product-card__bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .product-card__bg-image--big {
        display: none;
    }

    /* Плашка технологии */
    .product-card__banner {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 6;
        width: 88px;
        height: 72px;
    }

    .product-card__banner--gt {
        width: 96px;
        height: 120px;
    }

    .product-card__banner-link {
        display: block;
        width: 100%;
        height: 100%;

        &:hover .product-card__banner-image,
        &:focus-visible .product-card__banner-image {
            transform: scale(1.1);
        }
    }

    .product-card__banner-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform-origin: center center;
        transition: transform 250ms ease;
    }

    /* Тело карточки, медиа и картинка товара */
    .product-card__body {
        display: flex;
        position: relative;
        z-index: 1;
        flex-direction: column;
        flex-grow: 1;
        gap: 8px;
        box-sizing: border-box;
        background-color: var(--card-black);
    }

    .product-card__media {
        display: flex;
        position: relative;
        flex: 0 0 274px;
        align-items: center;
        justify-content: center;
        height: 274px;
        padding: 16px 0 8px;
        box-sizing: border-box;
        overflow: hidden;
        background-color: var(--card-black);
        border-bottom: 1px solid var(--card-white);

        &::before {
            content: '';
            position: absolute;
            top: 74px;
            right: 0;
            left: 0;
            height: 96px;
            background-color: var(--card-yellow);
        }
    }

    .product-card__image {
        display: none;
    }

    /* Фото: бокс 168×223 с object-fit: contain, чтобы пропорции канистры не искажались.
       На узкой карточке бокс ужимается по ширине — от края остаётся не меньше 12px. */
    .product-card__image--active {
        position: relative;
        z-index: 1;
        display: block;
        width: 168px;
        height: 223px;
        max-width: calc(100% - 24px);
        box-sizing: border-box;
        object-fit: contain;
    }

    /* Контент: строки идут по order, свободное место забирает строка магазинов
       (margin-top: auto) — CTA во всех карточках ряда стоит на одной высоте */
    .product-card__content {
        display: flex;
        position: relative;
        flex-direction: column;
        flex-grow: 1;
        padding: 8px 16px 16px;
        box-sizing: border-box;
        background-color: var(--card-black);
    }

    .product-card__info {
        display: contents;
    }

    .product-card__row--description,
    .product-card__row--volumes,
    .product-card__row--shops {
        .product-card__key {
            display: none;
        }
    }

    .product-card__title {
        order: 4;
        margin-bottom: 8px;
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: -0.56px;
        text-transform: uppercase;
    }

    .product-card__row {
        display: flex;
        align-items: baseline;
        order: 3;
        gap: 4px;
        max-width: 100%;
        min-height: 16px;
        box-sizing: border-box;
    }

    .product-card__key {
        flex-shrink: 0;
        color: var(--card-muted);
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: -0.24px;
    }

    .product-card__value {
        flex-grow: 1;
        max-width: 100%;
        box-sizing: border-box;
        color: var(--card-muted);
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: -0.24px;
    }

    /* Спецификации: подпись — обычный текст карточки, только жирный и капсом */
    .product-card__row--specs {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        order: 6;
        gap: 8px;
        margin-bottom: 12px;

        .product-card__key {
            color: var(--card-white);
            font-size: 14px;
            font-weight: 700;
            line-height: 21.7px;
            letter-spacing: 0;
            text-transform: uppercase;
            white-space: nowrap;
        }
    }

    /* Строка тегов: выравнивание по центру — кнопка «Показать все» на линии тегов */
    .product-card__tags {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 15px;
        font-weight: 500;
    }

    /* Хвост: последний видимый тег и кнопка неразрывны — иначе кнопка уходила
       на отдельную строку и отрывалась от тегов */
    .product-card__tags-tail {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* В раскрытом виде обёртка становится display: contents — скрытые теги и «Свернуть»
       продолжают строку тегов и переносятся только по правому краю карточки */
    .product-card__tags--expanded {
        .product-card__tags-tail {
            display: contents;
        }

        .product-card__tag--extra {
            display: inline-flex;
        }
    }

    .product-card__tag {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        max-width: 100%;
        min-height: 24px;
        padding: 4px 8px;
        box-sizing: border-box;
        overflow: hidden;
        border: 1px solid var(--card-yellow);
        color: var(--card-white);
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: -0.24px;
        white-space: nowrap;
    }

    /* Порог 5 тегов — данные: лишние помечены IS_EXTRA в class.php */
    .product-card__tag--extra {
        display: none;
    }

    /* Высота как у тега: line-height 16 + padding 8 + рамка 2 */
    .product-card__tags-toggle {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        padding: 4px 8px;
        box-sizing: border-box;
        border: 1px solid var(--card-yellow);
        border-radius: 0;
        background-color: transparent;
        color: var(--card-yellow);
        font-family: var(--card-font);
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        white-space: nowrap;
        cursor: pointer;
    }

    /* Остаточный вид фокуса и нажатия не остаётся. !important нужен: шаблон подбора
       красит контур всем элементам внутри .podbor.main__wrap (`*:focus` outline 2px),
       иначе после клика остаётся «вторая рамка» */
    .product-card__tags-toggle:focus,
    .product-card__tags-toggle:focus-visible,
    .product-card__tags-toggle:active,
    .product-card__description-toggle:focus,
    .product-card__description-toggle:focus-visible,
    .product-card__description-toggle:active {
        border-color: var(--card-yellow);
        background-color: transparent;
        box-shadow: none;
        outline: none !important;
        outline-offset: 0;
        -webkit-tap-highlight-color: transparent;
    }

    /* Фасовки: подпись скрыта правилом выше, чипы прижаты к левому краю — отступ
       совпадает с отступом соседних строк карточки (padding-left контента 16px) */
    .product-card__row--volumes {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        order: -1;
        gap: 8px;
        margin-bottom: 16px;
    }

    .product-card__volumes {
        display: flex;
        gap: 8px;
        font-size: 15px;
        font-weight: 500;
    }

    .product-card__volume {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        height: 24px;
        padding: 4px 8px;
        box-sizing: border-box;
        border: 1px solid var(--card-white);
        color: var(--card-muted);
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        letter-spacing: -0.24px;
        cursor: pointer;
        transition: color 0.15s ease, border-color 0.15s ease;

        &:hover {
            border-color: var(--card-yellow);
            color: var(--card-white);
        }
    }

    .product-card__volume--active {
        border-color: var(--card-yellow);
        background-color: var(--card-yellow);
        color: var(--card-black);
    }

    /* Описание: высота строки равна высоте текста, резерва под вторую строку нет */
    .product-card__row--description {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        order: 5;
        gap: 8px;
        margin-bottom: 8px;
    }

    /* Текст режется по данным в class.php (130 символов по точке), CSS-клампа нет:
       кнопка «ещё» стоит инлайном в конце текста и не срезается */
    .product-card__description {
        display: inline;
        color: #C9CDD2;
        font-size: 14px;
        line-height: 21.7px;
        letter-spacing: -0.28px;
    }

    .product-card__description-rest {
        display: none;
    }

    .product-card__description--expanded {
        display: inline;

        .product-card__description-ellipsis {
            display: none;
        }

        .product-card__description-rest {
            display: inline;
        }
    }

    .product-card__description-toggle {
        display: inline;
        margin-left: 4px;
        padding: 0;
        border: 0;
        background: none;
        color: var(--card-yellow);
        font: inherit;
        white-space: normal;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Кнопка идёт за текстом, а не отдельным блоком */
    .product-card__row--description {
        .product-card__value {
            display: block;
        }
    }

    /* Магазины: строка и её резерв прижаты к низу контента — CTA на одной линии
       во всех карточках ряда */
    .product-card__row--shops {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        order: 7;
        gap: 8px;
        min-height: 112px;
        margin-top: auto;

        .product-card__value {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            width: 100%;
            /* Место под магазины резервирует min-height строки, а не растяжение value:
               действия прижимаются к её низу */
            flex-grow: 0;
        }
    }

    .product-card__shop {
        display: none;
    }

    .product-card__shop--active {
        display: contents;
    }

    /* Магазины компакта: магазин ≈1/3, «В других онлайн-магазинах» ≈2/3, обе в одну
       линию и одинаковой высоты; лишние магазины переносятся */
    .product-card__shop-link {
        display: flex;
        flex: 0 0 calc((100% - 8px) / 3);
        align-items: center;
        justify-content: center;
        width: calc((100% - 8px) / 3);
        height: 52px;
        padding: 0 16px;
        box-sizing: border-box;
        overflow: hidden;
        background-color: var(--card-blue);
        transition: opacity 0.15s ease;

        &:hover {
            opacity: 0.85;
        }

        &[data-market*="ozon" i] {
            background-color: var(--card-blue);
        }

        &[data-market*="wild" i],
        &[data-market*="wb" i] {
            background-color: var(--card-wb);
        }
    }

    .product-card__shop-link--extra {
        display: none;
    }

    .product-card__shop--expanded {
        .product-card__shop-link--extra {
            display: flex;
        }
    }

    .product-card__shop-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 24px;
        overflow: hidden;

        .product-card__shop-logo-img {
            display: block;
            width: auto;
            height: auto;
            max-width: 88px;
            max-height: 24px;
            object-fit: contain;
            filter: brightness(0) invert(1);
        }
    }

    .product-card__shop-link[data-market*="ozon" i] {
        .product-card__shop-logo .product-card__shop-logo-img {
            width: 54px;
            height: 12px;
        }
    }

    .product-card__shop-name {
        color: var(--card-white);
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
        text-align: center;
    }

    /* Текстовая метка магазина вместо логотипа (WB): белый капс, высота знака 14px */
    .product-card__shop-name--short {
        color: var(--card-white);
        font-size: 14px;
        font-weight: 700;
        line-height: 14px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    /* Кнопки действий */
    .product-card__actions {
        display: contents;
    }

    .product-card__more-shops {
        display: none;
        flex: 0 0 calc((100% - 8px) * 2 / 3);
        align-items: center;
        justify-content: center;
        width: calc((100% - 8px) * 2 / 3);
        height: 52px;
        padding: 4px 8px;
        box-sizing: border-box;
        border: 1px solid var(--card-yellow);
        border-radius: 2px;
        background-color: transparent;
        color: var(--card-yellow);
        font-family: var(--card-font);
        font-size: 12px;
        font-weight: 700;
        line-height: 16px;
        text-transform: uppercase;
        cursor: pointer;
    }

    .product-card__more-shops--active {
        display: flex;
    }

    .product-card__more-shops--expanded {
        display: none;
    }

    .product-card__button {
        display: flex;
        flex: 0 0 100%;
        align-items: center;
        justify-content: center;
        order: 99;
        min-height: 52px;
        padding: 0 12px;
        box-sizing: border-box;
        border: 0;
        border-radius: 2px;
        background-color: var(--card-yellow);
        color: var(--card-black);
        font-family: var(--card-font);
        font-size: 15px;
        font-weight: 700;
        line-height: 20px;
        letter-spacing: 0.04em;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        white-space: normal;
        transition: background-color 0.15s ease;

        &:hover {
            background-color: var(--card-yellow-dark);
        }
    }

    /* Кегль CTA привязан к ширине карточки: в узкой карточке «Подробнее о товаре»
       в 15px шире доступного места и вырезался правым краем (overflow: hidden) */
    @container product-card (max-width: 320px) {
        .product-card__button {
            font-size: 12px;
            line-height: 16px;
            letter-spacing: 0.03em;
        }
    }

    @container product-card (max-width: 200px) {
        .product-card__button {
            font-size: 11px;
            line-height: 14px;
            letter-spacing: 0.02em;
        }
    }

    /* Кнопка без ссылки: та же форма и габариты, но «призрак» — прозрачная
       заливка, рамка акцента, неактивное состояние и вне таб-порядка */
    .product-card__button--disabled,
    .product-card__button--disabled:hover {
        border: 1px solid var(--card-yellow);
        background-color: transparent;
        color: var(--card-yellow);
        pointer-events: none;
        cursor: default;
    }

    /* Протокол: в компакте элемент потока сразу после фасовок */
    .product-card__protocol {
        order: 2;
        width: calc(100% + 16px);
        max-width: 405px;
        margin: 0 -8px 16px;
    }

    .product-card__protocol-link {
        display: block;
        line-height: 0;
    }

    .product-card__protocol-image--big {
        display: none;
    }

    .product-card__protocol-image--small {
        display: block;
        width: 100%;
        height: auto;
        max-width: 405px;
        object-fit: contain;
    }

    /* Плавное раскрытие строк */
    .product-card__row--description,
    .product-card__row--specs,
    .product-card__row--shops {
        transition: height 250ms ease;
    }

    /* Большая карточка: та же разметка, другая раскладка. Порог 760 — ширина самой
       карточки: фиксированный отступ 343px и кнопка 344px требуют не меньше 760px,
       иначе контент выходит за overflow: hidden. Вертикальный зазор большого вида —
       8px между всеми строками. */
    @container product-card (min-width: 760px) {
        .products-list__item--big {
            .product-card {
                flex: 0 0 auto;
                min-height: var(--card-big-height);
            }

            .product-card__bg {
                overflow: visible;
            }

            .product-card__bg-image--small {
                display: none;
            }

            .product-card__bg-image--big {
                display: block;
                width: 320px;
                object-fit: fill;
                object-position: left top;
            }

            .product-card__banner {
                top: 16px;
                left: 250px;
                width: 100px;
                height: 74px;
            }

            .product-card__banner--gt {
                left: 235px;
                width: 96px;
                height: 120px;
            }

            .product-card__body {
                flex-direction: row;
                gap: 0;
                padding: 40px 40px 16px 343px;
                background-color: transparent;
            }

            /* Медиа-бокс растянут на фактическую высоту карточки: 100% считается от
               padding-box .product-card__body, поэтому при росте карточки по контенту
               фото остаётся по центру карточки, а не в фиксированном боксе */
            .product-card__media {
                position: absolute;
                top: 0;
                left: 0;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;
                width: 235px;
                height: 100%;
                padding: 0 0 0 61px;
                border-bottom: 0;
                background-color: transparent;

                &::before {
                    content: none;
                }
            }

            /* Фото центрируется по вертикали медиа-боксом, горизонтальный отступ
               61px от левого края сохраняется */
            .product-card__image--active {
                position: static;
                max-width: 168px;
            }

            .product-card__content {
                position: static;
                display: flex;
                flex-direction: column;
                padding: 0;
                background-color: transparent;
            }

            .product-card__title {
                order: 3;
                font-size: 28px;
                line-height: 32px;
                text-transform: none;
            }

            .product-card__row {
                display: block;
                order: 2;
                margin-bottom: 8px;
            }

            .product-card__key {
                display: inline;
            }

            .product-card__value {
                display: inline;
            }

            .product-card__row--specs {
                display: block;
                order: 5;
                margin-bottom: 8px;
            }

            /* Подпись «Спецификации» — обычный текст карточки, только жирный */
            .product-card__row--specs .product-card__key {
                display: block;
                margin-bottom: 8px;
                font-size: 14px;
                line-height: 21.7px;
                font-weight: 700;
            }

            /* Своих правил у тегов в big нет: видимость одна на оба вида,
               данные (IS_EXTRA/HAS_EXTRA) приходят из class.php */

            .product-card__row--volumes {
                display: flex;
                flex-direction: row;
                align-items: center;
                order: 1;
                gap: 10px;
                margin-bottom: 8px;

                .product-card__key {
                    display: block;
                    margin: 0;
                    flex: 0 0 auto;
                }

                .product-card__value {
                    display: block;
                    flex: 1 1 auto;
                }
            }

            .product-card__volumes {
                flex-wrap: wrap;
            }

            /* Метка «Описание:» в big скрыта, текст показан целиком — без «…» и тогла */
            .product-card__row--description {
                display: block;
                order: 4;
                line-height: 20px;
                margin-bottom: 8px;

                .product-card__key {
                    display: none;
                }

                .product-card__description-toggle {
                    display: none;
                }
            }

            .product-card__description {
                display: inline;
            }

            .product-card__description-ellipsis {
                display: none;
            }

            .product-card__description-rest {
                display: inline;
            }

            /* Зазор до CTA даёт margin-bottom спецификаций, поэтому у строки магазинов
               margin-top обнулён: остаток высоты не растягивается */
            .product-card__row--shops {
                display: block;
                order: 6;
                min-height: 0;
                margin-top: 0;
                margin-bottom: 0;

                .product-card__key {
                    display: none;
                }

                .product-card__value {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    gap: 8px;
                }
            }

            .product-card__shop-link {
                flex: 0 0 auto;
                width: 120px;
            }

            .product-card__more-shops {
                flex: 0 0 auto;
                width: 344px;
                min-width: 0;
                max-width: 100%;
                padding: 0 24px;
                font-size: 16px;
                font-weight: 500;
            }

            .product-card__button {
                flex: 0 0 auto;
                align-self: center;
                order: 0;
                width: 200px;
                min-width: 0;
                max-width: 100%;
                min-height: 52px;
                padding: 0 16px;
                font-size: 12px;
                letter-spacing: 0.48px;
            }

            .product-card__protocol {
                position: absolute;
                top: 39px;
                right: 43px;
                z-index: 3;
                width: 201px;
                height: 101px;
                margin: 0;
            }

            .product-card__protocol-image--big {
                display: block;
                width: 201px;
                height: 101px;
                object-fit: contain;
            }

            .product-card__protocol-image--small {
                display: none;
            }
        }
    }

    /* Медиа-бокс широкой карточки: 266px при отступе 8px сверху, между фасовками
       и протоколом 8px */
    @container product-card (min-width: 760px) {
        .product-card__media {
            flex-basis: 266px;
            height: 266px;
            padding: 8px 0;
        }

        .product-card__protocol {
            margin-top: -8px;
        }
    }

    /* Ширина ячейки в ряду — решение контейнера-ряда, а не самой карточки:
       ячейка здесь flex-элемент чужого ряда, и @container на самого себя
       не действует (проверено замером). Поэтому только окно. */
    @media (max-width: 767px) {
        .products-list__item {
            flex: 0 0 100%;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .product-card__row--description,
        .product-card__row--specs,
        .product-card__row--shops,
        .product-card__banner-image,
        .product-card__volume,
        .product-card__button,
        .product-card__shop-link {
            transition: none;
        }

        .product-card__banner-link {
            &:hover .product-card__banner-image,
            &:focus-visible .product-card__banner-image {
                transform: none;
            }
        }
    }
}

/* Список товаров: правила страницы подбора, перенесённые из oil.selection. */
.pc29933297 .products__recomendation {
    margin-bottom: 54px;
}

.pc29933297 .products__recomendation .category__list {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding-bottom: 40px;
    overflow-y: auto;
}

.pc29933297 .products__recomendation .product__list {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    row-gap: 24px;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 1066px) {

    .pc29933297 .products__recomendation .product__list {
        row-gap: 60px;
    }

}

@media (max-width: 700px) {

    .pc29933297 .products__recomendation .product__list {
        width: initial;
    }

    .pc29933297 .products__recomendation .category__list {
        margin-bottom: 80px;
    }

}

@media (max-width: 590px) {

    .pc29933297 .products__recomendation .category__list {
        margin-bottom: 60px;
    }

}

.pc29933297 .category__list {
    overflow-x: auto;
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* для плавности на iOS */
}

.pc29933297 .category__list:active {
    cursor: grabbing;
}

.pc29933297 .category__list::-webkit-scrollbar {
    display: none;
}

.pc29933297 .category__list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pc29933297 .spin-svg {
    display: none;
}

.pc29933297 .spin-svg.active {
    display: block;
    animation: rotation 2s linear infinite;
    transform-origin: center;
}

@keyframes rotation {
    0% {
    transform: rotate(0deg);
    }
    100% {
    transform: rotate(360deg);
    }
}

.pc29933297 .category__list .category__item,
.pc29933297 .products__recomendation .category__item {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid #111111;
    border-radius: 2px;
    font-family: var(--rolf-font);
    font-size: 14px;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.pc29933297 .category__list .category__item:hover {
    border-color: var(--rolf-yellow);
}

.pc29933297 .category__list .category__item.active {
    background: var(--rolf-yellow);
    border-color: var(--rolf-yellow);
    color: var(--rolf-black);
}

.pc29933297 #product-filter__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 16px 0 24px;
}

.pc29933297 .products__recomendation .recomendation__file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    background: var(--rolf-yellow);
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

.pc29933297 .products__recomendation .recomendation__file .file-name {
    font-family: var(--rolf-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--rolf-black);
}

.pc29933297 .products__recomendation .recomendation__file .download_svg {
    width: 16px;
    height: 16px;
}

.pc29933297 .products__recomendation .recomendation__file .spin-svg {
    width: 18px;
    height: 18px;
}

.pc29933297 .products__recomendation .recomendation__file .text {
    margin: 0;
}

.pc29933297 .product__list,
.pc29933297 #dynamic-content {
    width: 100%;
    max-width: none;
}

.pc29933297 .product__list {
    align-items: stretch;
}

.pc29933297 .products__category {
    margin-top: 24px;
    scroll-margin-top: var(--rolf-sticky-stack, 100px);
}

.pc29933297 .products__category-title {
    margin-bottom: 16px;
}

.pc29933297 .products__category-empty {
    font-family: var(--rolf-font);
    font-size: 14px;
    line-height: 20px;
    color: var(--rolf-muted);
}

.pc29933297 .category__item {
    text-decoration: none;
}

.pc29933297 .products__category .product__list {
    margin-top: 0;
}

.pc29933297 .products__category-title {
    margin: 0 0 24px;
    font-family: var(--rolf-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.48px;
    color: var(--rolf-black);
}

.pc29933297 .rolf-sticky-placeholder {
    display: block;
    width: 100%;
    height: 0;
    pointer-events: none;
}

.pc29933297 .chips-block.rolf-sticky-active {
    padding: 16px 0;
    background: var(--rolf-white, #fff);
    box-shadow: 0 8px 24px rgba(17, 17, 17, .10);
}

@media (max-width: 767px) {

    .pc29933297 .product__list {
        row-gap: 16px;
    }

    .pc29933297 .chips-block {
        margin: 0 0 8px !important;
        padding: 0 !important;
        row-gap: 8px !important;
        height: auto !important;
    }

    .pc29933297 .product-filter__wrap {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .pc29933297 .chips-block .category__item {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content !important;
        white-space: nowrap !important;
        box-sizing: border-box;
    }

    .pc29933297 .chips-block.rolf-sticky-active {
        padding: 20px 0 !important;
        transition: top .28s ease;
    }

    .pc29933297 .chips-block,
    .pc29933297 .category__list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scrollbar-width: none;
        box-sizing: border-box;
    }

    .pc29933297 .chips-block::-webkit-scrollbar,
    .pc29933297 .category__list::-webkit-scrollbar {
        display: none;
    }

    .pc29933297 .chips-block.rolf-sticky-active {
        z-index: 89;
    }

}

:root.rolf-vehicle-unconfirmed .pc29933297 .products__recomendation,
:root.rolf-vehicle-unconfirmed .pc29933297 .product__list,
:root.rolf-vehicle-unconfirmed .pc29933297 .product-filter__wrap,
:root.rolf-vehicle-unconfirmed .pc29933297 .banner__anketa {
    display: none !important;
}

.pc29933297 .rolf-category__list {
    padding-bottom: 8px !important;
}

.pc29933297 .rolf-category__list .rolf-category__item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border: 1px solid #121212 !important;
    border-radius: 0 !important;
    background: #FFFFFF !important;
    color: #121212 !important;
    font-family: var(--rolf-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.pc29933297 .rolf-category__list .rolf-category__item.active {
    background: #FFCD00 !important;
    border-color: #FFCD00 !important;
    color: #121212 !important;
}

.pc29933297 .rolf-category__list .rolf-category__count {
    margin-left: 4px;
    color: #1212124d !important;
    font-weight: 500 !important;
}

.pc29933297 .products__category-title {
    display: block;
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--rolf-black, #111111);
}

.pc29933297 .chips-block.rolf-sticky-active {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: var(--rolf-white, #fff);
}

.pc29933297 .chips-block.rolf-sticky-active,
.pc29933297 .rolf-category__list {
    background: transparent !important;
    box-shadow: none !important;
}

.pc29933297 .rolf-category__list .rolf-category__item.active {
    border-color: #121212 !important;
}

.pc29933297 .products__recomendation .rolf-category__list .rolf-category__item.category__item.active {
    border: 1px solid #121212 !important;
    border-color: #121212 !important;
}

.pc29933297 .rolf-category__list .rolf-category__item:focus,
.pc29933297 .rolf-category__list .rolf-category__item:focus-visible,
.pc29933297 .rolf-category__list .rolf-category__item:active {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.pc29933297 .products__category-volume {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -12px 0 16px;
    font-family: var(--rolf-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6B6B6B;
    text-transform: none;
}

.pc29933297 .products__category-volume-label {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #6B6B6B;
}

.pc29933297 .products__category-volume-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: var(--rolf-yellow);
    border-radius: 2px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    color: var(--rolf-black);
}

.pc29933297 .products__category .product__list {
    row-gap: 24px;
    column-gap: 24px;
}

.pc29933297 #product-filter__wrap {
    justify-content: flex-end !important;
}

.pc29933297 #product-filter__wrap .recomendation__file {
    margin-left: auto !important;
}

.pc29933297 .products__recomendation .recomendation__file {
    font-family: var(--rolf-font);
}

@media (max-width: 767px) {

    .pc29933297 #product-filter__wrap {
        justify-content: stretch !important;
    }

    .pc29933297 .products__recomendation .recomendation__file {
        display: flex;
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
    }

}
