﻿.block--products,
.block__filters-top {
	padding: 20px !important;
	background: var(--color-bg-light) !important;
	border: unset !important;
}

.block--products-list {
	padding: 0;
	background: transparent;
}

.block__top--products {
	margin: 0 !important;
}

.view {
	display: none;
}

.view__button {
	width: 38px;
	height: 38px;
	border: 1px solid transparent;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.block__group-name {
	text-align: center;
	font-size: 1.75rem;
}

.products--wrapper {
	display: grid;
	gap: 18px;
	grid-template-columns: 300px calc(100% - 320px);
}

@media (min-width: 993px) {
	.sidebar--products {
		position: sticky;
		top: 0;
		align-self: start;
		max-height: 95vh;
		overflow-y: auto;
	}
}

.view__button svg {
	width: 24px;
	height: 24px;
}

.view__button svg path {
	stroke: var(--color-text-gray);
}

.view__button--selected {
	border-color: var(--color-text-active);
}

.view__button--selected svg path {
	stroke: var(--color-text-active);
}

.sorter__text {
	display: none;
}

.sorter__select {
	color: var(--color-text-teritary);
	font-size: 1rem;
	padding: 0 13px;
	height: 38px;
	width: 175px;
	border-radius: 10px;
	border: unset;
}

.sorter__form--split {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sorter__dir-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.sorter__dir-btn--asc .sorter__dir-icon--desc,
.sorter__dir-btn--desc .sorter__dir-icon--asc {
	display: none;
}

.sorter__dir-icon {
	height: 20px;
	width: 20px;
}

.sorter__dir-icon path {
	stroke-width: 1px;
}

.grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 18px;
}

.open-filters,
.open-sorter {
	color: #353840;
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	gap: 12px;
	align-items: center;
}

.breadcrumbs {
	display: none;
}

@media(min-width: 530px) {
	.grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width: 768px) {
	.grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media(min-width: 992px) {
	.grid {
		grid-template-columns: 1fr 1fr;
	}

	.view {
		display: flex;
	}

	.breadcrumbs {
		display: flex;
	}

	.open-filters,
	.open-sorter {
		display: none;
	}

	main .container-inner {
		padding-top: 20px;
	}

	.block__group-name {
		text-align: left;
		margin-left: 10px;
		font-size: 2rem;
	}
}

@media(min-width: 1080px) {
	.grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width: 1320px) {
	.grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media(min-width: 1780px) {
	.grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

/* @media(min-width: 1840px) {
	.grid {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
	}
} */

@media(min-width: 2100px) {
	.grid {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	}
}

.input--filters {
	margin: 5px 0 10px;
	font-size: .9rem;
	height: 40px;
}

.block__filter-actions button {
	font-weight: 600;
	font-size: 13px;
	color: #fff;
	border-radius: 10px;
	background: var(--color-button);
	border: 2px solid transparent;
	height: 38px;
	padding: 0 18px;
}

.product-card--list {
	display: grid;
	grid-template-areas: "image info"
		"actions actions";
	grid-template-columns: auto 1fr;
	gap: 12px;
}

.product-card__image-block {
	grid-area: image;
	height: min-content;
}

.product-card__info-block {
	grid-area: info;
	height: min-content;
}

.product-card__actions-block {
	grid-area: actions;
	height: min-content;
}

.product-card__group--list {
	margin-bottom: 8px;
}

.product-card__image--list {
	width: 85px;
	margin: 0;
	border-radius: 10px;
}

.product-card__actions--list {
	display: flex;
	gap: 16px;
	margin-top: 16px;
	justify-content: flex-end;
}

.product-card__count {
	display: flex;
	border: 1.56px solid var(--color-border-input);
	border-radius: 10px;
	height: 35px;
	font-size: 1rem;
	font-weight: 600;
	width: fit-content;
}

.product-card__count-input {
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	width: 43px;
}

.product-card__count-button {
	width: 40px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-card__button {
	font-size: 1rem;
}

.product-card__price-rr {
	color: var(--color-price);
}

.product-card__price-wholesale {
	color: var(--color-price-old);
	display: none;
}

.product-card__price--list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.product-card__information--list {
	text-decoration: underline;
	color: var(--color-text-teritary);
}

.product-card__button--list {
	margin-top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
	text-align: center;
	white-space: nowrap;
	width: fit-content;
	color: var(--color-text-active);
	font-weight: 600;
}

.product-card {
	transition: all 0.3s ease-in-out;
	position: relative;
}

/* Discount Badge */
.product-discount-wrapper {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 5;
}

.product-card.has-discount .product-discount-wrapper {
	display: inline-flex;
}

.product-discount-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 8px;
	border-radius: 999px;
	background: var(--discount-badge-bg, #e11d48);
	color: var(--discount-badge-color, #ffffff);
}

/* New Badge */
.product-new-wrapper {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 6;
	pointer-events: none;
	display: inline-flex;
}

.product-new-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 8px;
	border-radius: 999px;
	background: var(--color-button);
	color: var(--color-text-white);
}

.product-card.chosen {
	background: var(--color-bg-light) !important;
	border-color: var(--color-text-active) !important;
}

.show-only-selected .product-card:not(.chosen) {
	display: none !important;
}

@media(min-width:500px) {
	.product-card__image--list {
		width: 130px;
	}
}

@media(min-width:768px) {
	.product-card--list {
		grid-template-areas: "image info"
			"image actions";
	}

	.product-card__info-block {
		display: grid;
		grid-template-columns: 1fr .5fr .5fr;
		gap: 16px;
	}

	.product-card__price--list {
		display: flex;
		flex-direction: column;
	}

	.product-card__actions-block {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		margin-top: auto;
		height: min-content;
	}

	.product-card__actions--list {
		margin-top: 0;
	}

	.product-card__name--list,
	.product-card__group--list,
	.product-card__price--list {
		margin-bottom: 0;
	}

	.product-card__button--list {
		height: 50px;
	}

	.product-card__price-rr,
	.product-card__price-wholesale {
		text-align: end;
	}
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

.products.loading .product-card,
.product-card.loading {
	position: relative;
	overflow: hidden;
}

.products.loading .product-card::before,
.product-card.loading::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: shimmer 1.5s infinite;
}

.product-card__code {
	font-size: .8rem;
	margin: 5px 0 0;
	color: grey;
}

.product-card__list-wrapper {
	grid-column: 3;
	grid-row: 1;
	text-align: end;
}

.list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.list .product-card {
	display: grid;
	grid-template-columns: auto 1fr .5fr;
	grid-template-rows: auto auto auto;
	column-gap: 10px;
}

.list .product-card__image--wrapper {
	grid-row: 1 / span 2;
}

.list .product-card__name--wrapper {
	grid-column: 2;
}

.list .product-card__price-new {
	font-weight: 700;
}

.product-card__price .product__price-unit-suffix,
.product-card__price-wrapper .product__price-unit-suffix,
.product-card__price--novat .product__price-unit-suffix {
	font-weight: 400;
	font-size: 0.85em;
	opacity: 0.75;
	white-space: nowrap;
	margin-left: 2px;
}

.grid .product-card__information {
	display: none;
}

.grid .product-card__button--list {
	display: none;
}

.grid .product-card__group {
	display: none;
}

.grid .product-card__button--grid {
	display: inline-flex;
}

.list .product-card__button--grid {
	display: none;
}

.list .product-card__button--list {
	display: inline-flex;
}

.grid .product-card__actions--list {
	display: none;
}

.grid .archived-status {
	display: none;
}

.list .product-card__information {
	display: block;
	grid-row: 2;
	grid-column: 2;
}

.list .product-card__button,
.list .archived-status,
.list .product-card__actions {
	grid-row: 2;
	grid-column: 2 / span 3;
	text-align: end;
}

.list .product-card__image {
	width: 85px;
	margin: 0;
	border-radius: 10px;
}

.list .product-card__group {
	grid-column: 3;
}

.list a.product-card__button {
	margin-left: auto;
}

.list .product-card__price-wrapper {
	justify-content: flex-end;
	padding-top: 10px;
}

.list .product-card__name {
	margin-bottom: 0;
	font-size: 1rem;
	font-weight: 600;
}

@media (min-width: 320px) {
	.list .product-card__image {
		width: 100px;
	}

	.list .product-card__price--text {
		display: none;
	}
}

@media (min-width: 500px) {
	.list .product-card__image {
		width: 130px;
	}
}

@media (min-width: 768px) {
	.list .product-card__image {
		width: 160px;
	}
}

@media (min-width: 992px) {
	.list .product-card__image {
		width: 100px;
	}
}

@media (min-width: 1180px) {
	.list .product-card__image {
		width: 150px;
	}

	.list .product-card__price--text {
		display: inline;
	}
}

@media (min-width: 1400px) {
	.list .product-card__image {
		width: 200px;
	}

	.list .product-card {
		padding: 23px;
	}
}

@media (min-width: 1540px) {
	.list .product-card__image {
		width: 230px;
	}
}

@media (max-width: 768px) {
	.list .product-card {
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto auto auto;
		column-gap: 10px;
	}

	.list .product-card__image--wrapper {
		grid-row: 1 / span 3;
	}

	.list .product-card__name--wrapper {
		grid-column: 2;
		height: fit-content;
	}

	.list .product-card__group {
		grid-row: 2;
		grid-column: 2;
	}

	.list .product-card__price {
		grid-column: 2;
		grid-row: 3;
		text-align: start;
	}

	.list .product-card__price {
		grid-column: 2;
		grid-row: 3;
		text-align: start;
	}

	.list .product-card__information {
		display: block;
		grid-row: 4;
		grid-column: 1;
	}

	.list .product-card__button,
	.list .archived-status,
	.list .product-card__actions {
		grid-row: 5;
		grid-column: 1 / span 2;
		text-align: start;
	}

	.list a.product-card__button {
		margin-top: 16px;
	}
}

@media(max-width: 992px) {
	.products--wrapper {
		grid-template-columns: 100%;
	}

	.sidebar--products {
		position: fixed;
		inset: 0 auto 0 0;
		width: 320px;
		max-width: 100vw;
		background: var(--sb-bg);
		color: var(--sb-text);
		box-shadow: var(--sb-shadow);
		display: flex;
		flex-direction: column;
		transform: translateX(-100%);
		transition: transform var(--sb-speed) ease;
		z-index: 1000;
		padding-top: 80px;
		height: 100vh !important;
		border-radius: 0px !important;
	}

	.sidebar--products.opened {
		transform: translateX(0);
	}

	.sidebar--products.opened:before {
		top: 0;
		left: 320px;
		width: 100vh;
		height: 100%;
		background: rgb(0 0 0 / 37%);
		z-index: 1000;
		position: absolute;
		content: "";
	}

	.close-filter {
		height: 40px;
		width: 40px;
		position: absolute;
		top: 15px;
		right: 15px;
	}

	.sorter {
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 100;
		background: #fff;
		width: 100%;
		height: auto;
		transition: height 500ms;
		box-shadow: rgba(0, 0, 0, .5) 0 10px 130px;
	}

	.sorter.opened {
		display: block !important;
	}

	.sorter__form {
		flex-direction: column;
		padding: 40px;
		align-items: center;
		overflow: hidden;
		display: flex;
	}

	.sorter__close-btn {
		position: absolute;
		top: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.sorter__select {
		max-width: 300px;
		width: 100%;
		border: 1px solid #d9d9d9;
	}
}

.selected-bar {
	position: fixed;
	bottom: 0;
	width: 100%;
	min-height: 83px;
	display: none;
	z-index: 100;
	background: #fff;
	justify-content: flex-end;
	align-items: center;
	padding: 16px 64px;
	gap: 20px;
	border-top: 1px solid var(--color-border-layout-box);
}

.has-selected-items .selected-bar {
	display: flex;
}

.selected-bar__view {
	font-weight: 600;
	font-size: 13px;
	color: var(--color-text-active);
}

.selected-bar__count-number {
	font-weight: 600;
}

.selected-bar__left {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.product-card__description {
	margin-top: 15px;
	font-weight: 400;
	font-size: .8rem;
	color: var(--color-text-gray);
}

@media(max-width: 580px) {
	.has-selected-items .selected-bar {
		flex-direction: column;
	}
}

.product-card__colors {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
	margin-bottom: 12px;
}

.color-swatch {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	display: inline-block;
}

.color-swatch--dual {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	clip-path: circle(50%);
	border: none;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.load-more,
.load-prev {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 16px;
	padding-top: 8px;
}

.btn--load-more,
.btn--load-prev,
.btn--load-all {
	font-size: .9rem;
	padding: 12px 18px;
	border-radius: 6px;
	line-height: 1.1;
	min-height: 44px;
}

.btn--load-more {
	background: #004A83;
	color: #fff;
	border: 1px solid #004A83;
}

.btn--load-all,
.btn--load-prev {
	background: transparent;
	border: 1px solid #004A83;
	color: #004A83;
}

.btn--load-more:hover,
.btn--load-more:focus {
	background: #003a68;
	border-color: #003a68;
	color: #fff;
	transform: translateY(-1px);
}

.btn--load-prev:hover,
.btn--load-prev:focus,
.btn--load-all:hover,
.btn--load-all:focus {
	border-color: #004A83;
	color: #004A83;
	background: rgba(0, 74, 131, 0.06);
	transform: translateY(-1px);
}

.btn--load-more:active,
.btn--load-prev:active,
.btn--load-all:active {
	transform: translateY(0);
}

.btn--load-more:disabled,
.btn--load-prev:disabled,
.btn--load-all:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.load-more__spinner {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 16px 0;
}

.btn--load-more .btn__spinner,
.btn--load-all .btn__spinner,
.btn--load-prev .btn__spinner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	vertical-align: middle;
}

.btn--load-more .btn__spinner .spinner,
.btn--load-all .btn__spinner .spinner,
.btn--load-prev .btn__spinner .spinner {
	width: 18px;
	height: 18px;
	border-width: 2px;
}

.list.compact .product-card__image {
	width: 50px;
}

.list.compact .product-card {
	padding: 10px;
	border: unset;
	border-bottom: 1px solid var(--color-border-input);
	border-radius: 0;
	grid-template-columns: 50px 1fr 1fr 1fr .5fr .5fr;
	grid-template-rows: 1fr;
	column-gap: 20px;
	padding-bottom: 10px;
	align-items: center;
}

.list.compact {
	padding: 0;
	gap: 0;
}

.list.compact .product-card__button,
.list.compact .archived-status,
.list.compact .product-card__actions {
	grid-row: unset;
	grid-column: unset;
}

.list.compact .product-card__button--quickview {
	height: fit-content;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
}

.list.compact .product-card__button--quickview svg {
	height: 21px;
	width: 21px;
}

.list.compact .product-card__price-wrapper {
	padding: 0;
	margin: 0;
}

.list.compact .product-card__price {
	font-size: .9rem;
	font-weight: 400;
}

.list.compact .product-card__price--novat .product-card__price--text,
.list.compact .product-card__price--novat .product-card__price-new {
	font-size: .9rem;
	color: var(--color-price);
	font-weight: 400;
}

.list.compact .product-card__name {
	font-size: .9rem;
	font-weight: 400;
}

.list.compact .product-card__list-wrapper {
	grid-column: 4;
	min-width: 120px;
	grid-row: 1;
}

.list.compact .product-discount-wrapper,
.list.compact .product-new-wrapper {
	position: static;
}

.list.compact .product-card__name {
	margin-bottom: 5px;
}

.list.compact .product-card__button--list {
	height: fit-content;
}

.list.compact a.product-card__button {
	margin-top: 0;
	min-width: 126px;
}

.list.compact .product-card__price {
	text-align: end;
}

.list.compact .product-card__actions--list {
	margin-top: 0;
	min-width: 126px;
	grid-column: 3;
	grid-row: 1;
}

.list.compact .product-card__name--wrapper {
	grid-column: unset;
}

.list.compact .product-card__name--wrapper {
	min-width: 150px;
}

.catalog-compact__row {
	padding: 10px;
	border: unset;
	border-bottom: 1px solid var(--color-border-input);
	border-radius: 0;
	display: grid;
	grid-template-columns: 50px 1fr 1fr 1fr .5fr .5fr;
	grid-template-rows: 1fr;
	column-gap: 20px;
	padding-bottom: 10px;
	align-items: center;
}

.align--end {
	text-align: end;
}

.catalog-compact__row--head {
	font-weight: 600;
	border-bottom: 3px solid #eee;
}

.catalog-compact__cell {
	min-width: 0;
}

/* accessible “visually hidden” helper */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.product-card__stock-wrapper {
	color: #a94442;
	text-align: end;
}

.product-card__stock-wrapper.in-stock {
	color: #3c763d;
}

.mw-100 {
	min-width: 100px;
}

.mw-150 {
	min-width: 150px;
}

.mw-126 {
	min-width: 126px;
}

.mw-120 {
	min-width: 120px;
}

.catalog-compact {
	overflow: auto;
}

.list.compact .product-card__count {
	display: flex;
	border: unset;
	border-radius: unset;
	height: 35px;
	font-size: 1rem;
	font-weight: 600;
	width: fit-content;
	gap: 5px;
}

.product-card__count-button {
	width: 32px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	order: 2;
	border: 1.56px solid var(--color-border-input);
	border-radius: 3px;
}

.product-card__count-input {
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	width: 50px;
	order: 1;
	border: 1.56px solid var(--color-border-input);
	background: #f4f4f4;
	border-radius: 3px;
}

@media(max-width: 1399px) {
	.mq-1400 {
		display: none;
	}
}


@media(min-width: 1400px) {

	.catalog-compact__row,
	.list.compact .product-card {
		grid-template-columns: 50px 1fr 1fr 1fr 1fr .5fr .5fr;
	}

	.list.compact .product-card__actions--list {
		grid-column: 4;
	}

	.list.compact .product-card__list-wrapper {
		grid-column: 5;
	}

	.list.compact .product-card__name .product-card__code {
		display: none;
	}

	.list.compact .product-card__code {
		margin: 0;
	}
}

.block__filters-top .filters {
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
	justify-content: flex-start;
	position: relative;
}

.block__filters-top .js__filter {
	position: relative;
	z-index: 1;
}

.block__filters-top .js__filter.active {
	z-index: 5;
}

.block__filters-top .block__filter.filter-section .block__filter-content {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 240px;
	width: auto;
	height: auto;
	max-height: none;
	overflow: visible;
	z-index: 5;
	background: #fff;
	border: 1px solid var(--color-border-filter);
	padding: 10px;
	border-radius: 10px;
}

.block__filters-top .js__filter.active .block__filter-content {
	border-color: var(--color-text-secondary);
}

.block__filters-top .filter-header:not(:has(.filter-range-hint)) {
	display: none;
}

.block__filters-top .filter-header .js__button__reset,
.block__filters-top .filter-header .js__selected-count {
	display: none;
}

.block__filters-top .block__filter.filter-section .block__filter-content[hidden] {
	display: none;
}

.block__filters-top .block__filter.filter-section.align-right .block__filter-content {
	left: auto;
	right: 0;
}

.block__filters-top .block__filter-title {
	width: 100%;
	justify-content: flex-start;
	gap: 8px;
	min-width: 100%;
	color: var(--color-text-teritary);
	font-size: 1rem;
	padding: 0 13px;
	border-radius: 10px;
	border: 1px solid var(--color-border-filter);
	background: #fff;
	font-weight: 400;
}

.block__filters-top .block__filter-title:hover {
	border-color: var(--color-text-secondary);
}

.block__filters-top .filter--no-options > .block__filter-title {
	cursor: default;
}

.block__filters-top .filter--no-options:not(.filter--active) > .block__filter-title > svg {
	opacity: 0.4;
}

.block__filters-top .block__filter-title svg {
	margin-left: auto;
}

.block__filters-top .filter-title__value {
	display: block;
	min-width: 0;
	color: var(--color-text-secondary);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.2;
}

.block__filters-top .filter-title__value--name {
	max-width: 100px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.block__filters-top .filter-title__reset {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text-secondary);
	cursor: pointer;
}

.block__filters-top .filter-title__reset[hidden] {
	display: none !important;
}

.block__filters-top .filter-title__reset svg {
	display: block;
	width: 10px;
	height: 10px;
}

.block__filters-top .filter--active .block__filter-title {
	padding-right: 42px;
}

.block__filters-top .filter--active .block__filter-title > svg,
.block__filters-top .block__filter-title > svg[hidden] {
	display: none !important;
}

.block__filters-top .js__filter.active .block__filter-title {
	border-color: var(--color-text-secondary);
}

.block__filters-top .block__filter-title svg path {
	stroke: var(--color-text-teritary);
}

.block__filters-top .block__filter-title svg {
	width: 10px;
}

.block__filters-top .block__filter-title span {
	font-weight: 400;
}

.block__filters-top .block__filter-actions {
	justify-content: flex-end;
	margin-top: 0;
	margin-left: auto;
	align-items: center;
	gap: 16px;
}

.block__filters-top .block__filter-actions .button--resetall,
.block__filters-top .block__filter-actions #js__button-resetall {
	height: auto;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--color-text-secondary);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.block__filters-top .block__filter-actions .button--resetall:hover,
.block__filters-top .block__filter-actions #js__button-resetall:hover {
	color: var(--color-text-secondary);
	opacity: 0.85;
	background: transparent;
}

/* Desktop: move active chips out of the products topbar; show them under top filters. */
@media (min-width: 992px) {
	.block__top.block__top--products>.search__terms.desktop {
		display: none !important;
	}

	.block__filters-top .search__terms.desktop.odg-search__terms {
		display: none !important;
		flex-flow: row wrap;
		align-items: center;
		gap: 10px;
		width: 100%;
		margin-top: 10px;
		font-size: 0.875rem;
		font-weight: 400;
		line-height: 1.3;
		color: var(--color-text-teritary);
	}

	.block__filters-top .search__terms.desktop.odg-search__terms form {
		display: inline;
		margin: 0;
	}

	.block__filters-top .search__terms.desktop.odg-search__terms button,
	.block__filters-top .search__terms.desktop.odg-search__terms .button,
	.block__filters-top .search__terms.desktop.odg-search__terms .button__remove,
	.block__filters-top .search__terms.desktop.odg-search__terms .button__clear-all {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		height: auto;
		min-height: 0;
		padding: 0;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: inherit;
		font: inherit;
		font-weight: 400;
		cursor: pointer;
	}

	.block__filters-top .search__terms.desktop.odg-search__terms button:hover,
	.block__filters-top .search__terms.desktop.odg-search__terms button:focus,
	.block__filters-top .search__terms.desktop.odg-search__terms button:active {
		background: transparent;
		border: 0;
		color: var(--color-text-primary);
		text-decoration: underline;
	}

	.block__filters-top .search__terms.desktop.odg-search__terms button svg {
		width: 8px;
		height: 8px;
		flex-shrink: 0;
	}

	.block__filters-top .search__terms.desktop.odg-search__terms button svg path {
		stroke: currentColor;
	}
}

.sidebar__link-arrow {
	justify-content: flex-end;
}

.block__filters-top .search__terms.desktop.odg-search__terms .button__clear-all {
	display: none !important;
}

.filter--active .block__filter-title {
	color: var(--color-text-secondary);
}

.block__filters-top .filter--active .block__filter-title {
	background: color-mix(in srgb, var(--color-text-secondary) 12%, #fff);
	border-color: var(--color-text-secondary);
}

.filter--active .block__filter-title svg path {
	stroke: var(--color-text-secondary);
	fill: var(--color-text-secondary);
}

.filter-options--scrollable {
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	/* max-height is set in JS to ~3 option rows */
}