/* Custom Build section (motorcycle plate frame) and the custom quote popup. */

.whc-mfb {
	--mfb-gold: #c9a227;
	--mfb-gold-2: #e2bf4a;
	--mfb-ink: #f3f1ec;
	--mfb-mute: #a9adb5;
	--mfb-line: rgba(255, 255, 255, .1);
	position: relative;
	padding: 88px 24px;
	color: var(--mfb-ink);
	background:
		radial-gradient(1200px 500px at 85% 0%, rgba(201, 162, 39, .12), transparent 60%),
		radial-gradient(900px 500px at 0% 100%, rgba(80, 110, 160, .10), transparent 60%),
		#0e0f11;
	overflow: hidden;
}
.whc-mfb__in {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 56px;
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
}
.whc-mfb__eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 12px;
	border: 1px solid rgba(201, 162, 39, .45);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mfb-gold-2);
}
.whc-mfb h2 {
	margin: 0 0 14px;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.08;
	color: #fff;
}
.whc-mfb__lead {
	margin: 0 0 26px;
	font-size: 17px;
	line-height: 1.6;
	color: #c9ccd2;
}
.whc-mfb__feats {
	display: grid;
	gap: 16px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}
.whc-mfb__feats li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.whc-mfb__feats i {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(201, 162, 39, .14);
	color: var(--mfb-gold-2);
}
.whc-mfb__feats svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.whc-mfb__feats strong {
	display: block;
	font-size: 16px;
	color: #fff;
}
.whc-mfb__feats span {
	display: block;
	margin-top: 2px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--mfb-mute);
}
.whc-mfb__deal {
	margin: 0 0 26px;
	padding: 18px 20px;
	border: 1px solid var(--mfb-line);
	border-left: 3px solid var(--mfb-gold);
	border-radius: 12px;
	background: rgba(255, 255, 255, .03);
}
.whc-mfb__deal p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #c9ccd2;
}
.whc-mfb__deal p + p {
	margin-top: 8px;
}
.whc-mfb__deal strong {
	color: #fff;
}
.whc-mfb__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.whc-mfb__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s, background .15s, border-color .15s;
}
.whc-mfb__btn--gold {
	border: 0;
	background: var(--mfb-gold, #c9a227);
	color: #111;
}
.whc-mfb__btn--gold:hover {
	background: #e0b93a;
	transform: translateY(-1px);
}
.whc-mfb__btn--ghost {
	border: 1px solid rgba(255, 255, 255, .28);
	background: transparent;
	color: #fff;
}
.whc-mfb__btn--ghost:hover {
	border-color: #fff;
	color: #fff;
}

/* The 3D view. */
.whc-mfb__view {
	position: relative;
}
.whc-mfb__stage {
	position: relative;
	aspect-ratio: 16 / 11;
	border: 1px solid var(--mfb-line);
	border-radius: 20px;
	background: #16171a;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
	touch-action: pan-y;
	cursor: grab;
}
.whc-mfb__stage.is-touched {
	touch-action: none;
}
.whc-mfb__stage:active {
	cursor: grabbing;
}
.whc-mfb__stage canvas {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	display: block;
	opacity: 0;
	transition: opacity .6s;
}
.whc-mfb__stage.is-ready canvas {
	opacity: 1;
}
.whc-mfb__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6%;
	box-sizing: border-box;
	background: #f4f4f2;
	transition: opacity .6s;
}
.whc-mfb__stage.is-ready .whc-mfb__poster {
	opacity: 0;
	pointer-events: none;
}
.whc-mfb__loading {
	position: absolute;
	left: 50%;
	bottom: 18px;
	width: 120px;
	height: 4px;
	margin-left: -60px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .15);
	overflow: hidden;
}
.whc-mfb__loading i {
	position: absolute;
	inset: 0;
	width: 40%;
	border-radius: 4px;
	background: var(--mfb-gold);
	animation: whc-mfb-load 1.1s ease-in-out infinite;
}
@keyframes whc-mfb-load {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(260%); }
}
.whc-mfb__stage.is-ready .whc-mfb__loading,
.whc-mfb__stage.is-failed .whc-mfb__loading {
	display: none;
}
.whc-mfb__hint {
	position: absolute;
	left: 16px;
	top: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(10, 11, 13, .62);
	backdrop-filter: blur(6px);
	pointer-events: none;
	opacity: 0;
	transition: opacity .4s;
}
.whc-mfb__hint svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.whc-mfb__stage.is-ready .whc-mfb__hint {
	opacity: 1;
}
.whc-mfb__stage.is-touched .whc-mfb__hint {
	opacity: 0;
}
.whc-mfb__reset {
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 3;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(10, 11, 13, .62);
	cursor: pointer;
}
.whc-mfb__reset:hover {
	background: rgba(10, 11, 13, .85);
}
.whc-mfb__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.whc-mfb__chips li {
	padding: 7px 13px;
	border: 1px solid var(--mfb-line);
	border-radius: 999px;
	font-size: 13px;
	color: #d6d8dc;
	background: rgba(255, 255, 255, .03);
}

