/* Monjaro EM-i page – sizes measured from global.geely.com at 1440×900 (desktop) and phone width.
   Everything is scoped under .mjx7, so the rest of the site is untouched. */
.mjx7 {
	/* --mjx7-head: "GEELY Bold", "Geely Bold", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mjx7-body: "Inter Variable", Inter, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
	--mjx7-ink: #000;
	--mjx7-grey: #a1a1a1;
	--mjx7-sticky: 0px;
	/* break out of any theme container so full-width blocks really are full width */
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #fff;
	color: var(--mjx7-ink);
	/* font-family: var(--mjx7-body); */
	font-size: 16px;
	line-height: 1.4;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
.mjx7 *, .mjx7 *::before, .mjx7 *::after { box-sizing: border-box; }
.mjx7 img, .mjx7 video, .mjx7 picture { display: block; max-width: none; border: 0; border-radius: 0; box-shadow: none; }
.mjx7 picture { width: 100%; height: 100%; }
.mjx7 picture img { width: 100%; height: 100%; object-fit: cover; }
.mjx7 :where(h2, h3, p) { margin: 0; padding: 0; }
/* the theme's own p / h colours and fonts must not leak into the page */
.mjx7 p, .mjx7 h2, .mjx7 h3 { color: inherit; font-family: inherit; letter-spacing: normal; }
.mjx7 h2, .mjx7 h3 { font-family: var(--mjx7-head); }
.mjx7 button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; min-height: 0; line-height: inherit; }
.mjx7 a { color: inherit; }
.mjx7 button:focus, .mjx7 a:focus { outline: none; box-shadow: none; }
.mjx7 button:focus-visible, .mjx7 a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.mjx7 [hidden] { display: none !important; }
body.admin-bar .mjx7 { --mjx7-sticky: 32px; }

