

/* Start:/local/templates/robu/components/bitrix/catalog.section/section/style.css?17942169225233*/
/* =======================================================================
   ОСНОВА
======================================================================= */

.bestsellers {
  padding: 0 25px 70px;
}

.bestsellers__title {
  margin-bottom: 40px;
  font-size: 30px;
  text-align: center;
}

.bestsellers__list .bestsellers-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* =======================================================================
   КАРТОЧКА
======================================================================= */

.bestsellers__item {
  background: #fff;
  text-align: center;
  box-shadow: 2px 5px 15px rgba(198,200,203,0.2);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;

  flex: 1 1 calc(25% - 30px);
  max-width: calc(25% - 30px);

  transition: all .3s ease;
}

.bestsellers__item:hover {
  box-shadow: 0 7px 20px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* =======================================================================
   ИЗОБРАЖЕНИЕ
======================================================================= */

.bestsellers__image-wrapper {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.bestsellers__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =======================================================================
   ТЕКСТ
======================================================================= */

.bestsellers__name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
}

.bestsellers__name a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}

.bestsellers__item:hover .bestsellers__name a,
.bestsellers__item:hover .bestsellers__prices {
  color: #e53325;
}

.bestsellers__properties {
  font-size: 18px;
  font-weight: 500;
  color: #555;
  margin: 6px 0 10px;
}

.bestsellers__prices {
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 10px;
}

.bestsellers__prices span {
  font-weight: 700;
}

/* =======================================================================
   КНОПКИ
======================================================================= */

.bestsellers__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
}

.bestsellers__button {
  flex: 1 1 auto;   /* позволяет кнопкам растягиваться */
  width: auto;      /* ширина не фиксирована */
  height: 40px;
  font-size: 14px;
  border: 1px solid #000;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  color: #000;
  padding: 0 18px;  /* делает кнопку шире */
}


.bestsellers__button--more:hover {
  border-color: #e53325;
  color: #e53325;
}

.bestsellers__button--order {
  background: #ff3b3b;
  color: #fff;
  border: none;
}

.bestsellers__button--order:hover {
  filter: brightness(.95);
}

/* =======================================================================
   АДАПТИВ — уменьшение элементов, но 4 карточки до 1080px
======================================================================= */

/* Уменьшаем всё, начиная с 1400px */
@media (max-width: 1400px) {
  .bestsellers__item { padding: 20px; }
  .bestsellers__name { font-size: 22px; }
  .bestsellers__image-wrapper { height: 210px; }
  .bestsellers__properties,
  .bestsellers__prices { font-size: 16px; }
  .bestsellers__button { height: 38px; font-size: 13px; min-width: 120px; }
}

/* Ещё уменьшаем при 1250px */
@media (max-width: 1250px) {
  .bestsellers__item { padding: 18px; }
  .bestsellers__name { font-size: 20px; }
  .bestsellers__image-wrapper { height: 190px; }
  .bestsellers__properties,
  .bestsellers__prices { font-size: 15px; }
  .bestsellers__button { height: 36px; font-size: 12px; min-width: 110px; }
}

/* 4 карточки сохраняются — уменьшаем ещё сильнее */
@media (max-width: 1145px) {
  .bestsellers__item { padding: 15px; }
  .bestsellers__name { font-size: 18px; }
  .bestsellers__image-wrapper { height: 160px; }
  .bestsellers__properties,
  .bestsellers__prices { font-size: 14px; }
  .bestsellers__button {
    height: 34px;
    font-size: 11px;
    min-width: 100px;
  }
}

/* Наконец — только после 1080px переходим на 3 карточки */
@media (max-width: 991px) {
  .bestsellers__item {
    flex: 1 1 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
  }
  
  .bestsellers__image-wrapper { height: 200px; }
   .bestsellers__actions {
    margin-top: 10px; /* ← ТО, ЧТО ТЫ ХОТЕЛ */
  }
}

