@media (min-width: 1242px) {
  .top-bar--view-2 .top-bar__menu {
    width: auto !important;
  }

}
.stock-info {
    justify-content: start;
}
.lb_ec {
    background-color: red;
    color: #fff;
    padding: 4px 22px;
    box-shadow: 0px 0px 1px 1px #c90000;    
}
.payment__icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.payment__icon {
    border: none; max-width: 60px; margin-right: 5px;
}
.cat-item__badge-item {
    border-radius: 0;
}
.stock-text {
    color: #000;
}
.config-items-views__toggle .btn-wrapper.active .config-items-views-btn .icon {
    fill: #000;
}
.config-items-views__toggle .btn-wrapper.active .config-items-views-btn {
    border-color: #000;
}
.pagination__list li.selected a[href] {
    -webkit-box-shadow: 0 0 0 3px #000 !important;
    box-shadow: 0 0 0 3px #000 !important;
    color: #000;
}
select:focus {
    border-color: #F1417B;
}
.item-pg__gallery--brief .brief-chars__short-descr {
    color: #333;
}
#minsum-cart {
    color: red; /*цвет шрифта*/
    font-weight: bold; /*насыщенность шрифта*/
}

/* -- Карточки товара в каталоге -- */
    .cat-item-badges {
        left: 0;
    }
    
    .cat-item__badge-item {
        border-radius: 0 4px 12px 0;
        padding: 7px 16px 6px;
    }

    .grey-bg .item_gv.item_gv-1 .item, .grey-bg .item_gv.item_gv-2 .item, .grey-bg .item_gv.item_gv-3 .item, .grey-bg .item_lsv .item {
        -webkit-box-shadow: 0px 0px 1px 1px #fff, 1.5px 2.6px 7px rgba(0,0,0,0.1);
        box-shadow: 0px 0px 1px 1px #fff, 1.5px 2.6px 7px rgba(0,0,0,0.1);
    }
    .grey-bg .item_gv.item_gv-1 .item:hover, .grey-bg .item_gv.item_gv-2 .item:hover, .grey-bg .item_gv.item_gv-3 .item:hover, .grey-bg .item_lsv .item:hover {
        -webkit-box-shadow: 0px 0px 1px 1px #fff, 0px 10px 10px rgba(0,0,0,0.2);
        box-shadow: 0px 0px 1px 1px #fff, 0px 10px 10px rgba(0,0,0,0.2);
    }
    
    .grey-bg .item_gv.item_gv-1 .item:hover .quickorder-button.uni-btn.uni-btn--grey-trnspt[data-quickorder-pb] {
        /*background-color: #f0fff0;*/
    }
    
    .stock-info--cat .stock-icon {
    width: 12px;
    height: 12px;
    /*border: solid 1px green;*/
        
    }
    
    .stock-info .stock-icon .icon {
        min-width: 14px !important;
        min-height: 10px !important;

    }
    
    .stock-info--cat {
        font-size: 14px;
        align-items: baseline;

    }
    
    .stock-text {
        color: #3a795e;
    }
    
    
    .c-item__wrapper:not(.item_lnv) .c-item:not(:last-child) {
        margin-bottom: 50px;
    }    

