

/* Start:/local/templates/main_b2c/components/bitrix/system.pagenavigation/bxmaker_ajaxpagenav_default/style.css?17864578594271*/


.b2c-pagination {
  margin: 2.5rem 0 0;
  .b2c-pagination__more:not(:hover) {
    background-color: var(--q-primary-light);
    border-color: var(--q-primary-light);
    color: var(--t-color-1);
  }

  .b2c-pagination__btn-move {
    /* min-width: 30px; */
    height: 36px;
    margin: 0;
    padding: 0;
    border: none !important;
    outline: none !important;
    background: none !important;
    line-height: 1;

    svg {
      height: 16px;
    }
  }
  .b2c-pagination__btn-move:disabled {
    opacity: 0.6;
  }
  .b2c-pagination__btn-move:last-child svg {
    margin-left: auto;
  }

  .b2c-pagination__btn-page {
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    outline: none !important;
    border-radius: 100%;
    background: none;
    line-height: 1;
    transition: var(--animate-duration);
  }
  .b2c-pagination__btn-page:hover {
    background-color: #E6E4EC !important;
  }
  .b2c-pagination__btn-page.b2c-pagination__btn-page_active {
    background-color: var(--q-secondary-light);
    color: var(--t-color-1);
    pointer-events: none;
  }
}

@media (max-width: 972px) {
  .b2c-pagination .b2c-pagination__btn-move {
    padding: 6px 9px;
    border: 1px solid #E4E4E4 !important;
    border-radius: 0.5rem;
  }
}

/* Многоточие между страницами — не интерактивный разделитель.
   Убираем текстовый (I-beam) курсор и выделение, чтобы поведение совпадало с B2B. */
.b2c-pagination .bxmaker__ajaxpagenav__pg-content-item--dot {
  cursor: default;
  user-select: none;
}

.b2c-pagination .b2c-pagination__side {
  display: flex;
  align-items: center;
  min-width: 128px;
  flex-shrink: 0;
}

.b2c-pagination .b2c-pagination__side--next {
  justify-content: flex-end;
}

@media (max-width: 950px) {
  .b2c-pagination .b2c-pagination__side {
    min-width: 30px;
  }
}

/* На узком экране номера страниц скрыты, вместо них — «Страница N из M».
   Набор номеров (1 2 3 … 20 21 22) растягивался по всей ширине через
   f-space-between. Брейкпоинт и !important — как в шаблоне
   pagenav_with_show_more, по которому свёрстан каталог. */
@media (max-width: 950px) {
  .b2c-pagination .ui-desktop-lg {
    display: none !important;
  }
  .b2c-pagination .ui-mobile-lg {
    display: block !important;
  }
}

@media (min-width: 951px) {
  .b2c-pagination .ui-mobile-lg {
    display: none !important;
  }
}

/* Индикатор загрузки на кнопке «Показать ещё».
   Класс js-bxmaker__ajaxpagenav__block-showmore--preloader вешает script.js на
   время запроса; снимается он вместе с перерисовкой блока навигации.
   Пока идёт подгрузка, повторные клики модуль игнорирует — без видимого
   отклика это выглядело так, будто кнопка не сработала. */
.b2c-pagination .bxmaker__ajaxpagenav__pg__showmore.js-bxmaker__ajaxpagenav__block-showmore--preloader {
  pointer-events: none;
  opacity: 0.75;
}

.b2c-pagination .bxmaker__ajaxpagenav__pg__showmore.js-bxmaker__ajaxpagenav__block-showmore--preloader .bxmaker__ajaxpagenav__pg__showmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.b2c-pagination .bxmaker__ajaxpagenav__pg__showmore.js-bxmaker__ajaxpagenav__block-showmore--preloader .bxmaker__ajaxpagenav__pg__showmore-btn:before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bxmaker-showmore-spin 0.7s linear infinite;
}

@keyframes bxmaker-showmore-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2c-pagination .bxmaker__ajaxpagenav__pg__showmore.js-bxmaker__ajaxpagenav__block-showmore--preloader .bxmaker__ajaxpagenav__pg__showmore-btn:before {
    animation-duration: 2s;
  }
}

/* End */


/* Start:/local/components/spll/sections.pagination/templates/.default/style.min.css?178756340980*/
.selections-grid .journal-card__image img{width:100%;max-width:100%;height:auto}
/* End */
/* /local/templates/main_b2c/components/bitrix/system.pagenavigation/bxmaker_ajaxpagenav_default/style.css?17864578594271 */
/* /local/components/spll/sections.pagination/templates/.default/style.min.css?178756340980 */
