/* =====================================================================
   Geekly · Brick design system v4 for WordPress (ported from the approved Brick Lab prototypes, v2 bricks then v4).
   Loaded on the front end and in the editor.

   v4: fixed brand purple (--brand*: buttons, links, menu, logo) · the filament colour lights ONLY product
   surroundings (--fil*, set by setFil(); --lab* are kept as aliases) · a candy accent per section
   ([data-acc] or the group styles "לוח · הדגשה …" = .is-style-acc-*), scaled by the owner's colour dose
   (html[data-dose="none|soft|mid"], Appearance → Geekly · הגדרות → תכונות) · logo v2 · ביט v2 · the strand.

   RULES (the owner's editability contract):
   - Fonts only via var(--wp--preset--font-family--display|body|mono|comic|iso),
     sizes only via var(--wp--preset--font-size--xs|s|m|l|xl|2xl|3xl|display) or em.
     → Appearance → Editor → Styles → Typography changes them everywhere.
   - Colours: the tokens below read the palette presets first (--ink → --wp--preset--color--ink, --brand →
     --wp--preset--color--brand, accents → --wp--preset--color--acc-*), so palette edits in Styles take effect.
   - Logical properties only (RTL). Never transition color/background-color on text-bearing elements.
   - Text always sits on a white brick or the light baseplate. Candy accents are edges and studs only.
   - Component class names are the prototype's. WordPress/WooCommerce output is mapped onto
     the same look further down (buttons, navigation, search, mini-cart, account, notices, forms).
   ===================================================================== */

/* cross-document view transitions (Chrome/Safari; Firefox just navigates) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce){ @view-transition { navigation: none; } }
::view-transition-group(*.morph){ animation-duration: .55s; animation-timing-function: cubic-bezier(.3, 1.2, .5, 1); }

/* =================== TOKENS =================== */
@property --fil-hue { syntax: '<number>'; inherits: true; initial-value: 205; }
@property --fil-c   { syntax: '<number>'; inherits: true; initial-value: 0.13; }
@property --iri-a   { syntax: '<angle>';  inherits: false; initial-value: 0deg; }

:root{
  /* WordPress kebab-cases the size slugs "2xl"/"3xl" into --wp--preset--font-size--2-xl / --3-xl (classes has-2-xl-font-size…).
     theme.json references and older code may say --2xl / --3xl: these aliases make both spellings work. */
  --wp--preset--font-size--2xl: var(--wp--preset--font-size--2-xl);
  --wp--preset--font-size--3xl: var(--wp--preset--font-size--3-xl);

  --paper: var(--wp--preset--color--paper, oklch(97.3% .013 234));   /* palette "פסטל רך": very light sky */
  --plate: var(--wp--preset--color--plate, oklch(99.3% .004 230));
  --white: var(--wp--preset--color--white, oklch(99.8% .001 250));
  --ink:   var(--wp--preset--color--ink, oklch(17% .02 260));   /* near-black: text, outlines and the hard shadows */
  --ink-2: var(--wp--preset--color--ink-2, oklch(42% .03 268));
  --ink-3: oklch(62% .02 268);          /* lines/ticks only, never text */
  --line:  var(--wp--preset--color--line, oklch(91.3% .022 234));
  --line-2:oklch(94.5% .012 234);
  --edge:  oklch(92% .02 234);       /* brick "thickness" edge */

  /* BRAND — arcade red (palette "סגלגל ארקייד"): buttons, links, menu (palette "brand" / "brand-ink").
     #c8102e · white text on it 5.9:1 · --brand-ink (#a50d26) as text: 7.9:1 on white, 7.3:1 on the lavender paper.
     The derived shades follow the palette colour where the browser supports relative colours (below). */
  --brand:      var(--wp--preset--color--brand, oklch(84.2% .091 208));   /* the logo turquoise #7fdcea · ink text on it 11:1 */
  --brand-ink:  var(--wp--preset--color--brand-ink, oklch(44.7% .073 211));   /* #0e5f6b: links and accent text, 6.8:1+ on the paper */
  --brand-deep: oklch(69% .07 208);      /* button thickness edge */
  --brand-soft: oklch(95.5% .02 208);   /* hover / current fills */
  --brand-glow: oklch(84% .06 208);
  --brand-edge: oklch(88% .05 208);     /* brick edges when the colour dose is "ללא" */

  /* FILAMENT — adaptive, ONLY around products (stages, card plates & glows, swatch ring, strand). Set via setFil(hex).
     Palette presets "lab", "lab-deep", "lab-soft" ("אור המוצר") default to these formulas; a fixed colour there pins it. */
  --fil:      var(--wp--preset--color--lab, oklch(64% var(--fil-c) var(--fil-hue)));
  --fil-line: oklch(60% calc(var(--fil-c) * 1.15) var(--fil-hue));   /* the filament strand */
  --fil-deep: var(--wp--preset--color--lab-deep, oklch(40% calc(var(--fil-c) * .92) var(--fil-hue)));
  --fil-ink:  oklch(40% calc(var(--fil-c) * .85) var(--fil-hue));
  --fil-soft: var(--wp--preset--color--lab-soft, oklch(95.5% calc(var(--fil-c) * .28) var(--fil-hue)));
  --fil-glow: oklch(84% calc(var(--fil-c) * .75) var(--fil-hue));
  --fil-edge: oklch(88% calc(var(--fil-c) * .55) var(--fil-hue));
  --fil-dark: oklch(28% calc(var(--fil-c) * .8) var(--fil-hue));   /* edge under fil-deep bricks */
  /* v3 names, still used by the inner pages (they now mean "filament colour") */
  --lab-hue: var(--fil-hue); --lab-c: var(--fil-c);
  --lab: var(--fil); --lab-deep: var(--fil-deep); --lab-ink: var(--fil-ink); --lab-soft: var(--fil-soft);
  --lab-glow: var(--fil-glow); --lab-edge: var(--fil-edge); --lab-dark: var(--fil-dark);

  /* CANDY ACCENTS — from the collectors wall, slightly muted. One per section ([data-acc] / .is-style-acc-*). Never behind text. */
  --acc-stud: var(--white);          /* defaults = dose "ללא" (and any element outside an accent section) */
  --acc-edge: var(--brand-edge);
  --dose-sl: .08; --dose-sc: 1.5; --dose-el: .05; --dose-ec: 1.3; --dose-fill: 55%;   /* pastel accents: stud darken · stud chroma · edge darken · edge chroma · plate fill (dose "עדין") */

  /* ביט's accessory colours (block option: brand / filament) */
  --bit-acc: var(--brand);
  --bit-hood: color-mix(in oklch, var(--bit-acc) 18%, white);
  --bit-acc2: oklch(80% .1 350);

  --ok:  var(--wp--preset--color--ok, oklch(45% .12 152));
  --low: var(--wp--preset--color--low, oklch(48% .12 62));
  --out: var(--wp--preset--color--out, oklch(49% .17 26));

  --iri: conic-gradient(from var(--iri-a), oklch(86% .11 200), oklch(86% .11 290), oklch(88% .1 350), oklch(91% .1 80), oklch(88% .11 150), oklch(86% .11 200));

  --u: 8px;
  --pitch: 32px;
  --r-plate: 28px;
  --r-tile: 18px;
  --wrap: var(--wp--style--global--wide-size, 1320px);
  --gut: 24px;
  --hdr: 68px;

  --snap: cubic-bezier(.3, 1.55, .5, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);

  color-scheme: light;
  transition: --fil-hue 1.4s var(--ease), --fil-c 1.4s var(--ease);
}
/* brand shades follow the palette's "brand" colour when the browser can derive them (else the fixed v4 values above) */
@supports (color: oklch(from red l c h)){
  :root{
    --brand-deep: oklch(from var(--brand) calc(l - .15) calc(c * .77) h);
    --brand-soft: oklch(from var(--brand) .955 calc(c * .114) h);
    --brand-glow: oklch(from var(--brand) .84 calc(c * .41) h);
    --brand-edge: oklch(from var(--brand) .88 calc(c * .3) h);
  }
}
@media (max-width: 760px){ :root{ --hdr: 60px; --r-plate: 22px; } }

/* =================== BASE =================== */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.paused{ scroll-behavior: auto; }
body{
  margin: 0;
  --gut: var(--wp--style--root--padding-left, 24px);   /* = Styles → Layout → padding, so header, plates and footer line up */
  background-color: var(--paper);
  /* the baseplate: embossed studs on a 32px pitch (font, size and colours come from Styles) */
  background-image:
    radial-gradient(circle at 15px 15px, oklch(100% 0 0 / .95) 0 4.2px, transparent 4.8px),
    radial-gradient(circle at 16.2px 17.4px, oklch(84% .02 234 / .55) 0 4.8px, transparent 5.6px);
  background-size: var(--pitch) var(--pitch);
  background-attachment: scroll;   /* v4: the plate scrolls with the page, so coloured stud clusters sit exactly on the grid */
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;              /* the stud-cluster layer (system.js) is placed against the body */
}
img{ max-width: 100%; height: auto; }
[hidden]:not(.buybar){ display: none !important; }   /* the hidden attribute always wins over component display rules */
button, input, select, textarea{ font: inherit; color: inherit; }
:where(h1,h2,h3,h4,h5,h6){ margin-block: 0; }
:where(.wp-site-blocks) :where(p){ margin-block: 0; }
.wrap{ max-inline-size: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.mono{ font-family: var(--wp--preset--font-family--mono); font-feature-settings: "zero" 1, "tnum" 1; }
.ltr{ direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only, .screen-reader-text{ position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
:focus-visible{ outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; box-shadow: 0 0 0 7px oklch(100% 0 0 / .9); }
/* skip link: ours (.skip) and WordPress's (.skip-link, printed by core for block themes) */
.skip{ position: absolute; inset-inline-start: 12px; inset-block-start: -80px; z-index: 100001; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font: 600 var(--wp--preset--font-size--m)/1.2 var(--wp--preset--font-family--display); text-decoration: none; }
.skip:focus{ inset-block-start: 12px; }
:root body .skip-link.screen-reader-text:focus{ inset-inline-start: 12px; inset-inline-end: auto; inset-block-start: 12px; inline-size: auto; block-size: auto; z-index: 100001;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font: 600 var(--wp--preset--font-size--m)/1.2 var(--wp--preset--font-family--display); text-decoration: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); outline: none; }

/* =================== BRICK PRIMITIVES =================== */
/* top-down stud: <i class="stud" style="--c:#2fa7a8;--sz:16px"></i> */
.stud{
  --c: var(--white);
  inline-size: var(--sz, 14px); block-size: var(--sz, 14px); border-radius: 50%; flex: none; display: inline-block;
  background:
    radial-gradient(circle at 34% 30%, oklch(100% 0 0 / .95) 0 18%, transparent 46%),
    radial-gradient(circle at 50% 50%, var(--c) 0 58%, color-mix(in oklch, var(--c) 82%, black) 72%, var(--c) 86%);
  box-shadow: 0 1.5px 0 oklch(30% .03 260 / .14), 0 0 0 1px oklch(30% .03 260 / .08);
}
.rail{ display: inline-flex; gap: 6px; }
.rail .stud{ --sz: 10px; }

.plate{
  position: relative; background: var(--plate);
  border-radius: var(--r-plate);
  border: 1px solid oklch(100% 0 0);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0),
    inset 0 -5px 0 var(--acc-edge),
    0 2px 6px oklch(40% .05 260 / .06),
    0 30px 60px -36px oklch(35% .06 260 / .3);
}
.tile{
  position: relative; background: oklch(99.6% .002 250 / .92);
  border-radius: var(--r-tile);
  border: 1px solid oklch(100% 0 0);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0),
    inset 0 -4px 0 var(--edge),
    0 1px 2px oklch(40% .05 260 / .08),
    0 14px 30px -20px oklch(35% .06 260 / .3);
  transition: transform .35s var(--snap), box-shadow .35s var(--ease);
}

/* snap-in: tiles drop onto the baseplate and click (system.js snapAll() handles [data-snap]) */
.js :is([data-snap], .is-snap){ opacity: 0; transform: translateY(-22px) scale(1.025); }
.js :is([data-snap], .is-snap).in{ opacity: 1; transform: none; transition: opacity .25s linear calc(var(--i, 0) * 70ms), transform .55s var(--snap) calc(var(--i, 0) * 70ms); }
.js :is([data-snap], .is-snap).in.settled{ transition: transform .35s var(--snap), box-shadow .35s var(--ease); }
[data-snap].clicked .rail .stud{ animation: studClick .6s var(--ease) 1; }
@keyframes studClick{ 0%{ box-shadow: 0 1.5px 0 oklch(30% .03 260 / .14), 0 0 0 0 var(--brand-glow); } 40%{ box-shadow: 0 1.5px 0 oklch(30% .03 260 / .14), 0 0 0 4px var(--brand-glow); } 100%{ box-shadow: 0 1.5px 0 oklch(30% .03 260 / .14), 0 0 0 8px transparent; } }

/* buttons = bricks seen from above: a body and a thickness edge (brand purple) */
.btn{
  --b: var(--brand); --e: var(--brand-deep);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-block-size: 52px; padding: 12px 22px 15px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--b); color: var(--ink); font: 600 var(--wp--preset--font-size--m)/1.2 var(--wp--preset--font-family--display); text-decoration: none;
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .22), inset 0 -4px 0 var(--e), 0 10px 22px -12px var(--b);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn:hover{ transform: translateY(-1px); color: var(--ink); }
.btn:active{ transform: translateY(2px); box-shadow: inset 0 1px 0 oklch(100% 0 0 / .22), inset 0 -2px 0 var(--e), 0 4px 10px -8px var(--b); }
.btn .pair{ display: inline-flex; gap: 4px; }
.btn .pair i{ inline-size: 9px; block-size: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, oklch(100% 0 0 / .85) 0 22%, oklch(100% 0 0 / .32) 50%); box-shadow: 0 1px 0 oklch(0% 0 0 / .25); }
.btn.ghost{ --b: var(--white); --e: var(--edge); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 var(--edge), 0 8px 18px -14px oklch(35% .06 260 / .5); }
.btn.ghost:hover{ color: var(--ink); }
.btn.ghost .pair i{ background: radial-gradient(circle at 35% 30%, #fff 0 22%, var(--brand-glow) 60%); box-shadow: 0 1px 0 oklch(30% .03 260 / .2); }
.btn.sm{ min-block-size: 44px; padding: 9px 16px 12px; font-size: var(--wp--preset--font-size--s); border-radius: 12px; }
.btn[disabled], .btn.is-off{ cursor: not-allowed; --b: oklch(90% .01 260); --e: oklch(84% .01 260); color: var(--ink-2); box-shadow: inset 0 -4px 0 var(--e); }
.btn.is-off .pair{ display: none; }

.part{
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 8px; border-radius: 10px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--acc-edge);
  font: 500 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--mono); color: var(--ink-2); letter-spacing: .02em;
}
.part .rail .stud{ --c: var(--acc-stud); }
.part b, .part strong{ font: 600 var(--wp--preset--font-size--s)/1 var(--wp--preset--font-family--display); color: var(--ink); letter-spacing: 0; }
/* a part tag made from a paragraph ("Additional CSS class: part"; three studs like v4, "part is-2" = two): the stud rail
   is drawn in the section's accent colour (white outside accent sections / dose "ללא"); the bold run is the part number.
   "body" lifts these over the older per-area copies of this rule (home/catalog/commerce CSS), so every tag looks the same. */
p.part{ align-self: flex-start; inline-size: fit-content; max-inline-size: 100%; flex-wrap: wrap; row-gap: 4px; margin: 0; }
body p.part::before{ content: ""; flex: none; inline-size: 42px; block-size: 10px; filter: none;
  background:
    radial-gradient(circle at 3.4px 3.3px, oklch(100% 0 0 / .95) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 5px 5px, var(--acc-stud) 0 3.4px, color-mix(in oklch, var(--acc-stud) 78%, black) 4.3px, oklch(30% .03 260 / .18) 4.7px, transparent 5.1px),
    radial-gradient(circle at 19.4px 3.3px, oklch(100% 0 0 / .95) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 21px 5px, var(--acc-stud) 0 3.4px, color-mix(in oklch, var(--acc-stud) 78%, black) 4.3px, oklch(30% .03 260 / .18) 4.7px, transparent 5.1px),
    radial-gradient(circle at 35.4px 3.3px, oklch(100% 0 0 / .95) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 37px 5px, var(--acc-stud) 0 3.4px, color-mix(in oklch, var(--acc-stud) 78%, black) 4.3px, oklch(30% .03 260 / .18) 4.7px, transparent 5.1px); }
body p.part:has(> .rail)::before{ content: none; }   /* a tag with its own .rail of studs draws no second one */
body p.part.is-2::before{ inline-size: 26px;
  background:
    radial-gradient(circle at 3.4px 3.3px, oklch(100% 0 0 / .95) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 5px 5px, var(--acc-stud) 0 3.4px, color-mix(in oklch, var(--acc-stud) 78%, black) 4.3px, oklch(30% .03 260 / .18) 4.7px, transparent 5.1px),
    radial-gradient(circle at 19.4px 3.3px, oklch(100% 0 0 / .95) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 21px 5px, var(--acc-stud) 0 3.4px, color-mix(in oklch, var(--acc-stud) 78%, black) 4.3px, oklch(30% .03 260 / .18) 4.7px, transparent 5.1px); }

/* comic speech bubble (crisp ink outline, offset shadow in a light tint of ביט's accessory colour) */
.bubble{
  position: relative; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 18px;
  padding: 10px 14px 11px; font: 600 var(--wp--preset--font-size--s)/1.35 var(--wp--preset--font-family--display); box-shadow: 4px 4px 0 var(--brand-edge);
  box-shadow: 4px 4px 0 color-mix(in oklch, var(--bit-acc) 30%, white);
  max-inline-size: 260px;
}
.bubble::after{
  content: ""; position: absolute; inline-size: 16px; block-size: 16px; background: #fff;
  border-inline-end: 2px solid var(--ink); border-block-end: 2px solid var(--ink);
  inset-block-end: -9px; inset-inline-start: 26px; transform: rotate(45deg) skew(8deg, 8deg);
}
.bubble.to-side::after{ inset-block-end: auto; inset-block-start: 50%; inset-inline-start: -9px; transform: translateY(-50%) rotate(135deg); }

