.align-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 767px) {
.c-goods__img {
    position: relative;
    display: block;
    height: 250px;
}

}
@media (min-width: 1440px) {
.c-images__big {
    position: relative;
    height: 510px;
    border: 1px solid #dadada;
    background: #fff;
}
}
@media (max-width: 1440px) {
.c-images__big {
    position: relative;
    height: 300px;
    border: 1px solid #dadada;
    background: #fff;
}
}

@media (max-width: 767px) {
    .c-images__big {
        height: 270px;
    }
}

.c-images__slider__item img {
 
    padding: 0px;
}
.c-images__slider__item {
    position: relative;
    display: block;
    height: 165px;
    border: 1px solid #dadada;
    background: #fff;
    cursor: pointer;
}
@media (max-width: 989px) {
    .c-images__slider__item {
        height: 110px;
    }
}
@media (max-width: 767px) {
    .c-images__slider__item {
        height: 85px;
    }
}

@media (min-width: 767px) {
.lcg {
    text-align: right;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
}



.mg-add-to-favorites, .mg-remove-to-favorites

 {
    top: 40px;
    right: 15px;
    opacity: 1;
    visibility: visible;
    z-index: 9;
    font-size: 0;
    background: none;
    border: none;
    width: fit-content;
}

.c-goods__right

 { /*border: 1px solid #dadada;*/
    padding: 0 15px 15px;
}
.c-goods__title{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
	font-weight: 600;
    /*margin-bottom: 8px;*/
	   /* border: 1px solid #dadada;*/
		padding: 5px;
}


@media (max-width:768px) {
 .c-goods__img {
    position: relative;
    display: block;
    height: 130px;
}  
}
@media (min-width:768px) {
 .c-goods__img {
    position: relative;
    display: block;
    height: 250px;
}  
}


@media (max-width: 1024px) {
    .c-goods__price--current {
        font-size: 16px;
        margin-top: 10px;
    }
}
@media (min-width:990px) {
.aricleList-page, .aricle-page {
    margin-top: 30px;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
}
}

.blog__last-post-name a {
    font-size: 15px;
    color: #333!important;
    display: block;
    font-weight: 600;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
	border-bottom: 0px !important;
	text-decoration: none!important;
}

.blog__last-title {
    margin-top: 30px;
    font-size: 18px!important;
    color: #222!important;
    margin-bottom: 20px!important;
    font-weight: 600;
	
}
.tags{

  margin-bottom: 20px!important;
	
}
.mg-news-date{
  margin-top: 10px!important;
 
	
}
.blog__more-link{
  margin-top: 30px!important;
    font-size: 18px!important;
   margin-bottom: 20px!important;
    font-weight: 600;
	
}










@media (min-width: 900px) and (max-width: 1440px){ 
    .c-images__big
 {
      
        height: 470px;
    
    }
}

@media (min-width: 900px) {
    .c-images__big

 {
        height: 400px;
    }
}



@media (max-width: 767px) {
    .c-images__big {
        height: 400px;
    }
}
@media (max-width: 430px) {
    .c-images__big {
        height:300px;
    }
}
@media (max-width: 357px) {
    .c-images__big {
        height: 250px;
    }
}

@media (min-width: 1440px) {
    .c-images__big

 {
        height: 500px;
    }
}

@media (max-width: 361px) {
    .c-goods__img {
        position: relative;
        display: block;
        height: 230px;
    }
}
@media (min-width: 900px) {
.main-video{
        min-height: 500px;
    }
}
.mg-date-icon {
    display: inline-block;
    width: 11px;
    height: 13px;
    background: url("../images/mg-date-icon.png") no-repeat;
    vertical-align: -1px;
}



/* Переменные */
:root {
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --bg-color: #f7fafc;
  --border-color: #e2e8f0;
}

/* Контейнер для списка (убрана максимальная ширина) */
.comment-list {
  width: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Карточка отзыва (теперь растягивается на всю доступную ширину) */
.comment-post {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-sizing: border-box;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Мета-информация */
.post-author {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-right: 1rem;
}

.post-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Текст отзыва */
[itemprop="reviewBody"] {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-line; /* Сохраняет абзацы */
  margin: 1.5rem 0;
}

/* Сетка для отображения НОРМАЛЬНЫХ картинок */
.comment-post a.fancy-modal {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 1.5rem;
  vertical-align: top;
  text-decoration: none;
  border-bottom: none !important;
  
  /* ЭФФЕКТ ЗУМА (ЧАСТЬ 1): Создаем рамку */
  overflow: hidden; /* Чтобы увеличивающаяся картинка не вылезала за скругленные углы */
  border-radius: 8px; /* Переносим скругление углов на саму ссылку-контейнер */
  cursor: pointer; /* Делает курсор в виде пальца, показывая кликабельность */
}

/* КАРТИНКИ С ОДИНАКОВОЙ ВЫСОТОЙ */
.comment-post .fancy-modal img {
  display: block;
  height: 200px;    /* <-- Задаем строго одинаковую высоту */
  width: auto;      /* <-- Ширина подстроится сама, пропорции не сломаются */
  max-width: 100%;  /* Чтобы на телефонах картинка не вылезала за экран */
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  /* ЭФФЕКТ ЗУМА (ЧАСТЬ 2): Плавность анимации */
  transition: transform 0.3s ease; 
}

/* Эффект при наведении на картинку (ЭФФЕКТ ПРИБЛИЖЕНИЯ) */
.comment-post .fancy-modal:hover img {
  transform: scale(1.1); /* Увеличиваем картинку на 10% прямо внутри её рамки */
}

/* Адаптив для мобильных устройств (экраны меньше 600px) */
@media (max-width: 600px) {
  .comment-post a.fancy-modal {
    display: block; /* Делаем каждую ссылку блочной */
    margin-right: 0; /* Убираем правый отступ */
    margin-bottom: 1rem; /* Добавляем отступ снизу между картинками */
    border-radius: 8px;
    overflow: hidden;
  }

  .comment-post .fancy-modal img {
    width: 100% !important; /* Растягиваем картинку на всю ширину экрана */
    height: auto !important; /* Высота подстроится сама, пропорции сохранятся */
  }
}

/* ========== SEO CONTENT FORMATTING ========== */

/* Отступы заголовков */
.c-content--seo h2,
.article-content h2,
.mg-news-full-desc h2 {
  margin-top: 36px !important;
  margin-bottom: 16px !important;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecf1;
}

.c-content--seo h3,
.article-content h3,
.mg-news-full-desc h3 {
  margin-top: 24px !important;
  margin-bottom: 10px !important;
  font-size: 1.15rem;
  font-weight: 600;
  color: #2d3748;
}

/* Отступы абзацев */
.c-content--seo p,
.article-content p,
.mg-news-full-desc p {
  margin-bottom: 14px !important;
  line-height: 1.75 !important;
  font-size: 1.02rem !important;
  color: #333;
}

/* Блоки с фоном для выделения ключевых секций */
.c-content--seo h2 + p,
.c-content--seo h2 + p + p {
  /* первый абзац после H2 — без изменений, обычный текст */
}

.c-content--seo h2:nth-of-type(odd) + p,
.mg-news-full-desc h2:nth-of-type(odd) + p {
  /* чередование: нечётные H2 — блок с фоном для первого абзаца */
}

/* FAQ блоки */
.mg-news-full-desc p strong:first-child,
.article-content p strong:first-child {
  display: block;
  margin-bottom: 4px;
  color: #1a1a2e;
  font-size: 1.05rem;
}

/* Блок-выделение: «Наша продукция», «Выводы», «Рекомендуемые» */
.c-content--seo h2 + p.has-bg,
.mg-news-full-desc h2 + p.has-bg,
.c-content--seo .highlight-block,
.mg-news-full-desc .highlight-block {
  background: #f0f4f8;
  border-left: 4px solid #2563eb;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0 20px 0;
}

/* Стили для списков */
.c-content--seo ul,
.mg-news-full-desc ul,
.article-content ul {
  margin: 12px 0 16px 24px;
  padding: 0;
}

.c-content--seo li,
.mg-news-full-desc li,
.article-content li {
  margin-bottom: 6px;
  line-height: 1.65;
  padding-left: 4px;
}

/* Стили для strong/bold */
.c-content--seo strong,
.mg-news-full-desc strong,
.article-content strong {
  color: #1a1a2e;
  font-weight: 600;
}

/* Стили для ссылок в контенте */
.c-content--seo a,
.mg-news-full-desc a,
.article-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.c-content--seo a:hover,
.mg-news-full-desc a:hover,
.article-content a:hover {
  color: #1d4ed8;
}

/* Разделитель между блоками FAQ */
.mg-news-full-desc br + strong:first-child {
  margin-top: 18px;
}

/* Hero image spacing */
.main-blog-img {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.main-blog-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article date */
.mg-news-date {
  margin-bottom: 12px;
  color: #718096;
  font-size: 0.9rem;
}

/* Article H1 */
.mg-news-full-desc h1,
.article-content h1 {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  color: #1a1a2e !important;
  line-height: 1.3 !important;
}

/* Изображения в контенте (вместо inline-стилей) */
.seo-content-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  display: block;
}

/* Ссылка «Перейти в каталог» — оставлена как обычная текстовая ссылка */
/* ── Футер: контакты и правовые ссылки ── */
.c-footer__contacts {
    margin-top: 6px;
    font-size: 0.9em;
}
.c-footer__legal {
    margin-top: 10px;
    font-size: 0.85em;
}
.c-footer__legal a {
    color: inherit;
    text-decoration: none;
}
.c-footer__legal a:hover {
    text-decoration: underline;
}

/* ── Навигация в футере и SEO-блоках ── */
.c-footer__nav a {
    color: inherit;
    text-decoration: none;
}
.c-footer__nav a:hover {
    text-decoration: underline;
}

/* ── Ссылки в SEO-блоках ── */
.c-content--seo a {
    color: #f05a4f;
    text-decoration: underline;
}
.c-content--seo a:hover {
    color: #ff493c;
    text-decoration: none;
}
