/* Gift Progress Bar — inherits the theme font (Woodmart). */
.gpbar {
	box-sizing: border-box;
	margin: 0 0 20px;
	padding: 12px 16px;
	color: var(--gpbar-text, #1f2937);
	background: var(--gpbar-bg, #f6f3ff);
	border: 1px solid var(--gpbar-border, #ddd5fb);
	border-radius: 10px;
	font-family: inherit;
	line-height: 1.45;
	text-align: center;
}
.gpbar[hidden] { display: none !important; }
.gpbar__text { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
.gpbar__icon { font-size: 20px; line-height: 1; flex: 0 0 auto; }
.gpbar__msg .woocommerce-Price-amount { font-weight: 700; }
.gpbar__sub { margin-top: 2px; font-size: 12.5px; opacity: .75; }
.gpbar__track {
	margin-top: 10px;
	height: 8px;
	border-radius: 999px;
	background: var(--gpbar-track, #e5e7eb);
	overflow: hidden;
}
.gpbar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--gpbar-fill, #7c5cfc);
	transition: width .4s ease;
}
.gpbar--reached .gpbar__fill { background: var(--gpbar-reached, #15803d); }
.gpbar--reached .gpbar__msg { font-weight: 600; }

/* Mini-cart / side cart: compact. */
.widget_shopping_cart_content .gpbar {
	margin: 0 0 12px;
	padding: 10px 12px;
	text-align: left;
}
.widget_shopping_cart_content .gpbar__text { justify-content: flex-start; font-size: 13.5px; }
.widget_shopping_cart_content .gpbar__icon { font-size: 18px; }

/* Product page. */
.single-product .summary .gpbar { margin: 16px 0 0; }

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