/* ==== БАЗОВЫЕ СТИЛИ ==== */

  
  /* 
    .outer-slider-wrapper
    max-width:1440px; height:auto; padding-top:22; p-l:20; p-r:20
  */
  .outer-slider-wrapper {
    width: 100%;
    max-width: 1440px;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
  }
  
  /* 
     СВАЙПЕР: 
     десктоп — 650px, 
     мобильный — 400px (через media-queries)
  */
  .slider-wrapper {
    height: 650px;        /* высота по умолчанию (десктоп) */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 0px 0;
  }
  .swiper-wrapper {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    position: relative; 
    overflow: hidden;
    height: 100%;        /* каждый слайд заполняет всю высоту родителя */
  }
  
  /* ==== КАРТИНКИ ==== */
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* обрезка лишних краев, если пропорции не совпадают */
    display: block;
  }
  
  /* ==== ЗАТЕМНЕНИЕ (40%) ==== */
  .swiper-slide::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* 40% затемнение */
    z-index: 1;
  }
  
  /* 
     ТЕКСТ: верт. центр, гор. слева
     (заголовок 82px, текст 23px, кнопка скругл. 100px)
  */
  .slide-content {
    position: absolute;
    z-index: 2; 
    top: 50%;
    transform: translateY(-50%);
    left: 60px;
    right: 40px; 
    text-align: left; 
    color: #fff;
    max-width: 800px;
  }
  .slide-title {
    font-size: 72px;
    line-height: 1.1;
    margin: 0 0 20px;
  }
  .slide-subtitle {
    font-size: 23px;
    line-height: 1.4;
    margin: 0 0 24px;
  }
  .slide-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 100px; 
    transition: background-color 0.3s;
  }
  .slide-button:hover {
    background-color: #f0f0f0;
  }
  
  /* ==== СТРЕЛКИ (белые) ==== */
  .swiper-button-prev,
  .swiper-button-next {
    color: #fff; 
    width: 40px;
    height: 40px;
    z-index: 3;
  }
  
  /* ==== ПАГИНАЦИЯ (точки, белые) ==== */
  .swiper-pagination-bullet {
    background: #fff;
    opacity: 1; 
  }
  .swiper-pagination-bullet-active {
    background: #fff;
  }
  
  /* 
     МОБИЛЬНАЯ ВЕРСИЯ (<= 767px):
     - высота слайдера 400px
     - стрелки скрываем
     - шрифты уменьшаем (на ваше усмотрение)
  */
  @media (max-width: 767px) {
    .slider-wrapper {
      height: 400px;  /* на мобильном: 400px */
    }
  
    .swiper-button-prev, 
    .swiper-button-next {
      display: none !important;
    }
  
    .slide-title {
      font-size: 36px;
    }
    .slide-subtitle {
      font-size: 18px;
    }
    .slide-content {
      left: 20px;
      right: 20px;
    }
  }

        /* Контейнер страницы */
.box-x78a {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 20px;
}

/* Боковое меню (десктоп) */
.side-menu-b92 {
  width: 250px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
}

/* Стили для списка в боковом меню (десктоп) */
.list-container-qf3 {
  list-style: none;
  padding-left: 0;
}

.list-item-lk9 {
  margin-bottom: 15px;
}

.list-item-lk9.active {
  color: #ab2421;
  font-weight: bold;
}

/* Мобильная версия (до 767px) */
@media (max-width: 767px) {
  .side-menu-b92 {
    width: 100%;
    padding: 10px;
    border-radius: 0;
    margin-bottom: 20px;
  }
  
  .list-container-qf3 {
    margin: 0;
    padding: 0;
  }
  
  .list-item-lk9 {
    margin-bottom: 0;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
  }
  
  .list-item-lk9:last-child {
    border-bottom: none;
  }
  
  .list-item-lk9.active {
    background-color: #f8f8f8;
  }
}


/* Сетка карточек */
.grid-display-mp4 {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Карточка товара */
.item-card-vt6 {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Кнопка будет прижата к низу */
  border-radius: 10px;
  padding: 15px;
  background: #ffffff;
  text-align: left;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

/* Обёртка для заголовка и описания */
.card-body {
  flex: 1;
}

/* Изображение товара */
.item-img-zx2 {
  display: block;
  width: 100% !important;
  height: 260px !important;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #f7f7f7;
}

/* Заголовок товара */
.item-title-rp7 {
  margin: 10px 0;
  font-size: 18px;
  height: auto;       /* Фиксированная высота для выравнивания */
  overflow: hidden;   /* Обрезка избыточного текста */
}

/* Описание товара */
.item-desc-wq1 {
  font-size: 14px;
  color: #666;
  height: auto;       /* Фиксированная высота */
  overflow: hidden;   /* Обрезка лишнего текста */
}

/* Кнопка действия */
.action-btn-yh5 {
  display: inline-block;
  background: #5b5b5b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
  margin-top: 15px; /* Отступ сверху для разделения */
}

.action-btn-yh5:hover {
  background: #ab2421;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .box-x78a {
      flex-direction: column;
      padding: 10px;
  }
  .side-menu-b92 {
      width: 100%;
  }
}

      .container-x91b {
        padding: 20px;
        max-width: 1440px;
        margin: 0 auto;
        padding-top: 30px;
        display: flex;
        gap: 15px; /* Уменьшенный отступ */
    }

    .advantages-list-qm7 {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px; /* Уменьшенный отступ между элементами */
    }

    .advantage-item-zp4 {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        transition: background 0.3s, font-weight 0.3s;
    }

    .advantage-item-zp4:hover,
    .advantage-item-zp4.active {
        background: #e9e9e9;
        font-weight: bold;
    }

    .advantage-item-zp4 span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-weight: bold;
        font-size: 18px;
        border-radius: 50%;
        background: #000;
        color: #fff;
        flex-shrink: 0;
    }

    .advantage-text-mr2 {
        font-size: 16px;
        color: #333;
    }

    .image-container-wy8 {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-container-wy8 img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 12px;
        transition: opacity 0.3s;
    }

    @media (max-width: 768px) {
        .container-x91b {
            flex-direction: column;
            padding-bottom: 15px;
            padding: 10px;
        }

        .image-container-wy8 {
            order: -1;
            padding-top: 15px;
        }

        .advantages-list-qm7 {
            width: 100%;
            padding: 0;
        }

        .advantage-item-zp4 {
            width: 100%;
            padding: 12px;
            border-radius: 12px;
        }

        .advantage-item-zp4.active {
            background: #e9e9e9;
        }

        .advantage-item-zp4 span {
            width: 44px;
            height: 44px;
            font-size: 20px;
        }
    }

    .list-link {
      text-decoration: none; /* Убираем подчеркивание */
      color: inherit; /* Наследуем цвет текста */
      transition: color 0.3s; /* Плавное изменение цвета */
  }
  
  .list-link:hover {
      color: #ab2421; /* Цвет при наведении */
  }

  
  .block-info-xd52 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.data-section-mn87 {
    flex: 1;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
}

.data-section-mn87 h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.info-item-rt24 {
    margin-bottom: 15px;
}

.info-item-rt24 strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item-rt24 p {
    font-size: 16px;
    color: #333;
}

.map-box-tq99 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-frame-op45 {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .block-info-xd52 {
        flex-direction: column;
        padding: 10px;
    }

    .data-section-mn87, .map-box-tq99 {
        width: 100%;
    }
}

.list-container-qf3 a {
  text-decoration: none !important;
  color: #5b5b5b !important;
  font-weight: normal !important;
  transition: color 0.3s ease-in-out;
}