/* 2 карточки */
@media (max-width: 768px) {
  .bestsellers__item {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

/* 1 карточка */
@media (max-width: 575px) {
  .bestsellers__item {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px;
  }

  .bestsellers__actions {
    flex-direction: column;
  }

  .bestsellers__button {
    width: 100%;
    min-width: unset;
  }

}

/* End */


/* Start:/local/templates/robu/components/bitrix/news.list/main_news/style.css?17942169222894*/


/* Общий заголовок */
.section-title {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 500;
    color: #000;
    text-decoration: none; /* убираем подчеркивание */
}

.section-title:hover {
    color: #e53325; /* подсветка заголовка при наведении */
}

.news {
    padding: 0 0 50px;
}

.news__header {
    display: flex;
    align-items: center;
    gap: 10px; 
    padding: 30px 15px;
}

.news__icon {
    width: 20px; 
    height: auto;
}

.news-row {
    display: flex;
    /*height: 260px;*/
    gap: 30px;
}

.news__colum {
    flex: 1;
}

.news__item {
    display: block;
    height: 100%;
    text-decoration: none;
    padding: 15px;
    color: inherit;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.news__item:hover {
   /* box-shadow: 0 6px 20px rgba(0,0,0,0.1);*/
    /*transform: translateY(-4px);*/
    color: #e53325;
}

.news__item-title {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.1;
    padding: 0 0 20px;
      
}

.news__item-body {
    font-size: 21px;
    color: #979797;
    font-weight: 400;
    line-height: 1.2;
      text-align: justify;
}
.news__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000; /* базовый цвет текста */
  
}

.news__link:hover {
    color: #e53325; /* краснеет весь текст внутри ссылки */
}

.news__link .section-title {
    color: inherit; /* наследует цвет ссылки */
    
}


/* иконка тоже реагирует на hover */
.news__link:hover .news__icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(94%) saturate(4843%) hue-rotate(356deg) brightness(97%) contrast(110%);
}

/* 📏 1200px → новости чуть компактнее */
@media (max-width: 1200px) {
    .news-row {
        gap: 20px;
        height: auto; /* 🔥 позволяем карточкам растягиваться */
    }

    .news__item-title {
        font-size: 20px;
    }

    .news__item-body {
        font-size: 18px;
    }
}

/* 📏 992px → перестраиваем в 2 колонки */
@media (max-width: 992px) {
    .news-row {
        flex-wrap: wrap; /* перенос карточек */
        height: auto;
    }

    .news__colum {
        flex: 0 0 48%; /* по 2 в ряд */
    }

    .news__item {
        height: auto; /* 🔥 убираем жёсткую высоту */
    }
}

/* 📱 768px → всё в одну колонку */
@media (max-width: 768px) {
    .news-row {
        flex-direction: column;
        gap: 20px;
    }

    .news__colum {
        flex: 1 1 100%; /* одна колонка */
        width: 100%;
    }

    .news__item-title {
        font-size: 18px;
    }

    .news__item-body {
        font-size: 16px;
    }
}


/* End */


/* Start:/local/templates/robu/components/bitrix/news.list/swiper_slider/style.css?17942169221215*/
.mySwiper {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.mySwiper .swiper-slide a {
  display: block;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
}

.objects-button-next,
.objects-button-prev {
  color: #e53325;
  transition: color 0.3s ease;
}

.objects-button-next:hover,
.objects-button-prev:hover {
  color: #000;
}

/* адаптив */
@media (max-width: 768px) {
  .mySwiper .swiper-slide img {
    height: 240px;
  }
}
.mySwiper,
.mySwiper .swiper-wrapper,
.mySwiper .swiper-slide,
.mySwiper .swiper-slide a,
.mySwiper .swiper-slide img,
.reviewsSwiper,
.reviewsSwiper .swiper-wrapper,
.reviewsSwiper .swiper-slide,
.reviewsSwiper .swiper-slide a,
.reviewsSwiper .swiper-slide img {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.mySwiper .swiper-wrapper,
.reviewsSwiper .swiper-wrapper {
  align-items: stretch;
}

.mySwiper .swiper-slide,
.reviewsSwiper .swiper-slide {
  height: auto;
}
.fancybox__caption {
  display: none !important;
}
/* End */


/* Start:/local/templates/robu/components/bitrix/news.list/reviews_slider/style.css?17942169221031*/
.reviewsSwiper {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
}

.reviewsSwiper .swiper-slide {
  height: auto;
}

.reviews-slide {
  padding: 0;
}

.reviews-slide__image {
  display: block;
  text-align: center;
}

.reviewsSwiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e1e1e1;
  transition: 0.3s ease;
}

.reviewsSwiper .swiper-slide img:hover {
  transform: translateY(-2px);
}

.reviews-slide__title,
.reviews-slide__text {
  display: none;
}

.reviews-button-next,
.reviews-button-prev {
  color: #e53325;
  transition: color 0.3s ease;
}

.reviews-button-next:hover,
.reviews-button-prev:hover {
  color: #000;
}

@media (max-width: 1600px) {
  .reviewsSwiper .swiper-slide img {
    aspect-ratio: 2 / 3;
  }
}

@media (max-width: 576px) {
  .reviewsSwiper .swiper-slide img {
    aspect-ratio: 2 / 3;
  }
}
/* End */
/* /local/templates/robu/components/bitrix/catalog.section/section/style.css?17942169225233 */
/* /local/templates/robu/components/bitrix/news.list/main_news/style.css?17942169222894 */
/* /local/templates/robu/components/bitrix/news.list/swiper_slider/style.css?17942169221215 */
/* /local/templates/robu/components/bitrix/news.list/reviews_slider/style.css?17942169221031 */
