/* Counter Docket, shared with the Grey Import Spares store (gis-shopify/DESIGN.md). Fonts are self-hosted next to this file. */
@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url('gis-barlow-400.woff2') format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url('gis-barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('gis-barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Azeret Mono'; font-weight: 500; font-display: swap; src: url('gis-azeret-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'Azeret Mono'; font-weight: 700; font-display: swap; src: url('gis-azeret-mono-700.woff2') format('woff2'); }

.ps-catalog, .ps-preview {
  --ps-stock: #fbfcfe;
  --ps-ink: #151b33;
  --ps-band: #ffe14d;
  --ps-red: #c81e25;
  --ps-blue: #1f3a93;
  --ps-blue-deep: #172c70;
  --ps-g1: #eef0f6;
  --ps-g2: #d3d8e4;
  --ps-muted: #515a72;
  --ps-line: #d3d8e4;
  --ps-sans: Barlow, "Helvetica Neue", Arial, sans-serif;
  --ps-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ps-figure: "Azeret Mono", ui-monospace, Menlo, Consolas, monospace;
  --ps-ease: cubic-bezier(.16, 1, .3, 1);
}
.ps-catalog {
  color: var(--ps-ink);
  font: 400 16px/1.45 var(--ps-sans);
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 40px 72px;
}
.ps-catalog *, .ps-preview * { box-sizing: border-box; }
.ps-catalog [hidden], .ps-preview [hidden] { display: none !important; }
.ps-catalog a { color: inherit; text-decoration: none; }
.ps-catalog button, .ps-catalog input { font: inherit; }
.ps-catalog button { cursor: pointer; }
.ps-catalog :focus-visible, .ps-preview :focus-visible { outline: 3px solid var(--ps-ink); outline-offset: 2px; box-shadow: none; }
.ps-preview ::selection { background: var(--ps-band); color: var(--ps-ink); }
.ps-breadcrumbs { display: flex; column-gap: 10px; align-items: center; flex-wrap: wrap; color: var(--ps-muted); font-size: 16px; }
.ps-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ps-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ps-breadcrumbs a:hover { text-decoration-thickness: 2px; }
.ps-breadcrumbs [aria-current] { color: var(--ps-ink); }
.ps-heading { margin: 24px 0 32px; }
.ps-eyebrow { margin: 0 0 8px; font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); }
.ps-heading h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
.ps-description { margin: 0; max-width: 65ch; }
.ps-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--ps-ink); padding-bottom: 12px; margin-bottom: 24px; font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); }
.ps-results-heading > span:first-child { color: var(--ps-ink); }
.ps-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.ps-card { display: flex; flex-direction: column; border: 2px solid var(--ps-ink); background: #fff; overflow: hidden; }
.ps-card-image { aspect-ratio: 1.5; padding: 14px; background: var(--ps-g1); border-bottom: 1px solid var(--ps-g2); display: flex; align-items: center; justify-content: center; }
.ps-card-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ps-card-content { padding: 12px; flex: 1; display: flex; flex-direction: column; transition: background-color 150ms var(--ps-ease); }
.ps-card:hover .ps-card-content { background: var(--ps-band); }
.ps-card-detail { margin: 0 0 4px; font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); overflow-wrap: anywhere; }
.ps-card:hover .ps-card-detail { color: var(--ps-ink); }
.ps-card h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: 0; overflow-wrap: anywhere; }
.ps-card-action { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ps-g2); min-height: 44px; color: var(--ps-blue); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.ps-placeholder { color: var(--ps-muted); font-size: 14px; text-align: center; padding: 32px 16px; }
.ps-placeholder-large { min-height: 400px; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 12px; background: var(--ps-g1); font-weight: 600; }
.ps-placeholder-large span { max-width: 270px; font-weight: 400; }
.ps-diagram-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.ps-diagram-panel { position: sticky; top: 20px; border: 2px solid var(--ps-ink); background: #fff; overflow: hidden; }
.ps-panel-heading { display: flex; justify-content: space-between; gap: 12px; padding: 12px; background: #fff; border-bottom: 2px solid var(--ps-ink); font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); }
.ps-diagram-image { position: relative; background: #fff; }
.ps-diagram-image > img { display: block; width: 100%; height: auto; }
.ps-hotspots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ps-hotspots rect { fill: transparent; stroke: transparent; stroke-width: 2; vector-effect: non-scaling-stroke; cursor: pointer; pointer-events: all; }
.ps-hotspots rect:hover, .ps-hotspots rect:focus-visible, .ps-hotspots rect.ps-highlighted { fill: #ffe14d80; stroke: #151b33; outline: none; }
.ps-hotspots rect.ps-selected { fill: #ffe14dc0; stroke: #151b33; }
.ps-diagram-hint { margin: 0; padding: 12px; border-top: 1px solid var(--ps-g2); font-size: 14px; color: var(--ps-muted); }
.ps-status-dot { display: inline-block; width: 6px; height: 6px; background: var(--ps-ink); margin-right: 7px; vertical-align: 1px; }
.ps-parts-panel { min-width: 0; border: 2px solid var(--ps-ink); background: #fff; overflow: hidden; }
.ps-table-scroll { overflow-x: auto; }
.ps-parts-table { width: 100%; border-collapse: collapse; text-align: left; }
.ps-parts-table th { padding: 12px; font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); border-bottom: 2px solid var(--ps-ink); white-space: nowrap; }
.ps-parts-table th:nth-child(2) { text-align: center; }
.ps-parts-table td { padding: 8px 12px; border-bottom: 1px solid var(--ps-g2); vertical-align: top; transition: background-color 150ms var(--ps-ease); }
.ps-parts-table td:first-child { min-width: 155px; }
.ps-parts-table tr:last-child td { border-bottom: 0; }
.ps-parts-table tr.ps-highlighted td { background: var(--ps-band); }
.ps-parts-table tr.ps-selected td { background: var(--ps-band); }
.ps-parts-table tr.ps-selected td:first-child { box-shadow: inset 4px 0 var(--ps-ink); }
.ps-catalog .ps-part-select { min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--ps-red); font: 700 18px/1.3 var(--ps-figure); font-variant-numeric: tabular-nums; text-align: left; overflow-wrap: anywhere; }
.ps-catalog .ps-part-select:hover { text-decoration: underline; }
.ps-parts-table tr.ps-highlighted .ps-part-select, .ps-parts-table tr.ps-selected .ps-catalog .ps-part-select { color: var(--ps-ink); }
.ps-part-name { display: block; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.ps-part-aka { display: block; margin-top: 2px; font: 500 14px/1.3 var(--ps-figure); font-variant-numeric: tabular-nums; color: var(--ps-muted); overflow-wrap: anywhere; }
.ps-part-status, .ps-part-replacement { display: block; margin-top: 4px; font-size: 14px; color: var(--ps-red); font-weight: 600; }
.ps-required-qty { font: 500 16px/1.45 var(--ps-figure); font-variant-numeric: tabular-nums; text-align: center; padding-top: 20px !important; }
.ps-part-price { display: block; margin-top: 4px; font: 700 16px/1.45 var(--ps-figure); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ps-order { display: flex; align-items: center; gap: 8px; }
.ps-order input { width: 64px; min-height: 48px; border: 2px solid var(--ps-ink); border-radius: 0; padding: 4px; text-align: center; font: 500 16px/1.2 var(--ps-figure); background: #fff; color: var(--ps-ink); }
.ps-order input::-webkit-inner-spin-button { opacity: 1; }
.ps-catalog .ps-add { border: 2px solid var(--ps-blue); border-radius: 0; background: var(--ps-blue); color: #fff; padding: 0 18px; min-height: 48px; min-width: 48px; font-weight: 600; white-space: nowrap; transition: background-color 150ms var(--ps-ease), transform 150ms var(--ps-ease); }
.ps-add span { margin-left: 6px; }
.ps-add:hover { background: var(--ps-blue-deep); border-color: var(--ps-blue-deep); }
.ps-add:active { transform: translateY(1px); }
.ps-add:disabled { background: var(--ps-g2); border-color: var(--ps-muted); color: var(--ps-muted); cursor: not-allowed; }
.ps-notice { margin: 0; border-top: 1px solid var(--ps-g2); padding: 12px; font-size: 14px; color: var(--ps-muted); line-height: 1.5; }
.ps-cart-help { margin: 0; padding: 12px; background: var(--ps-g1); border-bottom: 1px solid var(--ps-g2); font-size: 14px; color: var(--ps-ink); }
.ps-feedback { margin: 0; padding: 0 12px 12px; font-weight: 600; color: var(--ps-ink); }
.ps-feedback:empty { padding: 0; }
.ps-page-nav { margin-top: 24px; display: flex; justify-content: space-between; gap: 20px; }
.ps-page-nav a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; gap: 4px; font-weight: 600; color: var(--ps-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ps-page-nav a:last-child { text-align: right; }
.ps-page-nav a span { font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); text-decoration: none; }
.ps-page-nav a:hover { text-decoration-thickness: 2px; }

/* Shared shell styling; local previews also include the simulated cart. */
.ps-preview { margin: 0; background: var(--ps-stock); color: var(--ps-ink); font: 400 16px/1.45 var(--ps-sans); letter-spacing: 0; accent-color: var(--ps-blue); caret-color: var(--ps-blue); }
.ps-site-header { background: var(--ps-band); color: var(--ps-ink); border-bottom: 2px solid var(--ps-ink); }
.ps-site-header-inner { max-width: 1440px; margin: auto; padding: 12px 16px 14px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
.ps-wordmark { display: inline-flex; align-items: center; min-height: 44px; font: 600 20px/1.1 var(--ps-label); letter-spacing: .04em; text-transform: uppercase; color: inherit; text-decoration: none; }
.ps-wordmark:hover { text-decoration: underline; text-underline-offset: .2em; }
.ps-maker { padding-left: 16px; border-left: 2px solid var(--ps-ink); font: 600 17px/1.2 var(--ps-label); letter-spacing: .08em; text-transform: uppercase; }
.ps-header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.ps-preview-label { font: 600 14px/1.2 var(--ps-label); letter-spacing: .08em; color: var(--ps-ink); }
.ps-demo-cart, .ps-cart-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 2px solid var(--ps-ink); border-radius: 0; background: #fff; color: var(--ps-ink); padding: 0 12px; cursor: pointer; font: 600 16px/1.2 var(--ps-sans); }
.ps-demo-cart:hover, .ps-cart-toggle:hover { background: var(--ps-g1); }
.ps-demo-cart > span, .ps-cart-toggle > span { display: inline-block; background: var(--ps-ink); color: #fff; min-width: 28px; padding: 2px 6px; text-align: center; font: 500 14px/1.4 var(--ps-figure); }
.ps-cart-toggle[hidden] { display: none; }
.ps-preview-banner { padding: 8px 16px; background: var(--ps-g1); border-bottom: 1px solid var(--ps-g2); text-align: center; font: 600 14px/1.3 var(--ps-label); letter-spacing: .06em; color: var(--ps-ink); }
.ps-preview-banner > span { margin-left: 12px; font-weight: 400; letter-spacing: 0; font-family: var(--ps-sans); }
.ps-site-footer { max-width: 1440px; margin: 0 auto; border-top: 2px solid var(--ps-ink); padding: 8px 40px 32px; color: var(--ps-ink); display: flex; align-items: center; gap: 24px; font-size: 14px; }
.ps-footer-brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ps-ink); font: 600 20px/1.1 var(--ps-label); letter-spacing: .04em; }
.ps-site-footer > span:last-child { margin-left: auto; }
.ps-site-footer span a { color: var(--ps-blue); text-underline-offset: .2em; }
.ps-skip { position: absolute; top: -100px; left: 20px; padding: 12px; background: #fff; color: var(--ps-blue); z-index: 10; }
.ps-skip:focus { top: 10px; }
.ps-cart-dialog { max-width: min(480px, calc(100% - 32px)); width: 100%; border: 2px solid var(--ps-ink); padding: 32px; border-radius: 0; color: var(--ps-ink); background: #fff; }
.ps-cart-dialog::backdrop { background: #151b3388; }
.ps-cart-dialog h2 { font-size: 22px; line-height: 1.2; letter-spacing: 0; }
.ps-cart-dialog p { color: var(--ps-muted); }
.ps-cart-dialog ul { padding: 0; list-style: none; }
.ps-cart-dialog li { padding: 12px 0; border-bottom: 1px solid var(--ps-g2); font-family: var(--ps-figure); }
.ps-close { position: absolute; top: 4px; right: 8px; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--ps-ink); font-size: 26px; cursor: pointer; }
.ps-clear-cart { min-height: 48px; border: 2px solid var(--ps-ink); border-radius: 0; background: #fff; color: var(--ps-ink); padding: 0 18px; font-weight: 600; cursor: pointer; }
.ps-clear-cart:hover { background: var(--ps-g1); }
@media (min-width: 750px) {
  .ps-heading h1 { font-size: 32px; }
  .ps-site-header-inner { padding: 14px 40px; }
}
@media (min-width: 1600px) { .ps-diagram-layout { gap: 40px; } }
@media (max-width: 1000px) {
  .ps-diagram-layout { grid-template-columns: 1fr; gap: 24px; }
  .ps-diagram-panel { position: static; }
  .ps-diagram-image { max-width: 650px; margin: 0 auto; }
  .ps-site-footer { padding: 8px 24px 32px; }
}
@media (max-width: 600px) {
  .ps-catalog { padding: 16px 16px 48px; }
  .ps-heading { margin: 16px 0 24px; }
  .ps-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ps-card-image { padding: 8px; }
  .ps-card h2 { font-size: 20px; margin-bottom: 12px; }
  .ps-preview-label { display: none; }
  .ps-preview-banner { padding: 8px 16px; }
  .ps-preview-banner > span { display: block; margin: 4px 0 0; }
  .ps-site-footer { padding: 8px 16px 32px; flex-wrap: wrap; gap: 0 24px; }
  .ps-site-footer > span:last-child { margin-left: 0; }
  /* One stacked card per part: number and name, then the in-model quantity and the order form */
  .ps-parts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ps-parts-table tr { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--ps-g2); }
  .ps-parts-table tr:last-child { border-bottom: 0; }
  .ps-parts-table td { border: 0; padding: 8px 12px; }
  .ps-parts-table td:first-child { grid-column: 1 / -1; min-width: 0; padding-bottom: 0; }
  .ps-required-qty { text-align: left; padding-top: 8px !important; }
  .ps-required-qty::before { content: "In model "; font: 600 14px/1.2 var(--ps-label); letter-spacing: .06em; text-transform: uppercase; color: var(--ps-muted); }
}
@media (prefers-reduced-motion: reduce) { .ps-catalog *, .ps-preview * { transition: none !important; scroll-behavior: auto !important; } }

.ps-shopping-cart { position: fixed; inset: 0 0 0 auto; margin: 0; box-sizing: border-box; width: min(360px, 100vw); height: 100dvh; max-height: 100dvh; max-width: 100vw; padding: 16px; border: 0; border-left: 2px solid var(--ps-ink); border-radius: 0; background: #fff; color: var(--ps-ink); }
.ps-shopping-cart[open] { display: flex; flex-direction: column; gap: 12px; }
.ps-shopping-cart::backdrop { background: #151b3388; }
.ps-shopping-cart header { display: flex; justify-content: space-between; align-items: center; }
.ps-shopping-cart header a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ps-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ps-shopping-cart header button { min-width: 44px; border: 0; background: none; color: var(--ps-ink); font-size: 26px; }
.ps-shopping-cart h2, .ps-shopping-cart p { margin: 0; }
.ps-shopping-cart h2 { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: 0; }
.ps-shopping-cart ul { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow-y: auto; }
.ps-shopping-cart li { padding: 16px 0; border-bottom: 1px solid var(--ps-g2); overflow-wrap: anywhere; }
.ps-shopping-cart li img { float: right; object-fit: contain; margin-left: 8px; }
.ps-shopping-cart li p { margin-bottom: 8px; }
.ps-shopping-cart li div { display: flex; align-items: center; gap: 12px; }
.ps-shopping-cart button { min-height: 44px; min-width: 44px; cursor: pointer; }
.ps-shopping-cart li button { border: 2px solid var(--ps-ink); border-radius: 0; background: #fff; color: var(--ps-ink); font-weight: 600; }
.ps-shopping-cart button:disabled { cursor: default; opacity: .5; }
.ps-shopping-cart footer { border-top: 2px solid var(--ps-ink); padding-top: 16px; }
.ps-shopping-cart footer button { margin-top: 12px; width: 100%; min-height: 56px; background: var(--ps-blue); color: #fff; border: 2px solid var(--ps-blue); border-radius: 0; font-weight: 600; font-size: 18px; }
.ps-shopping-cart footer button:hover:not(:disabled) { background: var(--ps-blue-deep); border-color: var(--ps-blue-deep); }
.ps-shopping-cart footer button:disabled { background: var(--ps-g2); border-color: var(--ps-muted); color: var(--ps-muted); opacity: 1; }

/* Model content: history, service and kit pages (catalog/web/content.html). */
.ps-links { display: flex; flex-wrap: wrap; column-gap: 24px; margin-top: 4px; border-top: 1px solid var(--ps-g2); border-bottom: 1px solid var(--ps-g2); }
.ps-links a, .ps-content a, .ps-related a, .ps-part-status a { color: var(--ps-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ps-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.ps-links a:hover, .ps-content a:hover, .ps-related a:hover { text-decoration-thickness: 2px; }
.ps-content { max-width: 70ch; margin-top: 48px; }
.ps-content h2, .ps-bike h2, .ps-kit-extra h2 { margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ps-ink); font: 600 20px/1.2 var(--ps-label); letter-spacing: .04em; text-transform: uppercase; }
.ps-content p, .ps-content ul, .ps-content ol { margin: 0 0 16px; }
.ps-content ul, .ps-content ol { padding-left: 1.2em; }
.ps-content li { margin-bottom: 8px; }
.ps-content sup { font: 500 12px/1 var(--ps-figure); margin-left: 2px; }
.ps-facts { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.ps-facts th, .ps-facts td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ps-g2); text-align: left; vertical-align: top; }
.ps-facts th { width: 12em; font-weight: 600; }
.ps-sources, .ps-source, .ps-updated, .ps-wrong { font-size: 14px; color: var(--ps-muted); overflow-wrap: anywhere; }
.ps-related { margin-top: 32px; }
.ps-bike { max-width: 70ch; margin-bottom: 24px; }
.ps-bike h2 { margin-top: 0; }
.ps-bike label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.ps-bike select { max-width: 100%; min-height: 48px; border: 2px solid var(--ps-ink); border-radius: 0; padding: 4px 8px; background: #fff; color: var(--ps-ink); font: 500 16px/1.2 var(--ps-figure); }
.ps-bike-hint { margin: 12px 0 0; padding: 12px; background: var(--ps-band); }
.ps-service { max-width: 960px; }
.ps-part-number { display: block; color: var(--ps-red); font: 700 18px/1.3 var(--ps-figure); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ps-kit-include { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; }
.ps-kit-include input { width: 24px; height: 24px; margin: 0; }
.ps-kit-extra, .ps-kit-actions { padding: 12px; border-top: 1px solid var(--ps-g2); }
.ps-kit-extra h2 { margin-top: 0; }
.ps-kit-extra p { margin: 0; }
.ps-kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ps-kit-total { flex-basis: 100%; margin: 0; font-weight: 600; }
.ps-catalog .ps-kit-retry { min-height: 48px; border: 2px solid var(--ps-ink); border-radius: 0; background: #fff; color: var(--ps-ink); padding: 0 18px; font-weight: 600; }
@media (max-width: 600px) {
  .ps-facts th { width: 9em; }
  .ps-content { margin-top: 32px; }
}
