/* GetnDrive Visual Rebrand — public route footer. v0.2.10.126 (Nik's footer brief 2026-11-22)

   Loaded on every public request (the footer is shared), after getndrive-public-footer.css and before the route-gated
   account footer. Styles only a footer that getndrive_visual_rebrand_footer_route_layout() converted
   (`.sch-footer.gnd-footer--route`); a footer the pass could not convert keeps the editorial look. The main, lockup and
   shell stylesheets are SHA-frozen and are not edited. Every rule is scoped under
   `body.getndrive-visual-rebrand .sch-footer.gnd-footer--route` (or the `.site-footer:has(...)` wrapper).

   Width: the dark background is full width. The content follows the container contract of the page's template:
   - standard, country, category and support pages: the shared `--gnd-public-content` token;
   - international home: `.gnd-ih-wrap` (max-width 1312px with a 16px gutter), so min(100%, 1312px) - 32px;
   - Company Profile (DW Auto and the other company pages): `.gnd-company__wrap` (min(1200px, 100%)). From the moment the
     available width reaches 1200px the footer uses that exact 1200px cap, measured with a container query so a classic
     scrollbar cannot shift the boundary. Below it the wrap runs to the window edge and its cards inset their content
     by 15px (14px padding + 1px border), so the footer keeps that same 15px inset: 100% - 30px.
   Each override is gated on the template's real container being present. If one of those templates changes its
   container, change its token here too (scripts/qa/footer-rebrand-0.2.10.126 measures the edges).

   Desktop (>= 1025px): brand and three groups, the route band, one divider, then legal information on the left beside
   About and the controls on the right. Tablet (768-1024px): brand above three groups, same bottom. Phone (< 768px): one
   vertical column; About and the controls close the footer, aligned right.

   Sizes are real sizes, with no transform or zoom. Touch layouts keep 44px controls, options and the login button; a
   precise desktop pointer uses 36px. The route is inline SVG (`aria-hidden`, no pointer events) inside its own band.
   Control panels are `details.gnd-nav-choice`: the shared Header script closes them on Escape, an outside click and when
   another opens. They open upward from the last row and stay inside the container. */

