.drv-mc-widget {
	--mc-blue: #0090e3;
	--mc-blue-dark: #0077bd;
	--mc-green: #0a7a4b;
	--mc-green-soft: #e7f6ee;
	background: #fff;
	border: 1px solid #e6e8e9;
	border-left: 3px solid var(--mc-blue);
	border-radius: 8px;
	padding: 18px 20px 16px;
	margin: 0 0 20px;
	font-family: Poppins, Arial, Helvetica, sans-serif;
	color: #222;
}

.drv-mc-widget.is-max {
	border-left-color: var(--mc-green);
}

.drv-mc-widget__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.drv-mc-widget__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--mc-blue);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.drv-mc-widget.is-max .drv-mc-widget__icon {
	background: var(--mc-green);
}

.drv-mc-widget__icon svg {
	width: 18px;
	height: 18px;
}

.drv-mc-widget__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	flex: 1;
}

.drv-mc-widget__badge {
	display: inline-flex;
	align-items: center;
	background: var(--mc-green-soft);
	color: var(--mc-green);
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 99px;
	white-space: nowrap;
}

.drv-mc-widget__badge.is-pop {
	animation: drv-mc-pop 0.45s ease;
}

.drv-mc-widget__bar {
	position: relative;
	padding: 6px 2px 8px;
	margin: 0;
}

.drv-mc-widget__track {
	height: 10px;
	background: #e4eef4;
	border-radius: 99px;
	overflow: hidden;
}

.drv-mc-widget__fill {
	width: var(--drv-mc-visual, var(--drv-mc-progress, 0%));
	height: 100%;
	background: linear-gradient(90deg, #4db3ef, var(--mc-blue));
	border-radius: 99px;
	transition: width 0.4s ease;
}

.drv-mc-widget.is-max .drv-mc-widget__fill {
	background: linear-gradient(90deg, #3cba7a, var(--mc-green));
}

.drv-mc-widget__steps {
	position: absolute;
	left: 2px;
	right: 2px;
	top: 6px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 10px;
}

.drv-mc-widget__steps li {
	margin: 0;
	flex: 0 0 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.drv-mc-widget__dot {
	position: relative;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #c5d5de;
	box-shadow: 0 0 0 3px #fff;
	box-sizing: border-box;
}

.drv-mc-widget__steps li.is-done .drv-mc-widget__dot {
	background: var(--mc-blue);
	border-color: var(--mc-blue);
}

.drv-mc-widget.is-max .drv-mc-widget__steps li.is-done .drv-mc-widget__dot {
	background: var(--mc-green);
	border-color: var(--mc-green);
}

.drv-mc-widget__steps li.is-done .drv-mc-widget__dot::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.drv-mc-widget__steps li.is-next .drv-mc-widget__dot {
	border-color: var(--mc-blue);
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0, 144, 227, 0.18);
	animation: drv-mc-pulse 1.6s ease-in-out infinite;
}

.drv-mc-widget__legend {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 12px 2px 4px;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	color: #8aa0ad;
}

.drv-mc-widget__legend li {
	margin: 0;
	flex: 0 0 auto;
	line-height: 1.25;
	text-align: center;
}

.drv-mc-widget__legend-min {
	display: block;
}

.drv-mc-widget__legend-value {
	display: block;
	font-size: 10px;
	font-weight: 600;
	color: #a0b0b8;
	margin-top: 2px;
}

.drv-mc-widget__legend li.is-done,
.drv-mc-widget__legend li.is-next {
	color: var(--mc-blue);
}

.drv-mc-widget__legend li.is-done .drv-mc-widget__legend-value,
.drv-mc-widget__legend li.is-next .drv-mc-widget__legend-value {
	color: var(--mc-blue);
}

.drv-mc-widget.is-max .drv-mc-widget__legend li.is-done,
.drv-mc-widget.is-max .drv-mc-widget__legend li.is-done .drv-mc-widget__legend-value {
	color: var(--mc-green);
}

.drv-mc-widget__copy {
	font-size: 14px;
	line-height: 1.45;
	margin: 14px 0 0;
	color: #2a3a44;
}

.drv-mc-widget__nudge {
	font-size: 15px;
	line-height: 1.45;
	margin: 4px 0 0;
	color: var(--mc-blue-dark);
	font-weight: 600;
}

.drv-mc-widget__nudge strong {
	color: var(--mc-blue-dark);
	font-size: 16px;
}

.drv-mc-widget__tagline {
	font-size: 12px;
	color: #7a8f9a;
	margin: 8px 0 0;
	font-style: italic;
}

.drv-mc-widget--mini {
	padding: 12px 14px;
	margin-bottom: 10px;
}

.drv-mc-widget--mini .drv-mc-widget__title {
	font-size: 13px;
}

.drv-mc-widget--mini .drv-mc-widget__icon {
	width: 28px;
	height: 28px;
}

.drv-mc-widget--mini .drv-mc-widget__copy,
.drv-mc-widget--mini .drv-mc-widget__nudge {
	font-size: 12px;
}

.drv-mc-widget--mini .drv-mc-widget__nudge strong {
	font-size: 13px;
}

.drv-mc-widget--mini .drv-mc-widget__badge,
.drv-mc-widget--mini .drv-mc-widget__legend-value {
	display: none;
}

.drv-mc-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	background: #0077bd;
	color: #fff;
	border-radius: 12px;
	line-height: 1;
}

.drv-mc-thumb svg {
	width: 32px;
	height: 32px;
}

.cart_item.drv-mc-cart-item td {
	border-style: dashed !important;
	border-color: #cfe6f4 !important;
}

.cart_item.drv-mc-cart-item {
	background: #f7fbfe;
}

.cart_item.drv-mc-cart-item .drv-mc-item-value {
	display: block;
	color: #0090e3;
	font-size: 12px;
	font-weight: 600;
}

.cart_item.drv-mc-cart-item .drv-mc-item-note {
	display: block;
	color: #7a8f9a;
	font-size: 12px;
	font-weight: 500;
	margin-top: 2px;
}

.drv-mc-gratis {
	display: inline-block;
	background: #e7f6ee;
	color: #0a7a4b;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 99px;
	font-size: 13px;
}

.drv-mc-qty {
	color: #a0b0b8;
	font-weight: 600;
}

@keyframes drv-mc-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(0, 144, 227, 0.18);
	}
	50% {
		box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(0, 144, 227, 0.08);
	}
}

@keyframes drv-mc-pop {
	0% {
		transform: scale(0.92);
	}
	60% {
		transform: scale(1.06);
	}
	100% {
		transform: scale(1);
	}
}

@media (max-width: 767px) {
	.drv-mc-widget {
		margin-left: 0;
		margin-right: 0;
		padding: 16px 14px 18px;
	}

	.drv-mc-widget__head {
		display: grid;
		grid-template-columns: 36px 1fr;
		align-items: center;
		column-gap: 10px;
		row-gap: 10px;
		margin-bottom: 18px;
	}

	.drv-mc-widget__title {
		font-size: 15px;
		line-height: 1.25;
		min-width: 0;
	}

	.drv-mc-widget__badge {
		grid-column: 1 / -1;
		justify-self: start;
		white-space: normal;
		line-height: 1.3;
		padding: 6px 12px;
	}

	.drv-mc-widget__legend-value {
		display: none;
	}

	.drv-mc-widget__nudge {
		font-size: 14px;
	}

	.drv-mc-widget__nudge strong {
		font-size: 15px;
	}

	.drv-mc-thumb {
		width: 54px;
		height: 54px;
	}

	.drv-mc-thumb svg {
		width: 24px;
		height: 24px;
	}
}
