/* Выравнивание рейтинга и «Оставить отзыв» на одном уровне (десктоп); уменьшение отступа на мобилке */
.product-header__desc {
    align-items: center;
}
@media (max-width: 710px) {
    .product-header__reviews-count.product-header__desc-item {
        margin-top: 4px;
    }
}
/* Мобилка: рейтинг и «Оставить отзыв» в одну строку с ровным отступом, без «зависания» ссылки */
@media (max-width: 576px) {
    .product-info .product-header__desc {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
    }
    .product-info .product-header__reviews-count.product-header__desc-item {
        margin-top: 0;
    }
    .product-info .product-header__rating.product-header__desc-item {
        margin-bottom: 0;
    }
}

/* Отступы как в Аналоги, Возможности — без больших разрывов между Популярные сравнения и Отзывы */
.product-page__compare {
    padding-top: 24px;
}
.product-page__reviews {
    margin-top: 24px;
}

.product-solutions {
    padding-top: 58px;
}
.product-integrator__title{
  margin: 0 0 10px 0;
}
.product-page__integrator {
  padding-top: 58px;
}
.product-card__integrator_logo {
  width: 50px;
}
.product-card__integrator {
  color: #a3a5ac;
  font-size: 14px;
}
.rating_integrator_text {
  font-size: 16px;
}
.ui-link_color_blue{color: #273D94}
.ui-link_color_orange{color: #FF9B3C}


.product-compare__cell-mobile{
  display: none !important;
}

.product-viewed__header-product-props {
  display: none;
}

.product-compare__title-mobile {
  display: none;
}

.product-compare__title-desktop {
  display: block;
}

.product-viewed__header-product-props.product-viewed__arrows {
  display: none;
}

.product-info__tabs-wrapper__mobile {
  display: none;
}

.product-info__tabs-wrapper {
  display: block;
}

.product-info__tabs-wrapper__mobile-hide .product-info__tabs__mobile {
  opacity: 0;
  height: 0;
}

.solutions__show-all-wrap {
  margin-top: 15px;
  padding-top: 4px;
}

@media (max-width: 679px) {
  .product-compare__cell-desktop {
    display: none;
  }

  .product-compare__cell-mobile{
    display: block !important;
  }

  .product-compare__title-mobile {
    display: block;
  }

  .product-compare__title-desktop {
    display: none;
  }
}

@media (max-width: 717px) {
  .product-info__tabs-wrapper__mobile {
    display: block;
    position: sticky;
    top: 0;
    height: fit-content;
    box-shadow: 0 5px 6px rgba(25, 30, 46, 0.1);
    overflow: visible;
    z-index: 10;
  }

  .product-info__tabs-wrapper__mobile.product-info__tabs-wrapper__mobile-hide {
    box-shadow: none;
    overflow: hidden;
  }

  .product-info__tabs-wrapper {
    display: none;
  }

  .product-info__tabs__mobile {
    transition: opacity 0.3s;
    height: fit-content;
    position: absolute;
    top: 53px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 6px rgba(25, 30, 46, 0.1);
  }

  .product-info__tabs-title__mobile {
    position: relative;
    font-size: 17px;
    color: #222325;
    background-color: #fff;
    font-family: 'proxima-nova_semibold', sans-serif;
    padding: 15px 10px 15px 22px;
    border-bottom: 1px solid rgba(163, 165, 172, 0.2);
    border-top: 1px solid rgba(163, 165, 172, 0.2);
    cursor: pointer;
  }

  .product-info__tabs-title__mobile:after {
    display: block;
    position: absolute;
    content: '';
    width: 12px;
    height: 6px;
    background: url("images/arrow_down.svg") 50% no-repeat;
    background-size: cover;
    top: 25px;
    right: 24px;
    transform: rotate(180deg);
  }

  .product-info__tabs-title__mobile:after {
    transform: rotate(180deg);
  }

  .product-info__tabs-wrapper__mobile-hide .product-info__tabs-title__mobile:after {
    transform: rotate(0deg);
  }

  .product-info__tabs-wrapper__mobile .product-info__tabs__mobile .tab-links__wrap {
    border-bottom: 0;
  }

  .product-info__tabs-wrapper__mobile .product-info__tabs__mobile .tab-links__item {
    font-family: "proxima-nova_regular";
    font-size: 16px;
    line-height: 22px;
    color: #a3a5ac;
    text-transform: none;
    padding: 12px 0 0 36px;
    margin-bottom: 0;
    border-left: 0;
  }

  .product-info__tabs-wrapper__mobile .product-info__tabs__mobile .tab-links__item:first-of-type {
    padding-top: 1px;
  }

  .product-info__tabs-wrapper__mobile .tab-links__item.tab-links__item_active {
    color: #222325;
  }

  .product-info__tabs-inner {
    padding-bottom: 24px;
  }

  .product-info__tabs-wrapper__mobile-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }

}

@media (max-width: 1088px) {
  .product-solutions__header {
    position: relative;
  }
  .product-viewed__header-product-props.product-viewed__arrows{
    display: block;
  }
  .product-viewed__header-product-props.product-viewed__arrows {
    top: -10px;
  }
}

.page-wrap {
  overflow: hidden;
}

.leader-block {
  position: relative;
  display: grid;
  grid-template-columns: 100px auto;
  gap: 20px;
  width: 100vw;
  margin-top: 24px;
  padding: 20px;
  background-color: rgba(163, 165, 172, 0.08);
  transform: translateX(-15px);
}

@media screen and (min-width: 1173px) {
  .leader-block {
    width: auto;
    margin-top: 0;
    padding: 30px 0 30px 20px;
    background-color: transparent;
    transform: none;
  }
}

.leader-block::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

@media screen and (min-width: 1173px) {
  .leader-block::after {
    width: 200%;
    border: 1px solid #ededee;
    border-radius: 6px 0 0 6px;
  }
}

.leader-block__image {
  grid-row: 1 / -1;
  grid-column: 1 / 2;
  display: block;
  width: 100%;
  height: auto;
}

.leader-block__inner {
  grid-row: 1 / -1;
  grid-column: 2 / 3;
}

.leader-block__title {
  margin-bottom: 8px;
  font-family: 'proxima-nova_semibold', sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.leader-block__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leader-block__link {
  padding: 4px 12px;
  border-radius: 28px;
  background-color: rgba(163, 165, 172, 0.08);
  color: inherit;
  font-size: 15px;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.leader-block__link:hover {
  background-color: #ededee;
}

.product-info__product-header {
  padding-bottom: 41px !important;
}


.product-header__main-col {
  display: grid;
  gap: 32px;
}

@media screen and (max-width: 576px) {
  .product-header__main-col {
    gap: 20px;
  }
}

.product-header__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media screen and (max-width: 576px) {
  .product-header__buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-header__buttons .ui-btn_color_blue {
    margin: 0;
  }
}

.product-header__buttons .product-header__site {
  margin: 0;
}

.product-header__buttons .ui-icon-label {
  display: flex;
  align-items: end;
}

.product-header--fix-buttons {
  display: none;
}

.product-info__fixable-area_fixed .product-header--fix-buttons {
  display: block;
}

.product-info__product-header.product-header--fix-buttons {
  padding-bottom: 0 !important;
}

.product-header__desc-item:first-child {
  margin-right: 0 !important;
}

.product-header__wrap + .product-header__wrap .product-header__desc-item {
  margin: 0 !important;
  padding: 0 !important;
}

.product-header__wrap .ui-btn__label span {
  display: flex;
}

@media (max-width: 430px) {
  .product-header__trial-link {
     display: block !important;
  }
}

/* Признания: как Стоимость/Контакты, вместо оранжевого буллита — иконка кубка */
.product-info__recognitions {
  margin-top: 24px;
}
.product-info__recognitions-title_cup {
  font-size: 17px;
  font-family: 'proxima-nova_semibold';
}
.product-info__recognitions-title_cup.circle-title:before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  background-image: url("/local/templates/main.2020/img/icon__cup.svg");
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}
.product-info__recognitions-link {
  margin-top: 0;
}
.product-info__recognitions-link a {
  color: #273D94;
  text-decoration: underline;
  font-size: 15px;
  line-height: 20px;
}
.product-info__recognitions-link a:hover {
  text-decoration: underline;
}

/* Выезжающая панель #shortlist (как у Capterra), поверх меню и всего контента */
.shortlist-panel {
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s;
}
.shortlist-panel_open {
  visibility: visible;
  pointer-events: auto;
}
.shortlist-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.shortlist-panel_open .shortlist-panel__overlay {
  opacity: 1;
}
.shortlist-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.shortlist-panel_open .shortlist-panel__drawer {
  transform: translateX(0);
}
.shortlist-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}
.shortlist-panel__close:hover {
  color: #222;
}
.shortlist-panel__header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: center;
}
.shortlist-panel__logo {
  flex-shrink: 0;
  width: 100px;
  max-width: 100px;
  height: auto;
  display: block;
}
.shortlist-panel__header-text {
  flex: 1;
  min-width: 0;
  padding-right: 48px;
}
.shortlist-panel__text {
  font-family: 'proxima-nova_semibold', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.shortlist-panel__methodology {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}
.shortlist-panel__methodology a {
  color: #273D94;
}
.shortlist-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ededee;
  padding-top: 16px;
}
.shortlist-panel__list li {
  margin-bottom: 8px;
}
.shortlist-panel__list a {
  color: #273D94;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shortlist-panel__list a:hover {
  text-decoration: underline;
}
.shortlist-panel__list a::after {
  content: "\203A";
  margin-left: auto;
}

