.n3-repair-cost {
	--n3-repair-primary: var(--fs-color-primary, var(--primary-color, #ffb000));
	--n3-repair-secondary: var(--fs-color-secondary, var(--secondary-color, #202b3f));
	--n3-repair-heading: var(--n3-repair-headline-color, #2f3542);
	--n3-repair-text: var(--n3-repair-heading);
	--n3-repair-muted: var(--n3-repair-heading);
	--n3-repair-border: var(--fs-color-gray-300, #e9edf4);
	--n3-repair-soft: color-mix(in srgb, var(--n3-repair-primary) 12%, #fff);
	color: var(--n3-repair-text);
	margin: 0 auto;
	max-width: var(--n3-section-width, 1340px);
	padding: 12px 16px;
}

.n3-repair-cost__head {
	margin: 0 auto 22px;
	max-width: 820px;
	text-align: center;
}

.n3-repair-cost__head h2 {
	color: var(--n3-repair-heading);
	font-size: clamp(24px, 3.3vw, 42px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0;
	text-transform: capitalize;
}

.n3-repair-cost__head h2::first-letter,
.n3-repair-cost__head h2 {
	text-wrap: balance;
}

.n3-repair-cost__head h2,
.n3-repair-cost__submit {
	word-break: normal;
}

.n3-repair-cost__head h2::selection {
	background: var(--n3-repair-soft);
}

.n3-repair-cost__line {
	background: var(--n3-repair-primary);
	border-radius: 99px;
	height: 4px;
	margin: 14px auto 16px;
	width: 74px;
}

.n3-repair-cost__head p {
	color: var(--n3-repair-heading);
	font-size: 14px;
	line-height: 1.55;
	margin: 4px 0 0;
}

.n3-repair-cost__head h2 span,
.n3-repair-cost__head h2 strong {
	color: var(--n3-repair-primary);
}

.n3-repair-cost__box {
	background: #fff;
	border: 1px solid var(--n3-repair-border);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
	padding: 28px;
}

.n3-repair-cost__fields {
	display: grid;
	gap: 18px 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.n3-repair-cost__field {
	min-width: 0;
}

.n3-repair-cost__field--wide {
	grid-column: span 2;
}

.n3-repair-cost__field label {
	color: var(--n3-repair-heading);
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin: 0 0 8px 0;
}

.n3-repair-cost__select,
.n3-repair-cost__dimensions > div {
	align-items: center;
	background: #fff;
	border: 1px solid var(--n3-repair-border);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	grid-template-columns: 34px minmax(0, 1fr);
	min-height: 58px;
	padding: 0 14px;
}

.n3-repair-cost__field.has-error .n3-repair-cost__select,
.n3-repair-cost__field.has-error .n3-repair-cost__dimensions > div {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.n3-repair-cost__select {
	display: block;
	padding: 0;
	position: relative;
}

.n3-repair-cost__select > span,
.n3-repair-cost__dimensions span {
	align-items: center;
	background: var(--n3-repair-soft);
	border-radius: 999px;
	color: var(--n3-repair-primary);
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.n3-repair-cost__select > span {
	left: 14px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}

.n3-repair-cost svg {
	display: block;
	height: 24px;
	width: 24px;
}

.n3-repair-cost select,
.n3-repair-cost input {
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--n3-repair-heading);
	font-size: 13px;
	height: 56px;
	margin: 0;
	min-width: 0;
	outline: 0 !important;
	padding: 0;
	width: 100%;
}

.n3-repair-cost select::placeholder,
.n3-repair-cost input::placeholder {
	color: var(--n3-repair-heading);
	opacity: 1;
}

.n3-repair-cost input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.n3-repair-cost input[type="number"]::-webkit-inner-spin-button,
.n3-repair-cost input[type="number"]::-webkit-outer-spin-button {
	appearance: none;
	margin: 0;
}

.n3-repair-cost select:focus,
.n3-repair-cost input:focus {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.n3-repair-cost select {
	cursor: pointer;
	height: 58px;
	padding-left: 58px;
	padding-right: 44px;
	position: relative;
	z-index: 2;
}

.n3-repair-cost__select::after {
	border-bottom: 2px solid var(--n3-repair-heading);
	border-right: 2px solid var(--n3-repair-heading);
	content: "";
	height: 7px;
	position: absolute;
	right: 18px;
	top: 23px;
	transform: rotate(45deg);
	width: 7px;
}

.n3-repair-cost__dimensions {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.n3-repair-cost__submit {
	align-items: center;
	background: var(--n3-repair-primary);
	border: 0;
	border-radius: 7px;
	box-shadow: 0 10px 18px color-mix(in srgb, var(--n3-repair-primary) 28%, transparent);
	color: var(--n3-repair-heading);
	cursor: pointer;
	display: flex;
	font-size: 18px;
	font-weight: 900;
	gap: 12px;
	justify-content: center;
	line-height: 1.2;
	margin: 24px 0;
	min-height: 62px;
	padding: 12px 18px;
	text-transform: uppercase;
	width: 100%;
}

.n3-repair-cost__error {
	color: #dc2626;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	margin: 18px 0 -8px;
	text-align: center;
}

.n3-repair-cost__error:empty {
	display: none;
}

.n3-repair-cost__submit span {
	color: currentColor;
	display: inline-flex;
}

.n3-repair-cost__result {
	align-items: center;
	border: 1px solid var(--n3-repair-border);
	border-radius: 8px;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 18px 24px;
	background-color: #f3f4f6;
}

.n3-repair-cost__result-main {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: 64px minmax(0, 1fr);
}

.n3-repair-cost__money-icon {
	align-items: center;
	background: color-mix(in srgb, var(--n3-repair-secondary) 10%, #fff);
	border-radius: 999px;
	color: var(--n3-repair-secondary);
	display: inline-flex;
	height: 58px;
	justify-content: center;
	width: 58px;
}

.n3-repair-cost__money-icon svg {
	height: 34px;
	width: 34px;
}

.n3-repair-cost__result small {
	color: var(--n3-repair-heading);
	display: block;
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.n3-repair-cost__result strong {
	color: var(--n3-repair-heading);
	display: block;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 950;
	letter-spacing: 0;
	line-height: 1.15;
}

.n3-repair-cost__result em {
	color: var(--n3-repair-heading);
	display: block;
	font-size: 13px;
	font-style: normal;
	margin-top: 4px;
}

.n3-repair-cost__cta {
	align-items: center;
	border: 2px solid var(--n3-repair-primary);
	border-radius: 7px;
	color: var(--n3-repair-heading);
	display: inline-flex;
	font-size: 14px;
	font-weight: 900;
	gap: 10px;
	justify-content: center;
	line-height: 1.25;
	min-height: 54px;
	padding: 10px 20px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.n3-repair-cost__cta:hover {
	background: var(--n3-repair-soft);
	color: var(--n3-repair-heading);
}

.n3-repair-cost__secure {
	align-items: center;
	color: var(--n3-repair-heading);
	display: flex;
	font-size: 12px;
	gap: 8px;
	justify-content: center;
	line-height: 1.45;
	margin-top: 18px;
	text-align: center;
}

.n3-repair-cost__secure span {
	color: var(--n3-repair-primary);
	display: inline-flex;
	flex: 0 0 auto;
}

.n3-repair-cost__secure svg {
	height: 18px;
	width: 18px;
}

@media (max-width: 849px) {
	.n3-repair-cost {
		padding: 10px 0;
	}

	.n3-repair-cost__box {
		padding: 18px;
	}

	.n3-repair-cost__fields,
	.n3-repair-cost__dimensions,
	.n3-repair-cost__result {
		grid-template-columns: 1fr;
	}

	.n3-repair-cost__field--wide {
		grid-column: auto;
	}

	.n3-repair-cost__result {
		align-items: stretch;
	}

	.n3-repair-cost__cta {
		white-space: normal;
	}
}
