.imsf-steps {
	margin: 20px 0 32px;
}

.imsf-steps ol {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 0;
	list-style: none;
}

.imsf-steps__item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
}

.imsf-steps__item:not(:last-child)::after {
	position: absolute;
	top: 14px;
	right: calc(-50% + 17px);
	left: calc(50% + 17px);
	height: 2px;
	background: #d5d5d5;
	content: '';
}

.imsf-steps__item.is-complete:not(:last-child)::after {
	background: #be0225;
}

.imsf-steps__link,
.imsf-steps__content {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.imsf-steps__circle {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border: 2px solid #999;
	border-radius: 50%;
	background: #fff;
	color: #555;
	font-size: 13px;
	font-weight: 700;
}

.imsf-steps__item.is-active .imsf-steps__circle,
.imsf-steps__item.is-complete .imsf-steps__circle {
	border-color: #be0225;
	background: #be0225;
	color: #fff;
}

.imsf-steps__item.is-active .imsf-steps__link,
.imsf-steps__item.is-active .imsf-steps__content,
.imsf-steps__item.is-complete .imsf-steps__link {
	color: #222;
}

.imsf-steps__link:focus-visible {
	outline: 2px solid #be0225;
	outline-offset: 4px;
}

@media (max-width: 782px) {
	.imsf-steps {
		margin: 16px 0 24px;
	}

	.imsf-steps__link,
	.imsf-steps__content {
		gap: 6px;
		font-size: 12px;
	}

	.imsf-steps__item:not(.is-active) .imsf-steps__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		clip-path: inset(50%);
	}
}

/* Notka B2B nad koszykiem i kasa (wspolna z paskiem krokow - ten arkusz laduje sie na obu stronach). */
.imsf-b2b-notice {
	margin: 0 0 24px;
	padding: 10px 14px;
	border-left: 3px solid #be0225;
	background: #f7f7f7;
	color: #222;
	font-size: 14px;
	line-height: 1.5;
}

.imsf-b2b-notice strong {
	font-weight: 600;
}

.imsf-cart-header .imsf-b2b-notice {
	margin-top: -8px;
}

