/* =====================================================================
   Geekly Lab · catalogue + product pages (Brick Lab). Loaded by every catalogue block (handle geekly-catalog)
   and in the editor. Ported from the prototype's catalog.css and the page styles of filaments / filament /
   models / model.html. Uses system.css components; adds only what those pages had on their own.

   Typography contract: fonts via var(--wp--preset--font-family--*), sizes via presets or em.
   Inside the catalogue blocks text is sized in em of the block, whose default is the "m" preset — so a block's
   own font size (sidebar) and Styles → Blocks → <block> scale the whole block. Headings keep the element styles
   (Styles → Typography → Headings).
   ===================================================================== */

/* ---------- block base + em scale (xs .765 · s .853 · m 1 · l 1.176 · xl 1.53 · 2xl 2.12) ---------- */
:where(.geekly-cat-block){ font-size: var(--wp--preset--font-size--m); font-family: var(--wp--preset--font-family--display); }
.geekly-cat-block .geekly-cat-block{ font-size: inherit; font-family: inherit; }   /* editor previews nest the wrapper */
.geekly-cat-block :is(.spc-brand, .fchip, .part b, .bubble, .crumbs, .jump a, .pdp-note, .pdp-fitline, .stock-row .incart, .field label, .msg, .btn.sm, .cat-stats li, .linkbtn, .pdp-msg){ font-size: .853em; }
.geekly-cat-block :is(.spc-mat, .spc-fin, .spc-tech, .spc-sw .more, .spc .stock, .spc-fit, .mdl-code, .mdl-cat, .mdl-meta, .mdl fieldset legend, .sticker, .fchip .n, .part, .sheet dt, .jump .no, .field .hint, .hint){ font-size: .765em; }
.geekly-cat-block :is(.pdp-sub, .pdp-sw legend, .stock-row .stock, .qty input, .btn:not(.sm)){ font-size: 1em; }
.geekly-cat-block .sheet dd{ font-size: .853em; }
.geekly-cat-block :is(.spc-name, .mdl h3, .qty button, .lede){ font-size: 1.176em; }
.geekly-cat-block :is(.price, .cat-stats b){ font-size: 1.53em; }
.geekly-cat-block .pdp .buy .price{ font-size: 2.12em; }
.geekly-cat-block .part b, .geekly-cat-block .fchip .n, .geekly-cat-block .cat-stats b{ font-size: inherit; }
.geekly-cat-block .part b{ font-size: 1.12em; }
.geekly-cat-block .cat-stats b{ font-size: 1.8em; }
.geekly-cat-block .fchip .n{ font-size: .9em; }
/* a font family chosen on the block wins over the components' display family (mono data stays mono) */
.geekly-cat-block:is([class*="-font-family"], [style*="font-family"]) :is(.spc-brand, .spc-name, .mdl h3, .mdl-cat, .fchip, .pdp-sub, .pdp-sw legend, .stock, .price, .bubble, .btn, .field label, .lede, .cat-stats li, .crumbs, .pdp-note, .jump a, .msg, .hint, .linkbtn){ font-family: inherit; }
@media (max-width: 760px){
  .geekly-cat-block :is(.spc-name, .mdl h3){ font-size: 1em; }
  .geekly-cat-block .price{ font-size: 1.176em; }
  .geekly-cat-block .pdp .buy .price{ font-size: 1.53em; }
  .geekly-cat-block .cat-stats li{ font-size: .765em; }
  .geekly-cat-block .cat-stats b{ font-size: 1.5em; }
  .geekly-cat-block .lede{ font-size: 1em; }
}

/* ---------- WordPress glue ---------- */
.cat-kind{ min-inline-size: 0; }
.cat-kind > * + *{ margin-block-start: 0; }
.cat-kind > .wp-block-group.alignwide{ max-inline-size: none; }
.js .flt-apply{ display: none; }          /* filters apply instantly once the catalogue script runs */
.flt-apply{ align-self: flex-start; }
/* part tag as a paragraph block (<p class="part"><strong>מדף 01</strong> FILAMENT LAB</p>): draw the rail of studs */
p.part{ margin: 0; inline-size: fit-content; }
p.part::before{ content: ""; flex: none; inline-size: 42px; block-size: 10px;
  background: radial-gradient(circle at 5px 5px, oklch(100% 0 0 / .95) 0 1.6px, transparent 2.4px), radial-gradient(circle at 5px 5px, var(--white) 0 4.6px, transparent 5.2px),
    radial-gradient(circle at 21px 5px, oklch(100% 0 0 / .95) 0 1.6px, transparent 2.4px), radial-gradient(circle at 21px 5px, var(--white) 0 4.6px, transparent 5.2px),
    radial-gradient(circle at 37px 5px, oklch(100% 0 0 / .95) 0 1.6px, transparent 2.4px), radial-gradient(circle at 37px 5px, var(--white) 0 4.6px, transparent 5.2px);
  filter: drop-shadow(0 1.5px 0 oklch(30% .03 260 / .14)) drop-shadow(0 0 1px oklch(30% .03 260 / .2)); }
.part strong{ font: 600 var(--wp--preset--font-size--s)/1 var(--wp--preset--font-family--display); color: var(--ink); letter-spacing: 0; }
/* the heading's second line (prototype: <h1>… <span class="l2">…</span></h1>) as its own paragraph */
.cat-head p.l2{ margin: -.35em 0 0; font-family: var(--wp--preset--font-family--display); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: var(--lab-ink); }
.cat-head p.l2:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--3-xl); }
.cat-head .wp-block-query-title{ margin: 0; }
.cat-head .wp-block-term-description{ margin: 0; }
.cat-head .wp-block-term-description p{ margin: 0; }
.cat-head .wp-block-breadcrumbs{ margin: 0; }
.cat-head-copy > *{ margin-block: 0; }

