

/* Start:/local/templates/school/components/bitrix/catalog/main/style.css?179355019616034*/
/* Каталог: раскладка «левая колонка + основная часть» (разделы, карточка). */
.catalog-layout { display: block; }
.catalog-layout__side { display: none; }
.catalog-layout__side--filter { display: block; } /* на телефоне фильтр — выезжающая панель (position: fixed), место в потоке не занимает */
@media (min-width: 992px) {
	.catalog-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
	.catalog-layout__side { display: block; }
}

/* Раздел: панель над списком — «Фильтр», «Найдено N», сортировка (sort.php) */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
@media (max-width: 991px) { /* телефон и планшет: «Фильтр / Сортировка» прилипает под шапкой, а когда шапка спряталась — к верху экрана */
	.catalog-toolbar { position: sticky; top: var(--header-offset, 0px); z-index: 30; transition: top .25s ease; margin: 0 calc(-1 * var(--gap)) 16px; padding: 8px var(--gap); background: #fff; box-shadow: 0 1px 0 #eee; }
}
.catalog-sort { position: relative; font-size: 14px; }
.catalog-sort__title { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #e3e8e8; border-radius: var(--radius-control); color: #222; font-size: 15px; cursor: pointer; list-style: none; }
.catalog-sort__title::-webkit-details-marker { display: none; }
.catalog-sort__title .icon { width: 20px; height: 20px; color: var(--c-primary); }
.catalog-sort__drop[open] .catalog-sort__title { border-color: var(--c-primary); }
ul.catalog-sort__list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; min-width: 100%; max-width: calc(100vw - 32px); margin: 0; padding: 6px; list-style: none; background: #fff; box-shadow: 0 8px 28px rgba(16, 40, 41, .16); border-radius: var(--radius); }
.catalog-sort__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; white-space: nowrap; padding: 10px 12px; border-radius: var(--radius-sm); color: #222; font-size: 15px; }
.catalog-sort__link:hover { background: #f6f8f8; text-decoration: none; }
.catalog-sort__link.is-active { color: var(--c-primary); font-weight: 600; }
.catalog-sort__link.is-active::after { content: ""; width: 6px; height: 11px; margin-right: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.catalog-toolbar__filter { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-control); background: #eee; color: #222; font-size: 15px; cursor: pointer; }
.catalog-toolbar__found { display: none; color: #767676; font-size: 14px; }
.catalog-toolbar__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 600; }
@media (min-width: 992px) {
	.catalog-toolbar__filter { display: none; }
	.catalog-toolbar__found { display: block; }
	.catalog-toolbar .catalog-sort { margin-left: auto; } /* «Найдено N» слева, сортировка справа */
}

/* Описания раздела (UF_HEAD_DESCRIPTION / UF_SECTION_DESCR / DESCRIPTION) */
.section-description { max-width: none; margin: 0 0 20px; color: #444; font-size: 15px; }
.section-description--bottom { margin-top: 32px; }

/* Поиск по каталогу: раскладка раздела — слева «Найдено в разделах» и фильтр, справа поиск и плитка */
.catalog-search__form { display: flex; gap: 8px; max-width: 640px; margin-bottom: 20px; }
.catalog-search__form .input { flex: 1 1 auto; min-width: 0; }
.catalog-search__form .btn { flex: 0 0 96px; } /* фиксированная ширина — без сдвига при загрузке шрифта */
.catalog-search--empty { display: block; }
.catalog-search__empty { max-width: 640px; padding: 8px 0 24px; color: #555; font-size: 15px; line-height: 1.55; }
.catalog-search__empty-title { color: #222; font-size: 18px; font-weight: 600; }
.search-sections { margin-bottom: 20px; overflow: clip; border: 1px solid #f2f2f2; border-radius: var(--radius-control); background: #f8f8f9; }
.search-sections__title { padding: 14px 17px 10px; color: #222; font-size: 15px; font-weight: 700; }
.search-sections ul { margin: 0; padding: 0 0 6px; list-style: none; }
.search-sections__link { display: flex; justify-content: space-between; gap: 12px; padding: 6px 17px; color: #333; font-size: 13px; line-height: 1.4; }
.search-sections__link:hover { background: #fff; color: var(--c-primary-hover); text-decoration: none; }
.search-sections__link.is-current { background: var(--c-primary); color: #fff; }
.search-sections__count { flex-shrink: 0; color: #999; }
.search-sections__link.is-current .search-sections__count { color: #fff; }
.search-sections__more { margin: 0 17px 12px; padding: 0; border: 0; border-bottom: 1px dashed currentColor; background: none; color: var(--c-primary); font: inherit; font-size: 13px; cursor: pointer; }
/* телефон и планшет: «Найдено в разделах» — строкой чипов с прокруткой над списком (левой колонки нет) */
.search-chips { display: none; }
@media (max-width: 991px) {
	.catalog-search .search-sections { display: none; }
	.search-chips { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gap)) 16px; padding: 0 var(--gap) 4px; overflow-x: auto; scrollbar-width: none; }
	.search-chips::-webkit-scrollbar { display: none; }
	.search-chips a { flex: 0 0 auto; padding: 6px 14px; border: 1px solid #e3e8e8; border-radius: var(--radius-pill); color: #333; font-size: 14px; white-space: nowrap; }
	.search-chips a.is-current { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
	.search-chips span { margin-left: 4px; color: #999; }
	.search-chips a.is-current span { color: #fff; }
}

/* Встроенные формы каталога: баннер формы 32 в списке товаров, форма 31 в левой колонке (blocks/side_form.php) */
.catalog-top-form { display: grid; grid-column: 1 / -1; gap: 12px; margin: 8px 0; padding: 16px 20px; border-radius: var(--radius); background: var(--c-primary-light); }
.catalog-top-form__title { margin-bottom: 4px; color: #222; font-size: 18px; font-weight: 700; line-height: 1.3; }
.catalog-top-form__text { color: #555; font-size: 14px; }
.catalog-top-form__form { min-height: 44px; }
.web-form--compact { display: flex; flex-wrap: wrap; }
.web-form--compact .web-form__compact-field { flex: 1 1 auto; margin: 0; }
.web-form--compact .input { border: 0; border-radius: var(--radius-control) 0 0 var(--radius-control); }
.web-form--compact .input.is-error { box-shadow: inset 0 0 0 2px var(--c-error); } /* поле без рамки: ошибка — обводкой */
.web-form--compact .web-form__submit { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; border-radius: 0 var(--radius-control) var(--radius-control) 0; }
.web-form--compact .web-form__errors { flex: 0 0 100%; order: -1; margin-bottom: 8px; } /* сообщение — строкой над полем */
.web-form--compact + .web-form__errors, .catalog-top-form .web-form--success { margin: 0; }
.product__ask .inline-form { min-height: 300px; }
@media (min-width: 768px) {
	.catalog-top-form { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: center; padding: 16px 24px; }
	.catalog-top-form__title { font-size: 20px; }
}
/* В сетке форма стоит после 10-го товара; dense — неполный ряд перед ней (3–4 колонки) добирается следующими товарами */
.product-grid:has(> .catalog-top-form) { grid-auto-flow: row dense; }

/* Сравнение: пустой список (compare.php) */
.compare-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0 24px; }
.compare-empty p { margin: 0; color: var(--c-muted); }

/* Карточка товара: вкладки «Аксессуары» / «Похожие товары» (по AJAX, только от 768px — /local/ajax/product_shelves.php) */
.product-tabs { margin-top: 40px; margin-bottom: 8px; }
.product-tabs[hidden] { display: none; }
.product-tabs:empty { margin: 0; } /* пока не загружено или нечего показать */
.product-tabs__head { align-items: flex-end; margin-bottom: 16px; border-bottom: 1px solid #eee; }
.product-tabs__head .hscroll__nav { padding-bottom: 8px; }
.product-tabs__nav { display: flex; gap: 28px; }
.product-tabs__tab { position: relative; padding: 0 0 12px; border: 0; background: none; color: #767676; font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; }
.product-tabs__tab:hover { color: #222; }
.product-tabs__tab.is-active { color: #222; }
.product-tabs__tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-primary); }
.product-tabs__panel[hidden] { display: none; }


/* Поиск: <h1> «Найдено в разделах N товаров» и карусель разделов (results.php, $resultsHeading; стрелки — [data-hscroll]) */
.search-head { margin: 4px 0 20px; }
.search-head__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font-size: 24px; }
.search-head__title span { color: #767676; font-size: 16px; font-weight: 400; }
.search-strip { position: relative; }
.search-strip .hscroll__nav { position: absolute; right: 0; top: -50px; }
.search-strip__list { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.search-strip__list > li { flex: 0 0 auto; scroll-snap-align: start; }
.search-strip__item { display: flex; align-items: center; gap: 12px; height: 100%; max-width: 280px; padding: 10px 16px 10px 10px; border: 1px solid #e6ecec; border-radius: var(--radius); background: #fff; color: #222; font-size: 14px; font-weight: 600; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.search-strip__item:hover { border-color: #cfe3e4; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); color: var(--c-primary); text-decoration: none; }
.search-strip__item.is-current { border-color: var(--c-primary); background: var(--c-primary-light); color: var(--c-primary); }
.search-strip__img { display: flex; flex: 0 0 56px; align-items: center; justify-content: center; height: 56px; }
.search-strip__img img { max-width: 56px; max-height: 56px; width: auto; height: auto; }
.search-strip__text small { display: block; margin-top: 2px; color: #767676; font-size: 13px; font-weight: 400; }
@media (min-width: 1200px) { .search-head__title { font-size: 28px; } }

/* Быстрые фильтры (catalog/main/tags.php): первая строка — важные «таблетки» вперемешку, сколько влезет, и «Все подборки»
   (js/catalog.js); раскрытый список — строками по группам (подпись слева, на телефоне — над плашками), «Скрыть» — справа вверху (на телефоне — внизу слева);
   раскрытие и сворачивание — плавно по высоте (0,22 с). Телефон: строка — лентой вбок. */
.pop-filters { margin: 0 0 20px; }
.pop-filters__top { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.pop-filters__item, .pop-filters__toggle, .pop-filters__less { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid #e3e8e8; border-radius: var(--radius-pill); background: #fff; color: #222; font: inherit; font-size: 14px; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.pop-filters__item:hover, .pop-filters__toggle:hover, .pop-filters__less:hover { border-color: var(--c-primary); color: var(--c-primary); text-decoration: none; }
.pop-filters__item.is-current { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.pop-filters__item.is-current:hover { background: var(--c-primary-hover); color: #fff; }
.pop-filters__item .icon { width: 12px; height: 12px; }
.pop-filters__item.is-disabled, .pop-filters__item.is-disabled:hover { border-color: #eef1f1; color: #b5bcbc; cursor: default; } /* с выбранным даст 0 товаров */
.pop-filters__item.is-overflow { display: none; } /* не влезла в первую строку — есть в «Все подборки» */
.pop-filters__toggle { order: 99; margin-left: auto; border-color: #cfe3e4; background: #f3f9f9; color: var(--c-primary); font-weight: 600; }
.pop-filters__toggle .icon { width: 14px; height: 14px; }
.pop-filters__toggle .icon:last-child { width: 10px; height: 10px; }
.pop-filters__toggle[hidden] { display: none; }
.pop-filters.is-open .pop-filters__top { display: none; }
.pop-filters__all { position: relative; display: grid; gap: 12px; padding: 16px 130px 16px 18px; overflow: hidden; border: 1px solid #e3eeee; border-radius: var(--radius); background: #f7fafa; }
.pop-filters__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: start; gap: 12px; }
.pop-filters__label { padding-top: 8px; color: #555; font-size: 14px; font-weight: 600; }
.pop-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-filters__less { position: absolute; top: 15px; right: 16px; color: #555; }
.pop-filters__less .icon { width: 10px; height: 10px; }
.catalog-ajax-loading { opacity: .5; pointer-events: none; transition: opacity .2s; } /* смена фильтра без перезагрузки */
@media (max-width: 767px) { /* телефон: первая строка — лентой вбок, «Все подборки» — первой; в списке подпись над плашками */
	.pop-filters { margin: 0 calc(-1 * var(--gap)) 16px; }
	.pop-filters__top { padding: 0 var(--gap) 2px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
	.pop-filters__top::-webkit-scrollbar { display: none; }
	.pop-filters__toggle { order: -1; margin-left: 0; }
	.pop-filters__all { margin: 0 var(--gap); padding: 14px; }
	.pop-filters__less { position: static; justify-self: start; margin-top: 4px; } /* телефон: «Скрыть» — внизу слева, после списка */
	.pop-filters__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.pop-filters__label { padding-top: 0; font-size: 13px; }
}

/* панель быстрых фильтров для редакторов (tags_admin.php) */
.tags-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 16px; padding: 8px 14px; border: 1px dashed #c9d9da; border-radius: var(--radius); background: #f7fbfb; color: #555; font-size: 13px; }
.tags-admin__title { font-weight: 600; }
.tags-admin__hint { color: #8a9090; }
.tags-admin__btn { padding: 4px 12px; border: 1px solid var(--c-primary); border-radius: var(--radius-pill); background: #fff; color: var(--c-primary); font: inherit; font-weight: 600; cursor: pointer; }
.tags-admin__btn:hover { background: var(--c-primary); color: #fff; }
.tags-admin__link:last-child { margin-left: auto; }
.tags-dialog__field { display: grid; gap: 6px; margin: 16px 0; font-size: 14px; }
.tags-dialog__error { color: var(--c-error); font-size: 14px; }


/* End */


/* Start:/local/templates/school/components/bitrix/catalog/main/landing.css?17931261871025*/
/* Подборка каталога (landing.php): баннер, текст над товарами, кнопки форм и SEO-текст под ними */
.landing-banner { margin-bottom: 20px; overflow: hidden; border-radius: var(--radius); }
.landing-banner img { display: block; width: 100%; height: auto; }
.landing-intro { max-width: 960px; margin-bottom: 20px; color: #333; font-size: 16px; line-height: 1.6; }
.landing-intro p { margin: 0 0 10px; }
.landing-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 22px 24px; border-radius: var(--radius); background: var(--c-primary-light); }
.landing-cta__text { display: flex; flex-direction: column; gap: 2px; max-width: 640px; color: #444; font-size: 14px; }
.landing-cta__text b { color: #222; font-size: 17px; }
.landing-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.landing-seo { max-width: 960px; margin-top: 32px; color: #333; font-size: 15px; line-height: 1.65; }

/* End */


/* Start:/local/templates/school/components/bitrix/catalog.smart.filter/school/style.css?17930302114743*/
/* Умный фильтр (filter Аспро). Телефон — панель слева на весь экран, кнопки внизу; компьютер — колонка слева. */
.smart-filter { position: fixed; inset: 0 auto 0 0; z-index: 1000; display: flex; flex-direction: column; width: min(85vw, 380px); background: #fafafa; box-shadow: 0 0 30px rgba(0, 0, 0, .2); transform: translateX(-105%); transition: transform .25s; }
.smart-filter.is-open { transform: none; }
.filter-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(0, 0, 0, .5); }
.filter-backdrop[hidden] { display: none; }
.smart-filter__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eee; background: #fff; font-size: 16px; font-weight: 700; }
.smart-filter__head-icon { width: 20px; height: 20px; }
.smart-filter__close { margin-left: auto; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #555; cursor: pointer; }
.smart-filter__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.smart-filter__box { border-bottom: 1px solid #eee; }
.smart-filter__box--single { padding: 14px 20px; }
.smart-filter__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; color: #222; font-size: 15px; cursor: pointer; list-style: none; }
.smart-filter__title::-webkit-details-marker { display: none; }
.smart-filter__arrow { width: 10px; height: 10px; color: #999; transition: transform .15s; }
details[open] > .smart-filter__title .smart-filter__arrow { transform: rotate(180deg); }
.smart-filter__values { display: flex; flex-direction: column; gap: 6px; padding: 0 20px 16px; }
/* длинный список: первые 5 (+ отмеченные) и «Показать все»; больше 15 — поиск по списку */
.smart-filter__values.is-collapsed .is-extra, .smart-filter__check.is-filtered-out { display: none; }
.smart-filter__more { align-self: flex-start; margin-top: 2px; padding: 0; border: 0; border-bottom: 1px dashed currentColor; background: none; color: var(--c-primary); font: inherit; font-size: 13px; cursor: pointer; }
.smart-filter__more:hover { color: var(--c-primary-hover); }
.smart-filter__more[hidden] { display: none; }
.smart-filter__search { height: 36px; margin-bottom: 4px; font-size: 13px; }
.smart-filter__nothing { color: #767676; font-size: 13px; }
.smart-filter__check { display: flex; align-items: center; gap: 10px; min-height: 28px; color: #333; font-size: 14px; cursor: pointer; }
.smart-filter__check input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-primary); flex-shrink: 0; }
.smart-filter__check.is-disabled { color: #bbb; cursor: default; }
.smart-filter__range { padding: 0 20px 18px; }
.smart-filter__inputs { display: flex; align-items: center; gap: 8px; }
.smart-filter__inputs .input { min-height: 40px; padding: 8px 10px; border-radius: var(--radius-control); }
.smart-filter__slider { position: relative; height: 28px; margin: 14px 6px 0; }
.smart-filter__slider::before { content: ""; position: absolute; top: 13px; left: 0; right: 0; height: 3px; background: var(--c-primary); border-radius: 2px; }
.smart-filter__slider input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.smart-filter__slider input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 20px; height: 20px; border: 3px solid var(--c-primary); border-radius: 50%; background: #fff; cursor: pointer; }
.smart-filter__slider input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border: 3px solid var(--c-primary); border-radius: 50%; background: #fff; cursor: pointer; }
.smart-filter__bounds { display: flex; justify-content: space-between; margin-top: 4px; color: #767676; font-size: 12px; }
.smart-filter__buttons { display: flex; gap: 12px; padding: 14px 20px; border-top: 1px solid #eee; background: #fff; }
.smart-filter__submit { flex: 1 1 auto; }
.smart-filter__reset { flex: 0 0 auto; }

@media (min-width: 992px) {
	.smart-filter { position: static; z-index: auto; width: auto; overflow: clip; border-radius: var(--radius-control); box-shadow: none; transform: none; transition: none; background: #fafafa; } /* углы — как у левого меню; clip, а не hidden — кнопки внизу остаются «липкими» */
	.smart-filter__close, .filter-backdrop { display: none; }
	.smart-filter__head { background: none; font-size: 14px; }
	.smart-filter__body { overflow: visible; }
	.smart-filter__buttons { position: sticky; bottom: 0; background: #fafafa; }
}

/* End */


/* Start:/local/templates/school/components/bitrix/system.pagenavigation/school/style.css?17931982563544*/
/* Пагинация списков (каталог, блог): «Показано N из M» с полоской, «Показать ещё» (js/header.js) и номера страниц */
.pager { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
.pager__progress { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #767676; font-size: 14px; }
.pager__count b { color: #222; font-weight: 600; }
.pager__bar { display: block; width: 200px; height: 4px; overflow: hidden; border-radius: var(--radius-pill); background: #e9eeee; }
.pager__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--c-primary); transition: width .4s; }
.pager__more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 260px; }
.pager__more .icon { width: 12px; height: 12px; }
.pager__more.is-loading { opacity: .6; pointer-events: none; }
.pager__pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.pager__link, .pager__gap { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: var(--radius-pill); color: #222; font-size: 15px; transition: background-color .2s, color .2s; }
.pager__link:hover { background: #eef5f5; color: var(--c-primary); text-decoration: none; }
.pager__link.is-current { background: var(--c-primary); color: #fff; font-weight: 600; }
.pager__link--arrow { border: 1px solid #e3e8e8; }
.pager__link--arrow .icon { width: 14px; height: 14px; }
.pager__link--arrow:first-child { margin-right: 8px; }
.pager__link--arrow:last-child { margin-left: 8px; }
.pager__link.is-disabled { color: #c4caca; pointer-events: none; }
.pager__gap { min-width: 24px; padding: 0; color: #767676; }
@media (max-width: 599px) {
	.pager__more { width: 100%; }
	.pager__link, .pager__gap { min-width: 36px; height: 36px; font-size: 14px; }
	.pager__link--arrow:first-child { margin-right: 2px; }
	.pager__link--arrow:last-child { margin-left: 2px; }
	.pager__link--far { display: none; } /* на телефоне ±1 от текущей — в одну строку */
}
/* «Показывать по 30 / 60» — переключатель под пагинацией (catalog/main/per_page.php); при 30 и одной странице не нужен */
.per-page { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: #767676; font-size: 14px; }
.per-page__tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--radius-pill); background: #f1f4f4; }
.per-page__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); color: #555; transition: color .2s, background-color .2s, box-shadow .2s; }
.per-page__link:hover { color: var(--c-primary); text-decoration: none; }
.per-page__link.is-active { background: #fff; color: var(--c-primary); font-weight: 600; box-shadow: 0 1px 4px rgba(16, 40, 41, .12); }
:not(:has([data-pager])) > .per-page--auto { display: none; }
/* пагинация внутри текста страницы (.text-content) — без подчёркивания и цвета ссылок текста */
.text-content .pager__link, .text-content .pager__more { text-decoration: none; }
.text-content .pager__link:not(.is-current) { color: #222; }
.text-content .pager__more { color: var(--c-primary-hover); }

/* End */


/* Start:/local/components/school/catalog.section/templates/school_block/style.css?17938236828987*/
/* Плитка товаров: отдельные карточки со скруглением, как в лентах под товаром. 2 колонки на телефоне, 3 / 4 / 5 — от 768 / 992 / 1200. */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.product-grid__empty { padding: 24px 0; color: var(--c-muted); }
.product-card { position: relative; display: flex; flex-direction: column; padding: 12px 10px 14px; border: 1px solid #eee; border-radius: var(--radius); background: #fff; text-align: left; transition: box-shadow .15s, border-color .15s; }

.product-card__media { position: relative; margin: 0 -6px 12px; } /* фото шире текста — ближе к краю карточки */
.product-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 10px; box-sizing: border-box; }
.product-card__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-card__stickers { position: absolute; top: -8px; left: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sticker { padding: 3px 8px; border-radius: var(--radius-sm); color: #fff; font-size: 11px; line-height: 1.3; text-transform: uppercase; }
.sticker--hit { background: #438209; } /* темнее #5aab0f — контраст 4.7:1 */
.sticker--new { background: #2992d9; }
.sticker--recommend { background: #893ca9; }
.sticker--stock { background: #ffc438; color: #1d2029; }
.sticker--mpt { background: #fff; border: 1px solid #13888e; color: #0f6f74; font-weight: 600; text-transform: none; } /* в реестре Минпромторга — для госзакупок */
@media (max-width: 767px) { /* на телефоне наклейки не наезжают на «Сравнить» */
	.product-card__stickers { max-width: calc(100% - 40px); }
	.sticker { padding: 2px 6px; font-size: 10px; }
}
.sticker--sale { background: #d63c2f; font-weight: 600; text-transform: none; } /* скидка в процентах, контраст 4.6:1 */
.product-card__compare { position: absolute; top: 0; right: 0; z-index: 1; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #999; cursor: pointer; }
.product-card__compare:hover { color: var(--c-primary); }
.product-card__compare.is-active { background: var(--c-primary); color: #fff; } /* в сравнении — залитый кружок */
.product-card__compare.is-active:hover { background: var(--c-primary-hover); color: #fff; }
.product-card__compare .icon { width: 20px; height: 20px; } /* «3 полоски» как в шапке — одна иконка сравнения везде (sprite.svg i-compare) */
.product-card__dots { display: flex; gap: 4px; margin-top: 8px; }
.product-card__dots span { flex: 1; height: 2px; background: #e5e5e5; }
.product-card__dots span.is-active { background: var(--c-primary); }

.product-card__name { display: block; margin-bottom: 6px; color: #222; font-size: 14px; line-height: 1.4; }
.product-card__name:hover { color: var(--c-primary); text-decoration: none; }
.product-card__meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 12px; color: #767676; }
.product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 4px 12px; margin-top: auto; }
.product-card__price .price { color: #222; font-size: 17px; font-weight: 700; white-space: nowrap; }
.price-old { color: #767676; font-size: 13px; white-space: nowrap; }
.product-card__sale { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 6px; font-size: 12px; }
.sale-pct { padding: 0 8px; border-radius: var(--radius-sm); background: #12828a; color: #fff; line-height: 21px; } /* темнее #17a2a9 — контраст 4.6:1 */
.sale-economy { padding: 0 8px; border-radius: var(--radius-sm); background: #fab6006e; color: #222; line-height: 21px; }

/* «Купить» — только на компьютере, при наведении (как footer_button Аспро) */
.product-card__buy { display: none; }

@media (min-width: 768px) {
	.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.product-card { padding: 16px 16px 20px; }
	.product-card__media { margin: 0 -10px 12px; }
	.product-card__stickers { top: -10px; }
}
@media (min-width: 992px) {
	.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.product-card:hover { z-index: 3; border-color: transparent; box-shadow: 0 0 20px rgba(0, 0, 0, .1); }
	.product-card[data-buy]:hover, .product-card[data-buy]:focus-within { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } /* снизу продолжается панель «Купить» */
	.product-card__buy { position: absolute; top: 100%; left: -1px; right: -1px; z-index: 3; display: flex; visibility: hidden; justify-content: center; gap: 8px; padding: 0 16px 16px; border-radius: 0 0 var(--radius) var(--radius); background: #fff; box-shadow: 0 12px 20px rgba(0, 0, 0, .1); clip-path: inset(0 -20px -20px -20px); }
	.product-card:hover .product-card__buy, .product-card:focus-within .product-card__buy { visibility: visible; }
	.product-card__to-cart { flex: 1; border-radius: var(--radius-control); }
}
@media (min-width: 1200px) {
	.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.product-card__to-cart.is-loading { opacity: .6; pointer-events: none; }
.product-card__in-cart { flex: 1; border-radius: var(--radius-control); }

/* Лента в одну строку (вкладки под карточкой товара): карточки фиксированной ширины, листается стрелками и пальцем
   (общий механизм [data-hscroll] — js/header.js, css/main.css .hscroll__track) */
.product-grid--carousel { display: flex; gap: 12px; }
.product-grid--carousel .product-card { flex: 0 0 var(--hs-w, 200px); padding: 12px 12px 14px; scroll-snap-align: start; }
.product-grid--carousel .product-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.product-grid--carousel .product-card__media { margin: 0 -4px 8px; }
.product-grid--carousel .product-card__name { display: -webkit-box; overflow: hidden; font-size: 13px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-grid--carousel .product-card__meta { gap: 2px; margin-bottom: 6px; font-size: 11px; }
.product-grid--carousel .product-card__price .price { font-size: 15px; }
.product-grid--carousel .product-card__quick-buy, .product-grid--carousel .product-card__in-cart { width: 100%; margin-top: 10px; border-radius: var(--radius-control); }
.product-card__quick-buy.is-loading { opacity: .6; pointer-events: none; }
/* «В корзину» в обычной плитке — только на телефоне и планшете */
.product-card__quick-buy--touch { width: 100%; margin-top: 10px; border-radius: var(--radius-control); }
.product-card > .product-card__in-cart { width: 100%; margin-top: 10px; } /* «В корзине» на месте кнопки в карточке */
@media (min-width: 992px) {
	.product-card__quick-buy--touch { display: none; }
}

/* Над списком раздела: «Найдено N товаров» и выбранные условия фильтра (плашки с ×) */
.catalog-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; }
.catalog-summary__count { color: #767676; font-size: 14px; }
.catalog-summary__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-summary__chips:empty { display: none; }
@media (min-width: 992px) { /* число найденных — в панели с сортировкой; без выбранных условий строка не нужна */
	.catalog-summary__count { display: none; }
	.catalog-summary:has(.catalog-summary__chips:empty) { display: none; }
}
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px 4px 12px; border: 1px solid #d7e9ea; border-radius: var(--radius-pill); background: var(--c-primary-light); color: #222; font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer; transition: border-color .15s; }
.filter-chip:hover { border-color: var(--c-primary); }
.filter-chip .icon { width: 10px; height: 10px; color: #767676; }
.filter-chip:hover .icon { color: var(--c-primary); }
.filter-chip--reset { padding-right: 12px; border-color: transparent; background: none; color: var(--c-primary); }
.filter-chip--reset:hover { border-color: transparent; color: var(--c-primary-hover); text-decoration: underline; }


/* Equal top/left inset from the carousel card edge as well. */
.product-grid--carousel .product-card__stickers { top: -4px; }

/* End */
/* /local/templates/school/components/bitrix/catalog/main/style.css?179355019616034 */
/* /local/templates/school/components/bitrix/catalog/main/landing.css?17931261871025 */
/* /local/templates/school/components/bitrix/catalog.smart.filter/school/style.css?17930302114743 */
/* /local/templates/school/components/bitrix/system.pagenavigation/school/style.css?17931982563544 */
/* /local/components/school/catalog.section/templates/school_block/style.css?17938236828987 */
