/* Best Before Back in Stock - subscribe form (product page + quick view). */

.bbbis-form-wrap {
	margin: 12px 0;
	padding: 14px 16px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fafafa;
	max-width: 420px;
}

.bbbis-form__intro {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
}

/* Honeypot: visually hidden, never display:none (some bots skip that), never
   shown to sighted users, ignored by screen readers via the parent's
   aria-hidden plus tabindex="-1" on the field itself. */
.bbbis-form__hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bbbis-form__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}

.bbbis-form__email {
	flex: 1 1 200px;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.bbbis-form__submit {
	flex: 0 0 auto;
	white-space: nowrap;
}

.bbbis-form__push-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	font-size: 13px;
	cursor: pointer;
}

.bbbis-form__push-checkbox {
	width: 16px;
	height: 16px;
	margin: 0;
	flex: none;
}

.bbbis-form__consent {
	margin: 10px 0 0;
	font-size: 12px;
	color: #666;
}

.bbbis-form__consent a {
	text-decoration: underline;
}

.bbbis-form__msg {
	margin: 8px 0 0;
	font-size: 13px;
	min-height: 1em;
}

.bbbis-form__msg.is-success {
	color: #2a7a2a;
}

.bbbis-form__msg.is-error {
	color: #c8202e;
}

.bbbis-form.is-subscribed .bbbis-form__row,
.bbbis-form.is-subscribed .bbbis-form__consent {
	opacity: 0.6;
}

/* Reduced quick-view fallback fragment (class-bbbis-frontend.php's
   get_minimal_quick_view_html()) - used only when the theme's own quick
   view fragment 404s for an out-of-stock product. */
.bb-quickview__fallback {
	padding: 24px;
	max-width: 420px;
}

.bb-quickview__fallback-image img {
	max-width: 160px;
	height: auto;
	margin-bottom: 12px;
}

.bb-quickview__fallback-name {
	font-size: 16px;
	margin: 0 0 4px;
}

.bb-quickview__fallback-note {
	color: #c8202e;
	margin: 0 0 12px;
	font-size: 13px;
}

.bb-quickview__fallback-link {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	text-decoration: underline;
}
