.vs-showroom-popup.pum-overlay {
	padding: 24px !important;
	background: radial-gradient(circle at center, rgba(14, 29, 58, .72), rgba(5, 11, 22, .88)) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.vs-showroom-popup.pum-overlay.pum-active {
	display: block !important;
}

.vs-showroom-popup .pum-container {
	width: 1024px !important;
	max-width: calc(100vw - 48px) !important;
	max-height: min(860px, calc(100vh - 48px));
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 24px !important;
	background: #fff !important;
	box-shadow: 0 25px 60px -15px rgba(0, 30, 80, .35) !important;
}

.vs-showroom-popup .pum-content {
	margin: 0 !important;
	padding: 0 !important;
	color: #334155;
	font-family: var(--vs-font);
}

.vs-showroom-popup .vs-popup-layout {
	display: grid;
	grid-template-columns: 42% 58%;
	width: 100%;
	max-height: min(860px, calc(100vh - 48px));
}

.vs-showroom-popup .vs-popup-layout--no-image { display: block; }
.vs-showroom-popup .vs-popup-layout--no-image .vs-popup-visual { display: none; }
.vs-showroom-popup .vs-popup-visual {
	position: relative;
	min-height: min(610px, calc(100vh - 48px));
	overflow: hidden;
	background: #f8f9ff;
}

.vs-showroom-popup .vs-popup-visual img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
}

.vs-showroom-popup .vs-popup-panel {
	min-width: 0;
	max-height: min(860px, calc(100vh - 48px));
	padding: 36px;
	overflow-y: auto;
	background: #fff;
}

.vs-showroom-popup .wpcf7-form {
	margin: 0 !important;
	padding: 0 !important;
}

.vs-showroom-popup .vs-popup-panel > .wpcf7 {
	margin: 0 !important;
	padding: 0 !important;
}

.vs-showroom-popup--quote .wpcf7-form > br,
.vs-showroom-popup--test .wpcf7-form > br {
	display: none;
}

.vs-showroom-popup--test .wpcf7-form > .ajax-loader {
	display: none !important;
}

.vs-showroom-popup--quote .vs-popup-heading,
.vs-showroom-popup--test .vs-popup-heading {
	margin-bottom: 32px !important;
}

