/* ArtGolka: сітка каталогу за макетом 471:34147.
1920: контейнер 1880 = сайдбар 360 + 20 + лістинг 1500;
у лістингу чотири картки по 360 з розривом 20 (сітка 471:34383, 1500×2684 —
чотири ряди по 635 із вертикальним розривом 48).
1480: ті самі пропорції в 272 (272 + 20 + 4×272 = 1440).
375: одна картка 355 в ряд, крок рядів 640.75 — тобто розрив 24 (ноди 471:40161-40164).
Попереднє виняткове правило (min-width:1280) and (max-width:1680) на --products-in-col
більше не потрібне: чотири колонки тепер базове значення каталогу. */
:root {
	--side-bar: 360px;
	--blocks-indent-category: var(--blocks-indent);
	--products-in-col: 4;
	--products-indent-h: 48px;
	--products-indent-w: 20px;
}
@media (max-width: 1680px) {
	:root {
		--side-bar: 272px;
	}
}
@media (max-width: 1400px) {
	:root {
		--products-in-col: 3;
	}
}
@media (max-width: 1279px) {
	:root {
		--side-bar: 0px;
		--blocks-indent-category: 0px;
		--products-in-col: 1;
		--products-indent-h: 24px;
		--products-indent-w: 0px;
	}
}
.woocommerce-no-product {
	grid-column: span 12;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	height: 100px;
	font-size: 18px;
	line-height: 24px;
	background: var(--light-gray);
	padding: 20px;
	border-radius: var(--radius-medium);
}
/* Sub Category List - Start */
.tax-product_tag section.category-subs {
	display: none;
}
section.category-subs {
	display: block;
	margin: 0 0 48px 0;
	padding: 0 0 48px 0;
	border-bottom: 1px solid var(--border);
}
.subcategories-list {
	display: grid;
	grid-template-columns: repeat(var(--products-in-col), 1fr);
	gap: 24px var(--products-indent-w);
	width: 100%;
}
.subcategory-item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 20px;
	padding: 0;
	background: none;
	border-radius: 0;
	cursor: pointer;
}
.subcategory-item:hover,
.subcategory-item.active {
	background: none;
}
.subcategory-item.active {
	order: 0;
}
.subcategory-item__image {
	display: block;
	width: 100%;
	overflow: hidden;
}
.subcategory-item__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top;
}
.subcategory-item__name {
	font-family: var(--font-family-2);
	font-size: 24px;
	line-height: 22px;
	font-weight: 400;
	text-align: center;
	color: var(--black);
	transition: color 0.3s ease;
}
.subcategory-item:hover .subcategory-item__name,
.subcategory-item.active .subcategory-item__name {
	color: var(--primary);
}
@media (max-width: 1279px) {
	section.category-subs {
		margin: 0 0 24px 0;
		padding: 0 0 24px 0;
	}
	.subcategories-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px var(--blocks-indent);
	}
	.subcategory-item {
		gap: 12px;
	}
	.subcategory-item__name {
		font-size: 18px;
		line-height: 17px;
	}
}
/* Sub Category List - End */

