.telex-pfw {
	--telex-pfw-blue: #dbeaf8;
	--telex-pfw-line: #2d355b;
	--telex-pfw-text: #171717;
	--telex-pfw-card-text: #283457;
	--telex-pfw-border: #d8d9e5;
	--telex-pfw-muted: #444444;
	color: var(--telex-pfw-text);
	font-family: Georgia, "Times New Roman", serif;
}

.telex-pfw__shell {
	max-width: 1220px;
	margin: 0 auto;
	padding: 44px 20px 28px;
	background: #ffffff;
}

.telex-pfw__hero {
	display: flex;
	justify-content: center;
	margin-bottom: 54px;
}

.telex-pfw__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 4.2rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-align: center;
}

.telex-pfw__emoji {
	font-size: 0.78em;
	line-height: 1;
}

.telex-pfw__progress {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 360px;
	margin: 120px auto 62px;
}

.telex-pfw__progress-track {
	position: relative;
	width: calc(100% - 100px);
	height: 3px;
	margin: -30px 17px;
	border-radius: 999px;
	background: var(--telex-pfw-line);
}

.telex-pfw__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--telex-pfw-line);
	transition: width 0.3s ease;
}

.telex-pfw__progress-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}

.telex-pfw__progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--telex-pfw-text);
	cursor: pointer;
	text-align: center;
	font-family: inherit;
}

.telex-pfw__progress-step:disabled {
	cursor: default;
	opacity: 1;
}

.telex-pfw__progress-count {
	display: inline-block;
	width: 28px;
	height: 28px;
	border: 3px solid var(--telex-pfw-line);
	border-radius: 50%;
	background: #ffffff;
	position: relative;
	z-index: 1;
}

.telex-pfw__progress-step.is-active .telex-pfw__progress-count,
.telex-pfw__progress-step.is-complete .telex-pfw__progress-count {
	background: var(--telex-pfw-blue);
}

.telex-pfw__progress-label {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.98rem;
	font-weight: 500;
}

.telex-pfw__selection {
	display: none;
}

.telex-pfw__step {
	display: none;
}

.telex-pfw__step.is-active {
	display: block;
	animation: telexPfwFadeIn 0.24s ease;
}

.telex-pfw__card-grid {
	display: grid;
	justify-content: center;
	gap: 36px;
	margin-bottom: 28px;
}

.telex-pfw__card-grid--types {
	grid-template-columns: repeat(3, minmax(180px, 220px));
}

.telex-pfw__card-grid--preferences {
	grid-template-columns: repeat(4, minmax(180px, 220px));
}

.telex-pfw__choice-card {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 16px;
	min-height: 220px;
	padding: 0px 0px 22px 0px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: #e4f3ff;
	color: var(--telex-pfw-card-text);
	cursor: pointer;
	text-align: center;
	box-shadow: none;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.telex-pfw__choice-card:hover,
.telex-pfw__choice-card:focus-visible,
.telex-pfw__choice-card.is-selected {
	transform: translateY(-2px);
	border-color: #aac0db;
	outline: none;
}

.telex-pfw__choice-media {
	display: grid;
	place-items: center;
	width: 100%;
	/*max-width: 132px;*/
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.telex-pfw__choice-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.telex-pfw__choice-placeholder {
	font-size: 3rem;
	font-weight: 700;
	color: var(--telex-pfw-card-text);
}

.telex-pfw__choice-label {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
}

.telex-pfw__products {
	display: grid;
	grid-template-columns: repeat(4, minmax(190px, 245px));
	justify-content: center;
	gap: 26px;
	margin-bottom: 24px;
}

.telex-pfw__product-card {
	display: grid;
	grid-template-rows: auto auto;
	text-decoration: none;
	color: inherit;
	background: transparent;
	box-shadow: none;
	transition: transform 0.18s ease;
}

.telex-pfw__product-card:hover,
.telex-pfw__product-card:focus-visible {
	transform: translateY(-3px);
	outline: none;
}

.telex-pfw__product-media {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 322px;
	padding: 22px;
	border: 1px solid var(--telex-pfw-border);
	border-radius: 8px;
	background: linear-gradient(135deg, #f7eded, #f4f0f0);
}

.telex-pfw__product-media img {
	display: block;
	width: 100%;
	max-width: 164px;
	height: auto;
	max-height: 242px;
	object-fit: contain;
}

.telex-pfw__product-placeholder {
	font-size: 3rem;
	font-weight: 700;
	color: rgba(23, 23, 23, 0.56);
}

.telex-pfw__product-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 8px 18px;
	border-radius: 999px;
	background: #74252b;
	color: #ffffff;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
}

.telex-pfw__product-body {
	padding-top: 18px;
}

.telex-pfw__product-meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.telex-pfw__product-name {
	flex: 1 1 auto;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.35;
}

.telex-pfw__product-price {
	flex: 0 0 auto;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: var(--telex-pfw-text);
}

.telex-pfw__empty {
	margin: 0 auto 24px;
	max-width: 720px;
	padding: 28px;
	border: 1px dashed #c5d5ea;
	border-radius: 16px;
	background: #f8fbff;
	text-align: center;
	color: var(--telex-pfw-muted);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.telex-pfw__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	min-height: 56px;
}

.telex-pfw__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--telex-pfw-text);
	cursor: pointer;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 700;
}