@media (max-width: 960px) {
	.whc-mfb {
		padding: 60px 18px;
	}
	.whc-mfb__in {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.whc-mfb__view {
		order: -1;
	}
	.whc-mfb__stage {
		aspect-ratio: 4 / 3.4;
		border-radius: 16px;
	}
}
@media (max-width: 480px) {
	.whc-mfb__cta .whc-mfb__btn {
		flex: 1 1 100%;
	}
}

/* Custom quote popup. */
html.whc-mfb-lock {
	overflow: hidden;
}
.whc-mfb-modal {
	width: min(620px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	color: #1b1c1f;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
}
.whc-mfb-modal::backdrop {
	background: rgba(8, 9, 11, .7);
	backdrop-filter: blur(3px);
}
.whc-mfb-modal__box {
	position: relative;
	padding: 28px 28px 24px;
}
.whc-mfb-modal h2 {
	margin: 0 0 6px;
	font-size: 26px;
	line-height: 1.15;
}
.whc-mfb-modal__sub {
	margin: 0 0 20px;
	font-size: 14.5px;
	color: #5b5f66;
}
.whc-mfb-modal__x {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	font-size: 26px;
	line-height: 1;
	color: #333;
	background: #f1f2f4;
	cursor: pointer;
}
.whc-mfb-modal__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.whc-mfb-modal__grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
}
.whc-mfb-modal__grid label b {
	color: #b3261e;
	font-weight: 700;
}
.whc-mfb-modal__grid label em {
	font-style: normal;
	font-weight: 400;
	color: #80848b;
}
.whc-mfb-modal__wide {
	grid-column: 1 / -1;
}
.whc-mfb-modal input[type="text"],
.whc-mfb-modal input[type="email"],
.whc-mfb-modal input[type="tel"],
.whc-mfb-modal select,
.whc-mfb-modal textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #cfd3da;
	border-radius: 10px;
	font: inherit;
	font-weight: 400;
	font-size: 15px;
	background: #fff;
	color: #1b1c1f;
}
.whc-mfb-modal input:focus,
.whc-mfb-modal select:focus,
.whc-mfb-modal textarea:focus {
	outline: 2px solid rgba(201, 162, 39, .55);
	border-color: #c9a227;
}
.whc-mfb-modal__file input {
	padding: 12px;
	border: 1px dashed #c4c8cf;
	border-radius: 10px;
	background: #fafafa;
	font-weight: 400;
}
.whc-mfb-modal__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
}
.whc-mfb-modal__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 18px 0 0;
	font-size: 13px;
	color: #5b5f66;
}
.whc-mfb-modal__bar i {
	position: relative;
	flex: 1;
	height: 6px;
	border-radius: 6px;
	background: #eceef1;
	overflow: hidden;
}
.whc-mfb-modal__bar b {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	border-radius: 6px;
	background: #c9a227;
	transition: width .2s;
}
.whc-mfb-modal__msg {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14.5px;
	background: #fdecea;
	color: #8a1c14;
}
.whc-mfb-modal__msg.is-ok {
	background: #e8f5ec;
	color: #17643a;
}
.whc-mfb-modal__send {
	width: 100%;
	margin-top: 18px;
	--mfb-gold: #c9a227;
}
.whc-mfb-modal__send:disabled {
	opacity: .6;
	cursor: wait;
}
@media (max-width: 560px) {
	.whc-mfb-modal__box {
		padding: 24px 18px 18px;
	}
	.whc-mfb-modal__grid {
		grid-template-columns: 1fr;
	}
}
