.price-offer-modal {
	--price-offer-modal-overlay: rgba(11, 38, 57, 0.34);

	box-sizing: border-box;
	width: min(640px, calc(100% - (var(--space-md) * 2)));
	max-height: calc(100dvh - (var(--space-md) * 2));
	margin: auto;
	padding: 0;
	overflow: auto;
	background-color: var(--color-surface-light);
	border: 0;
	border-radius: var(--radius-lg);
	color: var(--color-text);
	box-shadow: var(--shadow-card-hover);
}

.price-offer-modal::backdrop {
	background: var(--price-offer-modal-overlay);
}

.price-offer-modal__panel {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	padding: var(--space-xl);
}

.price-offer-modal__header {
	display: flex;
	gap: var(--space-md);
	align-items: flex-start;
	justify-content: space-between;
}

.price-offer-modal__title {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-family-base);
	font-size: var(--font-size-lg);
	font-weight: 600;
	line-height: 1.4;
}

.price-offer-modal__close {
	flex: 0 0 auto;
	width: var(--space-xl);
	height: var(--space-xl);
	padding: 0;
	background: var(--color-surface-control);
	border: 0;
	border-radius: 50%;
	color: var(--color-text);
	font-size: var(--font-size-lg);
	line-height: 1;
	cursor: pointer;
}

.price-offer-modal__description {
	margin: 0;
	color: var(--color-text-soft);
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: 1.5;
}

.price-offer-modal__form .cf7-form__row,
.price-offer-modal__form .cf7-form__field {
	margin-top: var(--space-md);
}

.price-offer-modal__form .cta--primary {
	margin-top: var(--space-lg);
}

html.price-offer-modal-open {
	overflow: hidden;
}

@media (max-width: 668px) {
	.price-offer-modal__panel {
		padding: var(--space-lg);
	}

	.price-offer-modal__form .cf7-form__row {
		flex-direction: column;
	}
}