/* Цвет при наведении */
.list-container-qf3 a:hover {
  color: #ab2421 !important;
}

/* Цвет активного элемента */
.list-item-lk9.active {
  background: #e9e9e9 !important;
  border-radius: 5px;
}

/* Принудительный цвет активной ссылки */
.list-item-lk9.active a {
  color: #ab2421 !important;
  font-weight: bold !important;
}


.container-main-q92 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

.section-block-zp8 {
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #ab2421; /* Красная полоса сбоку */
  background: #f9f9f9;
}

.section-title-wx5 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.text-block-ac2 {
  font-size: 18px;
  line-height: 1.6;
}

.list-dots-hq7 {
  padding-left: 20px;
  margin-top: 10px;
}

.list-dots-hq7 li {
  margin-bottom: 8px;
}

.gallery-grid-tk5 {
  display: flex;
  justify-content: flex-start; /* Выравнивание фото влево */
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%; /* Ограничение ширины */
  padding: 10px 0;
}

.gallery-grid-tk5 a {
  display: block; /* Фиксируем блочный формат */
  width: 200px; /* Одинаковая ширина фото */
  flex-shrink: 0; /* Запрещаем уменьшение */
}

.gallery-grid-tk5 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}




@media (max-width: 768px) {
  .container-main-q92 {
      padding: 10px;
  }

  .gallery-grid-tk5 img {
      height: 150px;
  }
}

.logos-container-xl4 {
  max-width: 1440px;
  margin: 0 auto;
}

.logos-slider-wp7 {
  width: 100%;
  position: relative;
}

.swiper-slide.logo-item-bq2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide.logo-item-bq2 img {
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.logos-nav-left-zc9, .logos-nav-right-tp5 {
  color: #5b5b5b;
}

.logos-pagination-xm8 {
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .swiper-slide.logo-item-bq2 img {
      max-width: 120px;
  }
}

@media (max-width: 768px) {
  .swiper-slide.logo-item-bq2 img {
      max-width: 100px;
  }
}

@media (max-width: 480px) {
  .swiper-slide.logo-item-bq2 img {
      max-width: 80px;
  }
}
/* Убираем затемнение только для слайдера логотипов */
.logos-slider-wp7 .swiper-slide::after {
  content: none !important;
}

.list-item-lk9.active {
  background: #f5f5f5 !important;
  font-weight: 500;
  border-radius: 5px;
  padding: 5px 10px;
}

.list-item-lk9.active a {
  color: #ab2421 !important;
}

/* Основной контейнер */
.product-container-x99 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 20px;
}

/* Блок слайдера */
.product-slider-box-x99 {
  flex: 1;
  max-width: 50%;
}

