.tec-catalog {
	--tec-accent: #0E7A3B;
	--tec-card-bg: #EEF2EC;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
	width: 100%;
}

.tec-catalog--no-sidebar {
	grid-template-columns: 1fr;
}

/* Sidebar */
.tec-catalog__sidebar {
	background-color: #F4F7F3;
	border-radius: 18px;
	padding: 28px 26px;
}

.tec-catalog__filter-title {
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 700;
	color: var(--tec-accent);
}

.tec-catalog__group + .tec-catalog__group {
	margin-top: 24px;
}

.tec-catalog__group-title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	color: #1A1A1A;
}

.tec-catalog__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tec-catalog__item + .tec-catalog__item {
	margin-top: 12px;
}

.tec-catalog__check {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	user-select: none;
}

.tec-catalog__check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.tec-catalog__box {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border: 1.5px solid #C6D0C6;
	border-radius: 6px;
	background-color: #FFFFFF;
	position: relative;
	transition: background-color .15s ease, border-color .15s ease;
}

.tec-catalog__check input:checked + .tec-catalog__box {
	background-color: var(--tec-accent);
	border-color: var(--tec-accent);
}

.tec-catalog__check input:checked + .tec-catalog__box::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #FFFFFF;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.tec-catalog__check input:focus-visible + .tec-catalog__box {
	outline: 2px solid var(--tec-accent);
	outline-offset: 2px;
}

.tec-catalog__label {
	font-size: 15px;
	color: #3A433C;
}

/* Topbar */
.tec-catalog__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.tec-catalog__count {
	font-size: 16px;
	color: #3A433C;
}

.tec-catalog__sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #F1F4F0;
	border-radius: 999px;
	padding: 8px 18px;
}

.tec-catalog__sort-label {
	font-size: 15px;
	color: #3A433C;
}

.tec-catalog__sort-select {
	border: none;
	background: transparent;
	font-size: 15px;
	color: #1A1A1A;
	cursor: pointer;
	font-weight: 600;
}

.tec-catalog__sort-select:focus {
	outline: none;
}

/* Grid */
.tec-catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.tec-catalog__empty {
	grid-column: 1 / -1;
	color: #3A433C;
}

.tec-catalog__main.is-loading .tec-catalog__results {
	opacity: .45;
	pointer-events: none;
	transition: opacity .15s ease;
}

/* Card */
.tec-card {
	display: flex;
	flex-direction: column;
	background-color: var(--tec-card-bg, #EEF2EC);
	border-radius: 16px;
	padding: 16px;
}

.tec-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #FFFFFF;
	border-radius: 12px;
	padding: 18px;
	height: 210px;
	margin-bottom: 16px;
}

.tec-card__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.tec-card__pill {
	align-self: flex-start;
	background-color: #005E42;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.tec-card__title {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #1A1A1A;
}

.tec-card__title a {
	color: inherit;
	text-decoration: none;
}

.tec-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.tec-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1.5px solid #105128;
	color: #105128;
	background-color: #FFFFFF;
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}

.tec-card__btn:hover {
	background-color: #105128;
	color: #FFFFFF;
}

.tec-card__eye {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #005C3C;
	flex: 0 0 auto;
	transition: opacity .18s ease;
}

.tec-card__eye:hover {
	opacity: .7;
}

/* Pagination */
.tec-catalog__pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 34px;
}

.tec-catalog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 6px;
	border-radius: 50%;
	background-color: #F1F4F0;
	color: #3A433C;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}

.tec-catalog__pagination a.page-numbers:hover {
	background-color: #E0E8DF;
}

.tec-catalog__pagination .page-numbers.current {
	background-color: #105128;
	color: #FFFFFF;
}

.tec-catalog__pagination .page-numbers.dots {
	background: transparent;
}

.tec-catalog__pagination .page-numbers.prev,
.tec-catalog__pagination .page-numbers.next {
	color: var(--tec-accent);
}

/* Responsive */
@media (max-width: 1024px) {
	.tec-catalog {
		grid-template-columns: 240px 1fr;
		gap: 24px;
	}

	.tec-catalog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.tec-catalog {
		grid-template-columns: 1fr;
	}

	.tec-catalog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.tec-catalog__grid {
		grid-template-columns: 1fr;
	}

	.tec-catalog__pagination {
		justify-content: center;
	}
}
