/* Black Friday landing – Section 6a: Steps */

.bf-landing .bf-steps {
	position: relative;
	overflow: hidden;
	background: var(--bf-surface-alt);
	padding-bottom: 0;
}

.bf-landing .bf-steps .bf-section-title {
	margin-bottom: 40px;
	text-align: right;
}

.bf-landing .bf-steps-list {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	margin-bottom: 48px;
	counter-reset: bf-step;
}

.bf-landing .bf-steps-item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 8px 18px;
	gap: 16px;
	counter-increment: bf-step;
}


.bf-steps-item .bf-steps-item-title span {
	position: relative;
}
.bf-steps-item .bf-steps-item-title span::after {
    content: counter(bf-step);
    position: absolute;
    z-index: 0;
    top: -15px;
    right: -15px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #7894D126;
    pointer-events: none;
    user-select: none;
}

.bf-landing .bf-steps-item + .bf-steps-item::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
    margin: 45px 0;
	background-color: transparent;
	background-image: repeating-linear-gradient(
		to bottom,
		var(--bf-border) 0 4px,
		transparent 4px 8px
	);
	pointer-events: none;
}

.bf-landing .bf-steps-icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--bf-blue-pale);
}

.bf-landing .bf-steps-icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.bf-landing .bf-steps-body {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.bf-landing .bf-steps-item-title {
	width: fit-content;
	margin: 0 auto 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	color: var(--bf-text);
}

.bf-landing .bf-steps-item-text {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
	color: var(--bf-text-muted);
}

.bf-landing .bf-steps-logistics {
	width: 100%;
	max-width: var(--bf-container);
	margin-inline: auto;
	padding-inline: 20px;
	margin-bottom: 24px;
}

.bf-landing .bf-steps-logistics-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

@media (max-width: 991.98px) {
	.bf-landing .bf-steps .bf-section-title {
		margin-bottom: 28px;
	}

	.bf-landing .bf-steps-list {
		flex-direction: column;
		margin-bottom: 36px;
	}

	.bf-landing .bf-steps-item {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		text-align: right;
		gap: 16px;
		padding: 20px 0;
	}

	.bf-landing .bf-steps-item + .bf-steps-item::before {
		display: none;
	}

	.bf-landing .bf-steps-item:not(:last-child) {
		border-bottom: 1px solid #E0E0E0;
	}

	.bf-landing .bf-steps-item::after {
		top: 50%;
		right: 6px;
		left: auto;
		font-size: 60px;
		transform: translateY(-42%);
	}

	.bf-landing .bf-steps-body {
		flex: 1 1 auto;
		text-align: start;
		justify-content: flex-start;
	}

	.bf-landing .bf-steps-item-title {
		width: fit-content;
		margin: 0 0 4px;
		margin-inline: 0;
		font-size: 15px;
		text-align: start;
		justify-content: flex-start;
	}

	.bf-steps-item .bf-steps-body h3.bf-steps-item-title > span {
		display: inline-block;
		margin: 0;
		margin-inline: 0;
		text-align: start;
		justify-content: flex-start;
	}

	.bf-steps-item .bf-steps-item-title span::after {
		display: none;
	}

	.bf-landing .bf-steps-logistics {
		display: none;
		margin: 0;
		padding: 0;
	}

	.bf-landing .bf-steps-item-text {
		font-size: 13px;
	}
}

@media (max-width: 767.98px) {
	.bf-landing .bf-steps .bf-section-title {
		margin-bottom: 20px;
	}

	.bf-landing .bf-steps-list {
		margin-bottom: 28px;
	}

	.bf-landing .bf-steps-item {
		padding: 18px 0;
		gap: 14px;
	}

	.bf-landing .bf-steps-item::after {
		right: 4px;
		font-size: 52px;
	}

	.bf-landing .bf-steps-icon {
		width: 52px;
		height: 52px;
	}

	.bf-landing .bf-steps-icon img {
		width: 28px;
		height: 28px;
	}

	.bf-landing .bf-steps-item-title {
		font-size: 14px;
	}

	.bf-landing .bf-steps-item-text {
		font-size: 12px;
		line-height: 1.85;
	}
}
