/**
 * Mevotech Parts: part block. The previous site's part-page layout and look (two columns from 768 px
 * with a 4/8 split, the buyers guide full width below; boxes, brand block, part number, h1 with its
 * bar, details, specifications, in-page links and buyers-guide table), re-declared as values on
 * mevo-parts-part* classes. The gallery, documents and fit-check rules (mevo-parts-gallery*,
 * mevo-parts-docs*, mevo-parts-fit*) follow at the end and do not redefine these.
 *
 * @license GPL-2.0-or-later
 */

/* Visually hidden text (same rule as the search and results blocks), so the part block works on its own. */
.mevo-parts-vh {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
	min-height: 0; margin: 0; padding: 0; border: 0;
}

/* Hidden wins over the display rules below. */
.mevo-parts-part [hidden] { display: none !important; }

/* Bootstrap's border-box sizing, which the previous site's widths (45 % spans, columns) assume. */
.mevo-parts-part,
.mevo-parts-part *,
.mevo-parts-part *::before,
.mevo-parts-part *::after {
	box-sizing: border-box;
}

/* Layout: Bootstrap row / col-12 col-md-4 / col-12 col-md-8 / col-12 of the previous site. */
.mevo-parts-part {
	margin-top: 3rem;
}
/* 48 px below the search bar: as main's first child the part block would get core's
   ":root :where(.is-layout-constrained) > :first-child { margin-block-start: 0 }" (0,2,0). */