/* Category Top - Start */
/* ArtGolka: шапка сторінки — крихти, під ними H1 на всю ширину контейнера
(макет: крихти y257, H1 y293 — тобто вони НАД обома колонками, а не в лістингу).
Сортування макет не малює взагалі — беремо штатне від теми й приводимо до палітри
(procedures/category-template-overview.md: «дизайн у цьому питанні не голосує»). */
body.post-type-archive.woocommerce-shop .woocommerce-breadcrumb a:last-child {
	color: var(--black);
}
.woocommerce-category-header {
	padding: 0 0 24px 0;
	overflow: visible;
	z-index: 4;
}
.woocommerce-category-header .container {
	align-items: center;
}
.woocommerce-category-header h1.page-title {
	max-width: none;
	margin: 0;
}
.woocommerce-category-header .woocommerce-notices-wrapper {
	display: none;
}
.woocommerce-result-count {
	position: static;
	margin: 0;
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 21px;
	color: var(--text-muted);
}
.filter-sort {
	display: flex;
	align-items: center;
	gap: 24px;
	justify-content: flex-end;
	width: fit-content;
}
/* ArtGolka (ведомость D11): права група ряду. На 375 «Фільтр» мусить стояти біля
правого краю, як у макеті, а сортування (макет його не малює зовсім, але механіка
теми лишається за рішенням 18.08) — ліворуч від нього, з власним інтервалом,
щоб два тригери не читались одним пунктом «Фільтр Сортування». */
.filter-sort__right {
	display: flex;
	align-items: center;
	gap: 24px;
}
.sorting-pc {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 21px;
}
.sorting-pc > span {
	color: var(--text-muted);
}
.current-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--black);
}
.current-sort img {
	width: 12px;
	height: 12px;
	object-fit: contain;
	transition: all 0.3s ease;
	transform: rotate(90deg);
}
.current-sort.active img {
	transform: rotate(-90deg);
}
.sorting-dropdown {
	position: absolute;
	top: 30px;
	right: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: var(--white);
	width: max-content;
	padding: 16px;
	color: var(--black);
	border-radius: 0;
	box-shadow: 0 0 24px rgb(26 26 26 / 8%);
	transition: all 0.3s ease;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.sorting-dropdown.active {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
.sorting-dropdown a {
	display: flex;
	justify-content: space-between;
	gap: 5px;
	font-size: 14px;
	line-height: 21px;
	transition: color 0.3s ease;
}
.sorting-dropdown a:hover,
.sorting-dropdown a.active {
	color: var(--primary);
}
@media (max-width: 1279px) {
	.woocommerce-category-header {
		position: sticky;
		top: var(--header-height);
		z-index: 2;
		background: var(--bg-page);
		padding: 12px 0;
	}
	.woocommerce-category-header .container {
		align-items: center;
		gap: 10px;
	}
	h1.page-title {
		position: relative;
		top: 0;
		max-width: 100%;
		width: 100%;
	}
	.woocommerce-result-count {
		position: relative;
		left: 0;
		top: 0;
		margin: 0 0 6px 0;
	}
	/* Ряд тригерів макета (нода 471:40152): біла підкладка від краю до краю екрана,
	висота 48, вміст у полях 10 з боків (внутрішній ряд 471:40153 — 355 з 375).
	Підкладку виводимо з контейнера від'ємними полями: --container-indent — це
	СУМА двох сторін (20 на ≤ 1279), тому половина на бік. */
	.filter-sort {
		width: calc(100% + var(--container-indent));
		flex-shrink: 0;
		height: 48px;
		margin-inline: calc(var(--container-indent) / -2);
		padding-inline: calc(var(--container-indent) / 2);
		background: var(--white);
		justify-content: space-between;
		gap: 10px;
	}
	.mob-sorting-wrapper {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		z-index: 100;
		pointer-events: none;
	}
	.mob-sorting-wrapper.active {
		pointer-events: all;
	}
	.mob-sorting-wrapper .mob-sorting-box {
		position: relative;
		top: var(--header-height);
		right: -130vw;
		display: flex;
		flex-direction: column;
		width: 100%;
		height: auto;
		padding: 24px;
		background: var(--white);
		box-shadow: 0px 0px 24px 0px #1a1a1a14;
		transition: all 0.7s ease;
		z-index: 120;
	}
	.mob-sorting-wrapper.active .mob-sorting-box {
		right: 0;
	}
	.mob-sorting-wrapper.active .lightbox-background {
		pointer-events: all;
		opacity: 1;
	}
	.mob-sorting-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		width: 100%;
		padding: 0;
		background: none;
		margin-bottom: 16px;
	}
	.mob-sorting-header .h4 {
		font-family: var(--font-family-1);
		font-size: 18px;
		line-height: 27px;
		font-weight: 400;
		color: var(--black);
	}
	.mob-sorting-header .close-sorting {
		cursor: pointer;
		width: 20px;
		height: 20px;
		padding: 0;
	}
	.mob-sorting-header .close-sorting img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	.mob-sorting.mob {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 0;
	}
	.mob-sorting.mob .active {
		color: var(--primary);
	}
}
/* Category Top - End */

/* Category Content - Start */
.woocommerce-category-content {
	padding-bottom: 50px;
}
/* Category Side - Start */
/* ArtGolka: сайдбар — дві білі картки одна під одною: «Категорії» з деревом і «Фільтр».
Дерево — той самий блок, що на сторінці товару (чат #1809, пункт 74 ящика):
картка біла без скруглення, padding 24, заголовок 24/36, пункти 18/25 з кроком 16,
роздільник 1px rgb(0 0 0 / 10%), підсписок — відступ 20 і крок 12, шеврон 20×20.
🔴 Це свідомий дубль чужого блоку — на зшивці ведучий зводить його в спільний компонент. */
@media (min-width: 1280px) {
	.mob-filter-call,
	.mob-sort-call {
		display: none !important;
	}
	.category-side {
		display: flex;
		flex-direction: column;
		/* Між картками сайдбара саме 10, а не --blocks-indent: картка категорій
		471:34248 закінчується на y1406, картка фільтра 471:34151 починається з y1416. */
		gap: 10px;
	}
}
.category-side__box {
	padding: 24px;
	background: var(--white);
}
.category-side__title {
	font-family: var(--font-family-1);
	font-size: 24px;
	line-height: 36px;
	font-weight: 400;
	color: var(--black);
	margin-bottom: 8px;
}
.category-side .category-tree,
.category-side .category-tree__sub {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}
.category-side .category-tree {
	gap: 16px;
}
.category-side .category-tree > .category-tree__item {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid rgb(0 0 0 / 10%);
}
.category-side .category-tree__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.category-side .category-tree__link {
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--font-family-1);
	font-size: 18px;
	line-height: 25px;
	font-weight: 400;
	color: var(--black);
	transition: color 0.3s ease;
}
.category-side .category-tree__link:hover,
.category-side .category-tree__item.current > .category-tree__row > .category-tree__link {
	color: var(--primary);
}
.category-side .category-tree__item.selected > .category-tree__row {
	margin: -4px -8px;
	padding: 4px 8px;
	background: var(--bg-page);
}
/* Шеврон інлайном: такої форми файлом у темі немає, а data-URI сусіднього
бандла (--chevron-16 у product-page/01-base.css) до цього файлу не доходить. */
.category-side .category-tree__toggle {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8' fill='none'%3E%3Cpath d='M1 1L8 7L15 1' stroke='%23000000'/%3E%3C/svg%3E") no-repeat center / 16px 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
}
.category-side .category-tree__item.expanded > .category-tree__row > .category-tree__toggle {
	transform: rotate(180deg);
}
.category-side .category-tree__sub {
	gap: 12px;
	padding: 0 20px;
}
.category-side .category-tree__item:not(.expanded) > .category-tree__sub {
	display: none;
}
@media (max-width: 1680px) {
	.category-side__box {
		padding: 20px;
	}
	.category-side .category-tree__link {
		font-size: 16px;
		line-height: 24px;
	}
}

