.sd-smart-contact {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 10000;
	max-width: min(360px, calc(100vw - 32px));
	font-family: inherit;
	color: #1f2a22;
}

.sd-smart-contact__launcher {
	display: none;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-left: auto;
	border: 1px solid rgba(31, 42, 34, 0.18);
	border-radius: 999px;
	background: #1f6f43;
	color: #ffffff;
	box-shadow: 0 14px 32px rgba(16, 24, 18, 0.2);
	cursor: pointer;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.sd-smart-contact__panel {
	position: relative;
	padding: 20px;
	border: 1px solid rgba(31, 42, 34, 0.16);
	border-radius: 8px;
	background: #fffdf7;
	box-shadow: 0 20px 48px rgba(16, 24, 18, 0.2);
}

.sd-smart-contact.is-collapsed .sd-smart-contact__launcher {
	display: inline-flex;
}

.sd-smart-contact.is-collapsed .sd-smart-contact__panel {
	display: none;
}

.sd-smart-contact__close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #465245;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.sd-smart-contact__eyebrow {
	margin: 0 34px 8px 0;
	color: #6d5b2f;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sd-smart-contact__message {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.45;
}

.sd-smart-contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sd-smart-contact__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid rgba(31, 42, 34, 0.2);
	border-radius: 6px;
	color: #1f2a22;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.sd-smart-contact__button--primary {
	border-color: #1f6f43;
	background: #1f6f43;
	color: #ffffff;
}

.sd-smart-contact__lead {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(31, 42, 34, 0.12);
}

.sd-smart-contact__label {
	display: block;
	margin-bottom: 8px;
	color: #39473c;
	font-size: 13px;
	font-weight: 700;
}

.sd-smart-contact__lead-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.sd-smart-contact__input,
.sd-smart-contact__textarea {
	width: 100%;
	border: 1px solid rgba(31, 42, 34, 0.22);
	border-radius: 6px;
	background: #ffffff;
	color: #1f2a22;
	font: inherit;
	font-size: 14px;
}

.sd-smart-contact__input {
	min-height: 40px;
	padding: 9px 10px;
}

.sd-smart-contact__textarea {
	margin-top: 8px;
	padding: 9px 10px;
	resize: vertical;
}

.sd-smart-contact__submit {
	min-height: 40px;
	padding: 9px 12px;
	border: 1px solid #1f6f43;
	border-radius: 6px;
	background: #1f6f43;
	color: #ffffff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
}

.sd-smart-contact__submit:disabled {
	cursor: progress;
	opacity: 0.7;
}

.sd-smart-contact__status {
	min-height: 18px;
	margin: 8px 0 0;
	color: #526052;
	font-size: 12px;
	line-height: 1.35;
}

@media (max-width: 640px) {
	.sd-smart-contact {
		right: 16px;
		bottom: 16px;
		left: 16px;
		max-width: none;
	}

	.sd-smart-contact.is-collapsed {
		left: auto;
	}

	.sd-smart-contact__panel {
		padding: 18px;
	}

	.sd-smart-contact__message {
		font-size: 15px;
	}

	.sd-smart-contact__lead-row {
		grid-template-columns: 1fr;
	}
}
