/*
 * «Bald verfügbar» (inc/commerce/notify.php, assets/js/notify.js; design style.css .soon / .notify, 45b1c3a):
 * the block that replaces the buy box on the product page and the sign-up dialog (base .ll-cmp-dialog / .ll-cmp in
 * pdp.css, field .ll-cfield in forms.css). The card's bell: product-card.css.
 */

/* Product page block */
.ll-soon__price {
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-snug);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ll-soon__tip {
	margin-top: var(--ll-space-4);
	font-size: var(--ll-small);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-soft);
}
.ll-soon__tip strong { /* like the tier hint in the cart */
	font-weight: 700;
	color: var(--ll-petrol);
}
.ll-soon__teaser { /* like .ll-formel in the guide: icon left, overline, title */
	--ll-soon-pad: var(--ll-space-24);
	position: relative;
	margin-top: var(--ll-space-16);
	padding: var(--ll-soon-pad) var(--ll-soon-pad) var(--ll-soon-pad) calc(var(--ll-soon-pad) + var(--ll-icon-l) + var(--ll-space-16));
	border-radius: var(--ll-r-lg);
	background: var(--ll-petrol-soft);
}
.ll-soon__icon {
	position: absolute;
	left: var(--ll-soon-pad);
	top: var(--ll-soon-pad);
	width: var(--ll-icon-l);
	height: var(--ll-icon-l);
	background: var(--ll-petrol-deep);
	-webkit-mask: var(--ll-icon-bell) center / contain no-repeat;
	mask: var(--ll-icon-bell) center / contain no-repeat;
}
@media (max-width: 689.98px) { /* phone: icon above the text */
	.ll-soon__teaser {
		--ll-soon-pad: var(--ll-space-16);
		padding: calc(var(--ll-soon-pad) + var(--ll-icon-m) + var(--ll-space-12)) var(--ll-soon-pad) var(--ll-soon-pad);
	}
	.ll-soon__icon {
		width: var(--ll-icon-m);
		height: var(--ll-icon-m);
	}
}
.ll-soon__eyebrow,
.ll-soon__alt-label {
	margin: 0 0 var(--ll-space-8);
	font-size: var(--ll-overline);
	line-height: var(--ll-lh-tight);
	font-weight: 700;
	letter-spacing: var(--ll-tracking-caps);
	text-transform: uppercase;
	color: var(--ll-petrol);
}
.ll-soon__alt-label {
	color: var(--ll-ink-mute);
}
:root .ll-soon__title { /* :root: Blocksy's h2 sizes */
	margin: 0;
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-snug);
	font-weight: 700;
}
.ll-soon__text {
	margin-top: var(--ll-space-4);
	font-size: var(--ll-small);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-soft);
}
.ll-soon__cta {
	margin-top: var(--ll-space-16);
}
:root .ll-soon__cta .wp-element-button,
:root .ll-notify__submit {
	width: 100%;
	justify-content: center;
}
.ll-soon__promise {
	margin-top: var(--ll-space-8);
	text-align: center;
	font-size: var(--ll-tiny);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-mute);
}
.ll-soon__done { /* no surface: the teaser above is already petrol-soft */
	display: none;
	margin-top: var(--ll-space-16);
}
.ll-soon__done:focus {
	outline: none;
}
.ll-soon.is-sent .ll-soon__cta {
	display: none;
}
.ll-soon.is-sent .ll-soon__done {
	display: block;
}
.ll-soon__done-head {
	display: flex;
	align-items: center;
	gap: var(--ll-space-12);
	font-weight: 700;
	line-height: var(--ll-lh-snug);
}
.ll-soon__ok,
.ll-notify__check {
	display: block;
	flex: none;
	width: var(--ll-soon-ok);
	height: var(--ll-soon-ok);
	border-radius: var(--ll-r-full);
	background: var(--ll-petrol);
	position: relative;
}
.ll-soon__ok::after,
.ll-notify__check::after {
	content: "";
	position: absolute;
	inset: 22%;
	background: var(--ll-white);
	-webkit-mask: var(--ll-icon-done) center / contain no-repeat;
	mask: var(--ll-icon-done) center / contain no-repeat;
}
.ll-soon__done-text {
	margin-top: var(--ll-space-4);
	padding-left: calc(var(--ll-soon-ok) + var(--ll-space-12));
	font-size: var(--ll-small);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-soft);
	overflow-wrap: anywhere;
}
.ll-soon__alt {
	margin-top: var(--ll-space-24);
}
:root .ll-soon__alt-card { /* the whole card is the link: arrow without a circle */
	display: flex;
	align-items: center;
	gap: var(--ll-space-12);
	padding: var(--ll-space-12) var(--ll-space-16);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-r-md);
	color: var(--ll-ink);
	text-decoration: none;
	transition: border-color var(--ll-t-fast) ease;
}
:root .ll-soon__alt-card:hover {
	border-color: var(--ll-border-strong);
	color: var(--ll-ink);
}
.ll-soon__alt-card img {
	flex: none;
	width: var(--ll-soon-alt-thumb);
	height: var(--ll-soon-alt-thumb);
	border-radius: var(--ll-r-sm);
	background: var(--ll-beige);
	object-fit: contain;
}
.ll-soon__alt-main {
	flex: 1;
	min-width: 0;
	display: grid;
	font-size: var(--ll-small);
	line-height: var(--ll-lh-snug);
}
.ll-soon__alt-main span {
	margin-top: var(--ll-space-2);
	font-size: var(--ll-tiny);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-mute);
}
.ll-soon__alt-price {
	font-weight: 700;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.ll-soon__alt-arrow {
	flex: none;
	width: var(--ll-icon-m);
	height: var(--ll-icon-m);
	background: var(--ll-petrol);
	-webkit-mask: var(--ll-icon-arrow) center / contain no-repeat;
	mask: var(--ll-icon-arrow) center / contain no-repeat;
	transition: transform var(--ll-t-base) var(--ll-ease);
}
.ll-soon__alt-card:hover .ll-soon__alt-arrow {
	transform: translateX(var(--ll-space-4));
}
@media (max-width: 689.98px) { /* phone: name and line need the width, the price is on the page */
	.ll-soon__alt-price {
		display: none;
	}
}

/* Dialog */
.ll-cmp-dialog.ll-notify {
	width: min(var(--ll-notify-w), calc(100% - 2 * var(--ll-pad-x)));
	--theme-form-field-height: auto; /* Blocksy fixes the field height; the design sizes fields by padding (forms.css) */
}
.ll-notify__prod {
	display: flex;
	align-items: center;
	gap: var(--ll-space-12);
	margin-bottom: var(--ll-space-24);
	padding: var(--ll-space-8) var(--ll-space-12);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-r-md);
}
.ll-notify__prod img {
	flex: none;
	width: var(--ll-notify-thumb);
	height: var(--ll-notify-thumb);
	border-radius: var(--ll-r-sm);
	background: var(--ll-beige);
	object-fit: contain;
}
.ll-notify__prod p {
	display: grid;
	font-size: var(--ll-small);
	line-height: var(--ll-lh-snug);
}
.ll-notify__prod p > span {
	font-size: var(--ll-tiny);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-mute);
}
.ll-notify__nl { /* design .account__check */
	display: flex;
	gap: var(--ll-space-12);
	align-items: flex-start;
	margin-top: var(--ll-space-16);
	font-size: var(--ll-small);
	line-height: var(--ll-lh-relaxed);
}
.ll-notify__nl input {
	flex: none;
	width: var(--ll-check);
	height: var(--ll-check);
	margin: var(--ll-checks-icon-top) 0 0;
	accent-color: var(--ll-petrol);
}
.ll-notify__submit {
	margin-top: var(--ll-space-24);
}
.ll-notify__error {
	margin-top: var(--ll-space-12);
	font-size: var(--ll-tiny);
	line-height: var(--ll-lh-relaxed);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-error);
	text-align: center;
}
.ll-notify__note {
	margin-top: var(--ll-space-12);
	text-align: center;
	font-size: var(--ll-tiny);
	line-height: var(--ll-lh-relaxed);
	color: var(--ll-ink-mute);
}
.ll-notify__note a {
	color: var(--ll-petrol);
	text-decoration: underline;
	text-underline-offset: var(--ll-space-2);
}
.ll-notify__sent {
	display: none;
	text-align: center;
	padding-top: var(--ll-space-8);
}
.ll-notify__check {
	width: var(--ll-notify-thumb);
	height: var(--ll-notify-thumb);
	margin: 0 auto var(--ll-space-16);
}
.ll-notify__check::after {
	inset: 26%;
}
:root .ll-notify__sent h2 {
	margin: 0 0 var(--ll-space-8);
}
.ll-notify__ok:focus {
	outline: none;
}
.ll-notify.is-sent .ll-notify__form {
	display: none;
}
.ll-notify.is-sent .ll-notify__sent {
	display: block;
}
