/* The themed catalogue pages (components/themed/catalogue): /{lang}/categories and /{lang}/view-categories in the
   themes modern, darklight and spec. Loaded only by those pages, after themes.css and themed-frame.css.
   Copied from the designer's "Themes 2026-11-15" preview/assets/base.css and layouts.css (sections pageHead,
   codeSearch, categoryTiles, productGrid; his class names and --ol-* tokens), every rule scoped under
   [data-theme] .olt-cat so nothing reaches the classic pages. Additions are marked "stage:":
   - the old stylesheets stay in the document (bootstrap, sitestyles): their global rules for h1-h3, label, code,
     small, ul, table and "body a:hover" are undone inside the pages;
   - real data the preview did not have: the classic technical table inside a card (.pc-tech), the trade customer's
     stock pop-over and add link (.pc-trade), selects in the filters (.fsel), paging (.olt-pages), "Choose groups"
     (.pick), cards without a photo (.pc-nophoto), the loading state (.is-busy).
   No colour is written here: every colour comes from a token (or a mix of a token with transparent). */

/* ---------- shared (base.css) ---------- */
[data-theme] .olt-cat{display:block}
[data-theme] .olt-cat .sec{padding:var(--ol-space-section-y) 0}
[data-theme] .olt-cat h1,[data-theme] .olt-cat h2,[data-theme] .olt-cat h3{font-family:var(--ol-font-display);font-weight:var(--ol-font-display-weight);
  line-height:var(--ol-text-heading-line-height);letter-spacing:var(--ol-text-display-tracking);margin:0;padding:0;color:inherit}
[data-theme] .olt-cat h1{font-size:var(--ol-text-h1)}
[data-theme] .olt-cat h2{font-size:var(--ol-text-h2)}
[data-theme] .olt-cat h3{font-size:var(--ol-text-h3);font-weight:var(--ol-font-heading-weight)}
[data-theme] .olt-cat small{font-size:inherit;color:var(--ol-color-text-muted)}
[data-theme] .olt-cat ul{margin:0;padding:0;list-style:none}
[data-theme] .olt-cat label{display:inline;max-width:none;margin:0;font-weight:inherit}
[data-theme] .olt-cat input[type="checkbox"]{margin:0;width:17px;height:17px;flex:none;accent-color:var(--ol-color-line-strong)}
[data-theme] .olt-cat select{min-height:38px;border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-md);padding:0 8px;
  background:var(--ol-color-surface);color:var(--ol-color-text);font-size:14px;max-width:100%}
[data-theme] .olt-cat a:hover,[data-theme] .olt-cat a:focus{color:inherit}
[data-theme] .olt-cat .k{display:var(--ol-text-kicker-display);font-family:var(--ol-font-body);font-size:var(--ol-text-kicker-size);letter-spacing:var(--ol-text-kicker-tracking);
  text-transform:var(--ol-text-kicker-transform);color:var(--ol-color-text-muted);font-weight:500;margin:0 0 var(--ol-space-3)}
[data-theme] .olt-cat .lead{color:var(--ol-color-text-muted);margin:var(--ol-space-3) 0 0;max-width:36em;font-size:inherit;font-weight:inherit;line-height:inherit}
[data-theme] .olt-cat .muted{color:var(--ol-color-text-muted)}
[data-theme] .olt-cat .small{font-size:var(--ol-text-small)}
[data-theme] .olt-cat code{font-family:var(--ol-font-code);color:inherit;background:var(--ol-color-bg-alt);padding:1px 5px;border-radius:2px;font-size:inherit}
[data-theme] .olt-cat .crumbs{font-size:var(--ol-text-small);color:var(--ol-color-text-muted);margin:0 0 var(--ol-space-4)}
[data-theme] .olt-cat .crumbs a{text-decoration:none;color:inherit}
[data-theme] .olt-cat .crumbs a:hover{text-decoration:underline!important}
[data-theme] .olt-cat .go{display:inline-flex;align-items:center;gap:10px;font-weight:500;color:inherit;text-decoration:none;background:none;border:0;padding:0;cursor:pointer}
[data-theme] .olt-cat .go::after{content:"";width:26px;height:1.5px;background:currentColor;transition:width var(--ol-motion-duration) var(--ol-motion-ease)}
[data-theme] .olt-cat .go:hover::after{width:46px}
[data-theme] .olt-cat .chip{display:inline-flex;align-items:center;gap:6px;font-size:var(--ol-text-small);border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-pill);
  padding:5px 13px;background:var(--ol-color-surface);color:var(--ol-color-text);text-decoration:none;cursor:pointer;white-space:nowrap}
[data-theme] .olt-cat a.chip:hover{border-color:var(--ol-color-line-strong)}
[data-theme] .olt-cat .btn-secondary{border-color:var(--ol-button-secondary-border);color:var(--ol-button-secondary-text)}
[data-theme] .olt-cat .btn-secondary:hover{background:var(--ol-button-secondary-hover-bg);color:var(--ol-button-secondary-hover-text)}
[data-theme] .olt-cat .btn-quiet{background:var(--ol-color-surface-alt);color:var(--ol-color-text)}
[data-theme] .olt-cat .btn-primary:hover{color:var(--ol-button-primary-text)}
[data-theme] .olt-cat .btn[disabled]{opacity:.45;cursor:default}
[data-theme] .olt-cat .is-busy{opacity:.45;pointer-events:none;transition:opacity var(--ol-motion-duration)}

