.bcsa-modal[hidden] {
	display: none !important;
}

.bcsa-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.bcsa-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.bcsa-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 8px;
	padding: 24px 22px 20px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.bcsa-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #646970;
}

.bcsa-modal__title {
	margin: 0 28px 8px 0;
	padding: 0;
	padding-top: 0;
	margin-top: 0;
	font-size: 1.25rem;
	line-height: 1.25;
}

.bcsa-modal__product {
	margin: 0 0 8px;
	font-weight: 600;
}

.bcsa-modal__desc {
	margin: 0 0 14px;
	color: #50575e;
	font-size: 0.95rem;
}

.bcsa-modal__label {
	display: block;
	margin: 0 0 12px;
	font-size: 0.9rem;
}

.bcsa-modal__label span {
	display: block;
	margin-bottom: 4px;
}

.bcsa-modal__input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
}

.bcsa-modal__marketing {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0 0 12px;
	font-size: 0.875rem;
	line-height: 1.35;
	color: #50575e;
}

.bcsa-modal__marketing input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0.15em 0 0;
	padding: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	vertical-align: top;
}

.bcsa-modal__marketing [data-bcsa-marketing-label],
.bcsa-modal__marketing span {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	line-height: 1.35;
}

.bcsa-modal__marketing[hidden] {
	display: none !important;
}

.bcsa-modal__message {
	margin: 0 0 12px;
	font-size: 0.9rem;
}

.bcsa-modal__message.is-error {
	color: #b32d2e;
}

.bcsa-modal__message.is-success {
	color: #1e7e34;
}

.bcsa-modal__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.bcsa-modal__btn-secondary,
.bcsa-modal__actions .bcsa-modal__btn-secondary.button {
	font-style: normal !important;
	text-transform: none !important;
	font-size: min(15px, 50px) !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
	padding: 0.8em 1.8em !important;
	border-radius: 6px !important;
	letter-spacing: 0em !important;
	background: #e3e1e3 !important;
	background-color: #e3e1e3 !important;
	background-image: none !important;
	border-color: transparent !important;
	color: #222222 !important;
	box-shadow: 0 0em 0em rgba(0, 0, 0, 0.2) !important;
	text-shadow: none !important;
}

.bcsa-modal__btn-secondary:hover,
.bcsa-modal__btn-secondary:focus,
.bcsa-modal__actions .bcsa-modal__btn-secondary.button:hover,
.bcsa-modal__actions .bcsa-modal__btn-secondary.button:focus {
	background: #d5d3d5 !important;
	background-color: #d5d3d5 !important;
	border-color: transparent !important;
	color: #222222 !important;
}

.bcsa-pdp {
	margin: 12px 0;
}

.bcsa-pdp[hidden] {
	display: none !important;
}

.bcsa-pdp--inline,
.bcsa-pdp--fallback,
.bcsa-pdp--js {
	display: block;
	margin: 0.75em 0 0;
	width: 100%;
}

.bcsa-pdp--inline[hidden],
.bcsa-pdp--fallback[hidden],
.bcsa-pdp--js[hidden],
.bcsa-pdp[hidden] {
	display: none !important;
}

.bcsa-pdp--replace {
	margin: 1em 0;
}

.bcsa-pdp--replace .bcsa-pdp__button,
.bcsa-pdp--inline .bcsa-pdp__button,
.bcsa-pdp--fallback .bcsa-pdp__button,
.bcsa-pdp--js .bcsa-pdp__button {
	width: auto;
	min-width: 0;
	max-width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
}

/* When Notify replaces ATC, keep layout tidy. */
form.cart.bcsa-notify-mode .single_add_to_cart_button:not([data-bcsa-notify]),
form.cart.bcsa-notify-mode .quantity,
.bcsa-atc-hidden {
	display: none !important;
}

body.bcsa-pdp-notify-mode form.cart .single_add_to_cart_button:not([data-bcsa-notify]),
body.bcsa-pdp-notify-mode form.cart .quantity {
	display: none !important;
}

