/* ==========================================================================
   NutriPur Warteliste (Back-in-Stock)
   Brand: #29594A (Grün), #D9F3BA (Hellgrün), #21313C (Dunkel)
   ========================================================================== */

.np-wl {
	margin: 20px 0;
	padding: 20px 22px;
	border: 1px solid #d8e6d0;
	border-left: 4px solid #29594A;
	border-radius: 8px;
	background: #f6faf1;
}

.np-wl--hidden {
	display: none !important;
}

.np-wl__heading {
	margin: 0 0 6px;
	font-size: 1.05rem;
	line-height: 1.3;
	color: #21313C;
}

.np-wl__intro {
	margin: 0 0 14px;
	font-size: .9rem;
	line-height: 1.5;
	color: #3a4a41;
}

.np-wl__field {
	margin: 0 0 12px;
}

.np-wl__label {
	display: block;
	margin: 0 0 5px;
	font-size: .85rem;
	font-weight: 600;
	color: #21313C;
}

.np-wl__required {
	color: #b3261e;
}

.np-wl__email {
	width: 100%;
	max-width: 420px;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1px solid #b9cbb0;
	border-radius: 6px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.3;
	color: #21313C;
}

.np-wl__email::placeholder {
	color: #8a988c;
}

.np-wl__email:focus {
	outline: 2px solid #29594A;
	outline-offset: 2px;
	border-color: #29594A;
}

/* NEU: Varianten-Auswahl (Dropdown) + Info-Label bei inaktiven Varianten */
.np-wl__variation {
	width: 100%;
	max-width: 420px;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1px solid #b9cbb0;
	border-radius: 6px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.3;
	color: #21313C;
}

.np-wl__variation:focus {
	outline: 2px solid #29594A;
	outline-offset: 2px;
	border-color: #29594A;
}

.np-wl__variation-label {
	margin: 0 0 12px;
	font-size: .9rem;
	font-weight: 600;
	color: #21313C;
}

/* Datenschutz-Hinweis unter dem Button (ersetzt die fruehere Consent-Checkbox) */
.np-wl__privacy-note {
	margin: 10px 0 0;
	font-size: .78rem;
	line-height: 1.5;
	color: #5a6b61;
}

.np-wl__privacy-note a {
	color: #29594A;
	text-decoration: underline;
}

/* Submit-Button.
   WICHTIG: Das Formular haengt an woocommerce_single_product_summary und liegt damit
   in .product .summary. WPCodeBox-Snippet 12 setzt dort
   `.product .summary .button { width:75%; padding:0 14px; text-transform:uppercase }`
   -> ohne vertikales Padding und mit nur 75% Breite brach "BENACHRICHTIGE MICH" um und
   die zweite Zeile ragte aus dem Button. Deshalb hier hoehere Spezifitaet (.np-wl davor)
   und explizite Geometrie statt Verlass auf die Theme-/Snippet-Werte.
   Das !important ist hier NOETIG und kein Stil-Faulheit: eine Regel `.button`
   setzt `height:48px !important; line-height:48px !important`. Gegen ein !important
   hilft nur ein !important mit hoeherer Spezifitaet - sonst bleibt der Button auf
   48px fixiert, waehrend der umgebrochene Text 96px braucht (= Ueberlauf). */
.np-wl .np-wl__submit.button.alt {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: auto !important;
	min-height: 48px !important;
	margin: 4px 0 0;
	padding: 12px 18px !important;
	background: #29594A;
	color: #fff;
	border-radius: 32px;
	line-height: 1.25 !important;
	white-space: normal;
	text-align: center;
	box-sizing: border-box;
}

.np-wl .np-wl__submit.button.alt:hover,
.np-wl .np-wl__submit.button.alt:focus {
	background: #21313C;
	color: #fff;
}

.np-wl__submit:disabled {
	opacity: .6;
	cursor: default;
}

/* Statusmeldungen (aria-live) */
.np-wl__status {
	margin: 12px 0 0;
	font-size: .88rem;
	line-height: 1.45;
	min-height: 1px;
}

.np-wl__status[data-type="success"] {
	color: #1e7a3d;
	font-weight: 600;
}

.np-wl__status[data-type="error"] {
	color: #b3261e;
	font-weight: 600;
}

.np-wl__status[data-type="info"] {
	color: #21313C;
}

/* Im Quick-View-Modal etwas kompakter */
#kubi-qv-product-summary .np-wl {
	margin: 16px 0 0;
	padding: 16px 18px;
}

/* ==========================================================================
   Bestätigungsseite (Double-Opt-in)
   ========================================================================== */

.np-wl-confirm-page {
	max-width: 640px;
	margin: 60px auto;
	padding: 0 20px;
}

.np-wl-confirm-card {
	padding: 40px 32px;
	border: 1px solid #d8e6d0;
	border-top: 5px solid #29594A;
	border-radius: 10px;
	background: #f6faf1;
	text-align: center;
}

.np-wl-confirm-title {
	margin: 0 0 14px;
	color: #21313C;
}

.np-wl-confirm-message {
	margin: 0 0 26px;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #3a4a41;
}

.np-wl-confirm-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
}
