/* The catalogue's listing pages on the shop (served by the catalogue API with the markup it draws, so a change to one
 * ships with the other). Built on the design system the shop's theme loads (.pill, .btn, .input, .drawer,
 * .os-pagination) and on the theme's tokens (--primary, --accent, --price, --surface*, --border*, --text*,
 * --tile-bg, --shape-*): light and dark come with the theme. Nothing moves when a filter is chosen: counts reserve
 * their width, rows have a fixed height, a value at 0 stays in place, dimmed. */

.pc { color: var(--text); font-family: var(--font-body); }
/* The design system's chevron (OSDS .os-select-chevron: the polyline 6 9 12 15 18 9, 14 px, the muted text colour,
   turned over while open) for the carets CSS draws - a folding group's head, the waiting bike step, the touch bike
   field: as a mask, so it takes the colour of the text it stands in. Borders turned 45 degrees and the angle-quote glyph read as
   other arrows than the selects' beside them (Chapa, 2026-10-16: "винаги ... стрелката я омазваш"). */
:root { --pc-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.pc a { text-underline-offset: 2px; }
.pc img { max-width: 100%; }

/* ── head ── */
.pc-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; padding: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.pc-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-dim); }   /* glyph-ok: a trail's separator, not a control */
.pc-crumbs a { color: var(--text-muted); text-decoration: none; }
.pc-crumbs a:hover { color: var(--primary); text-decoration: underline; }
.pc-crumbs [aria-current] { color: var(--text); }
.pc-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.pc-exit { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--primary); text-decoration: none; white-space: nowrap; }
.pc-exit svg { flex: 0 0 auto; }
.pc-exit:hover { text-decoration: underline; }
.pc-title { display: flex; align-items: center; gap: 16px; margin: 10px 0 18px; min-height: 40px; }
.pc-h1 { margin: 0; font: 700 28px/1.2 var(--font-body); letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; }
/* A store's own words, under its name: they stood above the trail as the page's first line. */
.pc-lead { max-width: 72ch; margin: -6px 0 20px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.pc-title-logo { flex: 0 0 auto; height: 48px; width: auto; max-width: 140px; object-fit: contain; background: transparent; border: 0; border-radius: var(--shape-sm); padding: 0; box-sizing: border-box; }
.pc-tiles { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
/* A sub-category is its picture on the picture tile and its name under it - no white box round it, as the product
   cards (Chapa, 2026-10-16: "тук пак има бял фон"); a pointer rings the picture and the picture comes closer. */
.pc-tile { box-sizing: border-box; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; text-align: center; text-decoration: none; color: var(--text); }
.pc-tile:hover { color: var(--text); }
.pc-tile-pic { box-sizing: border-box; width: 100%; aspect-ratio: 1 / 1; padding: 14px; display: grid; place-items: center; overflow: hidden; background: var(--tile-bg); border-radius: var(--shape-md); transition: box-shadow .2s cubic-bezier(.2, 0, 0, 1); }
.pc-tile-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s cubic-bezier(.2, 0, 0, 1); }
.pc-tile:hover .pc-tile-pic, .pc-tile:focus-visible .pc-tile-pic { box-shadow: inset 0 0 0 2px var(--primary); }
.pc-tile:hover .pc-tile-pic img { transform: scale(1.06); }
.pc-tile:hover .pc-tile-name { color: var(--primary); }
.pc-tile-name { font-weight: 600; font-size: 14px; line-height: 1.3; }   /* a name wraps at its spaces only, never inside a word */
.pc-tile-n { font-size: 12px; color: var(--text-dim); }

/* ── layout ── */
.pc-body { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.pc-body.is-bare { grid-template-columns: minmax(0, 1fr); }
.pc-body.is-bare > .pc-col { display: none; }
.pc-filters-btn { display: none; }

/* ── the column ── */
.pc-col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 28px; margin-bottom: 8px; }
/* In the phone's drawer its own head says "Филтри": the column's title would say it twice; its clear link stays. */
.pc-drawer .pc-col-title { visibility: hidden; }
.pc-drawer .pc-col-head:not(:has(.pc-clear)) { display: none; }   /* nothing to clear: no empty row above the box */
.pc-col-title { font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
/* "Clear filters" is a link like the others (green): red is for badges, promotions and errors (the shop's colours). */
.pc-clear { font-size: 13px; color: var(--primary); white-space: nowrap; }
.pc-vehicle { background: var(--surface); border: 1px solid var(--border); border-radius: var(--shape-md); padding: 14px; margin-bottom: 14px; }
.pc-vehicle-h { margin: 0 0 10px; font: 700 15px/1.3 var(--font-body); color: var(--text); }
.pc-vehicle-steps { display: grid; gap: 8px; }
.pc-vstep { min-height: 44px; }
/* One height for every step - a waiting one, the design system's select on a mouse, the inline list's field on a touch
   screen were 45.7, 41 and 46.8 px side by side on the home page's finder (2026-10-16): 44 px, the touch target. */
.pc-vstep:empty, .pc-vstep .os-select-trigger, .pc-vstep .pc-isel-field { height: 44px; min-height: 44px; padding-block: 0; box-sizing: border-box; }
/* The next step, waiting for the one above it: the same box as the select it becomes (OSDS .os-select-trigger: its
   background, border, padding and caret), quieter words and caret - it looked like a different control. */
.pc-vstep:empty { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--shape-sm); background: var(--surface-container); color: var(--text-dim); font-size: 14px; cursor: not-allowed; }
.pc-vstep:empty::before { content: attr(data-placeholder); }
.pc-vstep:empty::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: var(--text-dim); -webkit-mask: var(--pc-chev) center / 14px no-repeat; mask: var(--pc-chev) center / 14px no-repeat; }
.pc-vehicle-on { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; background: color-mix(in srgb, var(--primary) 10%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); border-radius: var(--shape-sm); font-weight: 600; }
.pc-vehicle-name { flex: 1 1 auto; min-width: 0; }
.pc-x { flex: 0 0 auto; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; text-decoration: none; color: var(--text-muted); font-size: 20px; line-height: 1; }
.pc-x:hover { background: var(--surface-container-high); color: var(--text); }

.pc-group { border-top: 1px solid var(--border); }
.pc-group:last-of-type { border-bottom: 1px solid var(--border); }
.pc-group-h { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--text); user-select: none; }
.pc-group-h::-webkit-details-marker { display: none; }
.pc-group-h::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: var(--text-muted); -webkit-mask: var(--pc-chev) center / 14px no-repeat; mask: var(--pc-chev) center / 14px no-repeat; transition: transform var(--t-base, .2s) cubic-bezier(0.2, 0, 0, 1); }
.pc-group[open] > .pc-group-h::after { transform: rotate(180deg); }
.pc-group-body { padding: 0 0 12px; }
.pc-ours { margin: 18px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); }

