/* GetnDrive Visual Rebrand — compact service footer on the traveler account pages. v0.2.10.37

   Enqueued only on the account routes (getndrive_visual_rebrand_is_account_request(): `/account/`,
   `/ru/lichnyy-kabinet/` and their legacy aliases), after every other Rebrand stylesheet. The dead cookie-settings
   control is hidden at every account-page width; the compact layout applies only in the phone band (`max-width:
   767px`) to the converted editorial footer. Every other page receives nothing from this file.

   On a phone the account is a working screen with its own bottom navigation (Customer Account 0.1.11), so the large
   promotional footer grid (brand line, market, Rental, Support, For partners) gives way to the footer's existing
   bottom strip: the copyright and the Terms and Privacy links. The cookie-settings control has no handler on the
   account routes (MVP dequeues it), so it is temporarily removed from view and tab order at every width. One footer,
   same DOM and link destinations; nothing is added, moved or rewritten. The grid is removed with `display: none` — out of the
   layout, the accessibility tree and the tab order together — never hidden visually while still focusable. A footer
   the editorial layout did not convert keeps its full grid (its Terms and Privacy links live there), so it fails
   closed to the ordinary footer.

   The account's sticky bottom bar lives inside the account and comes to rest before the footer; nothing here
   touches the account, the Header, the drawer or the footer's colours and background. The frozen main, lockup and
   shell stylesheets are untouched, which is why this is a separate file. */

body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer .gnd-cookie-settings-link {
	display: none !important;
}

@media (max-width: 767px) {
	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial {
		padding: 20px 0 max(20px, env(safe-area-inset-bottom)) !important;
	}

	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial > .sch-footer__grid {
		display: none !important;
	}

	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial .sch-footer__bottom {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 0 20px !important;
		padding: 0 !important;
		border-top: 0 !important;
	}

	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial .sch-footer__copyright {
		flex: 1 1 100%;
		margin: 0 0 4px !important;
		font-size: 13px !important;
		text-align: left !important;
	}

	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial .gnd-footer-legal {
		gap: 0 20px;
		margin: 0;
	}

	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial .sch-footer__bottom > p {
		margin: 0 !important;
	}

	/* 44px touch rows for the two legal links; the text itself keeps its size and colour. */
	body.getndrive-visual-rebrand.gnd-public-account-shell .sch-footer.gnd-footer--editorial .gnd-footer-legal a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}