body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--route) {
	background-color: #0a1d33 !important;
	background-image:
		linear-gradient(90deg, rgba(61, 232, 216, 0) 0%, rgba(61, 232, 216, 0.5) 30%, rgba(61, 232, 216, 0.5) 70%, rgba(61, 232, 216, 0) 100%),
		radial-gradient(60rem 28rem at 104% 112%, rgba(14, 150, 150, 0.55), transparent 68%),
		radial-gradient(40rem 20rem at -8% -16%, rgba(40, 120, 190, 0.18), transparent 70%),
		linear-gradient(180deg, #0a1d33 0%, #0a2742 58%, #0a3343 100%) !important;
	background-position: 0 0, 0 0, 0 0, 0 0 !important;
	background-repeat: no-repeat !important;
	background-size: 100% 1px, auto, auto, auto !important;
}

body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--route) .site-footer-wrap,
body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--route) .site-footer-row,
body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--route) .site-footer-row-container-inner,
body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--route) .site-bottom-footer-wrap,
body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--route) .site-bottom-footer-inner-wrap {
	background: transparent !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route {
	--gnd-fr-cyan: #3de8d8;
	--gnd-fr-ring: #8ff7ee;
	--gnd-fr-line: rgba(255, 255, 255, 0.2);
	--gnd-fr-text: #eaf4f3;
	--gnd-fr-muted: rgba(234, 244, 243, 0.82);
	--gnd-fr-container: var(--gnd-public-content, min(calc(100vw - 2 * clamp(14px, 4vw, 24px)), 1180px));
	--gnd-fr-col-pad: clamp(14px, 1.6vw, 22px);
	box-sizing: border-box;
	width: 100% !important;
	margin: 0 !important;
	padding: clamp(26px, 2.9vw, 40px) 0 clamp(16px, 1.9vw, 24px) !important;
	border-top: 0 !important;
	background: transparent !important;
	color: var(--gnd-fr-text);
	font-size: 14px;
	line-height: 1.45;
	letter-spacing: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route *,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route *::before,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route *::after {
	box-sizing: border-box;
	letter-spacing: 0;
}

/* Template container contracts (see the header comment). Percentages resolve against the full-width footer. */
body.getndrive-visual-rebrand.gnd-intl-home:has(.gnd-ih .gnd-ih-wrap) .sch-footer.gnd-footer--route {
	--gnd-fr-container: calc(min(100%, 1312px) - 32px);
}

body.getndrive-visual-rebrand.gnd-company-profile-page:has(.gnd-company__wrap) .sch-footer.gnd-footer--route {
	container-type: inline-size;
	--gnd-fr-container: min(1200px, calc(100% - 30px));
}

@container (min-width: 1200px) {
	body.getndrive-visual-rebrand.gnd-company-profile-page:has(.gnd-company__wrap) .sch-footer.gnd-footer--route .gnd-fr__inner {
		--gnd-fr-container: 1200px;
	}
}

/* The container is centred from its parent even when the parent has its own padding. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__inner {
	position: relative;
	width: var(--gnd-fr-container);
	max-width: none;
	margin-inline: calc((100% - var(--gnd-fr-container)) / 2);
}

/* The theme footer wrappers centre their text. `a.gnd-fr__btn` keeps its centred label. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__inner,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__brand,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__logo,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__lead,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__panel,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__col,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route h3.gnd-fr__h,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__links,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__links li,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__bottom,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__info,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__legal-row,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route nav.gnd-footer-legal,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__cookie,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine .sch-footer__copyright,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine p.gnd-footer-operator {
	text-align: left !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route ul,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route li,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route h3 {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route li::before,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route li::after {
	content: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---- Top: brand and three groups ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.92fr) minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid--no-rent {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.1fr);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__brand {
	min-width: 0;
	padding-right: clamp(18px, 2.4vw, 34px);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__col {
	min-width: 0;
	padding-inline: var(--gnd-fr-col-pad);
	border-left: 1px solid var(--gnd-fr-line);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__col:last-child {
	padding-right: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__logo {
	margin: 0 0 10px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__logo .gnd-footer-lockup {
	display: block;
	width: min(100%, 216px);
	height: auto;
	margin: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__lead {
	max-width: 44ch;
	color: var(--gnd-fr-text);
	font-size: 14px;
	line-height: 1.45;
}

/* ---- Headings, links, button ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route h3.gnd-fr__h {
	margin: 0 0 7px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: break-word;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__links {
	display: grid;
	gap: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 27px;
	color: rgba(255, 255, 255, 0.94);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: break-word;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link:hover {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: var(--gnd-fr-cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link--accent {
	color: var(--gnd-fr-cyan);
	font-weight: 600;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link--accent:hover {
	color: var(--gnd-fr-ring);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link--cta,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link--specialist-join {
	gap: 6px;
	min-height: 28px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link--cta > span,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link--specialist-join > span {
	color: inherit !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 210px;
	min-height: 44px;
	margin: 5px 0 4px;
	padding: 5px 14px;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 9px;
	background: rgba(6, 20, 40, 0.16);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__btn:hover {
	border-color: var(--gnd-fr-cyan);
	background: rgba(61, 232, 216, 0.1);
	color: #ffffff;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a:focus-visible,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route summary:focus-visible {
	outline: 3px solid var(--gnd-fr-ring) !important;
	outline-offset: 2px !important;
	border-radius: 8px;
}

/* ---- Decorative route ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__band {
	position: relative;
	z-index: 0;
	height: 56px;
	margin: 8px 0 6px;
	pointer-events: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--m {
	display: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__path {
	fill: none;
	stroke: var(--gnd-fr-cyan);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-dasharray: 0.1 7;
	vector-effect: non-scaling-stroke;
	opacity: 0.58;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__ring {
	position: absolute;
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--gnd-fr-cyan);
	border-radius: 50%;
	background: radial-gradient(circle, var(--gnd-fr-cyan) 0 2px, rgba(10, 29, 51, 0.6) 2.5px);
	box-shadow: 0 0 7px rgba(61, 232, 216, 0.28);
	opacity: 0.78;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--d .gnd-fr__ring--start {
	left: 1.2%;
	top: 76.67%;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--d .gnd-fr__ring--mid {
	left: 57%;
	top: 73.33%;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--d .gnd-fr__ring--end {
	left: 98.8%;
	top: 26.67%;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--m .gnd-fr__ring--start {
	left: 2.5%;
	top: 70%;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--m .gnd-fr__ring--end {
	left: 97.5%;
	top: 23.33%;
}

/* ---- Bottom: information on the left, About and controls on the right ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__bottom {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: clamp(18px, 2.4vw, 30px);
	align-items: start;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__info {
	min-width: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__legal-row,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route nav.gnd-footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 2px 22px;
	margin: 0;
	padding: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route nav.gnd-footer-legal a,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__cookie a.gnd-cookie-settings-link {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	color: rgba(234, 244, 243, 0.84) !important;
	font-size: 13px !important;
	font-weight: 400;
	line-height: 1.3 !important;
	text-decoration: none;
	overflow-wrap: break-word;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route nav.gnd-footer-legal a:hover,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__cookie a.gnd-cookie-settings-link:hover {
	color: #ffffff !important;
	text-decoration: underline;
	text-decoration-color: var(--gnd-fr-cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.4;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine .sch-footer__copyright,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine p.gnd-footer-operator {
	display: block !important;
	margin: 0 !important;
	color: rgba(234, 244, 243, 0.78) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine .sch-footer__copyright {
	margin-top: 2px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine p.gnd-footer-operator::before {
	content: none !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__prefs {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	min-width: 0;
	max-width: min(520px, 56vw);
	padding-left: clamp(18px, 2.4vw, 30px);
	border-left: 1px solid var(--gnd-fr-line);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__about {
	text-align: right !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__about a.gnd-fr__link--accent {
	min-height: 26px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--gnd-fr-cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

/* ---- Controls: Country, Language, Currency ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__controls {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	max-width: 100%;
	text-align: left;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice {
	position: static;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary.gnd-fr__summary {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	min-height: 44px;
	padding: 4px 8px 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 9px;
	background: rgba(6, 20, 40, 0.18);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: normal;
	list-style: none;
	cursor: pointer;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary.gnd-fr__summary::-webkit-details-marker {
	display: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary.gnd-fr__summary:hover,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice[open] > summary.gnd-fr__summary {
	border-color: var(--gnd-fr-cyan);
	background: rgba(61, 232, 216, 0.1);
	color: #ffffff;
}

/* A long country name wraps inside its control: it is never clipped and never runs under the next control. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__value {
	min-width: 0;
	overflow-wrap: anywhere;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__caret {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin: -3px 0 0 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice[open] .gnd-fr__caret {
	margin-top: 3px;
	transform: rotate(-135deg);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-flag {
	width: 24px;
	height: 16px;
	border-radius: 3px;
	vertical-align: middle;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary .gnd-flag {
	width: 20px;
	height: 14px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__panel {
	position: absolute;
	z-index: 30;
	right: 0;
	bottom: calc(100% + 8px);
	left: auto;
	width: min(300px, calc(100vw - 32px));
	max-height: min(320px, 60vh);
	margin: 0;
	padding: 8px;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 14px;
	background: #0d2842;
	box-shadow: 0 18px 40px rgba(2, 10, 24, 0.55);
	overscroll-behavior: contain;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__list {
	display: grid;
	gap: 2px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 10px;
	border-radius: 10px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__opt:hover,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__opt.is-current {
	background: rgba(61, 232, 216, 0.14);
	color: #ffffff;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route span.gnd-fr__value,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route span.gnd-fr__name {
	color: #ffffff !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__name {
	min-width: 0;
	overflow-wrap: break-word;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__code {
	flex: 0 0 auto;
	min-width: 3ch;
	font-weight: 700;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__check {
	margin-left: auto;
	padding-left: 8px;
	font-weight: 700;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route span.gnd-fr__code,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route span.gnd-fr__check {
	color: var(--gnd-fr-cyan) !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__panel-label {
	padding: 6px 12px 0;
	color: var(--gnd-fr-muted);
	font-size: 13px;
	line-height: 1.3;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__panel-value {
	padding: 2px 12px 6px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: break-word;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__panel-note {
	padding: 0 12px 8px;
	color: var(--gnd-fr-muted);
	font-size: 13px;
	line-height: 1.35;
}

/* The quiet AI/LLM reference row keeps its markup; the main stylesheet still hides `.sch-footer__llm-links`. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .sch-footer__llm-links {
	margin-top: 8px;
	opacity: 0.7;
}

/* A precise desktop pointer can use the shorter controls; touch layouts keep 44px. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary.gnd-fr__summary {
		min-height: 36px;
		padding-block: 3px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__opt {
		min-height: 36px;
		padding-block: 4px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__btn {
		min-height: 36px;
	}
}

/* ---- Tablet: brand above the three groups ---- */

@media (max-width: 1024px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 18px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid--no-rent {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__lead {
		max-width: 62ch;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__brand + .gnd-fr__col {
		padding-left: 0;
		border-left: 0;
	}
}

/* ---- Phone: one vertical column ---- */

@media (max-width: 767px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route {
		padding: 24px 0 18px !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__grid--no-rent {
		display: block;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__brand {
		padding: 0 0 14px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__logo .gnd-footer-lockup {
		width: min(100%, 220px);
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__col,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__brand + .gnd-fr__col {
		padding: 11px 0;
		border-top: 1px solid var(--gnd-fr-line);
		border-left: 0;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route h3.gnd-fr__h {
		margin-bottom: 3px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__link {
		min-height: 38px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route a.gnd-fr__btn {
		max-width: none;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__band {
		height: 44px;
		margin: 0 0 6px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--d {
		display: none;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__route--m {
		display: block;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__bottom {
		display: block;
		padding-top: 8px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__legal-row,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route nav.gnd-footer-legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route nav.gnd-footer-legal a,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__cookie a.gnd-cookie-settings-link {
		min-height: 36px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine {
		margin-top: 6px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__fine .sch-footer__copyright {
		margin-top: 5px !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__prefs {
		max-width: none;
		margin-top: 12px;
		padding-left: 0;
		border-left: 0;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route p.gnd-fr__about a.gnd-fr__link--accent {
		min-height: 36px;
	}
}

@media (max-width: 374px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route .gnd-fr__controls {
		gap: 5px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary.gnd-fr__summary {
		gap: 4px;
		padding-inline: 8px 6px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route details.gnd-fr__choice > summary .gnd-flag {
		width: 18px;
		height: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route *,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route *::before,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--route *::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}