/* stage: the live symbols (ribbons, table pictograms, class pictures) are never recoloured; the token puts them on a
   light chip where the background is dark (Dark Light) */
[data-theme] .olt-cat .sym{display:inline-block;width:auto;max-width:none;height:22px;background:var(--ol-symbol-bg);padding:var(--ol-symbol-pad);border-radius:var(--ol-symbol-radius);vertical-align:middle;box-sizing:content-box}
[data-theme] .olt-cat .ribbons{position:absolute;left:0;top:8px;display:flex;flex-direction:column;gap:4px;z-index:1}
[data-theme] .olt-cat .ribbons img{width:46px;height:auto;filter:drop-shadow(0 1px 1px color-mix(in srgb,var(--ol-color-line-strong) 25%,transparent))}

/* Swatches (colour click) */
[data-theme] .olt-cat .sw{flex:none;width:var(--ol-swatch-size);height:var(--ol-swatch-size);border-radius:var(--ol-swatch-radius);border:var(--ol-swatch-border);
  background-size:cover;background-position:center;padding:0;cursor:pointer;display:inline-block;background-color:var(--ol-color-surface)}
[data-theme] .olt-cat .sw[aria-pressed="true"]{box-shadow:var(--ol-swatch-ring)}

/* ---------- page head + code search ---------- */
[data-theme] .olt-cat .g-head{display:block}
[data-theme] .olt-cat .g-head.has-aside{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--ol-space-6);align-items:center}
[data-theme] .olt-cat .g-side{display:flex;align-items:center;justify-content:flex-end;gap:var(--ol-space-5);flex-wrap:wrap}
[data-theme] .olt-cat .g-img{max-height:200px;width:auto;border-radius:var(--ol-image-radius);mix-blend-mode:var(--ol-image-product-blend)}
[data-theme] .olt-cat .code-search .search{max-width:640px}
[data-theme] .olt-cat .hint{font-size:13px;color:var(--ol-color-text-muted);margin-top:8px}

[data-theme] .olt-cat .v-modern-panel{background:var(--ol-color-panel);padding:48px 0 56px}
[data-theme] .olt-cat .v-modern-single{padding:0;margin-top:-26px;position:relative;z-index:2}
[data-theme] .olt-cat .v-darklight-title{padding:72px 0 24px}
[data-theme] .olt-cat .v-darklight-title .lead{font-size:18px}
[data-theme] .olt-cat .v-darklight-title .g-img{background:var(--ol-card-media-bg);padding:12px;mix-blend-mode:normal}
[data-theme] .olt-cat .v-darklight-line{padding:10px 0 40px}
[data-theme] .olt-cat .v-darklight-line .search{background:transparent;border:0;border-bottom:1px solid var(--ol-color-accent);border-radius:0;max-width:820px}
[data-theme] .olt-cat .v-darklight-line .search input{font-size:20px;min-height:60px;font-weight:300}
[data-theme] .olt-cat .v-darklight-line .search .btn{background:none;color:var(--ol-color-accent);min-height:60px}
[data-theme] .olt-cat .v-spec-compact{padding:18px 0 6px}
[data-theme] .olt-cat .v-spec-compact h1 small{font-family:var(--ol-font-body);font-weight:400;font-size:15px;color:var(--ol-color-text-muted);margin-left:10px}
[data-theme] .olt-cat .v-spec-compact .g-img{max-height:110px}
[data-theme] .olt-cat .v-spec-big{padding:4px 0 20px}
[data-theme] .olt-cat .v-spec-big .search{border-width:2px;max-width:none;box-shadow:var(--ol-shadow-card)}
[data-theme] .olt-cat .v-spec-big .search input,[data-theme] .olt-cat .v-spec-big .search .btn{min-height:56px}

/* ---------- category tiles ---------- */
[data-theme] .olt-cat .sec-categoryTiles .head{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:flex-end;justify-content:space-between;margin-bottom:22px;position:relative}
[data-theme] .olt-cat .pick{position:relative}
[data-theme] .olt-cat .pick summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 14px;
  border:1px solid var(--ol-color-line-strong);border-radius:var(--ol-radius-md);font-size:14px;font-weight:500}
[data-theme] .olt-cat .pick summary::-webkit-details-marker{display:none}
[data-theme] .olt-cat .pick summary::after{content:"+";font-weight:300;font-size:18px;line-height:1}
[data-theme] .olt-cat .pick[open] summary::after{content:"\2013"}
[data-theme] .olt-cat .pick-list{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:min(620px,calc(100vw - 32px));background:var(--ol-color-surface);color:var(--ol-color-text);
  border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-md);box-shadow:var(--ol-shadow-overlay);padding:16px}