/* ---------- full-screen blocks (hero video, key visual, Flyme video, USP) ---------- */
.mjx7-screen { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: #000; }
.mjx7-screen > video, .mjx7-screen > picture, .mjx7-large video, .mjx7-large img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 16:9 full-width video (Safety, ADAS, EM-i) ---------- */
.mjx7-wide { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.mjx7-wide video, .mjx7-wide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- section headings ---------- */
.mjx7-heading { padding: 40px 20px 30px; text-align: center; }
.mjx7-heading__title { font-family: var(--mjx7-head); font-weight: 700; font-size: 28px; line-height: 1.3; color: var(--mjx7-ink); letter-spacing: 0; max-width: 760px; margin: 0 auto; }
.mjx7-heading__desc { font-size: 16px; line-height: 1.4; margin: 24px auto 0; max-width: 930px; }

/* ---------- exterior colours / interior 360 ---------- */
.mjx7-pano { padding: 40px 0 48px; text-align: center; background: linear-gradient(180deg, #fff 0%, #fff 45%, #f0f1f3 calc(100% - 48px), #fff calc(100% - 48px)); }
.mjx7-pano__tabs { display: flex; justify-content: center; gap: 29px; }
.mjx7-pano__tabs button { font-family: var(--mjx7-body); font-size: 22px; line-height: 1.4; color: var(--mjx7-grey); transition: color .2s; }
.mjx7-pano__tabs button.is-active { font-family: var(--mjx7-head); color: var(--mjx7-ink); }
.mjx7-pano__body { margin: 80px auto 0; width: 80%; }
.mjx7-pano__car { position: relative; aspect-ratio: 4310 / 2499; }
.mjx7-pano__car > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .5s ease; }
.mjx7-pano__car > img.is-active { opacity: 1; }
.mjx7-pano__nav {
	position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 14px; padding: 20px 13px;
	background: rgba(217, 221, 223, .7); border-radius: 100px; z-index: 2;
}
.mjx7 .mjx7-swatch { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mjx7 .mjx7-swatch.is-active { color: #fff; }
.mjx7 .mjx7-swatch[style*="#FFFFFF"].is-active, .mjx7 .mjx7-swatch[style*="#fff"].is-active, .mjx7 .mjx7-swatch[style*="#E1DED7"].is-active { color: #000; }
.mjx7-pano__viewer { width: 100%; aspect-ratio: 16 / 9; background: #111; }
.mjx7-pano__hint { margin-top: 10px; font-size: 14px; color: var(--mjx7-grey); }
.mjx7 .mjx7-pano__desc { margin-top: 0; padding: 29px 20px; font-size: 16px; line-height: 1.4; background: #f0f1f3; }

/* ---------- shared slider bits ---------- */
.mjx7-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.mjx7-track > * { flex: 0 0 100%; min-width: 0; height: 100%; }
.mjx7-pager { display: inline-flex; align-items: center; gap: 20px; font-size: 20px; line-height: 1.4; }
.mjx7-pager__btn { display: inline-flex; width: 24px; height: 24px; }
.mjx7-pager__btn svg { width: 24px; height: 24px; }
.mjx7-pager__btn:disabled { opacity: .3; cursor: default; }
.mjx7-pager--light { color: #fff; }
.mjx7-pager--big { font-size: 32px; }

/* ---------- detail display (Design, Comfort): image 62% left, text right ---------- */
.mjx7-detail { display: flex; align-items: stretch; height: 47.15vw; min-height: 420px; }
.mjx7-detail__media { flex: 0 0 62.3%; overflow: hidden; position: relative; }
.mjx7-detail__img { background: #f3f3f3; }
.mjx7-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.mjx7-detail__side { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; padding: 7.9vw 4.2vw 4.2vw 4.7vw; min-width: 0; }
.mjx7-detail__texts { display: grid; }
.mjx7-detail__text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; max-width: 28.7vw; }
.mjx7-detail__text.is-active { opacity: 1; visibility: visible; }
.mjx7-detail__title { font-family: var(--mjx7-head); font-weight: 700; font-size: 20px; line-height: 1.3; text-transform: uppercase; margin-bottom: 24px !important; }
.mjx7-detail__text p { font-size: 16px; line-height: 1.4; }
.mjx7-detail .mjx7-pager { padding-left: 20px; }

/* ---------- full image slider (Interior, Cockpit) ---------- */
.mjx7-full { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: #000; color: #fff; }
.mjx7-full__slide { position: relative; }
.mjx7-full__pagination {
	position: absolute; left: 0; right: 0; bottom: 0; height: 147px; padding: 0 40px;
	display: flex; justify-content: center; gap: 70px; align-items: flex-start; z-index: 2;
	background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0));
}
.mjx7 .mjx7-full__bullet { flex: 0 1 255px; width: 255px; text-align: left; color: #fff; display: flex; flex-direction: column; gap: 14px; padding-top: 0; }
.mjx7-full__bar { display: block; height: 2px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.mjx7-full__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.mjx7-full__bullet.is-active .mjx7-full__bar i { transform: scaleX(1); transition: transform var(--mjx7-dur, 5s) linear; }
.mjx7-full.is-paused .mjx7-full__bullet.is-active .mjx7-full__bar i { transition: none; }
.mjx7-full__cap { font-size: 12px; line-height: 1.4; font-weight: 400; text-shadow: 0 0 2px rgba(0,0,0,.5); }
.mjx7-full__bullet.is-active .mjx7-full__cap { font-weight: 700; }

/* ---------- USP full-screen slider (space & practicality) ---------- */
.mjx7-usp .mjx7-track { position: absolute; inset: 0; }
.mjx7-usp__slide { position: relative; }
.mjx7-usp__shade { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); pointer-events: none; }
.mjx7-usp__bar { position: absolute; left: 10%; right: 10%; bottom: 80px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; color: #fff; z-index: 2; }
.mjx7-usp__texts { display: grid; flex: 0 1 877px; min-width: 0; }
.mjx7-usp__text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.mjx7-usp__text.is-active { opacity: 1; visibility: visible; }
.mjx7-usp__text h3 { font-family: var(--mjx7-head); font-weight: 700; font-size: 20px; line-height: 1.3; text-transform: uppercase; margin-bottom: 20px !important; color: #fff; letter-spacing: 2px; }
.mjx7-usp__text p { font-size: 15px; line-height: 2; font-weight: 300; }

/* ---------- media + text rows (Handling, V2L) ---------- */
.mjx7-mini { display: flex; align-items: center; justify-content: space-between; gap: 8.85vw; padding: 0 4.6vw 0 4.55vw; margin: 0 0 4.7vw; }
.mjx7-heading + .mjx7-mini { margin-top: 60px; }
.mjx7-section > .mjx7-mini:last-child { margin-bottom: 80px; }
#mjx7-emi > .mjx7-mini { margin: 4.7vw 0 80px; }
.mjx7-mini__text { flex: 1 1 0; min-width: 0; }
.mjx7-mini__text h3 { font-family: var(--mjx7-head); font-weight: 700; font-size: clamp(18px, 1.05vw, 26px); line-height: 1.25; text-transform: uppercase; color: var(--mjx7-ink); margin-bottom: 0 !important; padding-bottom: 13px !important; position: relative; }
.mjx7-mini__text h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, #22c3a6 0%, #2f8fd8 55%, #3b6fe3 100%); }
.mjx7 .mjx7-mini__text p { margin-top: 25px; font-size: clamp(13px, .65vw, 16px); line-height: 1.55; color: rgba(0,0,0,.6); }
.mjx7-mini__media { flex: 0 0 45.4vw; width: 45.4vw; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #f3f3f3; }
.mjx7-mini__media img, .mjx7-mini__media video { width: 100%; height: 100%; object-fit: cover; }
.mjx7-mini--rev { flex-direction: row-reverse; }

/* ---------- optional sticky section nav (off by default) ---------- */
.mjx7-subnav { position: sticky; top: var(--mjx7-sticky); z-index: 9999; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.mjx7-subnav__inner { position: relative; height: 58px; padding: 0 22px 0 60px; display: flex; align-items: center; justify-content: flex-end; }
.mjx7-subnav__list { list-style: none; display: flex; gap: 22px; margin: 0 50px 0 auto; padding: 0; }
.mjx7-subnav__list li { margin: 0; padding: 0; list-style: none; }
.mjx7-subnav__list a { display: inline-block; font-family: var(--mjx7-body); font-size: 16px; line-height: 1.4; text-decoration: none; color: #000; border-bottom: 2px solid transparent; padding: 17px 0; transition: border-color .2s; }
.mjx7-subnav__list a.is-active, .mjx7-subnav__list a:hover { border-bottom-color: #000; }
.mjx7-subnav__toggle { display: none; }
.mjx7-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 144px; padding: 0 22px; background: #000; color: #fff !important; font-family: var(--mjx7-body); font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: background .2s; }
.mjx7-btn:hover { background: #0e3fbf; }
.mjx7 .mjx7-totop { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 48px; color: #000; }
.mjx7 .mjx7-totop svg { width: 16px; height: 16px; }
.mjx7-section { scroll-margin-top: calc(58px + var(--mjx7-sticky)); }

/* ---------- tablet ---------- */
@media (max-width: 1199px) {
	.mjx7-mini { gap: 5vw; }
	.mjx7-detail__side { padding: 60px 40px 40px 48px; }
	.mjx7-detail__text { max-width: none; }
	.mjx7-subnav__list { gap: 16px; margin-right: 24px; }
	.mjx7-subnav__list a { font-size: 14px; }
	.mjx7 .mjx7-totop { margin-left: 16px; }
	.mjx7-full__pagination { padding: 0 32px; gap: 32px; }
}

/* ---------- phone (values measured on the original at phone width) ---------- */
@media (max-width: 767px) {
	.mjx7-heading { padding: 24px 20px 24px; }
	.mjx7-heading__title { font-size: 16px; }
	.mjx7-heading__desc { font-size: 14px; margin-top: 16px; }

	.mjx7-pano { padding: 24px 0 40px; }
	.mjx7-pano__tabs button { font-size: 16px; }
	.mjx7-pano__body { width: 100%; margin-top: 40px; padding: 0 0 70px; }
	.mjx7-pano__car { aspect-ratio: 4310 / 2499; }
	.mjx7-pano__nav { top: auto; bottom: -70px; left: 50%; transform: translateX(-50%); flex-direction: row; padding: 10px 16px; }
	.mjx7 .mjx7-swatch { width: 30px; height: 30px; }
	.mjx7-pano__desc { font-size: 12px; }

	.mjx7-detail { flex-direction: column; height: auto; min-height: 0; }
	.mjx7-detail__media { flex: none; width: 100%; aspect-ratio: 900 / 670; }
	.mjx7-detail__side { padding: 24px 19px 32px; gap: 24px; }
	.mjx7-detail__title { font-size: 15px; margin-bottom: 16px !important; }
	.mjx7-detail__text p { font-size: 14px; }
	.mjx7-detail .mjx7-pager { padding-left: 0; font-size: 16px; }

	.mjx7-full__pagination { padding: 0 20px; gap: 8px; height: 140px; align-items: flex-end; padding-bottom: 32px; }
	.mjx7 .mjx7-full__bullet { gap: 0; padding: 10px 0; }
	.mjx7-full__cap { display: none; }
	.mjx7-full__bullet.is-active .mjx7-full__cap { display: block; position: absolute; left: 20px; right: 20px; bottom: 62px; font-size: 13px; font-weight: 400; }

	.mjx7-usp__bar { left: 24px; right: 24px; bottom: 32px; flex-direction: column; align-items: flex-start; gap: 16px; }
	.mjx7-usp__texts { flex: none; width: 100%; }
	.mjx7-usp__text h3 { font-size: 15px; margin-bottom: 10px !important; }
	.mjx7-usp__text p { font-size: 14px; line-height: 1.3; }
	.mjx7-pager--big { font-size: 20px; }

	.mjx7-mini, .mjx7-mini--rev { flex-direction: column-reverse; align-items: stretch; gap: 24px; padding: 0 20px; margin: 0 0 48px; }
	#mjx7-emi > .mjx7-mini { margin: 40px 0; }
	.mjx7-mini__media { flex: none; width: 100%; aspect-ratio: 16 / 9; }
	.mjx7-mini__text { flex: none; }
	.mjx7-mini__text h3 { font-size: 16px; }
	.mjx7 .mjx7-mini__text p { margin-top: 18px; font-size: 14px; }

	.mjx7-subnav__inner { padding: 0 8px 0 16px; height: 50px; justify-content: flex-start; }
	.mjx7 .mjx7-subnav__toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-right: auto; }
	.mjx7-subnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.mjx7-subnav__list { position: absolute; left: 0; right: 0; top: 100%; margin: 0; display: none; flex-direction: column; gap: 0; background: #fff; padding: 4px 16px 12px; box-shadow: 0 6px 8px rgba(0,0,0,.12); }
	.mjx7-subnav.is-open .mjx7-subnav__list { display: flex; }
	.mjx7-subnav__list a { display: block; padding: 12px 0; font-size: 15px; border-bottom: 1px solid #eee; }
	.mjx7-subnav__list a.is-active { border-bottom-color: #eee; font-weight: 600; }
	.mjx7-btn { height: 34px; min-width: 0; padding: 0 14px; font-size: 13px; }
	.mjx7 .mjx7-totop { margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) { .mjx7 * { transition: none !important; } }

/* ---------- USP intro: bento grid -> first image zooms to full screen while scrolling (sticky) ---------- */
.mjx7-usp-wrap { position: relative; height: calc(100vh + 450px); height: calc(100svh + 450px); }
.mjx7-usp-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: #fff; }
.mjx7-usp-sticky > .mjx7-usp { position: absolute; inset: 0; height: auto; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.mjx7-usp-wrap.is-full .mjx7-usp { opacity: 1; visibility: visible; }
.mjx7-bento {
	position: absolute; inset: 0; margin: 0 auto; padding-top: 100px;
	display: grid; width: 62vw; height: max-content;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: calc((62vw - 36px) / 3 * 1.213) calc((62vw - 36px) / 3 * .573);
	gap: 18px;
}
.mjx7-usp-wrap.is-full .mjx7-bento { visibility: hidden; }
.mjx7-usp__dots { display: none; }
.mjx7-bento__tile { border-radius: 8px; overflow: hidden; background: #eee; }
.mjx7-bento__tile img { width: 100%; height: 100%; object-fit: cover; }
.mjx7-bento__tile--1 { grid-column: 1 / span 2; background: transparent; overflow: visible; }
.mjx7-bento__tile--2 { grid-column: 3; }
.mjx7-bento__zoom { position: absolute; overflow: hidden; border-radius: 8px; z-index: 3; will-change: left, top, width, height; }
.mjx7-bento__zoom picture, .mjx7-bento__zoom img { width: 100%; height: 100%; object-fit: cover; }
/* no-JS / not yet measured: keep the first tile in its cell */
.mjx7-bento:not(.is-ready) .mjx7-bento__tile--1 { position: relative; overflow: hidden; }
.mjx7-bento:not(.is-ready) .mjx7-bento__zoom { inset: 0; }

/* phone + reduced motion: no intro, just the full-screen slider */
@media (prefers-reduced-motion: reduce) {
	.mjx7-usp-wrap { height: auto; }
	.mjx7-usp-sticky { position: relative; height: auto; min-height: 0; overflow: visible; }
	.mjx7-usp-sticky > .mjx7-usp { position: relative; inset: auto; height: 100vh; height: 100svh; min-height: 480px; opacity: 1; visibility: visible; }
	.mjx7-bento { display: none; }
}

/* ---------- phone: bento intro (2 columns), dots, and measured phone sizes ---------- */
@media (max-width: 767px) {
	.mjx7-bento {
		width: 90vw; padding-top: 58px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(3, calc((90vw - 11px) / 2));
		gap: 11px;
	}
	.mjx7-bento__tile--1 { grid-column: 1; grid-row: 1 / span 2; }
	.mjx7-bento__tile--2 { grid-column: 2; grid-row: 1; }
	.mjx7-bento__tile--3 { grid-column: 2; grid-row: 2; }
	.mjx7-bento__tile--4 { grid-column: 1; grid-row: 3; }
	.mjx7-bento__tile--5 { grid-column: 2; grid-row: 3; }
	.mjx7-usp .mjx7-pager { display: none; }
	.mjx7-usp__bar { bottom: 56px; }
	.mjx7-usp__dots { display: flex; position: absolute; left: -24px; right: -24px; bottom: -38px; justify-content: center; gap: 10px; z-index: 3; }
	.mjx7 .mjx7-usp__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); }
	.mjx7 .mjx7-usp__dot.is-active { background: #fff; }
	.mjx7-usp__text h3 { font-size: 15px; line-height: 1.6; }

	/* Flyme video: 16:9 on phones (full-screen only on desktop) */
	.mjx7-screen.mjx7-large { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
	/* exterior car a bit larger than the screen, like the original */
	.mjx7-pano__car { width: 114%; margin-left: -7%; }
	/* media + text rows */
	.mjx7-mini, .mjx7-mini--rev { margin: 40px 0; }
	.mjx7-mini__media { aspect-ratio: 543 / 379; }
	/* design / comfort image a bit taller on phones */
	.mjx7-detail__media { aspect-ratio: 1 / 1; }
}

/* text over photos is always white (theme colours can't override it) */
#mjx7-page .mjx7-usp__text, #mjx7-page .mjx7-usp__text h3, #mjx7-page .mjx7-usp__text p,
#mjx7-page .mjx7-usp__text p *, #mjx7-page .mjx7-full__cap, #mjx7-page .mjx7-full__cap * { color: #fff !important; }
#mjx7-page .mjx7-usp__text p { font-family: var(--mjx7-body) !important; text-shadow: 0 1px 3px rgba(0,0,0,.35); opacity: 1 !important; }

/* ---------- pager: long arrows, hidden at the first / last slide ---------- */
.mjx7 .mjx7-pager__btn.is-hidden { display: none; }
.mjx7 .mjx7-pager__btn { width: 28px; height: 24px; }
.mjx7 .mjx7-pager__btn svg { display: none; }
.mjx7 .mjx7-pager__btn::before {
	content: ""; display: block; width: 28px; height: 24px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M2 12h23M17 4l8 8-8 8' fill='none' stroke='%23000' stroke-width='1.6'/%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 28 24'%3E%3Cpath d='M2 12h23M17 4l8 8-8 8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mjx7 .mjx7-pager__btn[data-mjx7-prev]::before { transform: scaleX(-1); }
.mjx7 .mjx7-pager { gap: 24px; }

/* ---------- drag / swipe ---------- */
.mjx7 [data-mjx7-slider] { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.mjx7 [data-mjx7-slider].is-dragging { cursor: grabbing; }
.mjx7 [data-mjx7-slider] img { -webkit-user-drag: none; pointer-events: none; }
.mjx7 [data-mjx7-slider] button, .mjx7 [data-mjx7-slider] video { cursor: pointer; }


/* space & practicality pager: big "1 / 5" with a small arrow, like the original */
.mjx7 .mjx7-pager--big { gap: 22px; align-items: center; }
.mjx7 .mjx7-pager--big .mjx7-pager__btn, .mjx7 .mjx7-pager--big .mjx7-pager__btn::before { width: 16px; height: 16px; }

/* ---------- fade-up of the text in the media + text rows (only when JS runs) ---------- */
.mjx7.mjx7-fx .mjx7-mini__text h3,
.mjx7.mjx7-fx .mjx7-mini__text p { opacity: 0; transform: translateY(30px); }
.mjx7.mjx7-fx .mjx7-mini__text.is-in h3,
.mjx7.mjx7-fx .mjx7-mini__text.is-in p { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
/* one by one: 1) title, 2) gradient line, 3) text */
.mjx7.mjx7-fx .mjx7-mini__text h3::after { transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.7,.2,1) .45s; }
.mjx7.mjx7-fx .mjx7-mini__text p { transition-delay: .9s; }
.mjx7.mjx7-fx .mjx7-mini__text.is-in h3,
.mjx7.mjx7-fx .mjx7-mini__text.is-in p { opacity: 1; transform: none; }
.mjx7.mjx7-fx .mjx7-mini__text.is-in h3::after { transform: scaleX(1); }

/* same fade-up for every section heading (title, then sub-heading) and the Design/Comfort text */
.mjx7.mjx7-fx .mjx7-heading__title,
.mjx7.mjx7-fx .mjx7-heading__desc,
.mjx7.mjx7-fx .mjx7-detail__side .mjx7-detail__title,
.mjx7.mjx7-fx .mjx7-detail__side .mjx7-detail__text p,
.mjx7.mjx7-fx .mjx7-detail__side .mjx7-pager { opacity: 0; transform: translateY(30px); }
.mjx7.mjx7-fx .mjx7-heading.is-in .mjx7-heading__title, .mjx7.mjx7-fx .mjx7-heading.is-in .mjx7-heading__desc,
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-detail__title, .mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-detail__text p,
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-pager { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.mjx7.mjx7-fx .mjx7-heading__desc,
.mjx7.mjx7-fx .mjx7-detail__side .mjx7-detail__text p { transition-delay: .35s; }
.mjx7.mjx7-fx .mjx7-detail__side .mjx7-pager { transition-delay: .6s; }
.mjx7.mjx7-fx .mjx7-heading.is-in .mjx7-heading__title,
.mjx7.mjx7-fx .mjx7-heading.is-in .mjx7-heading__desc,
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-detail__title,
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-detail__text p,
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-pager { opacity: 1; transform: none; }


/* fade-up order (one by one) */
.mjx7.mjx7-fx .mjx7-mini__text.is-in p { transition-delay: .9s; }
.mjx7.mjx7-fx .mjx7-heading.is-in .mjx7-heading__desc { transition-delay: .35s; }
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-detail__text p { transition-delay: .35s; }
.mjx7.mjx7-fx .mjx7-detail__side.is-in .mjx7-pager { transition-delay: .6s; }

/* ---------- sticky bar: hidden on load, slides in from the top when the video section is reached ---------- */
#mjx7-page .mjx7-subnav {
	position: fixed; left: 0; right: 0; top: var(--mjx7-sticky); width: 100%;
	transform: translateY(-110%); opacity: 0; visibility: hidden; pointer-events: none;
	transition: transform .4s ease, opacity .3s ease, visibility 0s linear .4s;
}
#mjx7-page .mjx7-subnav.is-visible {
	transform: none; opacity: 1; visibility: visible; pointer-events: auto;
	transition: transform .4s ease, opacity .3s ease, visibility 0s;
}

.car-header-details {
    align-items: flex-start;
}