.thz-tabs,
.thz-tabs * {
	box-sizing: border-box;
}

.thz-tabs {
	width: 100%;
	background: #fff;
}

.thz-tabs__inner {
	width: 100%;
	margin: 0 auto;
}

.thz-tabs__header {
	text-align: center;
}

.thz-tabs__top-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.thz-tabs__top-icon svg,
.thz-tabs__button-icon svg,
.thz-product__button-icon svg {
	display: block;
	fill: currentColor;
}

.thz-tabs__heading {
	margin: 0;
}

.thz-tabs__description {
	margin: 8px 0 34px;
}

.thz-tabs__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.thz-tabs__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border-style: solid;
	border-color: #e2e5ea;
	background: #fff;
	color: #111827;
	cursor: pointer;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.thz-tabs__button:hover,
.thz-tabs__button:focus-visible,
.thz-tabs__button.is-active {
	background: #5524b8;
	border-color: #5524b8;
	color: #fff;
}

.thz-tabs__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.thz-tabs__panel[hidden] {
	display: none !important;
}

.thz-tabs__panel.is-active {
	animation-name: thzFadeUp;
	animation-timing-function: ease;
	animation-fill-mode: both;
}

.thz-tabs__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 20px;
}

.thz-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	padding: 24px 18px 20px;
	border: 1px solid #e7e9ee;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.thz-product__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 230px;
	margin-bottom: 18px;
	overflow: hidden;
}

.thz-product__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.thz-product__title {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.45;
}

.thz-product__title a {
	text-decoration: none;
}

.thz-product__price {
	margin: 0 0 18px;
	color: #5524b8;
	font-size: 20px;
	font-weight: 700;
}

.thz-product__price del {
	opacity: .55;
	margin-right: 5px;
}

.thz-product__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	border: 1px solid #5524b8;
	border-radius: 6px;
	background: #5524b8;
	color: #fff;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.thz-product__button:hover,
.thz-product__button:focus {
	background: #37127f;
	border-color: #37127f;
	color: #fff;
	text-decoration: none;
}

.thz-tabs__empty {
	margin: 0;
	padding: 30px;
	text-align: center;
}

@keyframes thzFadeUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.thz-tabs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.thz-tabs__nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 5px;
	}

	.thz-tabs__nav::-webkit-scrollbar {
		display: none;
	}

	.thz-tabs__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.thz-mobile-scroll-yes .thz-tabs__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 6px;
	}

	.thz-mobile-scroll-yes .thz-tabs__grid::-webkit-scrollbar {
		display: none;
	}

	.thz-mobile-scroll-yes .thz-product {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.thz-tabs__panel.is-active,
	.thz-tabs__button,
	.thz-product,
	.thz-product__button {
		animation: none !important;
		transition: none !important;
	}
}