[data-theme] .olt-cat .pick-list ul{columns:2;column-gap:20px;margin-bottom:14px;font-size:14px}
[data-theme] .olt-cat .pick-list li{break-inside:avoid;padding:3px 0}
[data-theme] .olt-cat .pick-list label,[data-theme] .olt-cat .filters label{display:flex;gap:9px;align-items:center;cursor:pointer}

[data-theme] .olt-cat .tiles .pic,[data-theme] .olt-cat .index .pic{display:block;overflow:hidden}
[data-theme] .olt-cat .tiles .pic img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
[data-theme] .olt-cat .t-link{text-decoration:none;color:inherit}
[data-theme] .olt-cat .t-link:hover{text-decoration:underline!important}
[data-theme] .olt-cat .pdf-chip,[data-theme] .olt-cat .pdf-s{display:inline-flex;align-items:center;gap:4px;flex:none;text-decoration:none;color:inherit}

/* modern-grid: cards */
[data-theme] .olt-cat .v-modern-grid .tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}
[data-theme] .olt-cat .v-modern-grid .tile .pic{aspect-ratio:3/2;background:var(--ol-color-bg-alt);border-radius:var(--ol-radius-md)}
[data-theme] .olt-cat .v-modern-grid .tile:hover .pic img{transform:scale(1.04)}
[data-theme] .olt-cat .v-modern-grid .meta{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-top:10px}
[data-theme] .olt-cat .v-modern-grid .num{font-size:12.5px;color:var(--ol-color-text-muted);display:block}
[data-theme] .olt-cat .v-modern-grid .tile h3{font-size:17px}
[data-theme] .olt-cat .v-modern-grid .pdf-chip{font-size:12px;font-weight:500;border:1px solid var(--ol-color-line);border-radius:3px;padding:3px 7px}
[data-theme] .olt-cat .v-modern-grid .pdf-chip svg{display:none}

/* darklight-mosaic: 3-column gallery */
[data-theme] .olt-cat .v-darklight-mosaic .tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px var(--ol-space-grid-gap)}
[data-theme] .olt-cat .v-darklight-mosaic .tile .pic{aspect-ratio:3/2;background:var(--ol-card-media-bg)}
[data-theme] .olt-cat .v-darklight-mosaic .tile .pic img{filter:var(--ol-image-filter)}
[data-theme] .olt-cat .v-darklight-mosaic .tile:hover .pic img{transform:scale(var(--ol-image-hover-scale-product))}
[data-theme] .olt-cat .v-darklight-mosaic .meta{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:16px 0 4px;border-bottom:1px solid var(--ol-color-line)}
[data-theme] .olt-cat .v-darklight-mosaic .meta>div{display:flex;align-items:baseline;gap:14px;min-width:0}
[data-theme] .olt-cat .v-darklight-mosaic .num{color:var(--ol-color-accent);font-size:12.5px;letter-spacing:.14em}
[data-theme] .olt-cat .v-darklight-mosaic h3{font-size:22px}
[data-theme] .olt-cat .v-darklight-mosaic .pdf-chip{font-size:11px;letter-spacing:.16em;color:var(--ol-color-text-muted)}
[data-theme] .olt-cat .v-darklight-mosaic .pdf-chip:hover{color:var(--ol-color-accent)}
[data-theme] .olt-cat .v-darklight-mosaic .pick summary{border-radius:0;text-transform:uppercase;letter-spacing:.14em;font-size:12px}

/* spec-index: dense index */
[data-theme] .olt-cat .v-spec-index .index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;border-top:2px solid var(--ol-color-line-strong)}
[data-theme] .olt-cat .v-spec-index .tile{display:grid;grid-template-columns:52px 30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--ol-color-line)}
[data-theme] .olt-cat .v-spec-index .pic img{width:52px;height:35px;object-fit:cover;border-radius:2px;mix-blend-mode:multiply}
[data-theme] .olt-cat .v-spec-index .num{font-family:var(--ol-font-mono);font-size:13px;color:var(--ol-color-text-muted)}
[data-theme] .olt-cat .v-spec-index .name{font-weight:500;font-size:14.5px;min-width:0}
[data-theme] .olt-cat .v-spec-index .t-link:hover{color:var(--ol-color-link)}
[data-theme] .olt-cat .v-spec-index .pdf-s{color:var(--ol-color-link);padding:6px}
[data-theme] .olt-cat .v-spec-index .pdf-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[data-theme] .olt-cat .v-spec-index .pdf-s:hover{color:var(--ol-color-link)}
[data-theme] .olt-cat .v-spec-index .pick summary{border-radius:2px}

