/* Back in Stock Notifier by Aahav Labs - premium frontend styles */

:root {
	--aahav-bisn-accent: var(--wd-primary-color, #111111);
	--aahav-bisn-text: var(--wd-text-color, #242424);
	--aahav-bisn-muted: var(--wd-title-color, #d6d6d6);
	--aahav-bisn-border: var(--wd-form-brd-color, rgba(255, 255, 255, .12));
	--aahav-bisn-bg: var(--wd-form-bg, #303030);
	--aahav-bisn-panel-bg: var(--aahav-bisn-theme-panel-bg, #232323);
	--aahav-bisn-panel-text: var(--aahav-bisn-theme-panel-text, #ffffff);
	--aahav-bisn-soft: color-mix(in srgb, var(--aahav-bisn-accent) 7%, #ffffff);
	--aahav-bisn-radius: var(--wd-form-brd-radius, var(--wd-brd-radius, 0px));
	--aahav-bisn-action-width: 100%;
}

.aahav-bisn-notify-wrap {
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: 10px 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	color: var(--aahav-bisn-text);
	box-sizing: border-box;
}


.aahav-bisn-notify-wrap.aahav-bisn-positioned-near-stock {
	width: 100%;
	max-width: 100%;
	margin: 10px 0 18px;
	text-align: left;
}


.aahav-bisn-notify-wrap *,
.aahav-bisn-notify-wrap *::before,
.aahav-bisn-notify-wrap *::after,
.woocommerce-table--back-in-stock-notifications *,
.woocommerce-table--back-in-stock-notifications *::before,
.woocommerce-table--back-in-stock-notifications *::after {
	box-sizing: border-box;
}

.aahav-bisn-mini-copy {
	margin: 0 0 12px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: .01em;
	color: var(--aahav-bisn-panel-text);
	text-align: left;
}


body .aahav-bisn-toggle-btn.button,
body .aahav-bisn-submit-btn.button {
	min-height: 42px;
	padding-inline: 20px;
	width: 100%;
	white-space: nowrap;
}


body .aahav-bisn-toggle-btn.button::after { display:none; }


.aahav-bisn-notify-wrap.aahav-bisn-is-open .aahav-bisn-toggle-btn.button::after {
	transform: rotate(225deg) translate(-1px, -1px);
}

body .aahav-bisn-toggle-btn.button:hover,
body .aahav-bisn-toggle-btn.button:focus-visible,
body .aahav-bisn-submit-btn.button:hover,
body .aahav-bisn-submit-btn.button:focus-visible {
	border-color: var(--btn-accented-bgcolor-hover, var(--aahav-bisn-accent));
	background: var(--btn-accented-bgcolor-hover, var(--aahav-bisn-accent));
	color: var(--btn-accented-color-hover, var(--btn-accented-color, #ffffff));
	box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
	transform: translateY(-1px);
}

body .aahav-bisn-toggle-btn.button:disabled,
body .aahav-bisn-submit-btn.button:disabled,
body .aahav-bisn-submit-btn.button.aahav-bisn-loading {
	opacity: .72;
	cursor: progress;
	transform: none;
	box-shadow: none;
}

.aahav-bisn-form {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--aahav-bisn-border);
	border-radius: calc(var(--aahav-bisn-radius) + 4px);
	background: var(--aahav-bisn-panel-bg);
	box-shadow: none;
	font: inherit;
	text-align: left;
}


.aahav-bisn-fields-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: stretch;
}


.aahav-bisn-field {
	margin: 0 0 10px;
}

.aahav-bisn-fields-row .aahav-bisn-field {
	margin-bottom: 0;
}

.aahav-bisn-field label,
.aahav-bisn-field .aahav-bisn-label {
	display: block;
	margin-bottom: 6px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--aahav-bisn-muted);
}

.aahav-bisn-field label.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


.aahav-bisn-field input[type="email"],
.aahav-bisn-field textarea {
	width: 100%;
	min-height: 42px;
	padding: 11px 14px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: var(--aahav-bisn-radius);
	background: rgba(255,255,255,.06);
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}


.aahav-bisn-field input[type="email"]::placeholder,
.aahav-bisn-field textarea::placeholder {
	color: rgba(255,255,255,.72);
}


.aahav-bisn-field input[type="email"]:focus,
.aahav-bisn-field textarea:focus {
	border-color: color-mix(in srgb, var(--btn-accented-bgcolor, var(--aahav-bisn-accent)) 55%, white);
	outline: none;
	box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}


.aahav-bisn-submit-field {
	min-width: 140px;
}


body .aahav-bisn-submit-btn.button {
	min-height: var(--btn-height, 46px);
	padding-inline: 18px;
}

.aahav-bisn-note-field,
.aahav-bisn-consent-field {
	margin-top: 10px;
}

.aahav-bisn-field textarea {
	min-height: 72px;
	resize: vertical;
}

.aahav-bisn-consent-field label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.45;
	color: var(--aahav-bisn-muted);
}

.aahav-bisn-consent-field input[type="checkbox"] {
	flex: 0 0 auto;
	margin-top: 2px;
}

.aahav-bisn-message {
	min-height: 0;
	margin-top: 10px;
	padding: 0;
	font-family: inherit;
	font-size: 12.5px;
	line-height: 1.5;
	color: #b91c1c;
	text-align: center;
}

.aahav-bisn-message:not(:empty) {
	padding: 9px 10px;
	border-radius: var(--aahav-bisn-radius);
	background: rgba(185, 28, 28, .07);
}

.aahav-bisn-message.aahav-bisn-notice {
	color: var(--aahav-bisn-muted);
	background: color-mix(in srgb, var(--aahav-bisn-accent) 7%, #ffffff);
}

.aahav-bisn-message.aahav-bisn-success {
	color: #166534;
	background: rgba(22, 101, 52, .075);
}

.aahav-bisn-already-subscribed {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(22, 101, 52, .18);
	border-radius: var(--aahav-bisn-radius);
	background: linear-gradient(180deg, rgba(22, 101, 52, .055), rgba(22, 101, 52, .025));
	box-shadow: 0 8px 22px rgba(17, 17, 17, .035);
	text-align: center;
}

.aahav-bisn-already-subscribed p {
	position: relative;
	margin: 0;
	padding-left: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	color: #166534;
	text-align: center;
}

.aahav-bisn-restock-meta {
	margin: 0 0 9px;
	padding: 9px 11px;
	border-radius: var(--aahav-bisn-radius);
	background: var(--aahav-bisn-soft);
	font-family: inherit;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--aahav-bisn-muted);
	text-align: center;
}

.aahav-bisn-restock-meta p {
	margin: 0 0 3px;
}

.aahav-bisn-restock-meta p:last-child {
	margin-bottom: 0;
}

.aahav-bisn-restock-date {
	font-weight: 600;
	color: var(--aahav-bisn-text);
}

body .aahav-bisn-optout-btn.button,
.aahav-bisn-already-subscribed .aahav-bisn-optout-btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 32px;
	margin: 10px auto 0;
	padding: 0 14px;
	border: 1px solid rgba(22, 101, 52, .32);
	border-radius: 999px;
	background: transparent;
	color: #166534;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .055em;
	text-transform: uppercase;
	box-shadow: none;
}

body .aahav-bisn-optout-btn.button:hover,
body .aahav-bisn-optout-btn.button:focus-visible {
	background: rgba(22, 101, 52, .08);
	color: #166534;
}

.single_add_to_cart_button.aahav-bisn-disabled,
.buy-now-button.aahav-bisn-disabled,
[data-buy-now].aahav-bisn-disabled,
.aahav-buy-now.aahav-bisn-disabled,
.wd-buy-now-btn.aahav-bisn-disabled {
	display: none !important;
}

form.cart[data-aahav-bisn-blocked] .quantity,
form.variations_form[data-aahav-bisn-blocked] .quantity {
	display: none !important;
}

/* My Account premium responsive table */
.aahav-bisn-account-intro {
	margin: 0 0 18px;
	padding: 18px 20px;
	border: 1px solid var(--aahav-bisn-border);
	border-radius: calc(var(--aahav-bisn-radius) + 4px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--aahav-bisn-accent) 5%, #ffffff), #ffffff 58%);
}

.aahav-bisn-account-intro h2 {
	margin: 0 0 6px;
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.25;
}

.aahav-bisn-account-intro p {
	margin: 0;
	color: var(--aahav-bisn-muted);
}

.aahav-bisn-account-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 18px;
}

.aahav-bisn-account-stat {
	padding: 14px;
	border: 1px solid var(--aahav-bisn-border);
	border-radius: var(--aahav-bisn-radius);
	background: #fff;
	text-align: center;
}

.aahav-bisn-account-stat strong {
	display: block;
	font-size: 22px;
	line-height: 1;
	color: var(--aahav-bisn-text);
}

.aahav-bisn-account-stat span {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--aahav-bisn-muted);
}

.woocommerce-table--back-in-stock-notifications {
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid var(--aahav-bisn-border) !important;
	border-radius: calc(var(--aahav-bisn-radius) + 4px);
	overflow: hidden;
	background: #fff;
}

.woocommerce-table--back-in-stock-notifications th {
	padding: 13px 14px !important;
	background: #fafafa;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--aahav-bisn-muted);
}

.woocommerce-table--back-in-stock-notifications td {
	padding: 15px 14px !important;
	vertical-align: middle;
	border-top: 1px solid rgba(17, 17, 17, .08) !important;
}

.aahav-bisn-account-product {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 220px;
}

.aahav-bisn-account-product img {
	width: 52px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--aahav-bisn-radius);
	background: #f7f7f7;
}

.aahav-bisn-account-product a {
	font-weight: 600;
	text-decoration: none;
}

.aahav-bisn-account-selection {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border: 1px solid var(--aahav-bisn-border);
	border-radius: 999px;
	font-size: 12px;
	line-height: 1.2;
	color: var(--aahav-bisn-text);
	background: #fff;
}

.aahav-bisn-account-status,
.aahav-bisn-account-status--active,
.aahav-bisn-account-status--pending_confirmation,
.aahav-bisn-account-status--notified,
.aahav-bisn-account-status--opted_out,
.aahav-bisn-account-status--cancelled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.aahav-bisn-account-status--active { background: rgba(22, 101, 52, .10); color: #166534; }
.aahav-bisn-account-status--pending_confirmation { background: rgba(133, 77, 14, .12); color: #854d0e; }
.aahav-bisn-account-status--notified { background: rgba(30, 64, 175, .10); color: #1e40af; }
.aahav-bisn-account-status--opted_out { background: rgba(153, 27, 27, .10); color: #991b1b; }
.aahav-bisn-account-status--cancelled { background: rgba(113, 113, 122, .12); color: #52525b; }

.woocommerce-table--back-in-stock-notifications .aahav-bisn-inline-action-form {
	margin: 0;
}

.woocommerce-table--back-in-stock-notifications .button {
	min-height: 34px;
	padding: 0 13px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.aahav-bisn-cooldown-note {
	display: inline-block;
	font-size: 12px;
	color: var(--aahav-bisn-muted);
}

.aahav-bisn-empty-state {
	padding: 28px;
	border: 1px dashed var(--aahav-bisn-border);
	border-radius: calc(var(--aahav-bisn-radius) + 4px);
	text-align: center;
	background: #fff;
}

.aahav-bisn-empty-state p {
	margin: 0;
	color: var(--aahav-bisn-muted);
}

@media (max-width: 768px) {
	.aahav-bisn-notify-wrap.aahav-bisn-positioned-near-stock {
		width: min(100%, 360px);
		margin-top: 8px;
	}

	.aahav-bisn-form {
		padding: 12px;
	}

	.aahav-bisn-fields-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.aahav-bisn-submit-field,
	body .aahav-bisn-submit-btn.button {
		width: 100%;
	}

	.aahav-bisn-account-summary {
		grid-template-columns: 1fr;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive thead {
		display: none;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive,
	.woocommerce-table--back-in-stock-notifications.shop_table_responsive tbody,
	.woocommerce-table--back-in-stock-notifications.shop_table_responsive tr,
	.woocommerce-table--back-in-stock-notifications.shop_table_responsive td {
		display: block;
		width: 100%;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive {
		border: 0 !important;
		background: transparent;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive tr {
		margin: 0 0 14px;
		padding: 12px;
		border: 1px solid var(--aahav-bisn-border);
		border-radius: calc(var(--aahav-bisn-radius) + 4px);
		background: #fff;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive td {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 12px;
		align-items: center;
		padding: 9px 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive td::before {
		content: attr(data-title);
		float: none;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--aahav-bisn-muted);
	}

	.aahav-bisn-account-product {
		min-width: 0;
	}
}

@media (max-width: 420px) {
	.aahav-bisn-notify-wrap.aahav-bisn-positioned-near-stock {
		width: 100%;
	}

	.woocommerce-table--back-in-stock-notifications.shop_table_responsive td {
		grid-template-columns: 1fr;
		gap: 5px;
	}
}


/* 1.1.2 - compact dark inline notify form */
body .aahav-bisn-toggle-btn.button {
	display: none !important;
}

.aahav-bisn-notify-wrap .aahav-bisn-form {
	display: block;
}

.aahav-bisn-notify-wrap.aahav-bisn-is-success .aahav-bisn-submit-btn {
	display: none;
}

.aahav-bisn-notify-wrap .aahav-bisn-email-field,
.aahav-bisn-notify-wrap .aahav-bisn-submit-field {
	margin: 0;
}

.aahav-bisn-message {
	text-align: left;
}

.aahav-bisn-message:not(:empty),
.aahav-bisn-already-subscribed,
.aahav-bisn-restock-meta {
	margin-top: 12px;
}

.aahav-bisn-already-subscribed {
	text-align: left;
	background: rgba(255,255,255,.04);
	border-color: rgba(255,255,255,.10);
	box-shadow: none;
}

.aahav-bisn-already-subscribed p,
.aahav-bisn-restock-meta,
.aahav-bisn-consent-field label {
	color: rgba(255,255,255,.82);
}

.aahav-bisn-note-field textarea {
	background: rgba(255,255,255,.05);
}

@media (max-width: 767px) {
	.aahav-bisn-form {
		padding: 14px;
	}
	.aahav-bisn-fields-row {
		grid-template-columns: 1fr;
	}
	.aahav-bisn-submit-field,
	body .aahav-bisn-submit-btn.button {
		width: 100%;
	}
}


/* 1.1.3 - Reference-layout PDP Notify Me form
   Structure: bordered panel -> copy line -> inline email field + action button.
   Colors are intentionally theme-inherited, not hardcoded dark. */
.single-product .aahav-bisn-notify-wrap,
.product .aahav-bisn-notify-wrap {
	clear: both;
	width: 100%;
	max-width: 100%;
	margin: 12px 0 16px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: inherit;
	text-align: left;
}

.single-product .aahav-bisn-notify-wrap.aahav-bisn-positioned-near-stock,
.product .aahav-bisn-notify-wrap.aahav-bisn-positioned-near-stock {
	width: 100%;
	max-width: 100%;
	margin: 12px 0 16px;
	text-align: left;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-form,
.product .aahav-bisn-notify-wrap .aahav-bisn-form {
	display: block;
	margin: 0;
	padding: 18px 18px 16px;
	border: 1px solid var(--wd-form-brd-color, var(--wd-border-color, rgba(0, 0, 0, .14)));
	border-radius: var(--wd-form-brd-radius, var(--wd-brd-radius, 4px));
	background: var(--wd-form-bg, transparent);
	box-shadow: none;
	color: inherit;
	font-family: inherit;
	text-align: left;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-mini-copy,
.product .aahav-bisn-notify-wrap .aahav-bisn-mini-copy {
	margin: 0 0 18px;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: normal;
	text-align: left;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-fields-row,
.product .aahav-bisn-notify-wrap .aahav-bisn-fields-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: stretch;
	margin: 0;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-field,
.product .aahav-bisn-notify-wrap .aahav-bisn-field,
.single-product .aahav-bisn-notify-wrap .aahav-bisn-email-field,
.product .aahav-bisn-notify-wrap .aahav-bisn-email-field,
.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-field,
.product .aahav-bisn-notify-wrap .aahav-bisn-submit-field {
	margin: 0;
	padding: 0;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-field label.screen-reader-text,
.product .aahav-bisn-notify-wrap .aahav-bisn-field label.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.single-product .aahav-bisn-notify-wrap input.aahav-bisn-email,
.product .aahav-bisn-notify-wrap input.aahav-bisn-email {
	width: 100%;
	min-height: var(--wd-form-height, var(--btn-height, 42px));
	height: var(--wd-form-height, var(--btn-height, 42px));
	padding: 0 14px;
	border: 1px solid var(--wd-form-brd-color, var(--wd-border-color, rgba(0, 0, 0, .16)));
	border-radius: var(--wd-form-brd-radius, var(--wd-brd-radius, 3px));
	background: var(--wd-form-bg, transparent);
	color: var(--wd-form-color, inherit);
	font: inherit;
	font-size: var(--wd-form-font-size, 14px);
	line-height: normal;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.single-product .aahav-bisn-notify-wrap input.aahav-bisn-email::placeholder,
.product .aahav-bisn-notify-wrap input.aahav-bisn-email::placeholder {
	color: var(--wd-form-placeholder-color, currentColor);
	opacity: .65;
}

.single-product .aahav-bisn-notify-wrap input.aahav-bisn-email:focus,
.product .aahav-bisn-notify-wrap input.aahav-bisn-email:focus {
	border-color: var(--wd-primary-color, currentColor);
	outline: none;
	box-shadow: none;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-field,
.product .aahav-bisn-notify-wrap .aahav-bisn-submit-field {
	min-width: 128px;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-btn.button,
.product .aahav-bisn-notify-wrap .aahav-bisn-submit-btn.button,
body.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 128px;
	min-height: var(--btn-height, 42px);
	height: var(--btn-height, 42px);
	padding: 0 20px;
	white-space: nowrap;
	font-family: inherit;
	font-size: var(--btn-font-size, 13px);
	font-weight: var(--btn-font-weight, 600);
	letter-spacing: var(--btn-letter-spacing, .03em);
	text-transform: var(--btn-transform, uppercase);
	border-radius: var(--btn-accented-brd-radius, var(--wd-brd-radius, 3px));
	box-shadow: none;
	transform: none;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-toggle-btn,
.product .aahav-bisn-notify-wrap .aahav-bisn-toggle-btn,
.single-product .aahav-bisn-notify-wrap .aahav-bisn-toggle-btn::after,
.product .aahav-bisn-notify-wrap .aahav-bisn-toggle-btn::after {
	display: none !important;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-note-field,
.product .aahav-bisn-notify-wrap .aahav-bisn-note-field {
	display: none !important;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-consent-field,
.product .aahav-bisn-notify-wrap .aahav-bisn-consent-field {
	margin-top: 10px;
	color: inherit;
	opacity: .78;
	font-size: 12px;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-message,
.product .aahav-bisn-notify-wrap .aahav-bisn-message,
.single-product .aahav-bisn-notify-wrap .aahav-bisn-global-message,
.product .aahav-bisn-notify-wrap .aahav-bisn-global-message {
	margin-top: 10px;
	text-align: left;
	font-size: 12.5px;
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-message:not(:empty),
.product .aahav-bisn-notify-wrap .aahav-bisn-message:not(:empty) {
	padding: 8px 10px;
	border-radius: var(--wd-brd-radius, 3px);
}

.single-product .aahav-bisn-notify-wrap .aahav-bisn-already-subscribed,
.product .aahav-bisn-notify-wrap .aahav-bisn-already-subscribed,
.single-product .aahav-bisn-notify-wrap .aahav-bisn-restock-meta,
.product .aahav-bisn-notify-wrap .aahav-bisn-restock-meta {
	margin-top: 10px;
	border-radius: var(--wd-brd-radius, 3px);
	box-shadow: none;
	text-align: left;
}

@media (max-width: 767px) {
	.single-product .aahav-bisn-notify-wrap .aahav-bisn-form,
	.product .aahav-bisn-notify-wrap .aahav-bisn-form {
		padding: 14px;
	}

	.single-product .aahav-bisn-notify-wrap .aahav-bisn-fields-row,
	.product .aahav-bisn-notify-wrap .aahav-bisn-fields-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-field,
	.product .aahav-bisn-notify-wrap .aahav-bisn-submit-field,
	.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-btn.button,
	.product .aahav-bisn-notify-wrap .aahav-bisn-submit-btn.button,
	body.single-product .aahav-bisn-notify-wrap .aahav-bisn-submit-btn.button {
		width: 100%;
		min-width: 0;
	}
}


/* 1.1.4 - Professional one-click logged-in/email-known state */
.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click {
	margin-top: 14px;
	margin-bottom: 18px;
}

/* In one-click mode the user email is already known, so the panel should not look
   like an empty email form. It becomes a clean full-width CTA block. */
.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-mini-copy,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-mini-copy {
	margin: 0 0 10px;
	text-align: center;
	font-size: 13px;
	line-height: 1.45;
	color: var(--wd-text-color, inherit);
	opacity: .78;
}

.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-form,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-form {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-fields-row,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-fields-row,
.single-product .aahav-bisn-notify-wrap .aahav-bisn-form-one-click .aahav-bisn-fields-row,
.product .aahav-bisn-notify-wrap .aahav-bisn-form-one-click .aahav-bisn-fields-row {
	display: block;
	width: 100%;
}

.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-email-field,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-email-field {
	display: none !important;
}

.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-field,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-field,
.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-btn.button,
.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-btn.button,
body.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-btn.button {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: var(--btn-height, 46px);
	height: var(--btn-height, 46px);
	margin: 0;
}

/* Keep the reference layout for guests: copy + email + button in a bordered wrapper.
   The copy remains visually connected to the form even though the DOM keeps it outside
   to avoid disturbing the AJAX/non-form implementation. */
.single-product .aahav-bisn-notify-wrap:not(.aahav-bisn-one-click) .aahav-bisn-mini-copy,
.product .aahav-bisn-notify-wrap:not(.aahav-bisn-one-click) .aahav-bisn-mini-copy {
	margin-bottom: 10px;
}

.single-product .aahav-bisn-notify-wrap:not(.aahav-bisn-one-click) .aahav-bisn-form,
.product .aahav-bisn-notify-wrap:not(.aahav-bisn-one-click) .aahav-bisn-form {
	padding: 16px;
}

.single-product .aahav-bisn-notify-wrap:not(.aahav-bisn-one-click) .aahav-bisn-submit-btn.button,
.product .aahav-bisn-notify-wrap:not(.aahav-bisn-one-click) .aahav-bisn-submit-btn.button {
	min-width: 132px;
}

@media (max-width: 767px) {
	.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-mini-copy,
	.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-mini-copy {
		text-align: left;
	}

	.single-product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-btn.button,
	.product .aahav-bisn-notify-wrap.aahav-bisn-one-click .aahav-bisn-submit-btn.button {
		min-height: var(--btn-height, 44px);
		height: var(--btn-height, 44px);
	}
}
