/* BD Back In Stock — front-end styles. Deliberately light so it inherits the theme. */

.bd-bis {
	margin: 1.5em 0;
}

.bd-bis__intro {
	margin: 0 0 .6em;
	font-size: 1.2em;
}

.bd-bis__form {
	display: flex;
	flex-wrap: nowrap;
	gap: .5em;
	flex-direction: column;
}

.bd-bis__email {
	flex: 1 1 40px;
	padding: .6em .8em;
	border-radius: 6px;
}

.bd-bis__button.button {
	padding: 10px 10px;
	border-radius: 6px;
}

/* Shop / category cards. */
.bd-bis--loop {
	margin: .5em 0 0;
}

.bd-bis__loop-intro {
	margin: 0 0 .6em;
	font-size: .95em;
	line-height: 1.4;
}

.bd-bis__loop-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
}

.bd-bis__loop-actions > a {
	white-space: nowrap;
}

.bd-bis__form--loop {
	margin-top: .35em;
}

/* Once the form is open, the trigger goes quiet but stays put. */
.bd-bis--open .bd-bis__notify-toggle {
	opacity: .45;
	pointer-events: none;
	cursor: default;
	filter: grayscale(1);
}

.bd-bis__form--loop[hidden] {
	display: none;
}

/* Turnstile sits under the button; zero footprint in interaction-only mode. */
.bd-bis__turnstile {
	display: flex;
	justify-content: center;
	line-height: 0;
}

.bd-bis__turnstile:empty {
	display: none;
}

/* Honeypot — visually and assistively hidden, still submitted by bots. */
.bd-bis__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bd-bis__consent-label {
	flex: 1 1 100%;
	font-size: .85em;
	display: flex;
	gap: .4em;
	align-items: flex-start;
}

.bd-bis__lead {
	margin: .5em 0;
	font-size: .95em;
	opacity: .85;
}

.bd-bis__lead-prefix {
	font-weight: 600;
	opacity: 1;
}

.bd-bis__message {
	flex: 1 1 100%;
	margin: .4em 0 0;
	font-size: 1.2em;
	min-height: 1.2em;
}

.bd-bis__message--error {
	color: #b32d2e;
}

.bd-bis__message--success {
	color: #1a7f37;
}