/* ---------- product grid: layout, filters, toolbar ---------- */
[data-theme] .olt-cat .layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:var(--ol-space-6)}
[data-theme] .olt-cat .results{min-width:0}
[data-theme] .olt-cat .filters{align-self:start;font-size:14px;min-width:0}
[data-theme] .olt-cat .filters h2{font-size:18px;font-family:var(--ol-font-body);font-weight:500;margin:12px 0 10px}
[data-theme] .olt-cat .filters .back{width:100%}
[data-theme] .olt-cat .filters form{display:block}
[data-theme] .olt-cat .filters details,[data-theme] .olt-cat .fsel{border-top:1px solid var(--ol-color-line);padding:12px 0}
[data-theme] .olt-cat .filters summary{cursor:pointer;font-weight:500;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:8px}
[data-theme] .olt-cat .filters summary::-webkit-details-marker{display:none}
[data-theme] .olt-cat .filters summary::after{content:"+";font-weight:300;font-size:20px;line-height:1;margin-left:auto}
[data-theme] .olt-cat .filters details[open] summary::after{content:"\2013"}
[data-theme] .olt-cat .filters ul{margin:10px 0 0;display:grid;gap:7px}
[data-theme] .olt-cat .fsel label{display:block;font-weight:500;margin-bottom:8px}
[data-theme] .olt-cat .fsel select{width:100%}
[data-theme] .olt-cat .n-on{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;
  background:var(--ol-color-line-strong);color:var(--ol-color-bg);font-size:12px}
[data-theme] .olt-cat .filters .clear{margin-top:14px;font-size:14px}
[data-theme] .olt-cat .toolbar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin-bottom:18px}
[data-theme] .olt-cat .toolbar .tl,[data-theme] .olt-cat .toolbar .tr{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
[data-theme] .olt-cat .toolbar .count{color:var(--ol-color-text-muted);font-size:14px}
[data-theme] .olt-cat .toolbar .pp-l{font-size:14px;color:var(--ol-color-text-muted)}
[data-theme] .olt-cat .js-filter-btn{display:none}
[data-theme] .olt-cat .seg{display:inline-flex;align-items:center;border:1px solid var(--ol-color-line-strong);border-radius:var(--ol-radius-md);overflow:hidden}
[data-theme] .olt-cat .seg button{display:inline-flex;gap:6px;align-items:center;border:0;background:var(--ol-color-surface);color:var(--ol-color-text);padding:7px 12px;cursor:pointer;font-size:14px;font-weight:500;min-height:36px}
[data-theme] .olt-cat .seg button[aria-pressed="true"]{background:var(--ol-color-line-strong);color:var(--ol-color-bg)}
[data-theme] .olt-cat .jump{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px;margin-bottom:18px;scrollbar-width:thin}
[data-theme] .olt-cat .legend{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;font-size:12.5px;color:var(--ol-color-text-muted);margin:0 0 22px;padding:10px 14px;background:var(--ol-color-bg-alt);border-radius:var(--ol-radius-md)}
[data-theme] .olt-cat .legend b{color:var(--ol-color-text)}
[data-theme] .olt-cat .legend span{display:inline-flex;align-items:center;gap:6px}
[data-theme] .olt-cat .legend img{height:20px;width:auto}
[data-theme] .olt-cat .empty{padding:40px 0;font-size:18px;color:var(--ol-color-text-muted)}
[data-theme] .olt-cat .family{margin-bottom:var(--ol-space-7);scroll-margin-top:130px}
[data-theme] .olt-cat .fam-h{font-size:22px;margin-bottom:14px;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline}
[data-theme] .olt-cat .fam-g{display:none}
[data-theme] .olt-cat .fam-h small{font-family:var(--ol-font-body);font-size:13px;color:var(--ol-color-text-muted)}

/* stage: paging */
[data-theme] .olt-cat .olt-pages ul{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:var(--ol-space-6) 0 0}
[data-theme] .olt-cat .olt-pages button{min-width:40px;min-height:40px;padding:0 10px;border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-md);
  background:var(--ol-color-surface);color:var(--ol-color-text);cursor:pointer;font-size:14px}
[data-theme] .olt-cat .olt-pages button:hover{border-color:var(--ol-color-line-strong)}
[data-theme] .olt-cat .olt-pages button[aria-current="page"]{background:var(--ol-color-line-strong);color:var(--ol-color-bg);border-color:var(--ol-color-line-strong)}

/* ---------- the superset product card ---------- */
[data-theme] .olt-cat .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ol-space-grid-gap)}
[data-theme] .olt-cat .pcard{position:relative;display:flex;flex-direction:column;background:var(--ol-card-bg);border:var(--ol-card-border);border-radius:var(--ol-card-radius);
  box-shadow:var(--ol-card-shadow);overflow:hidden;transition:box-shadow var(--ol-motion-duration) var(--ol-motion-ease);min-width:0}
[data-theme] .olt-cat .pcard:hover{box-shadow:var(--ol-card-hover-shadow)}
[data-theme] .olt-cat .pc-media{display:block;position:relative;aspect-ratio:var(--ol-card-media-ratio);background:var(--ol-card-media-bg);overflow:hidden;border-radius:var(--ol-image-radius) var(--ol-image-radius) 0 0}
[data-theme] .olt-cat .pc-media .js-photo{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;width:100%;height:100%;object-fit:cover;padding:var(--ol-card-media-pad);mix-blend-mode:var(--ol-image-product-blend);
  transition:opacity .25s,transform var(--ol-motion-duration) var(--ol-motion-ease)}
