/* prime.alerts — notice under email field */
.prime-alerts-notice {
	margin: 12px 0 0;
	border: 1px solid var(--pa-border, #e0c36a);
	border-radius: 8px;
	background: var(--pa-bg, #fffdf6);
	color: var(--pa-text, #333);
	font-size: 13px;
	line-height: 1.45;
}
.prime-alerts-notice__inner {
	display: flex;
	gap: 12px;
	padding: 14px 16px;
}
.prime-alerts-notice__icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pa-accent, #b8860b);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}
.prime-alerts-notice__title {
	font-weight: 700;
	color: var(--pa-accent, #b8860b);
	margin: 0 0 6px;
}
.prime-alerts-notice__text p {
	margin: 0 0 8px;
}
.prime-alerts-notice__text p:last-child {
	margin-bottom: 0;
}
.prime-alerts-notice__legal {
	opacity: 0.85;
	font-size: 12px;
}
.prime-alerts-notice a {
	color: var(--pa-accent, #b8860b);
}

.prime-alerts-notice--exists {
	border-color: #f5c2c7;
	background: #f8d7da;
	color: #842029;
}
.prime-alerts-notice--exists .prime-alerts-notice__title {
	color: #842029;
}
.prime-alerts-notice--exists .prime-alerts-notice__icon {
	background: #842029;
}
.prime-alerts-notice--exists a {
	color: #0464bb;
}

.prime-alerts-notice__accounts {
	margin: 0 0 8px;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.45;
}
.prime-alerts-notice__accounts li {
	margin: 2px 0;
}

.bx-authform .prime-alerts-live-notice {
	margin: -4px 0 20px;
	width: 100%;
}
.bx-authform .prime-alerts-live-notice .prime-alerts-notice {
	width: 100%;
	box-sizing: border-box;
}

.bx-registration-table td .prime-alerts-live-notice,
.bx-auth-table td .prime-alerts-live-notice,
form[name="bform"] td .prime-alerts-live-notice,
.auth-form__field .prime-alerts-live-notice,
.cart-info li .prime-alerts-live-notice,
form[name="ORDER_FORM"] li .prime-alerts-live-notice {
	margin-top: 8px;
	width: 100%;
	box-sizing: border-box;
}

.prime-alerts-flash {
	margin: 0 0 16px;
	padding: 12px 16px;
	border: 1px solid #f5c2c7;
	border-radius: 8px;
	background: #f8d7da;
	color: #842029;
	font-size: 14px;
	line-height: 1.45;
}

.prime-alerts-live-notice {
	margin-top: 8px;
	margin-bottom: 18px;
}
.prime-alerts-live-notice:not(.is-visible) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
}
.prime-alerts-live-notice .prime-alerts-notice {
	margin: 0;
}

.prime-alerts-profile-modal {
	position: fixed;
	inset: 0;
	z-index: 10120;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.prime-alerts-profile-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
}
.prime-alerts-profile-modal__box {
	position: relative;
	background: var(--pa-bg, #fffdf6);
	border: 1px solid var(--pa-border, #e0c36a);
	border-left: 4px solid var(--pa-accent, #a64221);
	border-radius: 8px;
	box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
	padding: 32px 28px 24px;
	max-width: 520px;
	width: 100%;
	max-height: calc(100vh - 32px);
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	color: var(--pa-text, #404040);
	z-index: 1;
	animation: primeAlertsModalIn 0.25s ease;
}
@keyframes primeAlertsModalIn {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}
.prime-alerts-profile-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
}
.prime-alerts-profile-modal__close:hover {
	color: #333;
}
.prime-alerts-profile-modal__icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--pa-accent, #a64221);
	color: #fff;
	font-weight: 700;
	font-size: 22px;
	line-height: 40px;
	text-align: center;
}
.prime-alerts-profile-modal__title {
	font-size: 22px;
	font-weight: 700;
	color: var(--pa-accent, #a64221);
	margin: 0 0 12px;
	line-height: 1.3;
	text-align: center;
}
.prime-alerts-profile-modal__text {
	font-size: 14px;
	line-height: 1.5;
}
.prime-alerts-profile-modal__text p {
	margin: 0 0 8px;
}
.prime-alerts-profile-modal__text p:last-child {
	margin-bottom: 0;
}
.prime-alerts-profile-modal__facts {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.prime-alerts-profile-modal__facts li {
	background: #fff;
	border: 1px solid var(--pa-fact, #e8d7a0);
	border-radius: 4px;
	padding: 8px 12px;
	flex: 1 1 220px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
.prime-alerts-profile-modal__facts > li > span {
	display: block;
	font-size: 11px;
	color: var(--pa-muted, #8a7a55);
	margin-bottom: 2px;
	text-align: center;
}
.prime-alerts-profile-modal__facts > li > strong {
	display: block;
	font-size: 14px;
	word-break: break-word;
	text-align: center;
}
.prime-alerts-profile-modal__fact-phone {
	flex: 1 1 220px;
}
.prime-alerts-profile-modal__phone-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
}
.prime-alerts-profile-modal__phone-row strong {
	display: block;
	font-variant-numeric: tabular-nums;
	text-align: center;
	word-break: break-word;
}
.prime-alerts-profile-modal__phone-row .is-inline {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	flex: none;
	min-width: 0;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-specify {
	width: 168px;
	max-width: 100%;
	height: 32px;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 0 10px;
	font-size: 14px;
	box-sizing: border-box;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-prompt__btn.is-compact {
	display: inline-block;
	width: auto;
	height: 28px;
	padding: 0 12px;
	margin: 0;
	border: 2px solid var(--pa-accent, #0464bb);
	border-radius: 5px;
	background: #fff;
	color: var(--pa-accent, #0464bb);
	font-size: 12px;
	font-weight: 700;
	line-height: 24px;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-prompt__btn.is-compact:hover {
	background: var(--pa-accent, #0464bb);
	color: #fff;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-status {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	text-align: center;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-wait,
.prime-alerts-profile-modal__phone-row .prime-phoneauth-error,
.prime-alerts-profile-modal__phone-row .prime-phoneauth-reg__accounts {
	flex: none;
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
	text-align: center;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-test {
	width: 100%;
}
.prime-alerts-profile-modal__phone-row .prime-phoneauth-number {
	display: block;
	font-size: 16px;
	text-align: center;
	margin: 4px 0 0;
}
.prime-alerts-profile-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.prime-alerts-profile-modal__btn {
	display: block;
	width: 100%;
	height: 45px;
	line-height: 39px;
	text-align: center;
	border: 3px solid var(--pa-accent, #a64221);
	border-radius: 5px;
	color: var(--pa-accent, #a64221);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	background: #fff;
	box-sizing: border-box;
	transition: background-color .2s, color .2s;
}
.prime-alerts-profile-modal__text a {
	color: var(--pa-accent, #a64221);
}
.prime-alerts-profile-modal__btn:hover {
	background: var(--pa-accent, #a64221);
	color: #fff;
}
.prime-alerts-profile-modal__snooze {
	display: block;
	width: 100%;
	height: 40px;
	border: 0;
	background: none;
	color: var(--pa-snooze, #7a6a4a);
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 0;
}
.prime-alerts-profile-modal__snooze:hover {
	color: var(--pa-accent, #a64221);
}
.prime-alerts-profile-modal__snooze:disabled {
	opacity: 0.6;
	cursor: default;
}
body.prime-alerts-profile-open {
	overflow: hidden;
}
.prime-alerts-profile-banner {
	margin: 0 0 20px;
	padding: 16px 18px;
	background: var(--pa-bg, #fffdf6);
	border: 1px solid var(--pa-border, #e0c36a);
	border-left: 4px solid var(--pa-accent, #a64221);
	box-sizing: border-box;
	color: var(--pa-text, #404040);
}
.prime-alerts-profile-banner__title {
	font-weight: 700;
	font-size: 16px;
	margin: 0 0 8px;
	color: var(--pa-accent, #a64221);
}
.prime-alerts-profile-banner__text {
	font-size: 13px;
	line-height: 1.45;
}
.prime-alerts-profile-banner__text p {
	margin: 0 0 8px;
}
.prime-alerts-profile-banner__text p:last-child {
	margin-bottom: 0;
}
.prime-alerts-profile-banner .prime-alerts-profile-modal__facts {
	margin: 12px 0 0;
}
.prime-alerts-profile-modal__note:empty {
	display: none;
}
.prime-alerts-profile-modal__note {
	margin: 10px 0 12px;
	color: var(--pa-accent, #0464bb);
	font-size: 13px;
	line-height: 1.45;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
	box-sizing: border-box;
}
.prime-alerts-profile-modal__note .prime-phoneauth-error {
	margin: 0;
	white-space: normal;
}
.prime-alerts-profile-modal__phone {
	margin: 0 0 16px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--pa-fact, #e8d7a0);
	border-radius: 5px;
}
.prime-alerts-profile-modal__phone .prime-phoneauth-prompt__btn,
.prime-phoneauth-prompt-modal .prime-phoneauth-prompt__btn {
	display: block;
	width: 100%;
	height: 42px;
	margin: 0;
	border: 3px solid var(--pa-accent, #a64221);
	border-radius: 5px;
	background: #fff;
	color: var(--pa-accent, #a64221);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}
.prime-alerts-profile-modal__phone .prime-phoneauth-prompt__btn:hover,
.prime-phoneauth-prompt-modal .prime-phoneauth-prompt__btn:hover {
	background: var(--pa-accent, #a64221);
	color: #fff;
}
.prime-alerts-profile-modal__phone .prime-phoneauth-test,
.prime-phoneauth-prompt-modal .prime-phoneauth-test {
	width: 100%;
}
.prime-alerts-profile-modal__phone .prime-phoneauth-number,
.prime-phoneauth-prompt-modal .prime-phoneauth-number {
	text-align: center;
}
@media (max-width: 768px) {
	.prime-alerts-profile-modal {
		align-items: center;
		justify-content: center;
		padding: 12px;
	}
	.prime-alerts-profile-modal__overlay {
		background: rgba(0, 0, 0, 0.62);
	}
	.prime-alerts-profile-modal__box {
		border-radius: 12px;
		border-left-width: 4px;
		max-width: 100%;
		width: 100%;
		max-height: min(88vh, 88dvh);
		padding: 22px 16px calc(18px + env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	}
	.prime-alerts-profile-modal__icon {
		width: 44px;
		height: 44px;
		line-height: 44px;
		font-size: 22px;
		margin: 0 auto 12px;
	}
	.prime-alerts-profile-modal__title {
		font-size: 18px;
		line-height: 1.3;
		text-align: center;
		padding-right: 0;
		margin-bottom: 10px;
	}
	.prime-alerts-profile-modal__text {
		font-size: 14px;
		line-height: 1.45;
		text-align: center;
	}
	.prime-alerts-profile-modal__facts {
		flex-direction: column;
		gap: 8px;
		margin: 14px 0;
	}
	.prime-alerts-profile-modal__facts li {
		flex: 1 1 auto;
		width: 100%;
		padding: 10px 12px;
	}
	.prime-alerts-profile-modal__phone-row .prime-phoneauth-prompt__btn.is-compact {
		width: 100%;
		height: 40px;
		padding: 0 14px;
		line-height: 36px;
		font-size: 14px;
		white-space: normal;
	}
	.prime-alerts-profile-modal__actions {
		flex-direction: column;
		gap: 10px;
		margin-top: 4px;
	}
	.prime-alerts-profile-modal__btn,
	.prime-alerts-profile-modal__snooze {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
	.prime-alerts-profile-modal__close {
		top: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
		font-size: 30px;
	}
}
