/* STL Quote Calculator. Colours from the old form: yellow #F6BC02, navy #2c3e50, grey #ECF0F1. */
.stl-quote {
	--q-accent: #f6bc02;
	--q-ink: #2c3e50;
	--q-bg: #ecf0f1;
	--q-line: #d5dbde;
	--q-error: #c0392b;
	font-family: "Hind Siliguri", inherit;
	color: var(--q-ink);
	max-width: 960px;
	margin: 0 auto;
}
.stl-quote *, .stl-quote *::before, .stl-quote *::after { box-sizing: border-box; }
.stl-quote__form {
	background: var(--q-bg);
	border-radius: 10px;
	padding: clamp(20px, 4vw, 40px);
}
.stl-quote [hidden] { display: none !important; }

.stl-quote__progress { display: flex; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; }
.stl-quote__progress li { flex: 1; height: 5px; border-radius: 3px; background: var(--q-line); transition: background .25s; }
.stl-quote__progress li.is-active { background: var(--q-accent); }

.stl-quote__title {
	font-family: "Montserrat", inherit;
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 18px;
	color: var(--q-ink);
}
.stl-quote__subtitle { font-family: "Montserrat", inherit; font-size: 18px; font-weight: 700; margin: 22px 0 12px; color: var(--q-ink); }

.stl-quote__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.stl-quote__choice { position: relative; cursor: pointer; display: block; }
.stl-quote__choice input { position: absolute; opacity: 0; inset: 0; }
.stl-quote__choice-box {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	padding: 26px 16px; background: #fff; border: 3px solid transparent; border-radius: 10px;
	font-family: "Montserrat", inherit; font-weight: 600; font-size: 17px; text-align: center;
	transition: border-color .2s, transform .2s;
}
.stl-quote__choice-box svg { width: 64px; height: 64px; color: var(--q-ink); }
.stl-quote__choice:hover .stl-quote__choice-box { transform: translateY(-2px); }
.stl-quote__choice input:checked + .stl-quote__choice-box { border-color: var(--q-accent); }
.stl-quote__choice input:focus-visible + .stl-quote__choice-box { outline: 2px solid var(--q-ink); outline-offset: 2px; }
.stl-quote__help { margin: 18px 0 0; font-size: 15px; }
.stl-quote__help a { color: var(--q-ink); font-weight: 600; }

.stl-quote__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.stl-quote__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stl-quote__field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.stl-quote__label { font-weight: 600; font-size: 15px; }
.stl-quote__field input,
.stl-quote__field select,
.stl-quote__field textarea {
	width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--q-ink);
	background: #fff; border: 3px solid var(--q-accent); border-radius: 6px;
}
.stl-quote__field input:focus,
.stl-quote__field select:focus,
.stl-quote__field textarea:focus { outline: none; border-color: var(--q-ink); }
.stl-quote__field [aria-invalid="true"] { border-color: var(--q-error); }
.stl-quote__field-error, .stl-quote__error { color: var(--q-error); font-size: 14px; font-weight: 600; }
.stl-quote__error { margin: 14px 0 0; }

.stl-quote__check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; font-weight: 600; }
.stl-quote__check input { width: 22px; height: 22px; accent-color: var(--q-ink); }

.stl-quote__price-label { margin: 0; font-size: 17px; }
.stl-quote__price { font-family: "Montserrat", inherit; font-size: clamp(34px, 6vw, 48px); font-weight: 700; margin: 4px 0 18px; color: var(--q-ink); }
.stl-quote__notice { font-size: 14px; line-height: 1.55; background: #fff; border-left: 4px solid var(--q-accent); padding: 12px 16px; border-radius: 4px; margin: 0; }

.stl-quote__done { text-align: center; padding: 24px 0; font-size: 18px; font-weight: 600; }
.stl-quote__done svg { width: 64px; height: 64px; color: var(--q-accent); }

.stl-quote__nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.stl-quote__btn {
	font-family: "Montserrat", inherit; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .03em;
	padding: 13px 28px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--q-accent); color: var(--q-ink); transition: filter .2s;
}
.stl-quote__btn:hover { filter: brightness(.94); }
.stl-quote__btn--back { background: transparent; color: var(--q-ink); border: 2px solid var(--q-ink); margin-right: auto; }
.stl-quote__btn.is-busy { opacity: .6; cursor: progress; }

.stl-quote__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
	.stl-quote__nav { justify-content: stretch; }
	.stl-quote__btn { flex: 1; }
}
.stl-quote__label.is-required::after { content: " *"; color: var(--q-error); }