[data-theme] .olt-cat .pcard:hover .js-photo{transform:scale(var(--ol-image-hover-scale-product))}
[data-theme] .olt-cat .pc-nophoto{display:flex;align-items:center;justify-content:center;font-family:var(--ol-font-code);color:var(--ol-color-text);text-decoration:none;padding:12px;text-align:center}
[data-theme] .olt-cat .v-darklight-gallery .pc-nophoto{color:var(--ol-color-on-accent)}
[data-theme] .olt-cat .pc-over{display:none}
[data-theme] .olt-cat .pc-body{padding:var(--ol-card-pad);display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
[data-theme] .olt-cat .pc-code{font-family:var(--ol-font-code);font-size:var(--ol-card-code-size);font-weight:var(--ol-card-code-weight);text-decoration:none;line-height:1.2;color:var(--ol-color-text);overflow-wrap:anywhere}
[data-theme] .olt-cat .pc-code:hover{text-decoration:underline!important;color:var(--ol-color-text)}
[data-theme] .olt-cat .pc-sw{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:auto}
[data-theme] .olt-cat .cname{font-size:12.5px;color:var(--ol-color-text-muted);margin-left:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
[data-theme] .olt-cat .pc-trade{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:24px}
[data-theme] .olt-cat .pc-trade img{display:inline-block;height:22px;width:auto}
/* stage: the classic stock pop-over (Bootstrap's white box) takes the theme's surface and text */
[data-theme] .olt-cat .popover{background:var(--ol-color-surface);color:var(--ol-color-text);border-color:var(--ol-color-line-strong);font-family:var(--ol-font-body)}
[data-theme] .olt-cat .popover table,[data-theme] .olt-cat .popover td,[data-theme] .olt-cat .popover th{color:inherit;background:transparent}
/* the whole box is shown, as wide as its table (it was squeezed into the card and cut) */
[data-theme] .olt-cat .popover{width:max-content;max-width:min(420px,calc(100vw - 16px));font-size:13px;line-height:1.4;border-radius:var(--ol-radius-md)}
[data-theme] .olt-cat .popover .popover-content{padding:10px 12px}
[data-theme] .olt-cat .popover table{border-collapse:collapse;width:100%}
[data-theme] .olt-cat .popover th,[data-theme] .olt-cat .popover td{padding:4px 10px;white-space:nowrap;text-align:left;border:0}
/* owner, 28 Nov 2026: the quantities and the date in the middle of their columns (the item code stays left) */
[data-theme] .olt-cat .popover th:not(:first-child),[data-theme] .olt-cat .popover td:not(:first-child){text-align:center}
[data-theme] .olt-cat .popover th{font-weight:500;color:var(--ol-color-text-muted);border-bottom:1px solid var(--ol-color-line)}
[data-theme] .olt-cat .popover.top>.arrow{border-top-color:var(--ol-color-line-strong)}
[data-theme] .olt-cat .popover.top>.arrow::after{border-top-color:var(--ol-color-surface)}
[data-theme] .olt-cat .popover.right>.arrow{border-right-color:var(--ol-color-line-strong)}
[data-theme] .olt-cat .popover.right>.arrow::after{border-right-color:var(--ol-color-surface)}
[data-theme] .olt-cat .pc-trade a,[data-theme] .olt-cat .pc-tech td a.cartLink{color:var(--ol-color-link);font-size:18px;text-decoration:none}

/* stage: the classic technical table inside the card */
[data-theme] .olt-cat .pc-tech{overflow-x:auto;max-width:100%;border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-md)}
[data-theme] .olt-cat .pc-tech table{border-collapse:collapse;width:100%;font-size:13px;background:transparent}
[data-theme] .olt-cat .pc-tech th,[data-theme] .olt-cat .pc-tech td{padding:6px 10px;text-align:left;border-bottom:1px solid var(--ol-color-line);white-space:nowrap;vertical-align:middle}
[data-theme] .olt-cat .pc-tech th{font-weight:500;color:var(--ol-color-text-muted);background:var(--ol-color-bg-alt)}
[data-theme] .olt-cat .pc-tech tbody tr:last-child td{border-bottom:0}
[data-theme] .olt-cat .pc-tech .sym{height:19px}
[data-theme] .olt-cat .pc-tech td .sym{height:26px}
[data-theme] .olt-cat .t-code{font-family:var(--ol-font-code);font-weight:var(--ol-card-code-weight);color:var(--ol-color-link);text-decoration:none}
[data-theme] .olt-cat .t-code:hover{text-decoration:underline!important;color:var(--ol-color-link)}

/* technical list view (every theme): one card per row, the picture left */
[data-theme] .olt-cat .results.is-list .cards{grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid var(--ol-color-line)}
[data-theme] .olt-cat .is-list .pcard{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:start;border-width:0 0 1px;border-style:solid;border-color:var(--ol-color-line);border-radius:0;box-shadow:none}
[data-theme] .olt-cat .is-list .pc-media{border-radius:0;margin:10px 0}
[data-theme] .olt-cat .is-list .ribbons{display:none}
[data-theme] .olt-cat .is-list .pc-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;align-items:center;padding:10px 14px}
[data-theme] .olt-cat .is-list .pc-sw{margin:0}
[data-theme] .olt-cat .is-list .pc-tech,[data-theme] .olt-cat .is-list .pc-nophoto+.pc-body .pc-sw{grid-column:1/-1}

