/* Fixaline brand A facelift (pen/fixaline-a-ui-ux-20261112.pen), 13.11.2026 */
/* Product pages only: every products*/fi-tuotteet* template is wrapped in .a-prod. */

.a-prod { font-family: var(--a-font, "Inter", system-ui, sans-serif); }

/* Headings: white, orange is reserved for purchase buttons */
.a-prod .h { color: var(--a-text, #FFFFFF); letter-spacing: -0.01em; }
.a-prod .t-orange { color: var(--a-text, #FFFFFF); }
.a-prod h2.h::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 16px;
  background: var(--a-cyan, #00A0E2);
}
.a-prod h2.h.a-center::after { margin-inline: auto; }
.a-prod .prose { color: var(--a-muted, #A3A6AD); }
.a-prod .prose a { color: var(--a-cyan, #00A0E2); }

/* Buttons: outline by default, orange only for webshop product (Buy Now) links */
.a-prod .btn {
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--a-text, #FFFFFF);
  border-radius: 0;
  background: transparent;
  color: var(--a-text, #FFFFFF);
  font: 600 16px/1.2 var(--a-font, "Inter", system-ui, sans-serif);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.a-prod .btn:hover { background: var(--a-text, #FFFFFF); color: var(--a-ink, #000000); }
.a-prod .btn[href*="/shop/product/"] {
  border-color: var(--a-orange, #FF8300);
  background: var(--a-orange, #FF8300);
  color: var(--a-ink, #000000);
}
.a-prod .btn[href*="/shop/product/"]:hover { border-color: #E67600; background: #E67600; color: var(--a-ink, #000000); }
.a-prod .btn:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 2px; }

/* Product photos: white background, 6 % padding (halved from 12 %, Olli 13.11.2026) */
.a-prod .pic { margin: 0; background: var(--a-photo-bg, #FFFFFF); }
/* .pic also holds full-bleed photos, so only the white ground here; cards carry the 6 % padding */
.a-prod .pic img { display: block; background: var(--a-photo-bg, #FFFFFF); }
.a-prod .spots { background: var(--a-photo-bg, #FFFFFF); }
.a-prod .spots img { display: block; }
.a-prod .spot { background: var(--a-cyan, #00A0E2); }
.a-prod .spot span { border-radius: 0; background: var(--a-surface, #17181A); color: var(--a-text, #FFFFFF); border: 1px solid var(--a-line, #2B2C30); }
.a-prod .spot:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 3px; }

/* Product card (pen component "Product card") */
.a-prod .card { height: 100%; background: var(--a-surface, #17181A); border: 1px solid var(--a-line, #2B2C30); }
.a-prod .card__link { height: 100%; color: var(--a-text, #FFFFFF); }
.a-prod .card img {
  display: block;
  box-sizing: border-box;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 6%;
  background: var(--a-photo-bg, #FFFFFF);
}
.a-prod .card__name {
  margin: 0;
  padding: 16px 20px 20px;
  font: 700 18px/1.25 var(--a-font, "Inter", system-ui, sans-serif);
  text-align: left;
}
.a-prod .card__name::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 10px;
  background: var(--a-cyan, #00A0E2);
  transition: width .15s ease;
}
.a-prod .card__text { padding: 0 20px 20px; text-align: left; color: var(--a-muted, #A3A6AD); }
.a-prod .card__link:hover .card__name { color: var(--a-text, #FFFFFF); }
.a-prod .card__link:hover .card__name::after { width: 48px; }
.a-prod .card:hover { border-color: var(--a-cyan, #00A0E2); }
.a-prod .card__link:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 2px; }

/* Technical data as a plain table (pen component "Spec table") */
.a-prod .specs { max-width: 960px; margin-inline: auto; border-top: 1px solid var(--a-line, #2B2C30); }
.a-prod .specs > div {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--a-line, #2B2C30);
}
.a-prod .specs dt { font: 400 14px/1.45 var(--a-font, "Inter", system-ui, sans-serif); color: var(--a-muted, #A3A6AD); }
.a-prod .specs dd { font: 500 15px/1.45 var(--a-font, "Inter", system-ui, sans-serif); color: var(--a-text, #FFFFFF); overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .a-prod .specs > div { gap: 12px; padding: 12px 0; }
  .a-prod .specs dt { font-size: 13px; }
  .a-prod .specs dd { font-size: 14px; }
}

/* Video */
.a-prod .video { border: 1px solid var(--a-line, #2B2C30); background: var(--a-ink, #000000); }
.a-prod .embed { background-color: var(--a-ink, #000000); color: var(--a-text, #FFFFFF); }
.a-prod .embed::before { background-color: var(--a-cyan, #00A0E2); }
.a-prod .spots { max-width: 880px; margin-inline: auto; }

/* Model chooser "Which FIXER fits your pipe?" (markup from src/lib/compare.ts) */
.a-prod .fit__head .h { padding-top: 0; }
.a-prod .fit__head .h::before { content: none; }
.a-prod .fit__intro { color: var(--a-muted, #A3A6AD); }
.a-prod .fit__pick select {
  background-color: var(--a-surface-2, #202124);
  border: 1px solid var(--a-field, #73767D);
  color: var(--a-text, #FFFFFF);
}
.a-prod .fit__pick select:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); border-color: var(--a-cyan, #00A0E2); }
.a-prod .fit__chart { background: var(--a-surface, #17181A); border: 1px solid var(--a-line, #2B2C30); }
.a-prod .fit__track { background: var(--a-surface-2, #202124); }
.a-prod .fit__range { border-radius: 0; background: var(--a-cyan, #00A0E2); }
.a-prod .fit__track::after { background: var(--a-text, #FFFFFF); }
.a-prod .fit[data-dn] .fit__bar.is-fit .fit__range { background: var(--a-cyan, #00A0E2); }
.a-prod .fit__name { color: var(--a-text, #FFFFFF); }
.a-prod .fit__name:hover, .a-prod .fit__table thead a:hover { color: var(--a-cyan, #00A0E2); }
.a-prod .fit__value { color: var(--a-muted, #A3A6AD); }
.a-prod .fit__scroll:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); }
.a-prod .fit__table td, .a-prod .fit__table tbody th { border-bottom-color: var(--a-line, #2B2C30); }
.a-prod .fit__table thead th { border-bottom-color: var(--a-line, #2B2C30); }
.a-prod .fit__table td { color: var(--a-text, #FFFFFF); }
.a-prod .fit__table tbody th, .a-prod .fit__table thead th:first-child { background: var(--a-bg, #0B0B0C); }

/* Product page top (src/lib/product.ts): breadcrumb, image on white beside the text, key figures. Pen "EN / FIXER X6 · 1440". */
.a-phero{background:var(--a-bg,#0B0B0C);padding:24px var(--a-gutter,48px) 0;max-width:var(--a-max,1440px);margin:0 auto}
.a-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;padding:0;font-size:13px;color:var(--a-muted,#A3A6AD)}
.a-crumbs li+li::before{content:"/";margin-right:8px;color:var(--a-line,#2B2C30)}
.a-crumbs a{color:var(--a-muted,#A3A6AD);text-decoration:none}
.a-crumbs a:hover,.a-crumbs a:focus-visible{color:var(--a-text,#fff);text-decoration:underline}
.a-crumbs [aria-current]{color:var(--a-text,#fff)}
.a-phero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.a-phero--noimg .a-phero__grid{grid-template-columns:minmax(0,1fr)}
.a-phero__img{order:2;margin:0;background:var(--a-photo-bg,#fff);aspect-ratio:8/7;display:flex;align-items:center;justify-content:center;padding:6%;box-sizing:border-box}
.a-phero__text{order:1;min-width:0}
.a-phero__img img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.a-phero__series{margin:0 0 12px;font-size:13px;color:var(--a-muted,#A3A6AD)}
.a-phero h1.h{margin:0;font-size:56px;line-height:1.05;color:var(--a-text,#fff)}
.a-phero h1.h::after{content:"";display:block;width:56px;height:3px;background:var(--a-cyan,#00A0E2);margin:24px 0}
.a-phero .prose{color:var(--a-muted,#A3A6AD);font-size:17px;line-height:1.6;max-width:56ch}
.a-phero .cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:28px}
.a-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:64px 0 0;border-top:1px solid var(--a-line,#2B2C30)}
.a-figs>div{padding:28px 0 32px;border-bottom:1px solid var(--a-line,#2B2C30)}
.a-figs dd{order:-1;margin:0;font-size:32px;font-weight:700;color:var(--a-text,#fff)}
.a-figs>div{display:flex;flex-direction:column;gap:8px}
.a-figs dt{font-size:13px;color:var(--a-muted,#A3A6AD)}
#specification{scroll-margin-top:120px}
@media (max-width:900px){
 .a-phero{padding:16px 20px 0}
 .a-phero__grid{grid-template-columns:minmax(0,1fr);gap:32px}
 .a-phero__img,.a-phero__text{order:0}
 .a-phero h1.h{font-size:36px}
 .a-figs{grid-template-columns:minmax(0,1fr);margin-top:40px}
 .a-figs>div{padding:18px 0}
 .a-figs dd{font-size:26px}
}

/* Series hero (H1 over background video/photo): twice the former ~274 px desktop height, content centred.
   max() keeps any taller Elementor height (--mh). Mobile keeps its own hero (hide-mobile, ~807 px). */
@media (min-width: 768px) {
  .a-prod section.sec.has-bg:has(> .col h1) { min-height: max(var(--mh, 0px), 548px); justify-content: center; }
}

/* Product note under the card name (src/lib/cards.ts). */
.card__note { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--a-muted, #A3A6AD); font-weight: 400; }

/* Olli 13.11.2026: the note lines up with the card name and has room below it. */
.a-prod .card__note { margin: 0; padding: 0 20px 20px; }
.a-prod .card__name:has(+ .card__note) { padding-bottom: 12px; }

/* Olli 13.11.2026: a dark layer over hero videos so the white text stands out. */
.a-prod section.sec.has-bg:has(h1, [role="heading"], h2, p)::before { opacity: .6; }

/* 360° product view (public/assets/kierto.js, Olli 13.11.2026). */
/* Zoom (Olli 14.11.2026): pinch, double-click/tap, Ctrl + scroll, the button and + − 0 Esc. Plain scroll moves the page. */
.a-spin { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; }
.a-spin__view { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline: 0; }
.a-spin.is-dragging .a-spin__view { cursor: grabbing; }
.a-spin.is-zoomed .a-spin__view { touch-action: none; cursor: move; }
.a-spin img { pointer-events: none; -webkit-user-drag: none; transform-origin: 50% 50%; will-change: transform; }
.a-spin.is-easing img { transition: transform .2s ease; }
.a-spin:has(.a-spin__view:focus-visible) { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 3px; }
.a-spin__hint { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 80px); margin: 0; padding: 7px 10px; background: var(--a-ink, #000); color: #fff; font: 600 12px/1.35 var(--a-font, "Inter", sans-serif); letter-spacing: .02em; pointer-events: none; }
.a-spin__hint span { display: none; }
.a-spin:not(.is-zoomed) .a-spin__mouse:not(.a-spin__zoomed), .a-spin.is-zoomed .a-spin__mouse.a-spin__zoomed { display: inline; }
@media (hover: none) and (pointer: coarse) {
  .a-spin__hint .a-spin__mouse { display: none !important; }
  .a-spin:not(.is-zoomed) .a-spin__touch:not(.a-spin__zoomed), .a-spin.is-zoomed .a-spin__touch.a-spin__zoomed { display: inline; }
}
.a-spin__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: var(--a-ink, #000); color: #fff; cursor: pointer; }
.a-spin__zoom:hover { background: #222; }
.a-spin__zoom:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 2px; }
.a-spin__zoom[aria-pressed="true"] .a-spin__plus { display: none; }

/* Product range on the "Materials, tools & accessories" page (src/lib/catalog.ts, Olli 13.11.2026). */
.a-cat { background: var(--a-bg, #0B0B0C); padding: 72px 0 88px; border-top: 1px solid var(--a-line, #2B2C30); }
.a-prod > .a-cat:first-child { border-top: 0; padding-top: 56px; }
.a-cat__wrap { max-width: var(--a-max, 1280px); margin: 0 auto; padding: 0 var(--a-gutter, 48px); }
.a-cat__title { margin: 0; font: 700 clamp(28px, 3vw, 40px)/1.15 var(--a-font, "Inter", sans-serif); color: var(--a-text, #fff); }
.a-cat__title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--a-cyan, #00A0E2); }
.a-cat__lead { margin: 20px 0 0; max-width: 60ch; color: var(--a-muted, #A3A6AD); font-size: 17px; line-height: 1.6; }
.a-cat__tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-top: 32px; }
.a-cat__tools[hidden] { display: none; }
.a-cat__search { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; max-width: 480px; color: var(--a-muted, #A3A6AD); font: 500 13px var(--a-font, sans-serif); }
.a-cat__search input { min-height: 48px; padding: 10px 14px; background: var(--a-ink, #000); border: 1px solid var(--a-field, #73767D); border-radius: 0; color: var(--a-text, #fff); font: 400 16px var(--a-font, sans-serif); }
.a-cat__search input:focus { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 0; border-color: var(--a-cyan, #00A0E2); }
.a-cat__count { margin: 0; color: var(--a-muted, #A3A6AD); font-size: 14px; }
.a-cat__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.a-cat__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--a-line, #2B2C30); color: var(--a-text, #fff); font: 600 14px var(--a-font, sans-serif); white-space: nowrap; text-decoration: none; }
.a-cat__chip span { color: var(--a-muted, #A3A6AD); font-weight: 500; }
.a-cat__chip:hover { border-color: var(--a-cyan, #00A0E2); }
.a-cat__chip[aria-current="true"] { border-color: var(--a-cyan, #00A0E2); box-shadow: inset 0 -2px 0 var(--a-cyan, #00A0E2); }
.a-cat__chip:focus-visible, .a-cat__card:focus-visible, .a-cat__more a:focus-visible { outline: 2px solid var(--a-cyan, #00A0E2); outline-offset: 2px; }
.a-cat__family { margin-top: 48px; scroll-margin-top: 110px; }
.a-cat__family[hidden] { display: none; }
.a-cat__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.a-cat__head h3 { margin: 0; font: 700 22px/1.2 var(--a-font, sans-serif); color: var(--a-text, #fff); }
.a-cat__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; }
.a-cat__item[hidden] { display: none; }
.a-cat__card { display: flex; flex-direction: column; height: 100%; background: var(--a-surface, #17181A); border: 1px solid var(--a-line, #2B2C30); color: var(--a-text, #fff); text-decoration: none; transition: border-color .15s ease; }
.a-cat__card:hover { border-color: var(--a-cyan, #00A0E2); }
.a-cat__img { display: block; aspect-ratio: 1 / 1; padding: 4%; background: var(--a-photo-bg, #fff); }
.a-cat__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.a-cat__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 14px 14px 0; font: 600 14px/1.35 var(--a-font, sans-serif); }
.a-cat__pn { margin: 6px 14px 0; color: var(--a-muted, #A3A6AD); font-size: 12px; }
.a-cat__shop { margin: auto 14px 14px; padding-top: 12px; color: var(--a-cyan, #00A0E2); font: 600 13px var(--a-font, sans-serif); }
.a-cat__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-cat__empty { margin: 40px 0 0; color: var(--a-muted, #A3A6AD); }
.a-cat__more { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--a-line, #2B2C30); }
.a-cat__more h3 { margin: 0 0 16px; font: 700 20px var(--a-font, sans-serif); color: var(--a-text, #fff); }
.a-cat__more ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.a-cat__more li { break-inside: avoid; padding: 6px 0; }
.a-cat__more a { color: var(--a-text, #fff); text-decoration: underline; text-decoration-color: var(--a-line, #2B2C30); text-underline-offset: 4px; }
.a-cat__more a:hover { text-decoration-color: var(--a-cyan, #00A0E2); }
@media (max-width: 640px) {
  .a-cat { padding: 48px 0 64px; }
  .a-cat__wrap { padding: 0 var(--a-gutter, 20px); }
  /* One swipeable row of chips, edge to edge; the fading right edge (luettelo.js toggles is-end) shows more follow. */
  .a-cat__chips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--a-gutter, 20px); margin: 24px calc(-1 * var(--a-gutter, 20px)) 0; padding: 0 var(--a-gutter, 20px) 8px; scrollbar-width: none; }
  .a-cat__chips::-webkit-scrollbar { display: none; }
  .a-cat__chips:not(.is-end) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
  .a-cat__chips.is-scrolled:not(.is-end) { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 48px), transparent); }
  .a-cat__chips.is-scrolled.is-end { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px); mask-image: linear-gradient(to right, transparent, #000 32px); }
  .a-cat__chip { min-height: 44px; }
  .a-cat__search { flex-basis: 100%; max-width: none; }
  .a-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .a-cat__name { margin: 10px 10px 0; font-size: 13px; }
  .a-cat__pn { margin: 4px 10px 0; }
  .a-cat__shop { margin: auto 10px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .a-cat__card { transition: none; } }

/* ---------------------------------------------------------------------------------------------
   Mobile and tablet (T5.2.3, 13.11.2026): pen "EN / <page> · 390". Left-aligned text, 20 px gutters,
   product image edge to edge, model cards two across, the product carousel as a plain list,
   specification rows stacked, the comparison table scrolls sideways with its first column fixed.
   --------------------------------------------------------------------------------------------- */

/* "Our products" carousel: on tablets and phones every category is visible at once, no arrows. */
@media (max-width: 1024px) {
  .a-prod .carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; overflow: visible; scroll-snap-type: none; }
  .a-prod .carousel .slide { flex: none; min-width: 0; }
  .a-prod .carousel .slide .col { height: 100%; }
  .a-prod .carousel .slide img { width: 100%; max-height: none; }
  .a-prod .carousel-wrap .car-btn { display: none; }
}
@media (max-width: 559px) {
  .a-prod .carousel { grid-template-columns: minmax(0, 1fr); }
}

/* Comparison table: the hint shows only where the table (min 860 px) is wider than the content area. */
.a-prod .fit__swipe { display: none; }
@media (max-width: 960px) {
  .a-prod .fit__swipe { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--a-muted, #A3A6AD); font-size: 14px; }
  .a-prod .fit__swipe::after { content: "\2192"; color: var(--a-cyan, #00A0E2); font-size: 18px; line-height: 1; }
  .a-prod .fit__scroll { overscroll-behavior-x: contain; margin-top: -12px; }
}

@media (max-width: 767px) {
  /* Headings and text start from the left edge, as in the pen; sizes scale with the screen. */
  .a-prod .a-center { text-align: left; }
  .a-prod h2.h.a-center::after { margin-inline: 0; }
  .a-prod h1.h, .a-prod .h--1 { font-size: clamp(30px, 8.5vw, 36px); line-height: 1.1; }
  .a-prod h2.h { font-size: clamp(24px, 7.2vw, 30px); line-height: 1.15; }
  .a-prod .prose { font-size: 16px; line-height: 1.6; }
  .a-prod .prose[style*="--fs:13px"] { font-size: 14px; color: var(--a-muted, #A3A6AD); }

  /* Fixed Elementor heights left empty bands on phones; content sets the height (as on desktop). */
  .a-prod section.sec:not(.has-bg) { min-height: 0; }
  /* A section holding only a heading sits right above its content (Specification, In action, Meet …). */
  .a-prod section.sec:has(> h2.h:only-child), .a-prod section.sec:has(> .col:only-child > h2.h:only-child) { padding-bottom: 0; min-height: 0; }
  .a-prod section.sec:has(> h2.h:only-child) + section.sec, .a-prod section.sec:has(> .col:only-child > h2.h:only-child) + section.sec { padding-top: 24px; }

  /* Series hero over video: shorter, text left-aligned and in normal weight so it reads as a paragraph. */
  .a-prod section.sec.has-bg:has(h1, .h--1) { min-height: min(var(--mhm, 0px), 520px); padding-top: 120px; }
  .a-prod section.sec.has-bg :is(h5, h6).h { font: 400 16px/1.55 var(--a-font, "Inter", system-ui, sans-serif); letter-spacing: 0; text-align: left; }

  /* Category pages (cameras, accessories): the first picture runs edge to edge under the header. */
  .a-prod > section.sec:first-child:has(h1) { padding-top: 0; }
  .a-prod > section.sec:first-child:has(h1) .pic { margin-inline: calc(-1 * var(--gutter, 20px)); }
  .a-prod > section.sec:first-child:has(h1) .pic img { width: 100%; height: auto; }

  /* Product page top (src/lib/product.ts). */
  .a-phero { padding: 0 var(--a-gutter, 20px); }
  /* Breadcrumb as a full-width bar on the image (pen); a-base.css trims the levels and sizes the links. */
  .a-crumbs { margin-inline: calc(-1 * var(--a-gutter, 20px)); padding: 0 var(--a-gutter, 20px); border-bottom: 1px solid var(--a-line, #2B2C30); }
  .a-crumbs ol { align-items: center; min-height: 44px; margin: 0; font-size: 14px; }
  .a-phero__grid { gap: 24px; }
  .a-phero__img { margin-inline: calc(-1 * var(--a-gutter, 20px)); aspect-ratio: 39 / 32; }
  .a-phero h1.h::after { margin: 16px 0 20px; }
  .a-phero .prose { font-size: 16px; }
  .a-phero .cta { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 24px; }
  .a-phero .cta .a-btn--primary { width: 100%; justify-content: center; }
  .a-phero .cta .a-btn--text { justify-content: center; }
  /* Key figures as label / value rows. */
  .a-figs { margin-top: 32px; }
  .a-figs > div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; }
  .a-figs dd { order: 0; font-size: 22px; text-align: right; }
  .a-figs dt { font-size: 14px; }
  .a-spin__hint { left: 8px; bottom: 8px; }

  /* Specification: label above value, the value in body size. */
  .a-prod .specs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
  .a-prod .specs dt { font-size: 13px; }
  .a-prod .specs dd { font-size: 16px; font-weight: 400; line-height: 1.5; overflow-wrap: break-word; }

  /* Model cards two across (series pages and "Meet … series" on model pages). */
  .a-prod .row:has(> .col > .card) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .a-prod .row:has(> .col > .card) > .col { width: auto; justify-content: flex-start; }
  .a-prod .row:has(> .col > .card) .card__name { padding: 12px 12px 14px; font-size: 16px; }
  .a-prod .row:has(> .col > .card) .card__name::after { margin-top: 8px; }
  .a-prod .row:has(> .col > .card) .card__name:has(+ .card__note) { padding-bottom: 8px; }
  .a-prod .row:has(> .col > .card) .card__note { padding: 0 12px 14px; font-size: 14px; }

  /* Tools and accessories links on model pages: compact cards instead of two full-size sections. */
  .a-prod section.sec.row:has(> .col.hide-mobile):has(.cta) { padding-block: 8px; min-height: 0; }
  .a-prod section.sec.row:has(> .col.hide-mobile):has(.cta) > .col:not(.hide-mobile) { gap: 12px; padding: 20px; background: var(--a-surface, #17181A); border: 1px solid var(--a-line, #2B2C30); }
  .a-prod section.sec.row:has(> .col.hide-mobile):has(.cta) h2.h { font-size: 22px; }
  .a-prod section.sec.row:has(> .col.hide-mobile):has(.cta) h2.h::after { margin-top: 12px; }
  .a-prod section.sec.row:has(> .col.hide-mobile):has(.cta) + section.sec:not(:has(> .col.hide-mobile)) { padding-top: 48px; }

  /* Model comparison (src/lib/compare.ts): the table scrolls sideways, the row labels stay put. */
  .a-prod .fit__table { width: max-content; min-width: 0; table-layout: auto; font-size: 14px; }
  .a-prod .fit__table th, .a-prod .fit__table td { padding: 12px 10px; }
  .a-prod .fit__table thead th, .a-prod .fit__table td { width: 148px; min-width: 148px; }
  .a-prod .fit__table thead th:first-child, .a-prod .fit__table tbody th { width: 104px; min-width: 104px; max-width: 104px; padding-left: 0; font-size: 13px; box-shadow: 1px 0 0 var(--a-line, #2B2C30); }
  .a-prod .fit__table thead a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* P-24: FIXER-sarjan vaijerin pituus taulukkona pituuskaavion kuvan sijaan (src/lib/compare.ts). */
.a-prod .fit-len { gap: 20px; max-width: 880px; margin-inline: auto; width: 100%; }
.a-prod .fit-len .h { margin: 0; color: var(--a-text, #fff); font: 700 clamp(24px, 3vw, 32px)/1.2 var(--a-font, "Inter", sans-serif); }
.a-prod .fit-len__table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.a-prod .fit-len__table th, .a-prod .fit-len__table td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--a-line, #2B2C30); color: var(--a-text, #fff); }
.a-prod .fit-len__table thead th { color: var(--a-muted, #A3A6AD); font-weight: 600; font-size: 14px; }
.a-prod .fit-len__table tbody th { font-weight: 600; white-space: nowrap; }
.a-prod .fit-len__table tbody th a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.a-prod .fit-len__table tbody th a:hover, .a-prod .fit-len__table tbody th a:focus-visible { color: var(--a-cyan, #00A0E2); }
@media (max-width: 767px) {
  .a-prod .fit-len__table { font-size: 15px; }
  .a-prod .fit-len__table th, .a-prod .fit-len__table td { padding: 12px 8px; }
  .a-prod .fit-len__table th:first-child, .a-prod .fit-len__table td:first-child { padding-left: 0; }
}
