/* MagicKit Pro - Step Flow */
.mk-steps {
	--mk-step-accent: var(--mk-primary);
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-step {
	position: relative;
	display: flex;
	gap: 22px;
	padding-bottom: 28px;
}

.mk-step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 46px;
	bottom: 0;
	left: 21px;
	width: 2px;
	background: linear-gradient(var(--mk-step-accent), color-mix(in srgb, var(--mk-step-accent) 15%, transparent));
}

.mk-step__marker {
	position: relative;
	z-index: 1;
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mk-step-accent);
	color: #fff;
	font-weight: 800;
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--mk-step-accent) 15%, transparent);
	transition: background var(--mk-speed) ease;
}

.mk-step__marker svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mk-step__card {
	flex: 1;
	min-width: 0;
	padding: 4px 0 0;
}

.mk-step__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.mk-step__title {
	flex: 1;
	margin: 0;
	color: var(--mk-dark);
	font-size: 20px;
}

.mk-step__time {
	padding: 3px 10px;
	border-radius: 20px;
	background: var(--mk-soft);
	color: var(--mk-step-accent);
	font-size: 12px;
	font-weight: 700;
}

.mk-step__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--mk-text);
	font-size: 13px;
	cursor: pointer;
}

.mk-step__check input {
	accent-color: var(--mk-step-accent);
}

.mk-step__content {
	color: var(--mk-text);
}

.mk-step__content > :last-child {
	margin-bottom: 0;
}

.mk-step__image img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 14px;
	border-radius: 12px;
	box-shadow: var(--mk-shadow);
}

.mk-step.is-done .mk-step__marker {
	background: #16a34a;
}

.mk-step.is-done .mk-step__title {
	text-decoration: line-through;
	opacity: 0.6;
}

/* Horizontal */
.mk-steps-horizontal .mk-steps {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 22px;
}

.mk-steps-horizontal .mk-step {
	flex-direction: column;
	padding-bottom: 0;
}

.mk-steps-horizontal .mk-step:not(:last-child)::before {
	top: 21px;
	left: 46px;
	right: -22px;
	bottom: auto;
	width: auto;
	height: 2px;
}

@media (max-width: 767px) {
	.mk-steps-horizontal .mk-steps {
		grid-auto-flow: row;
	}
	.mk-steps-horizontal .mk-step:not(:last-child)::before {
		display: none;
	}
}