/* stock line, always in words: <p class="stock ok|low|out|made" aria-live="polite"> */
.stock{ font: 500 var(--wp--preset--font-size--s)/1.4 var(--wp--preset--font-family--display); display: inline-flex; align-items: center; gap: 7px; }
.stock::before{ content: ""; inline-size: 9px; block-size: 9px; border-radius: 3px; background: currentColor; flex: none; }
.stock.ok{ color: var(--ok); } .stock.low{ color: var(--low); } .stock.out{ color: var(--out); }
.stock.out::before{ background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
/* made to order (no stock, WooCommerce backorders): "… · מודפס לפי הזמנה · יוצא בעוד X ימים" with a hotend-nozzle icon
   (the same drawing as geekly_home_avail_icon('made')); the words carry the meaning, the icon is decoration */
.stock.made{ color: var(--brand-ink, var(--ink-2)); align-items: flex-start; }
.stock.made::before{ inline-size: 1.15em; block-size: 1.15em; margin-block-start: .1em; border-radius: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2.5' width='16' height='6.5' rx='1.6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Crect x='8.5' y='9' width='7' height='2.6' rx='.6'/%3E%3Cpath d='M9.3 11.6h5.4L13 15.4h-2z' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='19.6' r='2.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2.5' width='16' height='6.5' rx='1.6' fill='none' stroke='%23000' stroke-width='2'/%3E%3Crect x='8.5' y='9' width='7' height='2.6' rx='.6'/%3E%3Cpath d='M9.3 11.6h5.4L13 15.4h-2z' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='19.6' r='2.3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* =================== HEADER (parts/header.html) =================== */
/* <header class="hdr wp-block-template-part"> › .hdr-in (group) › logo · navigation · .hdr-tools (search, pause, account, mini-cart) */
.hdr, .wp-site-blocks > header.wp-block-template-part{ position: sticky; inset-block-start: 0; z-index: 40; padding-block: 8px; max-inline-size: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); view-transition-name: site-header; }
.admin-bar .hdr{ inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px){ .admin-bar .hdr{ inset-block-start: 0; } }
.hdr-in{
  position: relative; isolation: isolate;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; min-block-size: calc(var(--hdr) - 16px); padding-inline: 14px 10px;
}
/* the glass bar is a pseudo-element: a backdrop-filter on an ancestor would trap the fixed menu overlay and cart drawer */
.hdr-in::before{ content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: oklch(99.5% .002 250 / .86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 18px; border: 1px solid oklch(100% 0 0);
  box-shadow: inset 0 -3px 0 var(--brand-edge), 0 10px 30px -18px oklch(35% .06 260 / .35); }
.hdr-tools{ display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-inline-start: auto; }
.hdr-in > *, .hdr-tools > *{ margin: 0; flex: none; }
.hdr-in > .hdr-tools{ margin-inline-start: auto; }
/* 1.4.11: גיקלי greets from the empty middle of the header bar: a small head and a one-line bubble (desktop only) */
.hdr-in > .hdr-hi{ margin-inline: auto; flex: 0 1 auto; min-inline-size: 0; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.hdr-in:has(> .hdr-hi) > .hdr-tools{ margin-inline-start: 0; }
.hdr-in > .hdr-hi .hdr-hi-bit{ inline-size: 40px; block-size: 38px; flex: none; }
.hdr-in > .hdr-hi .bubble{ margin: 0; max-inline-size: none; white-space: nowrap; padding: 6px 12px 7px; border-width: 1.5px; border-radius: 14px; box-shadow: 2px 2px 0 color-mix(in oklch, var(--bit-acc, var(--brand)) 30%, white); font: 600 var(--wp--preset--font-size--xs)/1.3 var(--wp--preset--font-family--display); }
.hdr-in > .hdr-hi .bubble::after{ inline-size: 9px; block-size: 9px; border-width: 1.5px; inset-block: 50% auto; inset-inline-start: auto; inset-inline-end: -6px; transform: translateY(-50%) rotate(-45deg); }
@media (max-width: 1100px){ .hdr-in > .hdr-hi{ display: none; } .hdr-in:has(> .hdr-hi) > .hdr-tools{ margin-inline-start: auto; } }

/* icon buttons (account, cart, menu) */
.ibtn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 42px; min-inline-size: 42px; padding-inline: 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); text-decoration: none; color: var(--ink); white-space: nowrap; }
.ibtn:hover, .ibtn[aria-current="page"]{ background: var(--brand-soft); }
.ibtn svg{ flex: none; }
.cart-n{ min-inline-size: 24px; block-size: 24px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--mono); color: var(--ink); background: var(--brand); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- logo (geekly/logo block): v3 = holo candy letters + nozzle "!" + rainbow silk strand; classic = the burst.
   Static: nothing moves on hover (the old burst transform overrode the SVG transform and "ran away"). ---------- */
.logo, .wp-block-geekly-logo{ display: inline-flex; align-items: center; flex: none; text-decoration: none; color: var(--ink); direction: ltr; border-radius: 12px; font-family: var(--wp--preset--font-family--comic); font-size: var(--wp--preset--font-size--m); line-height: 1; }
.logo{ --lg-h: 2.95em; --lg-k: .86; }  /* --lg-h = the classic logo's height; v3 (no burst, tight viewBox) = --lg-h × --lg-k */
.logo .logo-svg{ display: block; block-size: var(--lg-h); inline-size: auto; overflow: visible; }
.logo .logo-svg.logo-strand{ block-size: calc(var(--lg-h) * var(--lg-k)); }
.logo .lg-text{ font-family: inherit; }
.mark{ display: inline-block; inline-size: var(--sz, 32px); block-size: var(--sz, 32px); }
.mark .mark-svg{ inline-size: 100%; block-size: 100%; display: block; }
.logo .mark-svg{ display: none; block-size: 2.25em; inline-size: 2.25em; }
.ftr-plate .logo{ --lg-h: 2.95em; }

/* ---------- main navigation (core/navigation with class "nav") ---------- */
.hdr-in .wp-block-navigation{ margin-inline-start: 8px; gap: 2px; font-family: var(--wp--preset--font-family--display); }
.hdr-in .wp-block-navigation .wp-block-navigation__container{ gap: 2px; flex-wrap: nowrap; }
.hdr-in .wp-block-navigation .wp-block-navigation-item__content{ display: inline-flex; align-items: center; gap: 8px; min-block-size: 40px; padding: 6px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.hdr-in .wp-block-navigation .wp-block-navigation-item__content:hover{ background: var(--brand-soft); color: var(--ink); }
.hdr-in .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]{ background: var(--brand-soft); box-shadow: inset 0 -3px 0 var(--brand-edge); }
.wp-block-navigation .soon{ font: 600 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--display); padding: 4px 7px 5px; border-radius: 6px; background: var(--ink); color: #fff; }
.hdr-in .wp-block-navigation .nav-m{ display: none; }
/* menu (hamburger) + close buttons */
.hdr-in .wp-block-navigation__responsive-container-open,
.hdr-in .wp-block-navigation__responsive-container-close{ align-items: center; justify-content: center; min-block-size: 42px; min-inline-size: 42px; border-radius: 12px; color: var(--ink); background: transparent; }
.hdr-in .wp-block-navigation__responsive-container-open:hover,
.hdr-in .wp-block-navigation__responsive-container-close:hover{ background: var(--brand-soft); }
.hdr-in .wp-block-navigation__responsive-container-open svg,
.hdr-in .wp-block-navigation__responsive-container-close svg{ inline-size: 24px; block-size: 24px; }
/* the open menu: a translucent backdrop with a plate panel (aria-modal dialog from core) */
.wp-block-navigation__responsive-container.is-menu-open{
  background: oklch(96% .01 250 / .72) !important; color: var(--ink) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: calc(var(--hdr) + 4px) var(--gut) var(--gut) !important; }
.admin-bar .wp-block-navigation__responsive-container.is-menu-open{ inset-block-start: var(--wp-admin--admin-bar--height, 0); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{
  position: relative; margin: 0; padding: 56px 12px 14px; border-radius: 18px; background: var(--plate);
  box-shadow: inset 0 0 0 1px #fff, inset 0 -4px 0 var(--brand-edge), 0 30px 50px -20px oklch(30% .06 260 / .4); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close{ position: absolute; inset-block-start: 8px; inset-inline-end: 8px; inset-inline-start: auto; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{ padding: 0 !important; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{ gap: 4px !important; flex-direction: column; align-items: stretch !important; inline-size: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{ inline-size: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ inline-size: 100%; min-block-size: 48px; font-size: var(--wp--preset--font-size--m); padding: 10px 14px !important; }
.hdr-in .wp-block-navigation__responsive-container.is-menu-open .nav-m{ display: flex; }

/* ---------- header search (core/search, class "search") + suggestions (system.js) ---------- */
/* the phone search button (system.js adds it before the form; shown at 760px and below, see RESPONSIVE) */
.hdr-sbtn{ display: none; min-block-size: 44px; min-inline-size: 44px; padding: 0; }
.hdr-sbtn svg{ inline-size: 22px; block-size: 22px; }
.hdr-in .wp-block-search, .search{ position: relative; margin: 0; }
.hdr-in .wp-block-search__inside-wrapper{ position: relative; display: flex; align-items: center; border: 0; padding: 0; background: none; }
.hdr-in .wp-block-search__inside-wrapper::before{ content: ""; position: absolute; inset-inline-start: 12px; inline-size: 18px; block-size: 18px; pointer-events: none; background: var(--ink-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M15.5 15.5 20 20' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M15.5 15.5 20 20' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hdr-in .wp-block-search__input{ inline-size: 180px; block-size: 42px; min-block-size: 42px; border-radius: 12px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding-block: 0; padding-inline: 38px 12px; font: 400 var(--wp--preset--font-size--s) var(--wp--preset--font-family--body); color: var(--ink); }
.hdr-in .wp-block-search__input::placeholder{ color: var(--ink-2); opacity: 1; }
.hdr-in .wp-block-search__button{ display: none; }
.search-pop{ position: absolute; z-index: 60; inset-block-start: calc(100% + 8px); inset-inline: 0; min-inline-size: 300px; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--plate); box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 var(--brand-edge), 0 24px 40px -18px oklch(30% .06 260 / .4); }
.search-pop li{ margin: 0; }
.search-pop [role="option"][data-href]{ display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; cursor: pointer; font: 500 var(--wp--preset--font-size--s)/1.3 var(--wp--preset--font-family--display); color: var(--ink); }
.search-pop [role="option"] small{ font: 400 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); }
.search-pop [role="option"]:has(> .sp-img){ flex-direction: row; align-items: center; gap: 10px; }
.search-pop .sp-img{ flex: none; inline-size: 44px; block-size: 44px; object-fit: contain; border-radius: 9px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.search-pop .sp-t{ display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.search-pop [role="option"][aria-selected="true"], .search-pop [role="option"][data-href]:hover{ background: var(--brand-soft); }
.search-pop li.none{ padding: 10px 12px; font: 400 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); }
.search-pop li.all{ flex-direction: row; justify-content: space-between; font-weight: 600; color: var(--brand-ink); border-block-start: 1px dashed var(--line); border-radius: 0 0 10px 10px; }

/* ---------- pause-motion switch (geekly/pause-motion block) ---------- */
.motion{ display: inline-flex; align-items: center; gap: 10px; min-block-size: 42px; padding: 6px 12px 6px 8px; border-radius: 12px; border: 0; cursor: pointer; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font: 500 var(--wp--preset--font-size--s)/1.15 var(--wp--preset--font-family--display); white-space: nowrap; text-align: start; }
.motion .sw{ position: relative; flex: none; inline-size: 38px; block-size: 22px; border-radius: 7px; background: oklch(88% .01 260); box-shadow: inset 0 -2px 0 oklch(80% .012 260); transition: background-color .2s; }
.motion .sw::after{ content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 16px; block-size: 14px; border-radius: 4px; background: #fff; box-shadow: 0 1px 0 oklch(30% .03 260 / .3); transition: transform .2s var(--snap); }
.motion[aria-pressed="true"] .sw, html.paused .motion .sw{ background: var(--ink); box-shadow: none; }
.motion[aria-pressed="true"] .sw::after, html.paused .motion .sw::after{ transform: translateX(-16px); }
.motion .st{ font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink-2); }
.motion .st::before{ content: "OFF"; } .motion[aria-pressed="true"] .st::before, html.paused .motion .st::before{ content: "ON"; }

/* ---------- WooCommerce customer account (icon) ---------- */
.hdr-in .wp-block-woocommerce-customer-account a{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 42px; min-inline-size: 42px; padding: 0 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.hdr-in .wp-block-woocommerce-customer-account a:hover{ background: var(--brand-soft); }
.hdr-in .wp-block-woocommerce-customer-account svg{ inline-size: 22px; block-size: 22px; flex: none; }

/* ---------- WooCommerce mini-cart button: the cart icon with a brand-purple count stud ---------- */
.hdr-in .wc-block-mini-cart{ display: inline-flex; }
.wc-block-mini-cart__button{ display: inline-flex; align-items: center; gap: 8px; min-block-size: 42px; min-inline-size: 42px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.wc-block-mini-cart__button:hover{ background: var(--brand-soft); }
.wc-block-mini-cart__button:hover:not([disabled]){ opacity: 1; }
.wc-block-mini-cart__quantity-badge{ display: inline-flex; align-items: center; gap: 6px; }
.wc-block-mini-cart__icon{ inline-size: 24px; block-size: 24px; }
.wc-block-mini-cart__badge{ position: static !important; transform: none !important; min-inline-size: 24px; block-size: 24px; padding: 0 4px; margin: 0 !important; border: 0 !important; border-radius: 12px; display: inline-grid; place-items: center;
  font: 700 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--mono) !important; color: var(--ink) !important; background: var(--brand) !important; box-shadow: inset 0 -2px 0 oklch(0% 0 0 / .25); }
.wc-block-mini-cart__badge:empty{ display: none; }
.wc-block-mini-cart__amount{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--mono); }
/* the drawer (closed = aria-hidden: also hide it from keyboard focus) */
.wc-block-mini-cart__drawer[aria-hidden="true"]{ visibility: hidden; transition: visibility 0s .35s; }
.wc-block-mini-cart__drawer .components-modal__content, .wc-block-mini-cart__drawer .wc-block-components-drawer__content{ background: var(--plate); }
.wc-block-mini-cart__drawer :is(h2, .wc-block-mini-cart__title){ font-family: var(--wp--preset--font-family--display); font-weight: 800; }
.wc-block-mini-cart__drawer .wc-block-components-product-name{ font: 600 var(--wp--preset--font-size--m)/1.3 var(--wp--preset--font-family--display); color: var(--ink); text-decoration: none; }
.wc-block-mini-cart__drawer .wc-block-components-product-price, .wc-block-mini-cart__drawer .wc-block-components-totals-item__value{ font-family: var(--wp--preset--font-family--mono); }
/* 1.4.15: the drawer's lines, laid out on their own: picture · name, colour, quantity · line total. WooCommerce's
   mini-cart CSS stretched the name cell over the total (the name and the price were drawn on top of each other), the
   unit price repeated the total, and the table's column titles showed. */
.wc-block-mini-cart__drawer .wc-block-cart-items thead{ position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row{ grid-template-columns: 72px minmax(0, 1fr) auto !important; grid-template-areas: "img product total" !important; gap: 4px 12px !important; padding: 12px !important; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row > .wc-block-cart-item__image{ grid-area: img !important; inline-size: 72px; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row > .wc-block-cart-item__product{ grid-area: product !important; min-inline-size: 0; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row > .wc-block-cart-item__total{ grid-area: total !important; align-self: start; text-align: end; white-space: nowrap; }
.wc-block-mini-cart__drawer .wc-block-cart-item__wrap{ display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wc-block-mini-cart__drawer .wc-block-components-product-name{ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: var(--wp--preset--font-size--s) !important; }
.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description{ display: none !important; }
.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-components-product-price{ font-size: var(--wp--preset--font-size--m) !important; font-weight: 700; }
.wc-block-mini-cart__drawer .wc-block-cart-item__quantity{ margin-block-start: 6px; }
/* 1.4.16: WooCommerce's negative margin pulled the × button 4px out of the drawer: a horizontal scrollbar whenever the
   drawer scrolled. It sits inside now. */
.wc-block-mini-cart__drawer .wc-block-components-drawer__close{ margin: 0 !important; inset-block-start: 8px; inset-inline-end: 8px; inline-size: 44px !important; block-size: 44px !important; min-block-size: 44px; padding: 0 !important; display: grid; place-items: center; }
.wc-block-components-drawer__screen-overlay{ background: oklch(96% .01 250 / .72); backdrop-filter: blur(10px); }

/* header fit: never wrap, compress gracefully (v4: six menu items; the menu button takes over below 1280px, see RESPONSIVE) */
@media (max-width: 1520px){ .motion .st{ display: none; } .hdr-in .wp-block-search__input{ inline-size: 150px; } .hdr-in .wp-block-navigation .wp-block-navigation-item__content{ padding-inline: 9px; } .hdr-in{ gap: 10px; } }

/* chips + rotate buttons (HUD overlays) */
.chip{ display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 7px; border-radius: 10px; background: oklch(100% 0 0 / .92); box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--edge); color: var(--ink); }
.chip .dot{ inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--fil); box-shadow: 0 0 0 3px var(--fil-soft); }
.rot{ display: flex; gap: 6px; }
.rot button{ inline-size: 40px; block-size: 40px; border-radius: 12px; border: 0; background: oklch(100% 0 0 / .93); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); cursor: pointer; display: grid; place-items: center; }
.rot button:hover{ background: var(--brand-soft); }
/* stud-shaped colour swatch (swatchRadios() in system.js) */
.sws{ position: relative; inline-size: var(--sz, 34px); block-size: var(--sz, 34px); border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; display: grid; place-items: center; flex: none; }
.sws i{ inline-size: calc(var(--sz, 34px) - 8px); block-size: calc(var(--sz, 34px) - 8px); border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, oklch(100% 0 0 / .85) 0 15%, transparent 45%),
    radial-gradient(circle, var(--c) 0 56%, color-mix(in oklch, var(--c) 78%, black) 70%, var(--c) 84%);
  box-shadow: 0 2px 0 oklch(30% .03 260 / .2), inset 0 0 0 1px oklch(30% .03 260 / .12); transition: transform .25s var(--snap); }
.sws.dual i{ background: radial-gradient(circle at 34% 30%, oklch(100% 0 0 / .8) 0 15%, transparent 45%), linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50%); }
.sws::before{ content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.sws:hover i{ transform: translateY(-2px); }
.sws[aria-pressed="true"]::before, .sws:has(input:checked)::before{ box-shadow: inset 0 0 0 2.5px var(--ink), 0 0 0 3px color-mix(in oklab, var(--c, var(--fil)) 45%, white); }   /* ink ring = state (3:1+), outer halo = the filament light */
.sws[aria-pressed="true"] i, .sws:has(input:checked) i{ transform: scale(.88); }
.sws input{ position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sws:has(input:focus-visible){ outline: 3px solid var(--ink); outline-offset: 2px; }
/* sold out: a diagonal ink line across the stud (white halo, so it shows on black too) + "אזל" in the name. On a product
   page the radio is also disabled (not selectable, skipped by the arrow keys). */
.sws.out i::after{ content: ""; position: absolute; inset: calc(50% - 1.5px) -3px auto; block-size: 3px; background: var(--ink); transform: rotate(-45deg); border-radius: 3px; box-shadow: 0 0 0 1.5px var(--white); }
.sws.out i{ position: relative; opacity: .78; }
.sws:has(input:disabled), .sws:has(input:disabled) input{ cursor: not-allowed; }
.sws:has(input:disabled):hover i{ transform: none; }

/* =================== SECTIONS =================== */
main > section, main > .wp-block-group{ scroll-margin-block-start: calc(var(--hdr) + 12px); }
.sec{ margin-block: 28px 0; }
.sec > .plate, .plate.sec{ padding: clamp(24px, 4vw, 52px); }
.sec-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-block-end: 30px; }
.sec-head .t{ display: flex; flex-direction: column; gap: 14px; max-inline-size: 640px; }
.sec-head h2{ font-size: var(--wp--preset--font-size--3-xl); letter-spacing: -.03em; }
.sec-head p{ color: var(--ink-2); font-size: var(--wp--preset--font-size--l); }
.plate-studs{ position: absolute; inset-block-start: 18px; inset-inline-end: 22px; }

/* filter chips: small 1×N bricks */
.chips{ position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.fchip{ display: inline-flex; align-items: center; gap: 8px; min-block-size: 42px; padding: 7px 14px 10px; border-radius: 12px; border: 0; cursor: pointer; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); transition: transform .2s var(--snap); }
.fchip .n{ font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink-2); }
.fchip:hover{ transform: translateY(-2px); }
.fchip[aria-pressed="true"]{ background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
.fchip[aria-pressed="true"] .n{ color: oklch(85% .01 260); }

/* ---------- filament shelf (cards) ---------- */
.shelf{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.spc{ display: flex; flex-direction: column; overflow: hidden; view-transition-class: spc; }
.spc:hover{ transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, inset 0 -4px 0 color-mix(in oklab, var(--sc, var(--fil)) 55%, white), 0 1px 2px oklch(40% .05 260 / .08), 0 26px 40px -24px oklch(35% .06 260 / .4); }
.spc[hidden]{ display: none; }
.spc-stage{
  position: relative; aspect-ratio: 4 / 3.1; display: grid; place-items: center;
  background:
    radial-gradient(circle at 11px 11px, oklch(100% 0 0) 0 3.4px, transparent 3.9px),
    radial-gradient(circle at 12px 12.6px, color-mix(in oklab, var(--sc, #ccc) 30%, oklch(85% .01 255)) 0 3.9px, transparent 4.6px),
    linear-gradient(180deg, color-mix(in oklab, var(--sc, #ccc) 9%, oklch(98% .004 250)), color-mix(in oklab, var(--sc, #ccc) 16%, oklch(95% .008 250)));
  background-size: 22px 22px, 22px 22px, auto;
  border-block-end: 1px solid var(--line-2);
}
.spc-stage .spool{ inline-size: 64%; block-size: auto; filter: drop-shadow(0 14px 16px oklch(30% .04 260 / .22)); transition: transform .5s var(--snap); }
.spc:hover .spool{ transform: rotate(-14deg) scale(1.03); }
.spc-mat{ position: absolute; inset-block-start: 12px; inset-inline-start: 12px; font: 600 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--mono); padding: 6px 8px 7px; border-radius: 8px; background: oklch(100% 0 0 / .94); box-shadow: inset 0 -2px 0 var(--edge), inset 0 0 0 1px var(--line); }
.spc-fin{ position: absolute; inset-block-start: 12px; inset-inline-end: 12px; font: 500 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--display); padding: 6px 8px 7px; border-radius: 8px; background: oklch(100% 0 0 / .94); box-shadow: inset 0 0 0 1px var(--line); }
.spc-body{ display: flex; flex-direction: column; gap: 7px; padding: 14px 16px 18px; flex: 1; }
.spc-brand{ font: 500 var(--wp--preset--font-size--s)/1.2 var(--wp--preset--font-family--display); color: var(--ink-2); }
.spc-name{ font: 700 var(--wp--preset--font-size--l)/1.2 var(--wp--preset--font-family--display); }
.spc-tech{ font: 500 var(--wp--preset--font-size--xs)/1.3 var(--wp--preset--font-family--mono); color: var(--ink-2); direction: ltr; text-align: end; unicode-bidi: isolate; }
.spc-sw{ display: flex; align-items: center; gap: 4px; margin-block: 2px; }
.spc-sw .stud{ --sz: 16px; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 70%, black); }   /* 1.4.9: the filament colour as is, no gloss */
.spc .stock:empty{ display: none; }   /* 1.4.9: in stock says nothing on a card; sold out / made to order still show */
.spc-sw .count{ font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); margin-inline-start: 6px; white-space: nowrap; }
/* a sold-out colour on a card (the nightly reading; cards never ask the warehouse): the same diagonal line as .sws.out */
.spc-sw .stud.out{ position: relative; opacity: .78; }
.spc-sw .stud.out::after{ content: ""; position: absolute; inset: calc(50% - 1px) -2px auto; block-size: 2px; background: var(--ink); transform: rotate(-45deg); border-radius: 2px; box-shadow: 0 0 0 1px var(--white); }
.spc-sw .more{ font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink-2); margin-inline-start: 4px; }
.spc-foot{ display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 8px; }
.price{ font: 700 var(--wp--preset--font-size--xl)/1 var(--wp--preset--font-family--display); white-space: nowrap; }
.price small{ font-size: .7em; font-weight: 600; margin-inline-start: 2px; }
.spc .stock{ font-size: var(--wp--preset--font-size--xs); text-align: end; }
.spc-open{ position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; border-radius: inherit; z-index: 2; }
.spc-open:focus-visible{ outline-offset: -4px; }

/* ---------- product panel (dialog): openDialog($('#pnl')) ---------- */
.pnl{ position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.pnl[hidden]{ display: none; }
.pnl-back{ position: absolute; inset: 0; background: oklch(96% .01 250 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pnl-card{
  position: relative; inline-size: min(1060px, 100%); max-block-size: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--plate); border-radius: 30px; border: 1px solid #fff;
  box-shadow: inset 0 -6px 0 var(--fil-edge), 0 60px 120px -40px oklch(30% .06 260 / .5);
}
.pnl-view{ position: relative; display: grid; place-items: start center; padding: 44px 36px 150px; min-block-size: 480px;
  background:
    radial-gradient(circle at 14px 14px, oklch(100% 0 0) 0 4.4px, transparent 5px),
    radial-gradient(circle at 15.4px 16.2px, color-mix(in oklch, var(--fil) 40%, oklch(85% .01 255)) 0 5px, transparent 5.8px),
    radial-gradient(60% 60% at 50% 45%, oklch(100% 0 0 / .9), transparent 70%),
    linear-gradient(180deg, var(--fil-soft), color-mix(in oklch, var(--fil-soft) 70%, oklch(93% .01 250)));
  background-size: 28px 28px, 28px 28px, auto, auto;
  border-start-start-radius: 30px; border-end-start-radius: 30px; }
.pnl-view .spool{ inline-size: min(70%, 330px); block-size: auto; filter: drop-shadow(0 30px 30px oklch(30% .05 260 / .25)); }
.pnl-view .spool .wind{ transform-origin: 0 0; animation: spin 16s linear infinite; }
@keyframes spin{ to{ transform: rotate(-360deg); } }
.pnl-tip{ position: absolute; inset-block-end: 22px; inset-inline-start: 22px; display: flex; align-items: flex-end; gap: 2px; }
.pnl-tip svg{ inline-size: 66px; block-size: auto; }
.pnl-tip .bubble{ margin-block-end: 64px; font-size: var(--wp--preset--font-size--s); max-inline-size: 230px; }
.pnl-info{ padding: 34px 36px 30px; display: flex; flex-direction: column; gap: 16px; }
.pnl-x{ position: absolute; inset-block-start: 16px; inset-inline-end: 16px; z-index: 3; inline-size: 44px; block-size: 44px; border-radius: 12px; border: 0; cursor: pointer; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); display: grid; place-items: center; }
.pnl-brand{ display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pnl h2{ font-size: var(--wp--preset--font-size--2-xl); letter-spacing: -.03em; }
.pnl-sub{ color: var(--ink-2); font-size: var(--wp--preset--font-size--m); }
.pnl-sw{ border: 0; margin: 0; padding: 0; }
.pnl-sw legend{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); margin-block-end: 8px; padding: 0; }
.pnl-sw legend span{ font-weight: 400; color: var(--ink-2); }
.pnl-sw .row{ display: flex; flex-wrap: wrap; gap: 4px; }
.sheet{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.sheet div{ padding: 9px 12px 11px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); }
.sheet dt{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); }
.sheet dd{ margin: 2px 0 0; font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--mono); direction: ltr; text-align: end; }
.sheet dd.he{ font-family: var(--wp--preset--font-family--display); direction: rtl; text-align: start; }
.buy{ display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-block-start: 6px; border-block-start: 1px dashed var(--line); }
.buy .price{ font-size: var(--wp--preset--font-size--2-xl); }
.qty{ display: inline-flex; align-items: center; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); }
.qty button{ inline-size: 44px; block-size: 48px; border: 0; background: transparent; cursor: pointer; font: 600 var(--wp--preset--font-size--l) var(--wp--preset--font-family--display); color: var(--ink); }
.qty input{ inline-size: 46px; block-size: 48px; border: 0; background: transparent; box-shadow: none; text-align: center; font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--mono); -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-inner-spin-button{ -webkit-appearance: none; }
.buy .btn{ flex: 1; min-inline-size: 200px; }

/* ---------- printed models (cards) ---------- */
.models{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.mdl{ display: flex; flex-direction: column; padding: 10px 10px 16px; }
.mdl-img{ display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: oklch(95% .008 70); box-shadow: inset 0 0 0 1px oklch(0% 0 0 / .04); }
.mdl-img img{ inline-size: 100%; block-size: 100%; object-fit: cover; transition: opacity .3s, transform .6s var(--ease); }
.mdl:hover .mdl-img img{ transform: scale(1.04); }
.mdl-code{ position: absolute; inset-block-start: 10px; inset-inline-start: 10px; font: 600 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--mono); padding: 6px 8px 7px; border-radius: 8px; background: oklch(100% 0 0 / .94); box-shadow: inset 0 -2px 0 var(--edge); }
.mdl-body{ display: flex; flex-direction: column; gap: 6px; padding: 14px 6px 0; flex: 1; }
.mdl-cat{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); }
.mdl h3{ font-size: var(--wp--preset--font-size--l); font-weight: 700; line-height: 1.25; }
.mdl h3 a{ color: inherit; text-decoration: none; } .mdl h3 a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.mdl-meta{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink-2); }
/* short card lines break evenly, so a unit ("ס״מ") or a number ("4") never ends up alone on the last line (1.3.2) */
:is(.mdl-meta, .mdl .stock, .spc .stock, .spc-brand){ text-wrap: balance; }
.mdl fieldset{ border: 0; margin: 4px 0 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.mdl fieldset legend{ float: inline-start; font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); margin-inline-end: 8px; padding: 0; }
.mdl .sws{ --sz: 32px; }
.mdl-foot{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: auto; padding-block-start: 10px; }
.sticker{ position: absolute; inset-block-start: 10px; inset-inline-end: 10px; font: 700 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--display); padding: 8px 10px; background: oklch(90% .14 95); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; transform: rotate(6deg); box-shadow: 3px 3px 0 var(--ink); }

/* ---------- custom print + STL scanner (bricks3d.js mountScanner) ---------- */
.custom{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 34px; align-items: stretch; }
.steps{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.steps li{ display: flex; align-items: center; gap: 12px; padding: 10px 14px 12px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); font: 500 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); }
.steps li:nth-child(2){ margin-inline-start: 22px; } .steps li:nth-child(3){ margin-inline-start: 44px; }
.steps .no{ font: 700 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); inline-size: 34px; block-size: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); box-shadow: inset 0 -2px 0 var(--brand-edge); flex: none; }
.drop{ position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); outline: 2px dashed transparent; transition: box-shadow .2s, background-color .2s; }
.drop.over{ background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand); }
.drop p{ font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); }
.drop .row{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.file-in{ position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.file-in:focus-visible + label{ outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px oklch(100% 0 0 / .9); }
.well{ position: relative; border-radius: 22px; overflow: hidden; min-inline-size: 0; aspect-ratio: 4 / 3.2;
  background: radial-gradient(70% 70% at 50% 35%, #fff, transparent 70%), linear-gradient(180deg, oklch(98% .005 250), oklch(94.5% .012 250));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -5px 0 var(--fil-edge); }
.well canvas, #scan-canvas{ position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.well-empty{ position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; z-index: 1; pointer-events: none; }
.well-empty div{ display: flex; flex-direction: column; align-items: center; gap: 12px; font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); background: oklch(100% 0 0 / .85); padding: 14px 18px; border-radius: 14px; }
.well.loaded .well-empty{ display: none; }
.well-hud{ position: absolute; inset-block-start: 14px; inset-inline: 14px; z-index: 2; display: flex; justify-content: space-between; gap: 10px; font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); pointer-events: none; }
.well-rot{ position: absolute; inset-block-end: 14px; inset-inline-start: 14px; z-index: 2; }
.res{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.res div{ padding: 10px 12px 12px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); }
.res dt{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); }
.res dd{ margin: 2px 0 0; font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--mono); }
.res .wide{ grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
.res .wide dt{ color: oklch(86% .01 260); }
.res .wide dd{ font: 700 var(--wp--preset--font-size--xl) var(--wp--preset--font-family--mono); }
.fit-ok{ color: var(--ok); } .fit-bad{ color: var(--out); }
.msg{ font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); min-block-size: 1.4em; }
.msg.err{ color: var(--out); }
details.formula{ font: 400 var(--wp--preset--font-size--s)/1.5 var(--wp--preset--font-family--body); color: var(--ink-2); }
details.formula summary{ cursor: pointer; font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink); min-block-size: 28px; }