/* Главный слайдер */
.product-main-slider-x99 {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.product-slide-x99 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Миниатюры */
.product-thumbs-slider-x99 {
  margin-top: 10px;
}

.product-thumb-slide-x99 {
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
}

.product-thumb-slide-x99 img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

/* Контентная часть */
.product-content-box-x99 {
  flex: 1;
  max-width: 50%;
}

.product-title-x99 {
  font-size: 26px;
  font-weight: bold;
}

.product-text-x99 {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

/* Кнопка */
.product-button-x99 {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #5b5b5b;
  color: white;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s;
}

.product-button-x99:hover {
  background: #ab2421;
}

/* Адаптив */
@media (max-width: 1024px) {
  .product-container-x99 {
      flex-direction: column;
      padding: 10px;
  }
  .product-slider-box-x99,
  .product-content-box-x99 {
      max-width: 100%;
  }
}
.container-main-q92 {
            max-width: 1440px;
            margin: 0 auto;
            padding: 20px;
        }
        .section-title-wx5 {
            font-size: 26px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .section-block-zp8 {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        .text-block-ac2 {
            font-size: 16px;
            color: #555;
            line-height: 1.5;
        }
        .list-dots-hq7 {
            list-style: disc;
            padding-left: 20px;
        }
        .gallery-grid-tk5 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }
        .gallery-grid-tk5 a {
            display: block;
            border-radius: 5px;
            overflow: hidden;
        }
        .gallery-grid-tk5 img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 5px;
            transition: transform 0.3s;
        }
        .gallery-grid-tk5 img:hover {
            transform: scale(1.05);
        }
        @media (max-width: 768px) {
            .container-main-q92 {
                padding: 10px;
            }
            .section-title-wx5 {
                font-size: 22px;
            }
            .gallery-grid-tk5 img {
                height: 120px;
            }
        }



        .container-main-q92 {
          max-width: 1440px;
          margin: 0 auto;
          padding: 20px;
      }
      .section-title-wx5 {
          font-size: 26px;
          font-weight: bold;
          margin-bottom: 10px;
      }
      .section-block-zp8 {
          background: white;
          padding: 20px;
          border-radius: 10px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          margin-bottom: 20px;
      }
      .text-block-ac2 {
          font-size: 16px;
          color: #555;
          line-height: 1.5;
      }
      .list-dots-hq7 {
          list-style: disc;
          padding-left: 20px;
      }
      .gallery-grid-tk5 {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          gap: 10px;
          margin-top: 15px;
      }
      .gallery-grid-tk5 a {
          display: block;
          border-radius: 5px;
          overflow: hidden;
      }
      .gallery-grid-tk5 img {
          width: 100%;
          height: 150px;
          object-fit: cover;
          border-radius: 5px;
          transition: transform 0.3s;
      }
      .gallery-grid-tk5 img:hover {
          transform: scale(1.05);
      }
      @media (max-width: 768px) {
          .container-main-q92 {
              padding: 10px;
          }
          .section-title-wx5 {
              font-size: 22px;
          }
          .gallery-grid-tk5 img {
              height: 120px;
          }
      }



     /* Контейнер (max-width 1440px, отступы 20px) */
.carouselContainerX98 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

/* Блок со стрелками в правом верхнем углу */
.carouselArrowsBoxX98 {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

/* Стили стрелок */
.carouselArrowX98 {
  width: 40px;
  height: 40px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}
.carouselArrowX98:hover {
  background-color: #333;
}
.carouselArrowX98 span {
  pointer-events: none;
}

/* Обёртка с карточками (горизонтальный скролл) */
.carouselWrapperX98 {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  margin-top: 20px;
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none;/* IE/Edge */
}
.carouselWrapperX98::-webkit-scrollbar {
  display: none;           /* Скрыть скроллбар в Chrome/Safari */
}

/* Каждая карточка */
.carouselItemX98 {
  flex: 0 0 calc((100% - 3*20px) / 4); 
  /* Чтобы картинка не «вылазила» */
  overflow: hidden;
  
  /* Флексим вертикально, чтобы при необходимости
     «выталкивать» кнопку вниз */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  /* Минимальная высота (чтобы кнопки были на одном уровне),
     но карточка может вырасти, если текст больше */
  min-height: 350px;

  text-align: left; /* Заголовок и кнопка слева */
}

/* Изображение: сохраняем пропорции с помощью aspect-ratio */
.carouselItemX98 img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4; /* можно настроить под нужные пропорции */
  object-fit: cover;
  display: block;
  border-radius: 20px;
  border: 1px solid #ccc; /* тонкий серый бордер */
}



/* Заголовок */
.carouselItemX98 h3 {
  margin: 10px 0;
  font-size: 18px;
}

/* Кнопка: inline-block, чтобы не растягивалась на всю ширину */
.carouselItemX98 button {
  display: inline-block;
  background-color: #bd2121;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: auto; 
  /* margin-top: auto «прижимает» кнопку к низу, если нужно */
}
.carouselItemX98 button:hover {
  background-color: #d33;
}

/* ----- Адаптив ----- */
@media (max-width: 767px) {
  /* Прячем стрелки на мобильной версии */
  .carouselArrowsBoxX98 {
    display: none;
  }
  .carouselWrapperX98 {
    gap: 10px;
  }
  /* Показываем ~2 карточки + часть третьей */
  .carouselItemX98 {
    flex: 0 0 80%;
    min-height: 320px; /* Можно чуть уменьшить под мобиль */
  }
}


/* 1) Контейнер (макс. 1440px, отступы 20px, позиционирование для стрелок) */
.logoSliderContainerX71 {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* 2) Стрелки внутри контейнера: без фона, только символы */
.logoSliderArrowX71 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #666;  /* Более спокойный серый цвет */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: auto;
  height: auto;
  transition: color 0.3s;
}
.logoSliderArrowX71:hover {
  color: #333;
}
.arrowLeftX71 {
  left: 0;
}
.arrowRightX71 {
  right: 0;
}

/* 3) Горизонтальный скролл для логотипов */
.logoSliderWrapperX71 {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 80px 0; /* Отступы сверху и снизу */
}
.logoSliderWrapperX71::-webkit-scrollbar {
  display: none; /* Скрываем полосу прокрутки */
}

/* 4) Каждый логотип: 6 в ряд на десктопе */
.logoSliderItemX71 {
  flex: 0 0 calc((100% - 5 * 20px) / 6); /* 6 элементов, 5 gap-ов по 20px */
  display: flex;
  justify-content: center;
  align-items: center;
}
.logoSliderItemX71 img {
  max-width: 100%;
  height: auto;
}

/* 5) Блок с точками (пагинация) */
.logoSliderDotsX71 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.logoSliderDotX71 {
  width: 10px;
  height: 10px;
  background-color: #ccc; /* Неактивная точка – светло-серая */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}
.logoSliderDotX71.active {
  background-color: #666; /* Активная – темно-серая */
}

/* Адаптив (до 767px): на мобильных устройствах показываем 3 логотипа */
@media (max-width: 767px) {
  /* Скрываем стрелки */
  .logoSliderArrowX71 {
    display: none;
  }
  /* Уменьшаем gap */
  .logoSliderWrapperX71 {
    gap: 10px;
  }
  /* Выводим 3 логотипа: 2 gap-а по 10px => (100% - 20px)/3 */
  .logoSliderItemX71 {
    flex: 0 0 calc((100% - 20px) / 3);
  }
}



/* ОБЩИЙ КОНТЕЙНЕР */
.mp-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  color: #333;
}

/* ----- КАРТОЧКА ТОВАРА: ГАЛЕРЕЯ (слева) + ИНФО (справа) ----- */

.mp-product-section {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* Галерея слева */
.mp-gallery {
  flex: 0 1 420px;
  max-width: 420px;
  text-align: left; /* Выравниваем всё в блоке галереи по левому краю */
}
.mp-gallery__main-slide {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f7f7;
}
.mp-gallery__main-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.mp-gallery__thumbnails {
  display: flex;
  gap: 8px;
  justify-content: flex-start; /* Превью тоже налево */
}
.mp-gallery__thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: border-color 0.2s;
}
.mp-gallery__thumbnail:hover {
  border-color: #999;
}
.mp-active-thumb {
  border-color: #b53b38;
}

/* Блок инфо (справа), но сам текст — слева */
.mp-product-info {
  flex: 1 1 50%;
  text-align: left;            /* Выровнен по левому краю */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mp-product-info__title {
  font-size: 2rem;
  margin-bottom: 8px;
}
.mp-product-info__article {
  font-size: 1rem;
  color: #bababa;
  margin-bottom: 16px;
}
.mp-product-info__description {
  margin-bottom: 16px;
  line-height: 1.4;
}
.mp-product-info__btn {
  /* Кнопка теперь тоже слева */
  align-self: flex-start; 
  padding: 10px 20px;
  background-color: #5B5B5B;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
  border-radius: 100px;
}
.mp-product-info__btn:hover {
  background-color: #353535;
}

/* ----- ТАБЫ ----- */
.mp-tabs-section {
  margin-bottom: 20px;
}
.mp-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.mp-tab-btn {
  padding: 10px 16px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s;
  color: #777; /* Неактивные */
  border-radius: 10px;
}
.mp-tab-btn:hover {
  background: #fafafa;
}
.mp-tab-btn--active {
  background: #e8e8e8;
  color: #000; /* Активные */
}
.mp-tabs-content {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
}
.mp-tab {
  display: none;
}
.mp-tab--active {
  display: block;
}

.mp-related-section {
  margin: 32px 0 20px;
}

.mp-related-section__title {
  margin: 0 0 18px;
  font-size: 1.6rem;
  line-height: 1.25;
  color: #333;
}

.mp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mp-related-card {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.mp-related-card__image-link {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.mp-related-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mp-related-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.mp-related-card__title a {
  color: #5b5b5b;
  text-decoration: none;
}

.mp-related-card__title a:hover {
  color: #333;
}

.mp-related-card__description {
  margin: 0;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ----- АДАПТИВ (МОБИЛЬНАЯ ВЕРСИЯ) ----- */
@media screen and (max-width: 768px) {
  /* Переход в одну колонку */
  .mp-product-section {
    flex-direction: column;
    align-items: flex-start; /* Прижимает всё к левому краю */
  }

  .mp-gallery,
  .mp-product-info {
    width: 100%;
    max-width: 100%;
    text-align: left; /* Сбрасываем */
  }

  .mp-product-info__btn {
    align-self: flex-start;
  }

  .mp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .mp-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Контейнер */
.news-wrapper {
  max-width: 1440px;    /* Максимальная ширина */
  margin: 0 auto;
  padding: 20px;        /* Отступы по бокам */
}

/* Контакты в шапке */
.header-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 8px 12px;
  border: 1px solid #e0e5ed;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #161a23;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.header-contact-link:hover {
  color: #c11421;
}

.header-contact-link .image {
  width: 18px;
  height: 18px;
}

.header-contact-mail {
  color: #4d5563;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}

.header-contact-mail:hover {
  color: #c11421;
}

.mobile-menu-contacts {
  display: none;
}

@media (max-width: 1280px) {
  .header-contact-card {
    align-items: flex-start;
    padding: 6px 10px;
  }

  .header-contact-link {
    font-size: 17px;
  }

  .header-contact-mail {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .header-contact-card {
    display: none;
  }
}

@media (max-width: 991px) {
  .mobile-menu-contacts {
    display: none;
  }

  .w-nav-overlay [data-nav-menu-open] {
    background: #ffffff;
    border: 1px solid #dde3ec;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(19, 27, 39, 0.14);
    padding: 8px 0 14px;
  }

  .w-nav-overlay [data-nav-menu-open] .nav-menu-two {
    margin: 0;
    padding: 4px 14px 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .w-nav-overlay [data-nav-menu-open] .nav-link-2,
  .w-nav-overlay [data-nav-menu-open] .nav-dropdown-toggle-2 {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 12px 10px;
    font-size: 18px;
    line-height: 1.25;
    border-radius: 10px;
    color: #171d28;
  }

  .w-nav-overlay [data-nav-menu-open] .nav-link-2:hover,
  .w-nav-overlay [data-nav-menu-open] .nav-dropdown-toggle-2:hover,
  .w-nav-overlay [data-nav-menu-open] .nav-link-2:focus-visible,
  .w-nav-overlay [data-nav-menu-open] .nav-dropdown-toggle-2:focus-visible {
    background: #f3f6fb;
    color: #c11421;
  }

  .w-nav-overlay [data-nav-menu-open] .nav-dropdown-list-2.shadow-three.w--open,
  .w-nav-overlay [data-nav-menu-open] .nav-dropdown-list-2.shadow-three.w--nav-dropdown-list-open {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 2px 0 0 8px;
  }

  .w-nav-overlay [data-nav-menu-open] .nav-dropdown-link-2 {
    display: block;
    padding: 9px 10px;
    font-size: 15px;
    line-height: 1.3;
    border-radius: 8px;
  }

  .w-nav-overlay [data-nav-menu-open] .mobile-menu-contacts {
    display: block;
    text-align: left;
    margin: 10px 14px 0;
    padding: 12px;
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    background: #f8fafc;
  }

  .mobile-menu-phone {
    display: block;
    color: #101621;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    padding: 8px 0;
  }

  .mobile-menu-email {
    display: block;
    color: #4d5563;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .mobile-menu-phone:hover,
  .mobile-menu-email:hover {
    color: #c11421;
  }

  .mobile-menu-addresses p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #3b4350;
  }

  .mobile-menu-addresses p strong {
    color: #111722;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .menu-button-2 {
    border: 1px solid #d9e0eb;
    border-radius: 14px;
    background: #f2f5fa;
  }

  .menu-button-2.w--open {
    background: #c11421;
    border-color: #c11421;
  }
}

.news-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.news-slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d7dce5;
  background: #fff;
  color: #1f2430;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}

.news-slider-btn:hover {
  border-color: #c11421;
  color: #c11421;
}
/* Мобильная версия: убираем боковые отступы */
@media (max-width: 767px) {
  .news-wrapper {
    /* padding-left: 0;*/
   /*  padding-right: 0;*/
  }
}

/* Заголовок страницы */
.news-heading {
  font-size: 2rem;
  margin-bottom: 30px;
  padding-left: 20px;

  /* Выравнивание, если нужно:
     text-align: center; 
     или оставить по умолчанию (слева). */
}
@media (max-width: 767px) {
  .news-heading {
    padding-left: 20px;
  }
}

/* Сетка для карточек:
   - На десктопе 3 колонки, 
   - На мобильном перейдём в 1 колонку */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 20px;                             /* Расстояние между карточками */
}

.news-wrapper--slider .news-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.news-wrapper--slider .news-grid::-webkit-scrollbar {
  height: 6px;
}

.news-wrapper--slider .news-grid::-webkit-scrollbar-thumb {
  background: #d2d8e2;
  border-radius: 999px;
}

/* Каждая карточка */
.news-card {
  border: 1px solid #ddd;   /* Необязательно, для наглядности */
  border-radius: 10px;
  overflow: hidden;         /* Чтобы скругление обрезало содержимое */
  display: flex;           /* Совмещаем изображение и контент в колонку */
  flex-direction: column;  /* Сверху картинка, снизу текст */
}

.news-wrapper--slider .news-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 260px;
  scroll-snap-align: start;
}

/* Ссылка на изображение - чтобы оно было кликабельным */
.news-card__image-link {
  display: block; /* Ссылка занимает всё пространство изображения */
}

/* Само изображение */
.news-card__image {
  width: 100%;
  height: 340px;      /* Фиксированная высота 340px */
  object-fit: cover;  /* Изображение обрезается по краям, сохраняя пропорции */
  display: block;
}

/* Контент карточки */
.news-card__content {
  padding: 15px;
}

/* Дата */
.news-card__date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

/* Заголовок, ссылка */
.news-card__title-link {
  text-decoration: none;
  color: #000;      /* Цвет текста заголовка */
}
.news-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight:400;
  line-height: 1.25;
}

/* Краткое описание */
.news-card__desc {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #4A4A4A;
}

/* Адаптив: при ширине менее 768px — 1 карточка в ряд */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr; /* Одна колонка */
  }

  .news-wrapper--slider .news-card {
    flex-basis: 85%;
    min-width: 280px;
  }
}


/* Обёртка: макс. ширина 1440px, отступы 20px */
.nd-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  color: #333;
}



/* Блок hero: фиксированная высота 480px, скругление 20px */
.nd-hero {
  position: relative;
  width: 100%;
  height: 480px;
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden; /* Чтобы скругление обрезало содержимое */
}
@media (max-width: 767px) {
  .nd-hero {
    height: 200px;
  }
}

/* Картинка занимает весь блок */
.nd-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Кадрируем под 480px */
  display: block;
}

.nd-hero__overlay {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; */
  /* background: rgba(0, 0, 0, 0.5); /* 50% затемнение */
  display: flex;
  align-items: center;           /* Центрирование по вертикали */
  justify-content: flex-start;   /* Текст прижат к левому краю */
  padding-left: 20px;            /* Отступ от левого края */
  box-sizing: border-box;
  color: #fff;
}

.nd-hero__date {
  margin-bottom: 8px;
  font-size: 1rem;
}
.nd-hero__title {
  font-size: 3.8rem;
  margin: 0;
}

/* ----- Основной текст ----- */
.nd-content {
  margin-bottom: 40px;
  line-height: 1.5;
}

/* ----- Галерея миниатюр ----- */
/* Сетка (или флекс) с отступами */
.nd-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Каждый элемент 320x320 */
.nd-gallery__item {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
}

/* Картинка внутри (обрезается под 320x320) */
.nd-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Оверлей для эффекта при наведении */
.nd-gallery__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, background 0.3s;
  border-radius: 20px;
}
.nd-gallery__zoom {
  font-size: 2rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.nd-gallery__item:hover .nd-gallery__overlay {
  background: rgba(0,0,0,0.4); /* затемнение */
  opacity: 1;
}
.nd-gallery__item:hover .nd-gallery__zoom {
  opacity: 1;
}

/* ----- Адаптивность ----- */
@media (max-width: 768px) {
  .nd-hero__title {
    font-size: 2.4rem;
  }

  /* Можно уменьшить сетку галереи: элементы будут уходить друг за другом */
  .nd-gallery {
    justify-content: center; /* или flex-start, на ваше усмотрение */
  }

  /* При недостатке места элементы просто перенесутся на новую строку */
}

/* ----- Лайтбокс (увеличение при клике) ----- */
.nd-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;           /* По умолчанию скрыто */
  align-items: center;     /* Центрируем содержимое */
  justify-content: center;
  z-index: 9999;           /* Чтобы перекрыть всё */
}