.bcsa-pdp.is-visible {
	display: block !important;
}

/* Notify sits where ATC was. */
form.cart.bcsa-notify-mode .bcsa-pdp--inline,
form.cart.bcsa-notify-mode .bcsa-pdp--fallback,
form.cart.bcsa-notify-mode .bcsa-pdp--js,
form.bc-pack-selector.bcsa-notify-mode .bcsa-pdp {
	display: block !important;
	margin: 0.5em 0 0;
	width: 100%;
}

form.cart.bcsa-notify-mode .bcsa-pdp .bcsa-pdp__button,
form.bc-pack-selector.bcsa-notify-mode .bcsa-pdp .bcsa-pdp__button {
	width: auto;
}

.bcsa-notify-icon,
.bcsa-pdp__button .bcsa-notify-icon,
.bcsa-notify-button .bcsa-notify-icon,
.bc-quick-buy__trigger--notify .bcsa-notify-icon,
.bc-quick-buy-modal__notify .bcsa-notify-icon {
	display: inline-block;
	margin: 0;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	speak: never;
}

/* FA fallback if theme icon font is present but markup missed the <i>. */
.bc-quick-buy__trigger--notify:not(:has(.bcsa-notify-icon))::before,
.bc-quick-buy-modal__notify:not(:has(.bcsa-notify-icon))::before,
.bcsa-notify-button:not(:has(.bcsa-notify-icon))::before,
.bcsa-pdp__button:not(:has(.bcsa-notify-icon))::before {
	content: '\f0f3';
	font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome, 'FontAwesome';
	font-weight: 900;
	font-style: normal;
	display: inline-block;
	margin-right: 0.45em;
	line-height: 1;
	speak: never;
}

.bcsa-notify-button,
.bc-quick-buy__trigger--notify,
.bc-quick-buy-modal__notify {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	width: auto !important;
	max-width: 100%;
}

/*
 * Notify me colours — beat Woo / Impreza .button.alt / ATC styles.
 * Default #222222, hover/focus/active #333333.
 */
body.woocommerce button.button.bcsa-pdp__button,
body.woocommerce button.button.bcsa-notify-button,
body.woocommerce a.button.bcsa-notify-button,
body button.bcsa-pdp__button,
body button.bcsa-notify-button,
body .bcsa-pdp .bcsa-pdp__button,
body .bcsa-modal__btn-primary,
body .bc-quick-buy__trigger.bc-quick-buy__trigger--notify,
body .bc-quick-buy .bc-quick-buy__trigger--notify,
body .bc-quick-buy-modal__notify,
body button.bc-quick-buy-modal__notify,
body.woocommerce .tinv-wishlist button.button.bc-quick-buy__trigger--notify,
body.woocommerce .tinv-wishlist button.button.alt.bc-quick-buy__trigger--notify,
body.woocommerce .tinv-wishlist button.button.bcsa-notify-button,
body .tinv-wishlist td.product-action .bc-quick-buy__trigger--notify {
	background: #222222 !important;
	background-color: #222222 !important;
	background-image: none !important;
	border-color: #222222 !important;
	border-style: solid !important;
	color: #ffffff !important;
	box-shadow: none !important;
	text-shadow: none !important;
	filter: none !important;
}