/* ---------- collectors wing: a door to another room ---------- */
.wing{ position: relative; margin-block-start: 28px; }
.wing-in{ position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-block-size: 580px; border-radius: var(--r-plate); overflow: hidden; isolation: isolate;
  background: oklch(25.4% .057 267);
  box-shadow: inset 0 -6px 0 oklch(18% .05 267), 0 40px 80px -40px oklch(25% .08 267 / .55); }
.wing-copy{ position: relative; z-index: 2; align-self: center; margin: 28px; padding: clamp(24px, 3.2vw, 40px); border-radius: 22px; background: var(--plate); box-shadow: inset 0 -5px 0 oklch(88% .06 330), 0 30px 50px -24px oklch(10% .04 267 / .7); display: flex; flex-direction: column; gap: 16px; }
.wing-copy::before{ content: ""; position: absolute; inset-block-start: -7px; inset-inline: 22px; block-size: 8px; background: radial-gradient(ellipse 9px 5px at 50% 100%, oklch(97% .01 300) 0 95%, transparent 100%) 0 0 / 28px 8px repeat-x; }
.wing-copy h2{ font-family: var(--wp--preset--font-family--iso); font-weight: 400; font-size: var(--wp--preset--font-size--3-xl); line-height: 1.05; letter-spacing: 0; color: var(--ink); }
.wing-copy p{ color: var(--ink-2); font-size: var(--wp--preset--font-size--l); }
.wing-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wing-list li{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); padding: 7px 12px 9px; border-radius: 11px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--c, var(--edge)); }
.notify{ display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.notify .field{ flex: 1; min-inline-size: 200px; }
.notify .btn{ --b: var(--brand); --e: var(--brand-deep); }
.wing-scene{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.wall{ position: absolute; inset: -6px; display: grid; grid-template-columns: repeat(var(--cols, 14), 1fr); grid-auto-rows: 42px; gap: 5px; padding: 6px; }
.wall::after{ content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 28% 60%, transparent 40%, oklch(20% .05 267 / .35)); pointer-events: none; }
.wb{ position: relative; border-radius: 7px; background: linear-gradient(180deg, color-mix(in oklch, var(--c) 82%, white), var(--c) 40%, color-mix(in oklch, var(--c) 88%, black));
  box-shadow: inset 0 1.5px 0 oklch(100% 0 0 / .45), inset 0 -5px 0 oklch(0% 0 0 / .18), inset 0 0 14px oklch(100% 0 0 / .14); opacity: .94; }
.wb::before{ content: ""; position: absolute; inset-block-start: -5px; inset-inline: 0; block-size: 6px;
  background: radial-gradient(ellipse 8px 5px at 50% 100%, color-mix(in oklch, var(--c) 70%, white) 0 95%, transparent 100%);
  background-size: calc(100% / var(--s, 2)) 6px; background-repeat: repeat-x; }
.door{ position: absolute; inset-block: 64px 0; left: 27%; inline-size: min(320px, 40%); translate: -50% 0; perspective: 1400px; }
.room{ position: absolute; inset: 0; border-radius: 160px 160px 0 0; overflow: hidden;
  background:
    radial-gradient(circle, oklch(100% 0 0 / .14) 1.2px, transparent 1.6px) 0 0 / 10px 10px,
    radial-gradient(60% 50% at 50% 18%, oklch(62% .18 330 / .75), transparent 70%),
    radial-gradient(70% 50% at 50% 100%, oklch(55% .16 200 / .6), transparent 70%),
    oklch(17% .045 267);
  box-shadow: inset 0 0 0 10px oklch(97% .01 250), inset 0 0 0 12px oklch(80% .05 300), inset 0 30px 60px oklch(0% 0 0 / .5); }
.room svg{ position: absolute; inset-inline: 8%; inset-block-end: 0; inline-size: 84%; block-size: auto; }
.door-leaf{ position: absolute; inset: 0; border-radius: 160px 160px 0 0; transform-origin: 0% 50%; transition: transform 1.4s cubic-bezier(.5, 0, .2, 1);
  background:
    radial-gradient(circle at 16px 16px, oklch(100% 0 0) 0 5px, transparent 5.6px),
    radial-gradient(circle at 17.4px 18.4px, oklch(80% .02 300 / .7) 0 5.6px, transparent 6.4px),
    linear-gradient(180deg, oklch(98% .01 300), oklch(93% .02 300));
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: inset 0 0 0 10px oklch(97% .01 250), 0 0 40px oklch(0% 0 0 / .3); }
.door-leaf .knob{ position: absolute; inset-block-start: 56%; right: 26px; inline-size: 22px; block-size: 22px; border-radius: 50%; background: var(--iri); box-shadow: 0 2px 0 oklch(30% .05 300 / .4); }
.wing.open .door-leaf{ transform: rotateY(-104deg); }
.burst{ position: absolute; z-index: 3; top: -34px; right: -62px; inline-size: 128px; aspect-ratio: 1; display: grid; place-items: center; text-align: center;
  font: 800 var(--wp--preset--font-size--xl)/1 var(--wp--preset--font-family--display); color: var(--ink); transform: rotate(9deg); filter: drop-shadow(4px 4px 0 var(--ink)); }
.burst::before{ content: ""; position: absolute; inset: 0; background: var(--ink);
  clip-path: polygon(50% 0%, 61% 18%, 82% 7%, 80% 30%, 100% 34%, 85% 50%, 100% 66%, 80% 70%, 82% 93%, 61% 82%, 50% 100%, 39% 82%, 18% 93%, 20% 70%, 0% 66%, 15% 50%, 0% 34%, 20% 30%, 18% 7%, 39% 18%); }
.burst::after{ content: ""; position: absolute; inset: 5px; background: oklch(90% .15 95);
  clip-path: polygon(50% 0%, 61% 18%, 82% 7%, 80% 30%, 100% 34%, 85% 50%, 100% 66%, 80% 70%, 82% 93%, 61% 82%, 50% 100%, 39% 82%, 18% 93%, 20% 70%, 0% 66%, 15% 50%, 0% 34%, 20% 30%, 18% 7%, 39% 18%); }
.burst span{ position: relative; z-index: 1; }
.peek{ position: absolute; z-index: 3; bottom: 0; left: -74px; }
.peek svg{ inline-size: 100px; block-size: auto; display: block; filter: drop-shadow(0 10px 14px oklch(10% .05 290 / .5)); }
.peek .bubble{ position: absolute; bottom: 152px; left: 30px; inline-size: 214px; font-size: var(--wp--preset--font-size--s); max-inline-size: none; }

/* ---------- ביט (geekly/bit block, bitGuide() in system.js) ---------- */
.acc{ fill: var(--bit-acc); }
.bit{ display: block; inline-size: var(--bit, 92px); block-size: auto; filter: drop-shadow(0 10px 14px oklch(35% .06 260 / .22)); flex: none; }
.bit-guide{ display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bit-guide .bubble{ max-inline-size: 240px; }
.bit-guide .bubble::after{ inset-inline-start: auto; inset-inline-end: 34px; }
.bit-guide.row{ flex-direction: row-reverse; align-items: flex-end; }
.bit-guide.row .bubble{ margin-block-end: calc(var(--bit, 92px) * .9); }
.bit-guide.row .bubble::after{ inset-inline-end: auto; inset-inline-start: 26px; }
.bit-guide.is-start{ align-items: flex-start; }
.bit-guide.is-start.row{ justify-content: flex-end; }
.bubble.pop{ animation: bubblePop .35s var(--snap); }
@keyframes bubblePop{ 0%{ transform: scale(.92); opacity: .6; } 100%{ transform: none; opacity: 1; } }
.wp-block-geekly-bit{ pointer-events: auto; }
.wp-block-geekly-bit .bubble{ font-family: inherit; font-size: inherit; }
.wp-block-geekly-bit:where(:not([class*="-font-size"])) .bubble{ font-size: var(--wp--preset--font-size--s); }
.wp-block-geekly-bit:where(:not([class*="-font-family"])) .bubble{ font-family: var(--wp--preset--font-family--display); }
.wp-block-geekly-bit.has-text-color .bubble{ color: inherit; }
.wp-block-geekly-bit.has-background{ background: none !important; }
.wp-block-geekly-bit.has-background .bubble{ background: var(--bit-bubble-bg, #fff); }
.no-bit .bit-guide, .no-bit .wp-block-geekly-bit, .no-bit .bit{ display: none !important; }

/* ---------- page scaffolding for inner pages ---------- */
.page-head{ display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 48px); }
.page-head h1{ letter-spacing: -.03em; }
.page-head h1 .n{ font: 700 .5em/1 var(--wp--preset--font-family--mono); color: var(--brand-ink); vertical-align: .55em; margin-inline-start: 6px; }
.page-body{ padding: clamp(24px, 4vw, 52px); }
.crumbs, .wp-block-breadcrumbs ol{ display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); }
.crumbs li + li::before{ content: "‹"; margin-inline-end: 6px; color: var(--ink-3); }
.crumbs a, .wp-block-breadcrumbs a{ color: var(--ink-2); text-decoration: none; } .crumbs a:hover, .wp-block-breadcrumbs a:hover{ color: var(--ink); text-decoration: underline; }
.crumbs [aria-current], .wp-block-breadcrumbs [aria-current]{ color: var(--ink); }
/* text links that stand alone (card names, breadcrumbs, the fit line): at least 24px tall everywhere (WCAG 2.5.8), with
   inline padding only, so nothing moves; phones get 44px (RESPONSIVE) */
:is(.mdl h3, .wp-block-geekly-product-strip .ps-name, .pdp-fitline, .crumbs, .wp-block-breadcrumbs) a{ padding-block: 4px; }
.wp-block-breadcrumbs{ font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); }
.wp-block-breadcrumbs .wp-block-breadcrumbs__separator, .wp-block-breadcrumbs [aria-hidden="true"]{ color: var(--ink-2); }
.lede{ font-size: var(--wp--preset--font-size--l); line-height: 1.6; color: var(--ink-2); max-inline-size: 34em; }
.cta{ display: flex; flex-wrap: wrap; gap: 12px; }
/* inner-page header row with ביט on the end side */
.head-row{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row > .stack, .head-row > .head-copy{ min-inline-size: 0; flex: 1 1 420px; }
.head-row .bit-guide{ --bit: 84px; flex: none; }
.head-row .bit-guide .bubble{ font-size: var(--wp--preset--font-size--s); max-inline-size: 230px; }

/* ---------- typography + utilities ---------- */
.t-display{ font: 800 var(--wp--preset--font-size--display)/1.04 var(--wp--preset--font-family--display); letter-spacing: -.035em; }
.t-h2{ font: 800 var(--wp--preset--font-size--3-xl)/1.05 var(--wp--preset--font-family--display); letter-spacing: -.03em; }
.t-h3{ font: 700 var(--wp--preset--font-size--xl)/1.2 var(--wp--preset--font-family--display); }
.t-small{ font: 400 var(--wp--preset--font-size--s)/1.5 var(--wp--preset--font-family--display); }
.t-iso{ font-family: var(--wp--preset--font-family--iso); font-weight: 400; letter-spacing: 0; }   /* Hebrew OK: collectors wing only */
.t-comic{ font-family: var(--wp--preset--font-family--comic); letter-spacing: .04em; direction: ltr; }  /* Latin only */
.muted{ color: var(--ink-2); }
.stack{ display: flex; flex-direction: column; gap: var(--gap, 16px); }
.cluster{ display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.grid{ display: grid; gap: var(--gap, 18px); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.split{ display: grid; gap: var(--gap, 34px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.center{ text-align: center; }
.hidden{ display: none !important; }

/* ---------- footer (parts/footer.html) ---------- */
.ftr, .wp-site-blocks > footer.wp-block-template-part{ margin-block: 28px 24px; max-inline-size: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.ftr-plate{ padding: 36px clamp(24px, 4vw, 48px) 26px; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.ftr-plate > *{ margin: 0; min-inline-size: 0; }
.ftr-plate :is(h2, h3){ font-family: var(--wp--preset--font-family--display); margin-block-end: 10px; }
.ftr-plate :is(h2, h3):where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--s); font-weight: 700; letter-spacing: 0; }
.ftr-plate ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ftr-plate ul li{ margin: 0; }
.ftr-plate ul a{ display: inline-flex; min-block-size: 32px; align-items: center; text-decoration: none; color: var(--ink-2); font-family: var(--wp--preset--font-family--display); }
.ftr-plate ul:where(:not([class*="-font-size"])) a{ font-size: var(--wp--preset--font-size--m); }
.ftr-plate ul a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr-plate .about p{ color: var(--ink-2); max-inline-size: 30em; margin-block-start: 12px; }
.ftr-plate .about p:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--m); }
.ftr-plate .ftr-base{ grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block-start: 18px; border-block-start: 1px dashed var(--line); font-family: var(--wp--preset--font-family--display); color: var(--ink-2); }
.ftr-plate .ftr-base:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--s); }
.ftr-plate .ftr-base > *{ margin: 0; }
.ftr-plate a:where(:not(.wp-element-button)){ color: inherit; }
.ftr-plate .ftr-base a{ color: var(--ink-2); }

/* ---------- toast (toast() in system.js) ---------- */
.toast{ position: fixed; z-index: 100002; inset-block-end: 22px; inset-inline-start: 50%; translate: 50% 0; transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .45s var(--snap), visibility 0s .45s;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 14px; border-radius: 16px; background: var(--ink); color: #fff; font: 500 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); box-shadow: inset 0 -4px 0 oklch(10% .02 268), 0 20px 40px -20px oklch(20% .05 268 / .6);
  max-inline-size: calc(100vw - 2 * var(--gut)); }
.toast.show{ transform: translateY(0); visibility: visible; transition: transform .45s var(--snap); }
.toast .stud{ --c: var(--brand); --sz: 16px; }
.toast .t-ico{ display: inline-flex; flex: none; }
.toast .bit-mini{ inline-size: 34px; block-size: auto; margin-block: -6px; }
/* 1.4.15: added to the cart — green, the item, a button to the cart (white on #17733a: 5.9:1) */
.toast.is-added{ background: #17733a; box-shadow: inset 0 -4px 0 #0f5229, 0 20px 40px -20px oklch(30% .08 150 / .6); padding-block: 10px 12px; font-size: var(--wp--preset--font-size--s); }
.toast.is-added .t-ico{ inline-size: 30px; block-size: 30px; border-radius: 50%; background: #fff; color: #17733a; display: inline-grid; place-items: center; }
.toast.is-added{ inline-size: min(560px, calc(100vw - 2 * var(--gut))); }
.toast.is-added .t-msg{ flex: 1; min-inline-size: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.35; }   /* the whole item, on two lines if needed */
.toast.is-added .t-msg b{ font-weight: 800; margin-inline-end: 4px; }
.toast .t-go{ flex: none; display: inline-flex; align-items: center; min-block-size: 36px; padding: 0 14px; border-radius: 10px; background: #fff; color: #0f5229; font: 700 var(--wp--preset--font-size--s)/1 var(--wp--preset--font-family--display); text-decoration: none; box-shadow: inset 0 -3px 0 oklch(85% .03 150); }
.toast .t-go:hover{ background: oklch(96% .03 150); }
.toast .t-go:focus-visible{ outline: 3px solid #fff; outline-offset: 2px; }
.toast .t-go[hidden]{ display: none; }

/* ---------- view transitions (same-document: filters, panels; cross-document: product morph) ---------- */
[data-morph-part]{ view-transition-class: morph; }
::view-transition-group(*){ animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-group(pnl-frame){ animation-duration: .58s; animation-timing-function: cubic-bezier(.3, 1.25, .5, 1); }
::view-transition-group(pnl-spool){ animation-duration: .62s; animation-timing-function: cubic-bezier(.3, 1.3, .5, 1); z-index: 5; }
::view-transition-old(pnl-spool), ::view-transition-new(pnl-spool){ block-size: 100%; object-fit: contain; }
::view-transition-group(*.spc){ animation-duration: .5s; animation-timing-function: cubic-bezier(.3, 1.3, .5, 1); }
::view-transition-old(root), ::view-transition-new(root){ animation-duration: .3s; }

/* =====================================================================
   PROMOTED COMPONENTS (used by 2+ pages in the prototype)
   ===================================================================== */
/* component: empty-state (ביט + message + actions) — on its own (white brick) or as .plate.empty */
.empty{ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px 28px; align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-tile); background: var(--white); box-shadow: inset 0 0 0 2px var(--line), inset 0 -4px 0 var(--edge); }
.plate.empty{ border-radius: var(--r-plate); background: var(--plate); box-shadow: inset 0 1px 0 oklch(100% 0 0), inset 0 -5px 0 var(--acc-edge), 0 2px 6px oklch(40% .05 260 / .06), 0 30px 60px -36px oklch(35% .06 260 / .3); }
.empty .bit{ --bit: 104px; }
.empty > *{ min-inline-size: 0; max-inline-size: 100%; margin: 0; }
.empty .wp-block-search, .page-body .wp-block-search{ max-inline-size: 34em; }
:where(.wp-block-search__input){ min-inline-size: 0; }
.empty :is(h1, h2, h3){ letter-spacing: -.02em; margin-block-end: 6px; }
.empty p{ color: var(--ink-2); max-inline-size: 34em; margin-block: 6px 14px; }
/* component: cat-head — inner-page head with ביט and stat bricks */
.cat-top{ margin-block-start: 8px; }
.cat-head{ display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: end; overflow: hidden; }
.cat-head-copy{ display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-inline-size: 0; }
.cat-head h1{ letter-spacing: -.035em; line-height: 1.02; }
.cat-head h1 .l2{ display: block; color: var(--brand-ink); }
.cat-head .bit-guide{ align-self: end; }
.cat-head .bit-guide .bubble{ max-inline-size: 250px; }
.cat-head .bit{ --bit: 104px; }
.cat-stats{ display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.cat-stats li{ padding: 8px 12px 10px; border-radius: 13px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); font: 400 var(--wp--preset--font-size--s)/1.25 var(--wp--preset--font-family--display); color: var(--ink-2); }
.cat-stats b{ display: block; font: 700 var(--wp--preset--font-size--xl)/1.1 var(--wp--preset--font-family--mono); color: var(--ink); letter-spacing: -.02em; }
/* component: spc-fit + sale price (card add-ons) */
.spc-fit{ font: 600 var(--wp--preset--font-size--xs)/1.3 var(--wp--preset--font-family--display); display: flex; gap: 6px; align-items: baseline; }
.spc-fit.ok{ color: var(--ok); } .spc-fit.warn{ color: var(--low); } .spc-fit.no{ color: var(--out); }
.price.sale{ display: inline-flex; align-items: baseline; gap: 8px; color: var(--out); }
.price del{ font-size: .62em; font-weight: 500; color: var(--ink-2); text-decoration-thickness: 1.5px; }
/* component: pdp — product page (stage + info), morph target */
.pdp{ display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 0; overflow: clip; }
.pdp-stage{ position: relative; min-block-size: 560px; display: grid; place-items: center; isolation: isolate;
  background:
    radial-gradient(circle at 14px 14px, oklch(100% 0 0) 0 4.4px, transparent 5px),
    radial-gradient(circle at 15.4px 16.2px, color-mix(in oklch, var(--fil) 38%, oklch(86% .01 255)) 0 5px, transparent 5.8px),
    radial-gradient(60% 55% at 50% 46%, oklch(100% 0 0 / .95), transparent 72%),
    linear-gradient(180deg, var(--fil-soft), color-mix(in oklch, var(--fil-soft) 66%, oklch(93% .01 250)));
  background-size: 28px 28px, 28px 28px, auto, auto;
  border-start-start-radius: inherit; border-end-start-radius: inherit; }
.pdp-stage::before{ content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--iri); opacity: .45; z-index: 3; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pdp-info{ display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3.4vw, 44px); min-inline-size: 0; }
.pdp-info h1{ letter-spacing: -.03em; line-height: 1.04; }
.pdp-sub{ color: var(--ink-2); font-size: var(--wp--preset--font-size--m); max-inline-size: 36em; }
.pdp-tags{ display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* the manufacturer (1.4.8): its logo at a size that is read first, a small label before it */
.pdp-brand{ display: flex; align-items: center; gap: 12px; margin: 0; }
.pdp-brand-label{ font: 600 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--mono, ui-monospace, monospace); letter-spacing: .06em; color: var(--ink-2); padding-inline-end: 12px; border-inline-end: 2px solid var(--line, oklch(88% .01 260)); }
.pdp-brand .pdp-brand-logo{ display: block; block-size: clamp(28px, 3.2vw, 40px); inline-size: auto; max-inline-size: min(190px, 60vw); object-fit: contain; object-position: right center; }
.pdp-brand-name{ font: 800 clamp(1.5rem, 2.6vw, 2rem)/1 var(--wp--preset--font-family--display); letter-spacing: -.01em; color: var(--ink); }
/* the colours as small spools, each painted all in its filament colour (1.4.9): the colour is shown as is (no gloss),
   only the spool's edges are a shade darker so a white spool still reads on the white plate */
.sws.fig{ --sp-edge: color-mix(in oklab, var(--c) 68%, black); --sp-hole: var(--white, #fff); inline-size: 52px; block-size: 52px; border-radius: 12px; background: var(--white, #fff); box-shadow: inset 0 0 0 1px oklch(30% .03 260 / .14); }
.sws.fig::before{ border-radius: 12px; }
.sws.fig i{ inline-size: 42px; block-size: 42px; border-radius: 0; background: none; box-shadow: none; }
.sws.fig.dual i{ background: none; }
.sws.fig i svg{ display: block; inline-size: 100%; block-size: 100%; }
.sws.fig:hover i{ transform: translateY(-2px); }
.sws.fig:has(input:checked)::before{ box-shadow: inset 0 0 0 2.5px var(--ink), 0 0 0 3px color-mix(in oklab, var(--c) 45%, white); }
.sws.fig:has(input:checked) i{ transform: none; }
.sws.fig:has(input:focus-visible){ outline-offset: 3px; border-radius: 12px; }
.sws.fig.out i{ opacity: .55; }
.sws.fig.out i::after{ inset: calc(50% - 1.5px) -2px auto; }
@media (prefers-reduced-motion: reduce){ .sws.fig:hover i{ transform: none; } }
.pdp-sw{ border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.pdp-sw legend{ font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); margin-block-end: 8px; padding: 0; }
.pdp-sw legend span{ font-weight: 400; color: var(--ink-2); }
.pdp-sw .row{ display: flex; flex-wrap: wrap; gap: 4px; }
.pdp-sw .sws{ --sz: 44px; }
.pdp .buy{ gap: 12px; }
.pdp .buy .price{ font-size: var(--wp--preset--font-size--2-xl); }
.pdp .buy .price.sale{ font-size: var(--wp--preset--font-size--2-xl); }
.pdp-note{ font: 400 var(--wp--preset--font-size--s)/1.5 var(--wp--preset--font-family--display); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.pdp-note span{ display: inline-flex; gap: 6px; align-items: center; }
.pdp-note .stud{ --sz: 11px; --c: var(--fil); }
.pdp-msg{ margin-block-start: -6px; }
.pdp-fitline{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px 12px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); font: 500 var(--wp--preset--font-size--s)/1.4 var(--wp--preset--font-family--display); }
.pdp-fitline .lvl{ font-weight: 700; }
.pdp-fitline .lvl.ok{ color: var(--ok); } .pdp-fitline .lvl.warn{ color: var(--low); } .pdp-fitline .lvl.no{ color: var(--out); } .pdp-fitline .lvl.none{ color: var(--ink-2); }
.pdp-fitline a{ color: var(--brand-ink); font-weight: 600; text-underline-offset: 3px; margin-inline-start: auto; }
/* stock line while the live check runs (the print-head loader replaces the square; see "component: live-stock loader") */
.stock.checking{ color: var(--ink-2); }
.stock.checking::before{ display: none; }
.stock .st-note{ font: 500 .8em/1.3 var(--wp--preset--font-family--display); color: var(--ink-2); }
/* component: live-stock loader (.gk-ld, PHP geekly_lab_loader_svg() = runtime.loader). While the shop asks the warehouse, a tiny
   print head (ביט's antenna: heater block + brass nozzle, fed by an inked filament strand ending in his curl) lays a
   two-stud brick on a studded baseplate, layer by layer, in the product colour (--ld-c); the studs click on and the brick
   is lifted away. Drawn 1.9em high but it takes only the 1.4em text line (negative margins), so nothing around it moves.
   Paused motion: the finished brick with the head parked (a still icon); the words carry the meaning. */
.gk-ld{ --ld-c: var(--fil-line, var(--brand)); inline-size: 2.85em; block-size: 1.9em; margin-block: -.25em; flex: none; overflow: visible; vertical-align: middle; }
.gk-ld .ld-bed{ fill: oklch(87% .014 260); }
.gk-ld .ld-l{ fill: var(--ld-c); stroke: oklch(25% .03 260 / .45); stroke-width: .6; }
.gk-ld .ld-st{ fill: color-mix(in oklab, var(--ld-c) 80%, white); stroke: oklch(25% .03 260 / .45); stroke-width: .6; }
.gk-ld .ld-blk{ fill: #d9deea; stroke: #1d2233; stroke-width: 1.1; }
.gk-ld .ld-noz{ fill: #f2c86a; stroke: #1d2233; stroke-width: .9; stroke-linejoin: round; }
.gk-ld .ld-fil{ fill: none; stroke: var(--ld-c); stroke-width: 1.3; stroke-linecap: round; }
.gk-ld .ld-fil-o{ stroke: #1d2233; stroke-width: 2.5; }
.gk-ld .ld-bead{ fill: var(--ld-c); opacity: 0; }
.gk-ld .ld-click{ fill: none; stroke: var(--brand); stroke-width: 1.3; stroke-linecap: round; opacity: 0; }
.gk-ld .ld-head{ transform: translate(24px, 13.4px); }
.gk-ld .ld-l, .gk-ld .ld-st, .gk-ld .ld-brick{ transform-box: fill-box; }
.gk-ld .ld-l1, .gk-ld .ld-l3{ transform-origin: 0 50%; }
.gk-ld .ld-l2{ transform-origin: 100% 50%; }
.gk-ld .ld-st{ transform-origin: 50% 100%; }
html:not(.paused) .gk-ld .ld-head{ animation: gkLdHead 3s linear infinite; }
html:not(.paused) .gk-ld .ld-l1{ animation: gkLdL1 3s linear infinite; }
html:not(.paused) .gk-ld .ld-l2{ animation: gkLdL2 3s linear infinite; }
html:not(.paused) .gk-ld .ld-l3{ animation: gkLdL3 3s linear infinite; }
html:not(.paused) .gk-ld .ld-st{ animation: gkLdSt 3s var(--snap) infinite; }
html:not(.paused) .gk-ld .ld-brick{ animation: gkLdBrick 3s ease-in infinite; }
html:not(.paused) .gk-ld .ld-bead{ animation: gkLdBead 3s steps(1) infinite; }
html:not(.paused) .gk-ld .ld-click{ animation: gkLdClick 3s linear infinite; }
@keyframes gkLdHead{
  0%{ transform: translate(12px, 24.7px); } 17%{ transform: translate(36px, 24.7px); }
  20%{ transform: translate(36px, 21.3px); } 37%{ transform: translate(12px, 21.3px); }
  40%{ transform: translate(12px, 17.9px); } 57%{ transform: translate(36px, 17.9px); }
  66%, 86%{ transform: translate(24px, 13.4px); } 93%{ transform: translate(12px, 13.4px); } 100%{ transform: translate(12px, 24.7px); }
}
@keyframes gkLdL1{ 0%{ transform: scaleX(0); } 17%, 100%{ transform: scaleX(1); } }
@keyframes gkLdL2{ 0%, 20%{ transform: scaleX(0); } 37%, 100%{ transform: scaleX(1); } }
@keyframes gkLdL3{ 0%, 40%{ transform: scaleX(0); } 57%, 100%{ transform: scaleX(1); } }
@keyframes gkLdSt{ 0%, 62%{ transform: scale(0); } 70%, 100%{ transform: scale(1); } }
@keyframes gkLdBrick{ 0%, 70%{ transform: none; opacity: 1; } 73%{ transform: translateY(.7px); } 76%, 82%{ transform: none; opacity: 1; } 92%, 100%{ transform: translateY(-3px); opacity: 0; } }
@keyframes gkLdBead{ 0%{ opacity: 1; } 58%, 100%{ opacity: 0; } }
@keyframes gkLdClick{ 0%, 69%{ opacity: 0; } 72%, 80%{ opacity: 1; } 85%, 100%{ opacity: 0; } }
/* server-rendered "checking" (a filament page, before the script takes over): only with JavaScript; after 8 s without
   the script, the nightly reading shows again */
html:not(.js) .stock > :is(.gk-ld, .st-ck){ display: none; }
html.js .stock[data-pend]{ position: relative; color: var(--ink-2); }
html.js .stock[data-pend]::before{ display: none; }
html.js .stock[data-pend] > .st-now{ position: absolute; inset-block-start: 0; inset-inline-start: 0; max-inline-size: 100%; overflow: hidden; white-space: nowrap; visibility: hidden; animation: gkPendBack 0s 8s forwards; }
html.js .stock[data-pend] > :is(.gk-ld, .st-ck){ animation: gkPendGone 0s 8s forwards; }
@keyframes gkPendBack{ to{ position: static; visibility: visible; white-space: normal; } }
@keyframes gkPendGone{ to{ visibility: hidden; inline-size: 0; overflow: hidden; } }
/* a button that waits for the stock answer (busyButton): its two studs press in turn; still (dimmed) when paused */
.btn.is-busy{ cursor: progress; }
.btn.is-busy:hover, .btn.is-busy:active{ transform: none; }
.btn.is-busy .pair i{ animation: gkStudPress .9s var(--ease) infinite; }
.btn.is-busy .pair i + i{ animation-delay: .45s; }
@keyframes gkStudPress{ 0%, 60%, 100%{ transform: none; opacity: 1; } 25%{ transform: translateY(2px) scale(.72); opacity: .55; } }
html.paused .btn.is-busy .pair i{ animation: none; opacity: .55; }
.stock-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-block-size: 28px; }
.stock-row .stock{ font-size: var(--wp--preset--font-size--m); }
.stock-row .incart{ font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ink-2); }
.stock-row .incart:empty{ display: none; }   /* an empty one must not wrap onto a second line (the row would grow by its gap) */
/* component: jump — in-page section links */
.jump{ margin-block: 18px 0; }
.jump ol{ display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jump a{ display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-block-size: 42px; padding: 7px 14px 10px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); text-decoration: none; color: var(--ink); transition: transform .2s var(--snap); }
.jump a:hover{ transform: translateY(-2px); background: var(--brand-soft); }
.jump .no{ font: 700 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--brand-ink); }
/* component: pdp-sec — product sections (plates with a part tag) */
.pdp-sec{ margin-block-start: 22px; scroll-margin-block-start: calc(var(--hdr) + 16px); }
.pdp-sec > .plate{ padding: clamp(22px, 3.4vw, 44px); }
.pdp-sec h2{ letter-spacing: -.025em; line-height: 1.08; }
.pdp-sec .head{ display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-block-end: 22px; }
.pdp-sec .head p{ color: var(--ink-2); max-inline-size: 40em; }
.pdp-pair{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-block-start: 22px; }
.pdp-pair > .pdp-sec{ margin: 0; display: flex; }
.pdp-pair > .pdp-sec > .plate{ flex: 1; }
.pdp-pair > .pdp-sec:only-child{ grid-column: 1 / -1; }   /* 1.7.8: one section left (the other hidden): full width */
/* component: buybar — mobile sticky add-to-cart (only while the main buy box is off-screen) */
.buybar{ display: none; }
@media (max-width: 760px){
  .buybar{ position: fixed; z-index: 45; inset-inline: 10px; inset-block-end: 10px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px 14px; border-radius: 18px;
    background: oklch(99.5% .002 250 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px #fff, inset 0 -4px 0 var(--brand-edge), 0 18px 40px -16px oklch(30% .06 260 / .45);
    transform: translateY(0); transition: transform .35s var(--snap), visibility 0s; }
  .buybar[hidden]{ display: flex; visibility: hidden; transform: translateY(140%); transition: transform .3s var(--ease), visibility 0s .3s; }
  .buybar .bb-name{ flex: 1; min-inline-size: 0; font: 600 var(--wp--preset--font-size--s)/1.25 var(--wp--preset--font-family--display); }
  .buybar .bb-name small{ display: block; font-weight: 400; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .price{ font-size: var(--wp--preset--font-size--l); }
  .buybar .btn{ min-block-size: 48px; padding-inline: 14px; }
  html.paused .buybar{ transition: none; }
}
/* component: form fields — .field > label + input/select/textarea, .msg(.err) */
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.field :is(select, input:not([type="checkbox"], [type="radio"])), .field textarea{ min-block-size: 46px; border-radius: 12px; border: 0; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3), inset 0 -3px 0 var(--edge); padding-inline: 12px; font: 500 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); }
.field textarea{ min-block-size: 120px; resize: vertical; padding: 10px 12px; line-height: 1.5; }
.field input[dir="ltr"]{ text-align: end; }
.field input::placeholder, .field textarea::placeholder{ color: var(--ink-2); opacity: 1; }
.field :is(input, select, textarea)[aria-invalid="true"]{ box-shadow: inset 0 0 0 2px var(--out), inset 0 -3px 0 oklch(88% .05 26); background: oklch(98.5% .01 26); }
.field label .opt{ font-weight: 400; color: var(--ink-2); }
.field label .req{ color: var(--out); font-weight: 700; }
.field .hint{ font: 400 var(--wp--preset--font-size--xs)/1.4 var(--wp--preset--font-family--display); color: var(--ink-2); }
.field .msg{ min-block-size: 0; font-size: var(--wp--preset--font-size--s); }
.field .msg:empty{ margin-block-start: -6px; }
.field .msg.err::before{ content: "✗ "; font-weight: 700; }
.field .msg.ok{ color: var(--ok); }
.field .msg button{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--brand-ink); background: none; border: 0; padding: 4px 6px; min-block-size: 32px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fgrid{ display: grid; gap: 14px 16px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.fgrid > *{ min-inline-size: 0; }
.fgrid .span-all, .fgrid .span-6{ grid-column: 1 / -1; }
.fgrid .span-2{ grid-column: span 2; } .fgrid .span-3{ grid-column: span 3; } .fgrid .span-4{ grid-column: span 4; }
@media (max-width: 760px){ .fgrid .span-3, .fgrid .m-full{ grid-column: 1 / -1; } }
/* component: brick-check (big checkbox) */
.check{ display: flex; align-items: flex-start; gap: 12px; font: 500 var(--wp--preset--font-size--m)/1.45 var(--wp--preset--font-family--display); cursor: pointer; }
.check input{ appearance: none; -webkit-appearance: none; flex: none; inline-size: 28px; block-size: 28px; margin: 0; border-radius: 8px; cursor: pointer; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-3), inset 0 -3px 0 var(--edge); display: grid; place-items: center; }
.check input::after{ content: ""; inline-size: 12px; block-size: 7px; border-inline-start: 3px solid #fff; border-block-end: 3px solid #fff; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .25s var(--snap); }
.check input:checked{ background: var(--brand); box-shadow: inset 0 -3px 0 var(--brand-deep); }
.check input:checked::after{ transform: translateY(-2px) rotate(-45deg) scale(1); }
.check input[aria-invalid="true"]{ box-shadow: inset 0 0 0 2px var(--out), inset 0 -3px 0 oklch(88% .05 26); }
.check a{ color: var(--brand-ink); text-underline-offset: 3px; }
@media (forced-colors: active){ .check input{ appearance: auto; -webkit-appearance: auto; } }
.check + .msg{ margin-inline-start: 40px; }
/* component: choice-brick (radio / toggle tiles) */
.choices{ border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.choices > legend{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); padding: 0; margin-block-end: 10px; }
.choices .opts{ display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.choice{ position: relative; display: block; cursor: pointer; min-inline-size: 0; }
.choice input{ position: absolute; inset: 0; z-index: 1; opacity: 0; margin: 0; cursor: pointer; inline-size: 100%; block-size: 100%; }
.choice-b{ display: flex; flex-direction: column; gap: 4px; block-size: 100%; padding: 13px 16px 15px; border-radius: 14px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 var(--edge); transition: transform .2s var(--snap), box-shadow .2s; }
.choice-b b{ font: 700 var(--wp--preset--font-size--m)/1.25 var(--wp--preset--font-family--display); display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.choice-b small{ font: 400 var(--wp--preset--font-size--s)/1.4 var(--wp--preset--font-family--display); color: var(--ink-2); }
.choice-b .tick{ flex: none; inline-size: 22px; block-size: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); display: grid; place-items: center; background: var(--white); }
.choice:hover .choice-b{ transform: translateY(-2px); }
.choice input:checked + .choice-b{ background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--ink), inset 0 -4px 0 var(--brand-edge); }
.choice input:checked + .choice-b .tick{ background: var(--ink); box-shadow: none; }
.choice input:checked + .choice-b .tick::after{ content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: #fff; }
.choice input:focus-visible + .choice-b{ outline: 3px solid var(--ink); outline-offset: 3px; }
.choice input:disabled + .choice-b{ opacity: .6; cursor: not-allowed; }
.choice .price{ font-size: var(--wp--preset--font-size--m); }
.choices.invalid .choice-b{ box-shadow: inset 0 0 0 2px var(--out), inset 0 -4px 0 oklch(88% .05 26); }
html.paused .choice:hover .choice-b{ transform: none; }
/* component: error-summary */
.err-sum{ padding: 18px 20px 20px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 2px var(--out), inset 0 -5px 0 oklch(86% .06 26); display: flex; gap: 14px; align-items: flex-start; }
.prefill-note{ margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line), inset 0 -3px 0 var(--edge); }   /* 1.6.0: the quote form opened from "הדפיסו לי" */
.err-sum[hidden]{ display: none; }
.err-sum .ico{ flex: none; inline-size: 34px; block-size: 34px; border-radius: 10px; background: var(--out); color: #fff; display: grid; place-items: center; font: 800 var(--wp--preset--font-size--l) var(--wp--preset--font-family--display); box-shadow: inset 0 -3px 0 oklch(36% .14 26); }
.err-sum h2{ font-size: var(--wp--preset--font-size--l); line-height: 1.3; margin-block-end: 6px; }
.err-sum ul{ margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 2px; }
.err-sum a{ color: var(--out); font: 500 var(--wp--preset--font-size--s)/1.5 var(--wp--preset--font-family--display); text-underline-offset: 3px; }
/* component: step-plate (numbered form section, like a step in an instruction booklet) */
.step{ padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.step-h{ display: flex; align-items: center; gap: 14px; }
.step-no{ flex: none; inline-size: 52px; block-size: 52px; border-radius: 14px; display: grid; place-items: center; font: 700 var(--wp--preset--font-size--xl)/1 var(--wp--preset--font-family--mono); color: var(--brand-ink); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-edge), inset 0 -4px 0 var(--brand-edge); position: relative; }
.step-no::before{ content: ""; position: absolute; inset-block-start: -6px; inset-inline: 10px; block-size: 7px; background: radial-gradient(ellipse 6px 4px at 50% 100%, var(--brand-edge) 0 95%, transparent 100%) 0 0 / 16px 7px repeat-x; }
.step-h h2{ font-size: var(--wp--preset--font-size--xl); line-height: 1.15; letter-spacing: -.02em; }
.step-h p{ font: 400 var(--wp--preset--font-size--s)/1.4 var(--wp--preset--font-family--display); color: var(--ink-2); }
.step-h .done{ margin-inline-start: auto; font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: var(--ok); display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 7px; border-radius: 9px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--edge); }
.step-h .done[hidden]{ display: none; }
.step.ok .step-no{ background: var(--brand); color: var(--ink); box-shadow: inset 0 -4px 0 var(--brand-deep); }
/* component: stud-progress (free-shipping progress; one stud = settings shop.stud_value) */
.studbar{ display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); }
.studbar-row{ display: grid; grid-template-columns: repeat(var(--n, 12), minmax(0, 1fr)); gap: 5px; direction: ltr; padding: 6px; border-radius: 12px; background: oklch(95% .008 255); box-shadow: inset 0 2px 0 oklch(90% .01 255); }
.studbar-row i{ aspect-ratio: 1; border-radius: 50%; position: relative; background: radial-gradient(circle at 50% 56%, oklch(85% .012 255) 0 60%, transparent 62%), oklch(93% .01 255); }
.studbar-row i::after{ content: ""; position: absolute; inset: 9%; border-radius: 50%; opacity: 0; transform: translateY(-40%) scale(1.15);
  background: radial-gradient(circle at 34% 30%, oklch(100% 0 0 / .9) 0 16%, transparent 44%), radial-gradient(circle, var(--brand) 0 56%, color-mix(in oklch, var(--brand) 80%, black) 72%, var(--brand) 86%);
  box-shadow: 0 1.5px 0 oklch(30% .03 260 / .2); transition: opacity .2s linear, transform .45s var(--snap); }
.studbar-row i.on::after{ opacity: 1; transform: none; }
.studbar-row i.part::after{ opacity: 1; transform: none; clip-path: inset(0 calc(100% - var(--f, 50%)) 0 0); }
.studbar.free .studbar-row i::after{ background: radial-gradient(circle at 34% 30%, oklch(100% 0 0 / .9) 0 16%, transparent 44%), radial-gradient(circle, oklch(64% .13 152) 0 56%, oklch(52% .12 152) 72%, oklch(64% .13 152) 86%); }
.studbar-txt{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 600 var(--wp--preset--font-size--s)/1.35 var(--wp--preset--font-family--display); }
.studbar-txt small{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink-2); }
.studbar.free .studbar-txt b{ color: var(--ok); }
html.paused .studbar-row i::after{ transition: none; }
/* component: order-summary (totals plate) */
.sum{ padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 18px; }
.sum h2{ font-size: var(--wp--preset--font-size--xl); line-height: 1.1; letter-spacing: -.02em; }
.totals{ margin: 0; display: flex; flex-direction: column; gap: 2px; }
.totals div{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 7px; border-block-end: 1px dashed var(--line); }
.totals dt{ font: 500 var(--wp--preset--font-size--m) var(--wp--preset--font-family--display); color: var(--ink-2); }
.totals dd{ margin: 0; font: 600 var(--wp--preset--font-size--m) var(--wp--preset--font-family--mono); white-space: nowrap; }
.totals dd small{ font-size: .78em; margin-inline-start: 2px; }
.totals .disc dd{ color: var(--ok); }
.totals .grand{ border: 0; margin-block-start: 8px; padding: 14px 16px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 oklch(10% .02 268); }
.totals .grand dt{ color: oklch(88% .01 260); font-weight: 600; }
.totals .grand dd{ font: 700 var(--wp--preset--font-size--2-xl)/1 var(--wp--preset--font-family--mono); }
.totals .vat{ border: 0; padding-block: 4px 0; }
.totals .vat dt, .totals .vat dd{ font: 400 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); }
.sum .cta-row{ display: flex; flex-direction: column; gap: 10px; }
.sum .cta-row .btn{ inline-size: 100%; }
.sum .fine{ font: 400 var(--wp--preset--font-size--s)/1.5 var(--wp--preset--font-family--display); color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.sum .fine li{ display: flex; gap: 8px; align-items: baseline; }
.sum .fine li::before{ content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--brand); translate: 0 -1px; }
.sum ul.fine{ list-style: none; margin: 0; padding: 0; }
/* custom-print request summary (geekly/quote-form; v4: no price, the price comes in the offer) */
.sum.quote .q-status{ font: 600 var(--wp--preset--font-size--m)/1.4 var(--wp--preset--font-family--display); color: var(--ink); }
.sum.quote .q-note{ font: 400 var(--wp--preset--font-size--s)/1.5 var(--wp--preset--font-family--display); color: var(--ink-2); padding: 10px 12px 12px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--brand-edge); }
.sticky-col{ position: sticky; inset-block-start: calc(var(--hdr) + 14px); }
@media (max-width: 1000px){ .sticky-col{ position: static; } }
/* component: coupon */
.coupon{ display: flex; flex-direction: column; gap: 8px; }
.coupon-row{ display: flex; gap: 8px; align-items: flex-end; }
.coupon-row .field{ flex: 1; min-inline-size: 0; }
.coupon-row .btn{ flex: none; }
.coupon-on{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 10px 14px; border-radius: 12px; background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-edge), inset 0 -3px 0 var(--brand-edge); font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.coupon-on .code{ font: 700 var(--wp--preset--font-size--s) var(--wp--preset--font-family--mono); letter-spacing: .04em; }
.demo-hint{ font: 400 var(--wp--preset--font-size--xs)/1.4 var(--wp--preset--font-family--display); color: var(--ink-2); }
.demo-hint code{ font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink); background: var(--paper); padding: 1px 5px; border-radius: 5px; }
/* component: verify-line (live stock check) */
.verify{ display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 12px 9px; border-radius: 11px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); font: 500 var(--wp--preset--font-size--s)/1.35 var(--wp--preset--font-family--display); color: var(--ink-2); }
.verify .dotz{ display: inline-flex; gap: 4px; direction: ltr; }
.verify .dotz i{ inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--brand); animation: vdot 1s var(--ease) infinite; }
.verify .dotz i:nth-child(2){ animation-delay: .15s; } .verify .dotz i:nth-child(3){ animation-delay: .3s; }
@keyframes vdot{ 0%, 100%{ transform: translateY(0); opacity: .45; } 40%{ transform: translateY(-4px); opacity: 1; } }
.verify.done .dotz{ display: none; }
.verify.done::before{ content: "✓"; font: 800 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: #fff; background: var(--ok); inline-size: 20px; block-size: 20px; border-radius: 6px; display: grid; place-items: center; }
.verify.warn::before{ content: "!"; background: var(--low); }
html.paused .verify .dotz i{ animation: none; opacity: 1; }
/* component: success-plate */
.success{ display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 4vw, 52px); align-items: start; }
.success :is(h1, h2){ letter-spacing: -.03em; line-height: 1.04; }
.success :is(h1, h2):focus{ outline: none; }
.success :is(h1, h2):focus-visible{ outline: 3px solid var(--ink); }
.success h2.t-h3{ font: 700 var(--wp--preset--font-size--xl)/1.2 var(--wp--preset--font-family--display); letter-spacing: -.01em; }
.order-no{ display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px 14px 18px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 oklch(10% .02 268); }
.order-no span{ font: 500 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); color: oklch(88% .01 260); }
.order-no b{ font: 700 var(--wp--preset--font-size--xl)/1 var(--wp--preset--font-family--mono); letter-spacing: .03em; direction: ltr; unicode-bidi: isolate; }
.order-no .btn{ --b: var(--white); --e: var(--edge); color: var(--ink); min-block-size: 40px; padding: 7px 12px 9px; font-size: var(--wp--preset--font-size--s); }
.next{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.next li{ position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding-block: 0 18px; }
.next li::before{ content: ""; position: absolute; inset-block: 40px 0; inset-inline-start: 18px; inline-size: 4px; border-radius: 2px; background: var(--line); }
.next li:last-child::before{ display: none; }
.next .no{ inline-size: 40px; block-size: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--edge); color: var(--ink-2); grid-row: span 2; }
.next li.now .no{ background: var(--brand); color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand-deep); }
.next b{ font: 700 var(--wp--preset--font-size--m)/1.3 var(--wp--preset--font-family--display); padding-block-start: 2px; }
.next small{ font: 400 var(--wp--preset--font-size--s)/1.45 var(--wp--preset--font-family--display); color: var(--ink-2); }
.recap{ margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.recap div{ padding: 10px 12px 12px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -3px 0 var(--edge); min-inline-size: 0; }
.recap dt{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--display); color: var(--ink-2); }
.recap dd{ margin: 2px 0 0; font: 600 var(--wp--preset--font-size--s)/1.35 var(--wp--preset--font-family--display); overflow-wrap: anywhere; }
.recap .wide{ grid-column: 1 / -1; }
@media (max-width: 1000px){ .success{ grid-template-columns: minmax(0, 1fr); } }
/* component: mobile-pay-bar (sticky total on small screens) */
.paybar{ position: fixed; z-index: 50; inset-inline: 10px; inset-block-end: 10px; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 12px 16px; border-radius: 18px; background: oklch(99.5% .002 250 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px #fff, inset 0 -4px 0 var(--brand-edge), 0 20px 40px -16px oklch(30% .06 260 / .45); }
.paybar .t{ display: flex; flex-direction: column; font: 500 var(--wp--preset--font-size--xs)/1.2 var(--wp--preset--font-family--display); color: var(--ink-2); }
.paybar .t b{ font: 700 var(--wp--preset--font-size--l)/1.1 var(--wp--preset--font-family--mono); color: var(--ink); }
.paybar .btn{ min-block-size: 48px; }
@media (max-width: 1000px){ .paybar.show{ display: flex; } body:has(.paybar.show) .ftr{ padding-block-end: 70px; } }

/* =====================================================================
   WORDPRESS + WOOCOMMERCE CORE OUTPUT in the Brick Lab look
   Colours, fonts and radius of core buttons come from Styles (theme.json elements.button);
   here we only add the brick geometry (thickness edge, two studs, press).
   ===================================================================== */
/* buttons: core/button, element buttons, WooCommerce buttons */
:where(.wp-block-button__link, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button:not(.is-link)){
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-block-size: 52px; text-decoration: none; cursor: pointer; border: 0;
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .22), inset 0 -4px 0 oklch(0% 0 0 / .3), 0 10px 22px -14px oklch(22% .03 268 / .7);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.wp-block-button__link{ display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.wp-block-button__link::before{ content: ""; flex: none; inline-size: 22px; block-size: 9px; order: -1;
  background: radial-gradient(circle at 4.5px 4.5px, oklch(100% 0 0 / .85) 0 1.6px, oklch(100% 0 0 / .32) 3.4px, transparent 4.6px), radial-gradient(circle at 17.5px 4.5px, oklch(100% 0 0 / .85) 0 1.6px, oklch(100% 0 0 / .32) 3.4px, transparent 4.6px); }
:where(.wp-block-button__link, .wp-element-button, .woocommerce .button, .wc-block-components-button:not(.is-link)):hover{ transform: translateY(-1px); }
:where(.wp-block-button__link, .wp-element-button, .woocommerce .button, .wc-block-components-button:not(.is-link)):active{ transform: translateY(2px); box-shadow: inset 0 1px 0 oklch(100% 0 0 / .22), inset 0 -2px 0 oklch(0% 0 0 / .3); }
/* outline style = ghost brick (white) */
.wp-block-button.is-style-outline > .wp-block-button__link{ background: var(--white); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 var(--edge), 0 8px 18px -14px oklch(35% .06 260 / .5); }
.wp-block-button.is-style-outline > .wp-block-button__link::before{ background: radial-gradient(circle at 4.5px 4.5px, #fff 0 1.6px, var(--brand-glow) 3.4px, transparent 4.6px), radial-gradient(circle at 17.5px 4.5px, #fff 0 1.6px, var(--brand-glow) 3.4px, transparent 4.6px); }
.wp-block-buttons{ gap: 12px; }
html.paused :is(.wp-block-button__link, .wp-element-button, .btn){ transition: none; }
/* WooCommerce classic buttons follow the element button colours */
.woocommerce :is(a.button, button.button, input.button){ background: var(--brand); color: var(--ink); font-family: var(--wp--preset--font-family--display); font-weight: 700; border-radius: 14px; padding: 12px 22px 15px; }
.woocommerce :is(a.button, button.button, input.button):hover{ background: var(--brand); color: var(--ink); }
.woocommerce :is(a.button, button.button, input.button):disabled, .woocommerce :is(a.button, button.button).disabled{ background: oklch(90% .01 260); color: var(--ink-2); }

/* form controls in content (classic WooCommerce forms, comments, search) */
:where(.wp-site-blocks) :where(input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="password"], [type="search"], [type="url"], [type="date"]), select, textarea):not(.wc-block-components-text-input input, .wc-block-components-combobox input, .qty input){
  min-block-size: 46px; border-radius: 12px; border: 0; background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-3), inset 0 -3px 0 var(--edge); padding-inline: 12px; font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--m); }
:where(.wp-site-blocks) :where(textarea){ padding-block: 10px; line-height: 1.5; }
:where(.wp-site-blocks) :where(label){ font-family: var(--wp--preset--font-family--display); font-weight: 600; }
.woocommerce form .form-row :is(input.input-text, textarea, select){ min-block-size: 46px; 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: 12px; }
.woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select){ box-shadow: inset 0 0 0 2px var(--out), inset 0 -3px 0 oklch(88% .05 26); }
.woocommerce form .form-row label{ font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
/* WooCommerce block forms (checkout): keep the floating labels, add the brick ring */
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input, .wc-blocks-components-select select{ border-radius: 12px !important; border-color: var(--ink-3) !important; box-shadow: inset 0 -3px 0 var(--edge); background: var(--white) !important; }
.wc-block-components-text-input.has-error input{ border-color: var(--out) !important; box-shadow: inset 0 0 0 1px var(--out), inset 0 -3px 0 oklch(88% .05 26); }
.wc-block-components-validation-error{ color: var(--out); font-family: var(--wp--preset--font-family--display); }

/* notices: classic and block — a white brick with a coloured ring (text stays ink: contrast) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner, .wp-block-woocommerce-store-notices .woocommerce-message{
  --nc: var(--brand);
  background: var(--white) !important; color: var(--ink) !important; border: 0 !important; border-radius: 16px !important; padding: 14px 18px 16px !important;
  box-shadow: inset 0 0 0 2px var(--nc), inset 0 -5px 0 color-mix(in oklch, var(--nc) 22%, white) !important; font-family: var(--wp--preset--font-family--display); }
.woocommerce-message, .wc-block-components-notice-banner.is-success{ --nc: var(--ok); }
.woocommerce-error, .wc-block-components-notice-banner.is-error{ --nc: var(--out); }
.woocommerce-info, .wc-block-components-notice-banner.is-info{ --nc: var(--brand); }
.wc-block-components-notice-banner.is-warning{ --nc: var(--low); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before{ color: var(--nc); }
.wc-block-components-notice-banner > svg{ background: var(--nc) !important; fill: #fff !important; border-radius: 8px !important; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button), .wc-block-components-notice-banner a{ color: var(--brand-ink); }

/* content typography inside plates (pages, posts) */
.page-body :where(h2, h3, h4){ margin-block: 1.6em .5em; }
.page-body :where(h2, h3, h4):first-child{ margin-block-start: 0; }
.page-body :where(p, ul, ol){ margin-block: 0 1em; }
.page-body :where(ul, ol){ padding-inline-start: 1.3em; }
.page-body :where(li){ margin-block: .25em; }
.page-body :where(a:not(.wp-element-button)){ text-underline-offset: 3px; }
:where(.wp-block-quote){ border-inline-start: 4px solid var(--brand-edge); padding-inline-start: 18px; margin-inline: 0; }
:where(.wp-block-separator){ border: 0; border-block-start: 1px dashed var(--line); }
:where(.wp-block-table) table{ border-collapse: collapse; }
:where(.wp-block-table) :is(th, td){ border: 1px solid var(--line); padding: 8px 12px; }
:where(.wp-block-code, code){ font-family: var(--wp--preset--font-family--mono); }

/* query loops (archive / search / index): post tiles */
.post-tiles{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.post-tiles > li{ margin: 0 !important; display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 18px; position: relative; background: oklch(99.6% .002 250 / .92); border-radius: var(--r-tile); border: 1px solid oklch(100% 0 0);
  box-shadow: inset 0 1px 0 oklch(100% 0 0), inset 0 -4px 0 var(--edge), 0 1px 2px oklch(40% .05 260 / .08), 0 14px 30px -20px oklch(35% .06 260 / .3); }
.post-tiles > li > *{ margin: 0; }
.post-tiles .wp-block-post-featured-image{ margin: 0; border-radius: 12px; overflow: hidden; }
.post-tiles .wp-block-post-title{ font-size: var(--wp--preset--font-size--l); line-height: 1.25; }
.post-tiles .wp-block-post-title a{ color: inherit; text-decoration: none; }
.post-tiles .wp-block-post-title a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.post-tiles .wp-block-post-excerpt{ color: var(--ink-2); font-size: var(--wp--preset--font-size--s); }
.post-tiles .wp-block-post-date{ font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--mono); color: var(--ink-2); }
.wp-block-query-pagination{ gap: 8px; margin-block-start: 24px; font-family: var(--wp--preset--font-family--display); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers{ display: inline-flex; align-items: center; justify-content: center; min-block-size: 42px; min-inline-size: 42px; 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); }
.wp-block-query-pagination .page-numbers.current{ background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
.wp-block-query-no-results{ margin: 0; }
/* search form inside content */
.page-body .wp-block-search__inside-wrapper, .empty .wp-block-search__inside-wrapper{ gap: 8px; border: 0; padding: 0; }
.page-body .wp-block-search__button, .empty .wp-block-search__button{ margin: 0; }

/* =====================================================================
   v4 ADDITIONS — colour dose, section accents (+ the group styles), corner brick, stud clusters,
   ביט v2 (peek, sizes, reactions), the filament strand, owner placeholders
   ===================================================================== */
/* ---------- colour dose: html[data-dose] (Appearance → Geekly · הגדרות → תכונות → מינון צבע; printed on <html> by the theme).
   The dose only changes edges and studs, never text: contrast is the same at every level. ---------- */
html[data-dose="soft"]{ --dose-sl: .08; --dose-sc: 1.5; --dose-el: .05; --dose-ec: 1.3; --dose-fill: 55%; }
html[data-dose="mid"]{ --dose-sl: .12; --dose-sc: 1.8; --dose-el: .08; --dose-ec: 1.6; --dose-fill: 100%; --bit-acc2: oklch(74% .15 350); }
html[data-dose="none"]{ --bit-acc2: oklch(93% .01 260); }   /* ביט's small candy accessory (drawstring tips) follows the dose */

/* ---------- one candy accent per section: [data-acc="pink|sky|yellow|purple|mint"] (blocks) or the group styles
   "לוח · הדגשה ורודה / תכלת / צהובה / סגולה / מנטה" (.is-style-acc-*). Base colours = palette presets acc-* ---------- */
:is([data-acc="pink"], .is-style-acc-pink)    { --acc-l: .88; --acc-c: .064; --acc-h: 26; --acc-base: var(--wp--preset--color--acc-pink, oklch(88% .064 26)); }   /* slug kept: pastel red */
:is([data-acc="sky"], .is-style-acc-sky)      { --acc-l: .90; --acc-c: .048; --acc-h: 229; --acc-base: var(--wp--preset--color--acc-sky, oklch(90% .048 229)); }
:is([data-acc="yellow"], .is-style-acc-yellow){ --acc-l: .942; --acc-c: .093; --acc-h: 98; --acc-base: var(--wp--preset--color--acc-yellow, oklch(94.2% .093 98)); }
:is([data-acc="purple"], .is-style-acc-purple){ --acc-l: .875; --acc-c: .059; --acc-h: 295; --acc-base: var(--wp--preset--color--acc-purple, oklch(87.5% .059 295)); }
:is([data-acc="mint"], .is-style-acc-mint)    { --acc-l: .911; --acc-c: .056; --acc-h: 154; --acc-base: var(--wp--preset--color--acc-mint, oklch(91.1% .056 154)); }   /* slug kept: pastel green */
:is([data-acc], [class*="is-style-acc-"]){
  --acc-stud: oklch(calc(var(--acc-l) - var(--dose-sl)) calc(var(--acc-c) * var(--dose-sc)) var(--acc-h));
  --acc-edge: oklch(calc(var(--acc-l) - var(--dose-el)) calc(var(--acc-c) * var(--dose-ec)) var(--acc-h));
  --acc-fill: color-mix(in oklab, var(--acc-base) var(--dose-fill), var(--plate));   /* the section plate is the pastel itself (text on it stays ink: 11:1+) */
}
@supports (color: oklch(from red l c h)){
  /* follow the palette colour (Styles → Colours → "הדגשה …") */
  :is([data-acc], [class*="is-style-acc-"]){
    --acc-stud: oklch(from var(--acc-base) calc(l - var(--dose-sl)) calc(c * var(--dose-sc)) h);
    --acc-edge: oklch(from var(--acc-base) calc(l - var(--dose-el)) calc(c * var(--dose-ec)) h);
  }
}
html[data-dose="none"] :is([data-acc], [class*="is-style-acc-"]){ --acc-stud: var(--white); --acc-edge: var(--brand-edge); --acc-fill: var(--plate); }
.bstud[data-acc], .fchip .stud[data-acc], .stud[data-acc]{ --c: var(--acc-stud); }

/* the group styles are plates: a pastel brick (white with dose "ללא"), accent bottom edge (owner padding/colour settings on the block still win) */
.wp-block-group[class*="is-style-acc-"], .wp-block-template-part > [class*="is-style-acc-"]{
  position: relative; background-color: var(--acc-fill, var(--plate)); border-radius: var(--r-plate); border: 1px solid oklch(100% 0 0);
  box-shadow: inset 0 1px 0 oklch(100% 0 0), inset 0 -5px 0 var(--acc-edge), 0 2px 6px oklch(40% .05 260 / .06), 0 30px 60px -36px oklch(35% .06 260 / .3); }
:where(.wp-block-group[class*="is-style-acc-"]){ padding: clamp(24px, 4vw, 52px); }
:where(.wp-block-group[class*="is-style-acc-"].alignwide, .wp-block-group[class*="is-style-acc-"].alignfull){ margin-block-start: 28px; }
/* dose "בינוני": the same places, louder */
html[data-dose="mid"] :is(.plate[data-acc], [data-acc] > .plate, .wp-block-group[class*="is-style-acc-"]){ box-shadow: inset 0 1px 0 oklch(100% 0 0), inset 0 -7px 0 var(--acc-edge), 0 2px 6px oklch(40% .05 260 / .06), 0 30px 60px -36px oklch(35% .06 260 / .3); }
html[data-dose="mid"] :is([data-acc], [class*="is-style-acc-"]) .acc-tile{ box-shadow: inset 0 1px 0 oklch(100% 0 0), inset 0 -4px 0 var(--acc-edge), 0 1px 2px oklch(40% .05 260 / .08), 0 14px 30px -20px oklch(35% .06 260 / .3); }
html[data-dose="mid"] .part{ box-shadow: inset 0 0 0 1px var(--line), inset 0 -4px 0 var(--acc-edge); }
html[data-dose="mid"] .part .rail .stud{ --sz: 12px; }

/* one small decorative brick snapped onto a plate corner (aria-hidden <i class="cbrick">; the group styles draw it themselves) */
.cbrick{ position: absolute; z-index: 2; inset-block-start: -11px; inset-inline-end: 34px; inline-size: 46px; block-size: 18px; border-radius: 6px; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklch, var(--acc-stud) 80%, white), var(--acc-stud) 45%, color-mix(in oklch, var(--acc-stud) 86%, black));
  box-shadow: inset 0 1.5px 0 oklch(100% 0 0 / .5), inset 0 -4px 0 oklch(0% 0 0 / .16), 0 3px 6px -2px oklch(30% .05 260 / .25); }
