.miq-open-modal {
	display: block;
	width: 100%;
	max-width: 360px;
	margin-top: 14px;
	background: #0b4f8c !important;
	border-color: #0b4f8c !important;
	color: #fff !important;
}

.miq-open-modal:hover {
	background: #07365f !important;
	border-color: #07365f !important;
}

.miq-modal[aria-hidden="true"] {
	display: none;
}

.miq-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.miq-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.62);
}

.miq-modal__dialog {
	position: relative;
	width: min(680px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 30px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.miq-modal__dialog h2 {
	margin: 0 40px 8px 0;
	color: #07365f;
}

.miq-product-summary {
	margin-bottom: 22px;
	font-weight: 600;
}

.miq-modal__close {
	position: absolute;
	top: 12px;
	right: 15px;
	border: 0;
	background: transparent;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.miq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

#miq-quote-form label {
	display: block;
	margin-bottom: 16px;
	font-weight: 600;
}

#miq-quote-form label span {
	color: #d71920;
}

#miq-quote-form input,
#miq-quote-form textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
}

.miq-submit {
	background: #d71920 !important;
	border-color: #d71920 !important;
	color: #fff !important;
}

.miq-form-message {
	margin: 10px 0 16px;
	font-weight: 600;
}

.miq-form-message.is-success {
	color: #16753a;
}

.miq-form-message.is-error {
	color: #b00020;
}

.miq-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

body.miq-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.miq-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.miq-modal__dialog {
		padding: 22px;
	}
}
