/* NaviSystems 246 Booking — plugin-only additions.
   Core wizard/form styling lives in the theme's main.css; this file covers
   the availability loading/empty states, the slot-taken notice, the
   fleet-form honeypot, the Fygaro payment states, and everything for the
   concierge (vehicle-first) flow: .navi-cz* / .navi-czbar. All colours reuse
   the theme's custom properties. Mobile-first. */

.navi-wizard__notice {
	border: 1px solid rgba(250, 204, 21, 0.45);
	background: rgba(250, 204, 21, 0.08);
	color: var(--yellow-400, #facc15);
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

.navi-wizard__times-hint,
.navi-wizard__times-empty {
	margin: 0;
	padding: 0.75rem 0;
	font-size: 0.95rem;
	color: var(--slate-300, #cbd5e1);
}

.navi-wizard__times-hint--loading {
	animation: navi-slots-pulse 1.2s ease-in-out infinite;
}

@keyframes navi-slots-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
	.navi-wizard__times-hint--loading {
		animation: none;
	}
}

/* Honeypot: visually removed, still in the DOM for bots. */
.navi-fleet__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- Fygaro payment states ---------------------------------------------- */
/* "Redirecting to secure payment…" interstitial after submit. */
.navi-wizard__check--pay {
	background: rgba(6, 182, 212, 0.12);
	border-color: rgba(6, 182, 212, 0.4);
	color: var(--cyan-400, #22d3ee);
}

.navi-wizard__redirect-msg {
	color: var(--cyan-400, #22d3ee);
	font-weight: 600;
	animation: navi-pay-pulse 1.2s ease-in-out infinite;
}

@keyframes navi-pay-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
	.navi-wizard__redirect-msg {
		animation: none;
	}
}

/* ==========================================================================
   Concierge flow — Vehicle → Service → Schedule → Confirm
   ========================================================================== */

/* Wider shell so the summary rail fits beside the steps on desktop; extra
   bottom padding on mobile keeps content clear of the fixed bottom bar. */
.navi-wizard[data-flow="concierge"] {
	max-width: 1160px;
	padding-bottom: 7.5rem;
}

@media (min-width: 1024px) {
	.navi-wizard[data-flow="concierge"] {
		padding-bottom: 4rem;
	}
}

/* Visible focus ring on everything interactive inside the wizard. */
.navi-wizard button:focus-visible,
.navi-czbar button:focus-visible {
	outline: 2px solid var(--cyan-400);
	outline-offset: 2px;
}

/* Progress list (the concierge stepper is a real <ol>). */
.navi-cz__steps {
	list-style: none;
	padding: 0;
}

/* Step transition: one 250ms crossfade + slight slide, ease-out. */
@media (prefers-reduced-motion: no-preference) {
	.navi-cz__panel.is-enter {
		animation: navi-cz-enter 0.25s ease-out;
	}
}

@keyframes navi-cz-enter {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* ---- Layout: main column + desktop summary rail -------------------------- */
.navi-cz__main {
	min-width: 0;
}

.navi-cz__rail {
	display: none;
}

@media (min-width: 1024px) {
	.navi-cz {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 2.5rem;
		align-items: start;
	}

	.navi-cz__rail {
		display: block;
		position: sticky;
		top: 5.5rem;
		background: rgba(30, 41, 59, 0.5);
		border: 1px solid var(--slate-700);
		border-radius: 12px;
		padding: 1.5rem;
	}
}

.navi-cz__rail-h {
	color: var(--slate-500);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
}

.navi-cz__rail-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.1rem 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}

.navi-cz__rail-label {
	grid-column: 1 / -1;
	color: var(--slate-500);
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.navi-cz__rail-value {
	color: var(--white);
	font-size: 0.95rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.navi-cz__rail-empty {
	color: var(--slate-600);
}

.navi-cz__rail-edit {
	background: none;
	border: none;
	padding: 0;
	align-self: start;
	color: var(--cyan-400);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s ease;
}

.navi-cz__rail-edit:hover {
	color: var(--white);
}

.navi-cz__rail-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-top: 1rem;
	color: var(--white);
	font-weight: 600;
}

.navi-cz__rail-price {
	color: var(--cyan-400);
	font-weight: 700;
	font-size: 1.35rem;
}

/* ---- Mobile bottom bar: running total + current-step CTA ----------------- */
.navi-czbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
	background: rgba(15, 23, 42, 0.97);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-top: 1px solid var(--slate-800);
}

.navi-czbar__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.navi-czbar__price {
	color: var(--cyan-400);
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.25;
}

.navi-czbar__price--empty {
	color: var(--slate-600);
}

.navi-czbar__meta {
	color: var(--slate-400);
	font-size: 0.75rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.navi-czbar__cta {
	min-height: 44px;
	flex-shrink: 0;
}

@media (min-width: 1024px) {
	.navi-czbar {
		display: none;
	}
}

/* ---- Step 1: make tiles + model/year -------------------------------------- */
.navi-cz__makes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
	.navi-cz__makes {
		grid-template-columns: repeat(4, 1fr);
	}
}

.navi-cz__make {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	min-height: 92px;
	padding: 1rem 0.5rem;
	background: rgba(30, 41, 59, 0.5);
	border: 1px solid var(--slate-700);
	border-radius: 12px;
	color: var(--slate-200);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.navi-cz__make:hover {
	border-color: var(--cyan-500);
	transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
	.navi-cz__make,
	.navi-cz__make:hover {
		transition: none;
		transform: none;
	}
}

.navi-cz__make.is-selected {
	border-color: var(--cyan-400);
	background: rgba(6, 182, 212, 0.1);
	color: var(--white);
}

.navi-cz__mono {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 182, 212, 0.1);
	border: 1px solid rgba(6, 182, 212, 0.25);
	color: var(--cyan-400);
	font-size: 1.15rem;
	font-weight: 700;
}

.navi-cz__make.is-selected .navi-cz__mono {
	background: var(--cyan-500);
	border-color: var(--cyan-500);
	color: var(--white);
}

/* Brand logo tile (shown when a make has a 'logo' URL). A light chip keeps
 * coloured/dark brand marks legible on the dark wizard surface. */
.navi-cz__logo {
	width: 3rem;
	height: 3rem;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem;
	background: #fff;
	border: 1px solid var(--slate-700);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.navi-cz__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}
.navi-cz__make.is-selected .navi-cz__logo {
	border-color: var(--cyan-400);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.navi-cz__make--other {
	border-style: dashed;
	color: var(--slate-300);
}

.navi-cz__make--other .navi-cz__mono {
	background: transparent;
	border-color: var(--slate-600);
	color: var(--slate-400);
}

/* ---- Step 2: recommendation cards, helper, browse-all --------------------- */
.navi-cz__card {
	display: block;
	width: 100%;
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	border-radius: 12px;
	border: 1px solid var(--slate-700);
	background: rgba(30, 41, 59, 0.5);
	padding: 1.25rem;
	color: inherit;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.navi-cz__card:hover {
	border-color: var(--cyan-500);
}

.navi-cz__card--hero {
	border-color: rgba(6, 182, 212, 0.5);
	background: linear-gradient(160deg, rgba(6, 182, 212, 0.1) 0%, rgba(30, 41, 59, 0.5) 55%);
	padding: 1.5rem;
}

.navi-cz__card--hero:hover {
	border-color: var(--cyan-400);
}

.navi-cz__badge {
	display: inline-flex;
	margin-bottom: 0.85rem;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: rgba(6, 182, 212, 0.12);
	border: 1px solid rgba(6, 182, 212, 0.35);
	color: var(--cyan-400);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.navi-cz__card-name {
	display: block;
	color: var(--white);
	font-weight: 600;
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

.navi-cz__card--hero .navi-cz__card-name {
	font-size: 1.3rem;
}

.navi-cz__card-desc {
	display: block;
	color: var(--slate-400);
	font-size: 0.875rem;
	line-height: 1.55;
	margin-bottom: 0.85rem;
}

/* Alternates stay quiet: no description, tighter padding. */
.navi-cz__alts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	margin-top: 0.85rem;
}

@media (min-width: 640px) {
	.navi-cz__alts {
		grid-template-columns: repeat(2, 1fr);
	}
}

.navi-cz__card--alt .navi-cz__card-desc {
	display: none;
}

.navi-cz__card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navi-cz__price {
	color: var(--cyan-400);
	font-weight: 700;
	font-size: 1.2rem;
}

.navi-cz__dur {
	color: var(--slate-500);
	font-size: 0.8rem;
}

/* Quiet text actions under the cards. */
.navi-cz__quiet {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.75rem;
	margin-top: 0.75rem;
}

.navi-cz__link {
	background: none;
	border: none;
	padding: 0.6rem 0;
	min-height: 44px;
	color: var(--slate-300);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s ease;
}

.navi-cz__link:hover {
	color: var(--cyan-400);
}

.navi-cz__helper {
	margin-top: 0.75rem;
	padding: 1.25rem;
	border: 1px solid var(--slate-700);
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.6);
}

.navi-cz__helper-q {
	margin: 0 0 0.85rem;
	color: var(--slate-200);
	font-weight: 600;
}

.navi-cz__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.navi-cz__chip {
	padding: 0.55rem 1.1rem;
	min-height: 44px;
	border-radius: 999px;
	border: 1px solid var(--slate-600);
	background: var(--slate-800);
	color: var(--slate-200);
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.navi-cz__chip:hover {
	border-color: var(--cyan-500);
	color: var(--white);
}

.navi-cz__chip.is-active {
	background: rgba(6, 182, 212, 0.15);
	border-color: var(--cyan-400);
	color: var(--white);
	box-shadow: inset 0 0 0 1px var(--cyan-400);
}

/* Browse-all: search + category chips + compact single-line rows. */
.navi-cz__browse-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
	margin-bottom: 1rem;
}

.navi-wizard .navi-cz__search {
	flex: 1;
	min-width: 220px;
	margin-bottom: 0;
}

.navi-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.navi-cz__rows {
	margin-top: 1rem;
	border: 1px solid var(--slate-700);
	border-radius: 12px;
	overflow: hidden;
}

.navi-cz__row {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 1rem;
	background: rgba(30, 41, 59, 0.35);
	border: none;
	border-bottom: 1px solid rgba(51, 65, 85, 0.6);
	color: inherit;
	font-family: inherit;
	font-size: 0.9rem;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.navi-cz__row:last-child {
	border-bottom: none;
}

.navi-cz__row:hover {
	background: rgba(6, 182, 212, 0.08);
}

.navi-cz__row:focus-visible {
	outline-offset: -2px;
}

.navi-cz__row-name {
	flex: 1;
	min-width: 0;
	color: var(--slate-200);
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.navi-cz__row-dur {
	color: var(--slate-500);
	font-size: 0.8rem;
	white-space: nowrap;
}

.navi-cz__row-price {
	color: var(--cyan-400);
	font-weight: 700;
	white-space: nowrap;
}

.navi-cz__browse-empty {
	color: var(--slate-300);
	padding: 1rem 0;
	margin: 0;
}

/* ---- Step 3: day chip strip + grouped time slots -------------------------- */
.navi-cz__days {
	display: flex;
	gap: 0.6rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.navi-cz__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	min-width: 78px;
	min-height: 60px;
	padding: 0.6rem 0.85rem;
	flex-shrink: 0;
	border-radius: 12px;
	border: 1px solid var(--slate-700);
	background: rgba(30, 41, 59, 0.5);
	color: var(--slate-300);
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.navi-cz__day:hover {
	border-color: var(--cyan-500);
	color: var(--white);
}

.navi-cz__day.is-selected {
	background: rgba(6, 182, 212, 0.15);
	border-color: var(--cyan-400);
	color: var(--white);
	box-shadow: inset 0 0 0 1px var(--cyan-400);
}

.navi-cz__day-name {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.navi-cz__day-date {
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
}

.navi-cz__day--more {
	border-style: dashed;
}

.navi-cz__datepick {
	max-width: 320px;
}

.navi-cz__slot-h {
	color: var(--slate-400);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin: 1.25rem 0 0.6rem;
}

/* Selected time: cyan ring on a tinted dark ground (keeps AA contrast,
   unlike white-on-cyan). Scoped to the concierge flow only. */
.navi-wizard[data-flow="concierge"] .navi-wizard__time.is-selected {
	background: rgba(6, 182, 212, 0.15);
	border-color: var(--cyan-400);
	color: var(--white);
	box-shadow: inset 0 0 0 1px var(--cyan-400);
}

/* ---- Step 4: summary + reassurance ---------------------------------------- */
.navi-cz__summary {
	margin-top: 0.5rem;
}

.navi-cz__reassure {
	color: var(--slate-300);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 1.25rem 0 0;
	padding-left: 1.5rem;
	position: relative;
}

.navi-cz__reassure::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15rem;
	width: 16px;
	height: 16px;
	background-color: var(--cyan-400);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Booking-type choice (entry screen) + fleet enquiry branch
   ========================================================================== */

/* ---- Entry screen: two large tappable choice cards ----------------------- */
.navi-cz__types {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 0.5rem;
	max-width: 720px;
}

@media (min-width: 640px) {
	.navi-cz__types {
		grid-template-columns: repeat(2, 1fr);
	}
}

.navi-cz__type {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	border-radius: 14px;
	border: 1px solid var(--slate-700);
	background: rgba(30, 41, 59, 0.5);
	padding: 1.5rem;
	color: inherit;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.navi-cz__type:hover {
	border-color: var(--cyan-400);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.navi-cz__type,
	.navi-cz__type:hover {
		transition: none;
		transform: none;
	}
}

.navi-cz__type-icon {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 182, 212, 0.1);
	border: 1px solid rgba(6, 182, 212, 0.25);
	color: var(--cyan-400);
}

.navi-cz__type-icon svg {
	width: 1.6rem;
	height: 1.6rem;
}

.navi-cz__type:hover .navi-cz__type-icon {
	background: var(--cyan-500);
	border-color: var(--cyan-500);
	color: var(--white);
}

.navi-cz__type-body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.navi-cz__type-name {
	color: var(--white);
	font-weight: 600;
	font-size: 1.15rem;
}

.navi-cz__type-desc {
	color: var(--slate-400);
	font-size: 0.9rem;
	line-height: 1.55;
}

.navi-cz__type-arrow {
	margin-left: auto;
	align-self: center;
	color: var(--slate-500);
	font-size: 1.5rem;
	line-height: 1;
	transition: color 0.15s ease, transform 0.15s ease;
}

.navi-cz__type:hover .navi-cz__type-arrow {
	color: var(--cyan-400);
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.navi-cz__type-arrow,
	.navi-cz__type:hover .navi-cz__type-arrow {
		transition: none;
		transform: none;
	}
}

/* ---- "Change booking type" affordance ------------------------------------ */
.navi-cz__changetype {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: none;
	border: none;
	padding: 0.6rem 0;
	margin: -0.25rem 0 0.75rem;
	min-height: 44px;
	color: var(--slate-400);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s ease;
}

.navi-cz__changetype:hover {
	color: var(--cyan-400);
}

.navi-cz__changetype span {
	font-size: 1.15rem;
	line-height: 1;
}

/* ---- Fleet enquiry form --------------------------------------------------- */
.navi-cz__fleet-sub {
	color: var(--slate-400);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.navi-cz__fleet-h {
	color: var(--slate-400);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin: 1.75rem 0 0.85rem;
}

.navi-cz__fleet-h:first-of-type {
	margin-top: 0.5rem;
}

.navi-cz__fgroup {
	margin: 1.25rem 0;
}

.navi-cz__flabel {
	display: block;
	color: var(--slate-200);
	font-weight: 600;
	font-size: 0.95rem;
}

.navi-cz__fhint {
	color: var(--slate-500);
	font-size: 0.85rem;
	margin: 0.25rem 0 0.85rem;
}

.navi-cz__ftimeframe {
	max-width: 360px;
}

/* Inline validation errors. */
.navi-cz__err {
	display: block;
	margin-top: 0.4rem;
	color: var(--red-400, #f87171);
	font-size: 0.82rem;
}

.navi-cz__ffield.has-err input {
	border-color: var(--red-400, #f87171);
}

/* Breadcrumb bar on the full-width Book page (template: page-full-width.html).
 * Left-aligned to sit above the wizard's own heading. */
.navi-crumbbar { padding-top: 1.5rem; }
.navi-crumbbar .navi-breadcrumbs { margin-bottom: 0; }
.navi-crumbbar .navi-breadcrumbs ol { justify-content: flex-start; }
