/* OEMParts.ee storefront. World: the service book (hooldusraamat). Ink bar, ruled numbered entry rows,
   Quantum Blue action field and stamp ink, Ice Glass for the active row and fitted states.
   Part and OEM numbers always sit in JetBrains Mono tabular cells. 8px grid. */

:root {
	--oem-blue: #2457ff;
	--oem-blue-deep: #1a3fd1;
	--oem-blue-ink: #0f2a9e;
	--oem-ice: #ddf5fc;
	--oem-ice-deep: #b9e9f7;
	--oem-ink: #23262f;
	--oem-ink-2: #2f333e;
	--oem-ink-line: #3b404d;
	--oem-ground: #f2f5f8;
	--oem-paper: #ffffff;
	--oem-line: #d5dce6;
	--oem-line-soft: #e6ebf1;
	--oem-muted: #586070;
	--oem-on-blue: #ffffff;
	--oem-on-blue-2: #e6ecff;
	--oem-on-ink-2: #b8bfcc;
	--oem-ok: #17784a;
	--oem-ok-bg: #e3f5ec;
	--oem-warn: #94520a;
	--oem-warn-bg: #fff3dc;
	--oem-err: #b42318;
	--oem-err-bg: #fdecea;

	--oem-font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
	--oem-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	--oem-r-sm: 6px;
	--oem-r: 8px;
	--oem-r-lg: 12px;
	--oem-wrap: 1360px;
	--oem-gutter: clamp(16px, 3vw, 40px);
	--oem-shadow: 0 1px 2px rgb(35 38 47 / 6%), 0 4px 16px rgb(35 38 47 / 6%);
	--oem-shadow-up: 0 2px 4px rgb(35 38 47 / 8%), 0 12px 28px rgb(35 38 47 / 12%);
	--oem-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------------- base */

.oem-page {
	margin: 0;
	background: var(--oem-ground);
	color: var(--oem-ink);
	font-family: var(--oem-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	accent-color: var(--oem-blue);
	caret-color: var(--oem-blue);
	scrollbar-color: #aab3c2 var(--oem-ground);
}
.oem-page *,
.oem-page *::before,
.oem-page *::after { box-sizing: border-box; }
.oem-page ::selection { background: var(--oem-ice-deep); color: var(--oem-ink); }
.oem-page img { max-width: 100%; height: auto; }
.oem-page a { color: var(--oem-blue-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.oem-page a:hover { color: var(--oem-blue-ink); }
.oem-page :focus-visible { outline: 3px solid var(--oem-blue); outline-offset: 2px; border-radius: 4px; }
:where(.oem-page) :where(h1, h2, h3, h4) { font-family: var(--oem-font); color: inherit; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; margin: 0; }
:where(.oem-page) p { margin: 0; text-wrap: pretty; }
.oem-num, .oem-page .sku, .oem-code { font-family: var(--oem-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.oem-page .woocommerce-Price-amount, .oem-price { font-variant-numeric: tabular-nums; }

.oem-wrap { width: 100%; max-width: var(--oem-wrap); margin: 0 auto; padding: 0 var(--oem-gutter); }
.oem-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.oem-skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--oem-blue); color: #fff !important; padding: 10px 16px; border-radius: var(--oem-r); font-weight: 700; transition: top 0.2s var(--oem-ease); }
.oem-skip:focus { top: 12px; }

.oem-icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons and fields */

.oem-btn,
.oem-page .button,
.oem-page button.button,
.oem-page input.button,
.oem-page a.button,
.oem-page #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--oem-r);
	background: var(--oem-blue); color: var(--oem-on-blue); font: 700 16px/1 var(--oem-font);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color 0.18s var(--oem-ease), transform 0.18s var(--oem-ease), box-shadow 0.18s var(--oem-ease);
}
.oem-btn:hover,
.oem-page .button:hover,
.oem-page a.button:hover { background: var(--oem-blue-deep); color: #fff; }
.oem-btn:active, .oem-page .button:active { transform: translateY(1px); }
.oem-btn[disabled], .oem-btn[aria-disabled="true"],
.oem-page .button:disabled, .oem-page .button.disabled { background: #a9b6d6; color: #fff; cursor: not-allowed; }
.oem-btn--ghost { background: transparent; color: var(--oem-ink); box-shadow: inset 0 0 0 1.5px var(--oem-line); }
.oem-btn--ghost:hover { background: var(--oem-paper); color: var(--oem-ink); box-shadow: inset 0 0 0 1.5px var(--oem-ink); }
.oem-btn--white { background: #fff; color: var(--oem-blue-ink); }
.oem-btn--white:hover { background: var(--oem-ice); color: var(--oem-blue-ink); }
.oem-btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.oem-btn--block { width: 100%; }
.oem-btn .oem-icon { width: 20px; height: 20px; }

.oem-page input[type="text"], .oem-page input[type="search"], .oem-page input[type="email"], .oem-page input[type="tel"],
.oem-page input[type="password"], .oem-page input[type="number"], .oem-page select, .oem-page textarea {
	min-height: 48px; width: 100%; padding: 10px 14px; border: 1.5px solid var(--oem-line); border-radius: var(--oem-r);
	background: #fff; color: var(--oem-ink); font: 500 16px/1.4 var(--oem-font);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.oem-page input::placeholder, .oem-page textarea::placeholder { color: #6b7383; }
.oem-page input:focus, .oem-page select:focus, .oem-page textarea:focus { outline: 0; border-color: var(--oem-blue); box-shadow: 0 0 0 3px rgb(36 87 255 / 18%); }

/* ---------------------------------------------------------------- header */

.oem-header { position: relative; z-index: 30; }
.oem-header__bar { background: var(--oem-ink); color: #fff; }
.oem-header__row { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); min-height: 76px; }
.oem-mark { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; flex: none; }
.oem-mark svg { width: 34px; height: 34px; }
.oem-mark__name { font-weight: 800; font-size: 23px; letter-spacing: -0.03em; line-height: 1; }
.oem-mark__name b { font-weight: 800; color: #8fabff; }

.oem-search { flex: 1; display: flex; min-width: 0; height: 50px; background: #fff; border-radius: var(--oem-r); overflow: hidden; box-shadow: 0 0 0 0 rgb(36 87 255 / 0); transition: box-shadow 0.2s var(--oem-ease); }
.oem-search:focus-within { box-shadow: 0 0 0 3px rgb(143 171 255 / 55%); }
.oem-search__in { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; height: 50px; min-height: 0 !important; padding: 0 18px !important; font: 500 16px var(--oem-font); color: var(--oem-ink); background: transparent !important; }
.oem-search__in:focus { outline: 0; }
.oem-search__go { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0 22px; background: var(--oem-blue); color: #fff; font: 700 16px var(--oem-font); cursor: pointer; transition: background-color 0.15s; }
.oem-search__go:hover { background: var(--oem-blue-deep); }

.oem-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.oem-tool { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--oem-r); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.15; transition: background-color 0.15s; }
.oem-tool:hover { background: var(--oem-ink-2); }
.oem-tool small { display: block; font-size: 12px; font-weight: 500; color: var(--oem-on-ink-2); }
.oem-cartlink { position: relative; }
.oem-cartlink__count { position: absolute; top: 2px; left: 26px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--oem-blue); color: #fff; font: 700 12px/20px var(--oem-font); text-align: center; }
.oem-cartlink__total { font-family: var(--oem-font); font-variant-numeric: tabular-nums; }

.oem-lang { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.oem-lang a, .oem-lang span { display: inline-block; padding: 6px 8px; border-radius: var(--oem-r-sm); color: var(--oem-on-ink-2) !important; text-decoration: none; text-transform: uppercase; }
.oem-lang a:hover { color: #fff !important; background: var(--oem-ink-2); }
.oem-lang .is-current a, .oem-lang .is-current span, .oem-lang .current-lang a { color: #fff !important; box-shadow: inset 0 -2px 0 var(--oem-blue); border-radius: 0; }

.oem-nav { background: var(--oem-paper); border-bottom: 1px solid var(--oem-line); }
.oem-nav__row { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.oem-nav__links { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.oem-nav__links::-webkit-scrollbar { display: none; }
.oem-nav__links a { flex: none; padding: 14px 12px; color: var(--oem-ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow 0.2s var(--oem-ease), color 0.15s; }
.oem-nav__links a:hover, .oem-nav__links a[aria-current="page"] { color: var(--oem-blue-deep) !important; box-shadow: inset 0 -2px 0 var(--oem-blue); }
.oem-nav__links a.is-all { display: inline-flex; align-items: center; gap: 8px; }
.oem-nav__links a.is-all .oem-icon { width: 20px; height: 20px; }

/* "my car" chip in the nav: shows the saved service-book entry */
.oem-carchip { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: var(--oem-r); background: var(--oem-ice); color: var(--oem-ink); font-size: 14px; font-weight: 600; max-width: 380px; }
.oem-carchip[hidden] { display: none; }
.oem-carchip .oem-icon { width: 20px; height: 20px; color: var(--oem-blue); }
.oem-carchip__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oem-carchip__x { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: var(--oem-r-sm); background: transparent; color: var(--oem-muted); cursor: pointer; }
.oem-carchip__x:hover { background: #fff; color: var(--oem-ink); }
.oem-carchip__x .oem-icon { width: 16px; height: 16px; color: inherit; }

/* ---------------------------------------------------------------- the service-book entry (garage) */

.oem-book { background: var(--oem-paper); border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg); padding: 24px 28px 28px; box-shadow: var(--oem-shadow); }
.oem-book__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.oem-book__title { font-size: 26px; font-weight: 800; }
.oem-book__reset { border: 0; background: none; padding: 4px 0; color: var(--oem-blue-deep); font: 600 14px var(--oem-font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.oem-book__reset[hidden] { display: none; }
.oem-book__rows { margin: 0 -28px; }
.oem-row { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; min-height: 68px; padding: 0 28px; border-top: 1px solid var(--oem-line); transition: background-color 0.25s var(--oem-ease); }
.oem-row:last-child { border-bottom: 1px solid var(--oem-line); }
.oem-row__n { font: 700 14px var(--oem-mono); color: var(--oem-muted); }
.oem-row__f { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.oem-row__label { font-size: 12px; font-weight: 600; color: var(--oem-muted); line-height: 1.2; }
.oem-row select.oem-row__sel {
	appearance: none; -webkit-appearance: none; border: 0 !important; box-shadow: none !important; background: transparent !important;
	min-height: 0 !important; height: 32px; padding: 0 32px 0 0 !important; margin: 0; width: 100%;
	font: 600 17px/32px var(--oem-font); color: var(--oem-ink); cursor: pointer; text-overflow: ellipsis;
}
.oem-row select.oem-row__sel:focus { outline: 0; }
.oem-row__chev { position: absolute; right: 0; bottom: 4px; width: 20px; height: 20px; color: var(--oem-muted); pointer-events: none; }
.oem-row.is-active { background: var(--oem-ice); box-shadow: inset 0 2px 0 var(--oem-blue); }
.oem-row.is-active .oem-row__n { color: var(--oem-blue); }
.oem-row.is-active .oem-row__chev { color: var(--oem-blue); }
.oem-row.is-done .oem-row__n { color: var(--oem-ink); }
.oem-row.is-locked { cursor: not-allowed; }
.oem-row.is-locked .oem-row__sel { color: #9aa2b1; cursor: not-allowed; }
.oem-row:focus-within { background: var(--oem-ice); }
.oem-book__go { margin-top: 24px; }
.oem-book__alt { margin-top: 16px; font-size: 14px; color: var(--oem-muted); }
.oem-book__alt a { font-weight: 600; }
.oem-book__msg { margin-top: 12px; font-size: 14px; color: var(--oem-muted); min-height: 21px; }
.oem-book__msg.is-err { color: var(--oem-err); }

/* saved state: the entry closes into a stamped line */
.oem-book.is-saved .oem-book__rows,
.oem-book.is-saved .oem-book__go { display: none; }
.oem-saved { display: none; }
.oem-book.is-saved .oem-saved { display: block; }
.oem-saved__car { position: relative; padding: 20px 0 20px; border-top: 1px solid var(--oem-line); border-bottom: 1px solid var(--oem-line); }
.oem-saved__make { font-size: 13px; font-weight: 600; color: var(--oem-muted); }
.oem-saved__model { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; padding-right: 96px; }
.oem-saved__engine { margin-top: 4px; font: 600 15px var(--oem-mono); color: var(--oem-ink); }
.oem-saved__car .oem-stamp { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
.oem-saved__acts { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.oem-saved__acts .oem-btn { flex: 1; }

/* ---------------------------------------------------------------- the stamp (signature) */

.oem-stamp {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 7px;
	border: 2.5px solid var(--oem-blue); border-radius: 5px; background: #fff;
	color: var(--oem-blue); font: 800 12px/1 var(--oem-font); letter-spacing: 0.1em; text-transform: uppercase;
	rotate: -4deg; white-space: nowrap; pointer-events: none;
	mask-image: radial-gradient(circle at 30% 40%, #000 62%, rgb(0 0 0 / 82%) 100%);
}
.oem-stamp svg { width: 14px; height: 14px; stroke-width: 3; }
.oem-stamp.is-pressed { animation: oem-stamp 0.42s var(--oem-ease) both; }
@keyframes oem-stamp {
	0% { opacity: 0; scale: 1.7; rotate: -11deg; filter: blur(2px); }
	55% { opacity: 1; scale: 0.94; rotate: -3deg; filter: blur(0); }
	100% { opacity: 1; scale: 1; rotate: -4deg; }
}
.oem-stamp--big { padding: 7px 12px 7px 10px; font-size: 15px; border-width: 3px; }
.oem-stamp--big svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- front: first viewport */

.oem-hero { padding: 24px 0 8px; }
.oem-hero__grid { display: grid; grid-template-columns: minmax(340px, 440px) 1fr; gap: 24px; align-items: stretch; }
.oem-field { position: relative; display: flex; flex-direction: column; background: var(--oem-blue); color: var(--oem-on-blue); border-radius: var(--oem-r-lg); padding: clamp(24px, 3vw, 40px); overflow: hidden; isolation: isolate; }
/* faint ruled lines: the service-book page under the ink */
.oem-field::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(180deg, transparent 0 47px, rgb(255 255 255 / 7%) 47px 48px); mask-image: linear-gradient(90deg, transparent 30%, #000 85%); }
.oem-field__title { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; max-width: 15ch; }
.oem-field__lead { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--oem-on-blue-2); max-width: 52ch; }
.oem-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 32px; list-style: none; margin-bottom: 0; padding-left: 0; }
.oem-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 120px; padding: 16px; border-radius: var(--oem-r); background: #fff; color: var(--oem-ink) !important; text-decoration: none; box-shadow: 0 1px 0 rgb(15 42 158 / 20%); transition: transform 0.25s var(--oem-ease), box-shadow 0.25s var(--oem-ease); }
.oem-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgb(15 42 158 / 35%); }
.oem-tile .oem-icon { width: 32px; height: 32px; color: var(--oem-blue); stroke-width: 1.5; }
.oem-tile__name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.oem-tile__count { display: block; margin-top: 2px; font: 500 12px var(--oem-mono); color: var(--oem-muted); }

/* ---------------------------------------------------------------- sections */

.oem-sec { padding: clamp(40px, 5vw, 64px) 0 0; }
.oem-sec:last-of-type { padding-bottom: clamp(48px, 6vw, 80px); }
.oem-sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.oem-sec__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.oem-sec__note { margin-top: 6px; color: var(--oem-muted); font-size: 15px; }
.oem-sec__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.oem-sec__more .oem-icon { width: 18px; height: 18px; transition: translate 0.2s var(--oem-ease); }
.oem-sec__more:hover .oem-icon { translate: 3px 0; }

/* ---------------------------------------------------------------- product cards (own rows + WooCommerce loops) */

.oem-grid,
.oem-page ul.products {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px;
	list-style: none; margin: 0 !important; padding: 0 !important;
}
.oem-page ul.products::before, .oem-page ul.products::after { display: none !important; }
.oem-card,
.oem-page ul.products li.product {
	position: relative; display: flex !important; flex-direction: column; float: none !important; width: auto !important; margin: 0 !important;
	padding: 16px !important; background: var(--oem-paper); border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg);
	transition: border-color 0.2s var(--oem-ease), box-shadow 0.2s var(--oem-ease);
}
.oem-card:hover,
.oem-page ul.products li.product:hover { border-color: #b7c2d3; box-shadow: var(--oem-shadow-up); }
.oem-card.is-fit,
.oem-page ul.products li.product.is-fit { border-color: var(--oem-blue); box-shadow: inset 0 0 0 1px var(--oem-blue); }
.oem-card__link,
.oem-page ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--oem-ink) !important; text-decoration: none; }
.oem-card__img,
.oem-page ul.products li.product a img { display: block; width: 100% !important; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 0 14px !important; padding: 12px; background: var(--oem-ground); border-radius: var(--oem-r); mix-blend-mode: multiply; }
.oem-card__brand { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--oem-muted); }
.oem-card__name,
.oem-page ul.products li.product .woocommerce-loop-product__title { margin: 2px 0 0 !important; padding: 0 !important; font-size: 16px !important; font-weight: 700; line-height: 1.3; color: var(--oem-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oem-card__codes { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.oem-codecell { display: inline-flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--oem-muted); min-width: 0; }
.oem-codecell b { flex: none; width: 34px; font: 600 11px var(--oem-font); letter-spacing: 0.06em; text-transform: uppercase; }
.oem-codecell span { font: 500 13px var(--oem-mono); color: var(--oem-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oem-card__foot,
.oem-page ul.products li.product .oem-loop-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.oem-card__price,
.oem-page ul.products li.product .price { display: flex !important; flex-direction: column; margin: 0 !important; color: var(--oem-ink) !important; font-size: 22px !important; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.oem-page ul.products li.product .price del { order: 2; font-size: 14px; font-weight: 500; color: var(--oem-muted); opacity: 1; }
.oem-page ul.products li.product .price ins { text-decoration: none; }
.oem-stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--oem-ok); }
.oem-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.oem-stock.is-low { color: var(--oem-warn); }
.oem-stock.is-out { color: var(--oem-muted); }
.oem-card .oem-stamp,
.oem-page ul.products li.product .oem-stamp { position: absolute; top: 10px; right: 12px; z-index: 2; }
.oem-addcart,
.oem-page ul.products li.product .button { flex: none; width: 48px; min-height: 48px !important; height: 48px; padding: 0 !important; margin: 0 !important; border-radius: var(--oem-r) !important; font-size: 0 !important; }
.oem-addcart .oem-icon,
.oem-page ul.products li.product .button .oem-icon { width: 22px; height: 22px; }
.oem-page ul.products li.product .button::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--oem-cart-mask) center / contain no-repeat; mask: var(--oem-cart-mask) center / contain no-repeat; }
.oem-page { --oem-cart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.4a1.5 1.5 0 0 0 1.5-1.1L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3Cpath d='M12 9.5v4M10 11.5h4'/%3E%3C/svg%3E"); }
.oem-page ul.products li.product .button.loading { opacity: 0.6; }
.oem-page ul.products li.product .button.added::before { --oem-cart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.oem-page ul.products li.product .added_to_cart { position: absolute; left: 16px; bottom: -2px; translate: 0 100%; font-size: 13px; font-weight: 600; padding-top: 4px; }
.oem-page ul.products li.product .onsale,
.oem-sale { position: absolute; top: 10px; left: 12px; z-index: 2; min-width: 0; min-height: 0; margin: 0; padding: 4px 8px; border-radius: var(--oem-r-sm); background: var(--oem-ink); color: #fff; font: 700 13px/1.2 var(--oem-font); }

/* horizontal row with arrows */
.oem-rail { position: relative; }
.oem-rail .oem-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(248px, calc((100% - 64px) / 5)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 24px !important; }
.oem-rail .oem-grid::-webkit-scrollbar { display: none; }
.oem-rail .oem-card { scroll-snap-align: start; }
.oem-rail__btns { display: flex; gap: 8px; }
.oem-rail__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--oem-line); border-radius: var(--oem-r); background: #fff; color: var(--oem-ink); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.oem-rail__btn:hover:not(:disabled) { border-color: var(--oem-ink); }
.oem-rail__btn:disabled { opacity: 0.4; cursor: default; }
.oem-rail__btn .oem-icon { width: 20px; height: 20px; }

.oem-empty { padding: 32px; border: 1.5px dashed var(--oem-line); border-radius: var(--oem-r-lg); background: var(--oem-paper); color: var(--oem-muted); text-align: center; }
.oem-empty strong { display: block; color: var(--oem-ink); font-size: 18px; margin-bottom: 4px; }

/* ---------------------------------------------------------------- OEM number band */

.oem-numband { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--oem-ink); color: #fff; border-radius: var(--oem-r-lg); overflow: hidden; }
.oem-numband__main { padding: clamp(28px, 4vw, 48px); }
.oem-numband__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; }
.oem-numband__lead { margin-top: 10px; color: var(--oem-on-ink-2); max-width: 46ch; }
.oem-numform { display: flex; margin-top: 24px; height: 60px; border-radius: var(--oem-r); overflow: hidden; background: #fff; }
.oem-numform input { flex: 1; min-width: 0; height: 60px !important; min-height: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 20px !important; font: 600 20px var(--oem-mono) !important; letter-spacing: 0.02em; text-transform: uppercase; }
.oem-numform input::placeholder { text-transform: none; font: 500 16px var(--oem-font); letter-spacing: 0; }
.oem-numform button { border: 0; padding: 0 28px; background: var(--oem-blue); color: #fff; font: 700 17px var(--oem-font); cursor: pointer; }
.oem-numform button:hover { background: var(--oem-blue-deep); }
.oem-numband__eg { margin-top: 12px; font-size: 14px; color: var(--oem-on-ink-2); }
.oem-numband__eg button { border: 0; background: none; padding: 0 2px; color: #fff; font: 500 14px var(--oem-mono); text-decoration: underline dotted; text-underline-offset: 4px; cursor: pointer; }
.oem-numband__where { padding: clamp(28px, 4vw, 48px); background: var(--oem-ink-2); border-left: 1px solid var(--oem-ink-line); }
.oem-numband__where h3 { font-size: 15px; font-weight: 700; color: var(--oem-on-ink-2); margin-bottom: 8px; }
.oem-where { list-style: none; margin: 0; padding: 0; }
.oem-where li { display: grid; grid-template-columns: 40px 1fr; gap: 4px; padding: 16px 0; border-top: 1px solid var(--oem-ink-line); }
.oem-where li:first-child { border-top: 0; }
.oem-where .oem-icon { color: #8fabff; }
.oem-where strong { display: block; font-size: 16px; }
.oem-where span { font-size: 14px; color: var(--oem-on-ink-2); }

/* ---------------------------------------------------------------- all categories (ruled index) */

.oem-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; list-style: none; margin: 0; padding: 0; background: var(--oem-paper); border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg); padding: 8px 24px; }
.oem-index li { border-bottom: 1px solid var(--oem-line-soft); }
.oem-index a { display: flex; align-items: center; gap: 14px; min-height: 60px; color: var(--oem-ink) !important; text-decoration: none; font-weight: 600; }
.oem-index a:hover { color: var(--oem-blue-deep) !important; }
.oem-index .oem-icon { width: 26px; height: 26px; color: var(--oem-blue); }
.oem-index__count { margin-left: auto; font: 500 13px var(--oem-mono); color: var(--oem-muted); }

/* ---------------------------------------------------------------- brands */

.oem-brands { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.oem-brands a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--oem-paper); border: 1px solid var(--oem-line); border-radius: var(--oem-r); color: var(--oem-ink) !important; text-decoration: none; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; font-size: 15px; transition: border-color 0.15s, color 0.15s; }
.oem-brands a:hover { border-color: var(--oem-blue); color: var(--oem-blue-deep) !important; }

/* ---------------------------------------------------------------- help band */

.oem-help { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); background: var(--oem-ice); border-radius: var(--oem-r-lg); }
.oem-help__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }
.oem-help__text { margin-top: 6px; color: #3a4150; max-width: 62ch; }
.oem-help__acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */

.oem-footer { margin-top: clamp(48px, 6vw, 80px); background: var(--oem-ink); color: var(--oem-on-ink-2); font-size: 15px; }
.oem-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 0 40px; }
.oem-footer h2 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.oem-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.oem-footer a { color: var(--oem-on-ink-2) !important; text-decoration: none; }
.oem-footer a:hover { color: #fff !important; text-decoration: underline; }
.oem-footer__about { max-width: 34ch; margin-top: 14px; }
.oem-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid var(--oem-ink-line); font-size: 13px; }

/* ---------------------------------------------------------------- shop pages */

.oem-shop { padding: 24px 0 0; }
.oem-shop__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.oem-aside { display: grid; gap: 16px; position: sticky; top: 16px; }
.oem-aside .oem-book { padding: 20px 20px 22px; }
.oem-aside .oem-book__rows { margin: 0 -20px; }
.oem-aside .oem-row { padding: 0 20px; min-height: 60px; grid-template-columns: 36px 1fr; }
.oem-aside .oem-book__title { font-size: 20px; }
.oem-aside .oem-saved__model { font-size: 18px; padding-right: 0; }
.oem-aside .oem-saved__car .oem-stamp { position: static; translate: none; margin-top: 10px; }
.oem-aside__box { background: var(--oem-paper); border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg); padding: 16px 20px; }
.oem-aside__h { font-size: 16px; font-weight: 800; margin: 0 0 8px; list-style: none; cursor: pointer; }
.oem-aside__h::-webkit-details-marker { display: none; }
.oem-aside ul { list-style: none; margin: 0; padding: 0; }
.oem-aside .product-categories li { border-top: 1px solid var(--oem-line-soft); }
.oem-aside .product-categories li:first-child { border-top: 0; }
.oem-aside .product-categories a { display: block; padding: 9px 0; color: var(--oem-ink) !important; text-decoration: none; font-weight: 500; }
.oem-aside .product-categories a:hover, .oem-aside .product-categories .current-cat > a { color: var(--oem-blue-deep) !important; font-weight: 700; }
.oem-aside .product-categories .children { padding-left: 14px; }

.oem-page .woocommerce-breadcrumb { margin: 0 0 12px !important; font-size: 14px; color: var(--oem-muted) !important; }
.oem-page .woocommerce-breadcrumb a { color: var(--oem-muted) !important; }
.oem-page .woocommerce-products-header__title, .oem-page h1.page-title, .oem-page .product_title, .oem-article__title { font-size: clamp(28px, 3vw, 40px) !important; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 12px !important; }
.oem-page .term-description { color: var(--oem-muted); max-width: 70ch; margin-bottom: 16px; }
.oem-page .woocommerce-result-count { margin: 0 0 16px !important; color: var(--oem-muted); font-size: 14px; line-height: 44px; }
.oem-page .woocommerce-ordering { margin: 0 0 16px !important; }
.oem-page .woocommerce-ordering select { min-height: 44px; width: auto; }

/* fitment banner on listings */
.oem-fitbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; padding: 14px 18px; background: var(--oem-ice); border-radius: var(--oem-r-lg); }
.oem-fitbar[hidden] { display: none; }
.oem-fitbar__txt { flex: 1; min-width: 220px; font-size: 15px; }
.oem-fitbar__txt strong { font-weight: 800; }
.oem-fitbar__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.oem-fitbar .oem-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }

.oem-page .woocommerce-pagination ul { display: flex !important; gap: 6px; border: 0 !important; margin: 32px 0 0 !important; }
.oem-page .woocommerce-pagination ul li { border: 0 !important; }
.oem-page .woocommerce-pagination ul li a, .oem-page .woocommerce-pagination ul li span { display: inline-grid !important; place-items: center; min-width: 44px; height: 44px; padding: 0 8px !important; border-radius: var(--oem-r); background: #fff; border: 1px solid var(--oem-line) !important; color: var(--oem-ink) !important; font-weight: 700; }
.oem-page .woocommerce-pagination ul li span.current { background: var(--oem-ink) !important; color: #fff !important; border-color: var(--oem-ink) !important; }

/* ---------------------------------------------------------------- single product */

.oem-page div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.oem-page div.product > .onsale { position: absolute; }
.oem-page div.product .woocommerce-product-gallery,
.oem-page div.product .oem-gallery { width: auto !important; float: none !important; margin: 0 !important; background: var(--oem-paper); border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg); padding: 24px; }
.oem-page div.product .woocommerce-product-gallery img, .oem-gallery img { mix-blend-mode: multiply; aspect-ratio: 1; object-fit: contain; width: 100%; }
.oem-page div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.oem-page div.product .summary .oem-card__brand { display: block; margin-bottom: 4px; }
.oem-page div.product p.price { font-size: 34px !important; font-weight: 800; color: var(--oem-ink) !important; margin: 16px 0 4px !important; letter-spacing: -0.02em; }
.oem-page div.product p.price del { font-size: 18px; color: var(--oem-muted); font-weight: 500; }
.oem-page div.product p.price ins { text-decoration: none; }
.oem-taxnote { font-size: 13px; color: var(--oem-muted); }
.oem-page div.product .stock { font-weight: 600; color: var(--oem-ok) !important; }
.oem-page div.product .stock.out-of-stock { color: var(--oem-muted) !important; }
.oem-page div.product form.cart { display: flex !important; gap: 12px; margin: 20px 0 !important; }
.oem-page div.product form.cart .quantity input.qty { width: 84px; min-height: 52px; text-align: center; font-weight: 700; }
.oem-page div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 17px; }
.oem-page div.product .product_meta { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--oem-line); font-size: 14px; color: var(--oem-muted); }
.oem-page div.product .woocommerce-tabs,
.oem-page div.product .related,
.oem-page div.product .upsells { grid-column: 1 / -1; }

.oem-specs { margin: 20px 0 0; border-top: 1px solid var(--oem-line); }
.oem-specs__row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--oem-line-soft); font-size: 15px; }
.oem-specs__row dt { color: var(--oem-muted); font-weight: 600; }
.oem-specs__row dd { margin: 0; font: 500 15px var(--oem-mono); word-break: break-word; }

/* fitment check on the product page */
.oem-fitcheck { position: relative; margin: 20px 0 0; padding: 18px 20px; border-radius: var(--oem-r-lg); border: 1.5px solid var(--oem-line); background: var(--oem-paper); }
.oem-fitcheck__t { font-weight: 800; font-size: 17px; }
.oem-fitcheck__d { margin-top: 4px; font-size: 15px; color: var(--oem-muted); }
.oem-fitcheck__d a { font-weight: 600; }
.oem-fitcheck.is-fit { border-color: var(--oem-blue); background: var(--oem-ice); }
.oem-fitcheck.is-fit .oem-fitcheck__d { color: #354055; }
.oem-fitcheck.is-nofit { border-color: #e9c88a; background: var(--oem-warn-bg); }
.oem-fitcheck.is-nofit .oem-fitcheck__t { color: var(--oem-warn); }
.oem-fitcheck .oem-stamp { position: absolute; right: 16px; top: -14px; }

.oem-page .woocommerce-tabs ul.tabs { display: flex; gap: 4px; padding: 0 !important; margin: 24px 0 0 !important; border-bottom: 1px solid var(--oem-line); overflow-x: auto; }
.oem-page .woocommerce-tabs ul.tabs::before, .oem-page .woocommerce-tabs ul.tabs li::before, .oem-page .woocommerce-tabs ul.tabs li::after { display: none !important; }
.oem-page .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.oem-page .woocommerce-tabs ul.tabs li a { display: block; padding: 14px 16px !important; color: var(--oem-muted) !important; font-weight: 700 !important; text-decoration: none; white-space: nowrap; }
.oem-page .woocommerce-tabs ul.tabs li.active a { color: var(--oem-ink) !important; box-shadow: inset 0 -3px 0 var(--oem-blue); }
.oem-page .woocommerce-Tabs-panel { padding: 24px 0 !important; max-width: 80ch; }
.oem-page .woocommerce-Tabs-panel > h2:first-child { display: none; }
.oem-fitlist { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 32px; }
.oem-fitlist li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--oem-line-soft); }
.oem-fitlist b { font-weight: 700; }
.oem-fitlist span { color: var(--oem-muted); font-family: var(--oem-mono); font-size: 14px; }
.oem-page .related > h2, .oem-page .upsells > h2 { font-size: 26px; font-weight: 800; margin: 24px 0 16px; }

/* ---------------------------------------------------------------- notices, cart, checkout, account */

.oem-page .woocommerce-message, .oem-page .woocommerce-info, .oem-page .woocommerce-error, .oem-page .woocommerce-notice {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 20px !important; padding: 14px 18px !important;
	border: 0 !important; border-radius: var(--oem-r-lg); background: var(--oem-ice) !important; color: var(--oem-ink) !important; list-style: none; font-size: 15px;
}
.oem-page .woocommerce-message::before, .oem-page .woocommerce-info::before, .oem-page .woocommerce-error::before { position: static !important; color: var(--oem-blue) !important; }
.oem-page .woocommerce-error { background: var(--oem-err-bg) !important; }
.oem-page .woocommerce-error::before { color: var(--oem-err) !important; }
.oem-page .woocommerce-message .button, .oem-page .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; }

.oem-page table.shop_table { border: 1px solid var(--oem-line) !important; border-radius: var(--oem-r-lg) !important; background: #fff; border-collapse: separate !important; overflow: hidden; }
.oem-page table.shop_table th { font-weight: 700; font-size: 14px; color: var(--oem-muted); background: var(--oem-ground); }
.oem-page table.shop_table td, .oem-page table.shop_table th { padding: 14px 16px !important; border-color: var(--oem-line-soft) !important; }
.oem-page table.shop_table img { width: 64px; border-radius: var(--oem-r-sm); background: var(--oem-ground); mix-blend-mode: multiply; }
.oem-page table.shop_table .product-name a { font-weight: 700; color: var(--oem-ink); }
.oem-page table.shop_table a.remove { color: var(--oem-muted) !important; border-radius: var(--oem-r-sm); }
.oem-page table.shop_table a.remove:hover { background: var(--oem-err-bg) !important; color: var(--oem-err) !important; }
.oem-page .cart_totals h2, .oem-page #order_review_heading, .oem-page .woocommerce-billing-fields h3, .oem-page .woocommerce-additional-fields h3, .oem-page .woocommerce-shipping-fields h3 { font-size: 22px; font-weight: 800; margin: 0 0 16px; }
.oem-page .wc-proceed-to-checkout .checkout-button, .oem-page #place_order { width: 100%; min-height: 56px; font-size: 18px; }
.oem-page .woocommerce form .form-row label { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.oem-page .woocommerce form .form-row .required { color: var(--oem-err); text-decoration: none; }
.oem-page #payment { background: var(--oem-paper) !important; border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg) !important; }
.oem-page #payment div.payment_box { background: var(--oem-ground) !important; color: var(--oem-ink) !important; border-radius: var(--oem-r); }
.oem-page #payment div.payment_box::before { display: none; }
.oem-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--oem-line); border-radius: var(--oem-r-lg); }
.oem-page .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 12px; border-radius: var(--oem-r); color: var(--oem-ink) !important; text-decoration: none; font-weight: 600; }
.oem-page .woocommerce-MyAccount-navigation li.is-active a { background: var(--oem-ice); color: var(--oem-blue-ink) !important; }
/* block cart / checkout keep their own layout; only colours and type follow the world */
.oem-page .wc-block-components-button:not(.is-link) { background: var(--oem-blue) !important; color: #fff !important; border-radius: var(--oem-r) !important; min-height: 52px; font-weight: 700; }
.oem-page .wc-block-components-button:not(.is-link):hover { background: var(--oem-blue-deep) !important; }
.oem-page .wp-block-woocommerce-cart, .oem-page .wp-block-woocommerce-checkout { font-family: var(--oem-font); }

.oem-article { max-width: 820px; padding: 8px 0 0; }
.oem-prose { font-size: 17px; line-height: 1.65; }
.oem-prose > * + * { margin-top: 1em; }
.oem-prose h2 { font-size: 26px; font-weight: 800; margin-top: 1.6em; }
.oem-prose h3 { font-size: 20px; font-weight: 700; margin-top: 1.4em; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
	.oem-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.oem-tool__text { display: none; }
	.oem-rail .oem-grid { grid-auto-columns: minmax(232px, calc((100% - 48px) / 4)); }
	.oem-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.oem-hero__grid, .oem-numband, .oem-shop__grid { grid-template-columns: 1fr; }
	.oem-hero__grid > .oem-book { order: 0; }
	.oem-field { order: 1; }
	.oem-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.oem-numband__where { border-left: 0; border-top: 1px solid var(--oem-ink-line); }
	.oem-aside { position: static; }
	.oem-page div.product { grid-template-columns: 1fr; }
	.oem-rail .oem-grid { grid-auto-columns: minmax(220px, calc((100% - 32px) / 3)); }
	.oem-carchip__label { display: none; }
}
@media (max-width: 760px) {
	.oem-header__row { flex-wrap: wrap; gap: 12px; padding-block: 12px; min-height: 0; }
	.oem-search { order: 3; flex-basis: 100%; height: 48px; }
	.oem-search__in { height: 48px; }
	.oem-search__go span { display: none; }
	.oem-tools { margin-left: auto; }
	.oem-tool { padding: 8px; }
	.oem-lang { display: none; }
	.oem-nav__row { gap: 0; }
	.oem-carchip { max-width: 46vw; }
	.oem-book { padding: 20px 20px 24px; }
	.oem-book__rows { margin: 0 -20px; }
	.oem-row { padding: 0 20px; grid-template-columns: 36px 1fr; }
	.oem-book__title { font-size: 22px; }
	.oem-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.oem-tile { min-height: 104px; }
	.oem-field__lead { font-size: 16px; }
	.oem-help { grid-template-columns: 1fr; }
	.oem-footer__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
	.oem-page ul.products, .oem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.oem-card, .oem-page ul.products li.product { padding: 12px !important; }
	.oem-card__price, .oem-page ul.products li.product .price { font-size: 19px !important; }
	.oem-rail .oem-grid { grid-template-columns: none; grid-auto-columns: 72%; }
	.oem-numform { height: 56px; }
	.oem-numform input { height: 56px !important; font-size: 17px !important; }
	.oem-numform button { padding: 0 18px; }
	.oem-sec__head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	.oem-page *, .oem-page *::before, .oem-page *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------- additions: card price states, chip label, shop tools, add-to-cart states */
.oem-card__price { display: flex; flex-direction: column; font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.oem-card__price del { order: 2; font-size: 14px; font-weight: 500; color: var(--oem-muted); }
.oem-card__price ins { text-decoration: none; }
.oem-carchip__label { color: var(--oem-muted); font-weight: 500; }
.oem-shop__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.oem-addcart.loading { opacity: 0.6; pointer-events: none; }
.oem-addcart.added { background: var(--oem-ink); }
.oem-card .added_to_cart { position: absolute; right: 16px; bottom: 70px; padding: 4px 8px; border-radius: var(--oem-r-sm); background: var(--oem-ink); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.oem-page ul.products li.product.oem-card { padding: 16px !important; }
@media (max-width: 760px) { .oem-card__price { font-size: 19px; } .oem-page ul.products li.product.oem-card { padding: 12px !important; } }
/* link-buttons keep button colours (beats .oem-page a) */
.oem-page a.oem-btn, .oem-page a.oem-btn:hover { color: var(--oem-on-blue); text-decoration: none; }
.oem-page a.oem-btn--ghost, .oem-page a.oem-btn--ghost:hover { color: var(--oem-ink); }
.oem-page a.oem-btn--white, .oem-page a.oem-btn--white:hover { color: var(--oem-blue-ink); }
/* car chip: one line, label drops first when space runs out */
.oem-carchip { max-width: 360px; white-space: nowrap; }
.oem-carchip__label { flex: none; }
.oem-carchip__label::after { content: ":"; }
@media (max-width: 1280px) { .oem-carchip__label { display: none; } .oem-carchip { max-width: 280px; } }
/* product page: the compact garage sits under the gallery */
.oem-page div.product .oem-single-garage { grid-column: 1; }
/* saved car: stamp sits under the engine line so long words (ПОДХОДИТ) never overlap the model */
.oem-saved__model { padding-right: 0; }
.oem-saved__car .oem-stamp { position: static; translate: none; }
.oem-saved__stamp { margin-top: 12px; }

/* ---------------------------------------------------------------- review fixes */
/* nav: links fade out at the end instead of clipping mid-word next to the car chip */
.oem-nav__links { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 32px; }
@media (max-width: 1600px) { .oem-carchip__label { display: none; } .oem-carchip { max-width: 300px; } }
/* saved entry: no dead gap, one change control, card sizes to its content on the home page */
.oem-book.is-saved .oem-book__head { margin-bottom: 8px; }
.oem-book.is-saved .oem-saved__car { border-top: 0; padding-top: 4px; }
.oem-hero__grid > .oem-book { align-self: start; }
.oem-saved [data-oem-show][hidden] { display: none; }
/* product cards: codes sit in a ruled block, labels in a fixed column so numbers align card to card */
.oem-card__codes { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--oem-line-soft); }
/* pagination: no list markers, drawn arrows */
.oem-page .woocommerce-pagination ul, .oem-page .woocommerce-pagination li { list-style: none !important; }
.oem-page .woocommerce-pagination li::marker { content: none; }
.oem-page .woocommerce-pagination .oem-icon { width: 18px; height: 18px; }
/* disclosure chevron on the sidebar category card */
.oem-aside__h { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.oem-aside__h::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--oem-muted); border-bottom: 2px solid var(--oem-muted); rotate: 45deg; translate: 0 -3px; transition: rotate 0.2s var(--oem-ease); }
.oem-aside__box[open] .oem-aside__h { margin-bottom: 8px; }
.oem-aside__box[open] .oem-aside__h::after { rotate: 225deg; translate: 0 3px; }
/* phones: the sidebar garage folds to its heading until tapped */
.oem-book__toggle { display: none; }
@media (max-width: 960px) {
	.oem-aside .oem-book.is-folded { padding-bottom: 16px; }
	.oem-aside .oem-book.is-folded .oem-book__head { margin: 0; }
	.oem-aside .oem-book.is-folded > :not(.oem-book__head) { display: none; }
	.oem-aside .oem-book .oem-book__toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: -8px -8px -8px 0; border: 0; border-radius: var(--oem-r); background: transparent; color: var(--oem-ink); cursor: pointer; }
	.oem-aside .oem-book .oem-book__toggle svg { width: 20px; height: 20px; transition: rotate 0.2s var(--oem-ease); }
	.oem-aside .oem-book:not(.is-folded) .oem-book__toggle svg { rotate: 180deg; }
	.oem-aside .oem-book__head { align-items: center; }
	.oem-aside { gap: 10px; }
	.oem-aside .oem-book__sub { display: block; font-size: 14px; font-weight: 500; color: var(--oem-muted); }
}
.oem-book__sub { display: none; }

/* phones: the saved car shows in the garage and fitbar; the chip would cover the category nav */
@media (max-width: 760px) { .oem-carchip { display: none !important; } }

/* verdict fixes: chip lives in the ink bar; category links wrap on desktop (all reachable), scroll on phones */
.oem-header__bar .oem-carchip { background: var(--oem-ink-2); color: #fff; box-shadow: inset 0 0 0 1px var(--oem-ink-line); }
.oem-header__bar .oem-carchip .oem-icon { color: #8fabff; }
.oem-header__bar .oem-carchip__label { color: var(--oem-on-ink-2); }
.oem-header__bar .oem-carchip__x { color: var(--oem-on-ink-2); }
.oem-header__bar .oem-carchip__x:hover { background: var(--oem-ink-line); color: #fff; }
@media (max-width: 1280px) { .oem-header__bar .oem-carchip { max-width: 200px; } }
@media (min-width: 761px) {
	.oem-nav__links { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; column-gap: 4px; }
}
@media (max-width: 760px) { .oem-nav__links { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); } }
/* the status line takes no space until it has something to say */
.oem-book__msg:empty { min-height: 0; margin: 0; }
/* readable disabled and locked states (≥4.5:1) */
.oem-btn[disabled], .oem-btn[aria-disabled="true"] { background: #dfe5ee; color: #4a5160; }
.oem-row.is-locked .oem-row__sel { color: #6b7383; }
