/* Ayobella Notify Me — mirrors the product page: Libre Caslon Text, #141210 buttons, 46px controls, 5px radius, #E2D9CC lines */
.aynm-form {
	--aynm-text: #1C1915;
	--aynm-ink: #141210;
	--aynm-accent: #A8927A;
	--aynm-bg: #F6F2EC;
	--aynm-line: #E2D9CC;
	--aynm-radius: 5px;
	font-family: "Libre Caslon Text", Georgia, "Times New Roman", serif;
	margin: 20px 0;
	padding: 20px;
	background: var(--aynm-bg);
	border: 1px solid var(--aynm-line);
	border-radius: var(--aynm-radius);
	color: var(--aynm-text);
	box-sizing: border-box;
	max-width: 520px;
}
.aynm-form *, .aynm-form *::before, .aynm-form *::after { box-sizing: border-box; }
.aynm-intro { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.aynm-row { display: flex; gap: 8px; flex-wrap: wrap; }
.aynm-form .aynm-email {
	flex: 1 1 220px;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--aynm-line);
	border-radius: var(--aynm-radius);
	color: var(--aynm-text);
	font-family: inherit;
	font-size: 15px;
}
.aynm-form .aynm-email:focus { outline: 2px solid var(--aynm-accent); outline-offset: 0; border-color: var(--aynm-accent); }
.aynm-form .aynm-button {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 26px;
	background: var(--aynm-ink);
	border: 1px solid var(--aynm-ink);
	border-radius: var(--aynm-radius);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
	transition: background .2s, border-color .2s;
}
.aynm-form .aynm-button:hover, .aynm-form .aynm-button:focus-visible { background: var(--aynm-accent); border-color: var(--aynm-accent); }
.aynm-form .aynm-button:disabled { opacity: .6; cursor: wait; }
/* Honeypot: invisible to people, tempting to bots. */
.aynm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.aynm-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.5; min-height: 0; }
.aynm-msg:empty { display: none; }
.aynm-msg.is-success { color: #2f6b3f; }
.aynm-msg.is-error { color: #b32d2e; }
.aynm-privacy { margin: 10px 0 0; font-size: 12px; color: #777; line-height: 1.5; }
.aynm-form.is-done .aynm-row, .aynm-form.is-done .aynm-privacy { display: none; }
.aynm-form.is-done .aynm-intro { display: none; }

/* Shop "coming soon" screen (WooCommerce's own block) */
/* WooCommerce gives the message no size of its own and the page styling inflates it; keep it readable. */
.woocommerce-coming-soon-store-only .wp-block-group > p {
	font-size: 26px !important;
	line-height: 1.5 !important;
	max-width: 760px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 20px;
	box-sizing: border-box;
}
/* Match the spacing of our own "Coming soon" page screen: tight heading -> message -> form rhythm. */
.woocommerce-coming-soon-store-only .wp-block-spacer { display: none !important; }
.woocommerce-coming-soon-store-only .wp-block-group {
	gap: 14px !important;
	margin: 0 !important;
	padding: 128px 0 0 !important;
	min-height: 0 !important;
}
.woocommerce-coming-soon-store-only .wp-block-group > h1 { margin: 0 !important; }
/* Message lines are separate paragraphs; pull them together (cancel the 14px gap) so they read as one block. */
.woocommerce-coming-soon-store-only .wp-block-group > p + p {
	margin-top: -14px !important;
}
@media (max-width: 480px) {
	.woocommerce-coming-soon-store-only .wp-block-group > p { font-size: 20px !important; }
}
.aynm-store-wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 28px 20px 100px; box-sizing: border-box; }
.aynm-store-wrap .aynm-form { max-width: none; margin: 0; background: #fff; }

/* Variation form injected into WooCommerce's availability box */
.woocommerce-variation-availability .aynm-form { margin: 14px 0 0; }

/* Coming-soon screen */
.aynm-coming-soon {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 64px 20px;
	background: #FAF8F5;
	text-align: center;
}
.aynm-coming-soon__inner { width: 100%; max-width: 560px; }
.aynm-coming-soon__tag {
	display: inline-block;
	margin-bottom: 18px;
	font-size: 13px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: #A8927A;
}
.aynm-coming-soon__title { margin: 0 0 14px; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; color: #111; }
.aynm-coming-soon__text { margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: #444; }
.aynm-coming-soon .aynm-form { margin: 0 auto; background: #fff; text-align: left; }

@media (max-width: 480px) {
	.aynm-form .aynm-button { width: 100%; }
}
