.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;
}

.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;
}