/* CLS fix: резервируем высоту слайдера до загрузки Fotorama JS */
.product-info__fotorama {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Категории товара строкой в конце "Возможностей" (01.10.2026) вместо отдельного блока:
   ссылки на все категории для поиска, не отодвигают "Вместо ... выбирают". */
.product-cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.3;
}
.product-cats__label { margin-right: 2px; color: var(--text-grey); }
.product-cats__chip {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border-grey);
    border-radius: 999px;
    background: #fff;
    color: var(--text-black);
    text-decoration: none;
    white-space: nowrap;
}
.product-cats__chip:hover { border-color: var(--text-blue); color: var(--text-blue); }
.product-cats__more summary {
    display: inline-block;
    padding: 6px 8px;
    color: var(--text-light-grey);
    cursor: pointer;
    list-style: none;
}
.product-cats__more summary::-webkit-details-marker { display: none; }
.product-cats__more[open] summary { display: none; }
.product-cats__more-list { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.product-cats-standalone { margin-top: 8px; }
.cmp-card__title_link { color: inherit; text-decoration: none; }
.cmp-card__title_link:hover { color: var(--text-blue); text-decoration: underline; }
@media (max-width: 767px) {
    .product-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .product-cats::-webkit-scrollbar { display: none; }
    .product-cats__label, .product-cats__chip, .product-cats__more { flex: none; }
    .product-cats__more-list { flex-wrap: nowrap; }
}
