.bu-bxgy-offer-progress,
.bu-bxgy-gift-chooser {
	--bu-bxgy-accent: #2563eb;
	--bu-bxgy-bar-height: 10px;
	--bu-bxgy-ink: #172033;
	--bu-bxgy-muted: #667085;
	--bu-bxgy-line: #e5e7eb;
	--bu-bxgy-card-bg: #fff;
	--bu-bxgy-card-radius: 10px;
	--bu-bxgy-card-padding: 18px;
	--bu-bxgy-card-shadow: 0 12px 28px rgba(17, 24, 39, .08);
	--bu-bxgy-track-bg: #edf0f4;
	--bu-bxgy-bar-bg: linear-gradient(90deg, var(--bu-bxgy-accent), #14b8a6);
	display: grid;
	gap: 14px;
	width: 100%;
}

.bu-bxgy-offer-progress.is-empty,
.bu-bxgy-gift-chooser.is-empty {
	display: none;
}

.bu-bxgy-progress-card {
	background: var(--bu-bxgy-card-bg);
	border: 1px solid var(--bu-bxgy-line);
	border-radius: var(--bu-bxgy-card-radius);
	box-shadow: var(--bu-bxgy-card-shadow);
	display: grid;
	gap: 14px;
	padding: var(--bu-bxgy-card-padding);
}

.bu-bxgy-progress-copy {
	display: grid;
	gap: 5px;
}

.bu-bxgy-progress-copy .promotion-message {
	color: var(--bu-bxgy-ink);
	font-size: var(--bu-bxgy-title-size, clamp(17px, 2vw, 22px));
	font-weight: bold;
	line-height: 1.25;
}

.bu-bxgy-progress-copy .promotion-summary {
	color: var(--bu-bxgy-muted);
	font-size: var(--bu-bxgy-summary-size, 14px);
}

.bu-bxgy-progress-kicker {
	color: var(--bu-bxgy-accent) !important;
	font-size: 12px !important;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.bu-bxgy-progress-track {
	background: var(--bu-bxgy-track-bg);
	border-radius: 999px;
	overflow: hidden;
	width: 100%;
}

.bu-bxgy-progress-track span {
	background: var(--bu-bxgy-bar-bg);
	border-radius: inherit;
	display: block;
	height: var(--bu-bxgy-bar-height);
	transition: width .25s ease;
}

.bu-bxgy-gift-heading {
	display: grid;
	gap: 4px;
}

.bu-bxgy-gift-heading span {
	color: var(--bu-bxgy-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.bu-bxgy-gift-heading strong {
	color: var(--bu-bxgy-ink);
	font-size: var(--bu-bxgy-title-size, 22px);
	line-height: 1.2;
}

.bu-bxgy-gift-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.bu-bxgy-gift-card {
	background: var(--bu-bxgy-card-bg);
	border: 1px solid var(--bu-bxgy-line);
	border-radius: var(--bu-bxgy-card-radius);
	box-shadow: var(--bu-bxgy-card-shadow);
	display: grid;
	gap: 12px;
	padding: var(--bu-bxgy-card-padding);
}

.bu-bxgy-gift-image {
	background: #f6f7f9;
	border-radius: 8px;
	overflow: hidden;
}

.bu-bxgy-gift-image img {
	display: block;
	height: auto;
	width: 100%;
}

.bu-bxgy-gift-preview-note {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	color: #1d4ed8;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	padding: 11px 12px;
}

.bu-bxgy-gift-preview-image {
	align-items: center;
	aspect-ratio: 1;
	display: flex;
	justify-content: center;
}

.bu-bxgy-gift-preview-image .dashicons {
	color: var(--bu-bxgy-accent);
	font-size: 42px;
	height: 42px;
	width: 42px;
}

.bu-bxgy-gift-card--preview .bu-bxgy-gift-button {
	cursor: default;
	opacity: .84;
}

.bu-bxgy-gift-info {
	display: grid;
	gap: 4px;
	text-align: center;
}

.bu-bxgy-gift-info strong {
	color: var(--bu-bxgy-ink);
	font-size: var(--bu-bxgy-product-title-size, inherit);
	line-height: 1.25;
}

.bu-bxgy-gift-info span {
	color: var(--bu-bxgy-muted);
	font-size: 14px;
}

.bu-bxgy-gift-limit,
.bu-bxgy-gift-notice {
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 12px;
	padding: 10px 12px;
}

.bu-bxgy-gift-limit {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
}

.bu-bxgy-gift-notice.is-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
}

.bu-bxgy-gift-notice.is-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

.bu-bxgy-gift-toast {
	background-color: #047857;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	max-width: calc(100vw - 32px);
	opacity: 0;
	padding: 14px;
	pointer-events: none;
	position: fixed;
	transition: opacity .28s ease, transform .28s ease;
	width: var(--bu-bxgy-toast-width, 340px);
	z-index: 999999;
}

.bu-bxgy-gift-toast.is-error {
	background: var(--bu-bxgy-toast-error-bg, #b91c1c);
}

.bu-bxgy-gift-toast.is-top-right {
	right: var(--bu-bxgy-toast-offset, 24px);
	top: var(--bu-bxgy-toast-offset, 24px);
}

.bu-bxgy-gift-toast.is-top-left {
	left: var(--bu-bxgy-toast-offset, 24px);
	top: var(--bu-bxgy-toast-offset, 24px);
}

.bu-bxgy-gift-toast.is-bottom-right {
	bottom: var(--bu-bxgy-toast-offset, 24px);
	right: var(--bu-bxgy-toast-offset, 24px);
}

.bu-bxgy-gift-toast.is-bottom-left {
	bottom: var(--bu-bxgy-toast-offset, 24px);
	left: var(--bu-bxgy-toast-offset, 24px);
}

.bu-bxgy-gift-toast.is-from-right {
	transform: translateX(28px);
}

.bu-bxgy-gift-toast.is-from-left {
	transform: translateX(-28px);
}

.bu-bxgy-gift-toast.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.bu-bxgy-gift-toast.is-leaving.is-from-right {
	transform: translateX(28px);
}

.bu-bxgy-gift-toast.is-leaving.is-from-left {
	transform: translateX(-28px);
}

.bu-bxgy-gift-button {
	align-items: center;
	background: var(--bu-bxgy-accent);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	padding: 10px 14px;
	text-align: center;
}

.bu-bxgy-gift-button:hover,
.bu-bxgy-gift-button:focus {
	background: #1d4ed8;
	color: #fff;
}

.bu-bxgy-gift-button.is-loading,
.bu-bxgy-gift-button:disabled {
	opacity: .72;
	pointer-events: none;
}

.bu-bxgy-gift-button.is-selected {
	background: #047857;
}

.bu-bxgy-gift-button.is-disabled {
	background: #64748b;
}

.bu-bxgy-gift-empty,
.bu-bxgy-progress-card--empty {
	background: #f8fafc;
	border: 1px dashed var(--bu-bxgy-line);
	border-radius: 10px;
	color: var(--bu-bxgy-muted);
	padding: 16px;
}

.bu-bxgy-gift-badge {
	background: #e8fff6;
	border: 1px solid #99f6e4;
	border-radius: 999px;
	color: #057647;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	margin-left: 8px;
	padding: 5px 8px;
	vertical-align: middle;
}

.bu-bxgy-gift-item .product-quantity,
.bu-bxgy-gift-item .quantity {
	color: #057647;
	font-weight: 800;
}
