.zp-pilzbox-steps {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

/* Left card */
.zp-ps-left {
	flex: 0 0 50%;
	max-width: 622px;
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.zp-ps-image-wrap {
	width: 100%;
	height: 300px;
	flex-shrink: 0;
	overflow: hidden;
}

.zp-ps-image-panel {
	display: none;
	width: 100%;
	height: 100%;
}

.zp-ps-image-panel.active {
	display: block;
	animation: zp-ps-fadein 0.3s ease;
}

.zp-pilzbox-steps .zp-ps-image {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

.zp-ps-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Content panels: show/hide with fade animation */
.zp-ps-content-panel {
	display: none;
	flex-direction: column;
	gap: 12px;
}

.zp-ps-content-panel.active {
	display: flex;
	animation: zp-ps-fadein 0.3s ease;
}

@keyframes zp-ps-fadein {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: translateY(0); }
}

.zp-ps-title {
	font-size: 40px;
	font-weight: 900;
	color: #0d0e34;
	margin: 0;
	line-height: 1.1;
}

.zp-ps-desc {
	font-size: 18px;
	line-height: 1.5;
	color: #0d0e34;
	margin: 0;
}

/* CTA row (WhatsApp / Telegram) */
.zp-ps-cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 6px;
}

.zp-ps-btn {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
	padding: 17px 24px;
	border-radius: 9999px;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	text-decoration: none;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
	transition: opacity 0.2s ease;
	cursor: pointer;
	border: none;
}

.zp-ps-btn:hover {
	opacity: 0.85;
	text-decoration: none;
}

.zp-ps-btn-whatsapp {
	background-color: #2fbf71;
	color: #ffffff;
}

.zp-ps-btn-whatsapp:hover {
	color: #ffffff;
}

.zp-ps-btn-telegram {
	background-color: #0088cc;
	color: #ffffff;
}

.zp-ps-btn-telegram:hover {
	color: #ffffff;
}

/* Give the action buttons a full row at tablet widths so their icon and label
 * have enough room to stay readable. */
@media (max-width: 1024px) {
	.zp-ps-cta-row {
		flex-direction: column;
	}

	.zp-ps-btn {
		flex: 0 0 auto;
		width: 100%;
	}
}

/* Right column */
.zp-ps-right {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Dark panel */
.zp-ps-panel {
	background-color: #0d0e34;
	border: 2px solid #171947;
	border-radius: 16px;
	padding: 24px;
}

.zp-ps-steps-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Step buttons */
.zp-ps-step {
	width: 100%;
	box-sizing: border-box;
	padding: 18px;
	background-color: #ffffff;
	color: #0d0e34;
	border: 1px solid transparent;
	border-radius: 16px;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	line-height: 1;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.zp-ps-step:hover {
	background-color: #f5f5f5;
}

.zp-ps-step.active {
	background-color: #ffd200;
	border-color: #171947;
	color: #0d0e34;
}

.zp-ps-step.active:hover {
	background-color: #ffd200;
}

/* Always yellow — overrides normal and active states */
.zp-ps-step--always-yellow,
.zp-ps-step--always-yellow:hover {
	background-color: #ffd200 !important;
	border-color: #171947 !important;
}

/* Bottom CTA */
.zp-ps-bottom-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 17px 24px;
	background-color: #ffd200;
	color: #0d0e34;
	border-radius: 9999px;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	transition: opacity 0.2s ease;
}

.zp-ps-bottom-cta:hover {
	opacity: 0.85;
	color: #0d0e34;
	text-decoration: none;
}

/* Mobile: stack columns and keep the selected step media visible */
@media (max-width: 767px) {
	.zp-pilzbox-steps {
		flex-direction: column;
		gap: 12px !important;
		width: 100%;
		overflow-x: hidden;
	}

	.zp-ps-left {
		order: 2;
		flex: none;
		width: 100%;
		max-width: 100%;
		border-radius: 0 !important;
	}

	.zp-ps-right {
		display: contents;
	}

	.zp-ps-panel {
		order: 1;
		width: 100%;
		box-sizing: border-box;
		padding: 12px !important;
	}

	.zp-ps-bottom-cta {
		order: 3;
		width: 100%;
		box-sizing: border-box;
	}

	.zp-ps-image-wrap {
		display: block;
	}

	.zp-ps-title {
		font-size: 28px;
	}

	.zp-ps-title::after {
		content: '';
		display: block;
		width: 100%;
		height: 1px;
		margin-top: 18px;
		background-image: url('../images/pilzbox-steps-title-divider.svg');
		background-repeat: repeat-x;
		background-position: left center;
		background-size: 319px 1px;
	}

	.zp-ps-btn {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 15px;
		padding: 14px 16px;
		white-space: normal;
		word-break: break-word;
	}

	.zp-ps-step {
		font-size: 14px;
		padding: 14px;
		white-space: normal;
		word-break: break-word;
	}

	.zp-ps-bottom-cta {
		word-break: break-word;
	}
}