.telex-pfw__back-arrow {
	font-size: 1.25rem;
	line-height: 1;
}

.telex-pfw__customer-row {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 10px;
}

.telex-pfw__customer-avatars {
	display: inline-flex;
	align-items: center;
	padding-left: 10px;
}

.telex-pfw__customer-avatar {
	width: 32px;
	height: 32px;
	margin-left: -10px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(18, 18, 18, 0.12);
}

.telex-pfw__customer-avatar--one {
	background: radial-gradient(circle at 38% 30%, #ffdbbb 0 23%, #5d3b2a 24% 40%, #596ab0 41% 100%);
}

.telex-pfw__customer-avatar--two {
	background: radial-gradient(circle at 38% 30%, #ffd8bf 0 23%, #2f2f36 24% 40%, #7ec2ef 41% 100%);
}

.telex-pfw__customer-avatar--three {
	background: radial-gradient(circle at 38% 30%, #efc59f 0 23%, #4f2f1d 24% 40%, #efc87b 41% 100%);
}

.telex-pfw__customer-text {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	color: #3d3d3d;
}

.telex-pfw__customer-text strong {
	font-size: 1.05em;
	font-weight: 700;
}

.telex-pfw__products .telex-pfw__product-card:nth-child(4n + 1) .telex-pfw__product-media {
	background: linear-gradient(135deg, #f6ebeb, #f5f1f1);
}

.telex-pfw__products .telex-pfw__product-card:nth-child(4n + 2) .telex-pfw__product-media {
	background: linear-gradient(135deg, #eeeff9, #f3f4fb);
}

.telex-pfw__products .telex-pfw__product-card:nth-child(4n + 3) .telex-pfw__product-media {
	background: linear-gradient(135deg, #eaf7f8, #f2f9fa);
}

.telex-pfw__products .telex-pfw__product-card:nth-child(4n + 4) .telex-pfw__product-media {
	background: linear-gradient(135deg, #faf6df, #f8f7ee);
}

.telex-pfw__products .telex-pfw__product-card:nth-child(4n + 4) .telex-pfw__product-badge {
	background: #efc341;
}

@keyframes telexPfwFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.telex-pfw__card-grid--preferences,
	.telex-pfw__products {
		grid-template-columns: repeat(2, minmax(190px, 245px));
	}
}

@media (max-width: 800px) {
	.telex-pfw__card-grid--types {
		grid-template-columns: repeat(2, minmax(180px, 220px));
	}
}

@media (max-width: 767px) {
	.telex-pfw__shell {
		padding: 28px 16px 20px;
	}

	.telex-pfw__title {
		font-size: clamp(2rem, 9vw, 3rem);
	}

	.telex-pfw__progress {
		max-width: 320px;
		margin-bottom: 42px;
	}

	.telex-pfw__progress-label {
		font-size: 0.9rem;
	}

	.telex-pfw__card-grid--types,
	.telex-pfw__card-grid--preferences {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.telex-pfw__choice-card {
		min-height: 180px;
	}

	.telex-pfw__products {
		grid-auto-flow: column;
		grid-auto-columns: minmax(78%, 1fr);
		grid-template-columns: none;
		overflow-x: auto;
		padding-bottom: 10px;
		scroll-snap-type: x mandatory;
	}

	.telex-pfw__product-card {
		scroll-snap-align: start;
	}

	.telex-pfw__customer-row {
		flex-direction: column;
		text-align: center;
	}
}