.wpfh-fsb-bar {
	background: var(--wpfh-fsb-bg, #f8fafc);
	color: var(--wpfh-fsb-text, #0f172a);
	border: 1px solid #cbd5e1;
	border-radius: var(--wpfh-fsb-radius, 10px);
	padding: 14px 18px;
	margin: 0 0 18px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.wpfh-fsb-ctx-mini_cart {
	padding: 10px 12px;
	margin-bottom: 12px;
	font-size: 13px;
}

.wpfh-fsb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
	font-weight: 600;
	line-height: 1.4;
}

.wpfh-fsb-icon {
	font-size: 1.15em;
	flex-shrink: 0;
}

.wpfh-fsb-message {
	flex: 1;
}

.wpfh-fsb-percent {
	font-size: 0.875em;
	font-weight: 700;
	flex-shrink: 0;
}

.wpfh-fsb-track {
	width: 100%;
	height: var(--wpfh-fsb-height, 12px);
	background: var(--wpfh-fsb-track, #e2e8f0);
	border-radius: 999px;
	overflow: hidden;
}

.wpfh-fsb-fill {
	height: 100%;
	background: var(--wpfh-fsb-fill, #c2410c);
	border-radius: 999px;
	transition: width 0.35s ease, background-color 0.35s ease;
}

.wpfh-fsb-coupon-box {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #cbd5e1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.9em;
}

.wpfh-fsb-coupon-code {
	background: #0f172a;
	color: #ffffff;
	padding: 3px 8px;
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.wpfh-fsb-copy-coupon {
	background: #c2410c;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.wpfh-fsb-copy-coupon:hover,
.wpfh-fsb-copy-coupon:focus {
	background: #9a3412;
	outline: 2px solid #0f172a;
	outline-offset: 1px;
}

.wpfh-fsb-confetti-piece {
	position: absolute;
	top: -8px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	pointer-events: none;
	animation: wpfh-fsb-fall 1.4s ease-out forwards;
}

@keyframes wpfh-fsb-fall {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(110px) rotate(320deg);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpfh-fsb-fill {
		transition: none;
	}
	.wpfh-fsb-confetti-piece {
		display: none;
	}
}
