.mjazz-quote-box {
	border-top: 4px solid #c13b41;
}

.quote-progress {
	display: none;
	margin: 1.75em 0 2em;
}

.mjazz-quote-form.is-enhanced .quote-progress {
	display: block;
}

.mjazz-quote-form.is-enhanced .quote-progress[hidden] {
	display: none;
}

.quote-progress__summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1em;
	margin-bottom: 0.65em;
}

.quote-progress__summary strong {
	color: #333;
	font-size: 0.95em;
}

.quote-progress__summary span {
	color: #777;
	font-size: 0.85em;
}

.quote-progress__track {
	background: #e8e8e8;
	border-radius: 999px;
	height: 6px;
	overflow: hidden;
}

.quote-progress__bar {
	background: #c13b41;
	height: 100%;
	transition: width 220ms ease;
	width: 25%;
}

.quote-progress__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75em;
	list-style: none;
	margin: 0.75em 0 0;
	padding: 0;
}

.quote-progress__steps li {
	color: #999;
	font-size: 0.76em;
	line-height: 1.25;
	margin: 0;
}

.quote-progress__steps li.is-active,
.quote-progress__steps li.is-complete {
	color: #555;
	font-weight: 700;
}

.quote-step {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.mjazz-quote-form.is-enhanced .quote-step {
	display: none;
}

.mjazz-quote-form.is-enhanced .quote-step.is-active {
	display: block;
}

.quote-step__heading {
	color: #333;
	display: block;
	font-size: 1.35em;
	font-weight: 600;
	margin: 0 0 0.35em;
	padding: 0;
	width: 100%;
}

.quote-step__intro {
	color: #777;
	margin: 0 0 1.5em;
}

.quote-field {
	margin-bottom: 1.6em;
}

.quote-field > label,
.quote-field > .quote-field__label {
	color: #444;
	display: block;
	font-size: 0.95em;
	font-weight: 700;
	margin-bottom: 0.7em;
}

.quote-field__optional {
	color: #888;
	font-size: 0.86em;
	font-weight: 400;
}

.quote-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65em;
}

.quote-choice-grid--events {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-choice {
	margin: 0;
	position: relative;
}

.quote-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.quote-choice span {
	align-items: center;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	color: #555;
	cursor: pointer;
	display: flex;
	font-size: 0.92em;
	font-weight: 600;
	gap: 0.7em;
	min-height: 3.25em;
	padding: 0.75em 0.9em;
	transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.quote-choice span::before {
	background: #fff;
	border: 2px solid #aaa;
	border-radius: 50%;
	box-sizing: border-box;
	content: '';
	flex: 0 0 1.05em;
	height: 1.05em;
}

.quote-choice input:checked + span {
	background: #fff8f8;
	border-color: #c13b41;
	box-shadow: 0 0 0 1px #c13b41;
	color: #333;
}

.quote-choice input:checked + span::before {
	background: #c13b41;
	border-color: #c13b41;
	box-shadow: inset 0 0 0 3px #fff;
}

.quote-choice input:focus-visible + span {
	outline: 3px solid rgba(193, 59, 65, 0.25);
	outline-offset: 2px;
}

.quote-choice--wide {
	grid-column: 1 / -1;
}

.quote-inline-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1em;
}

.quote-time-field > label {
	color: #444;
	display: block;
	font-size: 0.95em;
	font-weight: 700;
	margin-bottom: 0.7em;
}

.quote-time-selects {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.55em;
}

.quote-time-selects select {
	margin: 0;
	min-width: 0;
}

.quote-time-selects > span {
	color: #555;
	font-size: 1.25em;
	font-weight: 700;
}

.quote-check {
	align-items: flex-start;
	display: flex;
	gap: 0.65em;
	margin: -0.4em 0 1.6em;
}

.quote-check input {
	flex: 0 0 auto;
	margin-top: 0.3em;
}

.quote-check label {
	color: #555;
	cursor: pointer;
	font-size: 0.92em;
	font-weight: 600;
	margin: 0;
}

.quote-actions {
	align-items: center;
	display: flex;
	gap: 0.75em;
	justify-content: flex-end;
	margin-top: 2em;
}

.quote-actions .button,
.quote-actions input[type="submit"] {
	margin: 0;
}

.quote-actions .quote-back {
	background: transparent;
	box-shadow: inset 0 0 0 1px #ccc;
	color: #666 !important;
}

.quote-submit-note {
	color: #777;
	font-size: 0.86em;
	margin: 1em auto 0;
	max-width: 34em;
	text-align: center;
}

.quote-form-error {
	background: #fff3f3;
	border-left: 4px solid #c13b41;
	color: #8b2429;
	margin-bottom: 1.5em;
	padding: 0.9em 1em;
}

@media screen and (max-width: 736px) {
	.mjazz-quote-box {
		padding: 1.5em 1em;
	}

	.quote-progress {
		margin: 1.1em 0 1.5em;
	}

	.quote-progress__steps {
		gap: 0.3em;
	}

	.quote-progress__steps li {
		font-size: 0.66em;
	}

	.quote-choice-grid,
	.quote-inline-fields {
		grid-template-columns: 1fr;
	}

	.quote-choice-grid--events {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.quote-choice-grid--events .quote-choice span {
		min-height: 3.75em;
		padding: 0.65em 0.7em;
	}

	.quote-choice--wide {
		grid-column: auto;
	}

	.quote-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.quote-actions .button,
	.quote-actions input[type="submit"] {
		text-align: center;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.quote-progress__bar,
	.quote-choice span {
		transition: none;
	}
}
