/* Donau Automobile — standalone quote wizard. */

body.da-quote-page {
	margin: 0;
	background: #fff;
	color: #111827;
	overflow-x: hidden;
}

.da-quote-app {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
	min-height: 100svh;
	background: #fff;
}

.da-quote-left {
	position: relative;
	display: flex;
	min-width: 0;
	padding: 44px clamp(36px, 4vw, 64px) 50px;
}

.da-quote-brand {
	position: absolute;
	top: 0;
	left: var(--da-header-side-padding, 40px);
	display: inline-flex;
	align-items: center;
	height: var(--da-header-height, 96px);
	text-decoration: none;
	color: #181a1f;
}

.da-quote-brand img {
	display: block;
	width: auto;
	height: var(--da-header-logo-height, 38px);
	max-width: min(260px, 34vw);
}

.da-quote-brand span {
	font-family: var(--da-font-heading, "DM Sans", Arial, sans-serif);
	font-size: 21px;
	font-weight: 600;
}

.da-quote-content {
	width: min(100%, 700px);
	margin: auto;
	padding-top: 58px;
}

.da-quote-step[hidden] { display: none; }
.da-quote-step { animation: da-quote-step-in .22s ease both; }
@keyframes da-quote-step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.da-quote-step-copy { margin-bottom: 32px; }
.da-quote-step-copy h1,
.da-quote-thank-you h1 {
	max-width: 620px;
	margin: 0;
	font-family: var(--da-font-heading, "DM Sans", Arial, sans-serif);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.025em;
	color: #111827;
}
.da-quote-step-copy p,
.da-quote-thank-you p {
	max-width: 560px;
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.65;
	color: #646a73;
}

.da-quote-customer-types { display: grid; gap: 10px; margin-bottom: 28px; }
.da-quote-customer-types > strong { margin-bottom: 2px; font-size: 14px; font-weight: 600; }
.da-quote-customer-types label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.da-quote-customer-types input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--da-color-accent, #fa5519); }

