/* Sivupaneelikorin välitön palaute */

#cfw-side-cart .cart-item-row.kt-ok-removing {
	display: none;
}

#cfw-side-cart .cfw-side-cart-totals,
#cfw-side-cart .cfw-cart-item-subtotal {
	transition: opacity .15s;
}

#cfw-side-cart.kt-ok-cart-busy .cfw-side-cart-totals,
#cfw-side-cart.kt-ok-cart-busy .cfw-cart-item-subtotal {
	opacity: .45;
}

#cfw-side-cart.kt-ok-cart-pending-on #cfw_empty_side_cart_message {
	visibility: hidden;
}

.kt-ok-cart-pending {
	position: absolute;
	z-index: 20;
	right: 24px;
	left: 24px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #C9DBF7;
	border-radius: 4px;
	background: #EEF4FD;
	color: #1B2430;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 2px 8px rgba(27, 36, 48, .08);
}

.kt-ok-cart-pending__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.kt-ok-cart-pending__label {
	color: #0B57D0;
	font-size: 13px;
	font-weight: 600;
}

.kt-ok-cart-pending__title {
	font-weight: 700;
}

.kt-ok-cart-pending__detail {
	color: #4F5866;
	font-size: 13px;
}

.kt-ok-cart-pending__spinner {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 2px solid #C9DBF7;
	border-top-color: #0B57D0;
	border-radius: 50%;
	animation: kt-ok-spin .7s linear infinite;
}

@keyframes kt-ok-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 549px) {
	.kt-ok-cart-pending {
		right: 16px;
		left: 16px;
	}
}

/* Verkkokoulutuksen säästömittari tuotesivulla */

.kt-ok-qmeter {
	margin: 12px 0 4px;
	color: #1B2430;
	font-size: 13px;
	line-height: 1.4;
}

.kt-ok-qmeter:empty {
	display: none;
}

.kt-ok-qmeter.is-loading {
	opacity: .55;
	transition: opacity .15s;
}

.kt-ok-qmeter__sum {
	margin-bottom: 8px;
	color: #2C3440;
	font-size: 14px;
	font-weight: 600;
}

.kt-ok-qmeter__box {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 10px 12px;
	border: 1px solid #E4E8EE;
	border-radius: 4px;
	background: #F7F9FC;
}

.kt-ok-qmeter__head {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.kt-ok-qmeter__count {
	flex: none;
	color: #4F5866;
	white-space: nowrap;
}

.kt-ok-qmeter__track {
	height: 6px;
	overflow: hidden;
	border-radius: 99px;
	background: #E4E8EE;
}

.kt-ok-qmeter__fill {
	height: 100%;
	background: #4CAF8F;
	transition: width .25s;
}

.kt-ok-qmeter__save,
.kt-ok-qmeter__hint {
	color: #2C3440;
	font-size: 12px;
}

.kt-ok-qmeter__max {
	color: #1F7A5C;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.kt-ok-cart-pending__spinner {
		animation-duration: 2s;
	}

	.kt-ok-qmeter__fill {
		transition: none;
	}
}