.cbrick::before{ content: ""; position: absolute; inset-block-start: -5px; inset-inline: 5px; block-size: 6px;
  background: radial-gradient(ellipse 7px 5px at 50% 100%, color-mix(in oklch, var(--acc-stud) 72%, white) 0 95%, transparent 100%) 0 0 / 50% 6px repeat-x; }
.cbrick.sm{ inline-size: 26px; } .cbrick.sm::before{ background-size: 100% 6px; }
/* the same brick on a styled group: body = ::before (site + editor), studs = ::after (site only: the editor draws selection outlines with ::after) */
.wp-block-group[class*="is-style-acc-"]:not(:has(> .cbrick, > * > .cbrick))::before{ content: ""; position: absolute; z-index: 2; inset-block-start: -11px; inset-inline-end: 34px; inline-size: 46px; block-size: 18px; border-radius: 6px; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklch, var(--acc-stud) 80%, white), var(--acc-stud) 45%, color-mix(in oklch, var(--acc-stud) 86%, black));
  box-shadow: inset 0 1.5px 0 oklch(100% 0 0 / .5), inset 0 -4px 0 oklch(0% 0 0 / .16), 0 3px 6px -2px oklch(30% .05 260 / .25); }
.geekly-lab .wp-block-group[class*="is-style-acc-"]:not(:has(> .cbrick, > * > .cbrick))::after{ content: ""; position: absolute; z-index: 2; inset-block-start: -16px; inset-inline-end: 39px; inline-size: 36px; block-size: 6px; pointer-events: none;
  background: radial-gradient(ellipse 7px 5px at 50% 100%, color-mix(in oklch, var(--acc-stud) 72%, white) 0 95%, transparent 100%) 0 0 / 50% 6px repeat-x; }
