/* free shipping bar */
.ecs-frakt {
	--ecs-track: #e6e0d5;
	--ecs-fill: #1f4a23;
	padding: 14px 18px;
	border-radius: 14px;
	background: #edf3e6;
	color: #1b1b1b;
	font-family: inherit;
}

.ecs-frakt[hidden] {
	display: none;
}

.ecs-frakt__text {
	margin: 0 0 10px;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.ecs-frakt__text strong,
.ecs-frakt__text .amount {
	font-weight: 700;
}

.ecs-frakt__bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--ecs-track);
}

.ecs-frakt__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--ecs-fill);
	transition: width 0.4s ease;
}

.ecs-frakt.is-done .ecs-frakt__text {
	font-weight: 700;
	color: #1f4a23;
}

/* inside the header side cart */
.elementor-menu-cart__main .ecs-frakt {
	margin: 0 0 16px;
	padding: 12px 14px;
}

.elementor-menu-cart__main .ecs-frakt__text {
	font-size: 0.875rem;
}

/* checkout steps */
.ecs-steps ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.ecs-steps__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #5e6455;
}

.ecs-steps__item + .ecs-steps__item::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 1px;
	background: #e6e0d5;
}

.ecs-steps__item.is-done + .ecs-steps__item::before {
	background: #1f4a23;
}

.ecs-steps .ecs-steps__item a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.ecs-steps .ecs-steps__item a:hover .ecs-steps__label {
	text-decoration: underline;
}

.ecs-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 28px;
	height: 28px;
	border: 2px solid #dcd6cb;
	border-radius: 50%;
	box-sizing: border-box;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
}

.ecs-steps__item.is-current {
	color: #1b1b1b;
}

.ecs-steps__item.is-current .ecs-steps__num {
	border-color: #1b1b1b;
	background: #1b1b1b;
	color: #fff;
}

.ecs-steps__item.is-done {
	color: #1f4a23;
}

.ecs-steps__item.is-done .ecs-steps__num {
	border-color: #1f4a23;
	background: #1f4a23;
	color: #fff;
}

@media (max-width: 767px) {
	.ecs-steps__item + .ecs-steps__item::before {
		width: 14px;
	}

	.ecs-steps__item:not(.is-current) .ecs-steps__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

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

/* empty cart */
.woocommerce .return-to-shop {
	margin: 20px 0 0;
}

.woocommerce .return-to-shop a.button.wc-backward {
	display: inline-flex;
	align-items: center;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: #fe8402;
	color: #1b1b1b;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.woocommerce .return-to-shop a.button.wc-backward:hover {
	background: #f07a00;
	color: #1b1b1b;
}