.nd-lightbox--active {
  display: flex;           /* Показываем при активации */
}

/* Контейнер для картинки внутри лайтбокса */
.nd-lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
}

.nd-lightbox__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* Если хотите скругление в лайтбоксе */
}

/* Кнопка закрытия (крестик) */
.nd-lightbox__close {
  position: absolute;
  top: 20px; 
  right: 20px;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
}


.breadcrumb {
  display: flex;
  flex-wrap: nowrap; /* Отключаем перенос строк */
  align-items: center;
  padding: 8px 16px;
  margin: 0;
  list-style: none;
  font-size: 14px;
  background: transparent;
  overflow-x: auto; /* Горизонтальный скролл при длинных крошках */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Плавный скролл на мобильных */
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li a {
  color: #c8c8c8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  color: #303030; /* Подсветка при наведении */
}

.breadcrumb li + li:before {
  content: "›";
  padding: 0 8px;
  color: #6c757d;
}

/* Улучшенная адаптивность для мобильных */
@media (max-width: 576px) {
  .breadcrumb {
    font-size: 12px; /* Чуть больше текста для удобства */
    padding: 6px 12px;
    max-width: 100%;
    overflow-x: auto; /* Горизонтальный скролл */
  }

  .breadcrumb li + li:before {
    padding: 0 5px; /* Чуть меньше отступов между элементами */
  }
}



/* Основные стили для модального окна */
.modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* Полупрозрачный фон */
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

/* Кнопка закрытия окна */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

/* Логотип внутри модального окна */
.modal-logo {
  display: block;
  margin: 0 auto 20px;
  max-width: 150px;
}

/* Описание */
.modal-description {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

/* Стили для формы обратной связи */
.feedback-form input[type="text"],
.feedback-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.consent-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.consent-label input[type="checkbox"] {
  margin-right: 8px;
}

.consent-label a {
  color: #ab2421;
  text-decoration: none;
}

.consent-label a:hover {
  text-decoration: underline;
}

.feedback-form button {
  width: 100%;
  padding: 12px;
  background: #ab2421;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 16px;
}

.feedback-form button:hover {
  background: #941f1c;
}

/* Адаптивные стили для экранов до 480px */
@media (max-width: 480px) {
  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
    max-width: 400px;
  }
  
  .modal-logo {
    max-width: 120px;
    margin-bottom: 15px;
  }
  
  .modal-description {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .feedback-form input[type="text"],
  .feedback-form input[type="tel"],
  .feedback-form button {
    font-size: 14px;
    padding: 10px;
  }
  
  .consent-label {
    font-size: 12px;
  }
  
  .modal-content .close {
    font-size: 20px;
    top: 5px;
    right: 10px;
  }
}

.mobile-feedback {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.mobile-feedback .button-2 {
  background-color: #525252;
  border-radius: 100px;
  padding: 10px 15px;
  font-size: 14px;
  color: white;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out;
}

.mobile-feedback .button-2:hover {
  background-color: #2c2c2c;
}

@media (max-width: 480px) {
  .mobile-feedback {
    display: block;
  }
}



.flat-container {
  max-width: 1440px; /* Ограничение по ширине */
  width: 100%; /* Чтобы адаптировался */
  padding: 20px; /* Внутренние отступы */
  margin: 0 auto; /* Центрирование */
  box-sizing: border-box; /* Учитываем padding в ширине */
}

.flat-link {
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  background-color: #414141; /* Основной цвет */
  border-radius: 8px;
  transition: background 0.3s ease-in-out;
}

.flat-link:hover {
  background-color: #363636; /* Чуть темнее при наведении */
}

.flat-link:active {
  background-color: #272727; /* Темнее при клике */
}

.section-title {
  max-width: 100%; /* Ограничение по ширине */

  text-align: left; /* Выравнивание */
  overflow: hidden; /* Предотвращаем выход за границы */
  word-wrap: break-word; /* Разрешаем перенос слов */
}

/* Адаптивность */
.section-title h1 {
  font-size: 28px; /* Базовый размер */
  font-weight: bold;
  line-height: 1.2;
  margin: 10px 0;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .section-title h1 {
    font-size: 26px; /* Уменьшаем заголовок на мобильных */
  }
}

@media (max-width: 480px) {
  .section-title h1 {
    font-size: 18px; /* Ещё меньше для узких экранов */
  }
}

/* Основной контейнер */
.mp-opcional {
  margin-top: 20px;
  padding-bottom: 20px;
  background: #f9f9f9;
  border-radius: 20px;
  text-align: left; /* Выравнивание всего блока */
}

/* Заголовок */
.mp-opcional h3 {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: left;
}

/* Сетка с опциями */
.mp-opcional__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 элемента в ряд */
  gap: 15px;
}

/* Элемент (иконка сверху, текст строго на второй строке) */
.mp-opcional__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Выравнивание элементов влево */
  justify-content: flex-start;
  background: white;
  padding: 15px;
  border-radius: 20px;
}

/* Иконка (первая строка) */
.mp-opcional__icon {
  width: 30px;
  height: 30px;
  display: block;
  margin-bottom: 8px;
}

/* Текст (вторая строка) */
.mp-opcional__text {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  display: block;
  text-align: left;
}

/* Адаптивность для планшетов (по 2 в ряд) */
@media (max-width: 768px) {
  .mp-opcional__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Адаптивность для мобильных (по 1 в ряд) */
@media (max-width: 480px) {
  .mp-opcional__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}



.aboutContainer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.aboutContent {
  flex: 1;
}

.aboutContent h2 {
  font-size: 42px;
  color: #000;
  margin-bottom: 20px;
}

.aboutContent p {
  color: #4a4a4a;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.4;
}

.btnMore {
  background-color: #ab2421;
  border: none;
  color: #fff;
  padding: 15px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btnMore:hover {
  background-color: #991613;
}

.aboutImage {
  flex: 1;
}

.aboutImage img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .aboutContainer {
    flex-direction: column;
  }

  .aboutImage {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .aboutContent h2 {
    font-size: 32px;
  }

  .aboutContent p {
    font-size: 16px;
  }
  
  .btnMore {
    padding: 12px 24px;
  }
}

@media (max-width: 767px) {
  .aboutContainer {
    padding: 10px;
  }
}


.uf-power {
  display: inline-block;         /* ширина блока подстраивается под содержимое */
  border-radius: 100px;          /* закругление углов на 100px */
  background-color: #f5f5f5;     /* легкая серая заливка */
  font-weight: 300;             /* толщина шрифта 500 */
  font-size: 16px;              /* размер шрифта 18px */
  padding: 5px 12px;            /* внутренние отступы для эстетики */
  margin-bottom: 10px;
}


/* Основной контейнер, аналог .aboutContainer */
.ckz-block {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Левая колонка с информационными блоками */
.ckz-col__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Оформление отдельного информационного блока */
.ckz-item {
  display: flex;
  align-items: center;
  background-color: #e9e9e9;
  border-radius: 10px;
  padding: 15px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.ckz-item:hover {
  background-color: #d9d9d9;
}

/* Круг с цифрой */
.ckz-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  margin-right: 15px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.ckz-item:hover .ckz-circle {
  transform: scale(1.1);
}

/* Описание блока */
.ckz-desc {
  font-size: 16px;
  color: #333;
}

/* Правая колонка для изображения (аналог .aboutImage) */
.ckz-col__image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ckz-col__image img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Адаптивность: для экранов до 1024px блочный контейнер становится колонкой */
@media (max-width: 1024px) {
  .ckz-block {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }
  .ckz-col__image {
    width: 100%;
  }
}

/* Дополнительные адаптивные настройки, если требуется */
@media (max-width: 768px) {
  .ckz-desc {
    font-size: 16px;
  }
}

/* ========= Стили для универсального попапа ========= */

/* Основной контейнер попапа – скрыт по умолчанию */
.ckz-pop {
  display: none;              /* Скрыт по умолчанию */
  position: fixed;  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow: auto;
}

/* Затемняющий фон попапа */
.ckz-pop__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Контейнер содержимого попапа */
.ckz-pop__container {
  position: relative;
  max-width: 500px;
  margin: 100px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 10px;
  z-index: 1001;
}

/* Кнопка закрытия попапа */
.ckz-pop__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Адаптивность для содержимого попапа */
@media (max-width: 767px) {
  .ckz-pop__container {
    width: 90%;
    margin: 50px auto;
    padding: 20px;
  }
}

/* ========= Базовые стили для кнопок открытия попапа ========= */

.ckz-popup-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* ========= Варианты оформления кнопок ========= */

/* Вариант 1: красная "пилюля" с отступом слева */
.ckz-btn--red-pill {
  background-color: #ab2421;
  color: #fff;
  border-radius: 100px;
  margin-left: 20px;  /* Отступ слева */
}

.ckz-btn--red-pill:hover {
  background-color: #991613;
}

/* Вариант 2: синяя простая кнопка */
.ckz-btn--blue-simple {
  background-color: #991613;
  color: #fff;
  border-radius: 100px;
}

.ckz-btn--blue-simple:hover {
  background-color: #6c0504;
}

/* ========= Утилита: скрывать элемент на мобильных устройствах ========= */

@media (max-width: 768px) {
  .ckz-hide-mobile {
    display: none !important;
  }
}

/* Вариант 3: серая "пилюля" */
.ckz-popup-btn {
  display: inline-block;  /* или inline-flex */
  width: auto;            /* на всякий случай указываем auto */
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s ease;
  align-self: flex-start;     /* для flex-контейнеров, чтобы не растягивало */
}

.ckz-btn--gray-pill {
  background-color: #666;
  color: #fff;
  border-radius: 100px;
  /* margin-left: 20px;  если нужен отступ слева */
}

.ckz-btn--gray-pill:hover {
  background-color: #555;
}

/* Базовые стили для универсальной кнопки */
.ckz-popup-btn {
  display: inline-block;  /* не растягивается на всю ширину */
  width: auto;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s ease;
}

/* Стили для варианта "серая пилюля" */
.ckz-btn--gray-pill {
  background-color: #666;  /* Серый фон */
  color: #fff;             /* Белый текст */
  border-radius: 100px;    /* Радиус для эффекта пилюли */
}

.ckz-btn--gray-pill:hover {
  background-color: #555;  /* При наведении фон темнеет */
}

/* Фиксированное позиционирование в правом нижнем углу */
.ckz-fixed-bottom {
  position: fixed;
  right: 20px;  /* Отступ от правого края */
  bottom: 60px; /* Отступ от нижнего края */
  z-index: 1100; /* z-index выше, чем у попапа, если требуется */
}

/* Стили для контейнера формы попапа */
.ckz-popup-form {
  max-width: 100%;
  text-align: left; /* Выравнивание по левому краю */

}

/* Сообщение над формой */
.ckz-form-message {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

/* Группа для каждого поля */
.ckz-form-group {
  margin-bottom: 15px;
}

/* Стили для меток */
.ckz-form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
}

/* Стили для инпутов */
.ckz-form-group input[type="text"],
.ckz-form-group input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc; /* Тонкая линия */
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Фокус инпута */
.ckz-form-group input[type="text"]:focus,
.ckz-form-group input[type="tel"]:focus {
  outline: none;
  border-color: #ab2421;
}

/* Группа для чекбокса (политика) */
.ckz-form-group--checkbox {
  display: flex;
  align-items: center;
}
.ckz-form-group--checkbox input[type="checkbox"] {
  margin-right: 10px;
  width: auto;
}

/* Кнопка отправки */
.ckz-submit-btn {
  padding: 12px 24px;
  background-color: #ab2421; /* Красный фон */
  color: #fff;
  border: none;
  border-radius: 100px; /* Скругление "пилюля" */
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* Эффект при наведении на кнопку */
.ckz-submit-btn:hover {
  background-color: #991613;
}

/* Стиль для ссылки, если нужно убрать синий цвет и подчёркивание */
.ckz-privacy-link {
  color: inherit;         /* унаследовать цвет от родителя */
  text-decoration: none;  /* убрать подчёркивание */
}

/* При наведении можно, например, сделать оттенок темнее */
.ckz-privacy-link:hover {
  color: #ab2421;
  text-decoration: underline; /* или оставить без подчёркивания */
}

/* Адаптивность: на узких экранах уменьшаем отступы */
@media (max-width: 768px) {
  .ckz-popup-form {
    padding: 0 10px;
  }
}

/* Общий контейнер блока */
.ckz-project-block {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
  box-sizing: border-box;
}

/* Шапка – логотип, метка и дополнительный заголовок */
.ckz-project-block__heading {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Контейнер для логотипа */
.ckz-project-block__logo img {
  max-width: 200px;  /* Задайте нужный размер логотипа */
  height: auto;
  margin-bottom: 10px;
}

/* Метка "История одного проекта" */
.ckz-project-block__label {
  display: block;
  font-size: 20px;       /* Увеличенный шрифт */
  font-weight: 600;      /* Более жёсткое начертание */
  color: #333;
  margin-bottom: 5px;
  text-transform: uppercase;
  padding-top: 20px;
}

/* Дополнительный заголовок "Задача" */
.ckz-project-block__subheading {
  font-size: 22px;       /* Размер можно регулировать */
  font-weight: 600;      /* Жирный стиль */
  color: #333;
  margin: 0 0 15px;      /* Отступ снизу для разделения от основного текста */
}

/* Основное текстовое содержимое */
.ckz-project-block__content p {
  font-size: 18px;
  line-height: 1.6;  /* удобочитаемость */
  color: #4a4a4a;
  margin-bottom: 20px;
}

/* Кнопка внизу */
.ckz-project-block__actions {
  margin-top: 20px;
}

.ckz-project-block__btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ab2421;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.ckz-project-block__btn:hover {
  background-color: #991613;
}

/* Адаптивная настройка для узких экранов */
@media (max-width: 768px) {
  .ckz-project-block {
    padding: 30px 15px;
    border-radius: 20px;
  }
  .ckz-project-block__label {
    font-size: 18px;
    padding-top: 15px;
  }
  .ckz-project-block__subheading {
    font-size: 20px;
    padding-top: 10px;
  }
  .ckz-project-block__content p {
    font-size: 16px;
  }
  .ckz-project-block__logo img {
    max-width: 150px;
  }
}


/*****************************
 * Контейнер блока контактов
 *****************************/
 .kzn-contacts-container {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;           /* белый фон */
  padding: 30px;
  border-radius: 8px;              /* скругление */
  color: #333;
}

/*****************************
 * Заголовок "Наши контакты"
 *****************************/
.kzn-contacts-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase; /* можно убрать, если не нужно */
}

/*****************************
 * Сетка (две колонки)
 *****************************/
.kzn-contacts-row {
  display: flex;
  flex-wrap: wrap; /* для адаптивности */
  gap: 40px;
}

.kzn-contacts-col {
  flex: 1 1 300px; /* равная ширина колонок, минимум 300px */
}

/*****************************
 * Заголовки внутри колонок
 *****************************/
.kzn-contacts-col h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.kzn-contacts-subtitle {
  font-size: 18px;
  font-weight: 500;
  margin: 5px 0 15px;
}

/*****************************
 * Список контактных данных
 *****************************/
.kzn-contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kzn-contacts-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  line-height: 1.4;
}

.kzn-contacts-list li a {
  color: #333;      /* цвет ссылки */
  text-decoration: none;
}

.kzn-contacts-list li a:hover {
  text-decoration: underline;
}

/*****************************
 * Иконки в виде <img>
 *****************************/
.kzn-contacts-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}

/*****************************
 * Кнопка «Маршрут»
 *****************************/
.kzn-route-button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 40px;
  background-color: #d00000; /* пример красного/бордового */
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.kzn-route-button:hover {
  background-color: #b00000; /* чуть темнее при ховере */
}

/*****************************
 * Блок карты
 *****************************/
 .kzn-map-block {
  max-width: 1440px;
  margin: 30px auto 0 auto; /* 30px сверху, чтобы отступить от блока контактов */
  padding: 0 20px;          /* боковые отступы */
}

/* Вспомогательный блок, создающий эффект скругления у iframe */
.kzn-map-rounded {
  border-radius: 20px;  
  overflow: hidden; /* обрезать содержимое по радиусу */
}

/* Сам iframe наследует 100% ширины и 400px высоты */
.kzn-map-rounded iframe {
  display: block; /* убрать возможные пробелы/отступы в некоторых браузерах */
  width: 100%;
  height: 400px;
  border: none;
}


/*****************************
 * Адаптив (меньше 768px)
 *****************************/
@media (max-width: 768px) {
  .kzn-contacts-container {
    padding: 20px;
  }

  .kzn-contacts-row {
    flex-direction: column;
  }

  .kzn-map-block {
    padding: 0 10px;
  }
}
/*****************************
 * Общие стили футера
 *****************************/
.kzn-footer {
  position: relative;
  padding: 26px 20px 20px;
  background:
    radial-gradient(900px 240px at 8% 0%, rgba(193, 20, 33, 0.08), transparent 55%),
    radial-gradient(700px 220px at 92% 8%, rgba(19, 27, 39, 0.08), transparent 60%),
    #f2f4f7;
}

.kzn-footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(220, 226, 235, 0.9);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
}

/*****************************
 * Сетка для колонок
 *****************************/
.kzn-footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

.kzn-footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

/*****************************
 * Первая колонка (логотип + контакты)
 *****************************/
.kzn-footer-col-logo {
  max-width: 320px;
}

.kzn-footer-logo {
  max-width: 92%;
  height: auto;
  margin-bottom: 18px;
}

/*****************************
 * Контакты (телефоны/почта)
 *****************************/
.kzn-footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kzn-footer-contacts li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  line-height: 1.35;
}

/*****************************
 * Списки «Компания», «Продукция»
 *****************************/
.kzn-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kzn-footer-menu li {
  margin-bottom: 10px;
  line-height: 1.35;
}

/*****************************
 * Колонка «Мы находимся» (адреса)
 *****************************/
.kzn-footer-col-address p {
  margin: 14px 0 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kzn-footer-address-list {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
}

.kzn-footer-address-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.4;
}

/*****************************
 * Заголовки колонок (h3)
 *****************************/
.kzn-footer-col h3 {
  font-size: 31px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #171d28;
}

/*****************************
 * Иконки <img>
 *****************************/
.kzn-footer-icon {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  object-fit: contain;
  opacity: 0.88;
}

/*****************************
 * Ссылки
 *****************************/
.kzn-footer a {
  color: #2a3342;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kzn-footer a:hover {
  color: #c11421;
}

/*****************************
 * Адаптивность
 *****************************/
@media (max-width: 768px) {
  .kzn-footer {
    padding: 18px 12px 14px;
  }

  .kzn-footer-container {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .kzn-footer-row {
    flex-direction: column;
    gap: 8px;
  }

  .kzn-footer-col {
    margin-bottom: 14px;
    min-width: 0;
  }

  .kzn-footer-col h3 {
    font-size: 22px;
  }
}

/* Обёртка для самого нижнего блока */
.kzn-footer-bottom {
  background: transparent;
  padding: 12px 20px 20px;
}

/* Контейнер с максимальной шириной 1440px */
.kzn-footer-bottom-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(220, 226, 235, 0.8);
  background: rgba(255, 255, 255, 0.7);
}

/* Левая часть (копирайт) */
.kzn-footer-bottom-left {
  font-size: 14px;
  color: #4a5362;
}

/* Правая часть (разработка сайта) */
.kzn-footer-bottom-right {
  font-size: 14px;
  color: #4a5362;
}

/* Стили ссылки */
.kzn-footer-bottom-right a {
  color: #1f2632;
  text-decoration: none;
  font-weight: 600;
}

.kzn-footer-bottom-right a:hover {
  color: #c11421;
}

/* Адаптив для смартфонов и узких экранов */
@media (max-width: 768px) {
  .kzn-footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Блок для вывода новостей */
.ckz-news-block {
  max-width: 1440px;   /* Максимальная ширина блока */
  margin: 0 auto;      /* Центрирование блока по горизонтали */
  padding: 20px;       /* Отступы внутри блока */
  box-sizing: border-box;
}

/* Заголовок новости */
.ckz-news-block__title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

/* Текст новости */
.ckz-news-block__text {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Адаптивность: при узких экранах можно немного уменьшить отступы и размер шрифта */
@media (max-width: 768px) {
  .ckz-news-block {
    padding: 15px;
  }
  
  .ckz-news-block__title {
    font-size: 24px;
  }
  
  .ckz-news-block__text {
    font-size: 16px;
  }
}

/* ==============================
   Статья (инфо-страница)
============================== */
.ckz-article {
  position: relative;
  padding: 28px 0 72px;
  background: #f4f5f7;
}

.ckz-article__shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.ckz-article__header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.ckz-article__hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e1e4ea;
  background: #eef1f4;
}

.ckz-article__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.ckz-article__head {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid #e1e4ea;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.ckz-article__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6a6f7a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ckz-article__date {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c11421;
  color: #c11421;
  font-weight: 600;
}

.ckz-article__title {
  font-size: 32px;
  line-height: 1.2;
  margin: 0;
  color: #1a1f27;
  font-weight: 700;
}

.ckz-article__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #4a515c;
}

.ckz-article__body {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid #e1e4ea;
}

.ckz-article__content {
  color: #2a313c;
  font-size: 16.5px;
  line-height: 1.8;
}

.ckz-article__content > *:first-child {
  margin-top: 0;
}

.ckz-article__content h2,
.ckz-article__content h3 {
  color: #1d232d;
  margin: 26px 0 10px;
  line-height: 1.28;
}

.ckz-article__content h2 {
  font-size: 22px;
}

.ckz-article__content h3 {
  font-size: 19px;
}

.ckz-article__content p {
  margin: 0 0 16px;
}

.ckz-article__content ul,
.ckz-article__content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.ckz-article__content li {
  margin-bottom: 8px;
}

.ckz-article__content blockquote {
  margin: 20px 0;
  padding: 14px 16px;
  border-left: 3px solid #c11421;
  background: #f5f6f8;
  border-radius: 10px;
  color: #3b424f;
}

.ckz-article__content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 16px 0;
  border: 1px solid #e1e4ea;
}

.ckz-article__gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.ckz-article__gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e1e4ea;
  background: #f2f4f7;
}

