/* Zoom Cars: language switcher */

.zc-lang {
	position: relative;
	display: inline-flex;
	font-family: "Poppins", Arial, sans-serif;
}

.zc-lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(255,255,255,.38);
	border-radius: 999px;
	background: rgba(2,3,4,.25);
	color: #fff;
	font: 600 13px/1 "Poppins", Arial, sans-serif;
	letter-spacing: 1.5px;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.zc-lang-toggle:hover,
.zc-lang.is-open .zc-lang-toggle {
	border-color: #f6e30a;
	color: #f6e30a;
}

.zc-lang-toggle:focus-visible,
.zc-lang-option:focus-visible,
.zc-lang-pill:focus-visible,
.zc-lang-offer button:focus-visible {
	outline: 2px solid #f6e30a;
	outline-offset: 3px;
}

.zc-lang-toggle svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.zc-lang-toggle .zc-lang-chevron {
	width: 14px;
	height: 14px;
	stroke-width: 2.4;
	transition: transform .2s ease;
}

.zc-lang.is-open .zc-lang-chevron {
	transform: rotate(180deg);
}

.zc-lang-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 6000;
	min-width: 190px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(2,3,4,.28);
}

.zc-lang-menu[hidden] {
	display: none;
}

.zc-lang-menu li {
	margin: 0;
}

.zc-lang-option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #020304;
	font: 500 14px/1.2 "Poppins", Arial, sans-serif;
	text-align: left;
	cursor: pointer;
}

.zc-lang-option:hover {
	background: #f4f4f2;
}

.zc-lang-code {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 22px;
	border-radius: 4px;
	background: #020304;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .8px;
}

.zc-lang-option[aria-current="true"] {
	font-weight: 700;
}

.zc-lang-option[aria-current="true"] .zc-lang-code {
	background: #f6e30a;
	color: #020304;
}

/* Header placement */
.zc-header-actions .zc-lang,
.zc-header .zc-lang {
	margin-right: 4px;
}

.zc-lang-actions {
	grid-column: -2 / -1;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-left: auto;
	min-width: 0;
}

.zc-lang-actions .zc-lang {
	margin: 0;
}

/* Mobile menu panel block */
.zc-lang-panel {
	margin-top: clamp(32px, 6vh, 56px);
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,.16);
	font-family: "Poppins", Arial, sans-serif;
}

.zc-lang-panel-title {
	margin: 0 0 14px;
	color: #f6e30a;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.zc-lang-panel-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.zc-lang-pill {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: 500 14px/1 "Poppins", Arial, sans-serif;
	cursor: pointer;
}

.zc-lang-pill[aria-pressed="true"] {
	border-color: #f6e30a;
	background: #f6e30a;
	color: #020304;
	font-weight: 700;
}

/* Floating fallback on pages without the Zoom header */
.zc-lang-floating {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9000;
}

.zc-lang-floating .zc-lang-toggle {
	background: #020304;
	border-color: #020304;
	box-shadow: 0 10px 26px rgba(2,3,4,.3);
}

.zc-lang-floating .zc-lang-menu {
	top: auto;
	right: auto;
	bottom: calc(100% + 10px);
	left: 0;
}

/* Browser language offer */
.zc-lang-offer {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 9500;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	width: min(560px, calc(100% - 24px));
	padding: 14px 16px 14px 20px;
	border-left: 5px solid #f6e30a;
	border-radius: 10px;
	background: #020304;
	color: #fff;
	box-shadow: 0 18px 44px rgba(2,3,4,.35);
	transform: translateX(-50%);
	font-family: "Poppins", Arial, sans-serif;
}