/* never under ביט's hands: with ביט peeking over the end corner, the brick moves to the start corner */
.wp-block-group[class*="is-style-acc-"]:has(> .bit-peek[data-corner="top"][data-side="end"])::before{ inset-inline-end: auto; inset-inline-start: 40px; }
.geekly-lab .wp-block-group[class*="is-style-acc-"]:has(> .bit-peek[data-corner="top"][data-side="end"])::after{ inset-inline-end: auto; inset-inline-start: 45px; }
html[data-dose="none"] .cbrick, html[data-dose="none"] .wp-block-group[class*="is-style-acc-"]::before, html[data-dose="none"] .wp-block-group[class*="is-style-acc-"]::after{ display: none; }

/* coloured studs on the baseplate: system.js places small clusters on the 32px grid next to accent-section corners, never behind text */
.studs-layer{ position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bstud{ position: absolute; inline-size: 10px; block-size: 10px; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle at 35% 30%, oklch(100% 0 0 / .85) 0 22%, transparent 50%), var(--c);
  box-shadow: 1.2px 2.4px 0 color-mix(in oklch, var(--c) 70%, oklch(60% .02 255)), 0 0 0 .5px oklch(30% .03 260 / .12); }
html[data-dose="none"] .studs-layer{ display: none; }

/* ---------- ביט v2 (geekly/bit block; helpers in inc/helpers.php and system.js) ---------- */
.wp-block-geekly-bit, .bit-guide, .bit-peek, .bit-mini{ --bit-hood: color-mix(in oklch, var(--bit-acc) 18%, white); }
:is(.wp-block-geekly-bit, .bit-guide, .bit-peek).is-fil{ --bit-acc: var(--fil); }
.bit-mini{ display: block; inline-size: 34px; block-size: auto; }
.bit-guide.is-size-s{ --bit: 64px; } .bit-guide.is-size-m{ --bit: 92px; } .bit-guide.is-size-l{ --bit: 120px; }
.bit-guide.is-anim .bit{ animation: bitBob 2.8s var(--ease) infinite; transform-origin: 50% 100%; }
@keyframes bitBob{ 0%, 100%{ transform: translateY(0); } 50%{ transform: translateY(-4px) rotate(-1.5deg); } }
@keyframes bitBobM{ 0%, 100%{ transform: scaleX(-1) translateY(0); } 50%{ transform: scaleX(-1) translateY(-4px) rotate(-1.5deg); } }
@keyframes bitHop{ 0%{ transform: translateY(6px); } 100%{ transform: none; } }
.bit-guide.react .bit, .bit-peek.react .bit{ animation: bitHop .5s var(--snap); }
/* ביט peeking from a corner of his parent section (block mode "מציץ מפינה"; also B's hero). data-side start|end, data-corner top|bottom, data-size s|m|l */
:has(> .bit-peek){ position: relative; }
.bit-peek{ position: absolute; z-index: 7; --bit-w: 88px; --bit-r: 1.4167; --grip: 3px; --sink: -8px; inline-size: var(--bit-w); pointer-events: none; margin: 0 !important; }
.bit-peek.is-peek-pose{ --bit-r: .9333; --grip: calc(var(--bit-w) * .125); --sink: calc(var(--bit-w) * .125); }
.bit-peek[data-size="s"]{ --bit-w: 64px; } .bit-peek[data-size="l"]{ --bit-w: 116px; }
.bit-peek .bit{ display: block; inline-size: 100%; block-size: auto; filter: drop-shadow(0 8px 10px oklch(35% .06 260 / .2)); }
.bit-peek[data-side="end"]{ inset-inline-end: 34px; } .bit-peek[data-side="start"]{ inset-inline-start: 34px; }
.bit-peek[data-corner="top"]{ inset-block-end: calc(100% - var(--grip)); }
.bit-peek[data-corner="bottom"]{ inset-block-end: calc(-1 * var(--sink)); clip-path: inset(-400px -400px var(--sink) -400px); }
.bit-peek .bubble{ position: absolute; inset-block-end: calc(100% - 26px); inline-size: max-content; max-inline-size: 230px; }
.block-editor-block-list__block.bit-peek{ pointer-events: auto; position: absolute; }   /* selectable in the editor; the editor's own block rule would make it relative */
.bit-peek:where(:not([class*="-font-size"])) .bubble{ font-size: var(--wp--preset--font-size--s); }
.bit-peek[data-side="end"] .bubble{ inset-inline-end: calc(100% + 4px); }
.bit-peek[data-side="start"] .bubble{ inset-inline-start: calc(100% + 4px); }
.bit-peek[data-corner="top"] .bubble{ inset-block-end: auto; inset-block-start: 6px; }
.bit-peek .bubble::after{ inset-block-end: -9px; }
.bit-peek[data-side="end"] .bubble::after{ inset-inline-start: auto; inset-inline-end: calc(100% - 26px); }
.bit-peek[data-corner="top"] .bubble::after{ inset-block-end: auto; inset-block-start: 50%; transform: translateY(-50%) rotate(135deg); }
.bit-peek[data-corner="top"][data-side="end"] .bubble::after{ inset-inline-end: -9px; inset-inline-start: auto; transform: translateY(-50%) rotate(135deg); }
.bit-peek[data-corner="top"][data-side="start"] .bubble::after{ inset-inline-start: -9px; inset-inline-end: auto; transform: translateY(-50%) rotate(-45deg); }
.bit-peek[data-corner="bottom"][data-side="end"] .bubble::after{ inset-inline-end: 20px; inset-inline-start: auto; }
.bit-peek[data-corner="bottom"][data-side="start"] .bubble::after{ inset-inline-start: 20px; inset-inline-end: auto; }
.bit-peek.mirror .bit{ transform: scaleX(-1); }
.bit-peek[data-anim="on"] .bit{ animation: bitBob 2.8s var(--ease) infinite; transform-origin: 50% 100%; }
.bit-peek[data-anim="on"].mirror .bit{ animation-name: bitBobM; }
.bit-peek.react.mirror .bit{ animation: none; }
.bit-peek[hidden], .no-bit .bit-peek{ display: none !important; }
/* room above a section with ביט peeking over its top edge (never covers the section before it) */
:has(> .bit-peek[data-corner="top"]){ --room-w: 88px; --room-k: 1.4167; --room-c: 5px; margin-block-start: max(var(--wp--style--block-gap, 24px), calc(var(--room-w) * var(--room-k) + var(--room-c))); }
:has(> .bit-peek[data-corner="top"][data-size="s"]){ --room-w: 64px; }
:has(> .bit-peek[data-corner="top"][data-size="l"]){ --room-w: 116px; }
:has(> .bit-peek[data-corner="top"].is-peek-pose){ --room-k: .8083; --room-c: 8px; }
html.paused :is(.bit-peek, .bit-guide) .bit{ animation: none !important; }
@media (max-width: 760px){
  .bit-peek[data-side="end"]{ inset-inline-end: 18px; } .bit-peek[data-side="start"]{ inset-inline-start: 18px; }
  .bit-peek{ --bit-w: 70px; } .bit-peek[data-size="s"]{ --bit-w: 54px; } .bit-peek[data-size="l"]{ --bit-w: 92px; }
  :has(> .bit-peek[data-corner="top"]){ --room-w: 70px; }
  :has(> .bit-peek[data-corner="top"][data-size="s"]){ --room-w: 54px; }
  :has(> .bit-peek[data-corner="top"][data-size="l"]){ --room-w: 92px; }
  .bit-peek .bubble{ max-inline-size: 190px; padding: 7px 10px 8px; }
  .bit-peek:where(:not([class*="-font-size"])) .bubble{ font-size: var(--wp--preset--font-size--xs); }
}

