.sm-dfb-block-page {
	margin: 0;
	min-height: 100vh;
}

body.sm-dfb-popup-open {
	overflow: hidden !important;
}

.sm-dfb-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 20px;
	background: rgba(20, 16, 17, 0.72);
	backdrop-filter: blur(5px);
}

.sm-dfb-overlay--page {
	min-height: 100vh;
}

.sm-dfb-popup {
	box-sizing: border-box;
	position: relative;
	width: min(100%, 600px);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 30px;
	border: 1px solid rgba(43, 35, 37, 0.12);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	color: #2b2325;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

.sm-dfb-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #5d5154;
	font: inherit;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.sm-dfb-popup__close:hover,
.sm-dfb-popup__close:focus {
	background: #f7f3f4;
	color: #241d1f;
}

.sm-dfb-popup__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #f7e9eb;
	color: #8a3040;
	font-size: 28px;
	font-weight: 700;
}

.sm-dfb-popup h1,
.sm-dfb-popup h2 {
	margin: 0 0 10px;
	color: #241d1f;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
}

.sm-dfb-popup h2 {
	font-size: 22px;
}

.sm-dfb-popup p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
}

.sm-dfb-popup hr {
	margin: 22px 0;
	border: 0;
	border-top: 1px solid #eadfe1;
}

.sm-dfb-popup__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 22px;
}

.sm-dfb-popup__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}

.sm-dfb-popup__button--whatsapp {
	background: #177c55;
	color: #fff;
}

.sm-dfb-popup__button--whatsapp:hover,
.sm-dfb-popup__button--whatsapp:focus {
	background: #116443;
	color: #fff;
}

.sm-dfb-popup__button--back {
	border-color: #cbbdc0;
	background: #fff;
	color: #362c2e;
}

.sm-dfb-popup__button--back:hover,
.sm-dfb-popup__button--back:focus {
	background: #f7f3f4;
	color: #000 !important;
}

.sm-dfb-popup__button:focus-visible,
.sm-dfb-popup__close:focus-visible {
	outline: 3px solid #3875d7;
	outline-offset: 3px;
}

@media (max-width: 520px) {
	.sm-dfb-overlay {
		align-items: flex-end;
		padding: 10px;
	}

	.sm-dfb-popup {
		max-height: calc(100vh - 20px);
		padding: 24px 20px;
		border-radius: 16px;
	}

	.sm-dfb-popup__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.sm-dfb-popup {
		animation: sm-dfb-popup-in 180ms ease-out both;
	}

	@keyframes sm-dfb-popup-in {
		from {
			opacity: 0;
			transform: translateY(12px) scale(0.985);
		}
	}
}