.da-quote-fields { display: grid; gap: 16px; }
.da-quote-field { display: grid; gap: 7px; min-width: 0; }
.da-quote-field > span { font-size: 13px; font-weight: 600; color: #1f2937; }
.da-quote-field > input,
.da-quote-place-control {
	width: 100%;
	height: 54px;
	padding: 0 15px;
	border: 1px solid #d9dee5;
	border-radius: 10px;
	background: #f7f8fa;
	box-shadow: none;
	font-family: var(--da-font-body, "DM Sans", Arial, sans-serif);
	font-size: 14px;
	font-weight: 400;
	color: #111827;
	outline: 0;
	transition: border-color .18s ease, background-color .18s ease;
}
.da-quote-field > input:hover,
.da-quote-field > input:focus,
.da-quote-place-control:hover,
.da-quote-place-control:focus-within { border-color: #b9bcc1; background: #fff; }
.da-quote-field > input:focus,
.da-quote-place-control:focus-within { box-shadow: 0 0 0 3px rgba(24, 26, 31, .04); }
.da-quote-field > input::placeholder,
.da-quote-place-control input::placeholder { color: #8a929e; opacity: 1; }

.da-quote-primary,
.da-quote-back {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	font-family: var(--da-font-body, "DM Sans", Arial, sans-serif);
	text-decoration: none;
	cursor: pointer;
}
.da-quote-primary {
	width: 100%;
	min-height: 52px;
	margin-top: 26px;
	padding: 0 22px;
	border-radius: 10px;
	background: #111827;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.da-quote-primary:hover,
.da-quote-primary:focus-visible { background: var(--da-color-accent, #fa5519); outline: 0; }
.da-quote-primary[disabled] { opacity: .55; cursor: wait; }
.da-quote-arrow { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; }
.da-quote-arrow svg { display: block; width: 100%; height: 100%; }
.da-quote-arrow--back { transform: rotate(180deg); }

.da-quote-right {
	position: relative;
	min-width: 0;
	min-height: 100svh;
	background: #eef1f4;
	overflow: hidden;
}
.da-quote-side-image,
.da-quote-map-wrap { position: absolute; inset: 0; }
.da-quote-side-image {
	z-index: 2;
	background-color: #e8ecef;
	background-image: var(--da-quote-side-image, none);
	background-size: cover;
	background-position: center;
}
.da-quote-side-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--da-quote-side-overlay-opacity, .30);
	pointer-events: none;
}
.da-quote-side-image[hidden] { display: none; }
.da-quote-map-wrap {
	z-index: 1;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	background: #fff;
	transition: opacity .18s ease;
}
.da-quote-map-wrap.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}
.da-quote-map-panel {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	background: #e7ebef;
}
.da-quote-map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #e7ebef;
}
.da-quote-map-stats {
	display: grid;
	grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr);
	align-items: center;
	gap: 22px;
	flex: 0 0 auto;
	min-height: 112px;
	padding: 22px clamp(24px, 3vw, 42px);
	background: #fff;
}
.da-quote-map-stat {
	display: grid;
	gap: 7px;
	min-width: 0;
}
.da-quote-map-stat span {
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	color: #7a818b;
}
.da-quote-map-stat strong {
	overflow: hidden;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #111827;
}
.da-quote-map-stat-divider {
	display: block;
	width: 1px;
	height: 42px;
	background: #e5e7eb;
}
/* Minimal rendering fallback in case the remote Mapbox stylesheet is delayed. */
.da-quote-map.mapboxgl-map { overflow: hidden; }
.da-quote-map .mapboxgl-canvas-container { position: absolute; inset: 0; width: 100%; height: 100%; }
.da-quote-map .mapboxgl-canvas { position: absolute; top: 0; left: 0; }
.da-quote-map-message {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 50%;
	width: min(360px, calc(100% - 48px));
	padding: 16px 18px;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	background: rgba(255,255,255,.94);
	box-shadow: 0 16px 36px rgba(0,0,0,.12);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
	color: #505761;
}

.da-quote-route-stack {
	display: grid;
	gap: 18px;
	margin-top: 4px;
}
.da-quote-route-row {
	position: relative;
	display: grid;
	grid-template-columns: 25px 44px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	min-width: 0;
}
.da-quote-route-rail {
	position: relative;
	width: 25px;
	height: 46px;
}
.da-quote-route-dot {
	position: absolute;
	top: 15px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-sizing: border-box;
	border: 2px solid var(--da-color-accent, #fa5519);
	background: #fff;
	z-index: 2;
}

.da-quote-route-line {
	position: absolute;
	top: 23px;
	bottom: -41px;
	left: 9px;
	width: 2px;
	background: var(--da-color-accent, #fa5519);
	z-index: 1;
}

.da-quote-route-line--top {
	top: -18px;
	bottom: auto;
	height: 41px;
}
.da-quote-route-label {
	padding-top: 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
	color: #111827;
}
.da-quote-place-field {
	position: relative;
	min-width: 0;
}
.da-quote-place-control {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 46px;
	padding: 0 42px 0 14px;
	border: 1px solid #d5dbe3;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	font-family: var(--da-font-body, "DM Sans", Arial, sans-serif);
	color: #111827;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.da-quote-place-control:hover,
.da-quote-place-control:focus-within {
	border-color: #b9bcc1;
	background: #fff;
}
.da-quote-place-control:focus-within { box-shadow: 0 0 0 3px rgba(24, 26, 31, .04); }
.da-quote-place-control input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
	color: inherit;
}
.da-quote-place-control input::placeholder { color: #7f8793; opacity: 1; }
.da-quote-place-clear {
	position: absolute;
	top: 50%;
	right: 11px;
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #111827;
	cursor: pointer;
}
.da-quote-place-clear[hidden] { display: none; }
.da-quote-place-clear svg { display: block; width: 100%; height: 100%; }
.da-quote-place-suggestions {
	position: absolute;
	z-index: 80;
	top: calc(100% + 7px);
	left: 0;
	width: min(520px, calc(100vw - 42px));
	padding: 6px;
	border: 1px solid #dfe2e7;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(17,24,39,.15);
}
.da-quote-place-suggestions[hidden] { display: none; }
.da-quote-place-suggestions > div { display: grid; gap: 2px; }
.da-quote-place-suggestions > small { display: block; padding: 7px 8px 4px; border-top: 1px solid #eceef1; color: #777; font-family: Arial,sans-serif; font-size: 10px; text-align: right; }
.da-quote-place-option { display: grid; gap: 2px; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.da-quote-place-option:hover, .da-quote-place-option:focus-visible { background: #f4f5f6; outline: 0; }
.da-quote-place-option strong { font-size: 12px; font-weight: 600; color: #111827; }
.da-quote-place-option span { overflow: hidden; color: #737982; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.da-quote-schedule-block {
	position: relative;
	z-index: 20;
	margin-top: 28px;
}
.da-quote-schedule-block.is-popover-open { z-index: 220; }
.da-quote-schedule-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #1f2937;
}
.da-quote-optional {
	color: #8b919b;
	font-size: 11px;
	font-weight: 500;
}
.da-quote-schedule-block--delivery { margin-top: 16px; }
.da-quote-date-wrap {
	position: relative;
	width: 100%;
}
.da-quote-date-wrap .da-home-booking-date-control {
	grid-template-columns: minmax(0, 1fr) 92px;
	height: 46px;
	border-color: #d5dbe3;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.da-quote-date-wrap .da-home-booking-date-trigger,
.da-quote-date-wrap .da-home-booking-time-trigger { background: #fff; }
.da-quote-date-wrap .da-home-booking-date-trigger { border-right-color: #d5dbe3; }
.da-quote-date-wrap .da-home-booking-date-control:hover,
.da-quote-date-wrap .da-home-booking-date-control:focus-within { border-color: #b9bcc1; }
.da-quote-date-wrap .da-home-booking-date-control:focus-within { box-shadow: 0 0 0 3px rgba(24, 26, 31, .04); background: #fff; }
.da-quote-date-wrap .da-home-popover {
	z-index: 120;
	top: calc(100% + 10px);
}
.da-quote-date-wrap .da-home-calendar-popover {
	left: 0;
	width: 100%;
	transform: none;
	box-shadow: 0 18px 48px rgba(17,24,39,.13);
}
.da-quote-date-wrap .da-home-calendar-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.da-quote-date-wrap .da-home-time-popover {
	left: auto;
	right: 0;
	transform: none;
	box-shadow: 0 18px 48px rgba(17,24,39,.13);
}

.da-quote-vehicles-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin: 34px 0 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #e4e6e9;
}
.da-quote-vehicles-head h2 { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 18px; font-weight: 500; color: #111827; }
.da-quote-vehicles-head h2 .da-quote-optional { font-size: 11px; }
.da-quote-add-car {
	appearance: none;
	-webkit-appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: #59616c;
	font-family: var(--da-font-body, "DM Sans", Arial, sans-serif);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.da-quote-add-car:hover,
.da-quote-add-car:focus-visible { color: #111827; outline: 0; }
.da-quote-vehicles { display: grid; }
.da-quote-vehicle-row {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
	gap: 12px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #e4e6e9;
}
.da-quote-vehicle-number {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #111827;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
}
.da-quote-vehicle-select { position: relative; min-width: 0; }
.da-quote-vehicle-select-trigger,
.da-quote-vehicle-row input {
	width: 100%;
	min-width: 0;
	height: 46px;
	padding: 0 13px;
	border: 1px solid #d5dbe3;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
	outline: 0;
	font-family: var(--da-font-body, "DM Sans", Arial, sans-serif);
	font-size: 14px;
	font-weight: 500;
	color: #111827;
}
.da-quote-vehicle-select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	cursor: pointer;
	text-align: left;
}
.da-quote-vehicle-select-trigger:not(.has-value) span { color: #7f8793; font-weight: 400; }
.da-quote-vehicle-select-trigger svg { flex: 0 0 16px; width: 16px; height: 16px; opacity: .5; }
.da-quote-vehicle-select-trigger:hover,
.da-quote-vehicle-select-trigger:focus-visible,
.da-quote-vehicle-select-trigger[aria-expanded="true"],
.da-quote-vehicle-row input:hover,
.da-quote-vehicle-row input:focus { border-color: #b9bcc1; background: #fff; outline: 0; }
.da-quote-vehicle-select-trigger:focus-visible,
.da-quote-vehicle-select-trigger[aria-expanded="true"],
.da-quote-vehicle-row input:focus { box-shadow: 0 0 0 3px rgba(24, 26, 31, .04); }
.da-quote-vehicle-row input::placeholder { color: #8a929e; opacity: 1; font-weight: 400; }
.da-quote-vehicle-row input:disabled { opacity: .5; cursor: not-allowed; }
.da-quote-vehicle-menu {
	position: absolute;
	z-index: 150;
	top: calc(100% + 7px);
	left: 0;
	width: max(100%, 220px);
	max-height: 300px;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid #dfe2e7;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(17,24,39,.15);
}
.da-quote-vehicle-menu[hidden] { display: none; }
.da-quote-vehicle-search {
	position: sticky;
	top: 0;
	z-index: 2;
	width: 100%;
	height: 40px;
	margin: 0 0 6px;
	padding: 0 11px;
	border: 1px solid #d5dbe3;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	font-family: var(--da-font-body, "DM Sans", Arial, sans-serif);
	font-size: 13px;
	font-weight: 400;
	color: #111827;
	outline: 0;
}
.da-quote-vehicle-search:hover,
.da-quote-vehicle-search:focus { border-color: #b9bcc1; }
.da-quote-vehicle-search:focus { box-shadow: 0 0 0 3px rgba(24, 26, 31, .04); }
.da-quote-vehicle-search::placeholder { color: #8a929e; opacity: 1; }
.da-quote-vehicle-options { display: grid; gap: 2px; }
.da-quote-vehicle-option {
	display: block;
	width: 100%;
	padding: 9px 10px;
	border: 0;
	border-radius: 7px;
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}
.da-quote-vehicle-option:hover, .da-quote-vehicle-option:focus-visible { background: #f3f4f6; outline: 0; }
.da-quote-vehicle-option[hidden] { display: none; }
.da-quote-vehicle-option.is-muted { color: #8a929e; cursor: default; }
.da-quote-vehicle-select-trigger:disabled { opacity: .52; cursor: not-allowed; }
.da-quote-vehicle-remove {
	position: absolute;
	top: 50%;
	right: -42px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #3f4752;
	font-size: 23px;
	line-height: 1;
	cursor: pointer;
}
.da-quote-vehicle-remove:hover, .da-quote-vehicle-remove:focus-visible { color: #111827; outline: 0; }

.da-quote-actions-row { display: grid; grid-template-columns: auto minmax(180px, 1fr); gap: 12px; align-items: center; margin-top: 26px; }
.da-quote-actions-row .da-quote-primary { margin: 0; }
.da-quote-back { min-height: 50px; padding: 0 10px; background: transparent; color: #646a73; font-size: 13px; font-weight: 500; }
.da-quote-back:hover { color: #111827; }
.da-quote-feedback { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fff1ef; color: #9a342a; font-size: 12px; line-height: 1.45; }
.da-quote-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.da-quote-thank-you { text-align: left; }
.da-quote-thank-you .da-quote-primary { width: auto; margin-top: 28px; }

.mapboxgl-ctrl-bottom-left, .mapboxgl-ctrl-bottom-right { font-family: Arial, sans-serif; }

@media (max-width: 1100px) {
	.da-quote-app { grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); }
	.da-quote-left { padding-inline: 42px; }
}

@media (max-width: 820px) {
	.da-quote-app { display: block; min-height: 100svh; }
	.da-quote-left { min-height: 100svh; padding: 110px 20px 36px; }
	.da-quote-brand { top: 22px; left: 20px; }
	.da-quote-content { margin: 0 auto; padding: 0; }
	.da-quote-right { display: none; }
	.da-quote-step-copy h1, .da-quote-thank-you h1 { font-size: 32px; }
	.da-quote-place-suggestions { position: fixed; top: 12px; right: 12px; bottom: auto; left: 12px; width: auto; max-height: calc(100svh - 24px); overflow: auto; }
}

@media (max-width: 560px) {
	.da-quote-left { padding-inline: 16px; }
	.da-quote-route-row { grid-template-columns: 22px 38px minmax(0,1fr); gap: 8px; }
	.da-quote-vehicle-row { grid-template-columns: 32px minmax(0,1fr); padding-right: 36px; }
	.da-quote-vehicle-select, .da-quote-vehicle-row [data-da-vehicle-vin] { grid-column: 2; }
	.da-quote-vehicle-remove { top: 22px; right: 0; transform: none; }
	.da-quote-date-wrap { width: 100%; }
	.da-quote-date-wrap .da-home-calendar-months { grid-template-columns: 1fr; }
	.da-quote-date-wrap .da-home-calendar-popover { position: fixed; inset: 12px; width: auto; max-height: calc(100svh - 24px); overflow: auto; transform: none; }
	.da-quote-actions-row { grid-template-columns: 1fr; }
	.da-quote-back { order: 2; }
}