.zc-lang-offer p {
	flex: 1 1 220px;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.zc-lang-offer-actions {
	display: flex;
	gap: 8px;
}

.zc-lang-offer button {
	min-height: 40px;
	padding: 0 16px;
	border-radius: 6px;
	font: 600 13px/1 "Poppins", Arial, sans-serif;
	cursor: pointer;
}

.zc-lang-offer-yes {
	border: 1px solid #f6e30a;
	background: #f6e30a;
	color: #020304;
}

.zc-lang-offer-no {
	border: 1px solid rgba(255,255,255,.35);
	background: transparent;
	color: #fff;
}

/* Hide the page briefly while a saved language is applied (no English flash). */
html.zc-i18n-pending body {
	opacity: 0;
}

@media (max-width: 1100px) {
	.zc-header-actions .zc-lang .zc-lang-globe {
		display: none;
	}

	.zc-lang-toggle {
		height: 40px;
		padding: 0 12px;
	}
}

/* Phones: the header has no room, so the switcher lives in the menu panel. */
@media (max-width: 767px) {
	.zc-lang-has-panel .zc-header-actions .zc-lang,
	.zc-lang-has-panel .zc-header .zc-lang {
		display: none;
	}

	.zc-lang-offer {
		bottom: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zc-lang-toggle,
	.zc-lang-chevron {
		transition: none;
	}
}

/* Translated words are longer than "Book a taxi": keep the phone header on one line. */
@media (max-width: 767px) {
	html[data-zc-lang]:not([data-zc-lang="en"]) .zc-header-book,
	html[data-zc-lang]:not([data-zc-lang="en"]) .zc-homepage .zc-header-book {
		padding: 0 12px !important;
		font-size: 13px !important;
		letter-spacing: .3px !important;
	}

	html[data-zc-lang]:not([data-zc-lang="en"]) .zc-homepage .zc-header-book::after {
		display: none !important;
	}
}

/* Missing text finder (?zc-missing) */
.zc-lang-missing {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 100001;
	width: min(460px, calc(100% - 32px));
	padding: 16px;
	border: 2px solid #020304;
	border-radius: 10px;
	background: #fff;
	color: #020304;
	box-shadow: 0 20px 50px rgba(2,3,4,.35);
	font: 14px/1.4 "Poppins", Arial, sans-serif;
}

.zc-lang-missing-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.zc-lang-missing-close {
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.zc-lang-missing p {
	margin: 6px 0 10px;
	color: #555;
	font-size: 13px;
}

.zc-lang-missing textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font: 12px/1.45 Consolas, monospace;
	resize: vertical;
}

.zc-lang-missing-copy {
	margin-top: 10px;
	padding: 10px 16px;
	border: 0;
	border-radius: 6px;
	background: #f6e30a;
	color: #020304;
	font-weight: 700;
	cursor: pointer;
}

/* Shown only when the site is in another language (e.g. legal note on Terms). */
.zc-only-translated {
	display: none;
}

html[data-zc-lang]:not([data-zc-lang="en"]) .zc-only-translated {
	display: block;
}

.zc-legal-translation-note {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 5px solid #f6e30a;
	border-radius: 6px;
	background: #fffbe0;
	color: #020304;
	font-size: 14px;
	line-height: 1.6;
}

/* Chinese: wide letter-spacing and Latin uppercase styling look broken on
   Chinese characters, so keep spacing tight and use a font that has them. */
html[lang^="zh"] body {
	font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
}

html[lang^="zh"] body *:not(svg):not(svg *) {
	letter-spacing: 0.02em !important;
	word-spacing: normal !important;
}

html[lang^="zh"] .zc-homepage *,
html[lang^="zh"] .zc-homepage button,
html[lang^="zh"] .zc-homepage input,
html[lang^="zh"] .zc-homepage select,
html[lang^="zh"] .zc-homepage textarea {
	font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif !important;
}

/* Keep the code button short-label friendly in the switcher. */
.zc-lang-code:lang(zh),
.zc-lang-option[data-lang="zh"] .zc-lang-code {
	letter-spacing: 0 !important;
	font-size: 10px;
}

/* Traditional Chinese (Hong Kong): fonts with Hong Kong character forms. */
html[lang="zh-HK"] body,
html[lang="zh-HK"] .zc-homepage *,
html[lang="zh-HK"] .zc-homepage button,
html[lang="zh-HK"] .zc-homepage input,
html[lang="zh-HK"] .zc-homepage select,
html[lang="zh-HK"] .zc-homepage textarea {
	font-family: "Poppins", "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", "Noto Sans TC", "Noto Sans CJK TC", sans-serif !important;
}
