.product__nav {
    background: #F7F6F6;
    margin-bottom: 40px;
    padding: 25px 0;
}

.product__nav-link {
    color: #7A7A7A;
    font-weight: bold;
    margin-right: 40px;
    font-size: 13px;
}

.product__nav-link:hover {
    color: #000;
}

.product__nav-link-counter {
    color: #E20932;
}

.product__card {
    position: relative;
}

.product__card-main-info {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    border-bottom: 1px solid #F1F0F0;
}

.product__img-holder {
    width: 33%;
}

.product__info {
    width: 58%;
}

.product__img {
    width: 100%;
}

.product__name {
    font-weight: bold;
    font-size: 24px;
    color: #181818;
    margin-bottom: 10px;
}

.product__property {
    margin-bottom: 50px;
    padding-left: 65px;
    position: relative;
    color: #181818;
}

.product__property-icon {
    width: 45px;
    position: absolute;
    left: 0;
    top: 0;
}

.product__property-title {
    font-size: 15px;
    font-weight: bold;
    padding-bottom: 5px;
}

.product__manufacturer {
    font-size: 18px;
    color: #E20932;
    font-weight: bold;
}

.product__includes, .product__downloads {
    padding-left: 20px;
}

.product__includes-item, .product__downloads-item {
    list-style: circle;
    list-style-type: disc;
    color: #000;
}

.product__downloads-item-link {
    color: #E20932;
}

.product__downloads-item-link:hover {
    text-decoration: underline;
}

.product__basic-set-price {
    font-size: 18px;
    font-weight: bold;
}

/* .product__basic-set-price::after {
    content: 'a';
    font-family: 'rub';
} */

.product__buy-controls {
    padding-left: 65px;
}

.product__buy-btn {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background: #E20932;
    padding: 10px 20px;
    border: 2px solid #E20932;
    transition: 200ms ease all;
}

.product__buy-btn:hover {
    background: #fff;
    color: #E20932;
}

.product__availability {
    margin-top: 25px;
    font-size: 13px;
    font-weight: bold;
}

.product__desc {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: #010101;
    padding: 50px 15px;
    /* описание из админки: слово без пробелов или длинная ссылка переносится, а не раздвигает страницу (29.11) */
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.product__desc p {
    margin-bottom: 10px;
}

.product__list-title {
    margin: 20px 0 10px;
    font-size: 19px;
}

.product__desc ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.product__desc ul li {
    list-style: circle;
    list-style-type: disc;
}

.product__modules {
    /* переход по #product-modules со страницы отзывов — с тем же отступом под шапку, что и прокрутка product-card.js */
    scroll-margin-top: 65px;
    padding-bottom: 60px;
    margin-top: 100px;
    position: relative;
}
.product__anchor {
    position: absolute;
    left: 0px;
    top: -90px;
}

.product__module {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #F1F0F0;
    position: relative;
}

.product__module-header {
    display: flex;
    align-items: center;
}

.product__module-header-icon {
    width: 55px;
    height: 55px;
    margin-right: 20px;
}

.product__module-header {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 25px;
}

.product__module-header-counter {
    padding-left: 5px;
    color: #e20932;
}

/* Свёрнутое полное описание модуля прячет атрибут hidden="until-found" (blocks/product/module-description.php): поиск
   браузера находит в нём текст и раскрывает. display: none или max-height: 0 здесь не ставить — поиск такое не видит.
   Список модулей группы виден всегда (ECUTALL-44). */
.product__module-items {
    overflow: hidden;
}

.product__module-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 30px 40px;
    background: #F7F7F7;
    border-bottom: 4px solid #E4E4E4;
    margin-bottom: 15px;
}

.product__module-name {
    font-size: 18px;
    color: #E20932;
    font-weight: bold;
}
.product__module-name:hover{
    text-decoration: underline;
}

.product__module-description {
    font-size: 15px;
    color: #040404;
    position: relative;
}

.product__module-cost-info {
    margin-left: 30px;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 24%;
    min-width: 155px;
}

.product__module-cost-info-container {    
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    width: 100%;
    align-items: center;
}