.ckz-article__gallery-item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Фиксация шапки при скролле */
.navbar-logo-left {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(228, 232, 238, 0.75);
}

.navbar-logo-left-container,
.navbar-logo-left-container.shadow-three {
  background: transparent;
}

.navbar-logo-left::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(193, 20, 33, 0.15), rgba(31, 41, 55, 0.12), rgba(193, 20, 33, 0.15));
}

@media (max-width: 1024px) {
  .ckz-article__header {
    grid-template-columns: 1fr;
  }

  .ckz-article__hero-img {
    min-height: 240px;
  }

  .ckz-article__title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .ckz-article {
    padding: 22px 0 52px;
  }

  .ckz-article__shell {
    padding: 0 16px;
  }

  .ckz-article__head,
  .ckz-article__body {
    padding: 18px;
  }

  .ckz-article__title {
    font-size: 24px;
  }

  .ckz-article__lead,
  .ckz-article__content {
    font-size: 15.5px;
  }
}

/* Стили для миниатюры обзора */
.ckz-review-thumb {
  border-radius: 10px; /* Округление */
  max-width: 100px;    /* Максимальная ширина миниатюры (можно подстроить) */
  margin-right: 10px;  /* Отступ между миниатюрой и текстом */
  vertical-align: middle; /* Выравнивание по середине строки */
}

