.wk-newsletter-popup[hidden] {
	display: none !important;
}

.wk-newsletter-popup {
	position: fixed;
	z-index: 10020;
	right: clamp(14px, 2vw, 30px);
	bottom: clamp(76px, calc(2vw + 60px), 90px);
	max-height: calc(100vh - 100px);
	max-height: calc(100dvh - 100px);
	overflow-y: auto;
	width: min(420px, calc(100vw - 28px));
	color: #2b251e;
	font-family: var(--wk-sans, Inter, "Segoe UI", Arial, sans-serif);
}

.wk-newsletter-popup__card {
	position: relative;
	padding: 30px 30px 21px;
	border: 1px solid rgba(122, 87, 46, .24);
	border-radius: 20px;
	background: #fffaf2;
	box-shadow: 0 22px 70px rgba(19, 22, 16, .24);
}

.wk-newsletter-popup__card::before {
	position: absolute;
	top: 0;
	left: 26px;
	right: 26px;
	height: 3px;
	border-radius: 0 0 4px 4px;
	background: linear-gradient(90deg, transparent, #c39355, transparent);
	content: "";
}

.wk-newsletter-popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border: 1px solid #e5d6c1;
	border-radius: 50%;
	background: transparent;
	color: #2b251e;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.wk-newsletter-popup__close:hover,
.wk-newsletter-popup__close:focus-visible {
	border-color: #c39355;
	background: #f7efdf;
}

.wk-newsletter-popup__eyebrow {
	margin: 0 44px 9px 0;
	color: #8a6335;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wk-newsletter-popup__card h2 {
	max-width: 340px;
	margin: 0 24px 10px 0;
	color: #2b251e;
	font-family: var(--wk-serif, Georgia, "Times New Roman", serif);
	font-size: clamp(1.8rem, 4vw, 2.15rem);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.02;
}

.wk-newsletter-popup__copy {
	margin: 0 0 15px;
	color: #74685b;
	font-size: .91rem;
	line-height: 1.55;
}

.wk-newsletter-popup__offer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 15px;
	padding: 7px 11px;
	border: 1px solid #e6d3b7;
	border-radius: 999px;
	background: #f7efdf;
	color: #6f4c25;
	font-size: .67rem;
	font-weight: 800;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.wk-newsletter-popup__terms {
	margin: 10px 0 18px;
	color: #74685c;
	font-size: .76rem;
	line-height: 1.5;
}

/* Keep Brevo's required embed structure visually transparent inside our card. */
.wk-newsletter-popup .sib-form,
.wk-newsletter-popup .sib-form-container {
	background: transparent !important;
	text-align: left !important;
}

.wk-newsletter-popup #sib-container {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	text-align: left !important;
}

.wk-newsletter-popup .sib-form-block,
.wk-newsletter-popup .sib-input {
	margin: 0 !important;
	padding: 0 !important;
}

.wk-newsletter-popup__form {
	margin: 0;
}

.wk-newsletter-popup__submit .sib-hide-loader-icon {
	display: none !important;
}

.wk-newsletter-popup__offer span {
	color: #a87638;
	font-size: 1rem;
}

.wk-newsletter-popup__label {
	display: block;
	margin: 0 0 6px;
	color: #473b30;
	font-size: .78rem;
	font-weight: 700;
}

.wk-newsletter-popup__input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid #d8c8b4;
	border-radius: 7px;
	background: #fff;
	color: #2b251e;
	font: inherit;
}

.wk-newsletter-popup__input::placeholder {
	color: #8a8178;
}

.wk-newsletter-popup__input:focus-visible {
	border-color: #8a6335;
	outline: 3px solid rgba(195, 147, 85, .24);
	outline-offset: 1px;
}