/* Мобільна панель фільтра — механіка теми (.mob-filter-call → .category-side.active),
вигляд за макетом «Відкривашка Фільтр» 471:39976 (375×1085, поля 24, білий фон).
Готовий блок у reports/parallel-inbox.md, пункт 66 — числа звідти. */
@media (max-width: 1279px) {
	.category-side {
		position: fixed;
		top: var(--header-height);
		left: -130vw;
		display: flex;
		flex-direction: column;
		width: 100vw;
		height: calc(100dvh - var(--header-height));
		padding: 24px;
		background: var(--white);
		overflow-y: auto;
		box-shadow: 0px 0px 24px 0px #1a1a1a14;
		transition: all 0.7s ease;
		z-index: 100;
	}
	.category-side.active {
		left: 0;
	}
	.category-side__box {
		padding: 0;
		background: none;
	}
	/* Тригери ряду: у макеті це текст 14/21 і шеврон 8×4 через 6, без іконки фільтра.
	Шеврон — той самий arrow-chevron.svg (в файлі він ПРАВИЙ: path M12 24L20 16L12 8),
	повернутий на 90° — той самий прийом, що в .current-sort img вище. У полі 16×16
	шлях дає рівно 8×4 вниз, як у нодах 471:40156 і 471:40159 (ведомость D11). */
	.mob-filter-call,
	.mob-sort-call {
		display: flex;
		align-items: center;
		gap: 6px;
		cursor: pointer;
	}
	.mob-filter-call img {
		width: 16px;
		height: 16px;
		object-fit: contain;
		transform: rotate(90deg);
	}
	.mob-filter-call span,
	.mob-sort-call span {
		font-family: var(--font-family-1);
		font-size: 14px;
		line-height: 21px;
		font-weight: 400;
		color: var(--black);
	}
	.mob-sort-call img {
		width: 16px;
		height: 16px;
		object-fit: contain;
	}
	/* У макеті сірої шапки немає — просто заголовок і ✕ у куті */
	.mob-filter-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		width: 100%;
		padding: 0;
		background: none;
		margin-bottom: 16px;
	}
	.mob-filter-header .h4 {
		font-family: var(--font-family-1);
		font-size: 18px;
		line-height: 27px;
		font-weight: 400;
		color: var(--black);
	}
	.mob-filter-header .close-filter {
		position: absolute;
		top: 26px;
		right: 20px;
		padding: 0;
		width: 20px;
		height: 20px;
		cursor: pointer;
	}
	.mob-filter-header .close-filter img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	#woo-filter-wrapper {
		overflow: visible;
		padding-bottom: 30px;
	}
}
/* Category Side - End */