/* Стили для ссылки */
.mp-tab p a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mp-tab p a:hover {
  color: #ab2421;
}

.proizvo {
  /* margin-left: 100px; */ /* Закомментирован, как требуется */
  text-align: center;

}

/* Мобильная версия: убираем боковые отступы и центрируем по умолчанию */
@media (max-width: 768px) {
  .proizvod {
    margin: 0;

  }
}


  .text-block a {
    color: inherit;
    text-decoration: none;
  }

  .mp-gallery__main-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  

/* === ОБЩИЙ КОНТЕЙНЕР СТРАНИЦЫ === */
.crpz-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
}

/* === СМЫСЛОВОЙ БЛОК === */
.crpz-section {
  position: relative;
  padding-left: 24px;
  margin-bottom: 60px;
  border-left: 4px solid #e74c3c;
  background-color: #f9f9f9;
  padding: 20px;
}

/* === ЗАГОЛОВКИ И ТЕКСТ === */
.crpz-main-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 40px;
}

.crpz-title {
  font-size: 28px;
  margin-bottom: 20px;
}

.crpz-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.crpz-list {
  margin-bottom: 30px;
  padding-left: 20px;
}

.crpz-list li {
  margin-bottom: 8px;
}

/* === ГАЛЕРЕЯ === */
.crpz-gallery {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

.crpz-gallery.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.crpz-gallery.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.crpz-gallery.one-column {
  grid-template-columns: 1fr;
}

/* === КАРТОЧКА ИЗОБРАЖЕНИЯ === */
.crpz-image-box {
  display: block;
  text-align: center;
  padding-top: 100px;
}

/* === ИЗОБРАЖЕНИЕ === */
.crpz-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* === ПОДПИСИ НАД ИЗОБРАЖЕНИЕМ === */
.crpz-caption {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
  text-transform: none;
  min-height: 58px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crpz-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Соотношение 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-top: 20px;
}

.crpz-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
  .crpz-gallery.two-columns,
  .crpz-gallery.three-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .crpz-caption {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .crpz-gallery {
    gap: 16px;
  }

  .crpz-image-box img {
    height: auto;
  }

  .crpz-image-box {
    padding-top: 0;
  }

   .crpz-video-wrapper {
    padding-bottom: 56.25%; /* сохраняем пропорции */
    margin-left: 0;
    margin-right: 0;
  }

  .crpz-container {
    padding: 20px 16px;
  }
}

.video-wrapper{
  position:relative;
  padding-bottom:56.25%; /* 16:9 */
  height:0;
  overflow:hidden;
  max-width:100%;
}
.video-wrapper iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.section-description {
    max-width: 1440px;           /* комфортная ширина текста */
    margin: 60px auto 80px;      /* центрирование и отступы */
    background: #ffffff;         /* белый фон */
    border-radius: 20px;         /* мягкое скругление */
    padding: 50px 60px;          /* внутренние отступы */

    line-height: 1.75;           /* читаемость текста */
    font-size: 17px;
    color: #1a1a1a;
}

/* Вложенные элементы */
.section-description h2,
.section-description h3 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    font-weight: 600;
    color: #0f1020; /* чуть темнее заголовки */
}