.product__module-price {
    font-size: 18px;
    font-family: 'Open-Sans', sans-serif;
    font-weight: 700;
    margin-right: 20px;
}

/* зачёркнутая цена без скидки — строкой над ценой (ECUTALL-43) */
.product__module-old-price {
    flex-basis: 100%;
    margin-left: 0;
    font-size: 14px;
}

.product__module-buy {
    min-width: 35px;
    width: 35px;
    height: 35px;
    display: inline-block;
    border: 2px solid #E20932;
    background: transparent url('./images/online-shopping-cart2.svg') center center no-repeat;
    background-size: 21px;
}

.product__module-buy:hover {
    background: #E20932 url('./images/online-shopping-cart3.svg') center center no-repeat;
    background-size: 21px;
}

.product__module-buy--active {
    background: #E20932 url('./images/online-shopping-cart3.svg') center center no-repeat;
    background-size: 21px;
}

.product__module-buy--inactive {
    border: 2px solid #999999;
    background: #999999 url('./images/online-shopping-cart3.svg') center center no-repeat;
    background-size: 21px;
    cursor: default;
}

.product__module-buy--inactive:hover {
    background: #999999 url('./images/online-shopping-cart3.svg') center center no-repeat;
    background-size: 21px;
}

.product .recommended-products {
    padding-bottom: 90px;
}

.product__module-info {
    width: 100%;
    /* Колонка — flex-элемент: без прокрутки её минимальная ширина равна ширине содержимого, и широкая таблица
       растягивала колонку и выталкивала цену и корзину за край строки (ECUTALL-28). С прокруткой колонка не шире
       строки, а таблица, которой колонки не хватает и после ужатия (планшет), прокручивается внутри неё. */
    overflow-x: auto;
}

/* Описание модуля — HTML из редактора: таблицы и картинки с заданной шириной (у скриптов UPA-USB
   <table style="width:900px">) ужимаются до колонки описания обычными переносами, слова не рвутся. На телефоне
   (html.pm-on) таблицы ужимает product-mobile.css, там колонка описания — display: contents. */
.product__module-info table {
    max-width: 100%;
    /* без зазоров между ячейками (как на телефоне): таблица «ECU» с ними на 3 px шире колонки — лишняя прокрутка */
    border-collapse: collapse;
}

.product__module-info img {
    max-width: 100%;
    height: auto;
}

.product__news {
    display: none;
}

.product--news .product__news {
    display: block;
}

.product--news .product__card-additional-info {
    display: none;
}

.product__module-show-more {
    display: block;
    width: 100%;
}

.product__module-show-more-switcher {
    position: relative;
    transition: all .3s ease;
    width: 18px;
    height: 12px;
    color: #e20932;
}

.product__module-show-more-switcher:before {
    content: '';
    background: #e20932;
    width: 19px;
    height: 14px;
    display: inline-block;
    position: relative;
    top: 2px;
}

.product__module-show-more-switcher-title {
    font-size: 14px;
    padding-left: 3px;
}

.product__module-show-more-switcher-title::after {
    content: attr(data-show-title);
}

.product__module-show-more-switcher:after {
    content: '';
    position: absolute;
    border: 4px solid transparent;
    border-bottom: 4px solid #fff;
    border-bottom-color: transparent;
    border-top-color: #fff;
    top: 6px;
    left: 5px;
    right: 5px;
    bottom: 8px;
    width: 0;
}

.product__module-hidden-description {
    font-size: 15px;
}

.product__module-item--opened .product__module-show-more-switcher {
    color: #656c6f;
}

.product__module-item--opened .product__module-show-more-switcher:before {
    background: #656C6F;
}

.product__module-item--opened .product__module-show-more-switcher:after {
    border: 4px solid transparent;
    border-bottom: 4px solid #fff;
    top: 1px;
}

.product__module-item--opened .product__module-show-more-switcher-title::after {
    content: attr(data-hide-title);
}

.product__module-item--opened .product__module-description--replaced {
    display: none;
}

.product__reviews-title {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 25px;
}

.product__reviews-product-title {
    color: #E20932;
}