main.mevo-parts-page > .mevo-parts-part {
	margin-top: 3rem;
}
.mevo-parts-part__row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.mevo-parts-part__side,
.mevo-parts-part__main,
.mevo-parts-part__full {
	padding: 0 15px;
	width: 100%;
	min-width: 0;
}
@media (min-width: 768px) {
	.mevo-parts-part__side {
		flex: 0 0 33.3333%;
		max-width: 33.3333%;
	}
	.mevo-parts-part__main {
		flex: 0 0 66.6667%;
		max-width: 66.6667%;
	}
	.mevo-parts-part__full {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Boxes. */
.mevo-parts-part__box {
	border: solid 1px #dadada;
	padding: 2rem 3rem;
	margin-bottom: 2rem;
}

/* Brand block. */
.mevo-parts-part__brand {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.mevo-parts-part__logo {
	width: 100%;
	padding-right: 20px;
}
.mevo-parts-part__logo img {
	display: block;
	max-width: 60%;
	max-height: 50px;
	height: auto;
}
.mevo-parts-part__brand-desc {
	width: 100%;
	font-size: 0.85rem;
	margin-top: 0.7rem;
	margin-bottom: 0.7rem;
}

/* Part number, h1 with its bar, marketing text. */
.mevo-parts-part__no {
	color: #2573be;
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
	font-weight: bold;
}
.mevo-parts-part__title h1 {
	color: #25282a;
	font-size: 2rem;
	font-weight: 900;
	padding-bottom: 1.5rem;
	margin-top: 0;
	margin-bottom: 2rem;
	position: relative;
}
.mevo-parts-part__title h1::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 6px;
	background-color: #2573be;
	border-radius: 3px;
}
.mevo-parts-part__marketing {
	font-size: 1rem;
	margin-bottom: 1rem;
}

/* Details: square bullets. */
.mevo-parts-part__details ul {
	font-size: 1rem;
	list-style: none;
	margin: 0;
	padding: 0 0 0 5px;
}
.mevo-parts-part__details li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 0.2em;
}
.mevo-parts-part__details li::before {
	content: "";
	display: block;
	position: absolute;
	top: 8px;
	left: 0;
	width: 7px;
	height: 7px;
	background-color: #888888;
	border-radius: 2px;
}

/* Section headings (Details, Product Specifications, Product Fit Check, Documents, Buyers Guide). */
.mevo-parts-part__details h2,
.mevo-parts-part__specs h2,
.mevo-parts-part__fitcheck h2,
.mevo-parts-docs > h2,
.mevo-parts-part__guide h2 {
	font-size: 1.6rem;
	position: relative;
	margin: 0 0 1.5rem;
	padding-bottom: 0.5em;
}

/* Specifications: name / value pairs. */
.mevo-parts-part__specs ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mevo-parts-part__specs li {
	color: #414141;
	margin-top: 5px;
	margin-bottom: 5px;
	display: flex;
	font-size: 1rem;
}
.mevo-parts-part__specs li span {
	padding: 0.5rem 1.5rem;
	width: 45%;
}
.mevo-parts-part__specs li span:first-child {
	background-color: #f6f6f6;
}

/* In-page links ("Buyers Guide" at the top, "View Product Details" in the guide's title row). */
.mevo-parts-part__submenu {
	padding-bottom: 1rem;
}
.mevo-parts-part__submenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
}
.mevo-parts-part__submenu a {
	color: #323f48;
	text-decoration: none;
	position: relative;
	padding-right: 20px;
}
.mevo-parts-part__submenu a:hover {
	color: #000;
	text-decoration: none;
}
.mevo-parts-part__submenu a::after {
	content: "";
	display: inline-block;
	background-image: url(../../assets/img/menu-arrow-down-blue.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70% 70%;
	width: 15px;
	height: 15px;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	position: absolute;
}
.mevo-parts-part__main[tabindex="-1"]:focus,
.mevo-parts-part__guide[tabindex="-1"]:focus {
	outline: none; /* in-page link targets: focus moves there for the Tab order, no ring around the whole region */
}
.mevo-parts-part__submenu--bottom a::after {
	background-image: url(../../assets/img/menu-arrow-down-gray.svg);
	transform: rotate(180deg) translateY(50%);
}

/* Buyers guide. */
.mevo-parts-part__guide {
	margin-bottom: 3rem;
}
.mevo-parts-part__guide-head {
	display: flex;
	justify-content: space-between;
}
.mevo-parts-table-scroll {
	overflow-x: auto;
}
.mevo-parts-table-scroll:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}
.mevo-parts-part__guide table {
	font-size: 1rem;
	width: 100%;
	border-collapse: collapse;
}
.mevo-parts-part__guide thead th {
	background-color: #323f48;
	color: var(--wp--preset--color--white, #ffffff);
	padding: 0.5rem 1rem;
	font-weight: normal;
	text-align: left;
}
.mevo-parts-part__guide tbody tr {
	border-top: solid 4px var(--wp--preset--color--white, #ffffff);
	border-bottom: solid 4px var(--wp--preset--color--white, #ffffff);
}
.mevo-parts-part__guide tbody td {
	background-color: #f6f6f6;
	padding: 0.5rem 1rem;
}
.mevo-parts-part__guide tbody tr:hover td {
	background-color: #ededed;
}

/* Error state (API unavailable). */
.mevo-parts-part--error .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* Gallery: the previous site's square main box and thumbnail row. */
.mevo-parts-gallery {
	margin-bottom: 30px;
}
.mevo-parts-gallery__main {
	position: relative;
	border: solid 1px #dadada;
	overflow: hidden;
}
.mevo-parts-gallery__main::before {
	content: "";
	position: relative;
	display: block;
	padding-bottom: 100%;
	height: 0;
}
.mevo-parts-gallery__link,
.mevo-parts-gallery__main > p {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}
.mevo-parts-gallery__link img {
	display: block;
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 100%;
}
.mevo-parts-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	list-style: none;
	padding: 0;
	margin: 10px -5px 0;
}
.mevo-parts-gallery__thumbs li {
	position: relative;
	flex: 0 1 14%;
	padding-left: 5px;
	padding-right: 5px;
	margin-bottom: 5px;
}
.mevo-parts-gallery__thumb,
.mevo-parts-gallery__spin {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	background: none;
	border: solid 1px #dadada;
	border-radius: 0;
	cursor: pointer;
}
.mevo-parts-gallery__thumb::before,
.mevo-parts-gallery__spin::before {
	content: "";
	position: relative;
	display: block;
	padding-bottom: 100%;
	height: 0;
}
.mevo-parts-gallery__thumb img {
	position: absolute;
	display: block;
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.mevo-parts-gallery__thumb[aria-pressed="true"] {
	border-color: #2573be;
	box-shadow: inset 0 0 0 1px #2573be;
}
.mevo-parts-gallery__link:focus-visible,
.mevo-parts-gallery__thumb:focus-visible,
.mevo-parts-gallery__spin:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}

/* 360° view: the previous site's "360˚" thumb (the thumb box above, text centred) and popup, as a modal dialog. */
.mevo-parts-gallery__spin {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #1d76bc;
	font: inherit;
	line-height: 1.5;
}
/* One thumb row reserved while only the hidden 360 item is in the row (no shift when the script shows it). */
.mevo-parts-js .mevo-parts-gallery__thumbs--spin-only {
	container-type: inline-size;
	min-height: calc(14cqw - 5px);
}
/* Scroll lock while a dialog is open (mevo-parts-spin-open: the 6c name, kept as an alias). */
html.mevo-parts-modal-open,
html.mevo-parts-spin-open {
	overflow: hidden;
	scrollbar-gutter: stable;
}
dialog.mevo-parts-modal {
	box-sizing: border-box;
	width: 70%;
	max-width: none;
	max-height: 90vh;
	padding: 2rem;
	border: 0;
	border-radius: 14px;
	background: #fff;
	color: inherit;
	overflow: hidden;
	overscroll-behavior: contain;
}
dialog.mevo-parts-modal[open] {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mevo-parts-modal__body {
	width: 100%;
	flex: 0 0 auto;
}
dialog.mevo-parts-modal::backdrop {
	background-color: rgba(0, 0, 0, 0.5);
	transition: background-color 0.3s ease-in-out;
}
@starting-style {
	dialog.mevo-parts-modal[open]::backdrop {
		background-color: rgba(0, 0, 0, 0);
	}
}
.mevo-parts-spin__view {
	position: relative;
	width: 100%;
	aspect-ratio: 100 / 70;
	max-height: calc(90vh - 4rem);
	flex: 0 0 auto;
}
.mevo-parts-spin__stage {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
.mevo-parts-spin__stage.is-dragging {
	cursor: grabbing;
}
.mevo-parts-spin__stage:focus-visible,
.mevo-parts-modal__close:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}
/* Frames are 800 × 533 and never upscaled; the bottom tenth holds the hint, as the old view's spacing. */
.mevo-parts-spin__img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 10%;
	left: 0;
	display: block;
	width: 100%;
	height: 90%;
	max-width: 800px;
	max-height: 533px;
	margin: auto;
	object-fit: contain;
	pointer-events: none;
}
.mevo-parts-spin__hint,
.mevo-parts-spin__status {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	color: #25282a;
	font-size: 0.875rem;
	line-height: 1.5;
	pointer-events: none;
}
.mevo-parts-spin__hint {
	bottom: 0;
	height: 10%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mevo-parts-spin__status {
	top: 45%;
}
.mevo-parts-spin__status:empty {
	display: none;
}
.mevo-parts-modal__close {
	position: absolute;
	top: 10px;
	right: 20px;
	z-index: 1;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.mevo-parts-modal__close svg {
	display: block;
	width: 100%;
	height: 100%;
}
.mevo-parts-modal__close line {
	fill: none;
	stroke: #2573be;
	stroke-width: 2;
}
@media (min-width: 1600px) {
	.mevo-parts-spin__view {
		aspect-ratio: 100 / 60;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	dialog.mevo-parts-modal {
		width: 80%;
	}
	.mevo-parts-spin__view {
		aspect-ratio: 100 / 80;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	dialog.mevo-parts-modal {
		width: 90%;
	}
	.mevo-parts-spin__view {
		aspect-ratio: 1 / 1;
	}
}
@media (max-width: 767px) {
	dialog.mevo-parts-modal {
		width: 96%;
		height: 80vh;
	}
	.mevo-parts-spin__view {
		aspect-ratio: 100 / 140;
		max-height: calc(80vh - 4rem);
	}
}
@media (prefers-reduced-motion: reduce) {
	dialog.mevo-parts-modal,
	dialog.mevo-parts-modal::backdrop {
		transition: none;
	}
}


/* The image dialog (view.js): the 360 dialog's box with the thumbnail strip on top (in flow, so it never covers
   the image) and the large image or the 360° view below. The box keeps the 360 dialog's height (the old popup's
   ratio box plus padding), so the strip takes its height from the stage, not from the page. */
dialog.mevo-parts-gmodal {
	height: min(90vh, calc((70vw - 4rem) * 0.7 + 4rem));
}
dialog.mevo-parts-gmodal[open] {
	justify-content: flex-start;
}
.mevo-parts-gmodal .mevo-parts-modal__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}
/* Thumbnails: the old popup strip (main.css 1946-1990: 50 px boxes, 5 px apart, #dadada, selected #1d76bc). */
.mevo-parts-gmodal__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	flex: 0 0 auto;
	list-style: none;
	margin: 0 0 10px;
	padding: 0 40px 0 0;
}
.mevo-parts-gmodal__thumbs li {
	margin: 0;
	padding: 0;
}
.mevo-parts-gmodal__thumb {
	position: relative;
	display: block;
	width: 50px;
	padding: 0;
	margin: 0;
	border: solid 1px #dadada;
	border-radius: 0;
	background: #fff;
	color: #1d76bc;
	font: inherit;
	line-height: 1.5;
	cursor: pointer;
	overflow: hidden;
}
.mevo-parts-gmodal__thumb::before {
	content: "";
	position: relative;
	display: block;
	padding-bottom: 100%;
	height: 0;
}
.mevo-parts-gmodal__thumb img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: #fff;
}
.mevo-parts-gmodal__thumb--spin span {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mevo-parts-gmodal__thumb[aria-pressed="true"] {
	border-color: #1d76bc;
	box-shadow: inset 0 0 0 1px #1d76bc;
}
.mevo-parts-gmodal__thumb:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}
.mevo-parts-gmodal__stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
}
.mevo-parts-gmodal__img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	object-fit: contain;
}
.mevo-parts-gmodal__none {
	position: absolute;
	top: 45%;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
}
.mevo-parts-gmodal .mevo-parts-spin__view {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
	aspect-ratio: auto;
	max-height: none;
}
@media (min-width: 1600px) {
	dialog.mevo-parts-gmodal {
		height: min(90vh, calc((70vw - 4rem) * 0.6 + 4rem));
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	dialog.mevo-parts-gmodal {
		height: min(90vh, calc((80vw - 4rem) * 0.8 + 4rem));
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	dialog.mevo-parts-gmodal {
		height: min(90vh, 90vw);
	}
}
@media (max-width: 767px) {
	dialog.mevo-parts-gmodal {
		height: 80vh;
	}
}

/* Documents: blue title bars with the round arrow, grey bodies, arrow-bulleted links. */
.mevo-parts-docs__title {
	background-color: #323f48;
	color: #fff;
	padding: 0.7rem 1rem;
	font-size: 1rem;
	position: relative;
	margin: 0;
}
.mevo-parts-docs__title:has(button) {
	padding: 0;
}
.mevo-parts-docs__toggle {
	display: block;
	position: relative;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	border-radius: 0;
	color: inherit;
	font: inherit;
	padding: 0.7rem 3rem 0.7rem 1rem;
	cursor: pointer;
}
.mevo-parts-docs__toggle::after {
	content: "";
	display: inline-block;
	background-image: url(../../assets/img/menu-arrow-down-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70% 70%;
	width: 16px;
	height: 16px;
	border: solid 1px #fff;
	border-radius: 50%;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%);
	position: absolute;
}
.mevo-parts-docs__toggle[aria-expanded="true"]::after {
	transform: rotate(180deg) translateY(50%);
}
.mevo-parts-docs__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}
/* The old .main h3 margin-top: 16 px between the groups. */
.mevo-parts-docs__group + .mevo-parts-docs__group {
	margin-top: 1rem;
}
.mevo-parts-docs__body {
	overflow: hidden;
	background-color: #f6f6f6;
}
.mevo-parts-docs ul {
	list-style: none;
	margin: 1rem 0 1rem 1rem;
	padding: 0;
	font-size: 0.9rem;
}
.mevo-parts-docs ul > li {
	background-image: url(../../assets/img/menu-arrow-right-black.svg);
	background-repeat: no-repeat;
	background-position: left 5px;
	background-size: 6px auto;
	padding-left: 12px;
	margin-bottom: 0.5em;
}
.mevo-parts-docs__link {
	color: #25282a;
	text-decoration: none;
	display: block;
}
.mevo-parts-docs__link:hover {
	color: #25282a;
	text-decoration: underline;
}
.mevo-parts-docs__link:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}

/* Product Fit Check: the five dropdowns (450 px), Search, the grey result box, Check Again. */
.mevo-parts-fit {
	max-width: 450px;
}
.mevo-parts-fit__select {
	display: block;
	width: 100%;
	margin: 5px 0;
	padding: 5px 10px;
	border: solid 1px #3D3D3F;
	border-radius: 5px;
	font-size: 14px;
}
.mevo-parts-fit .mevo-parts-dd {
	margin: 5px 0;
}
.mevo-parts-fit .mevo-parts-dd__trigger {
	border: solid 1px #3D3D3F;
	border-radius: 5px;
	font-size: 14px;
}
.mevo-parts-fit__submit {
	display: inline-block;
	margin: 20px 0;
	color: #ffffff;
	border: solid 2px #1d76bc;
	background-color: #1d76bc;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	padding: 14px 30px;
	cursor: pointer;
}
.mevo-parts-fit__submit::after {
	content: "";
	display: inline-block;
	background-image: url(../../assets/img/button-arrow-right.svg);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center;
	width: 15px;
	height: 10px;
	margin-left: 10px;
	transition: all 0.3s;
	filter: invert(100%);
}
.mevo-parts-fit__submit:hover:not(:disabled) {
	border-color: #221F20;
	background-color: #221F20;
}
.mevo-parts-fit__submit:hover:not(:disabled)::after {
	margin-left: 30px;
}
.mevo-parts-fit__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.mevo-parts-fit__submit:focus-visible,
.mevo-parts-fit__again:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}
.mevo-parts-fit__result {
	background-color: #f6f6f6;
	padding: 15px;
	margin-bottom: 20px;
	width: 100%;
}
.mevo-parts-fit__answer span {
	display: inline-block;
	margin-left: 15px;
}
.mevo-parts-fit__answer .mevo-parts-fit__desc {
	margin-left: 0;
	padding-left: 30px;
	background-size: 20px auto;
	background-repeat: no-repeat;
}
.mevo-parts-fit__answer--yes .mevo-parts-fit__desc {
	color: #2b662c;
	background-image: url(../../assets/img/check.svg);
}
.mevo-parts-fit__answer--no .mevo-parts-fit__desc {
	color: #E40303;
	background-image: url(../../assets/img/cancel.svg);
}
.mevo-parts-fit__again {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: opacity 0.3s;
}
.mevo-parts-fit__again:hover {
	opacity: 0.5;
}