/* Category Product List - Start */
.category-product-list .woocommerce-result-count {
	display: none !important;
}

@media (max-width: 1279px) {
	.category-product-list {
		width: 100%;
	}
}
/* Category Product List - End */

/* Pagination - Start */
/* ArtGolka: сам екран каталогу пагінації не малює (між кінцем сітки y4105
і наступною секцією y4401 порожньо), але 943 товари без неї не гортаються —
механіку теми лишаємо (design-philosophy: тема дає більше — стилізуємо).
Вигляд — готовий блок із parallel-inbox.md (блок C, числа з «Відгуків» 471:35726):
кола 56×56, стрілки залиті --primary, номери — обводка 1px, поточний чорний. */
.loadmore-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 48px auto 0 auto;
}
.woocommerce-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 48px 0 0 0;
	margin: 0 auto;
}
#loadmore + .woocommerce-pagination {
	padding: 24px 0 0 0;
}
.woocommerce-pagination .page-numbers {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.woocommerce-pagination .page-numbers li a.page-numbers,
.woocommerce-pagination .page-numbers li .current {
	width: 56px;
	height: 56px;
	padding-top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border: 1px solid rgb(0 0 0 / 16%);
	border-radius: var(--radius-pill);
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 20px;
	color: var(--black);
	transition: all 0.3s ease;
}
.woocommerce-pagination .page-numbers li .current,
.woocommerce-pagination .page-numbers li a.page-numbers:hover {
	background: transparent;
	border-color: var(--black);
	color: var(--black);
}
.woocommerce-pagination .page-numbers li a.page-numbers.prev,
.woocommerce-pagination .page-numbers li a.page-numbers.next {
	background: var(--primary);
	border-color: var(--primary);
}
.woocommerce-pagination .page-numbers li a.page-numbers.prev:hover,
.woocommerce-pagination .page-numbers li a.page-numbers.next:hover {
	background: var(--primary-hover);
	border-color: var(--primary-hover);
}
.woocommerce-pagination .page-numbers li a.page-numbers.prev {
	margin-right: 24px;
	transform: rotate(180deg);
}
.woocommerce-pagination .page-numbers li a.page-numbers.next {
	margin-left: 24px;
}
.woocommerce-pagination .page-numbers li span.dots {
	padding: 0 8px;
	font-size: 18px;
	color: var(--text-muted);
}
.woocommerce-pagination .page-numbers img {
	width: 6px;
	filter: brightness(0) invert(1);
	transition: all 0.3s ease;
}
@media (max-width: 1279px) {
	.loadmore-wrapper {
		margin-top: 24px;
	}
	.woocommerce-pagination {
		padding-top: 24px;
	}
	.woocommerce-pagination .page-numbers li a.page-numbers,
	.woocommerce-pagination .page-numbers li .current {
		width: 40px;
		height: 40px;
	}
	.woocommerce-pagination .page-numbers li a.page-numbers.prev {
		margin-right: 12px;
	}
	.woocommerce-pagination .page-numbers li a.page-numbers.next {
		margin-left: 12px;
	}
}
/* Pagination - End */

/* Category Content - End */

/* Category Description - Start */
/* ArtGolka: SEO-блок вирівнюється по лівому краю сітки (макет: x −1285, тобто під
сайдбаром порожньо), а текстова колонка вужча за сітку — 1120 з 1500.
⚠️ Блок лежить у .container.block-with-cols — це flex, а не grid, тому без width:100%
він стискається по вмісту (грабля з category-template-overview.md). */
.bottom-seo-text {
	width: 100%;
	padding-top: 48px;
	padding-bottom: 100px;
	padding-left: calc(var(--side-bar) + var(--blocks-indent-category));
}
.bottom-seo-text .h2 {
	max-width: 1120px;
	margin-bottom: 24px;
}
.bottom-seo-text .category-custom-description,
.bottom-seo-text > p {
	max-width: 1120px;
}
/* Абзаци розділені порожнім рядком — так у макеті (нода 471:34406: 12 рядків на 324 px
при line-height 27 — дев'ять рядків тексту плюс порожні між блоками). Без цього база
ставить p впритул (margin: 0 у 02-text.css) і три абзаци читаються одним полотном
(сигнал Layout-блока «впритул по вертикалі: p ↔ p»).
1.5em а не число: у теми line-height тексту скрізь 1.5× кегля (18/27, 16/24, 14/21),
тому одне правило дає рівно один порожній рядок на кожному тирі без media-блоків. */
.bottom-seo-text .category-custom-description p + p {
	margin-top: 1.5em;
}
@media (max-width: 1279px) {
	.bottom-seo-text {
		padding-top: 24px;
		padding-bottom: 48px;
		padding-left: 0;
	}
	.bottom-seo-text .h2 {
		margin-bottom: 16px;
	}
}
/* Category Description - End */

/* Filter - Start */
/* ArtGolka: вигляд фільтра — групи-акордеони через тонкі лінії, квадратні чекбокси
з внутрішнім квадратом, ціна зі слайдером і дві кнопки на всю ширину.
Числа — готовий блок із parallel-inbox.md, пункт 66 (ноди відкривашки 471:39976).
⚠️ Та відкривашка — мобільна; десктопна картка в макеті така сама за формою,
тому пропорції перенесені один в один, а не зняті з нод 1920 (міст відвалився).
🔴 Групи «Наявність», «Новинки», «Акції» у фільтрі немає: форма будується тільки
з атрибутних таксономій плюс ціна (рішення власника 25.08). */
#filter-form {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 0;
}
.filter-group.price-filter {
	order: 2;
}
#filter-form > a {
	order: 3;
}
.filter-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	background: none;
	border-radius: 0;
	border-top: 1px solid rgb(0 0 0 / 10%);
	border-bottom: none;
}
.filter-group:last-of-type {
	border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.filter-group .filter-group-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 16px 0;
	cursor: pointer;
}
.filter-group .filter-group-head .h3 {
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: var(--black);
}
.filter-group .filter-group-head i {
	position: relative;
	display: flex;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}