/* ---------- modern-cards ---------- */
[data-theme] .olt-cat .v-modern-cards .filters .back{margin-bottom:6px}
[data-theme] .olt-cat .v-modern-cards .fam-h{font-weight:400}

/* ---------- darklight-gallery: filter bar of drop-downs, 3 large plinth cards ---------- */
[data-theme] .olt-cat .v-darklight-gallery{border-top:1px solid var(--ol-color-line);padding-top:40px}
[data-theme] .olt-cat .v-darklight-gallery .layout{grid-template-columns:minmax(0,1fr);gap:22px}
[data-theme] .olt-cat .v-darklight-gallery .filters{position:relative;z-index:5;padding-bottom:20px;border-bottom:1px solid var(--ol-color-line)}
[data-theme] .olt-cat .v-darklight-gallery .f-head{display:flex;align-items:center;gap:16px;margin-bottom:14px}
[data-theme] .olt-cat .v-darklight-gallery .f-head h2{display:none}
[data-theme] .olt-cat .v-darklight-gallery .filters .back{width:auto;border-radius:0;background:transparent;border:1px solid var(--ol-color-line-strong);color:var(--ol-color-text);text-transform:uppercase;letter-spacing:.14em;font-size:11.5px}
[data-theme] .olt-cat .v-darklight-gallery .filters form{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
[data-theme] .olt-cat .v-darklight-gallery .filters details,[data-theme] .olt-cat .v-darklight-gallery .fsel{border:0;padding:0;position:relative}
[data-theme] .olt-cat .v-darklight-gallery .fsel label{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ol-color-text-muted);margin-bottom:6px}
[data-theme] .olt-cat .v-darklight-gallery .fsel select{border-radius:0;border-color:var(--ol-color-line-strong);min-width:150px;min-height:40px}
[data-theme] .olt-cat .v-darklight-gallery .filters summary{border:1px solid var(--ol-color-line-strong);padding:0 16px;min-height:40px;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;gap:10px;font-weight:500}
[data-theme] .olt-cat .v-darklight-gallery .filters details[open] summary{border-color:var(--ol-color-accent);color:var(--ol-color-accent)}
[data-theme] .olt-cat .v-darklight-gallery .filters details ul{position:absolute;top:calc(100% + 8px);left:0;min-width:260px;max-height:340px;overflow:auto;background:var(--ol-color-surface);
  border:1px solid var(--ol-color-line-strong);padding:16px;box-shadow:var(--ol-shadow-overlay);z-index:6}
