/* PW Free Shipping Progress Bar */
.pwsp-wrap {
	width: 100%;
}

.pwsp-card {
	background: var(--pwsp-bg, #faf4ec);
	border-radius: var(--pwsp-radius, 14px);
	padding: 18px 20px;
	box-sizing: border-box;
	font-family: inherit;
	color: var(--pwsp-text, #7a6a58);
	width: 100%;
}

.pwsp-inner {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pwsp-icon {
	flex: 0 0 auto;
	color: var(--pwsp-accent, #b5402a);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pwsp-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.pwsp-line1 {
	font-size: 0.95rem;
	color: var(--pwsp-text, #7a6a58);
}

.pwsp-line2 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--pwsp-text, #7a6a58);
	letter-spacing: 0.2px;
}

.pwsp-amount {
	color: var(--pwsp-accent, #b5402a);
	font-weight: 700;
}

.pwsp-bar-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}

.pwsp-track {
	position: relative;
	flex: 1 1 auto;
	height: 12px;
	background: var(--pwsp-track, #ecdcc9);
	border-radius: var(--pwsp-bar-radius, 999px);
	overflow: hidden;
}

.pwsp-fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	background: var(--pwsp-bar, #b5402a);
	border-radius: var(--pwsp-bar-radius, 999px);
	transition: width 0.5s ease;
	min-width: 0;
}

.pwsp-goal {
	flex: 0 0 auto;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--pwsp-text, #7a6a58);
	white-space: nowrap;
}

/* wc_price wraps amounts in .woocommerce-Price-amount — keep them tidy inline */
.pwsp-card .woocommerce-Price-amount {
	white-space: nowrap;
}

/* Subtle entrance when the bar refreshes */
.pwsp-card.pwsp-updating {
	opacity: 0.55;
	transition: opacity 0.2s ease;
}

@media (max-width: 480px) {
	.pwsp-card {
		padding: 16px;
	}
	.pwsp-line2 {
		font-size: 1rem;
	}
}