/* Collapsed fit check (the mevo_parts_fit_compact kill switch): the heading is a disclosure button (view.js) and
   the panel stays closed from first paint while the JS-ready class is set (no layout shift); without JavaScript
   the panel is open. */
html.mevo-parts-js .mevo-parts-part__fitcheck:not([data-mevo-fit-mode="compact"]):not([data-mevo-fit-open]) .mevo-parts-fit__panel {
	display: none;
}
.mevo-parts-fit__toggle {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 0 28px 0 0;
	background: none;
	border: 0;
	border-radius: 0;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-align: left;
	cursor: pointer;
}
.mevo-parts-fit__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 16px;
	height: 16px;
	background-image: url(../../assets/img/menu-arrow-down-blue.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	transform: translateY(-50%);
	transition: transform 0.3s;
}
.mevo-parts-fit__toggle[aria-expanded="true"]::after {
	transform: translateY(-50%) rotate(180deg);
}
.mevo-parts-fit__toggle:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}

/* Compact fit check, as on the previous site (header.css 786-860 and 1005-1080, media.css 718-730): one
   "Year / Make / Model" field (section.js turns the caption into the trigger button), the dropdowns below it
   one level at a time, then Search. The field keeps padding 5px 10px at every width. */
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__trigger,
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__caption {
	display: block;
	width: 100%;
	max-width: 450px;
	margin: 0 0 20px;
	padding: 5px 10px;
	border: solid 1px #3D3D3F;
	border-radius: 5px;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
	transition: opacity 0.3s;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__trigger--placeholder,
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__caption {
	color: #757575;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__caption {
	cursor: default;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__trigger:focus-visible {
	outline: 2px solid #2573be;
	outline-offset: 2px;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__panel {
	max-width: 450px;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd,
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__select {
	margin: 5px 0;
}
/* A level appears once it has values (year, make, model; sub model and drive type when the vehicle has them).
   view.js mirrors the state as mevo-parts-dd--off for browsers without :has(); the two rules are kept apart so an
   unsupported selector does not drop the class rule. */
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd--off {
	display: none;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd:has(> .mevo-parts-dd__trigger[aria-disabled="true"]) {
	display: none;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger {
	min-height: 0;
	padding: 5px 10px;
	border: solid 1px #3D3D3F;
	border-radius: 5px;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger--placeholder {
	color: #000;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger::after {
	top: 10px;
	right: 8px;
	width: 12px;
	height: 12px;
	border: 0;
	background: url(../../assets/img/arrow-down.svg) no-repeat center / 100% auto;
	transform: none;
	transition: transform 0.3s;
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger[aria-expanded="true"]::after {
	transform: rotate(180deg);
}
.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__list {
	border: none;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	max-height: 400px;
	color: #000;
}
@media (min-width: 600px) {
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__list {
		top: calc(100% + 5px);
	}
}
@media (max-width: 991px) {
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd,
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__select {
		margin: 20px 0;
	}
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger,
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__select {
		padding: 10px;
	}
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger::after {
		top: 14px;
		width: 16px;
	}
}
/* JS-ready state: until view.js has started the field (data-mevo-fit-ready) the panel is closed, as the script
   will leave it, so nothing shifts on load. A missing dependency (data-mevo-fit-nojs) keeps the no-JS form. */
html.mevo-parts-js .mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"]:not([data-mevo-fit-ready]):not([data-mevo-fit-nojs]) .mevo-parts-fit__panel {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.mevo-parts-fit__submit::after,
	.mevo-parts-fit__again,
	.mevo-parts-fit__toggle::after,
	.mevo-parts-fit__trigger,
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-fit__trigger,
	.mevo-parts-part__fitcheck[data-mevo-fit-mode="compact"] .mevo-parts-dd__trigger::after {
		transition: none;
	}
}

/* Previous site: max-width 767px. */
@media (max-width: 767px) {
	.mevo-parts-part__box {
		padding: 2rem 1.5rem;
	}
	.mevo-parts-part__specs li {
		flex-wrap: wrap;
		margin-bottom: 0.5em;
	}
	.mevo-parts-part__specs li span {
		display: block;
		width: 100%;
	}
	.mevo-parts-table-scroll {
		position: relative;
		overflow-x: scroll;
	}
	.mevo-parts-docs {
		margin-bottom: 2rem;
	}
}

/* Brand and product infographic above the footer (previous site: the part block wrapper, main.css 1858-1860,
   and the WordPress image rules of the theme's style.css 117-127). The section centres the image; an image
   seeded "none" stays inline (vertical-align middle, as Bootstrap's reboot gave every img, so no baseline
   gap), one seeded "center" is a centred block. Width and height attributes reserve the box. */
.mevo-parts-page .mevo-parts-part__block {
	text-align: center;
}
.mevo-parts-page .mevo-parts-part__block-img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.mevo-parts-page .mevo-parts-part__block-img--center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