.product__reviews {
    padding-top: 60px;
    padding-bottom: 100px;
    display: none;
}

.product--reviews .product__card-additional-info {
    display: none;
}

.product--reviews .product__recommended {
    display: none;
}

.product--reviews .product__reviews {
    display: block;
}
.product__module-header-title{
    color: #e20932;
}

a.product__module-header:hover .product__module-header-title{
  
    text-decoration: underline;
}a.product__module-header:hover .product__module-header-counter{
    text-decoration: underline;
}
@media screen and (max-width: 991px) {
    .product__nav {
        padding-bottom: 0;
    }
    .product__nav-links {
        display: inline-flex;
        flex-direction: column;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }
    .product__nav-link {
        margin-right: 0;
        margin-bottom: 15px;
    }    
    .product__card-main-info {
        flex-direction: column;
    }
    .product__info {
        width: 100%;
    }
    .product__module-header-title {
        font-size: 20px;
    }
    .product__module-info {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 767px) {    
    .product__basic-set-price {
        display: block;
    }
    .product__module-item {
        flex-direction: column;
    }
    .product__module-info {
        max-width: 100%;
        width: 100%;
    }
    .product__module-cost-info {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
        flex-direction: row-reverse;
    }
}

@media screen and (max-width: 479px) {
    .product__module-cost-info {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .product__module-show-more {
        margin-top: 0;
        margin-bottom: 15px;
        text-align: left;
    }
}

/* Узлы списка модулей на телефоне (версия B, product-mobile.css): сервер выводит их всегда, видны они только под
   html.pm-on. Его ставит скрипт в head страницы товара на узкой ширине; на широкой их нет на экране. */
html:not(.pm-on) .pm-sentinel, html:not(.pm-on) .pm-tools, html:not(.pm-on) .pm-status, html:not(.pm-on) .pm-ghead,
html:not(.pm-on) .pm-more, html:not(.pm-on) .pm-sub, html:not(.pm-on) .pm-peek, html:not(.pm-on) .pm-buy,
html:not(.pm-on) .pm-tog, html:not(.pm-on) .pm-togw, html:not(.pm-on) .product__module-header-title > .pm-mt {
    display: none;
}

/* ======================= Карточка «1 А» (29.11.2026): ниже первого экрана и модули на ПК =======================
   Цвета и шрифты — переменные --pc-* (productCard/assets/product-card.css). Всё под html:not(.pm-on): телефон собирает
   версия B (product-mobile.js), её разметку и вид правила ниже не трогают. Свёрнутое прячет только hidden="until-found"
   (поиск браузера его находит): display: none для свёрнутого здесь не ставить. */
html:not(.pm-on) .breadcrumbs { margin: 24px auto; }

/* вкладки: подпись #666 на #F7F6F6, ссылка на всю высоту полосы 48 px; «Gallery» на ПК нет — галерея миниатюрами в карточке */
html:not(.pm-on) .product__nav { padding: 0; margin-bottom: 32px; }
@media screen and (max-width: 991px) {
    html:not(.pm-on) .product__nav-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
}
html:not(.pm-on) .product__nav-links { display: flex; flex-wrap: wrap; }
html:not(.pm-on) .product__nav-link { display: inline-flex; align-items: center; min-height: 48px; margin: 0 16px 0 0; padding: 0 12px; color: var(--pc-muted); }
/* «Modules» — первая вкладка на ПК и в разметке (product.php); на телефоне (версия B) порядок прежний — product-mobile */
html:not(.pm-on) .product__nav-link:first-child { margin-left: -12px; }
html:not(.pm-on) .product__nav-link:hover { color: var(--pc-ink); }
html:not(.pm-on) .product__nav-link:focus-visible { outline: 2px solid var(--pc-red); outline-offset: -2px; }
html:not(.pm-on) .product__nav-link[data-anchor=".gallery"] { display: none; }
/* раздел галереи на ПК прячем (миниатюры в карточке); на телефоне — карусель темы, как на сайте (макет 29.11) */
@media screen and (min-width: 768px) {
    html:not(.pm-on) .product .gallery { display: none; }
}

/* разделы: модули → описание, между разделами 48, первый — 40 от карточки (первым узлом стоит скрипт свойств телефона) */
html:not(.pm-on) .product__card-additional-info > * { margin-top: 48px; margin-bottom: 0; }
html:not(.pm-on) .product__card-additional-info > :first-child,
html:not(.pm-on) .product__card-additional-info > script:first-child + * { margin-top: 40px; }
.product__section-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 20px; font: 700 22px/1.25 var(--pc-head); color: var(--pc-ink); }
.product__section-count { font: 400 15px/1 var(--pc-body); color: var(--pc-muted); }
.product__vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* «News and updates» — на ПК сразу за описанием (вкладка по-прежнему ведёт к нему); заголовки «News and updates» и
   «Related products» — тем же стилем раздела (блоки news и recommendedProducts не меняются, правила — отсюда) */
html:not(.pm-on) .product__news { display: block; }
html:not(.pm-on) .product__news .news { padding: 0; }
.product .news .news__title, .product > .recommended-products .recommended-products__title {
    display: flex; align-items: baseline; gap: 10px; width: auto; margin: 0 0 20px; padding: 0;
    font: 700 22px/1.25 var(--pc-head); color: var(--pc-ink); text-transform: none;
}
.product .recommended-products__item-description, .product .recommended-products__item-description p { text-align: left !important; }
/* описание — строка до ~90 знаков */
.product__desc > :not(.product__desc-title) { max-width: 720px; }
.product__desc p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }

/* ---------- модули: голова раздела, поиск, статус ---------- */
.product__modules-head, .product__modules-status, .product__module-toggle, .product__module-more, .product__modules-all,
.product__modules-empty { display: none; }
html:not(.pm-on) .product__modules { --mx-stick: 200px; }  /* шапка темы на ПК фиксирована целиком: низ на 200 px (1440) */
html:not(.pm-on) .product__modules-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
html:not(.pm-on) .product__modules-head .product__section-title { margin: 0; }
.product__modules-search { position: relative; display: flex; align-items: center; flex: 0 1 360px; margin: 0; }
.product__modules-search-icon { position: absolute; left: 12px; width: 18px; height: 18px; fill: none; stroke: var(--pc-muted); stroke-width: 2; pointer-events: none; }
.product__modules-search-field { width: 100%; height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--pc-line); border-radius: 0; background: #fff; font: 400 15px var(--pc-body); color: var(--pc-ink); }
.product__modules-search-field:focus { outline: 2px solid var(--pc-red); outline-offset: -1px; border-color: var(--pc-red); }
html:not(.pm-on) .product__modules-status { display: block; min-height: 20px; margin: -8px 0 12px; font: 400 14px/1.4 var(--pc-body); color: var(--pc-muted); }
html:not(.pm-on) .product__modules-status:empty { margin: 0; min-height: 0; }

/* ---------- группы: аккордеон, строка группы «название · число · from N $ · стрелка» ---------- */
html:not(.pm-on) .product__module-list { border: 1px solid var(--pc-line); }
html:not(.pm-on) .product__module-list[hidden] { display: none; }
html:not(.pm-on) .product__module { margin: 0; padding: 0; border: 0; }
html:not(.pm-on) .product__module + .product__module { border-top: 1px solid var(--pc-line); }
html:not(.pm-on) .product__module[hidden="until-found"] { border: 0; }
html:not(.pm-on) .product__module.is-out, html:not(.pm-on) .product__module-item.is-out { display: none; }
html:not(.pm-on) .product__anchor { top: -216px; }
html:not(.pm-on) .product__module-header { display: none; }  /* заголовок-ссылка темы — на ПК его заменяет строка группы */
html:not(.pm-on) .product__module-toggle {
    display: grid; grid-template-columns: minmax(0, 1fr) auto 120px 20px; align-items: center; gap: 16px;
    width: 100%; min-height: 56px; padding: 0 16px; border: 0; background: #fff; text-align: left; cursor: pointer; color: var(--pc-ink);
    scroll-margin-top: calc(var(--mx-stick) + 16px);
}
.product__module-toggle:hover .product__module-toggle-title { color: var(--pc-red); }
.product__module-toggle:focus-visible { outline: 2px solid var(--pc-ink); outline-offset: -2px; }
.product__module-toggle-title { font: 700 16px/1.25 var(--pc-head); }
.product__module-toggle-count { min-width: 28px; padding: 2px 8px; border-radius: 12px; background: var(--pc-gray); font: 400 13px/1.3 var(--pc-body); color: var(--pc-muted); text-align: center; }
.product__module-toggle-price { font: 700 14px/1.2 var(--pc-head); text-align: right; white-space: nowrap; }
.product__module-toggle-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
html:not(.pm-on) .product__module--open > .product__module-toggle { background: var(--pc-gray); }
.product__module--open .product__module-toggle-icon { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .product__module-toggle-icon { transition: none; } }
/* overflow: hidden темы держал бы липкие название и цену внутри списка — на ПК список не обрезается */
html:not(.pm-on) .product__module-items { overflow: visible; }
html:not(.pm-on) .product__module--open > .product__module-items { border-top: 1px solid var(--pc-line); }