/* ---------- component: finder — "what are you printing?" intent chips ---------- */
.finder{ grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block-start: 18px; margin-block-start: 6px; border-block-start: 1px dashed var(--line); }
.finder h2{ font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: 0; }
.finder h2:where(:not([class*="-font-size"])){ font-size: 1em; }
.finder .chips{ flex: 1; }
a.fchip{ text-decoration: none; }
.fchip[aria-current="true"]{ background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
.fchip[aria-current="true"] .n{ color: oklch(85% .01 260); }

/* ---------- component: catalog layout (filters aside + results) ---------- */
.cat-layout{ display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; margin-block-start: 28px; scroll-margin-block-start: calc(var(--hdr) + 12px); }
.cat-layout > *{ margin: 0 !important; min-inline-size: 0; }
.filters{ position: sticky; inset-block-start: calc(var(--hdr) + 10px); max-block-size: calc(100svh - var(--hdr) - 20px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 22px 20px 24px; border-radius: 24px; }
.admin-bar .filters{ inset-block-start: calc(var(--hdr) + 10px + var(--wp-admin--admin-bar--height, 32px)); }
.filters > form{ display: flex; flex-direction: column; gap: 22px; }
.flt-g-wrap{ display: flex; flex-direction: column; gap: 22px; }
.flt-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flt-head h2{ display: flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.flt-head h2:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--xl); }
.linkbtn{ display: inline-flex; align-items: center; border: 0; background: none; padding: 8px 6px; min-block-size: 40px; cursor: pointer; font-family: var(--wp--preset--font-family--display); font-weight: 600; color: var(--lab-ink); text-decoration: underline; text-underline-offset: 3px; border-radius: 8px; }
.linkbtn[aria-disabled="true"]{ color: var(--ink-2); text-decoration: none; pointer-events: none; }
.flt-g{ border: 0; margin: 0; padding: 0; min-inline-size: 0; display: flex; flex-direction: column; gap: 10px; }
.flt-g legend{ font-family: var(--wp--preset--font-family--display); font-weight: 700; padding: 0; margin-block-end: 10px; inline-size: 100%; font-size: .9em; }
.flt-g .hint{ font-family: var(--wp--preset--font-family--display); line-height: 1.45; color: var(--ink-2); margin: 0; }
.filters .chips{ gap: 6px; }
/* chips as real checkboxes (works without JavaScript): <label class="fchip"><input type="checkbox">… */
label.fchip{ position: relative; }
.fchip input{ position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; inline-size: 100%; block-size: 100%; }
.fchip:has(input:checked){ background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
.fchip:has(input:checked) .n{ color: oklch(85% .01 260); }
.fchip:has(input:focus-visible){ outline: 3px solid var(--ink); outline-offset: 2px; }
.filters .fchip{ min-block-size: 40px; padding: 6px 11px 9px; }
.fchip.zero:not(:has(input:checked)){ color: var(--ink-2); }
.fchip .x{ font-family: var(--wp--preset--font-family--mono); font-weight: 700; font-size: .9em; }
/* colour family studs (checkboxes) */
.colfam{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px 2px; }
.colfam .sws{ --sz: 40px; justify-self: center; }
.colfam .sws.zero i{ opacity: .45; }
.colfam .sws.clear i{ background: radial-gradient(circle at 34% 30%, #fff 0 15%, transparent 45%), repeating-conic-gradient(oklch(92% .01 250) 0 25%, #fff 0 50%) 0 0 / 10px 10px; }
.colfam-out{ font-family: var(--wp--preset--font-family--display); font-size: .8em; color: var(--ink-2); min-block-size: 1.4em; margin: 0; }

/* ---------- component: range2 — dual-thumb brick slider (two native ranges) ---------- */
.range2{ position: relative; block-size: 44px; --lo: 0; --hi: 1; margin-inline: 6px; direction: ltr; }
.range2 .r2-track{ position: absolute; inset-inline: 0; inset-block-start: 50%; block-size: 12px; translate: 0 -50%; border-radius: 6px; background: oklch(92% .008 260); box-shadow: inset 0 -2px 0 oklch(86% .01 260); }
.range2 .r2-fill{ position: absolute; inset-block: 0; inset-inline-start: calc(var(--lo) * (100% - 30px) + 15px); inset-inline-end: calc((1 - var(--hi)) * (100% - 30px) + 15px); border-radius: 6px; background: var(--lab); box-shadow: inset 0 -2px 0 color-mix(in oklch, var(--lab) 70%, black); }
.range2 .r2-ticks{ position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding-inline: 4px; pointer-events: none; }
.range2 .r2-ticks i{ inline-size: 4px; block-size: 4px; border-radius: 50%; background: oklch(100% 0 0 / .8); }
.range2 input{ position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; box-shadow: none !important; min-block-size: 0 !important; padding: 0 !important; }
.range2 input::-webkit-slider-runnable-track{ background: transparent; block-size: 44px; }
.range2 input::-moz-range-track{ background: transparent; }
.range2 input::-webkit-slider-thumb{ -webkit-appearance: none; pointer-events: auto; inline-size: 30px; block-size: 30px; margin-block-start: 7px; border-radius: 9px; cursor: grab; border: 0;
  background: radial-gradient(circle at 50% 46%, #fff 0 5px, oklch(90% .01 260) 5.5px 6.5px, transparent 7px), var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 -4px 0 var(--lab-edge), 0 4px 10px -4px oklch(30% .05 260 / .4); }
.range2 input::-moz-range-thumb{ pointer-events: auto; inline-size: 30px; block-size: 30px; border-radius: 9px; cursor: grab; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 -4px 0 var(--lab-edge); }
.range2 input:focus-visible{ outline: none; }
.range2 input:focus-visible::-webkit-slider-thumb{ outline: 3px solid var(--ink); outline-offset: 2px; }
.range2 input:focus-visible::-moz-range-thumb{ outline: 3px solid var(--ink); outline-offset: 2px; }
.r2-out{ display: flex; justify-content: space-between; font-family: var(--wp--preset--font-family--mono); font-weight: 600; font-size: .82em; color: var(--ink); direction: ltr; margin: 0; }
.r2-out span{ color: var(--ink-2); font-weight: 500; }

/* ---------- toggles: native checkbox with role="switch" inside a brick label ---------- */
.tgl{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; inline-size: 100%; min-block-size: 46px; padding: 8px 12px 10px; border-radius: 13px; cursor: pointer; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); font-family: var(--wp--preset--font-family--display); font-weight: 600; line-height: 1.25; text-align: start; color: var(--ink); font-size: .88em; }
.tgl input{ position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; inline-size: 100%; block-size: 100%; }
.tgl .sw{ position: relative; flex: none; inline-size: 40px; block-size: 24px; border-radius: 8px; background: oklch(88% .01 260); box-shadow: inset 0 -2px 0 oklch(80% .012 260); }
.tgl .sw::after{ content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 18px; block-size: 16px; border-radius: 5px; background: #fff; box-shadow: 0 1px 0 oklch(30% .03 260 / .3); transition: transform .2s var(--snap); }
.tgl:has(input:checked) .sw{ background: var(--lab-deep); box-shadow: none; }
.tgl:has(input:checked) .sw::after{ transform: translateX(-16px); }
.tgl:has(input:disabled){ cursor: not-allowed; color: var(--ink-2); }
.tgl:has(input:focus-visible){ outline: 3px solid var(--ink); outline-offset: 2px; }
.printer-box{ display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--lab-soft); box-shadow: inset 0 0 0 1px var(--lab-edge); }
.printer-box .field select{ min-block-size: 44px; }
html.paused .tgl .sw::after{ transition: none; }

/* ---------- component: results bar + pager ---------- */
.results{ min-inline-size: 0; display: flex; flex-direction: column; gap: 16px; scroll-margin-block-start: calc(var(--hdr) + 12px); }
.res-bar{ position: sticky; inset-block-start: calc(var(--hdr) + 6px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px 12px 14px; border-radius: 18px;
  background: oklch(99.5% .002 250 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #fff, inset 0 -3px 0 var(--lab-edge), 0 14px 30px -22px oklch(35% .06 260 / .45); }
.admin-bar .res-bar{ inset-block-start: calc(var(--hdr) + 6px + var(--wp-admin--admin-bar--height, 32px)); }
.res-count{ font-family: var(--wp--preset--font-family--display); font-weight: 700; display: flex; align-items: baseline; gap: 8px; margin: 0; }
.res-count b{ font-family: var(--wp--preset--font-family--mono); font-size: 1.3em; letter-spacing: -.02em; }
.res-count span{ font-weight: 400; color: var(--ink-2); font-size: .88em; }
.sort{ display: flex; align-items: center; gap: 8px; }
.res-bar .sort{ margin-inline-start: auto; }
.sort label{ font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .82em; color: var(--ink-2); }
.sort select{ min-block-size: 42px; border-radius: 12px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--ink-3), inset 0 -3px 0 var(--edge); padding-inline: 10px 30px; font-family: var(--wp--preset--font-family--display); font-size: .88em; color: var(--ink); }
.flt-open, .flt-done{ display: none !important; }
.active-f{ display: flex; flex-wrap: wrap; gap: 6px; inline-size: 100%; margin: 0; padding: 0; list-style: none; }
.active-f:empty{ display: none; }
.active-f .fchip{ background: var(--lab-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lab-edge), inset 0 -3px 0 var(--lab-edge); min-block-size: 38px; padding: 5px 10px 8px; }
.shelf.cat-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-grid .spc-tech{ text-align: start; direction: ltr; }
/* brand · weight · material: up to three short lines (1.3.2: one line cut with "…" hid the material) */
.spc-brand{ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
.cat-pager{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block-start: 6px; }
.cat-pager .page-numbers{ display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; min-inline-size: 44px; padding: 6px 12px 8px; border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); font-family: var(--wp--preset--font-family--display); }
.cat-pager .page-numbers.current{ background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
.cat-group + .cat-group{ margin-block-start: 34px; }
.cat-group .sec-head h2 .n{ font: 700 .5em/1 var(--wp--preset--font-family--mono); color: var(--lab-ink); vertical-align: .55em; }
.cat-all{ padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r-plate); background: var(--plate); box-shadow: inset 0 1px 0 oklch(100% 0 0), inset 0 -5px 0 var(--lab-edge), 0 2px 6px oklch(40% .05 260 / .06), 0 30px 60px -36px oklch(35% .06 260 / .3); margin-block-start: 28px; }

/* ---------- component: cat-bar — model categories + description + sort ---------- */
.cat-bar{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-block-end: 22px; }
.cat-bar .chips{ flex: 1 1 520px; min-inline-size: 0; }
.cat-desc{ display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; inline-size: 100%; padding: 12px 16px 14px; border-radius: 14px; background: var(--lab-soft); box-shadow: inset 0 0 0 1px var(--lab-edge); font-family: var(--wp--preset--font-family--display); line-height: 1.5; color: var(--ink-2); margin: 0; }
.cat-desc b{ font-weight: 700; color: var(--ink); }
.cat-desc .n{ font-family: var(--wp--preset--font-family--mono); font-weight: 600; font-size: .85em; color: var(--ink); margin-inline-start: auto; }
.models .mdl[hidden]{ display: none; }
.mdl{ view-transition-class: mdl; }
.mdl-body{ margin: 0; }
.models-plate{ padding: clamp(24px, 4vw, 52px); }
.models-plate > *{ margin-block: 0; }

/* ---------- component: cta-plate — "want another colour? custom print" (prototype catalog.css) ---------- */
.cta-plate{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding: clamp(22px, 3.4vw, 40px); }
.cta-plate > *{ margin: 0 !important; }
.cta-plate p{ color: var(--ink-2); }
.cta-plate .bit-guide, .cta-plate .wp-block-geekly-bit{ --bit: 84px; }

/* ---------- component: seg — segmented brick toggle (prototype catalog.css) ---------- */
.seg{ display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); max-inline-size: 100%; flex-wrap: wrap; }
.seg label{ position: relative; display: inline-flex; align-items: center; gap: 8px; min-block-size: 40px; padding: 7px 14px 9px; border-radius: 11px; cursor: pointer; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .88em; color: var(--ink); }
.seg input{ position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked){ background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--lab-edge); }
.seg label:has(input:focus-visible){ outline: 3px solid var(--ink); outline-offset: 2px; }
.seg label:has(input:disabled){ cursor: not-allowed; color: var(--ink-2); }

/* =================== PRODUCT PAGES =================== */
.pdp{ margin-block-start: 8px; }
.pdp-buyform{ display: contents; }
.pdp-info > *{ margin-block: 0; }
.pdp .crumbs{ margin: 0; }
/* component: gx — the product gallery (inc/product-images.php + mountGallery in catalog.js), both product pages.
   The owner's photos sit whole (object-fit: contain) on a light plate inside the filament-coloured stage and glow;
   renders and the flat art float on the studs. First picture: eager + fetchpriority high (the morph target). */
.pdp-stage.gx{ display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 16px; padding: clamp(18px, 3vw, 36px); }
.gx-view{ position: relative; inline-size: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.gx-glow{ position: absolute; inset: -4%; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--fil) 70%, transparent), color-mix(in oklch, var(--fil) 26%, transparent) 64%, transparent); }
.gx-main{ position: absolute; inset: 0; z-index: 1; margin: 0; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }   /* 1.7.26: one cell the size of the frame, so a tall (4:5) photo fits inside it instead of growing past it */
.gx-main[hidden]{ display: none; }
.gx-img{ display: block; inline-size: 100%; block-size: 100%; object-fit: contain; transition: opacity .25s linear; }
.gx-main .gx-img{ block-size: 100%; }   /* 1.7.26: beats WooCommerce's ".woocommerce img{ height: auto }", which let a 4:5 photo spill over the thumbnails */
.gx.is-photo .gx-main{ inset: 5%; padding: 4%; border-radius: 26px; cursor: zoom-in; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-2, var(--line)), 0 0 0 6px oklch(100% 0 0 / .85), 0 0 0 7px color-mix(in oklch, var(--fil) 35%, white), 0 26px 70px -16px color-mix(in oklch, var(--fil) 78%, transparent); }
.gx.is-none .gx-main{ inset: 8%; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.gx.is-render .gx-img{ inline-size: 92%; block-size: auto; aspect-ratio: 1; filter: drop-shadow(0 30px 30px oklch(30% .05 260 / .25)); }
.gx .gk-art{ display: grid; place-items: center; inline-size: 80%; }
.gx .gx-art{ inline-size: 100%; block-size: auto; display: block; filter: drop-shadow(0 30px 30px oklch(30% .05 260 / .25)); }
.gx-chip{ position: absolute; z-index: 3; inset-block-end: 2%; inset-inline-start: 2%; display: inline-flex; align-items: center; gap: 6px; margin: 0; max-inline-size: calc(100% - 72px);
  padding: 6px 10px 7px; border-radius: 10px; background: oklch(100% 0 0 / .94); box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--edge);
  font: 500 max(.78em, var(--wp--preset--font-size--xs))/1.25 var(--wp--preset--font-family--display); color: var(--ink-2); }
.gx-chip b{ font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-chip .stud{ --sz: 14px; flex: none; }
.gx-open{ position: absolute; z-index: 3; inset-block-end: 2%; inset-inline-end: 2%; inline-size: 44px; block-size: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; cursor: zoom-in;
  background: oklch(100% 0 0 / .95); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); }
.gx-open:hover{ background: var(--brand-soft, var(--lab-soft)); }
.gx-thumbs{ display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.gx-th{ position: relative; flex: none; inline-size: 72px; block-size: 72px; padding: 4px; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 0 4px oklch(100% 0 0 / .9); transition: transform .2s var(--snap); }
.gx-th:hover{ transform: translateY(-2px); }
.gx-th img{ display: block; inline-size: 100%; block-size: 100%; object-fit: contain; border-radius: 10px; }
.gx-th[aria-pressed="true"]{ box-shadow: 0 0 0 3px var(--ink), 0 0 0 7px oklch(100% 0 0 / .9); }
.gx-th .dot{ position: absolute; inset-block-end: 6px; inset-inline-start: 6px; inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 1px 3px oklch(0% 0 0 / .3); }
.gx-th.t3d{ display: grid; place-items: center; align-content: center; gap: 2px; font-family: var(--wp--preset--font-family--mono); font-weight: 700; font-size: 1.06em; line-height: 1; color: var(--ink); background: radial-gradient(circle at 12px 12px, var(--lab-glow) 0 3px, transparent 3.6px) 0 0 / 16px 16px, var(--white); }
.gx-th.t3d small{ font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .62em; color: var(--ink-2); }
html:not(.js) :is(.gx-open, .gx-thumbs){ display: none; }   /* no dead controls without JavaScript */
html.paused :is(.gx-img, .gx-th){ transition: none; }
html.paused .gx-th:hover{ transform: none; }
/* the zoom dialog (moved to <body>; .pnl modal from system.css: inert page, focus trap, Esc) */
.gx-dlg-card{ position: relative; inline-size: min(1100px, 100%); max-block-size: calc(100svh - 48px); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; padding: 66px 16px 16px; border-radius: 26px; background: var(--white); box-shadow: inset 0 -6px 0 var(--fil-edge, var(--edge)), 0 60px 120px -40px oklch(30% .06 260 / .5); }
.gx-dlg-fig{ margin: 0; min-block-size: 0; display: grid; place-items: center; }
.gx-dlg-fig img{ display: block; inline-size: auto; block-size: auto; max-inline-size: 100%; max-block-size: calc(100svh - 200px); object-fit: contain; }
.gx-dlg .pnl-x{ inset-block-start: 12px; inset-inline-end: 12px; }
.gx-dlg-nav{ display: flex; align-items: center; justify-content: center; gap: 14px; }
.gx-nav{ inline-size: 44px; block-size: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; cursor: pointer; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); }
.gx-nav:hover{ background: var(--brand-soft, var(--lab-soft)); }
:dir(ltr) .gx-nav svg{ scale: -1 1; }
.gx-count{ margin: 0; min-inline-size: 4em; text-align: center; font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--mono); color: var(--ink); }

/* card pictures (geekly_cat_card_pic / cardPic): photos whole on a light plate, renders and the art on the studs.
   Kept in step with blocks/filament-shelf/style.css (the home shelf shows the same card). */
.spc-stage .spc-pic{ display: block; block-size: 90%; inline-size: auto; aspect-ratio: 1; object-fit: contain; max-inline-size: 90%; filter: drop-shadow(0 14px 16px oklch(30% .04 260 / .22)); transition: transform .5s var(--snap); }
.spc-stage.is-photo{ place-items: end center; padding-block-end: 6%; }   /* the photo plate sits low: the material tags stay clear */
.spc-stage.is-photo .spc-pic{ block-size: 78%; padding: 5px; border-radius: 14px; background: var(--white); filter: none; box-shadow: 0 0 0 1px var(--line-2, var(--line)), 0 0 0 4px oklch(100% 0 0 / .85), 0 14px 24px -14px color-mix(in oklch, var(--sc, #888) 65%, oklch(30% .05 260 / .5)); }
.spc-stage svg.spc-pic{ block-size: auto; inline-size: 64%; aspect-ratio: auto; }
.spc:hover .spc-stage:is(.is-render, .is-art) .spc-pic{ transform: rotate(-14deg) scale(1.03); }
.spc:hover .spc-stage.is-photo .spc-pic{ transform: scale(1.04); }
.mdl-img:is(.is-photo, .is-none){ background: var(--white); }
.mdl-img .mdl-pic{ object-fit: contain; }
html.paused .spc:hover .spc-pic{ transform: none; }
/* no colour fade on the add button: a fade frozen under WebGL load reads as low contrast */
.pdp .btn{ transition: transform .12s var(--ease), box-shadow .12s var(--ease); }

/* component: notify-inline (out of stock) */
.notify-in{ display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px; border-radius: 16px; background: var(--lab-soft); box-shadow: inset 0 0 0 1px var(--lab-edge); }
.notify-in .field{ flex: 1; min-inline-size: min(200px, 100%); }
.notify-in .msg{ flex-basis: 100%; margin: 0; }
/* "צבע שאזל? תודיעו לי כשחוזר" (filament page, some colours sold out): a quiet text button that opens the form */
.pdp-notify-open{ margin: -4px 0 0; }
.pdp-notify-open button{ display: inline-flex; align-items: center; gap: 8px; min-block-size: 24px; padding: 2px 0; border: 0; background: none; cursor: pointer; color: var(--brand-ink); font: 600 var(--wp--preset--font-size--s)/1.4 var(--wp--preset--font-family--display); text-decoration: underline; text-underline-offset: 3px; }
.pdp-notify-open button::before{ content: ""; inline-size: 9px; block-size: 9px; border-radius: 3px; box-shadow: inset 0 0 0 2px currentColor; flex: none; }
.pdp-notify-open button[aria-expanded="true"]{ text-decoration: none; }
@media (max-width: 760px){ .pdp-notify-open button{ min-block-size: 44px; } }
.check-in{ display: flex; align-items: flex-start; gap: 10px; flex-basis: 100%; font-family: var(--wp--preset--font-family--display); font-size: .88em; line-height: 1.4; cursor: pointer; min-block-size: 24px; }
.check-in input{ inline-size: 22px; block-size: 22px; margin: 0; flex: none; accent-color: var(--lab-deep); }

/* component: temp-gauge — nozzle / bed windows on a brick scale */
.gauge{ display: flex; flex-direction: column; gap: 18px; margin-block-start: 22px; }
.g-row{ display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; }
.g-row .lbl{ font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .8em; line-height: 1.2; color: var(--ink-2); }
.g-row .lbl b{ display: block; font-family: var(--wp--preset--font-family--mono); font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 1.05em; }
.g-scale{ position: relative; block-size: 46px; direction: ltr; }
.g-track{ position: absolute; inset-inline: 0; inset-block-start: 14px; block-size: 18px; border-radius: 7px;
  background: radial-gradient(circle at 50% 50%, oklch(100% 0 0) 0 2.6px, transparent 3.2px) 0 0 / calc(100% / var(--n, 17)) 100%, oklch(92.5% .008 260); box-shadow: inset 0 -3px 0 oklch(87% .01 260); }
.g-win{ position: absolute; inset-block-start: 10px; block-size: 26px; inset-inline-start: var(--a); inline-size: calc(var(--b) - var(--a)); min-inline-size: 10px; border-radius: 8px;
  background: radial-gradient(circle at 50% 46%, oklch(100% 0 0 / .65) 0 3px, transparent 3.6px) 0 0 / 16px 100%, var(--lab);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .4), inset 0 -4px 0 color-mix(in oklch, var(--lab) 70%, black), 0 6px 14px -8px var(--lab); transition: inset-inline-start .6s var(--snap), inline-size .6s var(--snap); }
.g-ticks{ position: absolute; inset-inline: 0; inset-block-end: -16px; display: flex; justify-content: space-between; font-family: var(--wp--preset--font-family--mono); font-size: max(.65em, var(--wp--preset--font-size--xs)); color: var(--ink-2); }
.g-mark{ position: absolute; inset-block: 2px -2px; inset-inline-start: var(--m); inline-size: 0; border-inline-start: 2.5px dashed var(--ink); }
.g-mark span{ position: absolute; inset-block-start: -22px; inset-inline-start: 0; translate: -50% 0; white-space: nowrap; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .68em; background: var(--ink); color: #fff; padding: 2px 7px 3px; border-radius: 6px; }
html.paused .g-win{ transition: none; }
.sz-note{ font-family: var(--wp--preset--font-family--display); font-size: .82em; line-height: 1.5; color: var(--ink-2); margin-block: 12px 0; }

/* component: fit-check */
.fit-top{ display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.fit-top .field{ flex: 1; min-inline-size: min(220px, 100%); }
.fit-verdict{ display: flex; align-items: center; gap: 14px; margin-block: 18px 12px; padding: 14px 16px 16px; border-radius: 16px; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.06em; line-height: 1.35; background: var(--white); box-shadow: inset 0 0 0 2px var(--line), inset 0 -4px 0 var(--edge); }
.fit-verdict .ico{ flex: none; inline-size: 44px; block-size: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 1.2em; color: #fff; background: var(--ink-2); box-shadow: inset 0 -3px 0 oklch(0% 0 0 / .25); }
.fit-verdict.ok .ico{ background: var(--ok); } .fit-verdict.warn .ico{ background: var(--low); } .fit-verdict.no .ico{ background: var(--out); }
.fit-verdict.ok{ box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--ok) 40%, white), inset 0 -4px 0 color-mix(in oklch, var(--ok) 40%, white); }
.fit-verdict.warn{ box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--low) 40%, white), inset 0 -4px 0 color-mix(in oklch, var(--low) 40%, white); }
.fit-verdict.no{ box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--out) 40%, white), inset 0 -4px 0 color-mix(in oklch, var(--out) 40%, white); }
.fit-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fit-list li{ display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px 12px; border-radius: 13px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); font-family: var(--wp--preset--font-family--display); font-size: .88em; line-height: 1.45; }
.fit-list b{ display: block; font-weight: 700; }
.fit-list .st{ inline-size: 30px; block-size: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.fit-list .ok .st{ background: var(--ok); } .fit-list .warn .st{ background: var(--low); } .fit-list .no .st{ background: var(--out); }

/* component: slicer-profiles */
.profiles{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.prof{ display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.prof .app{ display: flex; align-items: center; gap: 12px; min-inline-size: 0; }
.prof .app > div{ min-inline-size: 0; }
.prof .app i{ inline-size: 44px; block-size: 44px; border-radius: 13px; display: grid; place-items: center; font-family: var(--wp--preset--font-family--mono); font-weight: 800; font-size: .88em; font-style: normal; color: #fff; background: var(--c); box-shadow: inset 0 -4px 0 oklch(0% 0 0 / .25), inset 0 1px 0 oklch(100% 0 0 / .3); }
.prof h3{ font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: 0; }
.prof h3:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--l); }
.prof .file{ font-family: var(--wp--preset--font-family--mono); font-size: .76em; color: var(--ink-2); direction: ltr; text-align: end; overflow-wrap: anywhere; margin: 0; }
.prof .how{ font-family: var(--wp--preset--font-family--display); font-size: .82em; line-height: 1.5; color: var(--ink-2); flex: 1; margin: 0; }
.prof .btn{ align-self: stretch; }
.prof-vals{ margin-block-start: 16px; }
.prof-vals summary{ cursor: pointer; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .88em; min-block-size: 32px; }
.prof-vals .sheet{ margin-block-start: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prof-vals p{ font-family: var(--wp--preset--font-family--display); font-size: .82em; line-height: 1.5; color: var(--ink-2); margin-block-start: 10px; }

/* component: spool-calc */
.calc{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
/* 1.3.2: commerce.css has another ".calc" (12px mono, left-to-right, pre-wrap, a grey box) that leaked into this one:
   the whole calculator ran LTR with 9–10px labels and an empty gap from the markup's line breaks. Back to the block's text. */
.geekly-cat-block .calc{ padding: 0; border-radius: 0; background: none; font: inherit; color: inherit; direction: inherit; text-align: start; white-space: normal; overflow-wrap: normal; }
.calc-in{ display: flex; flex-direction: column; gap: 16px; }
.calc-in .field input, .calc-in .field select{ max-inline-size: 260px; }
.calc-inf{ max-inline-size: 260px; }
.calc-g .field input{ font-family: var(--wp--preset--font-family--mono); font-weight: 700; font-size: 1.3em; min-block-size: 56px; }
.calc-out .res dt{ font-size: max(.765em, var(--wp--preset--font-size--s)); }   /* never under 13.5px (1.3.2: it was 9.2px) */
.calc-out .res dd{ font-size: max(1em, var(--wp--preset--font-size--m)); }
.calc-out .res .wide dd{ font-size: 1.76em; }
.spoolbar{ margin-block-start: 14px; padding: 14px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); }
.spoolbar p{ font-family: var(--wp--preset--font-family--display); font-weight: 500; font-size: max(.82em, var(--wp--preset--font-size--s)); line-height: 1.45; color: var(--ink-2); margin: 0; }
.spoolbar .studs{ display: flex; flex-wrap: wrap; gap: 4px; margin-block: 0 8px; direction: ltr; }
.spoolbar .studs i{ --sz: 18px; --c: var(--lab); }
.spoolbar .studs i.part{ --c: oklch(90% .01 260); position: relative; overflow: hidden; padding: 0; box-shadow: none; inline-size: 18px; block-size: 18px; }

/* component: bit-strip — ביט's tips as a three-panel comic */
.strip{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: tip; }
.strip li{ position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-block-size: 250px; padding: 18px 18px 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle, oklch(100% 0 0 / .55) 1.2px, transparent 1.6px) 0 0 / 9px 9px, linear-gradient(180deg, var(--lab-soft), color-mix(in oklch, var(--lab-soft) 60%, oklch(94% .01 250)));
  box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--lab-edge); }
.strip li::before{ counter-increment: tip; content: "0" counter(tip); position: absolute; inset-block-start: 14px; inset-inline-end: 16px; font-family: var(--wp--preset--font-family--mono); font-weight: 700; font-size: .76em; color: var(--ink-2); }
.strip .bubble{ max-inline-size: none; font-size: .91em; margin-inline-end: 24px; margin-block: 0; }
.strip .bubble bdi{ white-space: nowrap; }   /* "210–230°C" stays one piece, left to right */
.strip .bit{ --bit: 104px; align-self: flex-start; margin-block-end: -16px; margin-inline-start: 6px; }
.strip li:nth-child(2) .bubble::after{ inset-inline-start: auto; inset-inline-end: 34px; }
.strip li:nth-child(2) .bit{ align-self: flex-end; margin-inline: 0 6px; }

/* section heads: the related section keeps its button on the side */
.pdp-sec .head > *{ margin-block: 0; }
.pdp-sec .head .wp-block-buttons{ margin: 0; }
.pdp-sec.is-related .head{ display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 24px; }
.pdp-sec.is-related .head > :not(.wp-block-buttons){ grid-column: 1; }
.pdp-sec.is-related .head > .wp-block-buttons{ grid-column: 2; grid-row: 1 / span 3; align-self: end; }

/* =================== MODEL PAGE =================== */
/* component: gallery — see "component: gx" above (shared with the filament page); the <model-viewer> slot (GLB only) */
.mv-slot{ position: absolute; inset: 0; z-index: 2; border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 2px var(--line), 0 0 0 6px oklch(100% 0 0 / .85); }
.mv-slot[hidden]{ display: none; }
/* 1.7.24: the 360 turn (inc/spin360.php): a dark studio card, the canvas fills it; drag sideways, scroll up and down */
.spin-slot{ position: absolute; inset: 0; z-index: 2; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 46%, #1e212c 0, #090a0d 75%); box-shadow: 0 0 0 6px oklch(100% 0 0 / .85); color: #f4f4f6; }
.spin-slot[hidden]{ display: none; }
.spin-cv{ display: block; inline-size: 100%; block-size: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.spin-slot.is-drag .spin-cv{ cursor: grabbing; }
.spin-cv:focus-visible{ box-shadow: inset 0 0 0 3px var(--lab-glow, #8ab4ff); border-radius: 22px; }
.spin-slot.is-loading::after{ content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 34px; block-size: 34px; margin: -17px; border-radius: 50%; border: 3px solid oklch(100% 0 0 / .2); border-block-start-color: #fff; animation: spin360 .9s linear infinite; }
@keyframes spin360{ to{ transform: rotate(1turn); } }
.spin-modes{ position: absolute; inset-block-start: 14px; inset-inline-start: 50%; translate: -50% 0; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: oklch(100% 0 0 / .1); backdrop-filter: blur(6px); }
[dir="rtl"] .spin-modes{ translate: 50% 0; }
.spin-modes button{ min-block-size: 36px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9em; color: #e8e8ee; background: transparent; cursor: pointer; }
.spin-modes button[aria-pressed="true"]{ background: #fff; color: #111; }
.spin-modes button:focus-visible{ outline: 3px solid var(--lab-glow, #8ab4ff); outline-offset: 2px; }
.spin-hint{ position: absolute; inset-block-end: 16px; inset-inline: 0; margin: 0; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: .88em; color: oklch(100% 0 0 / .8); pointer-events: none; }
.spin-hint i{ inline-size: 46px; block-size: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); }
.spin-hint[hidden]{ display: none; }
.spin-note{ position: absolute; inset-block-end: 6px; inset-inline-end: 12px; margin: 0; font-size: .7em; color: oklch(100% 0 0 / .45); pointer-events: none; }
.gx-th.t360{ background: radial-gradient(circle at 50% 46%, #2a2e3a 0, #0b0c10 80%); color: #fff; }
.gx-th.t360 small{ color: oklch(100% 0 0 / .7); }
html:not(.js) .spin-slot{ display: none; }
.gx.is-spin :is(.gx-open, .gx-chip){ display: none; }   /* no zoom on the turn: the photos have it */
html.paused .spin-slot.is-loading::after{ animation: none; }
.mv-slot model-viewer{ display: block; inline-size: 100%; block-size: 100%; }
.mv-poster{ position: absolute; inset: 0; }
.mv-poster img{ inline-size: 100%; block-size: 100%; object-fit: contain; filter: grayscale(.6) opacity(.35); }
.mv-note{ position: absolute; inset-inline: 18px; inset-block-end: 18px; display: flex; align-items: flex-end; gap: 6px; }
.mv-note .bubble{ max-inline-size: 300px; margin-block: 0 70px; }
.mv-note .bit{ --bit: 78px; }
.mv-grid{ position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 30%, oklch(100% 0 0 / .6) 70%), repeating-linear-gradient(0deg, transparent 0 39px, oklch(70% .05 250 / .25) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, oklch(70% .05 250 / .25) 39px 40px); }
.gx-view .mdl-code{ z-index: 3; inset-block-start: 4%; inset-inline-start: 4%; }
.gx-view .sticker{ z-index: 3; }

/* component: custom-link — "want another colour?" */
.custom-link{ display: flex; align-items: center; gap: 14px; padding: 12px 16px 14px; border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 var(--lab-edge); transition: transform .2s var(--snap); }
.custom-link:hover{ transform: translateY(-2px); color: var(--ink); }
.custom-link .bit{ --bit: 44px; filter: none; flex: none; }
.custom-link b{ display: block; font-family: var(--wp--preset--font-family--display); font-weight: 700; }
.custom-link span{ font-family: var(--wp--preset--font-family--display); font-size: .88em; line-height: 1.4; color: var(--ink-2); }
.custom-link span b{ font-size: 1.13em; color: var(--ink); }
.custom-link .go{ margin-inline-start: auto; font-weight: 700; font-size: 1.2em; color: var(--lab-ink); }

/* component: about text + feat-list (brick bullets: every <ul> in the description) */
.about-txt{ line-height: 1.7; color: var(--ink); max-inline-size: 38em; font-family: var(--wp--preset--font-family--body); font-size: 1.03em; }
.about-txt > *{ margin-block: 0 1em; }
.about-txt :is(h2, h3, h4){ margin-block: 1.2em .5em; }
.about-txt ul{ list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.about-txt ul li{ display: flex; gap: 12px; align-items: baseline; padding: 10px 14px 12px; border-radius: 13px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); font-family: var(--wp--preset--font-family--display); font-weight: 500; line-height: 1.45; margin: 0; }
.about-txt ul li::before{ content: ""; flex: none; inline-size: 14px; block-size: 14px; border-radius: 50%; translate: 0 2px;
  background: radial-gradient(circle at 34% 30%, oklch(100% 0 0 / .95) 0 18%, transparent 46%), radial-gradient(circle at 50% 50%, var(--lab) 0 58%, color-mix(in oklch, var(--lab) 82%, black) 72%, var(--lab) 86%); box-shadow: 0 1.5px 0 oklch(30% .03 260 / .14); }
.about-txt table{ border-collapse: collapse; }
.about-txt :is(th, td){ border: 1px solid var(--line); padding: 6px 10px; text-align: start; }

/* component: size-bars — dimensions as stud bars */
.sizes{ display: flex; flex-direction: column; gap: 10px; margin-block-start: 20px; }
.sz{ display: grid; grid-template-columns: 64px minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-family: var(--wp--preset--font-family--display); font-size: .82em; color: var(--ink-2); }
.sz .bar{ block-size: 22px; border-radius: 7px; inline-size: var(--w); min-inline-size: 22px;
  background: radial-gradient(circle at 50% 50%, oklch(100% 0 0 / .7) 0 3.4px, transparent 4px) 0 0 / 22px 100%, var(--lab);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .35), inset 0 -4px 0 color-mix(in oklch, var(--lab) 70%, black); transition: inline-size .6s var(--snap); }
.sz b{ font-family: var(--wp--preset--font-family--mono); font-weight: 700; color: var(--ink); text-align: end; }
html.paused .sz .bar{ transition: none; }
.box2{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.box2 .tile{ padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.box2 h3{ display: flex; align-items: center; gap: 10px; font-family: var(--wp--preset--font-family--display); letter-spacing: 0; }
.box2 h3:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--l); }
.box2 p{ color: var(--ink-2); margin: 0; }

/* =================== EDITOR =================== */
.cat-kind-edit{ position: relative; outline: 1px dashed var(--line); outline-offset: 6px; }
.cat-kind-edit::before{ content: attr(data-kind-label); display: block; margin-block-end: 8px; font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--xs); color: var(--ink-2); }
.cat-edit-note{ font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--xs); color: var(--ink-2); margin: 0 0 8px; }
.cat-edit-copy{ margin-block-end: 12px; }
.cat-edit-copy > span{ display: flex; flex-direction: column; gap: 2px; }
.editor-styles-wrapper .cat-head-copy > .block-editor-inner-blocks, .editor-styles-wrapper .cat-head-copy .block-editor-block-list__layout{ display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.editor-styles-wrapper .pdp-sec .head{ display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1180px){
  .cat-layout{ grid-template-columns: 270px minmax(0, 1fr); }
  .shelf.cat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profiles{ grid-template-columns: minmax(0, 1fr); }
  .prof{ display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; }
  .prof .app, .prof .how{ grid-column: 1; }
  .prof .file{ text-align: start; }
  .prof .btn{ grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 1000px){
  .cat-layout{ grid-template-columns: minmax(0, 1fr); }
  .js .filters{ position: static; max-block-size: none; overflow: visible; display: none; order: 1; }
  .js .filters.open{ display: block; }
  .filters{ position: static; max-block-size: none; overflow: visible; }
  .results{ order: 2; }
  .js .flt-open{ display: inline-flex !important; }
  .js .flt-done{ display: inline-flex !important; }
  .filters .flt-g-wrap{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .calc{ grid-template-columns: minmax(0, 1fr); }
  .strip{ grid-template-columns: minmax(0, 1fr); }
  .strip li, .strip li:nth-child(2){ min-block-size: 0; flex-direction: row-reverse; align-items: center; gap: 18px; padding: 22px 18px 0; }
  .strip .bit, .strip li:nth-child(2) .bit{ align-self: flex-end; margin: 0; }
  .strip .bubble{ flex: 1; margin: 14px 0 18px; }
  .strip .bubble::after, .strip li:nth-child(2) .bubble::after{ inset-block-end: auto; inset-block-start: 50%; inset-inline-start: -9px; inset-inline-end: auto; transform: translateY(-50%) rotate(135deg); }
  .pdp-stage.gx{ border-radius: var(--r-plate) var(--r-plate) 0 0; }
  .cta-plate{ grid-template-columns: auto minmax(0, 1fr); }
  .cta-plate > :last-child{ grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px){
  .filters .flt-g-wrap{ grid-template-columns: minmax(0, 1fr); }
  .filters .chips{ flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; max-inline-size: 100%; }
  .res-bar{ display: grid; grid-template-columns: auto auto minmax(0, 1fr); padding: 8px 10px 10px; gap: 8px; inset-block-start: calc(var(--hdr) + 2px); border-radius: 16px; }
  .res-bar .active-f{ grid-column: 1 / -1; }
  .res-bar .sort{ justify-self: end; }
  .res-count span{ display: none; }
  .res-bar .sort label{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .res-bar select{ min-block-size: 44px; max-inline-size: 132px; padding-inline: 8px 26px; }
  .flt-open{ min-block-size: 44px; padding-inline: 12px; gap: 8px; }
  .finder{ gap: 8px; }
  .finder .chips{ flex: 1 1 100%; }
  .colfam .sws{ --sz: 44px; }
  .cat-bar{ gap: 12px; }
  .cat-bar .chips{ flex-basis: 100%; }
  .cat-bar .sort{ inline-size: 100%; justify-content: space-between; }
  .sort select{ min-block-size: 44px; }
  .prof{ display: flex; }
  .prof-vals .sheet{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-row{ grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .strip .bit{ --bit: 64px; }
  .calc-out .res .wide dd{ font-size: 1.4em; }
  .pdp-stage.gx{ aspect-ratio: auto; min-block-size: 0; padding: 14px 14px 16px; gap: 12px; }
  .gx-thumbs{ flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 8px; margin: -8px; scrollbar-width: none; }
  .gx-th{ inline-size: 60px; block-size: 60px; }
  .gx-dlg-card{ padding: 62px 10px 10px; border-radius: 20px 20px 0 0; }
  .gx-dlg-fig img{ max-block-size: calc(100svh - 170px); }
  .box2{ grid-template-columns: minmax(0, 1fr); }
  .sz{ grid-template-columns: 52px minmax(0, 1fr) 62px; }
  .mv-note .bubble{ margin-block-end: 52px; } .mv-note .bit{ --bit: 56px; }
  .cta-plate{ grid-template-columns: minmax(0, 1fr); }
  .cta-plate .bit-guide, .cta-plate .wp-block-geekly-bit{ display: none; }
  .pdp-sec.is-related .head{ grid-template-columns: minmax(0, 1fr); }
  .pdp-sec.is-related .head > .wp-block-buttons{ grid-column: 1; grid-row: auto; }
  .seg label, .tgl, .check-in, .prof-vals summary{ min-block-size: 44px; }
  .prof-vals summary{ display: flex; align-items: center; }
  .gx-chip{ font-size: max(.72em, var(--wp--preset--font-size--xs)); }
  .geekly-cat-block .pdp-tags .part b{ font-size: inherit; }
  .cat-pager .page-numbers{ min-block-size: 44px; }
  /* plates around card grids share the home plates' phone padding (1.3.2), so two cards per row stay wide enough */
  .cat-all, .models-plate{ padding: 22px 14px 24px; }
}
@media (max-width: 374px){
  .res-bar{ grid-template-columns: auto minmax(0, 1fr); }
  .res-bar .sort{ grid-column: 1 / -1; justify-self: stretch; }
  .res-bar .sort select{ inline-size: 100%; max-inline-size: none; }
  .colfam{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* the catalogue grid keeps two columns below 375px (1.3.2; one column doubled /shop/ and the filament pages) */
  .cat-all, .models-plate{ padding-inline: 12px; }
}

/* ---------- 1.7.0 · options that are not colours (chips) and buyer choices (inc/model-choices.php) ---------- */
.pdp-opts .row{ gap: 8px; }
.pdp-choices{ display: flex; flex-direction: column; gap: 14px; min-inline-size: 0; }
.pdp-choices .ch-unit{ border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.pdp-choices .ch-unit legend{ font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); margin-block-end: 8px; padding: 0; }
.pdp-choices[data-n="1"] .ch-unit legend{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }   /* one unit: the title is for screen readers only */
.pdp-choices .ch-fields{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px 14px; }
.pdp-choices .field{ min-inline-size: 0; }
.pdp-choices .field select{ inline-size: 100%; }
.pdp-choices .ch-copy{ margin: -6px 0 0; }
.pdp-choices .ch-copy [hidden]{ display: none; }
/* 1.7.3 · priced extras (cap sets), the set price note and the product note */
.pdp-choices .ch-extras{ border: 0; margin: 0; padding: 0; min-inline-size: 0; display: flex; flex-direction: column; gap: 6px; }
.pdp-choices .ch-extras legend{ font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); margin-block-end: 6px; padding: 0; }
.pdp-choices .ch-extras legend .opt{ font-weight: 400; color: var(--ink-2); font-size: var(--wp--preset--font-size--s); }
.pdp-choices .ch-check{ display: flex; align-items: center; gap: 10px; min-block-size: 32px; }
.pdp-choices .ch-check input{ inline-size: 22px; block-size: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.pdp-choices .ch-check label{ font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); cursor: pointer; }
.pdp-choices .ch-all label{ font-weight: 700; }
.pdp-choices .ch-bundle{ margin: 0; padding: 8px 12px; border-radius: 12px; background: color-mix(in oklab, var(--brand) 22%, var(--white)); font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.pdp-choices .ch-note{ margin: 0; color: var(--ink-2); font-size: var(--wp--preset--font-size--s); }

/* 1.7.6: the set colour from the filament stock (inc/model-choices.php) and the highlighted link box under the buy form */
.pdp-choices .ch-fil{ border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.pdp-choices .ch-fil legend{ font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); margin-block-end: 8px; padding: 0; }
.pdp-choices .ch-fil legend b{ font-weight: 700; }
.pdp-choices .ch-fil .row{ display: flex; flex-wrap: wrap; gap: 8px; }
.optc.fil{ gap: 8px; padding-inline: 10px 14px; }
.optc.fil i{ inline-size: 22px; block-size: 22px; border-radius: 50%; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .28); }
.optc.fil:has(input[aria-invalid="true"]){ box-shadow: inset 0 0 0 2px var(--bad, #b3261e), inset 0 -3px 0 var(--edge); }
.pdp-linkbox{ display: flex; align-items: center; gap: 14px; margin-block: 14px 4px; padding: 14px 16px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); background: color-mix(in oklab, var(--brand) 30%, var(--white)); box-shadow: inset 0 0 0 2px var(--ink), inset 0 -4px 0 var(--lab-edge); transition: transform .2s var(--snap); }
.pdp-linkbox:hover{ transform: translateY(-2px); color: var(--ink); }
.pdp-linkbox:focus-visible{ outline: 3px solid var(--ink); outline-offset: 3px; }
.pdp-linkbox .bit{ --bit: 44px; filter: none; flex: none; }
.pdp-linkbox span{ font-family: var(--wp--preset--font-family--display); line-height: 1.45; }
.pdp-linkbox span b{ display: block; font-weight: 700; font-size: 1.08em; }
.pdp-linkbox span u{ font-weight: 700; text-underline-offset: 3px; }
.pdp-linkbox .go{ margin-inline-start: auto; font-weight: 700; font-size: 1.2em; }

/* 1.7.16: a list inside a list item ("140 פקקים…") goes under its label instead of a narrow column beside it */
.about-txt ul li:has(> ul, > ol){ flex-wrap: wrap; }
.about-txt ul li > :is(ul, ol){ flex: 1 1 100%; margin-block-start: 8px; }

/* 1.7.25: out of stock, can be ordered: a clear line under the stock words on the product page */
.mto-note{ margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; border: 1.5px solid currentColor; background: oklch(96% .04 85); color: oklch(38% .09 65); font-weight: 600; line-height: 1.5; }
.mto-note[hidden]{ display: none; }
