/* ==========================================================================
 * Zenter Performance – public vehicle catalogue (/catalog, /pl/katalog).
 * Loaded only on catalogue pages (legacy.partials.head), after zenter.css.
 * ========================================================================== */
.zp-subheader--catalog { min-height: 360px; }
.zp-subheader--catalog .zp-subheader__title { overflow-wrap: anywhere; }
.zp-subheader__gen { font-weight: 600; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.zp-subheader__sub strong { color: #fff; }
.zp-arrow { margin: 0 8px; color: var(--zp-red-on-dark); }
.zp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .6); }
.zp-crumbs li + li::before { content: '/'; margin: 0 8px; color: rgba(255, 255, 255, .3); }
.zp-crumbs a { color: rgba(255, 255, 255, .85); }
.zp-crumbs a:hover, .zp-crumbs a:focus { color: #fff; }
.zp-crumbs [aria-current] { color: rgba(255, 255, 255, .6); }
.zp-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
/* slanted plates instead of rounded pills (shape only – text upright) */
.zp-pills > li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 20px; background: rgba(255, 255, 255, .1); color: #e4e4e7; clip-path: var(--zp-slant); }
.zp-pills strong { color: #fff; }
.zp-pills .zp-live.is-open strong { color: #6ee7b7; }
.zp-pill-badge .zp-i { width: 16px; height: 16px; color: var(--zp-red-on-dark); }

.zp-catalog { padding: 56px 0 88px !important; }
.zp-catalog__search { position: relative; max-width: 520px; margin: 0 auto 34px; }
.zp-catalog__search .zp-i { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: #71717a; }
.zp-catalog__search input { width: 100%; height: 52px; padding: 0 16px 0 46px; font-size: 16px; color: #111; background: #fff; border: 1px solid #d4d4d8; border-radius: 0; }
.zp-catalog__search input:focus { outline: none; border-color: var(--zp-red); box-shadow: 0 0 0 3px rgba(205, 33, 34, .15); }
.zp-legacy .zp-catalog__title { font: 800 20px/1.2 var(--zp-head); color: #111; margin: 0 0 16px; text-transform: none; }
.zp-catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
/* light plate links (zenter.css → Zenter plates): the rising wedge appears on hover / focus; popular makes keep a short black one */
.zp-catalog__grid a { --zp-cut: 12px; --zp-wedge-w: 0%; --zp-wedge-h: 5px; display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px 17px; color: #111; transition: border-color .2s, transform .2s var(--zp-ease); }
.zp-catalog__grid a:hover, .zp-catalog__grid a:focus { --zp-wedge-w: 72%; --zp-wedge-c: var(--zp-red); --zp-plate-line: var(--zs-line-2); transform: translateY(-2px); color: #111; text-decoration: none; }
.zp-catalog__grid strong { font: 700 15px/1.3 var(--zp-head); overflow-wrap: anywhere; }
.zp-catalog__grid span { font-size: 12.5px; color: var(--zp-muted); }
.zp-catalog__grid--popular a { --zp-wedge-w: 34%; --zp-wedge-c: #1b1b1b; }
.zp-catalog__empty, .zp-catalog__none { color: var(--zp-muted); }
.zp-enginetable { margin: 0 0 40px; overflow-x: auto; background: #fff; border: 1px solid #e5e5e5; }
.zp-enginetable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.zp-enginetable th, .zp-enginetable td { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; text-align: left; vertical-align: middle; white-space: nowrap; }
.zp-enginetable thead th { font: 700 12px/1.2 var(--zp-head); letter-spacing: .08em; text-transform: uppercase; color: #71717a; background: #fafafa; }
.zp-enginetable tbody th a { font: 700 15px/1.3 var(--zp-head); color: #111; }
.zp-enginetable tbody th small { display: block; font: 400 12px/1.4 var(--zp-body); color: var(--zp-muted); }
.zp-enginetable tbody tr:hover { background: #fcfcfc; }
.zp-enginetable__go { display: inline-flex; color: var(--zp-red); }
.zp-enginetable__note { margin: -24px 0 40px; font-size: 13px; line-height: 1.55; color: var(--zp-muted); }
@media (max-width: 575px) { .zp-enginetable th, .zp-enginetable td { padding: 12px 10px; font-size: 13.5px; } .zp-enginetable td:last-child { display: none; } }

/* dark plate + rising wedge (zenter.css → Zenter plates) – no left strip */
.zp-fallback { --zp-cut: 22px; --zp-wedge-h: 10px; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 26px 32px 36px 28px; color: #d4d4d8; }
.zp-fallback > div { flex: 1 1 420px; }
.zp-legacy .zp-fallback__title { font: 800 20px/1.25 var(--zp-head); color: #fff; margin: 0 0 6px; text-transform: none; }
.zp-fallback p { margin: 0; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 575px) { .zp-fallback { --zp-cut: 16px; padding: 22px 18px 32px; } .zp-fallback .zp-btn2 { flex: 1 1 100%; margin: 0 6px; white-space: normal; } }

/* Engine page */
.zp-engine { padding: 48px 0 24px !important; }
.zp-engine__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.zp-engine__main { display: grid; gap: 20px; min-width: 0; }
.zp-engine__side { position: sticky; top: calc(62px + 20px); }
.zp-legacy .zp-card { padding: 26px 28px; }   /* light plate: zenter.css → Zenter plates */
.zp-legacy .zp-card__title { display: flex; align-items: center; gap: 10px; font: 800 21px/1.25 var(--zp-head); color: #111; margin: 0 0 18px; text-transform: none; letter-spacing: -.01em; }
.zp-card__title .zp-i { color: var(--zp-red); }
.zp-power__table { display: grid; gap: 4px; }
.zp-power__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f2f2f2; }
.zp-power__row--head { padding: 0 0 6px; font: 700 11.5px/1 var(--zp-head); letter-spacing: .1em; text-transform: uppercase; color: #71717a; }
.zp-power__label { font: 800 14px/1.2 var(--zp-head); color: #111; }
.zp-power__row--stage1 .zp-power__label, .zp-power__row--stage2 .zp-power__label { color: var(--zp-red); }
.zp-power__val { display: block; font: 800 22px/1.2 var(--zp-head); color: #111; white-space: nowrap; }
.zp-power__val small { font-size: 13px; font-weight: 600; color: #71717a; }
.zp-power__val .zp-muted { font: 600 14px/1.2 var(--zp-body); }
.zp-power__cell--wide { grid-column: 2 / -1; font: 600 14px/1.35 var(--zp-body); }
.zp-power__bar { display: block; height: 6px; margin-top: 8px; background: #f0f0f0; overflow: hidden; }
.zp-power__bar span { display: block; height: 100%; background: #a1a1aa; }
.zp-power__row--stage1 .zp-power__bar span, .zp-power__row--stage2 .zp-power__bar span { background: var(--zp-red); }
.zp-power__row--stage2 .zp-power__bar span { background: linear-gradient(90deg, var(--zp-red), #8f1516); }
.zp-note { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--zp-muted); }
@media (max-width: 575px) {
    .zp-legacy .zp-card { padding: 20px 16px; }
    /* 74px: room for the longest source tag under the stage name (pl "orientacyjnie") */
    .zp-power__row { grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
    .zp-power__tag--muted { font-size: 10.5px; letter-spacing: 0; }
    .zp-power__val { font-size: 17px; }
    .zp-power__val small { font-size: 11px; }
    .zp-power__val .zp-gain { display: block; width: max-content; margin: 4px 0 0; font-size: 11px; }
    .zp-power__label { font-size: 12.5px; }
}
.zp-stagecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* light plates (zenter.css → Zenter plates): Stage 1 with the red wedge, Stage 2 black – no top strip */
.zp-legacy .zp-stagecard { --zp-wedge-c: #1b1b1b; --zp-wedge-h: 8px; display: flex; flex-direction: column; padding: 22px 24px 32px; }
.zp-legacy .zp-stagecard.is-primary { --zp-wedge-c: var(--zp-red); --zp-plate-line: rgba(205, 33, 34, .45); --zp-plate-corner: rgba(205, 33, 34, .6); }
.zp-legacy .zp-stagecard__title { font: 800 20px/1.2 var(--zp-head); color: #111; margin: 0 0 4px; text-transform: none; }
.zp-stagecard__what { margin: 0 0 14px; font-size: 13.5px; color: var(--zp-muted); }
.zp-stagecard__price { margin: 0; }
.zp-stagecard__price strong { display: block; font: 800 24px/1.2 var(--zp-head); color: var(--zp-red); }
.zp-stagecard__price span { font-size: 13px; color: var(--zp-muted); }
.zp-stagecard__gain { margin: 8px 0 0; font: 700 14px/1.3 var(--zp-head); color: #111; }
.zp-stagecard__gain--muted { font: 600 13px/1.4 var(--zp-body); color: var(--zp-muted); }
.zp-stagecard .zp-btn2 { margin: 18px 6px 0; white-space: normal; text-align: center; }
@media (max-width: 575px) { .zp-stagecards { grid-template-columns: 1fr; } }
.zp-prose p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: #3f3f46; }
.zp-prose p:last-child { margin-bottom: 0; }
/* Options for this engine: a price list in the light plate (same head row as the power table), one row per option –
   slanted icon token · name + one line · price with Stage 1 (leads) · price on its own (smaller) · arrow. The whole row
   is the option's order link (stretched link, ring drawn inside). Values never break inside ("+18,00 € netto").
   Phones: the prices go under the name, each with its own label. The dark band at the bottom holds the one button. */
.zp-opts { --zp-opt-cols: 40px minmax(0, 1fr) 150px 124px 20px; }
.zp-opts--single { --zp-opt-cols: 40px minmax(0, 1fr) 150px 20px; }
.zp-legacy .zp-opts .zp-card__title { margin-bottom: 14px; }
.zp-opts__head { display: grid; grid-template-columns: var(--zp-opt-cols); gap: 16px; padding: 0 10px 8px; border-bottom: 1px solid #e4e4e7; font: 700 11.5px/1 var(--zp-head); letter-spacing: .1em; text-transform: uppercase; color: #71717a; }
.zp-opts__head span:first-child { grid-column: 1 / 3; }
.zp-opts__head span:not(:first-child) { text-align: right; }
.zp-opts__list { margin: 0; padding: 0; list-style: none; }
.zp-optrow { position: relative; display: grid; grid-template-columns: var(--zp-opt-cols); gap: 16px; align-items: center; min-height: 70px; padding: 13px 10px; border-bottom: 1px solid #efeff1; transition: background-color .2s; }
.zp-optrow:hover { background: #f7f7f8; }
.zp-optrow__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 34px; color: #fff; background: #1b1b1b; clip-path: var(--zp-slant-sm); transition: background-color .2s; }
.zp-optrow__icon .zp-i { width: 18px; height: 18px; }
.zp-optrow:hover .zp-optrow__icon { background: var(--zp-red); }
.zp-optrow__main { min-width: 0; }
.zp-legacy .zp-optrow__name { margin: 0; font: 700 15px/1.3 var(--zp-head); color: #111; text-transform: none; letter-spacing: 0; }
.zp-optrow__link, .zp-optrow__link:hover, .zp-optrow__link:focus { color: inherit; text-decoration: none; }
.zp-optrow__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.zp-legacy .zp-optrow__link:focus-visible { outline: none !important; box-shadow: none !important; }
.zp-optrow__link:focus-visible::after { outline: 2px solid var(--zp-red); outline-offset: -2px; }
.zp-optrow:focus-within { background: #f7f7f8; }
.zp-optrow__text { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: #5f5f66; }
.zp-optrow__prices { display: grid; grid-template-columns: subgrid; grid-column: 3 / -2; align-items: baseline; margin: 0; }
@supports not (grid-template-columns: subgrid) { .zp-optrow__prices { grid-template-columns: 150px 124px; gap: 16px; } .zp-opts--single .zp-optrow__prices { grid-template-columns: 150px; } }
.zp-optrow__price { margin: 0; text-align: right; }
.zp-optrow__price dt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }   /* the head row labels the columns */
.zp-optrow__price dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zp-optrow__price--s1 dd { font: 800 15px/1.3 var(--zp-head); color: #111; }
.zp-optrow__price--alone dd { font: 600 13px/1.3 var(--zp-body); color: #5f5f66; }
.zp-optrow__price--wide { grid-column: 1 / -1; }
.zp-optrow__price--wide dd { font: 600 13.5px/1.3 var(--zp-body); color: #5f5f66; }
/* free with Stage 1: a slanted red tag instead of a price */
.zp-optrow__incl { display: inline-block; padding: 5px 14px; font: 700 11px/1.2 var(--zp-head); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--zp-red); clip-path: var(--zp-slant-sm); }
.zp-optrow__go { display: inline-flex; justify-content: flex-end; color: #a1a1aa; transition: color .2s, transform .2s var(--zp-ease); }
.zp-optrow__go .zp-i { width: 16px; height: 16px; }
.zp-optrow:hover .zp-optrow__go, .zp-optrow:focus-within .zp-optrow__go { color: var(--zp-red); transform: translateX(3px); }
.zp-opts__note { margin: 12px 0 0; padding: 0 10px; font-size: 12.5px; line-height: 1.5; color: #5f5f66; }
/* emission-related options (DPF, EGR, AdBlue …): their own group after the others – a quiet label row in the head-row
   style – and one neutral note under the list (owner, 2026-12-02) */
.zp-opts__group { margin: 0; padding: 22px 10px 8px; border-bottom: 1px solid #e4e4e7; font: 700 11.5px/1 var(--zp-head); letter-spacing: .1em; text-transform: uppercase; color: #71717a; }
.zp-opts__note--emissions { color: #3f3f46; }
.zp-opts__note--tight { margin-top: 4px; }
/* dark band across the bottom of the plate (over its keyline), rising red wedge (zenter.css → .zp-wedge) */
.zp-opts__foot { --zp-wedge-w: 44%; --zp-wedge-h: 8px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; margin: 22px -29px -27px; padding: 20px 28px 26px; background: var(--zp-graphite); color: #d4d4d8; }
.zp-opts__foottext { display: grid; gap: 3px; margin: 0; font-size: 13.5px; line-height: 1.5; }
.zp-opts__foottext strong { font: 700 15.5px/1.3 var(--zp-head); color: #fff; }
.zp-opts__foottext span { color: #b4b4bb; }
.zp-opts__cta { flex: none; margin: 0 8px; }
/* Narrow plate (phones, and the main column next to the order box at 992–1199 px): the prices go under the name,
   label | value in two aligned columns. Container query – the plate's own width decides, not the viewport. */
.zp-opts { container: zp-opts / inline-size; }
@container zp-opts (max-width: 660px) {
    .zp-opts__head { display: none; }
    .zp-optrow { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 6px 12px; align-items: start; padding: 14px 2px; }
    .zp-optrow:first-child { border-top: 1px solid #e4e4e7; }
    .zp-optrow__icon { width: 36px; height: 30px; }
    .zp-optrow__icon .zp-i { width: 16px; height: 16px; }
    .zp-optrow__go { grid-column: 3; grid-row: 1; align-self: start; padding-top: 2px; }
    .zp-optrow__prices { grid-column: 2 / 4; grid-row: 2; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 5px 12px; margin-top: 4px; }
    .zp-optrow__price { display: contents; text-align: left; }
    .zp-optrow__price dt:not(.sr-only) { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; font-size: 12.5px; font-weight: 400; line-height: 1.3; color: #5f5f66; }
    .zp-optrow__price dd { justify-self: start; }
    .zp-optrow__price--wide dd { grid-column: 1 / -1; }
    .zp-optrow__price--alone dd { font-size: 12.5px; }
    .zp-optrow__incl { padding: 4px 11px; font-size: 10px; }
    .zp-opts__note { padding: 0 2px; }
    .zp-opts__group { padding: 20px 2px 8px; border-bottom: 0; }
}
@container zp-opts (max-width: 480px) {
    .zp-opts__foot { flex-direction: column; align-items: stretch; }
    .zp-opts__cta { white-space: normal; text-align: center; }
}
@media (max-width: 575px) { .zp-opts__foot { margin: 20px -17px -21px; padding: 18px 16px 26px; } }
}
.zp-card .zp-disclaimer { margin: 16px 0 0; max-width: none; }
.zp-dyno img { width: 100%; border: 1px solid #e5e5e5; }
.zp-readlist { margin: 0; padding: 0; list-style: none; }
.zp-readlist li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14.5px; }
.zp-checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.zp-checklist li { display: flex; gap: 12px; font-size: 15px; line-height: 1.6; color: #3f3f46; }
.zp-checklist .zp-i { width: 26px; height: 22px; margin-top: 1px; padding: 3px 5px; color: #fff; background: var(--zp-red); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.zp-checklist strong { color: #111; }
.zp-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin: 0; padding: 0; list-style: none; }
.zp-reasons li { display: flex; gap: 14px; }
.zp-reasons__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 34px; font: 800 15px/1 var(--zp-head); color: #fff; background: #1b1b1b; clip-path: var(--zp-slant-sm); }
.zp-legacy .zp-reasons h3 { font: 700 15.5px/1.35 var(--zp-head); color: #111; margin: 4px 0 4px; text-transform: none; }
.zp-reasons p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--zp-text); }
@media (max-width: 767px) { .zp-reasons { grid-template-columns: 1fr; } }
.zp-engine .zp-reviews { margin-top: 0; }
.zp-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.zp-related a { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid #ececec; color: #111; }
.zp-related a:hover, .zp-related a:focus { border-color: var(--zp-red); color: #111; text-decoration: none; }
.zp-related strong { font: 700 14px/1.3 var(--zp-head); }
.zp-related span { font-size: 12.5px; color: var(--zp-red); }
.zp-related__all { margin: 14px 0 0; font-size: 14px; }
.zp-related__all a { color: var(--zp-red); font-weight: 600; }
/* dark plate + rising wedge (zenter.css → Zenter plates) – no red top strip, no shadow */
.zp-ordercard { --zp-cut: 22px; padding: 24px 22px 34px; color: #d4d4d8; }
.zp-legacy .zp-ordercard__title { font: 800 19px/1.25 var(--zp-head); color: #fff; margin: 0 0 14px; text-transform: none; }
.zp-ordercard__facts { margin: 0 0 18px; font-size: 13.5px; }
.zp-ordercard__facts div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.zp-ordercard__facts dt { font-weight: 400; color: #a1a1aa; }
.zp-ordercard__facts dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.zp-ordercard__cta { display: flex; margin: 0 8px; padding: 0 12px; gap: 8px; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.zp-ordercard .zp-price-alt { display: block; margin-top: 2px; }
.zp-ordercard__login { margin: 12px 0 14px; text-align: center; font-size: 13.5px; }
.zp-ordercard__login a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.zp-ordercard__notes { display: grid; gap: 6px; margin: 0; padding: 14px 0 0; list-style: none; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08); }
.zp-ordercard__notes li { display: flex; gap: 8px; align-items: flex-start; }
.zp-ordercard__notes .zp-i { width: 16px; height: 16px; margin-top: 2px; color: var(--zp-red-on-dark); }
@media (max-width: 991px) { .zp-engine__grid { grid-template-columns: 1fr; } .zp-engine__side { position: static; } }
.zp-engine-contact { padding: 8px 0 88px !important; }
.zp-engine-contact { scroll-margin-top: 96px; }   /* "Ask for a price" (option on request) lands below the sticky header */
/* dark plate + rising wedge (zenter.css → Zenter plates) */
.zp-askbox { --zp-cut: 24px; --zp-wedge-h: 12px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px 40px; align-items: center; padding: 30px 36px 44px 32px; color: #d4d4d8; }
.zp-legacy .zp-askbox__title { font: 800 22px/1.25 var(--zp-head); color: #fff; margin: 0 0 10px; text-transform: none; }
.zp-askbox p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; }
.zp-askbox .zp-live strong { color: #fff; }
.zp-askbox .zp-live.is-open strong { color: #6ee7b7; }
.zp-askbox__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.zp-askbox__list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); overflow-wrap: anywhere; }
.zp-askbox__list a:hover, .zp-askbox__list a:focus { color: #fff; border-color: var(--zp-red-on-dark); text-decoration: none; }
.zp-askbox__list .zp-i { color: var(--zp-red-on-dark); }
@media (max-width: 767px) { .zp-askbox { --zp-cut: 18px; --zp-wedge-h: 10px; grid-template-columns: 1fr; padding: 24px 18px 36px; } .zp-engine-contact { padding-bottom: 96px !important; } }

@media (max-width: 575px) {
    .zp-subheader--engine .zp-arrow { display: none; }
}

/* Measured results (verified Zenter dyno runs – App\Support\Catalog\DisplayFigures): badge, note, chart gallery. */
.zp-pills > li.zp-pill-badge--measured { background: var(--zp-red); color: #fff; font-weight: 600; }
.zp-pills > li.zp-pill-badge--measured .zp-i { color: #fff; }
/* note with a full-height graphite glyph cell (same build as the warning notes in zenter.css) – square, chamfered */
.zp-measured-note { display: flex; align-items: stretch; gap: 0; margin: 18px 0 0; padding: 12px 14px 12px 0; font-size: 13.5px; line-height: 1.55; color: #3f3f46; background: #fafafa; border: 1px solid #e5e5e5; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.zp-measured-note > .zp-i { box-sizing: content-box; flex: none; align-self: stretch; width: 18px; height: auto; min-height: 18px; margin: -12px 14px -12px 0; padding: 0 11px; color: #fff; background: #1b1b1b; }
.zp-measured-note strong { color: #111; }
.zp-power__tag { display: flex; align-items: center; gap: 4px; margin-top: 3px; font: 600 11px/1.2 var(--zp-body); letter-spacing: .02em; color: #111; text-transform: none; }
.zp-power__tag .zp-i { width: 13px; height: 13px; color: var(--zp-red); }
/* catalogue (licensed / partner) figures: "indicative" – quieter than our own measured / tuner tags */
.zp-power__tag--muted { font-weight: 500; color: var(--zp-muted); }
.zp-enginetable small.zp-measured-tag { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; font-weight: 600; color: #111; }
.zp-measured-tag .zp-i { width: 13px; height: 13px; color: var(--zp-red); }
.zp-dyno__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.zp-dyno img + .zp-dyno__gallery { margin-top: 18px; }
.zp-dyno__thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border: 1px solid #e5e5e5; transition: border-color .2s; }
.zp-dyno__thumb:hover, .zp-dyno__thumb:focus { border-color: var(--zp-red); }
.zp-dyno .zp-dyno__thumb img { width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; }
.zp-dyno__pdf { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font: 700 13px/1 var(--zp-head); color: #111; }
.zp-dyno__pdf .zp-i { width: 30px; height: 30px; color: var(--zp-red); }
.zp-dyno__caption { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--zp-muted); }
.zp-dyno__caption strong { display: block; font: 700 14px/1.3 var(--zp-head); color: #111; }

/* ---------- Catalogue index / make: short intro ---------- */
.zp-catalog__intro { max-width: 820px; margin: 0 0 26px; font-size: 15.5px; line-height: 1.65; color: #3f3f46; }

/* ---------- Engine page: compact order card under the figures (phones) ---------- */
.zp-quickorder { display: none; }
@media (max-width: 767px) {
    /* dark plate + rising wedge (zenter.css → Zenter plates) – no red top strip */
    .zp-quickorder { --zp-cut: 16px; --zp-wedge-h: 8px; display: block; padding: 18px 18px 32px; color: #d4d4d8; }
    .zp-legacy .zp-quickorder__title { font: 800 17px/1.25 var(--zp-head); color: #fff; margin: 0 0 10px; text-transform: none; }
    .zp-quickorder__rows { margin: 0 0 16px; padding: 0; list-style: none; }
    .zp-quickorder__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .zp-quickorder__stage { flex-shrink: 0; font: 800 15px/1.25 var(--zp-head); color: #fff; }   /* "Stage 2" never breaks */
    .zp-quickorder__stage small, .zp-quickorder__price small { display: block; margin-top: 2px; font: 600 12px/1.3 var(--zp-body); color: #a1a1aa; }
    .zp-quickorder__price { text-align: right; }
    .zp-quickorder__price strong { font: 800 16px/1.2 var(--zp-head); color: var(--zp-red-on-dark); white-space: nowrap; }
    .zp-quickorder__cta { display: flex; margin: 0 8px; padding: 0 14px; gap: 8px; font-size: 13px; letter-spacing: .02em; white-space: nowrap; text-align: center; }
    .zp-quickorder__login { margin: 12px 0 0; text-align: center; font-size: 13.5px; }
    .zp-quickorder__login a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
    /* the compact card replaces the two stage cards on phones (same prices and links) */
    .zp-stagecards { display: none; }
}

/* Related engines: the source of the Stage 1 gain */
.zp-related span small { margin-left: 4px; color: var(--zp-muted); font-size: 11.5px; }

/* Rating line under the order card */
.zp-engine__side .zp-ratingline { justify-content: flex-start; margin: 14px 2px 0; font-size: 13px; }
.zp-related li { display: flex; }
.zp-related li > a { flex: 1 1 auto; }

/* Links to the ECU / engine-code / gearbox pages (engine page, model and generation lists, catalogue index). */
.zp-seolinks .zp-readlist li:last-child { border-bottom: 0; }
.zp-seolinks .zp-readlist span { color: var(--zp-muted); }
.zp-seolinks .zp-readlist a { font-weight: 700; color: var(--zp-red); }
.zp-seo-modelecus { margin: 0 0 40px; }
.zp-seo-modelecus .zp-related span { color: var(--zp-muted); }
.zp-catalog__more a { --zp-wedge-w: 34%; }   /* ECU / engine-code / gearbox entry points: a short red wedge (no top strip) */

/* ---------- Engine page: first screen on phones and tablets (CRO review P0-6) ----------
   Breadcrumb in one line, H1, figures with their source label, the price line, ONE action ("Send your file for a quote")
   + a call button and one reassurance line. Rendered with the page (no layout shift); desktop keeps the sticky order card. */
.zp-heroorder { display: none; }
.zp-figs__s1 small { margin-left: 4px; }
@media (max-width: 991px) {
    .zp-heroorder { display: block; max-width: 560px; margin: 18px 0 0; }
    .zp-heroorder__price { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #d4d4d8; }
    .zp-heroorder__price strong { font: 800 17px/1.2 var(--zp-head); color: #fff; white-space: nowrap; }
    .zp-heroorder__price span { white-space: nowrap; }
    .zp-heroorder__ctas { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin: 0 8px; }
    .zp-heroorder__cta { min-width: 0; padding: 0 14px; white-space: nowrap; }
    .zp-heroorder__call { padding: 0 18px; }
    .zp-heroorder__trust { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
    .zp-heroorder__trust span { white-space: nowrap; }
    .zp-subheader--engine .zp-pills { margin-top: 16px; }
}
@media (max-width: 767px) {
    .zp-crumbs ol { display: none; }
    .zp-crumbs__back { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .zp-crumbs__back .zp-i { flex: none; width: 14px; height: 14px; color: var(--zp-red-on-dark); }
    .zp-crumbs__back:hover, .zp-crumbs__back:focus { color: #fff; }
    .zp-subheader--engine .zp-subheader__eyebrow { display: none; }   /* the one-line breadcrumb names the car already */
    .zp-subheader--engine .zp-subheader__sub { margin-bottom: 0; font-size: 15px; line-height: 1.45; }
    .zp-subheader--engine .zp-figs__s1 { display: block; margin-top: 2px; }
    .zp-heroorder__price { font-size: 13.5px; }
    .zp-heroorder__price strong { font-size: 16px; }
    .zp-heroorder__ctas { gap: 12px; }
    .zp-heroorder__cta { font-size: 13px; letter-spacing: .02em; gap: 8px; }
    .zp-heroorder__call span { display: none; }   /* icon only next to the main action on phones (aria-label on the link) */
    .zp-heroorder__call { width: 56px; padding: 0; }
}
/* the order card under the figures: a quiet line under its button */
.zp-quickorder__note { margin: 10px 0 0; text-align: center; font-size: 12.5px; line-height: 1.45; color: #a1a1aa; }
