

/* Start:/local/templates/robu/components/bitrix/news/catalog/style.css?17942169222208*/
/* ==========================
   SEO табы в каталоге
========================== */

.catalog-products .catalog-tabs-block {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  margin: 0 0 22px;
  box-sizing: border-box;
  justify-self: stretch;
}

.catalog-products .application-tabs,
.catalog-products .diameter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  box-sizing: border-box;
}

.catalog-products .application-tabs {
  margin-bottom: 15px;
}

.catalog-products .application-tab,
.catalog-products .diameter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 32px;
  padding: 0 14px;

  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;

  color: #222;
  text-decoration: none;

  font-size: 13px;
  line-height: 1;
  white-space: nowrap;

  transition: .2s;
}

.catalog-products .application-tab {
  font-weight: 600;
}

.catalog-products .diameter-tab {
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-products .application-tab:hover,
.catalog-products .diameter-tab:hover {
  color: #ff3333;
}

/* 1200 и ниже — табы не должны расширять сетку */
@media (max-width: 1200px) {
  .catalog-products .application-tabs,
  .catalog-products .diameter-tabs {
    
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-products .application-tabs::-webkit-scrollbar,
  .catalog-products .diameter-tabs::-webkit-scrollbar {
    display: none;
  }

  .catalog-products .application-tab,
  .catalog-products .diameter-tab {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* мобильная версия */
@media (max-width: 768px) {
  .catalog-products .catalog-tabs-block {
    margin-bottom: 16px;
  }

  .catalog-products .application-tab,
  .catalog-products .diameter-tab {
    height: 28px;
    font-size: 12px;
    padding: 0 9px;
  }
}


/* End */


/* Start:/local/templates/robu/components/bitrix/news/catalog/bitrix/news.detail/catalog/style.css?179421692215216*/
/* === Детальная карточка товара === */

.product-container {
  margin: 60px auto;
  padding: 0 80px 0 60px;
}

/* Заголовок */
.product-title {
  font-size: 24px;
  font-weight: 700;
  margin: 28px 0;
  color: #111;
}

/* --- Верхний блок: галерея + информация --- */
.product-top {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.product-top .gallery {
  flex: 0 0 55%;
  max-width: 55%;
}

.product-top .product-aside {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Основное изображение */
.main-image {
  padding: 12px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 8px;
}

/* Миниатюры */
.thumbs {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  align-items: center;
  /*justify-content: center;*/
  flex-wrap: wrap;
}

.thumb {
  flex: 1 1 auto;
  max-width: 22%;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  display: block;
  border: 0;
  box-sizing: border-box;
  transition: transform .15s ease, opacity .15s ease;
}

.thumb:hover {
  transform: scale(1.03);
}

/* нижняя рамка у активной */
.thumb.active {
  box-shadow: none;
  border-bottom: 3px solid #ff3333;
}


/* --- Характеристики --- */
.product-features ul {
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 20px 0;
}

.product-features li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.product-features .label {
  font-weight: 500;
  color: #333;
}

.product-features .value {
  font-weight: 600;
  color: #000;
}

/* --- Цена и кнопки --- */
.price-wrap {
  text-align: right;
  margin-top: 6px;
}

.price {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.price .currency {
  font-size: 24px;
  font-weight: 600;
  margin-left: 6px;
  color: #111;
}

.stock-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 6px;
}

.stock {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 30px;
  border-radius: 8px;
}

.in-stock {
  color: #0f721c;
  background: var(--success);
}


 .out-stock {
  color: #bf7708;
}




/* Кнопка */
.bestsellers__button { 
  flex: 0 0 30%; 
  min-width: 140px; 
  height: 42px; 
  font-size: 16px; 
  border: 1px solid #000; 
  background: #fff; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-decoration: none; 
  box-sizing: border-box; }

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

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

/* --- Табы --- */
.product-tabs {
  margin-top: 50px;
}

.tab-header {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.tab {
  background: none;
  border: none;
  padding: 14px 0 6px;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  color: #e53325;
  border-bottom: 3px solid #e53325;
}

.tab-body {
  padding-top: 20px;
}

.tab-pane {
  display: none;
  color: #333;
  line-height: 1.6;
  font-size: 15px;
}

.tab-pane.active {
  display: block;
}

.pane-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.pane-photos a {
  width: 100%;
  aspect-ratio: 4 / 3; /* равномерные прямоугольники */
  overflow: hidden;
  border-radius: 6px;
  display: block;
}

.pane-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*Комплектация*/ 
/* === Таблица комплектации (адаптив + карточки) === */

.pane-text .config-table {
    max-width: 600px;       /* ширина на десктопе */
    /*margin: 20px 0;      /* центрируем */
}

.pane-text .config-table table {
    width: 100%;
    border-collapse: collapse;
}

.pane-text .config-table td {
    padding: 10px 14px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
}
.pane-text .config-table td:nth-child(2) {
    white-space: nowrap;
}

.pane-text .config-table tr:nth-child(odd) {
    background: #fafafa;
}

/* --- Мобильная версия: карточки --- */
@media (max-width: 768px) {

    .pane-text .config-table {
        max-width: 100%;
        margin: 10px 0;
    }

    .pane-text .config-table table,
    .pane-text .config-table tbody,
    .pane-text .config-table tr,
    .pane-text .config-table td {
        display: block;
        width: 100%;
    }

    /* каждая строка — карточка */
    .pane-text .config-table tr {
        margin-bottom: 12px;
        background: #fff;
        padding: 10px 12px;         /* меньшие отступы */
        border: 1px solid #ddd;
        border-radius: 10px;
    }

    .pane-text .config-table td {
        border: none;
        padding: 4px 0;             /* компактнее */
        font-size: 14px;            /* текст меньше */
        line-height: 1.3;
    }

    /* подписи */
    .pane-text .config-table td:nth-child(1)::before {
        content: "Наименование:";
        font-size: 13px;
        font-weight: 700;
        color: #555;
        display: block;
        margin-bottom: 2px;
    }

    .pane-text .config-table td:nth-child(2)::before {
        content: "Кол-во:";
        font-size: 13px;
        font-weight: 700;
        color: #555;
        display: block;
        margin-top: 6px;
        margin-bottom: 2px;
    }
}



/*Документы*/
.docs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-item {
  margin-bottom: 8px;
}

.doc-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

.doc-link:hover {
  color: #e53325;
}

.doc-icon {
  font-size: 20px;
  margin-right: 8px;
}

.doc-name {
  text-decoration: underline;
}




/* --- Блок "Составные части" --- */

  /* Составные части */
.components {
  margin: 40px 0;
}

.components-header {
  margin-bottom: 20px;
}

.components-header h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.component-item {
  display: flex;
  align-items: flex-start;
  padding: 30px 0;
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
}

.component-item + .component-item {
  border-top: none; /* чтобы не было двойной линии */
}

/* Колонки */
.component-left,
.component-right {
  flex: 0 0 220px; /* одинаковая ширина */
  text-align: center;
}
.component-right {
  
  margin: auto 0;
}

.component-center {
  flex: 1; /* занимает всё оставшееся место */
  padding: 20px 30px;
}

.component-left h4 {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
}

.component-left img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.component-center p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.component-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.component-right li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 2.0;
}
.component-right .label {
  font-weight: 700;
  color: #222;
  margin-right: 10px;
}

.component-right .value {
  font-weight: 400;
  color: #444;
}


/* === для таблицы по муфты === */
/* БАЗОВОЕ */
.product-table {
    width: 800px;
    max-width: 100%;
    border-collapse: collapse;
    background: #f2f2f2;
}

.product-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.product-table .thead td {
    background: #e0e0e0;
    font-weight: bold;
}




/* Планшеты — делаем правую колонку широкой */
@media (max-width: 1100px) {

  /* уменьшаем боковые отступы, иначе всё "ломается" визуально */
  .product-container{
    margin: 30px auto;
    padding: 0 30px;  /* вместо 80/60 */
  }

  .product-top{
    flex-direction: column;
    gap: 20px;
    align-items: stretch; /* важно: чтобы блоки не "съезжали" по ширине */
  }

  .product-top .gallery,
  .product-top .product-aside{
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  /* чтобы большая картинка не выглядела слишком высокой/кривой */
  .main-image img{
    height: auto;
    max-height: 320px;
  }

  /* миниатюры: чуть мягче сетка, чтобы не было странных переносов */
  .thumb{
    max-width: 20%;
  }
}

/* ========================================
   АДАПТИВ ОБЩИЙ (до 768px)
   ======================================== */
@media (max-width: 768px) {

    /* =======================
       Блок: Таблица → карточки
       ======================= */
  

    .product-container {
      margin: 5px auto;
      padding: 0 30px 0 30px;
    }

    .product-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        background: none;
    }

    .product-table .thead {
        display: none !important;
    }

    .product-table tr {
        display: block;
        background: #fff;
        margin-bottom: 16px;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 12px 16px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }

    .product-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 4px;
        border: none;
        border-bottom: 1px solid #eee;
        font-size: 15px;
    }

    .product-table td:last-child {
        border-bottom: none;
    }

    .product-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        flex: 1;
        padding-right: 20px;
        text-align: left;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.4px;
    }

    .product-table td span.value {
        flex: 1;
        text-align: right;
        font-weight: 600;
        color: #000;
        display: block;
    }


    /* =======================
       Блок: Верхняя часть
       ======================= */

    .product-top {
        flex-direction: column;
        gap: 20px;
    }

    .product-top .gallery {
        order: 1;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .product-top .product-aside {
        order: 2;
        max-width: 100%;
        flex: 0 0 auto;
        width: 100%;
    }


    /* =======================
       Характеристики
       ======================= */

    .product-features {
        order: 3;
        width: 100%;
    }

    .product-features ul {
        width: 100%;
        padding: 10px 0;
    }

    .product-features li {
        display: grid;
        grid-template-columns: 1fr auto;
        padding: 6px 0;
        gap: 16px;
    }

    .product-features .label {
        text-align: left;
    }

    .product-features .value {
        text-align: right;
    }
  .product-features li.feature-wide {
    grid-template-columns: 1fr !important; /* одна колонка */
  }

  .product-features li.feature-wide .value {
    text-align: left;                      /* выравнивание как тебе нужно */
    white-space: normal;                   /* разрешить перенос */
  }

  .product-features li.feature-wide .label {
    margin-bottom: 6px;
  }

    /* =======================
       Цена + статус + кнопка
       ======================= */

    .price-wrap {
        order: 4;
        text-align: left;
        margin-top: 10px;
        width: 100%;
    }

    .price {
        font-size: 20px !important;
        white-space: normal;
        line-height: 1.3;
    }

    .stock-actions {
        order: 5;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 10px;
        width: 100%;
    }

    .stock {
        width: 100%;
        /*text-align: center;*/
        font-size: 13px;
        padding: 0px;
    }

    .bestsellers__button {
        flex: none !important;
        width: 100% !important;
        min-width: 100% !important;
        height: auto; /* не обязательно */
    }

     .bestsellers__button--order {
        width: 100%;
        height: 54px;
        font-size: 17px;
        padding: 0 16px;
    }

    /* =======================
       Галерея
       ======================= */

    .main-image img {
        height: auto;
        max-height: 380px;
    }

    .thumb {
        max-width: 22%;
    }


    /* =======================
       Составные части
       ======================= */

    .component-item {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .component-left,
    .component-center,
    .component-right {
        max-width: 100%;
        margin: 0;
        text-align: left;
    }

    .component-left img {
        max-width: 140px;
        margin: 0 auto 10px;
    }

    .component-right ul {
        width: 100%;
    }

    .component-right li {
        justify-content: space-between;
        font-size: 14px;
    }
}

/* 📱 Табы на мобилке (до 768px) */
@media (max-width: 768px) {
  .product-tabs {
    margin-top: 30px;
  }

  .tab-header {
    display: flex;
   /* flex-wrap: nowrap;          /* больше не переносим на вторую строку */
    gap: 8px;                   /* уменьшаем расстояние между табами */
    border-bottom: none;        /* убираем линию, сделаем "пилюли" */
    overflow-x: auto;           /* горизонтальный скролл, если не влезают */
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .tab-header::-webkit-scrollbar {
    display: none;              /* скрываем полоску скролла */
  }

  .tab {
    flex: 0 0 auto;             /* ширина по содержимому */
    padding: 8px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;       /* круглые табы */
    color: #555;
    background: #f7f7f7;
    white-space: nowrap;        /* не переносим текст внутри */
  }

  .tab.active {
    border-color: #c62820;
    background: #c62820;
    color: #fff;
    border-bottom: none;        /* убираем нижнюю красную линию, она тут не нужна */
  }
}

@media (max-width: 480px) {
  .pane-photos {
    justify-content: center;
  }
}

.thumb-link--hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  left: -9999px;
}
/* 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 */
/* /local/templates/robu/components/bitrix/news/catalog/style.css?17942169222208 */
/* /local/templates/robu/components/bitrix/news/catalog/bitrix/news.detail/catalog/style.css?179421692215216 */
/* /local/templates/robu/components/bitrix/news.list/main_news/style.css?17942169222894 */
