.jazpiper-faq-widget {
	--jazpiper-surface: #ffffff;
	--jazpiper-border: #dedede;
	--jazpiper-text: #111111;
	--jazpiper-muted: #767676;
	width: 100%;
}

.jazpiper-faq-products {
	display: flex;
	gap: 28px;
	margin: 0 auto 64px;
	overflow-x: auto;
	padding: 4px 4px 12px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.jazpiper-faq-card {
	align-items: center;
	appearance: none;
	aspect-ratio: 1 / 1;
	background: var(--jazpiper-surface);
	border: 2px solid transparent;
	border-radius: 18px;
	cursor: pointer;
	display: flex;
	flex: 0 0 clamp(180px, 20vw, 260px);
	justify-content: center;
	padding: 28px;
	position: relative;
	scroll-snap-align: start;
	transition: border-color 160ms ease, transform 160ms ease;
}

.jazpiper-faq-card:hover,
.jazpiper-faq-card:focus-visible {
	border-color: #9e9e9e;
	outline: none;
}

.jazpiper-faq-card.is-active {
	border-color: #2f7d4f;
}

.jazpiper-faq-card img {
	display: block;
	height: auto;
	max-height: 78%;
	max-width: 100%;
	object-fit: contain;
}

.jazpiper-faq-check {
	align-items: center;
	background: #ffffff;
	border: 2px solid #8f8f8f;
	border-radius: 999px;
	display: flex;
	height: 16px;
	justify-content: center;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 16px;
}

.jazpiper-faq-check::after {
	border-bottom: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
	content: "";
	display: block;
	height: 7px;
	margin-top: -2px;
	transform: rotate(45deg);
	width: 4px;
}

.jazpiper-faq-card:not(.is-active) .jazpiper-faq-check::after {
	border-color: #8f8f8f;
}

.jazpiper-faq-placeholder {
	color: var(--jazpiper-muted);
	font-size: 14px;
	font-weight: 600;
}

.jazpiper-faq-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	margin: 0 auto 48px;
}

.jazpiper-faq-tab {
	appearance: none;
	background: #ffffff;
	border: 1px solid var(--jazpiper-border);
	border-radius: 999px;
	color: #000000;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	min-height: 36px;
	min-width: 138px;
	padding: 0 24px;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.jazpiper-faq-tab.is-active {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

.jazpiper-faq-panels {
	margin: 0 auto;
	max-width: 920px;
	width: 100%;
}

.jazpiper-faq-panel {
	display: none;
}

.jazpiper-faq-panel.is-active {
	display: block;
}

.jazpiper-faq-item {
	border-bottom: 1px solid #cfcfcf;
}

.jazpiper-faq-question {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--jazpiper-text);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: flex-start;
	line-height: 1.45;
	min-height: 48px;
	padding: 12px 0;
	text-align: left;
	width: 100%;
}

.jazpiper-faq-question::before {
	content: "+";
	flex: 0 0 auto;
	font-weight: 900;
	margin-right: 4px;
}

.jazpiper-faq-question[aria-expanded="true"]::before {
	content: "-";
}

.jazpiper-faq-answer {
	color: #333333;
	font-size: 14px;
	line-height: 1.7;
	padding: 0 0 18px 14px;
}

.jazpiper-faq-answer p {
	margin: 0 0 10px;
}

.jazpiper-faq-answer p:last-child {
	margin-bottom: 0;
}

.jazpiper-faq-empty {
	color: var(--jazpiper-muted);
	font-size: 14px;
	margin: 0;
	text-align: center;
}

@media (max-width: 767px) {
	.jazpiper-faq-products {
		gap: 16px;
		margin-bottom: 40px;
	}

	.jazpiper-faq-card {
		border-radius: 14px;
		flex-basis: 190px;
		padding: 22px;
	}

	.jazpiper-faq-tabs {
		gap: 10px;
		justify-content: center;
		margin-bottom: 32px;
		overflow-x: auto;
		padding-bottom: 8px;
	}

	.jazpiper-faq-tab {
		flex: 0 0 auto;
		min-width: 132px;
	}
}
