/* Rewards bar above the block cart and checkout; theme tokens with fallbacks for other themes. */
.gi-rewards {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0 0 1.5rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--wp--preset--color--tint, #d9c2f2);
	border-radius: var(--wp--custom--radius--card, 0.875rem);
	background: color-mix(in srgb, var(--wp--preset--color--tint, #d9c2f2) 35%, var(--wp--preset--color--surface, #fff));
}
.gi-rewards p { margin: 0; }
.gi-rewards.is-applied { border-color: var(--wp--preset--color--primary, #1f7a3d); }
.gi-rewards__use { flex: none; }
.gi-rewards__error { flex-basis: 100%; color: var(--wp--preset--color--strain-sativa, #b32d2e); font-size: 0.875rem; }
.gi-rewards-account__balance { font-size: 2rem; font-weight: 650; margin-bottom: 0.25rem; }

/* Order received, "Create an account": a full-width password field with its label above, so it isn't missed. */
.wc-block-order-confirmation-create-account-form .wc-block-components-text-input {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin: 0 0 1rem;
}
.wc-block-order-confirmation-create-account-form .wc-block-components-text-input label {
	order: -1;
	position: static;
	transform: none;
	font-weight: 600;
}
.wc-block-order-confirmation-create-account-form .wc-block-components-text-input input[type="password"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 3rem;
	padding: 0.625rem 0.875rem;
	border: 2px solid var(--wp--preset--color--primary, #1f7a3d);
	border-radius: var(--wp--custom--radius--field, 0.625rem);
	background: var(--wp--preset--color--surface, #fff);
	color: inherit;
	font: inherit;
}
.wc-block-order-confirmation-create-account-form .wc-block-components-text-input input[type="password"]:focus {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary, #1f7a3d) 35%, transparent);
	outline-offset: 1px;
}
.wc-block-order-confirmation-create-account-form .wc-block-components-password-strength.hidden { display: none; }
.wc-block-order-confirmation-create-account-form .wc-block-components-password-strength__meter {
	width: 100%;
	height: 0.375rem;
}