/* reactions: a small ביט head in the toast and in empty search suggestions */
.search-pop li.none.with-bit{ display: flex; align-items: center; gap: 10px; }
.search-pop li.none .bit-mini{ inline-size: 40px; flex: none; }

/* ---------- the filament strand (the recurring v4 motif; coloured by the selected filament, a light touch) ---------- */
.strand{ position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.strand path{ fill: none; stroke-linecap: round; stroke-linejoin: round; }
.strand .s-line{ stroke: var(--fil-line); stroke-width: 3.2; }
.strand .s-hi{ stroke: oklch(100% 0 0 / .55); stroke-width: 1; }
.strand .s-end{ fill: var(--fil-line); stroke: none; }
.js .strand.draw .s-line, .js .strand.draw .s-hi{ stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.js .strand.draw.on .s-line, .js .strand.draw.on .s-hi{ stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .15s; }
.js .strand.draw .s-end{ opacity: 0; }
.js .strand.draw.on .s-end{ opacity: 1; transition: opacity .25s linear 1.2s; }
html.paused .strand .s-line, html.paused .strand .s-hi{ stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
html.paused .strand .s-end{ opacity: 1 !important; transition: none !important; }
/* a strand from a section tag (.part) to its heading: add the class "has-strand" to the group that holds both (system.js draws it) */
.has-strand{ position: relative; }
.has-strand > :not(.strand){ position: relative; z-index: 1; }
.has-strand > .strand.tie{ z-index: 0; }
.strand.tie .s-line{ stroke-width: 2.6; }

/* ---------- placeholders the owner still has to fill (XXXX; mark.ph = the long "[להשלמה…]" notes in the info pages, styled in commerce.css) ---------- */
.ph:not(mark){ margin-inline: 3px; font: 600 .86em/1 var(--wp--preset--font-family--mono); padding: 2px 6px 3px; border-radius: 6px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); border: 0; white-space: nowrap; letter-spacing: .04em; }
/* "בקרוב" / "חדש" badge after a link (navigation, footer) */
.ftr-plate .soon{ display: inline-block; margin-inline-start: 6px; font: 600 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--display); padding: 3px 6px 4px; border-radius: 6px; background: var(--ink); color: #fff; }

/* =================== MOTION OFF =================== */
html.paused *, html.paused *::before, html.paused *::after{ animation-play-state: paused !important; }
html.paused :is([data-snap], .is-snap){ opacity: 1 !important; transform: none !important; transition: none !important; }
html.paused .spc:hover, html.paused .tile{ transition: none; }
html.paused .door-leaf{ transition: none; }
html.paused .scroll-hint i::after{ animation: none; }
html.paused .bubble.pop{ animation: none; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

/* =================== RESPONSIVE =================== */
/* v4: six menu items → the menu button takes over below 1280px on the site (.geekly-lab = the front-end body class;
   the editor canvas keeps core's 600px switch so the links stay editable in place) */
@media (max-width: 1280px){
  .geekly-lab .hdr-in .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){ display: none; }
  .geekly-lab .hdr-in .wp-block-navigation__responsive-container-open:not(.always-shown){ display: inline-flex; }
  .geekly-lab .hdr-in > .wp-block-navigation{ order: 3; margin-inline-start: 0; }
  .geekly-lab .hdr-in .wp-block-search__input{ inline-size: 200px; }
}
@media (min-width: 600px) and (max-width: 1280px){
  .geekly-lab .hdr-in .wp-block-navigation__responsive-container.is-menu-open{ display: flex; }
}
@media (max-width: 1180px){
  .hdr-in .wp-block-navigation .wp-block-navigation-item__content{ padding-inline: 8px; }
  .grid{ --cols: 2; }
  .shelf, .models{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-plate{ grid-template-columns: 1fr 1fr; }
  .post-tiles{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px){
  /* the nav collapses into the menu button at 1000px (core switches at 600px) */
  .hdr-in .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){ display: none; }
  .hdr-in .wp-block-navigation__responsive-container-open:not(.always-shown){ display: inline-flex; }
  .hdr-in > .wp-block-navigation{ order: 3; margin-inline-start: 0; }
  .custom{ grid-template-columns: minmax(0, 1fr); }
  .split{ grid-template-columns: minmax(0, 1fr); }
  .wing-in{ grid-template-columns: 1fr; }
  .door{ left: 50%; inset-block: 40px auto; block-size: 380px; }
  .wing-copy{ margin-block-start: 450px; }
  .pnl-card{ grid-template-columns: 1fr; }
  .pnl-view{ min-block-size: 300px; border-radius: 30px 30px 0 0; }
  .pdp{ grid-template-columns: minmax(0, 1fr); }
  .pdp-stage{ min-block-size: 420px; border-radius: var(--r-plate) var(--r-plate) 0 0; }
  .pdp-pair{ grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 600px) and (max-width: 1000px){
  .hdr-in .wp-block-navigation__responsive-container.is-menu-open{ display: flex; }
}
@media (max-width: 760px){
  .hdr-in{ gap: 6px; padding-inline: 10px 6px; }
  .hdr-tools{ gap: 4px; }
  /* phones (1.4.4): the menu button with a visible "תפריט" at the start (right), the tools next to it, the logo at the end (left) */
  .geekly-lab .hdr-in > .wp-block-navigation{ order: -1; margin-inline-start: 0; }
  .geekly-lab .hdr-in > .hdr-tools{ margin-inline-start: 0; }
  .geekly-lab .hdr-in > .wp-block-geekly-logo{ order: 9; margin: 0 auto 0 0; }   /* the logo is direction: ltr, so physical sides */
  .hdr-in .wp-block-navigation__responsive-container-open{ gap: 6px; padding-inline: 8px 10px; background: var(--brand-soft); box-shadow: inset 0 -3px 0 var(--brand-edge); }
  .hdr-in .wp-block-navigation__responsive-container-open::after{ content: "תפריט"; font: 600 var(--wp--preset--font-size--s)/1 var(--wp--preset--font-family--display); }
  /* phones (1.3.2): the search sits behind a search button (system.js) and opens as a plate under the header bar */
  .hdr-in .wp-block-search{ display: none; }
  .hdr-sbtn{ display: inline-flex; }
  .hdr-in.is-search .hdr-sbtn{ background: var(--brand-soft); box-shadow: inset 0 -3px 0 var(--brand-edge); }
  .hdr-in.is-search .wp-block-search{ display: block; position: absolute; z-index: 45; inset-inline: 0; inset-block-start: calc(100% + 8px); padding: 8px; border-radius: 16px; background: var(--plate);
    box-shadow: inset 0 0 0 1px #fff, inset 0 -4px 0 var(--brand-edge), 0 24px 40px -18px oklch(30% .06 260 / .45); }
  .hdr-in.is-search .wp-block-search__input{ inline-size: 100%; block-size: 48px; min-block-size: 48px; font-size: var(--wp--preset--font-size--m); background: var(--white); }   /* ≥ 16px: no zoom on iOS */
  .hdr-in.is-search .search-pop{ inset-block-start: calc(100% + 6px); }
  /* the pause-motion switch becomes a 44px icon button (its name stays "עצירת תנועה"; pressed = dark brick, like a chip) */
  .hdr-in .motion{ inline-size: 44px; block-size: 44px; min-inline-size: 44px; padding: 0; gap: 0; justify-content: center; border-radius: 12px; background: transparent; box-shadow: none; }
  .hdr-in .motion .lbl{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hdr-in .motion .sw{ display: none; }
  .hdr-in .motion::before{ content: ""; inline-size: 24px; block-size: 24px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Crect x='8.6' y='7.6' width='2.4' height='8.8' rx='1'/%3E%3Crect x='13' y='7.6' width='2.4' height='8.8' rx='1'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Crect x='8.6' y='7.6' width='2.4' height='8.8' rx='1'/%3E%3Crect x='13' y='7.6' width='2.4' height='8.8' rx='1'/%3E%3C/svg%3E") center / contain no-repeat; }
  .hdr-in .motion:hover{ background: var(--brand-soft); }
  .hdr-in .motion[aria-pressed="true"], html.paused .hdr-in .motion{ background: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 oklch(10% .02 268); }
  .motion .st{ display: none; }
}
@media (max-width: 760px) and (forced-colors: active){
  .hdr-in .motion{ forced-color-adjust: none; color: ButtonText; background: ButtonFace; border: 1px solid ButtonText; }
  .hdr-in .motion[aria-pressed="true"], html.paused .hdr-in .motion{ color: HighlightText; background: Highlight; }
}
@media (max-width: 760px){
  .hdr-in .logo{ --lg-h: 2.25em; --lg-k: .94; }  /* v3 stays ≥ 32px high */
  .hdr-in .wp-block-woocommerce-customer-account{ display: none; }
  .sec-head > *{ min-inline-size: 0; max-inline-size: 100%; }
  .rot button{ inline-size: 44px; block-size: 44px; }
  .search-pop{ min-inline-size: 0; }
  .lede{ font-size: var(--wp--preset--font-size--m); line-height: 1.5; }
  .ibtn .lbl{ display: none; }
  .chips{ flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 4px 4px 8px; scrollbar-width: none; flex: 1 1 100%; min-inline-size: 0; max-inline-size: calc(100% + 8px); }
  .fchip{ flex: none; min-block-size: 44px; }
  .sec-head{ margin-block-end: 20px; }
  .shelf{ gap: 10px; }
  .spc-body{ padding: 10px 12px 14px; gap: 5px; }
  .spc-name{ font-size: var(--wp--preset--font-size--m); }
  .spc-tech{ font-size: var(--wp--preset--font-size--xs); }
  .price{ font-size: var(--wp--preset--font-size--l); }
  .spc-foot{ flex-direction: column; align-items: flex-start; gap: 4px; }
  .spc .stock{ text-align: start; font-size: var(--wp--preset--font-size--xs); }
  .spc-fin{ display: none; }
  .spc-sw{ flex-wrap: wrap; gap: 3px; }   /* studs never run under the card edge ("+13" was cut) */
  .spc-sw .stud{ --sz: 14px; }
  .models{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* 1.9.4: "1fr 1fr" let a long card widen the page on phones */
  .mdl{ padding: 6px 6px 12px; }
  .mdl h3{ font-size: var(--wp--preset--font-size--m); }
  .mdl-foot{ flex-direction: column; align-items: stretch; }
  .mdl-foot .btn{ white-space: nowrap; padding-inline: 10px; gap: 6px; font-size: var(--wp--preset--font-size--s); }
  .mdl-foot .btn .pair{ display: none; }
  .mdl .sws{ --sz: 44px; }
  .mdl fieldset legend{ display: none; }
  .mdl fieldset{ flex-wrap: wrap; }
  /* card name links: a 44px tall target without moving the text (inline padding; the lines around are plain text) */
  :is(.mdl h3, .wp-block-geekly-product-strip .ps-name, .pdp-fitline) a{ padding-block: 13px; padding-inline: 7px; margin-inline: -7px; }
  /* breadcrumbs: 44px tall targets (and wider), same line and spacing (negative margins) */
  :is(.crumbs, .wp-block-breadcrumbs) a{ display: inline-flex; align-items: center; min-block-size: 44px; margin-block: -12px; padding-inline: 10px; margin-inline: -10px; }
  .motion{ min-block-size: 44px; }
  /* the accessibility statement's contents list: one 44px row per link */
  .toc li{ margin: 0; }
  .toc li a{ display: inline-flex; align-items: center; min-block-size: 44px; }
  .sticker{ font-size: var(--wp--preset--font-size--xs); padding: 6px 8px; }
  .well{ min-block-size: 0; aspect-ratio: 1 / 1; }
  .steps li:nth-child(2){ margin-inline-start: 12px; } .steps li:nth-child(3){ margin-inline-start: 24px; }
  .wing-copy{ margin: 12px; margin-block-start: 410px; }
  .door{ inset-block: 40px auto; block-size: 340px; inline-size: 220px; }
  .burst{ inline-size: 92px; font-size: var(--wp--preset--font-size--m); right: -40px; top: -26px; }
  .peek{ left: -50px; } .peek svg{ inline-size: 74px; }
  .peek .bubble{ display: none; }
  .pnl{ padding: 0; align-items: end; }
  .pnl-card{ max-block-size: 94svh; border-radius: 24px 24px 0 0; }
  .pnl-view{ min-block-size: 250px; padding: 20px; border-radius: 24px 24px 0 0; }
  .pnl-view .spool{ inline-size: 200px; }
  .pnl-tip{ display: none; }
  .pnl-info{ padding: 22px 18px 24px; gap: 14px; }
  .sheet{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pnl-sw .sws{ --sz: 44px; }
  /* footer on phones (1.3.2): two balanced columns of one-line links; an odd last group spans both columns with its
     links in two columns; smaller gaps. Every link stays a 44px target. */
  .ftr, .wp-site-blocks > footer.wp-block-template-part{ margin-block: 22px 18px; }
  .ftr-plate{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 12px; padding: 22px 14px 20px; }
  .ftr-plate .about{ grid-column: 1 / -1; }
  .ftr-plate .about p{ margin-block-start: 8px; }
  .ftr-plate .about p:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--s); line-height: 1.5; }
  .ftr-plate :is(h2, h3){ margin-block-end: 2px; }
  .ftr-plate ul{ gap: 0; }
  .ftr-plate ul a{ min-block-size: 44px; min-inline-size: 44px; white-space: nowrap; line-height: 1.2; }
  .ftr-plate ul:where(:not([class*="-font-size"])) a{ font-size: var(--wp--preset--font-size--s); }
  .ftr-plate > .ftr-col:nth-last-child(1 of .ftr-col):nth-child(odd of .ftr-col){ grid-column: 1 / -1; }
  .ftr-plate > .ftr-col:nth-last-child(1 of .ftr-col):nth-child(odd of .ftr-col) ul{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  .ftr-plate .ftr-base{ gap: 2px 12px; padding-block-start: 12px; }
  .post-tiles{ grid-template-columns: minmax(0, 1fr); }
  .choices .opts{ --cols: 1; }
  .cat-head{ grid-template-columns: minmax(0, 1fr); }
  .cat-head .bit-guide{ display: none; }
  .cat-stats li{ padding: 6px 10px 8px; font-size: var(--wp--preset--font-size--xs); }
  .cat-stats b{ font-size: var(--wp--preset--font-size--l); }
  .pdp-stage{ min-block-size: 0; aspect-ratio: 1 / .92; }
  .pdp-info{ padding: 20px 16px 24px; gap: 14px; }
  .pdp .buy .price{ font-size: var(--wp--preset--font-size--xl); }
  .pdp .buy .btn{ min-inline-size: 0; flex-basis: 100%; }
  .pdp-sec > .plate{ padding: 20px 16px; }
  .empty{ grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 20px; text-align: start; }
  .empty .bit{ --bit: 72px; }
  .jump ol{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
  .jump a{ flex: none; min-block-size: 44px; }
  .head-row .bit-guide{ --bit: 64px; }
  .page-body, .page-head{ padding: 22px 18px; }
  /* section plates on phones (1.3.2): a 14px side padding, so the cards inside are as wide as the product strip's and
     every section shares one content line (it was 24px: 149px cards under 174px ones, edges jumping) */
  :where(.wp-block-group[class*="is-style-acc-"]){ padding: 24px 14px 26px; }
  .sec > .plate, .plate.sec{ padding: 24px 14px 26px; }
  :where(.wp-block-button__link, .wp-element-button){ min-block-size: 48px; }
  .hdr-in :is(.wc-block-mini-cart__button, .wp-block-navigation__responsive-container-open, .motion){ min-block-size: 44px; min-inline-size: 44px; }
  .hdr-in .logo{ min-block-size: 44px; }
}

/* narrow screens: content tables fit without a scrolling region (keyboard users could not scroll it) */
@media (max-width: 400px){
  .wp-block-table :is(th, td){ overflow-wrap: anywhere; hyphens: auto; }
  body .wp-block-table.doc-table :is(th, td){ padding: 8px 8px !important; }
  .wp-block-table kbd{ white-space: normal; }
}

/* 320px reflow (WCAG 1.4.10): last so it wins over the 760px rules.
   Below 375px the header swaps the wordmark for the "g!" mark. Grids keep two columns (1.3.2: one column of big
   cards doubled the page height); the cards get compact instead. */
@media (max-width: 374px){
  .hdr-in .logo .logo-svg{ display: none; } .hdr-in .logo .mark-svg{ display: block; }
  .hdr{ padding-inline: 8px; }
  .hdr-in{ gap: 4px; padding-inline: 6px 4px; }
  .hdr-tools{ gap: 2px; }
  .hdr-in :is(.wc-block-mini-cart__button, .wp-block-navigation__responsive-container-open){ min-inline-size: 44px; padding-inline: 6px; }
  .hdr-in .logo{ min-inline-size: 44px; justify-content: center; }
  /* section plates: a little tighter still */
  :where(.wp-block-group[class*="is-style-acc-"]){ padding-inline: 12px; }
  .sec > .plate, .plate.sec{ padding-inline: 12px; }
  /* compact filament card (two per row, ≈ 125px wide) */
  .shelf{ gap: 8px; }
  .spc-stage{ aspect-ratio: 4 / 3.2; }
  .spc-mat{ inset-block-start: 7px; inset-inline-start: 7px; padding: 4px 6px 5px; }
  .spc-body{ padding: 8px 9px 12px; gap: 4px; }
  .spc-name{ line-height: 1.15; }
  .spc-tech{ line-height: 1.25; }
  .spc-sw .stud{ --sz: 13px; }
  .price{ font-size: var(--wp--preset--font-size--m); }
  /* compact model card */
  .models{ gap: 8px; }
  .mdl{ padding: 5px 5px 10px; }
  .mdl-body{ padding: 10px 3px 0; gap: 5px; }
  .mdl .sws{ --sz: 44px; }
  .mdl-foot .btn{ padding-inline: 8px; }
  /* footer: the longest link ("הזמנות ובקשות הדפסה") still fits on one line */
  .ftr-plate{ padding-inline: 10px; column-gap: 8px; }
  .ftr-plate > .ftr-col:nth-last-child(1 of .ftr-col):nth-child(odd of .ftr-col) ul{ column-gap: 8px; }
}

/* ---------- 1.7.1 · option chips: options that are not colours ("כמות"), on the model page and on model cards (inc/model-choices.php) ---------- */
.optc{ position: relative; display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 16px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3), inset 0 -3px 0 var(--edge); font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); white-space: nowrap; cursor: pointer; }
.optc input{ position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.optc:has(input:checked){ background: color-mix(in oklab, var(--brand) 26%, var(--white)); box-shadow: inset 0 0 0 2.5px var(--ink), inset 0 -3px 0 var(--edge); }   /* ink ring = state (3:1+ on its own), the tint is extra */
.optc:has(input:focus-visible){ outline: 3px solid var(--ink); outline-offset: 2px; }
.optc.out span{ text-decoration: line-through; }
.mdl-opts{ border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.mdl-opts .optc{ min-block-size: 36px; padding-inline: 10px; margin: 0 0 6px 6px; border-radius: 10px; font-size: var(--wp--preset--font-size--xs); }

/* 1.7.15: compact footer (owner, 2026-11-09: "כמעט 80 אחוז פחות רווח"): logo + one line, all links in wrapping rows,
   the column titles kept for screen readers only, one base line. */
.ftr-plate{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 14px clamp(16px, 3vw, 32px) 10px; }
.ftr-plate .about{ flex: 1 1 100%; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ftr-plate .logo{ --lg-h: 1.9em; }
.ftr-plate .about p{ margin: 0; max-inline-size: none; }
.ftr-plate .about p:where(:not([class*="-font-size"])){ font-size: var(--wp--preset--font-size--s); }
.ftr-plate .ftr-col{ flex: 0 1 auto; grid-column: auto !important; }
.ftr-plate .ftr-col :is(h2, h3){ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.ftr-plate .ftr-col ul{ display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 0 16px; }
.ftr-plate .ftr-col ul a{ min-block-size: 30px; min-inline-size: 0; }
.ftr-plate .ftr-col ul:where(:not([class*="-font-size"])) a{ font-size: var(--wp--preset--font-size--s); }
.ftr-plate .ftr-base{ flex: 1 1 100%; padding-block-start: 8px; gap: 4px 14px; align-items: center; }
@media (max-width: 640px){
  .ftr-plate{ gap: 2px 14px; padding: 12px 14px 10px; }
  .ftr-plate .ftr-col ul{ gap: 0 14px; }
  .ftr-plate .ftr-col ul a{ min-block-size: 36px; }
}

/* 1.7.15: filament colour picker from the colours' own photos (blocks/filament-configurator); the gallery thumbnails go */
.pdp:has(.pdp-sw.photo) .gx-thumbs{ display: none; }
.pdp-sw .pht-row{ display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.sws.pht{ inline-size: auto; block-size: auto; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 4px 6px; background: var(--white, #fff); border: 1.5px solid var(--line); }
.sws.pht::before{ border-radius: 12px; }
.sws.pht img{ inline-size: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.sws.pht > i{ inline-size: 56px; block-size: 56px; border-radius: 8px; }
.sws.pht .pht-n{ font: 600 var(--wp--preset--font-size--xs)/1.2 var(--wp--preset--font-family--display); text-align: center; color: var(--ink-2); }
.sws.pht .pht-out{ font: 700 11px/1.2 var(--wp--preset--font-family--display); color: #a3261c; }
.sws.pht .pht-out[hidden]{ display: none; }
.sws.pht.out img{ opacity: .55; filter: grayscale(.4); }
.sws.pht.out i::after{ display: none; }
.sws.pht:has(input:checked) i, .sws.pht:hover i{ transform: none; }
@media (max-width: 640px){ .pdp-sw .pht-row{ grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; } }

/* =================== 1.7.19 HEADER: account button, menu drawer (inc/header-drawer.php) =================== */
.gk-ib, :root .hdr-in .wc-block-mini-cart__button{ display: inline-grid; }
.gk-ib, :root .hdr-in .hdr-sbtn, :root .hdr-in .wc-block-mini-cart__button{ position: relative; place-items: center; justify-content: center; align-items: center; inline-size: 44px; block-size: 44px; min-inline-size: 44px; padding: 0;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: -3px 3px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s, background .2s; }
.gk-ib:hover, :root .hdr-in .hdr-sbtn:hover, :root .hdr-in .wc-block-mini-cart__button:hover{ background: var(--brand-soft); box-shadow: -4px 4px 0 var(--ink); transform: translate(1px, -1px); }
.gk-ib:active, :root .hdr-in .hdr-sbtn:active, :root .hdr-in .wc-block-mini-cart__button:active{ transform: translate(-2px, 2px); box-shadow: -1px 1px 0 var(--ink); }
.gk-ib svg{ inline-size: 22px; block-size: 22px; }
:root .hdr-in .wc-block-mini-cart__button .wc-block-mini-cart__quantity-badge{ display: grid; place-items: center; }
:root .hdr-in .wc-block-mini-cart__button .wc-block-mini-cart__badge{ position: absolute !important; inset-block-start: -9px; inset-inline-end: -9px; min-inline-size: 21px; block-size: 21px; font-size: 11px;
  border: 2px solid var(--ink) !important; background: oklch(80% .1 350) !important; color: var(--ink) !important; }
.gk-lbl{ display: none; }
.gk-menu-btn{ display: none; background: var(--brand); }
.gk-menu-btn:hover{ background: var(--brand); }

/* account button + panel */
.gk-acct{ position: relative; }
.gk-acct.is-in .gk-acct-btn::after{ content: ""; position: absolute; inset-block-end: -5px; inset-inline-start: -5px; inline-size: 11px; block-size: 11px; border-radius: 50%; background: oklch(70% .15 150); border: 2px solid var(--ink); }
.gk-acct.open .gk-acct-btn{ background: var(--brand-soft); }
.gk-acct-pop{ position: absolute; z-index: 70; inset-block-start: calc(100% + 12px); inset-inline-end: -8px; inline-size: 270px; padding: 14px; border-radius: 16px; background: var(--white);
  border: 2px solid var(--ink); box-shadow: -5px 5px 0 var(--ink); animation: gkPop .18s ease-out; }
.gk-acct-pop[hidden]{ display: none; }
@keyframes gkPop{ from{ opacity: 0; translate: 0 -6px; } }
.gk-acct-pop::before{ content: ""; position: absolute; inset-block-start: -9px; inset-inline-end: 22px; inline-size: 14px; block-size: 14px; background: var(--white); border-block-start: 2px solid var(--ink); border-inline-end: 2px solid var(--ink); rotate: -45deg; }
.gk-hi{ display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 var(--wp--preset--font-size--m)/1.2 var(--wp--preset--font-family--display); color: var(--ink); }
.gk-hi small{ display: block; margin-block-start: 2px; font: 400 var(--wp--preset--font-size--xs)/1.35 var(--wp--preset--font-family--display); color: var(--ink-2); }
.gk-av{ flex: none; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 12px; border: 2px solid var(--ink); background: var(--brand-soft); font: 800 17px var(--wp--preset--font-family--display); }
.gk-av svg{ inline-size: 22px; }
.gk-pb{ display: flex; align-items: center; justify-content: center; inline-size: 100%; min-block-size: 44px; margin-block-start: 8px; border-radius: 12px; border: 2px solid var(--ink); box-shadow: -3px 3px 0 var(--ink);
  background: var(--brand); color: var(--ink); text-decoration: none; font: 700 var(--wp--preset--font-size--s)/1 var(--wp--preset--font-family--display); }
.gk-pb.ghost{ background: var(--white); }
.gk-pb.out{ color: var(--out); }
.gk-pb:hover{ color: var(--ink); filter: brightness(.97); }
.gk-acct-links{ list-style: none; margin: 0; padding: 0; border-block-start: 1.5px dashed var(--line); }
.gk-acct-links a{ display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-block-end: 1.5px dashed var(--line); color: var(--ink); text-decoration: none; font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.gk-acct-links a:hover{ background: var(--brand-soft); }
.gk-acct-links li:last-child a{ border: 0; }
.gk-acct-links a svg{ inline-size: 18px; block-size: 18px; color: var(--ink-2); }
.gk-acct-links a.out, .gk-acct-links a.out svg{ color: var(--out); }

/* the drawer */
.gk-dbg{ position: fixed; inset: 0; z-index: 99990; background: oklch(20% .03 260 / .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.gk-drawer{ position: fixed; z-index: 99991; inset-block: 0; inset-inline-start: 0; inline-size: min(88vw, 400px); display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 28px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-inline-end: 2.5px solid var(--ink); translate: 100% 0; transition: translate .32s cubic-bezier(.2,.8,.2,1); }
:dir(ltr) .gk-drawer{ translate: -100% 0; }
.gk-dbg[hidden], .gk-drawer[hidden]{ display: none; }
html.gk-dopen{ overflow: hidden; }
html.gk-dopen .gk-drawer{ translate: 0 0; }
html.gk-dopen .gk-dbg{ opacity: 1; }
.gk-dtop{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gk-dme{ padding: 12px; border-radius: 16px; background: var(--white); border: 2px solid var(--ink); box-shadow: -4px 4px 0 var(--ink); }
.gk-dme .row{ display: flex; gap: 8px; } .gk-dme .gk-pb{ flex: 1; }
.gk-dh{ margin: 4px 2px -6px; font: 800 var(--wp--preset--font-size--xs)/1 var(--wp--preset--font-family--display); letter-spacing: .04em; color: var(--ink-2); }
.gk-dcards{ display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.gk-dcard{ display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--ink); box-shadow: -4px 4px 0 var(--ink); background: var(--c);
  color: var(--ink); text-decoration: none; opacity: 0; translate: 24px 0; }
:dir(ltr) .gk-dcard{ translate: -24px 0; }
html.gk-dopen .gk-dcard{ opacity: 1; translate: 0 0; transition: translate .42s cubic-bezier(.2,.9,.3,1.3) var(--d), opacity .3s var(--d), box-shadow .12s, transform .12s; }
.gk-dcard:hover{ color: var(--ink); box-shadow: -5px 5px 0 var(--ink); }
.gk-dcard:active{ transform: translate(-2px, 2px); box-shadow: -2px 2px 0 var(--ink); }
.gk-dcard .ic{ flex: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; overflow: hidden; border-radius: 12px; background: var(--white); border: 2px solid var(--ink); }
.gk-dcard .ic img{ inline-size: 40px; block-size: 40px; object-fit: contain; }
.gk-dcard.is-fil .ic img{ inline-size: 100%; block-size: 100%; object-fit: cover; }
.gk-dcard .ic svg{ inline-size: 24px; block-size: 24px; }
.gk-dcard b{ display: block; font: 800 var(--wp--preset--font-size--l)/1.15 var(--wp--preset--font-family--display); }
.gk-dcard small{ display: block; margin-block-start: 3px; font: 500 var(--wp--preset--font-size--xs)/1.3 var(--wp--preset--font-family--display); color: var(--ink-2); }
.gk-dcard .go{ margin-inline-start: auto; font: 800 22px/1 var(--wp--preset--font-family--display); }
.gk-dinfo{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gk-dinfo li:last-child:nth-child(odd){ grid-column: 1 / -1; }
.gk-dinfo a{ display: flex; align-items: center; gap: 8px; min-block-size: 44px; padding: 8px 12px; border-radius: 12px; background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font: 600 var(--wp--preset--font-size--s) var(--wp--preset--font-family--display); }
.gk-dinfo a:hover{ background: var(--brand-soft); }
.gk-dinfo a svg{ flex: none; inline-size: 18px; block-size: 18px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce){ .gk-drawer, .gk-dbg, .gk-dcard, html.gk-dopen .gk-dcard{ transition: none; } }
html.paused .gk-drawer, html.paused .gk-dcard, html.paused.gk-dopen .gk-dcard{ transition: none; }

/* where the navigation collapses: our menu button replaces core's; button + logo at the start, tools at the end */
@media (max-width: 1280px){
  .geekly-lab .hdr-in > .wp-block-navigation{ display: none !important; }
  .geekly-lab .hdr-in > .gk-menu-btn{ display: inline-grid; order: -2; }
  .geekly-lab .hdr-in > .wp-block-geekly-logo{ order: -1; margin: 0; }
  .geekly-lab .hdr-in > .hdr-tools{ margin-inline-start: auto; }
}
@media (max-width: 760px){
  .hdr-in{ padding-block-end: 14px; }
  .gk-ib, :root .hdr-in .hdr-sbtn, :root .hdr-in .wc-block-mini-cart__button{ inline-size: 40px; block-size: 40px; min-inline-size: 40px; min-block-size: 40px; box-shadow: -2px 2px 0 var(--ink); }
  .gk-ib svg, :root .hdr-in .hdr-sbtn svg{ inline-size: 20px; block-size: 20px; }
  .hdr-tools{ gap: 7px; }
  .gk-lbl, :root .hdr-in .hdr-sbtn::after, :root .hdr-in .wc-block-mini-cart__button::after{ display: block; position: absolute; inset-block-start: calc(100% + 3px); inset-inline: -8px; text-align: center;
    font: 700 10px/1 var(--wp--preset--font-family--display); color: var(--ink-2); white-space: nowrap; pointer-events: none; }
  :root .hdr-in .hdr-sbtn::after{ content: "חיפוש"; }
  :root .hdr-in .wc-block-mini-cart__button::after{ content: "עגלה"; }
  .gk-acct-pop{ position: fixed; inset-inline: 12px; inset-block-start: 76px; inline-size: auto; }
  .gk-acct-pop::before{ display: none; }
}
body.admin-bar .gk-drawer{ inset-block-start: var(--wp-admin--admin-bar--height, 0px); }