/* ---------- строка модуля: название и артикул | описание | цена | «+ Add» ---------- */
html:not(.pm-on) .product__module-item {
    display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr) 96px 92px; align-items: start; gap: 4px 24px;
    margin: 0; padding: 16px; border: 0; border-top: 1px solid var(--pc-line); background: none;
    scroll-margin-top: calc(var(--mx-stick) + 16px);
}
html:not(.pm-on) .product__module-item:first-child { border-top: 0; }
html:not(.pm-on) .product__module-item:hover { background: #FBFBFB; }
html:not(.pm-on) .product__module-item[hidden="until-found"] { padding: 0; border: 0; }
/* браузер без until-found (метка mx-nouf — ModuleList::NOUF_SCRIPT) читает его как обычный hidden, а display строки,
   группы и списка выше его перебивает — помеченное hidden там не рисуется ни при каком display темы */
html.mx-nouf:not(.pm-on) .product__modules [hidden] { display: none !important; }
html:not(.pm-on) .product__module-info, html:not(.pm-on) .product__module-cost-info,
html:not(.pm-on) .product__module-cost-info-container { display: contents; }
html:not(.pm-on) .product__module-title { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html:not(.pm-on) .product__module-name { font: 700 15px/1.3 var(--pc-head); color: var(--pc-ink); text-decoration: none; overflow-wrap: anywhere; }
html:not(.pm-on) .product__module-name:hover { color: var(--pc-red); text-decoration: underline; text-underline-offset: 3px; }
.product__module-name:focus-visible { outline: 2px solid var(--pc-ink); outline-offset: 2px; }
html:not(.pm-on) .product__module-title .vendor-code, html:not(.pm-on) .product__module-title .vendor-code * { margin: 0; font: 400 12px/1.3 var(--pc-body); color: var(--pc-muted); letter-spacing: 0; }
html:not(.pm-on) .product__module-text { grid-column: 2; grid-row: 1; min-width: 0; font: 400 14px/1.5 var(--pc-body); color: var(--pc-ink); }
html:not(.pm-on) .product__module-description, html:not(.pm-on) .product__module-description * { font-size: 14px; color: var(--pc-muted); }
html:not(.pm-on) .product__module-hidden-description { max-width: 640px; font-size: 14px; overflow-wrap: anywhere; }
html:not(.pm-on) .product__module-text p { margin: 0 0 8px; }
html:not(.pm-on) .product__module-text > * > :last-child { margin-bottom: 0; }
html:not(.pm-on) .product__module-hidden-description ul, html:not(.pm-on) .product__module-hidden-description ol { margin: 0 0 8px; padding-left: 18px; }
html:not(.pm-on) .product__module-hidden-description li { margin: 0 0 2px; list-style: disc; }
html:not(.pm-on) .product__module-hidden-description table { font-size: 13px; }
/* таблицы из редактора (у UPA-USB — 900 px): ужимаются до колонки, коды в ячейках не рвутся (overflow-wrap описания на них
   не действует); уже своих слов — прокрутка в колонке, а не поверх цены (ECUTALL-28; колонка в «1 А» — 408 px на 1280) */
html:not(.pm-on) .product__module-text { overflow-x: auto; }
html:not(.pm-on) .product__module-text table { overflow-wrap: normal; }
html:not(.pm-on) .product__module-hidden-description td, html:not(.pm-on) .product__module-hidden-description th { padding: 4px 8px; border: 1px solid var(--pc-line); }
html:not(.pm-on) .product__module-text mark { background: #FFE8A3; color: inherit; padding: 0 1px; }
html:not(.pm-on) .product__module-name mark { background: #FFE8A3; color: inherit; padding: 0 1px; }
html:not(.pm-on) .product__module-price { grid-column: 3; grid-row: 1; margin: 0; padding-top: 8px; font: 700 16px/1.2 var(--pc-head); color: var(--pc-ink); text-align: right; white-space: nowrap; }
html:not(.pm-on) .product__module-old-price { grid-column: 3; grid-row: 2; margin: 0; font: 400 13px/1.2 var(--pc-body); color: var(--pc-muted); text-align: right; }
html:not(.pm-on) .product__module-buy, html:not(.pm-on) .product__module-buy:hover {
    grid-column: 4; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 0; height: 36px;
    padding: 0 12px; border: 2px solid var(--pc-red); background: #fff; font: 700 14px/1 var(--pc-head); color: var(--pc-red);
    text-decoration: none; white-space: nowrap; cursor: pointer;
}
html:not(.pm-on) .product__module-buy:hover, html:not(.pm-on) .product__module-buy--active { background: var(--pc-red); color: #fff; }
html:not(.pm-on) .product__module-buy--inactive, html:not(.pm-on) .product__module-buy--inactive:hover { border-color: #999; background: #fff; color: #999; cursor: default; }
.product__module-buy:focus-visible { outline: 2px solid var(--pc-ink); outline-offset: 2px; }
/* «Expand / Collapse» — под описанием; полное совпадает с кратким — раскрывать нечего, кнопки нет */
html:not(.pm-on) .product__module-show-more { grid-column: 2; grid-row: 2; width: auto; }
html:not(.pm-on) .product__module-item--same .product__module-show-more { display: none; }
/* полное совпадает с кратким: и в открытой группе (галка «Открыта») видно краткое, как в свёрнутой строке, а полное не
   выводится — его текст тот же, поиск браузера находит его в кратком (макет, правка 29.11) */
html:not(.pm-on) .product__module-item--same .product__module-description--replaced { display: block; }
html:not(.pm-on) .product__module-item--same .product__module-hidden-description { display: none; }
/* полное описание без видимого текста (только пустые абзацы; шаблон тогда не выводит .product__module-show-more) у раскрытой
   строки давало пустые строки под кратким — как в макете, его нет */
html:not(.pm-on) .product__module-item:not(:has(.product__module-show-more)) .product__module-hidden-description { display: none; }
html:not(.pm-on) .product__module-show-more-switcher {
    display: inline-block; width: auto; height: auto; margin: 2px 0 0; padding: 4px 0; font: 700 13px/1.3 var(--pc-body); color: var(--pc-red); transition: none;
}
html:not(.pm-on) .product__module-show-more-switcher::before, html:not(.pm-on) .product__module-show-more-switcher::after { content: none; }
html:not(.pm-on) .product__module-show-more-switcher-title { padding: 0; font-size: 13px; }
html:not(.pm-on) .product__module-show-more-switcher-title::after { content: attr(data-show-title) " ↓"; }
html:not(.pm-on) .product__module-item--opened .product__module-show-more-switcher { color: var(--pc-red); }
html:not(.pm-on) .product__module-item--opened .product__module-show-more-switcher-title::after { content: attr(data-hide-title) " ↑"; }
.product__module-show-more-switcher:hover { text-decoration: underline; text-underline-offset: 3px; }
.product__module-show-more-switcher:focus-visible { outline: 2px solid var(--pc-ink); outline-offset: 2px; }

/* «Show N more» в группе, «Show all N groups», «Nothing found» */
html:not(.pm-on) .product__module-more, html:not(.pm-on) .product__modules-all {
    display: block; padding: 4px 0; border: 0; background: none; font: 700 14px/1.3 var(--pc-body); color: var(--pc-red); cursor: pointer;
}
.product__module-more::after, .product__modules-all::after { content: " ↓"; }
.product__module-more:hover, .product__modules-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.product__module-more:focus-visible, .product__modules-all:focus-visible, .product__modules-clear:focus-visible { outline: 2px solid var(--pc-ink); outline-offset: 2px; }
html:not(.pm-on) .product__module-more { width: 100%; margin: 0; padding: 12px 16px; border-top: 1px solid var(--pc-line); text-align: left; }
html:not(.pm-on) .product__module-items[hidden] + .product__module-more, html:not(.pm-on) .product__module-more[hidden] { display: none; }
html:not(.pm-on) .product__modules-all { margin: 16px auto 0; }
html:not(.pm-on) .product__modules-all[hidden] { display: none; }
html:not(.pm-on) .product__modules-empty { display: block; padding: 40px 16px; border: 1px solid var(--pc-line); text-align: center; }
html:not(.pm-on) .product__modules-empty[hidden] { display: none; }
.product__modules-empty-title { margin: 0 0 12px; font: 700 18px/1.3 var(--pc-head); color: var(--pc-ink); }
.product__modules-clear { height: 40px; padding: 0 20px; border: 2px solid var(--pc-ink); background: #fff; font: 700 14px/1 var(--pc-head); color: var(--pc-ink); cursor: pointer; }
.product__modules-clear:hover { background: var(--pc-ink); color: #fff; }

/* открытая группа: заголовок, а в длинной строке ещё название, цена и «+ Add» держатся под шапкой темы */
@media screen and (min-width: 992px) {
    html:not(.pm-on) { scroll-padding-top: 216px; }
    html:not(.pm-on) .product__module--open > .product__module-toggle { position: sticky; top: var(--mx-stick); z-index: 2; box-shadow: 0 1px 0 var(--pc-line); }
    /* только у строки с полным описанием (шаблон выводит .product__module-show-more): строке без текста держаться незачем */
    html:not(.pm-on) .product__module-item--opened:has(.product__module-show-more) .product__module-title,
    html:not(.pm-on) .product__module-item--opened:has(.product__module-show-more) .product__module-price,
    html:not(.pm-on) .product__module-item--opened:has(.product__module-show-more) .product__module-buy { position: sticky; top: calc(var(--mx-stick) + 72px); }
    html:not(.pm-on) .product__module-item--opened .product__module-title { background: inherit; }
    /* строка с «Expand»: название, цена и «+ Add» на обе строки сетки — высоту первой задаёт только описание, и «Expand»
       стоит сразу под ним (в макете кнопка внутри описания); при старой цене цена остаётся в первой строке */
    html:not(.pm-on) .product__module-item:not(.product__module-item--same):has(.product__module-show-more) .product__module-title,
    html:not(.pm-on) .product__module-item:not(.product__module-item--same):has(.product__module-show-more) .product__module-buy,
    html:not(.pm-on) .product__module-item:not(.product__module-item--same):has(.product__module-show-more):not(:has(.product__module-old-price)) .product__module-price { grid-row: 1 / span 2; }
}
@media screen and (max-width: 991px) {
    html:not(.pm-on) .product__module-item { grid-template-columns: minmax(0, 1fr) auto auto; }
    html:not(.pm-on) .product__module-title { grid-column: 1; }
    html:not(.pm-on) .product__module-price { grid-column: 2; }
    html:not(.pm-on) .product__module-buy { grid-column: 3; }
    html:not(.pm-on) .product__module-text { grid-column: 1 / -1; grid-row: 2; }
    html:not(.pm-on) .product__module-show-more { grid-column: 1 / -1; grid-row: 3; }
    html:not(.pm-on) .product__module-old-price { grid-column: 1 / -1; grid-row: 4; text-align: left; }
}
