/* =============================================================================
   Marketing Popup
   ============================================================================= */

body.mrk-popup-open {
	overflow: hidden;
}

.mrk-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.65);
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.mrk-popup-overlay.is-visible {
	display: flex;
}

/* Wrap */
.mrk-popup-wrap {
	position: relative;
	background: #ffffff;
	border-radius: 8px;
	max-width: 880px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	animation: mrkPopupIn 0.3s ease;
}
.mrk-popup-form .fluentform .ff-el-group {
  margin-bottom: 10px;
}
.mrk-popup-form .fluentform .ff-el-group.ff_submit_btn_wrapper {
  margin-bottom: 0px;
}

@keyframes mrkPopupIn {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Close button */
.mrk-popup-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	z-index: 2;
	padding: 0 4px;
	transition: color 0.2s, transform 0.2s;
}

.mrk-popup-close:hover {
	color: #000;
	transform: scale(1.15);
}

/* Inner two-column layout */
.mrk-popup-inner {
	display: flex;
	flex-wrap: nowrap;
	min-height: 300px;
}

/* Left column */
.mrk-popup-left {
	flex: 1 1 58%;
	padding: 44px 36px 40px 44px;
	box-sizing: border-box;
	min-width: 0;
}

.mrk-popup-title {
	font-family: 'Montserrat';
	color: #a17e2c;
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 1.85rem;
	line-height: 1.3;
}

.mrk-popup-content {
	margin-bottom: 24px;
	font-size: 18px;
}

.mrk-popup-content p:last-child {
	margin-bottom: 0;
}

.mrk-popup-form {
	margin-top: 8px;
}

/* Right column */
.mrk-popup-right {
	flex: 0 0 38%;
	max-width: 38%;
	display: flex;
	align-items: stretch;
}

.mrk-popup-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 8px 8px 0;
	display: block;
}

/* =============================================================================
   Responsive – tablet & mobile
   ============================================================================= */

@media (max-width: 760px) {
	.mrk-popup-inner {
		flex-wrap: nowrap;
	}

	.mrk-popup-left {
		flex: 0 0 75%;
		max-width: 75%;
		padding: 36px 24px 32px;
	}

	.mrk-popup-right {
		flex: 0 0 25%;
		max-width: 25%;
		display: flex;
	}

	.mrk-popup-image {
		object-position: center top;
	}
}

@media (max-width: 480px) {
	.mrk-popup-overlay {
		padding: 8px;
		align-items: flex-end;
	}

	.mrk-popup-wrap {
		border-radius: 8px 8px 0 0;
		max-height: 92vh;
		max-width: 90%;
		
	}

	.mrk-popup-left {
		padding: 28px 18px 28px;
	}

	.mrk-popup-title {
		font-size: 1.2rem;
	}
}