body.woocommerce button.button.bcsa-pdp__button:hover,
body.woocommerce button.button.bcsa-pdp__button:focus,
body.woocommerce button.button.bcsa-pdp__button:active,
body.woocommerce button.button.bcsa-pdp__button:focus-visible,
body.woocommerce button.button.bcsa-notify-button:hover,
body.woocommerce button.button.bcsa-notify-button:focus,
body.woocommerce button.button.bcsa-notify-button:active,
body.woocommerce button.button.bcsa-notify-button:focus-visible,
body button.bcsa-pdp__button:hover,
body button.bcsa-pdp__button:focus,
body button.bcsa-pdp__button:active,
body button.bcsa-notify-button:hover,
body button.bcsa-notify-button:focus,
body button.bcsa-notify-button:active,
body .bcsa-modal__btn-primary:hover,
body .bcsa-modal__btn-primary:focus,
body .bcsa-modal__btn-primary:focus-visible,
body .bcsa-modal__btn-primary:active,
body.woocommerce .bcsa-modal__btn-primary:focus,
body.woocommerce .bcsa-modal__btn-primary:active,
body .bc-quick-buy__trigger.bc-quick-buy__trigger--notify:hover,
body .bc-quick-buy__trigger.bc-quick-buy__trigger--notify:focus,
body .bc-quick-buy__trigger.bc-quick-buy__trigger--notify:active,
body .bc-quick-buy-modal__notify:hover,
body .bc-quick-buy-modal__notify:focus,
body .bc-quick-buy-modal__notify:active,
body button.bc-quick-buy-modal__notify:hover,
body button.bc-quick-buy-modal__notify:focus,
body button.bc-quick-buy-modal__notify:active,
body.woocommerce .tinv-wishlist button.button.bc-quick-buy__trigger--notify:hover,
body.woocommerce .tinv-wishlist button.button.bc-quick-buy__trigger--notify:focus,
body.woocommerce .tinv-wishlist button.button.bc-quick-buy__trigger--notify:active,
body.woocommerce .tinv-wishlist button.button.alt.bc-quick-buy__trigger--notify:hover,
body.woocommerce .tinv-wishlist button.button.alt.bc-quick-buy__trigger--notify:focus,
body.woocommerce .tinv-wishlist button.button.alt.bc-quick-buy__trigger--notify:active,
body.woocommerce .tinv-wishlist button.button.bcsa-notify-button:hover,
body.woocommerce .tinv-wishlist button.button.bcsa-notify-button:focus,
body.woocommerce .tinv-wishlist button.button.bcsa-notify-button:active,
body .tinv-wishlist td.product-action .bc-quick-buy__trigger--notify:hover,
body .tinv-wishlist td.product-action .bc-quick-buy__trigger--notify:focus,
body .tinv-wishlist td.product-action .bc-quick-buy__trigger--notify:active {
	background: #333333 !important;
	background-color: #333333 !important;
	background-image: none !important;
	border-color: #333333 !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

/* Modal Notify submit — kill theme outline/border/ring on all states. */
html body .bcsa-modal button.bcsa-modal__btn-primary,
html body .bcsa-modal button.button.bcsa-modal__btn-primary,
html body .bcsa-modal button.button.button-primary.bcsa-modal__btn-primary,
html body.woocommerce .bcsa-modal button.bcsa-modal__btn-primary,
html body.woocommerce .bcsa-modal button.button.bcsa-modal__btn-primary,
html body .bcsa-modal button.bcsa-modal__btn-primary:hover,
html body .bcsa-modal button.bcsa-modal__btn-primary:focus,
html body .bcsa-modal button.bcsa-modal__btn-primary:focus-visible,
html body .bcsa-modal button.bcsa-modal__btn-primary:active,
html body .bcsa-modal button.bcsa-modal__btn-primary:focus-within,
html body.woocommerce .bcsa-modal button.button.bcsa-modal__btn-primary:hover,
html body.woocommerce .bcsa-modal button.button.bcsa-modal__btn-primary:focus,
html body.woocommerce .bcsa-modal button.button.bcsa-modal__btn-primary:focus-visible,
html body.woocommerce .bcsa-modal button.button.bcsa-modal__btn-primary:active {
	outline: 0 none transparent !important;
	outline-width: 0 !important;
	outline-style: none !important;
	outline-color: transparent !important;
	outline-offset: 0 !important;
	border: 0 none transparent !important;
	border-width: 0 !important;
	border-style: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	text-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

html.bcsa-modal-open,
html.bcsa-modal-open body {
	overflow: hidden;
}

.bcsa-account__hint {
	opacity: 0.75;
	margin-top: 0.35rem;
}

.bcsa-account__table .bcsa-account__remove {
	margin: 0;
}