.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list:not(.is-open) > .pc-more-row { display: none; }
.pc-list.is-finding > li { display: none; }
.pc-list.is-finding > li.is-match { display: list-item; }
.pc-nested { padding-left: 12px; border-left: 2px solid var(--border); margin-left: 4px; }
.pc-row, .pc-check { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 6px; margin: 0 -6px; border-radius: var(--shape-sm); text-decoration: none; color: var(--text); font-size: 14px; line-height: 1.3; }
.pc-row:hover, .pc-check:hover { background: var(--surface-container); color: var(--text); }
.pc-row-label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pc-n { flex: 0 0 auto; min-width: 4ch; text-align: right; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.pc-chev { flex: 0 0 auto; color: var(--text-dim); }
.pc-row-here { font-weight: 700; color: var(--primary); }
.pc-tree-path { margin: 0 0 6px; font-size: 13px; line-height: 1.6; }
.pc-tree-path a { color: var(--text-muted); }
.pc-box { flex: 0 0 auto; width: 18px; height: 18px; box-sizing: border-box; border: 2px solid var(--border-strong); border-radius: 4px; background: var(--surface); display: grid; place-items: center; }
.pc-check.is-radio .pc-box { border-radius: 50%; }
.pc-check.is-on .pc-box { border-color: var(--primary); background: var(--primary); }
.pc-check.is-on .pc-box::after { content: ""; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(45deg); }
.pc-check.is-radio.is-on .pc-box { background: var(--surface); }
.pc-check.is-radio.is-on .pc-box::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--primary); transform: none; }
.pc-check.is-on { font-weight: 600; }
.pc-check.is-zero { color: var(--text-dim); }
.pc-logo { flex: 0 0 48px; height: 24px; display: grid; place-items: center; background: #fff; border-radius: 3px; overflow: hidden; }
.pc-logo img { width: 100%; height: 100%; object-fit: contain; }
.pc-more { margin-top: 4px; padding: 6px 0; border: 0; background: none; color: var(--primary); font: 600 13px/1.4 var(--font-body); cursor: pointer; }
.pc-more:hover { text-decoration: underline; }
/* "още 20 · остават 352" and "по-малко" side by side under a long list (2026-10-17). */
.pc-more-bar { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; }
.pc-more-bar[hidden], .pc-more-bar .pc-more[hidden] { display: none; }
.pc-find { margin-bottom: 8px; padding: 8px 12px; font-size: 14px; }
.pc-find-none { margin: 4px 0; font-size: 13px; color: var(--text-dim); }

.pc-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; align-items: end; height: 44px; }
.pc-bar { display: flex; align-items: flex-end; height: 100%; border-radius: 3px; }
.pc-bar span { display: block; width: 100%; background: color-mix(in srgb, var(--primary) 35%, transparent); border-radius: 3px 3px 0 0; transition: background .15s; }
.pc-bar:hover span { background: color-mix(in srgb, var(--primary) 70%, transparent); }
.pc-bar.is-on span { background: var(--primary); }
.pc-bar.is-zero span { background: var(--border); }
.pc-ticks { display: flex; justify-content: space-between; margin: 4px 0 10px; font-size: 11px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.pc-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.pc-range .input { padding: 8px 10px; font-size: 14px; }
.pc-select { padding: 8px 10px; font-size: 14px; cursor: pointer; }
/* A select of the listing (sort, page size, a tyre field): on a mouse it becomes the design system's select (catalog.js
   navSelects - the same control as the bike box beside it, its list in the page's look); on a touch screen and before
   the script it stays the phone's own picker, drawn as the same box with the same chevron. */
.pc-selbox { position: relative; display: block; }
.pc-selbox > .pc-select { -webkit-appearance: none; appearance: none; width: 100%; box-sizing: border-box; padding: 9px 38px 9px 14px; background: var(--surface-container); border: 1px solid var(--border); border-radius: var(--shape-sm); color: var(--text); font-family: var(--font-body); }
.pc-selbox > .pc-select:hover { border-color: var(--border-strong); }
.pc-selbox > .pc-chevron { position: absolute; right: 14px; top: 50%; margin-top: -7px; color: var(--text-muted); pointer-events: none; }
.pc-selbox.is-rich > .pc-select, .pc-selbox.is-rich > .pc-chevron { display: none; }
.pc-selbox .os-select-trigger { padding-block: 9px; }
/* The bike boxes' steps as the system's picker (a touch screen): a whole-width field, the size of the select it stands
   for, its words at 16 px (no iOS zoom). */
/* A touch screen's bike step (catalog.js inlineSelect): the field is the same box as the select it stands for; its list
   opens inside the box, under the field, and pushes what follows down. */
.pc-isel-field { width: 100%; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--shape-sm); background: var(--surface-container); color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pc-isel-field.is-empty .pc-isel-label { color: var(--text-muted); }
.pc-isel-caret { flex: 0 0 auto; width: 14px; height: 14px; background: var(--text-muted); -webkit-mask: var(--pc-chev) center / 14px no-repeat; mask: var(--pc-chev) center / 14px no-repeat; transition: transform .2s cubic-bezier(0.2, 0, 0, 1); }
.pc-isel.is-open .pc-isel-caret { transform: rotate(180deg); }
.pc-isel.is-open .pc-isel-field { border-color: var(--primary); }
.pc-isel-pop { margin-top: 6px; padding: 8px; border: 1px solid var(--border); border-radius: var(--shape-sm); background: var(--surface); }
.pc-isel-pop[hidden] { display: none; }
.pc-isel-find { width: 100%; box-sizing: border-box; min-height: 44px; margin: 0 0 6px; font-size: 16px; }
.pc-isel-find::-webkit-search-cancel-button { display: none; }
.pc-isel-list { list-style: none; margin: 0; padding: 0; max-height: 44vh; overflow-y: auto; overscroll-behavior: contain; }
.pc-isel-list > li { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--shape-xs); font-size: 16px; color: var(--text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pc-isel-list > li[aria-selected="true"] { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.pc-isel-list > li:active { background: color-mix(in srgb, var(--text) 8%, transparent); }
.pc-isel-list > li[hidden] { display: none; }
.pc-isel-none { margin: 8px 10px; color: var(--text-muted); font-size: 14px; }
.pc-vstep > .pc-select, .pp-fit-step > .pc-select { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 12px; font-size: 16px; border-radius: var(--shape-sm); }
.pc-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.pc-chips-h { margin: 4px 0 6px; font-size: 13px; color: var(--text-muted); }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pc-chips .pill, .pc-chiprow .pill, .pc-views .pill { min-height: 36px; text-decoration: none; }

/* ── the tire search (release B4) ── */
/* A segmented control of N parts (OSDS "Segmented pill tabs"): --n parts, --i the chosen one; the indicator slides by
   transform only. */
.pc-seg { position: relative; isolation: isolate; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 100%; padding: 3px; border: 1px solid var(--border); border-radius: var(--shape-pill, 999px); background: var(--surface-container); }
.pc-seg::before { content: ""; position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 2)); border-radius: var(--shape-pill, 999px); background: var(--primary); box-shadow: var(--elev-1, none); transform: translateX(calc(100% * var(--i, 0))); transition: transform 380ms var(--ease-emphasized, cubic-bezier(0.2, 0, 0, 1)); }
.pc-seg .pill { position: relative; z-index: 1; justify-content: center; min-height: 36px; padding: 6px 16px; border: 0; background: transparent; box-shadow: none; color: var(--text-muted); font-size: 13px; white-space: nowrap; cursor: pointer; transition: color 240ms cubic-bezier(0.2, 0, 0, 1); }
.pc-seg .pill::before { display: none; }
.pc-seg .pill.active, .pc-seg .pill.active:hover { background: transparent; color: var(--on-primary, #fff); }
.pc-seg .pill:not(.active):hover { background: transparent; color: var(--text); }
.pc-tire { margin: 0 0 24px; }
.pc-tire-tabs { margin-bottom: 16px; }
/* The panels share one place: the tallest sets the height, a tab change moves nothing (OSDS lesson W). */
.pc-tire-panels { display: grid; }
.pc-tire-panel { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 200ms cubic-bezier(0.2, 0, 0, 1), visibility 0s linear 200ms; }
.pc-tire-panel.is-on { opacity: 1; visibility: visible; transition: opacity 200ms cubic-bezier(0.2, 0, 0, 1), visibility 0s; }
.pc-tire-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; }   /* a two-line label keeps the fields of its row level */
.pc-tire-field { display: grid; gap: 6px; min-width: 0; }
.pc-tire-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.pc-tire-field .pc-selbox { width: 100%; }
.pc-tire-printed { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 14px 0 0; }
.pc-tire-printed strong { font: 700 18px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; color: var(--text); }
.pc-tire-code { max-width: 420px; }
.pc-tire-help { margin: 10px 0 0; font-size: 14px; color: var(--text-muted); max-width: 64ch; }
.pc-tire-bike { margin-top: 12px; }
@media (max-width: 999px) { .pc-tire-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pc-tire-tabs { display: grid; width: 100%; }
  .pc-seg .pill { padding: 6px 8px; font-size: 12px; white-space: normal; text-align: center; line-height: 1.2; }
}
/* ── the brand index (release B5): logos on the catalogue's tiles, no white boxes ── */
.pc-brands-sec { margin: 0 0 28px; }
.pc-brands-h { margin: 0 0 14px; font: 700 20px/1.3 var(--font-body); color: var(--text); }
.pc-brands-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.pc-brands-bar .pc-brands-h { margin: 0; }
.pc-brands-find { width: 280px; max-width: 100%; }
.pc-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.pc-letter { min-width: 36px; min-height: 36px; justify-content: center; text-decoration: none; transition: opacity 180ms; }
.pc-letter.is-off { opacity: .35; pointer-events: none; }
.pc-brands-letter { margin: 18px 0 10px; font: 700 18px/1.2 var(--font-body); color: var(--text-muted); scroll-margin-top: calc(var(--sf-sticky, 61px) + 16px); }
.pc-brand-tiles { margin-bottom: 0; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
.pc-brand-pic { aspect-ratio: 3 / 2; padding: 16px; }
.pc-brand-word { font: 800 16px/1.2 var(--font-body); color: var(--tile-ink, #4F5B66); text-align: center; }
.pc-brands-group[hidden], .pc-brand-tiles > li[hidden] { display: none; }

/* ── one printed catalogue at a page (release B5): the pager, our copy of the page, its articles beside it ── */
.pc-viewer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.pc-viewer-bar.is-bottom { justify-content: center; margin: 20px 0 0; }
.pc-viewer-pager { margin: 0; }
.pc-viewer-pager .pill { text-decoration: none; }
.pc-viewer-pager .os-pagination-arrow.is-off { opacity: .4; }
.pc-viewer-goto { display: flex; align-items: center; gap: 8px; margin: 0 8px; font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.pc-viewer-goto label { display: flex; align-items: center; gap: 8px; }
.pc-viewer-goto .input { width: 5.5em; padding-block: 8px; text-align: center; }
.pc-viewer-dl { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.pc-viewer-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 24px; align-items: start; }
.pc-viewer-spread.is-alone { grid-template-columns: minmax(0, 900px); justify-content: center; }
.pc-viewer-sheet { margin: 0; display: grid; place-items: center; aspect-ratio: 1240 / 1696; background: var(--surface); border: 1px solid var(--border); border-radius: var(--shape-md); overflow: hidden; transition: opacity .2s cubic-bezier(.2, 0, 0, 1); }
.pc-viewer-sheet img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pc-viewer[aria-busy="true"] .pc-viewer-sheet { opacity: .55; }
.pc-viewer-missing { margin: 0; padding: 24px; color: var(--text-muted); text-align: center; }
.pc-viewer-h { margin: 0 0 12px; font: 700 16px/1.3 var(--font-body); color: var(--text); }
.pc-viewer-n { color: var(--text-muted); font-weight: 500; }
.pc-viewer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 999px) { .pc-viewer-spread { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .pc-viewer-bar { justify-content: center; } .pc-viewer-goto { margin: 0 4px; } }
@media (prefers-reduced-motion: reduce) { .pc-viewer-sheet { transition: none; } }

/* ── the home page's bike finder (release B5): the listing's box, on the hero ── */
/* The hero's card is its frame: no second border, background or padding inside it; on a wide screen the three steps
   side by side (the widget's finder), stacked on a phone. */
.pc-finder .pc-finder-box { margin: 0; border: 0; background: transparent; padding: 2px 12px 0; }
@media (min-width: 760px) { .pc-finder .pc-vehicle-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.pc-finder [data-pc-head][hidden], .pc-finder [data-pc-results][hidden] { display: none; }

/* ── the home page's rows of products (release B5) ── */
.pc-car { margin: 0; }
.pc-car-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.pc-car-h { margin: 0; font: 700 22px/1.25 var(--font-body); color: var(--text); }
.pc-car-body { position: relative; }
.pc-car-track { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.pc-car-track::-webkit-scrollbar { display: none; }
.pc-car-track > li { display: flex; scroll-snap-align: start; }
.pc-car-nav { position: absolute; top: 34%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--elev-2, none); cursor: pointer; transition: opacity 180ms, transform 180ms; }
/* Half outside the row, never past the window: at 1280 the page's 16 px side gutter left the right button 2 px wider than
   the window (a sideways scroll). (100% - 100vw) / 2 is the room beside the row; 10 px of it kept for a classic
   scrollbar, which 100vw counts. */
.pc-car-nav.is-prev { left: max(-18px, calc((100% - 100vw) / 2 + 10px)); } .pc-car-nav.is-next { right: max(-18px, calc((100% - 100vw) / 2 + 10px)); }
.pc-car-nav:disabled { opacity: 0; pointer-events: none; transform: scale(.9); }
@media (pointer: coarse), (max-width: 700px) { .pc-car-nav { display: none; } .pc-car-track { grid-auto-columns: 46%; margin-right: calc(-1 * var(--sf-gutter, 16px)); padding-right: var(--sf-gutter, 16px); } }

/* ── the printed catalogues (release B5): covers on tiles, the markets as the design system's chips ── */
.pc-cats-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; align-items: end; margin: 0 0 16px; }
/* The keyword field at the selects' height (37 px, not the input's 41): the three labels on one line. */
.pc-cats-filters .input { padding-block: 9px; }
.pc-cats-markets { grid-column: 1 / -1; }
.pc-cats-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* A chosen chip changes its colours, never its size (the widget's went bold with a double ring: the row moved). */
.pc-cats-chip { gap: 8px; min-height: 36px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; transition: background-color 160ms, border-color 160ms, color 160ms; }
.pc-cats-chip.is-on { background: color-mix(in srgb, var(--primary) 12%, var(--surface)); border-color: var(--primary); color: var(--primary); }
.pc-cats-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.pc-cats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 16px; }
.pc-cats-grid > li[hidden] { display: none; }
.pc-cat-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.pc-cat-cover { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: var(--shape-md); overflow: hidden; background: var(--tile-bg); transition: box-shadow .2s cubic-bezier(.2, 0, 0, 1), transform .2s cubic-bezier(.2, 0, 0, 1); }
.pc-cat-cover img { width: 100%; height: 100%; object-fit: cover; }
.pc-cat-cover-text { padding: 16px; color: #fff; font: 800 18px/1.2 var(--font-body); text-align: center; }
/* A catalogue with no market has no colour: its name on the tile, in the text colour (white on the light tile was invisible). */
.pc-cat-cover:not([style]) .pc-cat-cover-text { color: var(--text); }
.pc-cat-card:hover .pc-cat-cover { box-shadow: 0 0 0 2px var(--primary), var(--elev-2, none); transform: translateY(-2px); }
.pc-cat-card:hover .pc-tile-name { color: var(--primary); }
.pc-cat-markets { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--text-muted); }
.pc-cat-markets > span { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 999px) { .pc-cats-filters { grid-template-columns: minmax(0, 1fr); } .pc-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .pc-cat-cover { transition: none; } .pc-cat-card:hover .pc-cat-cover { transform: none; } }

/* ── a promotion's landing (release B5) ── */
.pc-stream-banner { display: block; width: 100%; height: auto; margin: 0 0 24px; border-radius: var(--shape-md); }
.pc-stream-group { margin: 0 0 24px; }

/* ── the vehicle search page (release B4) ── */
.pc-vs-tabs-wrap .pc-tire-tabs { display: grid; width: 100%; margin-bottom: 12px; }
.pc-vs-field { margin-bottom: 10px; }
.pc-vs-reset { display: inline-flex; margin-top: 4px; }
.pc-vs-search { display: grid; gap: 6px; margin-bottom: 16px; }
.pc-vs-q { display: flex; gap: 8px; }
.pc-vs-q .input { flex: 1 1 auto; min-width: 0; }
.pc-vs-link { margin-top: 10px; }
.pc-vs-table th[scope="row"] a { font-weight: 600; color: var(--text); text-decoration: none; }
.pc-vs-table th[scope="row"] a:hover { color: var(--primary); text-decoration: underline; }
/* On a narrow screen the filters stand above the table (the page has no drawer). */
@media (max-width: 999px) { .pc-vs .pc-col { display: block; } }

/* A long list on a touch screen opens in the box (catalog.js inlineSelect), as the bike steps. */
.pc-selbox.is-rich > .pc-isel { width: 100%; }

/* ── the results ── */
.pc-bar-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 12px; }
.pc-count { margin: 0 auto 0 0; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
/* The two views as one segmented control (OSDS "Segmented pill tabs"): one track, the chosen side filled by an
   indicator that slides (transform only) - two loose pills, one filled, read as two buttons. The indicator is the
   track's ::before at half its width; the second view moves it by its own width. catalog.js moves it on the press and
   keeps this element through the swap, so the slide finishes instead of being redrawn. */
.pc-views { position: relative; isolation: isolate; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border: 1px solid var(--border); border-radius: var(--shape-pill, 999px); background: var(--surface-container); }
.pc-views::before { content: ""; position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 2); border-radius: var(--shape-pill, 999px); background: var(--primary); box-shadow: var(--elev-1, none); transition: transform 380ms var(--ease-emphasized, cubic-bezier(0.2, 0, 0, 1)); }
.pc-views.is-second::before { transform: translateX(100%); }
.pc-views .pill { position: relative; z-index: 1; justify-content: center; padding: 6px 16px; border: 0; background: transparent; box-shadow: none; color: var(--text-muted); font-size: 13px; white-space: nowrap; transition: color 240ms cubic-bezier(0.2, 0, 0, 1); }
.pc-views .pill::before { display: none; }
.pc-views .pill.active, .pc-views .pill.active:hover { background: transparent; color: var(--on-primary, #fff); box-shadow: none; }
.pc-views .pill:not(.active):hover { background: transparent; color: var(--text); }
/* Fixed widths: the server's select and the design system's one that replaces it on a mouse take the same room, so
   the bar does not move when the script runs; a long sort name ends in an ellipsis. */
.pc-sort .pc-selbox { width: 240px; }
.pc-limit .pc-selbox { width: 184px; }
.pc-selbox .os-select-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-chiprow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; }
.pc-chip { gap: 8px; }
.pc-chip svg { flex: 0 0 auto; color: var(--text-muted); }
.pc-chip:hover svg { color: var(--text); }
.pc-results[aria-busy="true"], [data-pc-results][aria-busy="true"] { opacity: .55; transition: opacity .2s .1s; }

.pc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 14px; }
.pc-grid > li { display: flex; }
.pc-card { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--text); }
/* No white box with a border round each product (the widget's look, Chapa 2026-10-16: "този бял фон ме побърква ... всичко
   е по бордъра"): the picture sits on a soft tile, the product inside it with room around it, the words under it on the
   page itself; a hover rings the tile. The picture's own white background turns into the tile (multiply). */
.pc-card-pic { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--tile-bg); border-radius: var(--shape-md); overflow: hidden; transition: box-shadow .15s; }
.pc-card:hover .pc-card-pic { box-shadow: inset 0 0 0 2px var(--primary); }
.pc-card:hover { color: var(--text); }
.pc-card-pic img { width: 100%; height: 100%; object-fit: contain; padding: 10%; box-sizing: border-box; }
.pc-noimg { font-size: 12px; color: var(--tile-ink, #4F5B66); }
.pc-spec, .pc-size { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: var(--shape-xs); background: var(--brand-ink, #2C3640); color: #fff; font: 700 12px/1.6 var(--font-body); }
.pc-size { left: auto; right: 8px; }
.pc-cut { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: var(--shape-xs); background: var(--accent); color: #fff; font: 700 12px/1.6 var(--font-body); }
.pc-card-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; padding: 10px 2px 6px; }
.pc-brand { height: 28px; display: flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .02em; }
/* Fits the shopper's bike (release B4): in the brand row, on the right - the row's height is fixed, so nothing moves. */
.pc-brand { justify-content: space-between; gap: 8px; }
.pc-fit { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--shape-pill, 999px); background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font: 700 11px/1.4 var(--font-body); text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: pc-fade-in 240ms cubic-bezier(0.2, 0, 0, 1); }
.pc-fit span { overflow: hidden; text-overflow: ellipsis; }
.pp-fit-chip { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 4px 10px; border-radius: var(--shape-pill, 999px); background: var(--primary); color: var(--on-primary, #fff); font: 700 12px/1.4 var(--font-body); box-shadow: var(--elev-1, none); animation: pc-fade-in 240ms cubic-bezier(0.2, 0, 0, 1); }
.pp-fit-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes pc-fade-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc-fit, .pp-fit-chip { animation: none; } }
/* A brand's logo in a card, a row and the colour choice: a label of its own, so the dark theme can paint the tile under it. */
.pc-brand-logo { flex: 0 0 auto; display: inline-flex; box-sizing: border-box; height: 28px; border-radius: 3px; }
.pc-brand-logo img { display: block; height: 100%; width: auto; max-width: 96px; object-fit: contain; }
.pc-card-title { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc-variant { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-variant.is-group { color: var(--primary); font-weight: 600; }
.pc-pn { font: 500 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text-dim); }
.pc-card-foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.pc-vat { font-weight: 700; font-size: 18px; color: var(--price); font-variant-numeric: tabular-nums; }
.pc-from { font-size: 12px; color: var(--text-muted); }
.pc-was { font-size: 13px; color: var(--text-dim); }
.pc-net { display: block; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.pc-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.pc-stock.is-ok { color: var(--primary); } .pc-stock.is-ok .pc-dot { background: var(--brand-green, #50AD55); }
.pc-stock.is-wait { color: var(--text-muted); } .pc-stock.is-wait .pc-dot { background: #E0A100; }
.pc-stock.is-none { color: var(--accent-text); } .pc-stock.is-none .pc-dot { background: var(--accent); }
.pc-card-pic .pc-last { position: absolute; left: 8px; top: 8px; }
.pc-last { align-self: flex-start; padding: 1px 8px; border-radius: var(--shape-xs); background: #FFF4D6; color: #6B4E00; font-size: 12px; font-weight: 600; }

/* PE's table (By Parts): the table scrolls in its own frame on a narrow screen, the article column stays. */
.pc-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--shape-md); background: var(--surface); }
.pc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pc-table th, .pc-table td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.pc-table thead th { font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--surface-container-low); white-space: nowrap; }
.pc-table tbody tr:last-child > * { border-bottom: 0; }
.pc-table tbody tr:hover > * { background: var(--surface-container-low); }
.pc-t-item { min-width: 300px; }
.pc-table tbody .pc-t-item { display: flex; gap: 12px; align-items: center; font-weight: 400; }
.pc-t-pic { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; background: var(--tile-bg); border-radius: var(--shape-sm); overflow: hidden; }
.pc-t-pic img { width: 100%; height: 100%; object-fit: contain; }
.pc-t-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc-t-name a { font-weight: 600; color: var(--text); text-decoration: none; }
.pc-t-name a:hover { color: var(--primary); text-decoration: underline; }
.pc-t-vendor { font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text-muted); white-space: nowrap; }
.pc-t-stock { white-space: nowrap; }
.pc-t-stock .pc-last { display: inline-block; margin-left: 6px; }
.pc-t-price { text-align: right !important; white-space: nowrap; }
.pc-t-price .pc-vat { font-size: 16px; }

.pc-empty { padding: 40px 20px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--shape-md); }
.pc-empty-h { margin: 0 0 6px; font-weight: 700; font-size: 18px; }
.pc-empty-p { margin: 0 0 14px; color: var(--text-muted); }
/* A search read as filters: the words it was read from, and the way back to them as text. */
.pc-asked { margin: 0 0 10px; font-size: 14px; color: var(--text-muted); }
.pc-asked a { color: var(--primary); }
/* The values a plain search's words name, above its results ("масло": Маслени филтри, Масла). */
.pc-readas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.pc-readas-h { font-size: 14px; color: var(--text-muted); margin-right: 4px; }
.pc-readas .pill { min-height: 36px; text-decoration: none; }
@media (pointer: coarse), (max-width: 700px) { .pc-readas .pill { min-height: 44px; } }
/* Nothing found (2026-10-17): the rider off the road as on the shop's 404 (theme 0.1.49), smaller, then the way on. */
.pc-empty-scene { position: relative; width: min(100%, 300px); height: 92px; margin: -8px auto 6px; }
.pc-empty-road { position: absolute; left: 0; bottom: 16px; width: 56%; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--primary) 30%); }
.pc-empty-dust { position: absolute; left: 56%; bottom: 13px; display: flex; gap: 4px; }
.pc-empty-dust i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); opacity: .5; }
.pc-empty-dust i:nth-child(2) { opacity: .35; transform: translateY(-3px); }
.pc-empty-dust i:nth-child(3) { opacity: .2; transform: translateY(-7px); }
.pc-moto { position: absolute; left: 58%; bottom: 22px; width: 48px; height: 28px; color: var(--text); transform-origin: 0 100%; transform: scale(1.6) rotate(-14deg); animation: pc-hop 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.pc-moto-body { position: absolute; inset: 0; display: block; }
.pc-moto-w { position: absolute; top: 14px; width: 14px; height: 14px; animation: pc-spin 1.1s linear infinite; }
.pc-moto-w svg { display: block; }
.pc-moto-w.is-rear { left: 3px; }
.pc-moto-w.is-front { left: 31px; }
.pc-moto .pc-moto-tank { fill: var(--primary); }
@keyframes pc-hop { 0%, 100% { transform: translateY(0) scale(1.6) rotate(-14deg); } 50% { transform: translateY(-6px) scale(1.6) rotate(-18deg); } }
@keyframes pc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pc-moto, .pc-moto-w { animation: none; } }
.pc-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin: 20px 0 0; }
.pc-empty-link { font-weight: 600; color: var(--primary); }
.pc-empty-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 8px 0 0; }
.pc-empty-row .pill { text-decoration: none; }
.pc-dim { color: var(--text-dim); font-weight: 400; }
.pc-paging { margin-top: 28px; }
.pc-paging .pill { text-decoration: none; }

/* ── the phone: the column is a drawer, opened by the Filters button beside the count ── */
.pc-drawer { padding: 0; }
.pc-drawer[open] { display: flex; flex-direction: column; }
/* The head lines up with the body (16 px) and holds its close button inside the drawer: OSDS's .drawer-head (4 px at
   the sides) and .drawer-close (-8 px to the right) won over this, so the title sat 4 px from the edge and the button
   and its ring went past the screen's edge (2026-10-16, Chapa on an iPhone: "кръга излиза извън"). */
.pc-drawer .pc-drawer-head { padding: 10px 8px 10px 16px; margin: 0; }
.pc-drawer .drawer-close { margin-right: 0; }
.pc-drawer .drawer-close:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--primary); }
/* The dialog opens on its title (autofocus), not on the close button: a ring on X before anything is touched. */
.pc-drawer-title { font-weight: 700; font-size: 17px; }
.pc-drawer-title:focus { outline: none; }
.pc-drawer-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; }
.pc-drawer-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.pc-show { width: 100%; }
@media (max-width: 999px) {
  .pc-body { grid-template-columns: minmax(0, 1fr); }
  .pc-col { display: none; }
  .pc-filters-btn { display: inline-flex; min-height: 40px; padding: 8px 14px; }
  .pc-h1 { font-size: 22px; }
  /* One row of sub-categories that scrolls sideways: the listing stays near the top of the screen. */
  .pc-tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 132px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; margin-right: calc(-1 * var(--sf-gutter, 16px)); padding-right: var(--sf-gutter, 16px); scrollbar-width: thin; }
  .pc-tiles > li { scroll-snap-align: start; }
  .pc-tile-pic { padding: 10px; }
  .pc-tile-name { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* One row: every tile is as tall as the tallest, so a three-line name (off the screen) left a band under the ones in
     view - two lines at most, and less room under the row. */
  .pc-tiles { margin-bottom: 16px; }
}
@media (max-width: 640px) {
  /* The Filters button beside the sort; under them the count and the two views. */
  .pc-bar-top { gap: 10px 8px; }
  .pc-filters-btn { order: 1; flex: 0 0 auto; }
  .pc-sort { order: 2; flex: 1 1 200px; min-width: 0; }   /* 200 px: the count cannot join this row and squeeze it */
  .pc-sort .pc-selbox { width: auto; }
  .pc-count { order: 3; flex: 1 1 auto; margin: 0; }
  .pc-views { order: 4; flex: 0 0 auto; }
  .pc-views .pill { padding: 6px 12px; }
  .pc-limit { display: none; }
  /* By Parts on a phone: each article is a block - picture and name, then the maker's number and the stock, the price
     on the right - instead of a table that scrolled sideways with the price and stock off the screen. */
  .pc-results .pc-table-wrap { overflow: visible; }
  .pc-results .pc-table, .pc-results .pc-table tbody { display: block; }
  .pc-results .pc-table thead { display: none; }
  .pc-results .pc-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; padding: 12px; border-bottom: 1px solid var(--border); }
  .pc-results .pc-table tbody tr:last-child { border-bottom: 0; }
  .pc-results .pc-table tbody tr > * { padding: 0; border: 0; background: none; }
  .pc-results .pc-table tbody tr:hover > * { background: none; }
  .pc-results .pc-table tbody .pc-t-item { grid-column: 1 / -1; min-width: 0; margin-bottom: 4px; }
  .pc-results .pc-table .pc-t-vendor { grid-column: 1; padding-left: 76px; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  .pc-results .pc-table .pc-t-vendor:empty { display: none; }
  .pc-results .pc-table .pc-t-vendor::before { content: attr(data-label) ": "; font-family: var(--font-body); color: var(--text-dim); }
  .pc-results .pc-table .pc-t-brand { display: none; }
  .pc-results .pc-table .pc-t-stock { grid-column: 1; padding-left: 76px; white-space: normal; }
  .pc-results .pc-table .pc-t-price { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pc-card-body { padding: 8px 2px 6px; }
  .pc-vat { font-size: 16px; }
  /* Two cards side by side keep their prices on one line: the stock holds two lines' room ("Външен склад (14-20 дни)"
     wraps on a phone, "В наличност" does not, and the foot sits at the card's bottom). */
  .pc-stock { min-height: 2.6em; align-items: flex-start; line-height: 1.3; }
  .pc-stock .pc-dot { margin-top: .35em; }
}

/* A finger's targets: 44 px on a touch screen or a narrow one (the design system's rule; the widget had it since
   wave B, 2026-09-28) - the filter rows, the views, the sort, the Filters button, "more", a chip, the x on a vehicle. */
@media (pointer: coarse), (max-width: 700px) {
  .pc-row, .pc-check { min-height: 44px; }
  .pc-views .pill, .pc-chips .pill, .pc-chiprow .pill { min-height: 44px; }
  .pc-filters-btn { min-height: 44px; }
  .pc-sort .pc-select, .pc-limit .pc-select, .pc-range .input { min-height: 44px; }
  .pc-selbox > .pc-select { font-size: 16px; min-height: 44px; }   /* the same height as the in-box lists beside it */
  .pc-more { min-height: 44px; }
  .pc-x { width: 44px; height: 44px; }
}

/* Pictures and logos are JPEGs shot on white (PE's). Under a tile or a page that is not pure white the white showed as
   a box (Chapa, 2026-10-16: "where there is a white background it does not look good - on cards, on filters"), so the
   white melts into what is under it (multiply), and nothing is drawn on white:
   - a product's or a category's picture melts into the tile it sits on, in both themes;
   - a brand's logo melts into the page in the light theme; in the dark theme melting into the page would also take its
     black letters, so there it sits on a label of the tile's colour (Chapa, 2026-10-17, gxtmoto.bg's grey #8B9198:
     "с подходящ НЕ бял бекграунд") and melts into that.
   The label is the logo's own element (.pc-logo, .pc-brand-logo, .pp-brand): a picture that multiplies its own
   background melts into the page behind it, which went black in the dark theme. */
.pc-card-pic img, .pc-tile-pic img, .pc-t-pic img, .pc-pair-pic img { mix-blend-mode: multiply; }
.pc-logo { background: transparent; }
html.light .pc-logo img, html.light .pc-brand-logo img { mix-blend-mode: multiply; }
html:not(.light) .pc-logo { background: var(--tile-bg); border-radius: 4px; padding: 2px 3px; box-sizing: border-box; }
html:not(.light) .pc-brand-logo { background: var(--tile-bg); padding: 2px 5px; }
html:not(.light) .pc-brand-logo img { max-width: 86px; }
html:not(.light) .pc-logo img, html:not(.light) .pc-brand-logo img { mix-blend-mode: multiply; }
html:not(.light) .pc-cat-cover:not([style]) .pc-cat-cover-text { color: var(--tile-ink, #4F5B66); }

/* ══ An article's page (release B2) ═══════════════════════════════════════════════════════════════════════════════
   The widget's product page in the shop's look: the pictures on the left, the article on the right (one column on a
   phone), then PE's grid, the texts, the printed catalogue, the rows of other articles, the vehicles it fits. */
.pp-crumbs { margin-bottom: 8px; }
.pp-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 0 0 12px; font-size: 14px; color: var(--primary); text-decoration: none; }
.pp-back:hover { text-decoration: underline; }
.pp-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 48px; align-items: start; }

.pp-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* A wide screen: the thumbnails in a column beside the picture, the picture as large as the column allows. */
@media (min-width: 1000px) {
  .pp-gallery:has(.pp-thumbs) { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "thumbs main"; gap: 12px; align-items: start; }
  .pp-gallery:has(.pp-thumbs) .pp-main-pic { grid-area: main; }
  .pp-gallery .pp-thumbs { grid-area: thumbs; flex-direction: column; flex-wrap: nowrap; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
  .pp-gallery .pp-thumb { width: 72px; height: 72px; }
  .pp-main-pic { max-height: 640px; }
}
.pp-main-pic { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: var(--shape-md); background: var(--tile-bg); overflow: hidden; cursor: zoom-in; }
.pp-main-pic.is-empty { cursor: default; }
/* The picture fills its box exactly and fits inside it: as a grid item with height:100% it took the picture's own
   height when the box was capped at 640 px, and the box cut its bottom off (Chapa, 2026-10-16: "отрязана е отдолу"). */
.pp-main-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; box-sizing: border-box; mix-blend-mode: multiply; }
.pp-zoom-hint { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: var(--shape-xs); background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--text-muted); font-size: 12px; }
.pp-credit { position: absolute; left: 10px; bottom: 10px; font-size: 11px; color: var(--tile-ink, #4F5B66); }
.pp-thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-thumb { box-sizing: border-box; width: 64px; height: 64px; padding: 0; display: grid; place-items: center; border: 2px solid transparent; border-radius: var(--shape-sm); background: var(--tile-bg); overflow: hidden; cursor: pointer; text-decoration: none; color: var(--tile-ink, #4F5B66); }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-thumb.is-on, .pp-thumb:hover { border-color: var(--primary); }
.pp-video { flex-direction: column; gap: 0; font-size: 18px; }
.pp-video-l { font-size: 11px; }
.pp-video-ic { width: 18px; height: 18px; }
/* A printed catalogue's page in the strip: its picture, with a small tag that says what it is. */
.pp-cpage { position: relative; }
.pp-thumb.pp-cpage img { object-fit: cover; object-position: top; }
.pp-cpage-l { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 2px; font-size: 9px; line-height: 1.3; text-align: center; color: var(--text-muted); background: color-mix(in srgb, var(--surface) 88%, transparent); }

.pp-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pp-brand { align-self: flex-start; display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; border-radius: var(--shape-sm); background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
a.pp-brand:hover { opacity: .8; }
.pp-brand img { height: 28px; width: auto; max-width: 120px; object-fit: contain; }
html.light .pp-brand img { mix-blend-mode: multiply; }
html:not(.light) .pp-brand:has(img) { padding: 0 8px; background: var(--tile-bg); }
html:not(.light) .pp-brand img { mix-blend-mode: multiply; }
.pp-h1 { margin: 0; font: 700 30px/1.2 var(--font-body); letter-spacing: -0.015em; color: var(--text); overflow-wrap: anywhere; }
.pp-raw { margin: -4px 0 0; font-size: 13px; letter-spacing: .01em; color: var(--text-muted); }
.pp-notes { margin: 0; font-size: 14px; color: var(--text); }
.pp-hero { align-self: flex-start; margin: 0; padding: 4px 12px; border-radius: var(--shape-sm); background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); font: 700 18px/1.4 var(--font-body); }
/* The article's number: one quiet line, its copy button beside it. */
.pp-meta { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--text-muted); }
.pp-pn { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); }
.pp-meta .pp-icon { width: 32px; height: 32px; border: 0; background: transparent; }
/* Sharing: a quiet row under the buy block, not icons beside the number. */
.pp-share-row { margin: 4px 0 0; }
.pp-share { display: inline-flex; align-items: center; gap: 4px; }
.pp-share-l { font-size: 13px; color: var(--text-muted); margin-right: 2px; }
.pp-icon { box-sizing: border-box; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: var(--shape-sm); background: var(--surface); color: var(--text-muted); cursor: pointer; text-decoration: none; }
.pp-icon:hover { border-color: var(--primary); color: var(--primary); }
.pp-icon.is-done { border-color: var(--brand-green, #50AD55); color: var(--brand-green, #50AD55); }

.pp-variants { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.pp-v-h { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }
.pp-v-h strong { color: var(--text); }
.pp-swatches, .pp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-swatch { box-sizing: border-box; width: 84px; min-height: 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 2px solid var(--border); border-radius: var(--shape-sm); background: var(--surface); color: var(--text); text-decoration: none; font-size: 12px; text-align: center; }
.pp-swatch-pic { display: grid; place-items: center; width: 56px; height: 56px; background: var(--tile-bg); border-radius: var(--shape-xs); }
.pp-swatch-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pp-swatch-l { line-height: 1.25; overflow-wrap: anywhere; }
.pp-swatch:hover { border-color: var(--primary); }
.pp-swatch.is-current { border-color: var(--primary); font-weight: 700; }
.pp-swatch.is-oos { opacity: .55; }
.pp-chip { position: relative; box-sizing: border-box; min-width: 60px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: var(--shape-sm); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.pp-chip.is-wide { min-width: 96px; }
.pp-chip:hover { border-color: var(--primary); color: var(--primary); }
.pp-chip.is-current { border: 2px solid var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--text); }
.pp-chip.is-oos { color: var(--text-dim); border-style: dashed; }
.pp-chip small { font-weight: 400; color: var(--text-muted); }
/* A size's stock: a small count in the chip itself (floating green badges on every corner read as noise, 2026-10-16). */
.pp-chip-n { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pp-chip-n.is-current { color: var(--primary); }
.pp-chip-n.is-oos { color: var(--text-dim); }

/* The buy block: price, stock and when it comes, the button - the page's focus, set apart by space and one line. */
.pp-buy { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--border); }
.pp-buy .pp-spark { display: none; }   /* the price's and stock's history: not a buying fact; kept in the markup for the live refresh */
.pp-price-block { margin-top: 0; }
.pp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.pp-vat { font: 700 34px/1.1 var(--font-body); letter-spacing: -0.01em; color: var(--price); font-variant-numeric: tabular-nums; }
.pp-was { font-size: 17px; color: var(--text-dim); }
.pp-cut { padding: 2px 8px; border-radius: var(--shape-xs); background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.pp-vat-l { font-size: 13px; color: var(--text-muted); }
.pp-net { margin: 2px 0 0; font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pp-spark { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 12px; color: var(--text-muted); }
.pp-spark-g { display: inline-flex; align-items: center; gap: 6px; }
.pp-spark.is-price svg { color: var(--primary); }
.pp-spark.is-stock svg { color: #2d7cd6; }
.pp-spark-v { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.pp-spark-d.is-up { color: var(--accent-text); }
.pp-spark-d.is-down { color: var(--primary); }

.pp-stock-block { display: flex; flex-direction: column; gap: 2px; }
.pp-stock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; }
.pp-stock .pc-dot { width: 10px; height: 10px; }
.pp-stock.is-ok { color: var(--primary); } .pp-stock.is-ok .pc-dot { background: var(--brand-green, #50AD55); }
.pp-stock.is-wait { color: var(--text); } .pp-stock.is-wait .pc-dot { background: #E0A100; }
.pp-stock.is-none { color: var(--accent-text); } .pp-stock.is-none .pc-dot { background: var(--accent); }
.pp-eta { margin: 0; font-size: 13px; color: var(--text-muted); }
.pp-alerts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pp-alert { padding: 2px 10px; border-radius: var(--shape-xs); font-size: 12px; font-weight: 700; }
.pp-alert.is-red { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); }
.pp-alert.is-yellow { background: #FFF4D6; color: #6B4E00; }

.pp-cart { margin-top: 6px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.pp-add { width: 100%; min-height: 52px; font-size: 16px; }
.pp-added .btn { flex: 1 1 180px; }
/* A phone's buy bar (catalog.js stickyBuy): the price and the button at the screen's bottom while the page's own button is
   out of sight. */
.pp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -6px 18px rgba(20, 28, 36, .14); }
.pp-bar[hidden] { display: none; }
.pp-bar-price { font: 700 20px/1.1 var(--font-body); color: var(--price); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-bar-add { flex: 1 1 auto; min-height: 48px; }
@media (min-width: 1000px) { .pp-bar { display: none !important; } }
.pp-add.is-error { background: var(--accent); border-color: var(--accent); }
/* Sold out in both warehouses: a quiet, disabled button that says so - never the green "add" that does nothing. */
.pp-add[data-pp-soldout], .pp-bar-add:disabled { background: var(--surface-container-high); border-color: transparent; color: var(--text-muted); cursor: not-allowed; opacity: 1; box-shadow: none; filter: none; }
.pp-added { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pp-added[hidden] { display: none; }
.pp-added-msg { flex: 1 0 100%; margin: 0; font-weight: 700; color: var(--primary); }
.pp-added .btn { min-height: 48px; text-decoration: none; }

.pp-section { margin-top: 36px; }
.pp-h2 { margin: 0 0 14px; font: 700 20px/1.3 var(--font-body); color: var(--text); }
.pp-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.pp-specs > div { display: grid; grid-template-columns: minmax(120px, 40%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.pp-specs dt { color: var(--text-muted); }
.pp-specs dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.pp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pp-tabs .pill { min-height: 36px; text-transform: uppercase; }
.pp-text { max-width: 860px; font-size: 15px; line-height: 1.6; }
.pp-text p { margin: 0 0 10px; }
.pp-text-title { font-weight: 700; }
.pp-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.pp-page { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 132px; text-decoration: none; color: var(--text); font-size: 13px; text-align: center; }
.pp-page img { width: 120px; height: 160px; object-fit: cover; border: 1px solid var(--border); border-radius: var(--shape-sm); background: var(--tile-bg); }
.pp-page:hover img { border-color: var(--primary); }
.pp-docs { margin: 0; padding-left: 18px; }
.pp-docs li { margin: 4px 0; }
.pp-row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.pp-row-head .pp-h2 strong { color: var(--primary); }
.pp-all { font-size: 14px; color: var(--primary); text-decoration: none; white-space: nowrap; }
.pp-all:hover { text-decoration: underline; }
.pp-row { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 208px; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pp-row > li { display: flex; scroll-snap-align: start; }
/* Descriptions on the left, the short things beside them (a wide screen): catalogue pages, documents, a row of up to
   three articles as a two-column grid. A phone keeps one column, the rows scrolling sideways as everywhere. */
@media (min-width: 1000px) {
  .pp-lower { display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 48px; align-items: start; }
  .pp-row.is-side { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
  .pp-lower-aside .pp-pages { gap: 12px 16px; }
}

.pp-fit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.pp-fit-n { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.pp-csv { min-height: 36px; text-decoration: none; }
.pp-fit-names { margin: 0; color: var(--text-muted); }
.pp-fit-tools { position: sticky; top: var(--sf-sticky, 0px); z-index: 2; display: grid; gap: 10px; padding: 12px 0; background: var(--bg, var(--surface)); }
.pp-fit-check { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pp-fit-step { min-height: 44px; }
.pp-fit-step:empty { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--shape-sm); background: var(--surface-container); color: var(--text-dim); font-size: 14px; cursor: not-allowed; }
.pp-fit-step:empty::before { content: attr(data-placeholder); }
.pp-fit-step:empty::after { content: ""; width: 7px; height: 7px; margin-right: 3px; border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg) translate(-2px, -2px); }
.pp-fit-answer { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-radius: var(--shape-sm); font-weight: 700; }
.pp-fit-answer.is-yes { background: color-mix(in srgb, var(--brand-green, #50AD55) 15%, transparent); color: var(--primary); }
.pp-fit-answer.is-no { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); }
.pp-fit-find { max-width: 420px; padding: 9px 12px; font-size: 14px; }
.pp-fit-tree { border-top: 1px solid var(--border); }
.pp-fit-make { border-bottom: 1px solid var(--border); }
.pp-fit-make > summary, .pp-fit-model > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.pp-fit-make > summary::-webkit-details-marker, .pp-fit-model > summary::-webkit-details-marker { display: none; }
.pp-fit-make > summary::before, .pp-fit-model > summary::before { content: ""; display: inline-block; flex: 0 0 auto; width: 14px; height: 14px; vertical-align: -2px; background: var(--text-muted); -webkit-mask: var(--pc-chev) center / 14px no-repeat; mask: var(--pc-chev) center / 14px no-repeat; transform: rotate(-90deg); transition: transform var(--t-base, .2s) cubic-bezier(0.2, 0, 0, 1); }
.pp-fit-make[open] > summary::before, .pp-fit-model[open] > summary::before { transform: none; }
.pp-fit-make > summary { font-weight: 700; }
.pp-fit-name { flex: 1 1 auto; min-width: 0; }
.pp-fit-meta { flex: 0 0 auto; font-size: 13px; font-weight: 400; color: var(--text-dim); }
.pp-fit-model { margin-left: 22px; border-top: 1px solid var(--border); }
.pp-fit-variants { list-style: none; margin: 0 0 8px 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pp-fit-variants a, .pp-fit-variants span { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--shape-sm); font-size: 13px; color: var(--text); text-decoration: none; }
.pp-fit-variants a:hover { border-color: var(--primary); color: var(--primary); }
.pp-fit-variants .is-hit { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); font-weight: 700; }
.pp-fit-tree mark { background: color-mix(in srgb, #E0A100 35%, transparent); color: inherit; }
.pp-fit-none { color: var(--text-dim); }
.pp-fit-make.is-hidden, .pp-fit-model.is-hidden { display: none; }

/* The safety contacts: a section like the others, folded - its heading a whole row with a caret (it was a line of small
   grey text that opened with a snap; Chapa, 2026-10-16). */
.pp-gpsr { padding: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pp-gpsr > summary { list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.pp-gpsr > summary::-webkit-details-marker { display: none; }
.pp-gpsr > summary .pp-h2 { margin: 0; }
.pp-gpsr-chev { flex: 0 0 auto; width: 22px; height: 22px; color: var(--text-dim); transition: transform .24s cubic-bezier(0.2, 0, 0, 1); }
.pp-gpsr[open] .pp-gpsr-chev { transform: rotate(180deg); }
.pp-gpsr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 4px 0 20px; font-size: 14px; color: var(--text-muted); }
/* A folding section's heading answers a press with the page's own tint (the browser's grey flash is off). */
.pc-group-h, .pp-fit-make > summary, .pp-fit-model > summary, .pp-gpsr > summary { -webkit-tap-highlight-color: transparent; border-radius: var(--shape-xs); padding-inline: 8px; margin-inline: -8px; transition: background-color .12s cubic-bezier(0.2, 0, 0, 1); }
.pc-group-h:active, .pp-fit-make > summary:active, .pp-fit-model > summary:active, .pp-gpsr > summary:active { background: color-mix(in srgb, var(--text) 6%, transparent); }
@media (hover: hover) {
  .pc-group-h:hover, .pp-fit-make > summary:hover, .pp-fit-model > summary:hover, .pp-gpsr > summary:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
}
/* A disclosure that has begun to close turns its caret back at once (catalog.js animates the height). */
.pp-gpsr.is-closing .pp-gpsr-chev { transform: none; }
.pc-group.is-closing > .pc-group-h::after { transform: none; }
.pp-fit-make.is-closing > summary::before, .pp-fit-model.is-closing > summary::before { transform: rotate(-90deg); }
.pp-gpsr-grid p { margin: 0 0 2px; }
.pp-gpsr-h { font-weight: 700; color: var(--text); }

.pp-recent-row { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 136px; gap: 12px; overflow-x: auto; scrollbar-width: thin; }
.pp-recent-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); font-size: 13px; line-height: 1.3; }
.pp-recent-pic { aspect-ratio: 1 / 1; display: grid; place-items: center; border: 0; border-radius: var(--shape-sm); background: var(--tile-bg); overflow: hidden; }
.pp-recent-pic img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; mix-blend-mode: multiply; }
.pp-recent-card:hover .pp-recent-pic { border-color: var(--primary); }
.pp-recent-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pp-lightbox { box-sizing: border-box; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 48px 56px; border: 0; background: rgba(12, 14, 16, .94); color: #fff; }
.pp-lightbox[open] { display: grid; place-items: center; }
.pp-lightbox::backdrop { background: rgba(12, 14, 16, .6); }
.pp-lb-img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #fff; border-radius: var(--shape-sm); }
.pp-lb-close, .pp-lb-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.pp-lb-close:hover, .pp-lb-nav:hover { background: rgba(255, 255, 255, .24); }
.pp-lb-close { top: 12px; right: 12px; }
.pp-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.pp-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.pp-lb-nav[hidden] { display: none; }
.pp-lb-count { position: absolute; top: 22px; left: 20px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.pp-lb-credit { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .7); }
.pp[data-pp-busy] [data-pp-main] { opacity: .6; transition: opacity .2s .1s; }

@media (max-width: 999px) {
  .pp-detail { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pp-gallery { max-width: 560px; }
  .pp-h1 { font-size: 22px; }
  .pp-specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pp-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pp-thumb { flex: 0 0 auto; }
  .pp-share { margin-left: 0; }
  .pp-vat { font-size: 26px; }
  .pp-add, .pp-added, .pp-added .btn { width: 100%; min-width: 0; }
  .pp-fit-check { grid-template-columns: minmax(0, 1fr); }
  .pp-fit-tools { position: static; }
  .pp-row { grid-auto-columns: 46%; gap: 8px; }
  .pp-lightbox { padding: 56px 8px; }
  .pp-lb-nav { top: auto; bottom: 40px; transform: none; }
}
@media (pointer: coarse), (max-width: 700px) {
  .pp-back, .pp-icon, .pp-brand, .pp-tabs .pill, .pp-csv { min-height: 44px; }
  .pp-icon { width: 44px; height: 44px; }
  .pp-chip { min-height: 44px; }
  .pp-thumb { width: 64px; height: 64px; }
  .pp-fit-variants a, .pp-fit-variants span { min-height: 44px; }
}

/* A visitor who asked for less motion: the pictures do not move on a pointer. */
@media (prefers-reduced-motion: reduce) { .pc-tile-pic img { transition: none; } .pc-tile:hover .pc-tile-pic img { transform: none; } }

/* ══ Favourites (2026-10-17) ══════════════════════════════════════════════════════════════════════════════════════════
   The heart: over a card's picture (beside the card's link - a button cannot sit inside a link), after a row's price, at
   the start of an article's share row. A marked one is filled in the shop's red. */
.pc-grid > li, .pp-row > li, .pc-car-track > li { position: relative; }
.pc-fav { box-sizing: border-box; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text-muted); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .15s, background-color .15s, transform .15s cubic-bezier(.2, 0, 0, 1); }
.pc-fav:hover { color: var(--accent-text); }
.pc-fav:active { transform: scale(.9); }
.pc-fav:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.pc-fav.is-on { color: var(--accent); }
.pc-fav.is-on .pc-fav-ic { fill: currentColor; }
li > .pc-card + .pc-fav { position: absolute; top: 8px; right: 8px; z-index: 2; }
/* A discount badge in that corner moves under the heart. */
li:has(> .pc-fav) .pc-card-pic .pc-cut { top: 52px; }
.pc-fav.is-row { width: 32px; height: 32px; margin-left: 10px; vertical-align: middle; }
.pc-fav.is-label { width: auto; height: 36px; padding: 0 12px 0 10px; column-gap: 6px; grid-auto-flow: column; margin-right: 16px; font: 600 14px/1 var(--font-body); color: var(--text); vertical-align: middle; }
.pc-fav.is-label.is-on { color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .pc-fav { transition: none; } .pc-fav:active { transform: none; } }

/* The favourites page. */
.pc-favs-h { margin: 0 0 4px; font: 700 28px/1.2 var(--font-body); letter-spacing: -0.01em; color: var(--text); }
.pc-favs-lead { margin: 0 0 20px; color: var(--text-muted); }
.pc-favs-gone { margin: 16px 0 0; font-size: 14px; color: var(--text-dim); }

/* The bike's tire pairs (pairs=1, 2026-10-18): a front and a rear tire as one row on the page's own background - the
   pictures on their soft tile, no bordered box round anything (Chapa 2026-10-16) - and the price of the two at the end;
   on a phone the two tires one under the other and the price under them. */
.pc-pairs-lead { margin: 0 0 14px; color: var(--text-dim); }
.pc-pairs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pc-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.pc-pair-tire { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--text); text-decoration: none; min-width: 0; }
.pc-pair-tire:hover { color: var(--text); }
.pc-pair-pic { width: 88px; height: 88px; display: grid; place-items: center; background: var(--tile-bg); border-radius: var(--shape-md); overflow: hidden; transition: box-shadow .15s; }
.pc-pair-tire:hover .pc-pair-pic { box-shadow: inset 0 0 0 2px var(--primary); }
.pc-pair-pic img { width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box; }
.pc-pair-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc-pair-pos { font: 700 11px/1.4 var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); }
.pc-pair-body .pc-card-title { min-height: 0; }
.pc-pair-body .pc-vat { font-size: 15px; }
.pc-pair-sum { margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; text-align: right; }
.pc-pair-sum-h { font-size: 12px; color: var(--text-dim); }
@media (max-width: 760px) {
  .pc-pair { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pc-pair-sum { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; text-align: left; }
}