.vs-showroom-popup .vs-popup-heading + .wpcf7 {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.vs-showroom-popup .vs-popup-heading {
	margin: 0 32px 24px 0;
}

.vs-showroom-popup .vs-popup-heading > span {
	display: block;
	margin-bottom: 4px;
	color: var(--vs-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: .6px;
	text-transform: uppercase;
}

.vs-showroom-popup .vs-popup-heading h2 {
	margin: 0;
	color: var(--vs-dark);
	font-family: var(--vs-font) !important;
	font-size: 30px;
	font-weight: 800;
	line-height: 36px;
	letter-spacing: -.75px;
}

.vs-showroom-popup .vs-popup-heading p {
	margin: 4px 0 0;
	color: #64748b;
	font-family: var(--vs-font) !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.vs-showroom-popup .wpcf7-form > p:empty {
	display: none;
}

.vs-showroom-popup .vs-popup-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 14px;
}

.vs-showroom-popup .vs-popup-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vs-showroom-popup .vs-car,
.vs-showroom-popup .vs-location {
	grid-column: 1 / -1;
}

.vs-showroom-popup .vs-popup-field > label {
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: .3px;
	text-transform: uppercase;
}

.vs-showroom-popup .vs-popup-field > label em {
	color: #f43f5e;
	font-style: normal;
}

.vs-showroom-popup .vs-popup-field .wpcf7-form-control-wrap {
	position: relative;
	display: block;
}

.vs-showroom-popup .vs-popup-field .wpcf7-form-control-wrap::before,
.vs-showroom-popup .vs-car .wpcf7-form-control-wrap::after,
.vs-showroom-popup .vs-location .wpcf7-form-control-wrap::after {
	position: absolute;
	z-index: 2;
	top: 21px;
	width: 16px;
	height: 16px;
	content: "";
	transform: translateY(-50%);
	background: center / 16px 16px no-repeat;
	pointer-events: none;
}

.vs-showroom-popup .vs-popup-field .wpcf7-form-control-wrap::before {
	left: 14px;
}

.vs-showroom-popup .vs-user .wpcf7-form-control-wrap::before { background-image: var(--vs-user-icon); }
.vs-showroom-popup .vs-phone .wpcf7-form-control-wrap::before { background-image: var(--vs-phone-icon); }
.vs-showroom-popup .vs-car .wpcf7-form-control-wrap::before { background-image: var(--vs-car-icon); }
.vs-showroom-popup .vs-location .wpcf7-form-control-wrap::before { background-image: var(--vs-location-icon); }

.vs-showroom-popup .vs-car .wpcf7-form-control-wrap::after,
.vs-showroom-popup .vs-location .wpcf7-form-control-wrap::after {
	right: 12px;
	background-image: var(--vs-chevron-icon);
}

.vs-showroom-popup .vs-popup-field input,
.vs-showroom-popup .vs-popup-field select {
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 10px 40px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: rgba(248, 250, 252, .7);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	color: #0f172a;
	font-family: var(--vs-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.vs-showroom-popup .vs-popup-field select {
	-webkit-appearance: none;
	appearance: none;
	background-image: none;
}

.vs-showroom-popup .vs-popup-field select.is-placeholder {
	color: #94a3b8 !important;
	opacity: 1;
}

.vs-showroom-popup .vs-popup-field select option {
	color: #0f172a;
}

.vs-showroom-popup .vs-popup-field input::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.vs-showroom-popup .vs-popup-field .wpcf7-not-valid {
	border-color: #fda4af;
}

.vs-showroom-popup .vs-popup-field input:focus,
.vs-showroom-popup .vs-popup-field select:focus {
	border-color: var(--vs-primary);
	box-shadow: 0 0 0 3px rgba(0, 100, 210, .12);
	outline: 0;
}

.vs-showroom-popup .wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	color: #f43f5e;
	font-size: 11px;
	line-height: 16px;
}

.vs-showroom-popup .vs-popup-consent {
	display: block;
	margin: 12px 0 14px;
}

.vs-showroom-popup .vs-popup-consent .wpcf7-list-item {
	margin: 0;
}

.vs-showroom-popup .vs-popup-consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #64748b;
	font-family: var(--vs-font);
	font-size: 12px;
	font-weight: 400;
	line-height: 19.5px;
}

.vs-showroom-popup .vs-popup-consent input {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--vs-primary);
}

.vs-showroom-popup .vs-popup-consent a {
	color: var(--vs-primary);
	font-weight: 600;
	text-decoration: none;
}

.vs-showroom-popup .vs-popup-submit {
	position: relative;
}

.vs-showroom-popup .vs-popup-submit input[type="submit"],
.vs-showroom-popup .vs-popup-submit button[type="submit"] {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--vs-dark);
	box-shadow: 0 10px 25px -5px rgba(0, 30, 80, .28);
	box-shadow: 0 10px 25px -5px color-mix(in srgb, var(--vs-primary) 45%, transparent);
	color: #fff;
	font-family: var(--vs-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: .7px;
	text-transform: uppercase;
}

.vs-showroom-popup .vs-popup-submit input[type="submit"]:disabled,
.vs-showroom-popup .vs-popup-submit button[type="submit"]:disabled {
	cursor: not-allowed;
	opacity: .48;
	box-shadow: none;
}

.vs-showroom-popup .vs-popup-submit .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 14px;
	margin: -12px 0 0;
}

.vs-showroom-popup .wpcf7-response-output {
	margin: 12px 0 0 !important;
	padding: 10px 12px !important;
	border-width: 1px !important;
	border-radius: 10px;
	font-family: var(--vs-font);
	font-size: 12px;
	line-height: 18px;
}

.vs-showroom-popup .vs-popup-secure {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
	color: #94a3b8;
	font-family: var(--vs-font);
	font-size: 11px;
	line-height: 16.5px;
}

.vs-showroom-popup .vs-popup-secure::before {
	width: 14px;
	height: 14px;
	content: "";
	background: center / 14px 14px no-repeat var(--vs-secure-icon);
}

.vs-showroom-popup .pum-close {
	top: 16px !important;
	right: 16px !important;
	width: 40px !important;
	height: 40px !important;
	padding: 10px !important;
	border-radius: 999px !important;
	background: #f1f5f9 center / 20px 20px no-repeat var(--vs-close-icon) !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05) !important;
	color: transparent !important;
	font-size: 0 !important;
	opacity: 1 !important;
}