.wk-newsletter-popup__submit {
	display: flex;
	width: 100%;
	min-height: 48px;
	align-items: center;
	justify-content: space-between;
	margin: 10px 0 0;
	padding: 0 16px;
	border: 1px solid #c39355;
	border-radius: 7px;
	background: linear-gradient(130deg, #0d281f, #173e31);
	color: #fffaf2;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}

.wk-newsletter-popup__submit:hover,
.wk-newsletter-popup__submit:focus-visible {
	background: linear-gradient(130deg, #173e31, #0d281f);
	outline: 3px solid rgba(195, 147, 85, .25);
	outline-offset: 2px;
}

.wk-newsletter-popup__submit:disabled,
.wk-newsletter-popup__input:disabled {
	opacity: .72;
	cursor: not-allowed;
}

.wk-newsletter-popup__privacy {
	margin: 10px 0 0;
	color: #75695e;
	font-size: .64rem;
	line-height: 1.5;
}

.wk-newsletter-popup__privacy a {
	color: #704d28;
	text-underline-offset: 2px;
}

.wk-newsletter-popup__privacy a:hover,
.wk-newsletter-popup__privacy a:focus-visible {
	color: #0d281f;
}

.wk-newsletter-popup__later {
	display: block;
	margin: 11px auto 0;
	padding: 2px 4px;
	border: 0;
	background: transparent;
	color: #6e6256;
	font: inherit;
	font-size: .72rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.wk-newsletter-popup__message {
	display: none;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #d5e4d8;
	border-radius: 8px;
	font-size: .82rem;
}

.wk-newsletter-popup__message.sib-form-message-panel--active {
	display: block;
}

.wk-newsletter-popup__message--success {
	background: #edf6ef;
	color: #1b4b30;
}

.wk-newsletter-popup__message--error {
	border-color: #e3c5c1;
	background: #fff0ee;
	color: #782e28;
}

.wk-newsletter-popup__field-error:empty,
.wk-newsletter-popup__honeypot,
.wk-newsletter-popup__preview-note {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	overflow: hidden !important;
}

.wk-newsletter-popup[data-preview="1"] .wk-newsletter-popup__preview-note {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 0 12px;
	padding: 8px 10px !important;
	border: 1px solid #e6d3b7 !important;
	border-radius: 7px;
	background: #f7efdf;
	clip: auto !important;
	clip-path: none !important;
	color: #6f4c25;
	font-size: .68rem;
	font-weight: 700;
	white-space: normal !important;
}

.wk-newsletter-popup__card :focus-visible {
	outline-color: #c39355;
}

@media (max-width: 640px) {
	.wk-newsletter-popup {
		right: max(10px, env(safe-area-inset-right));
		bottom: max(74px, calc(env(safe-area-inset-bottom) + 64px));
		max-height: calc(100vh - 88px);
		max-height: calc(100dvh - 88px);
		width: min(420px, calc(100vw - 20px));
	}

	.wk-newsletter-popup__card {
		padding: 23px 19px 15px;
		border-radius: 18px;
	}

	.wk-newsletter-popup__close {
		top: 12px;
		right: 12px;
		width: 32px;
		height: 32px;
	}

	.wk-newsletter-popup__eyebrow {
		margin-bottom: 6px;
		font-size: .61rem;
	}

	.wk-newsletter-popup__card h2 {
		margin-bottom: 8px;
		font-size: clamp(1.65rem, 8vw, 1.9rem);
	}

	.wk-newsletter-popup__copy {
		margin-bottom: 10px;
		font-size: .82rem;
		line-height: 1.45;
	}

	.wk-newsletter-popup__offer {
		margin-bottom: 10px;
		padding: 6px 9px;
		font-size: .61rem;
	}

	.wk-newsletter-popup__input,
	.wk-newsletter-popup__submit {
		min-height: 44px;
	}

	.wk-newsletter-popup__privacy {
		margin-top: 8px;
		font-size: .6rem;
	}

	.wk-newsletter-popup__later {
		margin-top: 7px;
		font-size: .68rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wk-newsletter-popup:not([hidden]) .wk-newsletter-popup__card {
		animation: wk-newsletter-popup-enter-20261026 .24s ease-out both;
	}

	@keyframes wk-newsletter-popup-enter-20261026 {
		from { opacity: 0; transform: translateY(12px); }
		to { opacity: 1; transform: translateY(0); }
	}
}