@media (max-width: 768px) {
    .c-item__wrapper {
        margin: 0 -7px;
    }
    
    .items-wrapper.item_gv.c-item_gv .c-item:nth-child(odd) {
        padding-right: 2px;
    }
    
    .items-wrapper.item_gv.c-item_gv .c-item:nth-child(even) {
        padding-left: 2px;
    }
    
    
    .item_gv .item {
        padding: 0px;
        padding-bottom: 15px;
        overflow: hidden;
    }    
    
    .item_gv .item__image_gv {
    height: 300px;
    width: auto;
    }    
    
    .item__img {
        min-width: 100%;
        min-height: 100%;
        height: auto;
        width: auto;
        max-height: 110%;
        max-width: none;
        position: absolute;
        left: 0;
        right: auto;
        top: auto;
        bottom: 0;
        -webkit-transition: all .7s;
        -o-transition: all .7s;
        transition: all .7s;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        margin-bottom: 10px;
        transform-origin: bottom;
    }
    
    .item__title-w, .item__content-wr, .item__tech-chars, .item__bottom {
        padding: 0px 12px;
    }
    
    .has-equal-items.item_gv .item__title {
        height: 88px;
    }
    
    .item_gv .item__title {
        font-size: 1.75rem;
        line-height: 1.25;        
    }     
    
    .item_gv .prc__i {
        font-size: 1.85rem;
        color: #9f9f9f;
        
    }
    
    .item_gv .prc__i:first-child {
        color: #193232;
        font-size: 2.15rem;
    }
    
    .item__prc-w > .prc {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

@media (max-width: 374px) {
    .items-wrapper.item_gv.c-item_gv.c-item_narrow .c-item {
        display: block;
        position: relative;
        width: 226px;
        margin: 50px auto;

    }
    
    .item__title-w {
        margin-bottom: 5px !important;
    }
    
    .has-equal-items.item_gv .item__title {
        height: auto;
        min-height: auto;
    }
    
    .item_gv .item__title {
        display: -webkit-box;      /* Критично! */
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical; /* Критично! */
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1.55rem;
    }    
    
    /*.item_gv .prc__i {*/
    /*    font-size: 1.45rem;*/
    /*    color: #9f9f9f;*/
        
    /*}*/
    
    /*.item_gv .prc__i:first-child {*/
    /*    color: #193232;*/
    /*    font-size: 1.75rem;*/
    /*}    */
    
}


@media (min-width: 768px) {
    .items-wrapper.item_gv.c-item_gv.c-item_narrow .c-item {
        width: 226px;
        margin-right: 18px;
    }
    
    .item_gv .item {
        padding: 0px;
        padding-bottom: 15px;
        overflow: hidden;
    }
    
    .item_gv .item__image_gv {
    height: 330px;
    width: auto;
    }
    
    .item__img {
        min-width: 100%;
        min-height: 100%;
        height: auto;
        width: auto;
        max-height: 120%;
        max-width: none;
        position: absolute;
        left: 0;
        right: auto;
        top: auto;
        bottom: 0;
        -webkit-transition: all .7s;
        -o-transition: all .7s;
        transition: all .7s;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        margin-bottom: 10px;
        transform-origin: bottom;
    }    
    
    .item__title-w, .item__content-wr, .item__tech-chars, .item__bottom {
        padding: 0px 12px;
    }
    
    .has-equal-items.item_gv .item__title {
        height: 66px;
    }
    
    .item_gv .item__title {
        font-size: 1.75rem;
    }
    
    .item_gv .prc__i {
        font-size: 1.85rem;
        color: #9f9f9f;
        
    }
    
    .item_gv .prc__i:first-child {
        color: #193232;
        font-size: 2.15rem;
    }
    
    .item__prc-w > .prc {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .flickity-viewport .nc-item .prc__i {
        font-size: 1.6rem;
    }
    
    .flickity-viewport .nc-item .prc__i:first-child {
        font-size: 1.8rem;
    }    
}

@media (min-width: 1242px) {
    .items-wrapper.item_gv.c-item_gv.c-item_narrow .c-item {
        width: 246px;
        margin-right: 8px;
    }
    .item_gv .item__image_gv {
    height: 360px;
    }

    .item__img {
        min-width: 100%;
        min-height: 100%;
        height: auto;
        width: auto;
        max-height: none;
        max-width: none;
        position: absolute;
        left: 0;
        right: auto;
        top: auto;
        bottom: 0;
        -webkit-transition: all .7s;
        -o-transition: all .7s;
        transition: all .7s;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        margin-bottom: 10px;
        transform-origin: bottom;
    }

    .item_gv .item__info-block, .item_gv .item__image-wr, .item_gv .item__title-w, .item_gv .item__prc-w, .item_gv .item__rating, .item_gv .item__artikul {
        margin-bottom: 15px;
    }

    .has-equal-items.item_gv .item__title {
        height: 70px;
        /*height: auto;*/
        /*min-height: auto;        */
    }

/* -- Рекомендуемые -- */
    .flickity-viewport {
        height: 720px !important;
    }

    .vertical-menu .color-slider .nc-item_narrow .item__image_gv {
        height: 360px;
    }
    
    .flickity-viewport .nc-item .prc__i {
        font-size: 1.85rem;
    }
    
    .flickity-viewport .nc-item .prc__i:first-child {
        font-size: 2.15rem;
    }      
}




/* -- Кнопка В корзину -- */
.uni-btn.uni-btn--red, .uni-btn.uni-btn--red:hover {
    background-color: #193232;
    border: solid 1px #193232 !important;
}

.uni-btn.uni-btn--red .hover-anim {
    background-color: #e1ece7;
    border: solid 1px #193232 !important;    
    transition: width .6s, height .6s;
}

/* -- Счетчик товаров в корзине -- */
.mid-bar--view-4 .store-actions__cart-amount, .quick-panel__num {
    background-color: #193232;
}

.mid-bar--view-4 .store-actions__cart-amount::before {
    border-right-color: #193232;
}


/* -- Список каталога -- */
.vertical-menu .main-menu__item:not(:last-child) {
    padding-bottom: 14px !important;
    
}

/* -- Стили для блока рейтинга в описании товара -- */

/* Контейнер для линии с рейтингом (звезды + цифры) */
.descr-rating-line {
    display: flex;
    flex-direction: row;
    align-items: center; /* Добавил для идеального вертикального выравнивания */
}

/* Стиль для цифрового значения рейтинга */
.descr-rating-value {
    margin-right: 7px;
}

/* Стиль для количества отзывов (синий цвет) */
.descr-review-count {
    color: #4c83ff;
}

/* Контейнер для ссылок "Смотреть/Написать отзыв" */
.descr-review-action {
    display: flex;
    justify-content: space-between; /* Растаскивает ссылки по краям */
    margin-top: 7px;
}

/* Стилизация синего текста в ссылке "Написать отзыв" */
.descr-review-write span {
    color: #4c83ff;
    text-decoration-color: #4c83ff;
}

/* Общие стили для ссылок, чтобы убрать лишнее и сделать их аккуратными */
.descr-review-action a {
    text-decoration: none; /* Убираем подчеркивание */
}
.descr-review-action a:hover {
    text-decoration: underline; /* Возвращаем подчеркивание при наведении */
    text-underline-offset: 4px;
}

.descr-review-action a.descr-review-write:hover {
    text-decoration-color: #4c83ff;
}


/* --- Стили для нового FAQ-аккордеона --- */

#faq-tab {
    background-color: #fff;
}

.faq-section {
    margin: 24px 16px;
    /*border-radius: 12px;*/
    /*border: solid 1px #e5e5e5;*/
}

.faq-section h3 {
    width: fit-content;
    color: #9dbaad;
    margin-top: 40px;
    margin-bottom: 25px;
    padding: 7px 16px;
    border-bottom: solid 2px #e4f6ee;
    border-radius: 36px;
}

.faq-question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    /*border-bottom: solid 1px #e1ece7;*/
    padding-inline: 36px 16px;
    cursor: pointer; /* Чтобы можно было кликать и по строке тоже (опционально в JS) */
    
}

.faq-question-header-btn {
    display: flex;
    width: 26px;
    height: 26px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    border-radius: 50%;
    background-color: #3a795e; /* Исходный цвет */
    box-shadow: 0 0 1px 1px #fff, 3px 3px 7px rgba(0,0,0,0.4); 
    cursor: pointer; /* Курсор-рука */
    transition: background-color 0.3s ease; /* Плавная смена цвета */
    flex-shrink: 0; /* Чтобы кнопку не сплющило */    
}

.faq-question-header-btn.is-open {
    background-color: #193232; /* Темный цвет при открытии */
}

.faq-question-header-btn span {
    /*width: 100%;*/
    /*height: 100%;*/
    font-size: 0px;
    padding-top: 2px;
    /*transform: rotateZ(180deg);   */
    display: block; /* Обязательно для работы трансформации */
    transition: transform 0.3s ease; /* ВОТ ЭТО ДЕЛАЕТ ВРАЩЕНИЕ ПЛАВНЫМ */
    transform-origin: center center; /* Вращение вокруг центра */    
}

/* 5. Поворот галочки при открытии */
.faq-question-header-btn.is-open span {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.faq-question {
    color: #193232;
    max-width: 80%;
    margin-bottom: 25px !important;
}

.faq-question span {
    color: white;
    background: #4c83ff;
    padding: 3px 16px;
    box-shadow: 1.5px 2.6px 7px rgba(0,0,0,0.04); 
}


/* Контейнер для одного вопроса-ответа */
.faq-item {
    margin-bottom: 25px;
    background: white;
    /*padding: 24px 16px;*/
    /* border-radius: 12px; */
    /* border: solid 1px #f0f0f0; */
    /* border-top: none; */
    /* border-top: solid 1px #f9f9f9; */
    border-bottom: solid 3px #e1ece7;
    /* box-shadow: 1.5px 2.6px 7px rgba(0,0,0,0.04); */  
}

.faq-answer {
    display: none; /* Скрыто при загрузке */
    /*border-bottom: solid 3px #e1ece7;*/
    padding-inline: 36px 42px;
    padding-bottom: 24px; /* Добавил отступ снизу для красоты */    
}

.faq-answer a {
    display: inline-flex;
    color:#3a795e !important;
    align-items: center;    
    text-decoration: none !important; 
}

.faq-link-icon {
    transform: rotate(-90deg);
    transform-origin: center;
    margin-left: 5px;
}

.faq-answer-teaser {
    font-size: 1.8rem;
    font-weight: 700;
    color: #193232;
    border-left: solid 5px #3a795e;
    border-radius: 9px;
    padding-left: 16px;    
    margin-top: 0px;
    margin-bottom: 10px;
}

/* Убираем лишние отступы у скрытых деталей, чтобы они были частью общего текста */
.faq-answer-details {
    display: block; /* Показываем всегда, так как скрыт родитель */
    font-size: 16px;
    font-weight: 400;
    color: #444;      /* Чуть мягче цвет для длинного текста */
    line-height: 1.5; /* Чтобы удобно читалось */
    border-left: solid 5px #e1ece7;
    border-radius: 9px;
    padding-left: 16px;
    margin-top: 15px;
}

@media (max-width: 768px) {

    .faq-section {
        margin: 24px 0px;
    }
    
    .faq-section h3 {
        border: none;
        margin-inline: auto;
        font-size: 20px;
    }    
    
    .faq-question {
        margin-top: 0px;
        font-size: 18px;
    }
    
    .faq-question-header {
        padding-inline: 5px;
    }
    
    .faq-answer {
        padding-inline: 5px;
    }    
}