.vs-showroom-popup .pum-close:focus-visible {
	box-shadow: 0 0 0 3px rgba(0, 100, 210, .22) !important;
	outline: 0 !important;
}

/* Contact Form 7 forms embedded in a vehicle description use the same field
   treatment as the popups, without becoming a modal. */
.hs-vehicle-content .vs-inline-form{margin:32px 0!important;padding:28px!important;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 10px 25px -15px rgba(0,30,80,.18);color:#334155;font-family:var(--vs-font)}.hs-vehicle-content .vs-inline-form>br,.hs-vehicle-content .vs-inline-form>p:empty{display:none}.hs-vehicle-content .vs-inline-form .vs-popup-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}.hs-vehicle-content .vs-inline-form .vs-popup-field{position:relative;display:flex;flex-direction:column;gap:6px}.hs-vehicle-content .vs-inline-form .vs-car,.hs-vehicle-content .vs-inline-form .vs-location,.hs-vehicle-content .vs-inline-form .vs-message,.hs-vehicle-content .vs-inline-form .vs-popup-field:only-child{grid-column:1/-1}.hs-vehicle-content .vs-inline-form .vs-popup-field>label{color:#334155;font-size:12px;font-weight:700;line-height:16px;letter-spacing:.3px;text-transform:uppercase}.hs-vehicle-content .vs-inline-form .vs-popup-field>label em{color:#f43f5e;font-style:normal}.hs-vehicle-content .vs-inline-form .wpcf7-form-control-wrap{position:relative;display:block}.hs-vehicle-content .vs-inline-form .wpcf7-form-control-wrap::before,.hs-vehicle-content .vs-inline-form .vs-car .wpcf7-form-control-wrap::after,.hs-vehicle-content .vs-inline-form .vs-location .wpcf7-form-control-wrap::after{position:absolute;z-index:2;top:21px;width:16px;height:16px;content:"";transform:translateY(-50%);background:center/16px 16px no-repeat;pointer-events:none}.hs-vehicle-content .vs-inline-form .wpcf7-form-control-wrap::before{left:14px}.hs-vehicle-content .vs-inline-form .vs-user .wpcf7-form-control-wrap::before{background-image:var(--vs-user-icon)}.hs-vehicle-content .vs-inline-form .vs-phone .wpcf7-form-control-wrap::before{background-image:var(--vs-phone-icon)}.hs-vehicle-content .vs-inline-form .vs-car .wpcf7-form-control-wrap::before{background-image:var(--vs-car-icon)}.hs-vehicle-content .vs-inline-form .vs-location .wpcf7-form-control-wrap::before{background-image:var(--vs-location-icon)}.hs-vehicle-content .vs-inline-form .vs-car .wpcf7-form-control-wrap::after,.hs-vehicle-content .vs-inline-form .vs-location .wpcf7-form-control-wrap::after{right:12px;background-image:var(--vs-chevron-icon)}.hs-vehicle-content .vs-inline-form input:not([type="checkbox"]),.hs-vehicle-content .vs-inline-form select,.hs-vehicle-content .vs-inline-form textarea{box-sizing:border-box;width:100%;margin:0;padding:10px 40px;border:1px solid #e2e8f0;border-radius:12px;background:rgba(248,250,252,.7);box-shadow:0 1px 2px rgba(0,0,0,.05);color:#0f172a;font-family:var(--vs-font);font-size:14px;font-weight:500;line-height:20px}.hs-vehicle-content .vs-inline-form input:not([type="checkbox"]),.hs-vehicle-content .vs-inline-form select{height:42px}.hs-vehicle-content .vs-inline-form textarea{min-height:110px;padding:12px 14px}.hs-vehicle-content .vs-inline-form select{-webkit-appearance:none;appearance:none;background-image:none}.hs-vehicle-content .vs-inline-form input::placeholder{color:#6b7280;opacity:1}.hs-vehicle-content .vs-inline-form input:focus,.hs-vehicle-content .vs-inline-form select:focus,.hs-vehicle-content .vs-inline-form textarea:focus{border-color:var(--vs-primary);box-shadow:0 0 0 3px rgba(0,100,210,.12);outline:0}.hs-vehicle-content .vs-inline-form .vs-popup-consent{display:block;margin:12px 0 14px}.hs-vehicle-content .vs-inline-form .vs-popup-consent .wpcf7-list-item{margin:0}.hs-vehicle-content .vs-inline-form .vs-popup-consent label{display:flex;gap:10px;align-items:flex-start;color:#64748b;font-family:var(--vs-font);font-size:12px;font-weight:400;line-height:19.5px}.hs-vehicle-content .vs-inline-form .vs-popup-consent input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:var(--vs-primary)}.hs-vehicle-content .vs-inline-form .vs-popup-consent a{color:var(--vs-primary);font-weight:600;text-decoration:none}.hs-vehicle-content .vs-inline-form .vs-popup-submit{position:relative}.hs-vehicle-content .vs-inline-form .vs-popup-submit input[type="submit"],.hs-vehicle-content .vs-inline-form .vs-popup-submit button[type="submit"]{width:100%;min-height:48px;margin:0;padding:14px 20px;border:0;border-radius:999px;background:var(--vs-dark);box-shadow:0 10px 25px -5px rgba(0,30,80,.28);color:#fff;font-family:var(--vs-font);font-size:14px;font-weight:700;line-height:20px;letter-spacing:.7px;text-transform:uppercase}.hs-vehicle-content .vs-inline-form .vs-popup-submit .wpcf7-spinner{position:absolute;top:50%;right:14px;margin:-12px 0 0}.hs-vehicle-content .vs-inline-form .wpcf7-not-valid-tip{display:block;margin-top:4px;color:#f43f5e;font-size:11px;line-height:16px}.hs-vehicle-content .vs-inline-form .wpcf7-response-output{margin:12px 0 0!important;padding:10px 12px!important;border-width:1px!important;border-radius:10px;font-family:var(--vs-font);font-size:12px;line-height:18px}.hs-vehicle-content .vs-inline-form .vs-popup-secure{display:flex;align-items:center;gap:6px;margin-top:20px;padding-top:20px;border-top:1px solid #f1f5f9;color:#94a3b8;font-family:var(--vs-font);font-size:11px;line-height:16.5px}.hs-vehicle-content .vs-inline-form .vs-popup-secure::before{width:14px;height:14px;content:"";background:center/14px 14px no-repeat var(--vs-secure-icon)}

.hs-vehicle-content .vs-inline-form input::placeholder{color:#94a3b8!important;opacity:1}

@media (max-width: 767px) {
	.vs-showroom-popup.pum-overlay {
		padding: 0 !important;
		overflow-x: hidden;
		overflow-y: auto !important;
		background: #fff !important;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.vs-showroom-popup .pum-container {
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		max-height: none;
		max-width: none !important;
		min-height: 100vh;
		min-height: 100dvh;
		margin: 0 !important;
		overflow: visible !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.vs-showroom-popup .vs-popup-layout {
		display: block;
		max-height: none;
		min-height: 100vh;
		min-height: 100dvh;
	}

	.vs-showroom-popup .vs-popup-visual {
		display: none;
	}

	.vs-showroom-popup .vs-popup-panel {
		max-height: none;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 28px 20px;
		overflow: visible;
	}

	.vs-showroom-popup .vs-popup-heading {
		margin-right: 28px;
	}

	.vs-showroom-popup .vs-popup-heading h2 {
		font-size: 24px;
		line-height: 30px;
	}

	.vs-showroom-popup .vs-popup-fields {
		grid-template-columns: 1fr;
	}

	.vs-showroom-popup .vs-popup-field {
		grid-column: 1 / -1;
	}

	/* iOS Safari zooms the page when a focused form control is under 16px. */
	.vs-showroom-popup .vs-popup-field input,
	.vs-showroom-popup .vs-popup-field select,
	.hs-vehicle-content .vs-inline-form input:not([type="checkbox"]),
	.hs-vehicle-content .vs-inline-form select,
	.hs-vehicle-content .vs-inline-form textarea {
		font-size: 16px !important;
	}
	.hs-vehicle-content .vs-inline-form{padding:24px 18px!important}.hs-vehicle-content .vs-inline-form .vs-popup-fields{grid-template-columns:1fr}.hs-vehicle-content .vs-inline-form .vs-popup-field{grid-column:1/-1}
}
