.steps {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 60px 120px;
	background: var(--color-white);
}

.steps__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	width: 100%;
	max-width: var(--container-max);
}

.steps__row {
	position: relative;
	width: 100%;
	padding: 24px 0;
}

.steps__list {
	display: flex;
	justify-content: center;
	gap: 50px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	flex: 0 1 300px;
	min-width: 0;
	text-align: center;
}

.steps__icon {
	display: block;
	width: 90px;
	height: 90px;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps__item:hover .steps__icon {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.steps__icon {
		transition: none;
	}

	.steps__item:hover .steps__icon {
		transform: none;
	}
}

.steps__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.steps__title {
	margin: 0;
	color: #000;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.005em;
}

.steps__desc {
	margin: 0;
	color: #000;
	font-size: 16px;
	line-height: 1.5;
	opacity: 0.8;
}

.steps__arrow {
	position: absolute;
	top: 69px;
	width: 231px;
	height: auto;
	pointer-events: none;
}

.steps__arrow--1 {
	left: calc(50% - 294px);
}

.steps__arrow--2 {
	left: calc(50% + 61px);
}

/* Delivery bar (ui/delivery-info) */
.delivery-info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 80px;
	width: 1036px;
	max-width: 100%;
	min-height: 125px;
	padding: 16px 0;
	border: 2px solid #f4f9fd;
	border-radius: 34px;
	background: #f4f9fd;
	color: var(--color-blue);
}

.delivery-info__lead {
	display: flex;
	align-items: center;
	gap: 24px;
}

.delivery-info__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
}

.delivery-info__icon img {
	display: block;
	width: 29.29px;
	height: 29.29px;
}

.delivery-info__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.56;
}

.delivery-info__note {
	margin: 0;
	font-size: 15px;
	line-height: 1.43;
}

.delivery-info__schedule {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.delivery-info__item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.delivery-info__sep {
	display: block;
	flex: none;
}

.delivery-info__slot {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 20px;
}

.delivery-info__days {
	font-size: 15px;
	line-height: 1.43;
}

.delivery-info__time {
	font-family: var(--font-numbers);
	font-size: 18px;
	line-height: 1.56;
	white-space: nowrap;
}

.delivery-info__time--off {
	font-family: var(--font-base);
}

@media (max-width: 1439px) {
	.steps {
		padding-inline: 24px;
	}
}

@media (max-width: 1099px) {
	.steps__arrow {
		display: none;
	}

	.steps__list {
		gap: 24px;
	}

	.delivery-info {
		flex-wrap: wrap;
		gap: 16px 40px;
		padding: 16px;
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.steps {
		gap: 40px;
		padding: 40px 24px;
	}

	.steps__body {
		gap: 40px;
	}

	.steps__row {
		padding: 0;
	}

	.steps__list {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}

	.steps__item {
		flex: none;
		width: 100%;
		max-width: 300px;
	}

	/* Figma: first step text is 16px, the other two 15px */
	.steps__desc {
		font-size: 15px;
		line-height: 21px;
	}

	.steps__item:first-child .steps__desc {
		font-size: 16px;
		line-height: 24px;
	}

	.delivery-info {
		flex-direction: column;
		flex-wrap: nowrap;
		width: 278px;
		min-height: 0;
		gap: 10px;
		padding: 30px;
		border: 0;
		border-radius: 20px;
		background: rgba(242, 248, 254, 0.4);
	}

	.delivery-info__lead {
		flex-direction: column;
		gap: 10px;
	}

	.delivery-info__text {
		max-width: 206px;
		text-align: center;
	}

	.delivery-info__title {
		margin-bottom: 4px;
	}

	.delivery-info__note {
		font-size: 13px;
	}

	.delivery-info__schedule {
		flex-direction: column;
		gap: 4px;
		margin-top: 2px;
	}

	.delivery-info__sep {
		display: none;
	}

	.delivery-info__slot {
		align-items: center;
		min-width: 111px;
		text-align: center;
	}

	.delivery-info__days {
		font-size: 13px;
		line-height: 19px;
	}

	.delivery-info__time {
		font-size: 15px;
		font-weight: 500;
		line-height: 19px;
		letter-spacing: 0.03em;
	}

	.delivery-info__time--off {
		font-weight: 600;
		line-height: 21px;
		letter-spacing: 0;
	}
}
