

/* Start:/local/templates/hockey_one/components/bitrix/catalog.element/.default/style.css?17890465244167*/
/* Родные стили из твоего файла */
.about p { 
    margin-bottom: 10px !important; 
}
body { 
    background-color: #fff !important; 
}

/* Gate L: keep the complete product media column visible while the longer
   desktop/tablet information column scrolls. The site header is not fixed;
   24px is the measured comfortable viewport clearance. */
@media screen and (min-width: 992px) {
    @supports (position: sticky) {
        .item-page .wrap > .flex > .photos {
            align-self: flex-start;
            position: -webkit-sticky;
            position: sticky;
            top: 24px;
            z-index: 2;
        }
    }
}

@media screen and (max-width: 991px) {
    .item-page .wrap > .flex > .photos {
        position: relative;
        top: auto;
        z-index: auto;
    }
}

/* --- Доработка Kochetov Danil: Честный дробный рейтинг --- */

/* Схлопываем отступ заголовка h1 в карточке */
.item-page .wrap .info h1 {
    margin-bottom: 0 !important;
}

/* Обертка рейтинга (общая для каталога и карточки) */
.rating.star-fractional {
    display: flex !important;
    flex-direction: row !important; /* Гарантируем горизонталь */
    flex-wrap: nowrap !important;   /* Запрещаем перенос на вторую строку */
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
    height: 24px !important;
    width: auto !important;
}

/* Конструктор звездного контейнера */
.stars-container {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    line-height: 1 !important;
    font-size: 0 !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
    height: 18px !important; /* Принудительная высота контейнера */
    width: 100px !important;  /* 5 звезд по 18px + отступы */
}

/* Нижний слой (серые звезды) */
.stars-bg {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

/* Верхний слой (золотые звезды) */
.stars-fg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important; /* Главная магия обрезки золота по проценту */
    pointer-events: none !important;
    z-index: 2 !important;
    height: 100% !important;
}

/* ПРИНУДИТЕЛЬНЫЙ ВОЗВРАТ ВИДИМОСТИ И РЯДНОСТИ */
.star-fractional i.star {
    display: inline-block !important; /* Чтобы стояли в ряд */
    width: 18px !important;  /* Ширина одной звезды */
    height: 18px !important; /* Высота одной звезды */
    margin-right: 2px !important;
    font-style: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Скрытый слой кликов Битрикса (для голосования в карточке) */
.hidden-vote-engine {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

/* Обнуление системных таблиц Битрикса внутри скрытого блока */
.hidden-vote-engine table, 
.hidden-vote-engine td, 
.hidden-vote-engine .iblock-vote {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Счетчик голосов (число в скобках) */
.rating-count {
    margin-left: 8px !important;
    font-size: 13px !important;
    color: #888 !important;
    display: inline-block !important;
}

/* End */


/* Start:/local/templates/hockey_one/components/bitrix/catalog.section/another/style.css?17890465242415*/
.index-catalog-block2.h1-another {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  background-color: #f1f1f1;
  /* One high-resolution, non-tileable image owns the full-width section.
     Internal wrappers stay transparent, so no overlapping panels or seams
     can be introduced at carousel/container boundaries. */
  background-image: url('/local/templates/hockey_one/img/wellcome-block.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.h1-another {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.h1-another > .wrap {
  position: relative;
}

.h1-another__head h2 {
  margin: 0 0 28px;
}

.h1-another .similar__products {
  margin-right: -15px;
  margin-left: -15px;
}

.h1-another .similar__products .slick-list {
  overflow: hidden;
}

.h1-another .similar__products .item {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  height: 565px !important;
  min-height: 565px !important;
}

.h1-another .similar__products .item .pr_n_qua {
  margin-top: auto;
}

.h1-another .controls__slider__wrap {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1170px;
  max-width: 100%;
  min-height: 62px;
  margin: 0 auto;
}

.h1-another .arrows__wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 112px;
  margin-left: auto;
  padding-top: 7px;
}

.h1-another .arrows__wrap .slick-arrow {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  flex: 0 0 auto;
}

.h1-another .dots__main__wrapper {
  min-width: 0;
}

@media screen and (max-width: 1023px) {
  .h1-another .similar__products .item {
    height: 570px !important;
    min-height: 570px !important;
  }

  .h1-another .controls__slider__wrap {
    width: auto;
    min-height: 75px;
  }
}

@media screen and (max-width: 768px) {
  .h1-another__head h2 {
    margin-bottom: 20px;
  }

  .h1-another .similar__products {
    height: auto;
  }
}

@media screen and (max-width: 600px) {
  .h1-another .similar__products {
    margin-right: -8px;
    margin-left: -8px;
  }

  .h1-another .similar__products .item {
    height: 590px !important;
    min-height: 590px !important;
    margin-right: 8px !important;
    margin-left: 8px !important;
  }

  .h1-another .arrows__wrap {
    min-width: 104px;
  }
}

/* End */
/* /local/templates/hockey_one/components/bitrix/catalog.element/.default/style.css?17890465244167 */
/* /local/templates/hockey_one/components/bitrix/catalog.section/another/style.css?17890465242415 */
