

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

/* --- Доработка 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/rec/style.css?17890348213142*/
.h1-rec {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}

.h1-rec .name__wrap {
  align-items: flex-start;
}

.h1-rec .name {
  line-height: .98;
}

.h1-rec .arrows {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-top: 2px;
}

.h1-rec .arrows .slick-arrow {
  box-sizing: border-box;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.h1-rec .rec__slider {
  min-width: 0;
  margin: 0 -8px;
  padding-top: 22px;
}

.h1-rec .h1-rec__slide {
  box-sizing: border-box;
  padding: 0 8px;
}

.block.recommended.h1-rec .item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  height: 100%;
  margin-top: 0;
  padding: 0 4px 8px !important;
  opacity: 1;
}

.h1-rec .h1-rec__image {
  height: 118px;
  margin: 0 0 12px;
}

.h1-rec .h1-rec__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.h1-rec .h1-rec__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.h1-rec .h1-rec__title {
  display: -webkit-box;
  min-height: 47px;
  max-height: 47px;
  margin: 0 0 8px;
  overflow: hidden;
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.block.recommended.h1-rec .h1-rec__title a {
  font-size: 12px !important;
  line-height: inherit;
}

.h1-rec .h1-rec__desc {
  display: -webkit-box;
  min-height: 31px;
  max-height: 31px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #4b4b4b;
  font-size: 10px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.h1-rec__action {
  margin-top: auto;
  text-align: left;
}

.block.recommended.h1-rec .h1-rec__add {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 31px;
  padding: 7px 11px !important;
  border: 0;
  color: #fff;
  font-size: 8px !important;
  line-height: 1.05;
  white-space: nowrap;
}

.block.recommended.h1-rec .h1-rec__add span {
  flex: 0 0 auto;
}

.h1-rec .slick-track {
  display: flex;
}

.h1-rec .slick-slide {
  height: auto;
}

.h1-rec .slick-slide > div,
.h1-rec .slick-slide .h1-rec__slide {
  height: 100%;
}

.h1-rec .slick-disabled {
  cursor: default;
}

@media screen and (max-width: 600px) {
  .h1-rec .rec__slider {
    margin: 0 -5px;
    padding-top: 18px;
  }

  .h1-rec .h1-rec__slide {
    padding: 0 5px;
  }

  .block.recommended.h1-rec .item {
    min-height: 258px;
    padding: 0 2px 6px !important;
  }

  .h1-rec .h1-rec__image {
    height: 96px;
    margin-bottom: 10px;
  }

  .h1-rec .h1-rec__title {
    min-height: 43px;
    max-height: 43px;
    margin-bottom: 7px;
  }

  .block.recommended.h1-rec .h1-rec__title a {
    font-size: 10px !important;
  }

  .h1-rec .h1-rec__desc {
    min-height: 29px;
    max-height: 29px;
    margin-bottom: 10px;
    font-size: 9px;
    line-height: 1.45;
  }

  .block.recommended.h1-rec .h1-rec__add {
    min-height: 29px;
    padding: 6px 7px !important;
    font-size: 7px !important;
  }

  .block.recommended.h1-rec .h1-rec__add span {
    width: 8px !important;
    height: 8px !important;
    margin-right: 3px !important;
  }
}

/* End */


/* Start:/local/templates/hockey_one/components/bitrix/catalog.section/another/style.css?17889919802288*/
.index-catalog-block2.h1-another {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  /* The source is a 2x texture. Stable width-based sizing prevents mobile
     section height from enlarging and blurring it through global `cover`. */
  background-size: 1440px auto, 1920px auto;
  background-position: center top, center top;
  background-repeat: repeat-y, repeat-y;
}

.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?17733030493508 */
/* /local/templates/hockey_one/components/bitrix/catalog.section/rec/style.css?17890348213142 */
/* /local/templates/hockey_one/components/bitrix/catalog.section/another/style.css?17889919802288 */
