/* Quote page v6.0.1 — aligned breadcrumb, homepage-width header */
body.ovh-vf-route-bao-gia {
	--ovh-vf-quote-container: 1480px;
	background: #f3f7fc;
	overflow-x: clip;
}
/* Header giữ đúng chiều rộng 1200px như trang chủ; menu nằm giữa thực sự. */
@media (min-width: 1181px) {
	body.ovh-vf-route-bao-gia .ovh-vf-header__inner {
		display: grid !important;
		grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
		align-items: center;
		column-gap: 18px;
		width: 100% !important;
		max-width: var(--ovh-vf-container, 1200px) !important;
		margin-inline: auto !important;
		padding-inline: 20px !important;
		box-sizing: border-box;
	}
	body.ovh-vf-route-bao-gia .ovh-vf-header__brand {
		justify-self: start;
		min-width: 0;
		max-width: 100%;
	}
	body.ovh-vf-route-bao-gia .ovh-vf-header__nav {
		display: block;
		justify-self: center;
		min-width: 0;
		margin: 0;
	}
	body.ovh-vf-route-bao-gia .ovh-vf-header__nav ul {
		justify-content: center;
		gap: 16px;
		margin: 0;
		padding: 0;
		white-space: nowrap;
	}
	body.ovh-vf-route-bao-gia .ovh-vf-header__nav a {
		font-size: 14px;
	}
	body.ovh-vf-route-bao-gia .ovh-vf-header__actions {
		justify-self: end;
		min-width: max-content;
	}
}
@media (min-width: 1181px) and (max-width: 1320px) {
	body.ovh-vf-route-bao-gia .ovh-vf-header__inner {
		grid-template-columns: minmax(235px, 1fr) auto minmax(235px, 1fr);
		column-gap: 12px;
	}
	body.ovh-vf-route-bao-gia .ovh-vf-header__nav ul { gap: 12px; }
	body.ovh-vf-route-bao-gia .ovh-vf-header__nav a { font-size: 13px; }
	body.ovh-vf-route-bao-gia .ovh-vf-header__phone span { display: none; }
	body.ovh-vf-route-bao-gia .ovh-vf-header__phone {
		width: 42px;
		min-width: 42px;
		padding-inline: 0;
		justify-content: center;
	}
}
body.ovh-vf-route-bao-gia .ovh-vf-main {
	min-height: 60vh;
	background:
		radial-gradient(circle at 50% 0, rgba(31, 115, 241, .065), transparent 34%),
		#f3f7fc;
}
body.ovh-vf-route-bao-gia .ovh-vf-breadcrumb {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
body.ovh-vf-route-bao-gia .ovh-vf-breadcrumb__inner {
	width: min(calc(100% - 48px), var(--ovh-vf-quote-container));
	max-width: none;
	margin-inline: auto;
	padding: 18px 0 12px;
	box-sizing: border-box;
}
.ovh-vf-quote-shell,
.ovh-vf-quote-shell * {
	box-sizing: border-box;
}
.ovh-vf-quote-shell {
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
}
.ovh-vf-quote-page.ovh-vf-container {
	display: grid;
	gap: 28px;
	width: min(calc(100% - 48px), var(--ovh-vf-quote-container));
	max-width: none;
	margin-inline: auto;
	padding: 0 0 88px;
}
.ovh-vf-quote-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.46fr) minmax(320px, .82fr);
	gap: clamp(24px, 2.8vw, 42px);
	align-items: center;
	min-height: 340px;
	padding: clamp(28px, 3.5vw, 52px);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 32px;
	background:
		radial-gradient(circle at 86% 16%, rgba(77, 163, 255, .42), transparent 38%),
		linear-gradient(135deg, #061a2e 0%, #082b4e 58%, #155dca 138%);
	box-shadow: 0 26px 72px rgba(7, 29, 51, .18);
	overflow: hidden;
}
.ovh-vf-quote-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: #75b6ff;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.ovh-vf-quote-hero h1,
.ovh-vf-quote-picker h2,
.ovh-vf-quote-assurance h2 {
	margin: 0;
	letter-spacing: -.04em;
}
.ovh-vf-quote-hero h1 {
	max-width: 850px;
	color: #fff;
	font-size: clamp(38px, 3.35vw, 58px);
	line-height: 1.03;
}
.ovh-vf-quote-hero__copy > p {
	max-width: 780px;
	margin: 20px 0;
	color: rgba(255, 255, 255, .84);
	font-size: clamp(16px, 1.05vw, 20px);
	line-height: 1.68;
}
.ovh-vf-quote-hero ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, .95);
	font-size: 15px;
	font-weight: 750;
}
.ovh-vf-quote-hero li::before {
	content: '✓';
	margin-right: 8px;
	color: #75b6ff;
}
.ovh-vf-quote-selected {
	display: grid;
	grid-template-columns: 152px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 22px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 20px 44px rgba(1, 15, 31, .25);
}
.ovh-vf-quote-selected[hidden] { display: none !important; }
.ovh-vf-quote-selected img {
	width: 152px;
	height: 102px;
	object-fit: contain;
	border-radius: 15px;
	background: #edf4fc;
}
.ovh-vf-quote-selected span,
.ovh-vf-quote-selected small {
	display: block;
	color: #65788d;
	font-size: 13px;
}
.ovh-vf-quote-selected strong {
	display: block;
	margin: 5px 0;
	color: #071d33;
	font-size: 21px;
	line-height: 1.2;
}
.ovh-vf-quote-picker {
	padding: 34px;
	border: 1px solid #d8e5f2;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(7, 29, 51, .07);
}
.ovh-vf-quote-picker__head {
	display: flex;
	justify-content: space-between;
	gap: 28px;
	align-items: end;
	margin-bottom: 24px;
}
.ovh-vf-quote-picker__head > div > span {
	color: var(--ovh-vf-primary, #1f73f1);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ovh-vf-quote-picker h2,
.ovh-vf-quote-assurance h2 { color: #071d33; }
.ovh-vf-quote-picker h2 { font-size: clamp(27px, 2vw, 34px); }
.ovh-vf-quote-master-select {
	display: grid;
	gap: 6px;
	min-width: 310px;
	color: #52677f;
	font-size: 12px;
	font-weight: 800;
}
.ovh-vf-quote-master-select select {
	height: 52px;
	border: 1px solid #c8d8e8;
	border-radius: 13px;
	background: #fff;
	padding: 0 42px 0 14px;
	color: #071d33;
	font-size: 15px;
}
.ovh-vf-quote-vehicles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}
.ovh-vf-quote-vehicle {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 15px;
	border: 2px solid transparent;
	border-radius: 19px;
	background: #f4f8fd;
	color: #071d33;
	text-align: left;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.ovh-vf-quote-vehicle:hover {
	transform: translateY(-3px);
	background: #edf5ff;
}
.ovh-vf-quote-vehicle.is-selected {
	border-color: var(--ovh-vf-primary, #1f73f1);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(31, 115, 241, .11), 0 12px 28px rgba(7, 29, 51, .08);
}
.ovh-vf-quote-vehicle img {
	display: block;
	width: 100%;
	height: 118px;
	object-fit: contain;
}
.ovh-vf-quote-vehicle span {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 10px;
	min-height: 2.5em;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-wrap: balance;
}
.ovh-vf-quote-vehicle small {
	display: block;
	margin-top: auto;
	padding-top: 8px;
	color: var(--ovh-vf-primary, #1f73f1);
	font-size: 13px;
	font-weight: 850;
}
.ovh-vf-quote-layout {
	display: grid;
	grid-template-columns: minmax(320px, .86fr) minmax(520px, 1.14fr);
	gap: 28px;
	align-items: stretch;
}
.ovh-vf-quote-assurance,
.ovh-vf-quote-form-card {
	border: 1px solid #d8e5f2;
	border-radius: 26px;
	background: #fff;
	overflow: hidden;
}
.ovh-vf-quote-assurance {
	padding: 38px;
}
.ovh-vf-quote-assurance h2 { font-size: clamp(28px, 2vw, 35px); }
.ovh-vf-quote-assurance > p {
	margin: 16px 0 0;
	color: #5d7188;
	font-size: 16px;
	line-height: 1.72;
}
.ovh-vf-quote-assurance__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 26px;
}
.ovh-vf-quote-assurance__items div {
	padding: 18px;
	border: 1px solid #dce8f4;
	border-radius: 16px;
	background: #f4f8fd;
}
.ovh-vf-quote-assurance__items strong,
.ovh-vf-quote-assurance__items span { display: block; }
.ovh-vf-quote-assurance__items strong {
	color: var(--ovh-vf-primary, #1f73f1);
	font-size: 23px;
}
.ovh-vf-quote-assurance__items span {
	margin-top: 6px;
	color: #263c54;
	font-size: 14px;
	font-weight: 800;
}
.ovh-vf-quote-form-card {
	padding: 38px;
	box-shadow: 0 20px 52px rgba(7, 29, 51, .09);
}
.ovh-vf-quote-form-card .ovh-vf-lead-form-widget {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.ovh-vf-quote-form-card .ovh-vf-cf7-wrap,
.ovh-vf-quote-form-card .wpcf7,
.ovh-vf-quote-form-card .wpcf7 form {
	width: 100%;
}
.ovh-vf-quote-form-card .wpcf7-form p,
.ovh-vf-quote-form-card .wpcf7-form .wpcf7-form-control-wrap {
	margin: 0;
}
.ovh-vf-quote-form-card .wpcf7-form .wpcf7-response-output {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 12px;
}
.ovh-vf-quote-form-card .wpcf7-spinner {
	margin: 8px 0 0;
}
.ovh-vf-quote-form-card .ovh-vf-lead-form-widget > h3 {
	margin: 0 0 24px;
	color: #071d33;
	font-size: clamp(28px, 2vw, 36px);
	letter-spacing: -.035em;
}
.ovh-vf-quote-form-card .ovh-vf-cf7-form,
.ovh-vf-quote-form-card .ovh-vf-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.ovh-vf-quote-form-card .ovh-vf-cf7-field,
.ovh-vf-quote-form-card .ovh-vf-field { margin: 0; }
/* Hàng 1: họ tên + số điện thoại. Các trường xe, nội dung và nút gửi luôn full-width. */
.ovh-vf-quote-form-card .ovh-vf-cf7-field--full,
.ovh-vf-quote-form-card .ovh-vf-field--full,
.ovh-vf-quote-form-card .ovh-vf-cf7-form > label:has(textarea),
.ovh-vf-quote-form-card .ovh-vf-cf7-form > label:has(select[name='vehicle-interest']),
.ovh-vf-quote-form-card .wpcf7-form > p:has(textarea),
.ovh-vf-quote-form-card .wpcf7-form > p:has(select[name='vehicle-interest']),
.ovh-vf-quote-form-card .wpcf7-submit,
.ovh-vf-quote-form-card button[type='submit'] { grid-column: 1 / -1; }
.ovh-vf-quote-form-card label {
	color: #20364d;
	font-size: 14px;
	font-weight: 800;
}
.ovh-vf-quote-form-card input,
.ovh-vf-quote-form-card select,
.ovh-vf-quote-form-card textarea {
	width: 100%;
	border: 1px solid #c7d8e9;
	border-radius: 13px;
	background: #fff;
	font-size: 15px;
	box-sizing: border-box;
}
.ovh-vf-quote-form-card input,
.ovh-vf-quote-form-card select {
	height: 54px;
	padding-inline: 14px;
}
.ovh-vf-quote-form-card textarea {
	min-height: 112px;
	max-height: 220px;
	padding: 14px;
	line-height: 1.55;
}
.ovh-vf-quote-form-card .wpcf7-submit,
.ovh-vf-quote-form-card button[type='submit'] {
	min-height: 56px;
	border: 0;
	border-radius: 14px;
	background: var(--ovh-vf-primary, #1f73f1);
	color: #fff;
	font-size: 16px;
	font-weight: 900;
	box-shadow: 0 13px 30px rgba(31, 115, 241, .25);
}
.ovh-vf-quote-form-card .wpcf7-submit:hover,
.ovh-vf-quote-form-card button[type='submit']:hover {
	background: var(--ovh-vf-primary-deep, #0d4dbd);
}
.ovh-vf-quote-privacy {
	margin: 16px 0 0;
	color: #74869a;
	font-size: 12px;
	text-align: center;
}
.ovh-vf-quote-form-card .ovh-vf-cf7-form .wpcf7-form-control-wrap,
.ovh-vf-quote-form-card .ovh-vf-cf7-form label {
	display: block;
}
.ovh-vf-quote-form-card .ovh-vf-cf7-form > label,
.ovh-vf-quote-form-card .wpcf7-form > p {
	min-width: 0;
}
.ovh-vf-quote-form-card .wpcf7-form > p:empty { display: none; }
.ovh-vf-quote-form-card select[name='vehicle-interest'],
.ovh-vf-quote-form-card textarea {
	width: 100%;
}
.ovh-vf-quote-form-card .ovh-vf-cf7-form textarea,
.ovh-vf-quote-form-card .ovh-vf-form textarea {
	resize: vertical;
}
@media (min-width: 1800px) {
	body.ovh-vf-route-bao-gia {
		--ovh-vf-quote-container: 1560px;
	}
	.ovh-vf-quote-hero { min-height: 420px; }
	.ovh-vf-quote-hero h1 { font-size: 62px; }
	.ovh-vf-quote-hero__copy > p { font-size: 20px; }
	.ovh-vf-quote-vehicles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.ovh-vf-quote-vehicle img { height: 128px; }
	.ovh-vf-quote-vehicle span { font-size: 17px; }
	.ovh-vf-quote-vehicle small { font-size: 14px; }
}
@media (max-width: 1260px) {
	body.ovh-vf-route-bao-gia {
		--ovh-vf-quote-container: 1200px;
	}
	.ovh-vf-quote-hero {
		grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
		padding: 32px;
	}
	.ovh-vf-quote-vehicles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ovh-vf-quote-layout { grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr); }
	.ovh-vf-quote-form-card,
	.ovh-vf-quote-assurance,
	.ovh-vf-quote-picker { padding: 30px; }
}
@media (max-width: 980px) {
	body.ovh-vf-route-bao-gia .ovh-vf-breadcrumb__inner,
	.ovh-vf-quote-page.ovh-vf-container { width: min(calc(100% - 36px), 920px); }
	.ovh-vf-quote-hero,
	.ovh-vf-quote-layout { grid-template-columns: 1fr; }
	.ovh-vf-quote-hero { min-height: 0; }
	.ovh-vf-quote-selected { max-width: none; }
	.ovh-vf-quote-vehicles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ovh-vf-quote-assurance__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.ovh-vf-quote-picker__head {
		display: grid;
		gap: 16px;
		align-items: start;
	}
	.ovh-vf-quote-master-select { min-width: 0; }
	.ovh-vf-quote-vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ovh-vf-quote-layout { grid-template-columns: 1fr; }
	.ovh-vf-quote-assurance__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ovh-vf-quote-form-card .ovh-vf-cf7-form,
	.ovh-vf-quote-form-card .ovh-vf-form { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	body.ovh-vf-route-bao-gia .ovh-vf-breadcrumb__inner,
	.ovh-vf-quote-page.ovh-vf-container { width: calc(100% - 28px); }
	body.ovh-vf-route-bao-gia .ovh-vf-breadcrumb__inner { padding-top: 12px; }
	.ovh-vf-quote-page.ovh-vf-container {
		gap: 18px;
		padding-bottom: calc(96px + env(safe-area-inset-bottom));
	}
	.ovh-vf-quote-hero,
	.ovh-vf-quote-picker,
	.ovh-vf-quote-assurance,
	.ovh-vf-quote-form-card {
		padding: 20px;
		border-radius: 20px;
	}
	.ovh-vf-quote-hero { gap: 24px; }
	.ovh-vf-quote-hero h1 { font-size: clamp(30px, 9vw, 42px); }
	.ovh-vf-quote-hero__copy > p { font-size: 15px; }
	.ovh-vf-quote-hero ul { display: grid; gap: 8px; font-size: 14px; }
	.ovh-vf-quote-picker__head { display: grid; gap: 14px; }
	.ovh-vf-quote-master-select { min-width: 0; }
	.ovh-vf-quote-vehicles {
		display: flex;
		overflow-x: auto;
		gap: 11px;
		margin-right: -20px;
		padding: 2px 20px 10px 0;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.ovh-vf-quote-vehicles::-webkit-scrollbar { display: none; }
	.ovh-vf-quote-vehicle {
		flex: 0 0 162px;
		padding: 12px;
		scroll-snap-align: start;
	}
	.ovh-vf-quote-vehicle img { height: 86px; }
	.ovh-vf-quote-vehicle span { font-size: 14px; }
	.ovh-vf-quote-form-card .ovh-vf-cf7-form,
	.ovh-vf-quote-form-card .ovh-vf-form { grid-template-columns: 1fr; gap: 14px; }
	.ovh-vf-quote-form-card .ovh-vf-cf7-field,
	.ovh-vf-quote-form-card .ovh-vf-field { grid-column: 1 / -1; }
	.ovh-vf-quote-form-card .ovh-vf-lead-form-widget > h3 { margin-bottom: 18px; font-size: 30px; }
	.ovh-vf-quote-form-card textarea { min-height: 104px; }
	.ovh-vf-quote-assurance__items { grid-template-columns: 1fr; }
	.ovh-vf-quote-selected { grid-template-columns: 104px minmax(0, 1fr); }
	.ovh-vf-quote-selected img { width: 104px; height: 72px; }
}
@media (max-width: 390px) {
	.ovh-vf-quote-page.ovh-vf-container,
	body.ovh-vf-route-bao-gia .ovh-vf-breadcrumb__inner { width: calc(100% - 20px); }
	.ovh-vf-quote-hero,
	.ovh-vf-quote-picker,
	.ovh-vf-quote-assurance,
	.ovh-vf-quote-form-card { padding: 16px; }
	.ovh-vf-quote-vehicle { flex-basis: 148px; }
}