/* Шеврон замість плюса/мінуса теми — та сама форма, що в дереві категорій */
.filter-group .filter-group-head i:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8' fill='none'%3E%3Cpath d='M1 1L8 7L15 1' stroke='%23000000'/%3E%3C/svg%3E") no-repeat center / 16px 8px;
	transition: transform 0.3s ease;
}
.filter-group.active .filter-group-head i:before {
	transform: rotate(180deg);
}
.filter-group .filter-group-body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 0 16px;
}
.filter-group.price-filter .filter-group-body {
	padding: 0 0 16px;
}
.filter-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.filter-checkbox input {
	display: none;
}
.filter-checkbox .custom-checkbox {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1px solid rgb(0 0 0 / 10%);
	border-radius: 0;
	background: var(--white);
	transition: all 0.3s ease-in-out;
}
.filter-checkbox input:checked + .custom-checkbox {
	border-color: rgb(0 0 0 / 10%);
	background: var(--white);
}
/* Позначка — внутрішній квадрат 12×12 чорним, а не галочка (макет) */
.filter-checkbox input:checked + .custom-checkbox::after {
	content: "";
	width: 12px;
	height: 12px;
	background: var(--black);
	border: none;
	transform: none;
}
.filter-checkbox .checkbox-value,
.filter-checkbox .checkbox-name {
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: var(--black);
	padding-top: 0;
}
.price-inputs {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 0;
}
.price-inputs input {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	outline: none;
	border: 1px solid rgb(0 0 0 / 10%);
	border-radius: 0;
	background: var(--white);
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 21px;
	color: var(--black);
	text-align: center;
}
.price-inputs input:nth-child(1),
.price-inputs input:nth-child(2) {
	border-radius: 0;
	border-right: 1px solid rgb(0 0 0 / 10%);
}
/* Кнопки фільтра — на всю ширину, відстань між ними 10, над ними 24 від лінії.
«Скинути» у макеті — обведена, а не червона, як у шаблоні. */
.submit-filter-call {
	margin-top: 24px;
}
.btn.submit-filter-call,
.btn.reset-filters {
	width: 100%;
	--btn-pad: 0;
}
.btn.reset-filters {
	margin-top: 10px;
	--btn-bg: transparent;
	--btn-color: var(--black);
	--btn-border-width: 1px;
	--btn-border-color: rgb(0 0 0 / 48%);
	--btn-hover-bg: var(--primary);
	--btn-hover-color: var(--primary-match);
	--btn-hover-border-color: var(--primary);
}
.btn.reset-filters img {
	display: none;
}
/* Filter - End */

