/*
WiśniaCatering Newsletter — baseline styling for the [wisnia_newsletter]
form, scoped under .wisnia-nl-form-wrap so it never leaks onto the rest
of the page. On the WiśniaCatering theme these elements also carry the
theme's own classes (form-card, form-row, btn, btn-cherry, form-notice)
and pick up that styling automatically; these rules are the fallback for
any other theme.
*/

.wisnia-nl-form-wrap {
	max-width: 620px;
	margin: 0 auto;
	padding: 28px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.wisnia-nl-title {
	margin: 0 0 6px;
}

.wisnia-nl-desc {
	margin: 0 0 18px;
	color: #555;
}

.wisnia-nl-form .wisnia-nl-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 14px;
}
.wisnia-nl-form .wisnia-nl-row.wisnia-nl-row-single {
	grid-template-columns: 1fr;
}
@media (max-width: 520px) {
	.wisnia-nl-form .wisnia-nl-row {
		grid-template-columns: 1fr;
	}
}

.wisnia-nl-field label {
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.wisnia-nl-form input[type="text"],
.wisnia-nl-form input[type="email"] {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #d5d5d5;
	border-radius: 8px;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.wisnia-nl-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.82rem;
	color: #555;
	margin: 4px 0 18px;
	cursor: pointer;
}
.wisnia-nl-consent input {
	margin-top: 3px;
}

.wisnia-nl-submit {
	display: inline-block;
	background: #d1063f;
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
}
.wisnia-nl-submit:hover {
	opacity: 0.92;
}

.wisnia-nl-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0;
	width: 0;
	overflow: hidden;
}

.wisnia-nl-notice {
	border-radius: 10px;
	padding: 12px 16px;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 18px;
}
.wisnia-nl-notice.success {
	background: #e6f5e6;
	color: #245c2a;
	border: 1px solid #3aa447;
}
.wisnia-nl-notice.error {
	background: #ffe3ea;
	color: #a8032f;
	border: 1px solid #d1063f;
}