.section-description p {
    margin-bottom: 1em;
}

.section-description ul,
.section-description ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.section-description li {
    margin-bottom: 0.4em;
}

/* Адаптив */
@media (max-width: 1024px) {
    .section-description {
        max-width: 92%;
        padding: 32px 28px;
        border-radius: 18px;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .section-description {
        padding: 24px 20px;
        border-radius: 15px;
        font-size: 15px;
        margin: 40px auto 60px;
    }
}


/* Убираем любые повороты с самих кнопок */
.swiper-button-prev,
.swiper-button-next {
  transform: none !important;
}

/* Правильная ориентация SVG-иконок */
.swiper-button-next .swiper-button-icon,
.swiper-button-next svg.swiper-navigation-icon {
  transform: none !important;                 /* вправо */
  transform-origin: center !important;
}

.swiper-button-prev .swiper-button-icon,
.swiper-button-prev svg.swiper-navigation-icon {
  transform: rotate(180deg) !important;       /* влево */
  transform-origin: center !important;
}

/* На всякий случай глушим дубли в ::after, чтобы они не мешали */
.swiper-button-next::after,
.swiper-button-prev::after {
  content: none !important;
  display: none !important;
}

/* Оболочка пусть останется как была */
.cr-page-shell {
  margin: 5px auto;
  width: calc(100% - 50px);
  max-width: var(--max-w, 1440px);
  overflow: hidden;
  border-radius: 20px;
}

/* 404 в светлых тонах как блок «Продукция» */
.cr-404 {
  background: #f5f5f5;
  color: #222222;
  padding: 60px 40px;
  position: relative;
}

.cr-404__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

/* Текстовый блок */
.cr-404__content {
  max-width: 620px;
}

.cr-404__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  color: #999999;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cr-404__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e42222;
}