/* Price Range Slider - Start */
.price-range-slider {
	position: relative;
	height: 30px;
	width: calc(100% - 20px);
	margin: 0 auto 15px;
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
}
/* ArtGolka (ведомость D12): заливка трека — токен проєкту --primary, не синій #007bff.
Було: op-filter-woocommerce.js писав background інлайном із var(--color-primary, #007bff),
а такої змінної в темі немає — спрацьовував бутстраповський фолбек і перебивав цей блок.
Тепер JS віддає лише геометрію через --range-from / --range-to, кольори живуть тут. */
.price-range-slider .slider-track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		to right,
		var(--border) var(--range-from, 0%),
		var(--primary) var(--range-from, 0%),
		var(--primary) var(--range-to, 100%),
		var(--border) var(--range-to, 100%)
	);
	border-radius: var(--radius-tiny);
	transform: translateY(-50%);
	pointer-events: none;
}
.price-range-slider input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
	margin: 0;
	padding: 0;
}
/* Safari/iOS track */
.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 3px;
	background: transparent;
	border: none;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -9px; /* (track height - thumb height) / 2 */
	background: var(--primary);
	border: 3px solid var(--primary);
	border-radius: var(--radius-max);
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: transform 0.15s ease;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.1);
}
/* Firefox */
.price-range-slider input[type="range"]::-moz-range-track {
	width: 100%;
	height: 3px;
	background: transparent;
	border: none;
}
.price-range-slider input[type="range"]::-moz-range-thumb {
	width: 22px;
	height: 22px;
	background: var(--primary);
	border: 3px solid var(--primary);
	border-radius: var(--radius-max);
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: transform 0.15s ease;
}
.price-range-slider input[type="range"]::-moz-range-thumb:hover {
	transform: scale(1.1);
}
.price-range-slider input[type="range"]:focus {
	outline: none;
}
/* Z-index: левый бегунок сверху когда слева, правый - когда справа */
.price-range-slider input.range-min {
	z-index: 2;
}
.price-range-slider input.range-max {
	z-index: 1;
}
@media (max-width: 1279px) {
	.filter-group.price-filter {
		gap: 0px;
	}
	.price-range-slider {
		height: 40px;
	}
	.price-range-slider input[type="range"]::-webkit-slider-thumb {
		width: 28px;
		height: 28px;
		margin-top: -12px;
	}
	.price-range-slider input[type="range"]::-moz-range-thumb {
		width: 28px;
		height: 28px;
	}
}
/* Price Range Slider - End */

.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	height: fit-content;
}