[data-theme] .olt-cat .v-darklight-gallery .filters .clear{margin:0 0 10px auto;color:var(--ol-color-accent);font-size:13px}
[data-theme] .olt-cat .v-darklight-gallery .n-on{background:var(--ol-color-accent);color:var(--ol-color-on-accent)}
[data-theme] .olt-cat .v-darklight-gallery .legend{background:none;border:1px solid var(--ol-color-line);border-radius:0}
[data-theme] .olt-cat .v-darklight-gallery .legend img{background:var(--ol-symbol-bg);padding:2px 4px;border-radius:2px}
[data-theme] .olt-cat .v-darklight-gallery .jump .chip{background:none;border-color:var(--ol-color-line);color:var(--ol-color-text-muted);border-radius:0;font-size:12.5px}
[data-theme] .olt-cat .v-darklight-gallery .jump .chip:hover{color:var(--ol-color-text);border-color:var(--ol-color-accent)}
[data-theme] .olt-cat .v-darklight-gallery .seg{border-color:var(--ol-color-line-strong);border-radius:0}
[data-theme] .olt-cat .v-darklight-gallery .seg button{background:transparent;color:var(--ol-color-text-muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
[data-theme] .olt-cat .v-darklight-gallery .seg button[aria-pressed="true"]{background:var(--ol-color-accent);color:var(--ol-color-on-accent)}
[data-theme] .olt-cat .v-darklight-gallery .toolbar select{border-color:var(--ol-color-line-strong);border-radius:0}
[data-theme] .olt-cat .v-darklight-gallery .fam-h{font-size:34px;border-bottom:1px solid var(--ol-color-line);padding-bottom:14px;margin-bottom:28px}
[data-theme] .olt-cat .v-darklight-gallery .family{margin-bottom:80px}
[data-theme] .olt-cat .v-darklight-gallery .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-theme] .olt-cat .v-darklight-gallery .pc-media .js-photo{object-fit:contain}
[data-theme] .olt-cat .v-darklight-gallery .ribbons{top:14px}
[data-theme] .olt-cat .v-darklight-gallery .ribbons img{width:42px}
[data-theme] .olt-cat .v-darklight-gallery .pc-body{gap:12px}
[data-theme] .olt-cat .v-darklight-gallery .pc-sw{padding-top:14px;border-top:1px solid var(--ol-color-line);gap:12px}
[data-theme] .olt-cat .v-darklight-gallery .is-list .pcard{grid-template-columns:140px minmax(0,1fr);background:transparent}
[data-theme] .olt-cat .v-darklight-gallery .is-list .pc-sw{border-top:0;padding-top:0}
[data-theme] .olt-cat .v-darklight-gallery .is-list .pc-code{font-size:20px}
[data-theme] .olt-cat .v-darklight-gallery .pc-tech th{background:var(--ol-color-surface-alt)}
[data-theme] .olt-cat .v-darklight-gallery .olt-pages button{border-radius:0}

/* ---------- spec-dense: technical list by default, 5-column grid option ---------- */
[data-theme] .olt-cat .v-spec-dense{border-top:1px solid var(--ol-color-line);padding-top:20px}
[data-theme] .olt-cat .v-spec-dense .layout{grid-template-columns:240px minmax(0,1fr);gap:22px}
[data-theme] .olt-cat .v-spec-dense .filters{border:1px solid var(--ol-color-line);border-radius:var(--ol-radius-md);padding:12px 14px;font-size:13.5px}
[data-theme] .olt-cat .v-spec-dense .filters h2{font-family:var(--ol-font-display);font-size:16px;text-transform:uppercase;letter-spacing:.06em}
[data-theme] .olt-cat .v-spec-dense .filters summary,[data-theme] .olt-cat .v-spec-dense .fsel label{font-size:13px;text-transform:uppercase;letter-spacing:.06em;font-weight:700}
[data-theme] .olt-cat .v-spec-dense .filters .clear{color:var(--ol-color-link)}
[data-theme] .olt-cat .v-spec-dense .toolbar{background:var(--ol-color-bg-alt);padding:8px 10px;border-radius:var(--ol-radius-md);margin-bottom:12px}
[data-theme] .olt-cat .v-spec-dense .seg{background:var(--ol-color-surface)}
[data-theme] .olt-cat .v-spec-dense .seg button[aria-pressed="true"]{background:var(--ol-color-text);color:var(--ol-color-bg)}
[data-theme] .olt-cat .v-spec-dense .jump{margin-bottom:10px}
[data-theme] .olt-cat .v-spec-dense .jump .chip{font-size:12.5px;padding:3px 9px}
[data-theme] .olt-cat .v-spec-dense .legend{padding:8px 10px;margin-bottom:16px}
[data-theme] .olt-cat .v-spec-dense .fam-h{font-size:18px;padding:8px 0;border-bottom:2px solid var(--ol-color-line-strong);margin-bottom:0}
[data-theme] .olt-cat .v-spec-dense .fam-g{display:inline;font-family:var(--ol-font-body);font-weight:400;font-size:13px;color:var(--ol-color-text-muted)}
[data-theme] .olt-cat .v-spec-dense .fam-h small{font-family:var(--ol-font-mono);background:var(--ol-color-bg-alt);padding:1px 6px;border-radius:2px}
[data-theme] .olt-cat .v-spec-dense .family{margin-bottom:26px}
[data-theme] .olt-cat .v-spec-dense .cards{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:12px}
[data-theme] .olt-cat .v-spec-dense .ribbons img{width:36px}
[data-theme] .olt-cat .v-spec-dense .pc-body{gap:6px}
[data-theme] .olt-cat .v-spec-dense .is-list .cards{margin-top:0;border-top:0}
[data-theme] .olt-cat .v-spec-dense .is-list .pcard{grid-template-columns:96px minmax(0,1fr)}
[data-theme] .olt-cat .v-spec-dense .is-list .pcard:nth-child(even){background:var(--ol-color-surface-alt)}
[data-theme] .olt-cat .v-spec-dense .is-list .pc-body{padding:6px 10px}
[data-theme] .olt-cat .v-spec-dense .pc-tech{border-radius:2px}
[data-theme] .olt-cat .v-spec-dense .olt-pages button{font-family:var(--ol-font-mono)}

/* ---------- widths ---------- */
@media (max-width:1100px){
  [data-theme] .olt-cat .v-modern-grid .tiles,[data-theme] .olt-cat .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  [data-theme] .olt-cat .v-spec-dense .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  [data-theme] .olt-cat .v-darklight-gallery .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-theme] .olt-cat .v-spec-index .index{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  [data-theme] .olt-cat .sec{padding:var(--ol-space-section-y-mobile) 0}
  [data-theme] .olt-cat .wrap{padding:0 var(--ol-space-gutter-mobile)}
  [data-theme] .olt-cat .g-head.has-aside{grid-template-columns:minmax(0,1fr)}
  [data-theme] .olt-cat .g-side{justify-content:flex-start}
  [data-theme] .olt-cat .g-img{display:none}
  [data-theme] .olt-cat .v-modern-panel{padding:32px 0 44px}
  [data-theme] .olt-cat .v-darklight-title{padding:40px 0 16px}
  [data-theme] .olt-cat .layout,[data-theme] .olt-cat .v-spec-dense .layout{grid-template-columns:minmax(0,1fr)}
  [data-theme] .olt-cat .filters{display:none}
  [data-theme] .olt-cat .filters.is-open{display:block}
  [data-theme] .olt-cat .js-filter-btn{display:inline-flex}
  [data-theme] .olt-cat .cards,[data-theme] .olt-cat .v-modern-grid .tiles,[data-theme] .olt-cat .v-darklight-mosaic .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  [data-theme] .olt-cat .v-spec-dense .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  [data-theme] .olt-cat .v-darklight-gallery .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  [data-theme] .olt-cat .v-darklight-gallery .pc-body{padding:12px}
  [data-theme] .olt-cat .v-darklight-gallery .pc-code{font-size:17px}
  [data-theme] .olt-cat .v-darklight-gallery .filters.is-open form{display:block}
  [data-theme] .olt-cat .v-darklight-gallery .filters.is-open details,[data-theme] .olt-cat .v-darklight-gallery .filters.is-open .fsel{margin-bottom:12px}
  [data-theme] .olt-cat .v-darklight-gallery .filters details ul{position:static;min-width:0;box-shadow:none;margin-top:8px}
  [data-theme] .olt-cat .v-darklight-gallery .fsel select{width:100%}
  [data-theme] .olt-cat .v-darklight-gallery .fam-h{font-size:24px}
  [data-theme] .olt-cat .v-darklight-mosaic h3{font-size:18px}
  [data-theme] .olt-cat .v-darklight-mosaic .meta,[data-theme] .olt-cat .v-darklight-mosaic .meta>div{flex-wrap:wrap;gap:4px 10px}
  [data-theme] .olt-cat .v-spec-index .index{grid-template-columns:minmax(0,1fr)}
  [data-theme] .olt-cat .results.is-list .cards{grid-template-columns:minmax(0,1fr)}
  [data-theme] .olt-cat .is-list .pcard,[data-theme] .olt-cat .v-darklight-gallery .is-list .pcard,[data-theme] .olt-cat .v-spec-dense .is-list .pcard{grid-template-columns:84px minmax(0,1fr)}
  [data-theme] .olt-cat .is-list .pc-body{grid-template-columns:minmax(0,1fr);gap:6px}
  [data-theme] .olt-cat .is-list .pc-tech{grid-column:1/-1}
  [data-theme] .olt-cat .pick{width:100%}
  [data-theme] .olt-cat .pick-list{position:static;width:auto;margin-top:8px;box-shadow:none}
  [data-theme] .olt-cat .pick-list ul{columns:1}
}
@media (max-width:420px){
  [data-theme] .olt-cat .is-list .pcard,[data-theme] .olt-cat .v-darklight-gallery .is-list .pcard,[data-theme] .olt-cat .v-spec-dense .is-list .pcard{grid-template-columns:minmax(0,1fr)}
  [data-theme] .olt-cat .is-list .pc-media{width:120px;margin:10px 14px 0}
}
@media (prefers-reduced-motion:reduce){
  [data-theme] .olt-cat *{transition:none!important;animation:none!important}
}

/* owner, 2 Dec 2026 ("the product categories and the products grew far too much"): the page's column is wider now on
   a large window, and four in a row made every tile and card as large as the column allowed. From 1280 px a tile and
   a card keep about the size they had in the 1240 px column, and a wider window shows more of them in a row
   (the row is always filled to its end). The list view and the other themes' own grids are not touched. */
@media (min-width:1280px){
  [data-theme] .olt-cat .v-modern-grid .tiles{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
  /* owner, 5 Dec 2026: "make the box 15% bigger". A card was 210 to about 230 px wide; now 242 to 264 px. The upper
     limit keeps a row of few cards from stretching them further (the row then ends before the column's edge). */
  /* owner, later the same day: "the photo another 15% bigger": 242-264 px -> 278-304 px */
  /* and another 20% (owner, 5 Dec 2026, evening): 334-365 px */
  [data-theme] .olt-cat .cards{grid-template-columns:repeat(auto-fill,minmax(334px,365px))}
}

/* the colours and, beside them, the colour temperatures of the chosen colour, in one line that wraps when the card is
   too narrow for both (owner, 5 Dec 2026) */
[data-theme] .olt-cat .pc-opts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:auto;min-width:0}
[data-theme] .olt-cat .pc-opts .pc-sw{margin-top:0;min-width:0}
[data-theme] .olt-cat .pc-temps{display:flex;gap:7px;align-items:center;flex-wrap:wrap;min-width:0;padding-left:14px;border-left:1px solid var(--ol-color-line)}
/* a temperature swatch: the colour swatch's shape with the temperature's own colour (data, as on the product page) */
[data-theme] .olt-cat .tsw{flex:none;width:var(--ol-swatch-size);height:var(--ol-swatch-size);border-radius:var(--ol-swatch-radius);border:var(--ol-swatch-border);padding:0;cursor:pointer;display:inline-block}
[data-theme] .olt-cat .tsw[aria-pressed="true"]{box-shadow:var(--ol-swatch-ring)}
[data-theme] .olt-cat .tname{font-size:12.5px;color:var(--ol-color-text-muted);margin-left:2px;white-space:nowrap}
[data-theme] .olt-cat .v-darklight-gallery .pc-opts{padding-top:14px;border-top:1px solid var(--ol-color-line)}
[data-theme] .olt-cat .v-darklight-gallery .pc-opts .pc-sw{padding-top:0;border-top:0}
[data-theme] .olt-cat .is-list .pc-opts{margin:0}