.cr-404__title {
  font-size: 40px;
  line-height: 1.1;
  margin: 18px 0 12px;
}

.cr-404__text {
  font-size: 17px;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 28px;
}

/* Кнопки в стиле «Посмотреть» */
.cr-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.cr-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cr-404__btn--primary {
  background: #e42222; /* красная как в карточках */
  color: #ffffff;
  font-weight: 500;
}

.cr-404__btn--primary:hover {
  background: #cc1616;
  transform: translateY(-1px);
}

.cr-404__btn--ghost {
  background: #ffffff;
  border-color: #e5e5e5;
  color: #222222;
}

.cr-404__btn--ghost:hover {
  border-color: #d0d0d0;
}

/* Метаданные */
.cr-404__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #999999;
}

.cr-404__meta-item a {
  color: #e42222;
  text-decoration: none;
}

.cr-404__meta-item a:hover {
  text-decoration: underline;
}

.cr-404__meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d0d0d0;
}

/* Правая колонка — “карточка” в стиле продукта */
.cr-404__visual {
  display: flex;
  justify-content: flex-end;
}

.cr-404__card {
  width: 100%;
  max-width: 420px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.cr-404__card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #fafafa;
  border-bottom: 1px solid #eeeeee;
}

.cr-404__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
}

.cr-404__card-body {
  padding: 18px 18px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #444444;
}

.cr-404__code-line {
  display: flex;
  gap: 6px;
  align-items: baseline;
  border-bottom: 1px solid #f2f2f2;
  padding: 4px 0;
}

.cr-404__code-line:last-child {
  border-bottom: none;
}

.cr-404__code-line--muted {
  color: #a0a0a0;
}

.cr-404__code-key {
  min-width: 72px;
  opacity: 0.9;
}

.cr-404__code-sep {
  color: #bbbbbb;
}

.cr-404__code-value {
  color: #e42222;
  word-break: break-all;
}

.cr-404__badge {
  padding: 10px 18px 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbbbbb;
  border-top: 1px solid #f2f2f2;
}

/* Адаптив */
@media (max-width: 1024px) {
  .cr-404 {
    padding: 40px 24px;
  }

  .cr-404__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cr-404__visual {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .cr-page-shell {
    width: calc(100% - 32px);
    margin: 8px auto;
  }

  .cr-404 {
    padding: 28px 18px 32px;
  }

  .cr-404__title {
    font-size: 30px;
  }

  .cr-404__text {
    font-size: 15px;
  }

  .cr-404__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cr-404__btn {
    width: 100%;
    justify-content: center;
  }
}