.filter-chip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 30px;
	width: fit-content;
	margin: 0;
	padding: 0 15px 0 20px;
	background: #efefef;
	font-size: 14px;
	line-height: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	border-radius: var(--radius-large);
}
.filter-chip.reset-all-chip {
	padding: 0 20px 0 20px;
}
.filter-chip span {
	font-family: var(--font-family-1);
	color: var(--black);
	font-weight: 500;
	height: 14px;
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip::before,
.filter-chip span.remove-chip::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 1px;
	background: var(--black);
	transition: all 0.3s ease;
}
.filter-chip span.remove-chip::before {
	transform: rotate(45deg);
}
.filter-chip span.remove-chip::after {
	transform: rotate(-45deg);
}
.filter-chip.reset-all-chip {
	background-color: var(--black);
	cursor: pointer;
	transition: all 0.3s ease;
}
.filter-chip.reset-all-chip:hover {
	background-color: #e70000;
}
.filter-chip.reset-all-chip span{
	color: #fff;
}
@media (max-width: 1279px) {
	.filter-chip {
		padding: 0 10px 0 15px;
	}
	.filter-chip.reset-all-chip {
		padding: 0 15px 0 15px;
	}
}

.apply-filter-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	padding: 5px 6px 5px 5px;
	background: var(--primary);
	border-radius: var(--radius-max);
	transition: all 0.3s ease;
}
.apply-filter-button p {
	font-size: 12px;
	line-height: 12px;
	color: var(--primary-match);
	transition: all 0.3s ease;
}
.apply-filter-button:hover {
	background: var(--accent);
}
.apply-filter-button:hover p {
	color: var(--accent-match);
}

/* Filter - End */

.banner-in-product-list {
	position: relative;
	display: flex;
	width: calc(
		(
			(
				var(--full-width) - var(--container-indent) - var(--side-bar) - var(--blocks-indent-category) -
		var(--scroll-bar)
		) / var(--products-in-col) - var(--products-indent-w) * (var(--products-in-col) - 1) /
		var(--products-in-col) - 5px
		) * 3 + var(--products-indent-w) * 2
		);
}

@media (max-width: 1279px) {
	.banner-in-product-list {
		display: flex;
		width: 100%;
	}
}

/* Mobile Catalog Trigger - Start */
/* ArtGolka: тригер «Категорії» у ряду над плитками (макет 471:40148, нода 471:40154).
Відкриває каталог-лайтбокс чату меню — свого JS тут немає.
🔴 Клас .btn-catalog потрібен тому JS, але тягне з шапки свою геометрію:
margin-left 40 і кегль 20/27 (css/header.css:53 і :467). Саме через це margin ряд
з'їжджав від лівого краю на 40 px (ведомость D11). Гасимо в контексті ряду:
.filter-sort .mob-catalog-call — (0,0,2,0) проти (0,0,1,0), !important не потрібен. */
.mob-catalog-call {
	display: none;
}
@media (max-width: 1279px) {
	.filter-sort .mob-catalog-call {
		display: flex;
		align-items: center;
		gap: 6px;
		margin-left: 0;
		cursor: pointer;
	}
	.filter-sort .mob-catalog-call span {
		font-family: var(--font-family-1);
		font-size: 14px;
		line-height: 21px;
		font-weight: 400;
		color: var(--black);
	}
	.filter-sort .mob-catalog-call img {
		width: 16px;
		height: 16px;
		object-fit: contain;
		transform: rotate(90deg);
	}
}
/* Mobile Catalog Trigger - End */

/* Gallery Works - Start */
/* ArtGolka: секція фотогалереї на каталозі (макет 471:34147, y4401-5095).
Дані й картка — чату галереї (php/artgolka-gallery.php). Його стилі живуть у
css/pages/gallery-page.css і на архів не вантажаться, тому пропорцію комірки
дублюю тут контекстом. 🔴 На зшивці акуратніше додати gallery-page.css
в Style Manager і на архів, а цей блок зняти — рішення ведучого. */
.catalog-gallery {
	padding: 0 0 48px 0;
}
.catalog-gallery .block-with-cols {
	margin-bottom: 48px;
}
.catalog-gallery .catalog-gallery-slider .swiper-slide img {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}
.catalog-gallery .one-column {
	margin-top: 60px;
}
@media (max-width: 1279px) {
	.catalog-gallery {
		padding: 0 0 24px 0;
	}
	.catalog-gallery .block-with-cols {
		margin-bottom: 24px;
	}
	.catalog-gallery .one-column {
		margin-top: 24px;
	}
}
/* Gallery Works - End */