/* GENERATED by redesign-taste/v4/tools/sync-theme-css.mjs from redesign-taste/v4/canvas/system/system.css - do not edit here, edit the source and run the tool. */
@font-face{font-family:'DBJ Copperplate';src:url(fonts/DBJCopperplate-32AB-pl.woff) format('woff');font-weight:400;font-style:normal;font-display:swap}
/* @google-fonts family=Marcellus&family=Space+Grotesk:wght@400;500;600&family=JetBrains+Mono:wght@400;500 */
/* DBIJOU v4 - the shared stylesheet of the whole site (tokens, grounds, base, type, layout, components, chrome).
   Page root is .pg (in the theme: <body class="pg">). Breakpoints: phone max-width 640px, tablet max-width 1024px.
   Tokens that change with width are fluid (clamp); :root is never redefined inside a media query.
   Order: 1 tokens, 2 grounds, 3 base, 4 type, 5 actions, 6 layout, 7 content components, 8 forms,
   9 shop and navigation components, 10 messages, 11 chrome, 12 tablet, 13 phone, 14 motion preference,
   15 shared components (promoted from the page boards; the section carries its own tablet and phone blocks),
   16 document shell (theme only).
   In the theme this file ships as assets/v4/dbj.css (node redesign-taste/v4/tools/sync-theme-css.mjs). */

/* ------------------------------------------------------------------ 1. tokens */
/* Metric-matched fallbacks (measured in Chromium against the web fonts, theme/_wp/fix-font-metrics.mjs): text set in the
   local face takes the room the web font will take, so the swap moves nothing (QA P-6, CLS on FAQ and product). */
@font-face{font-family:'Marcellus fallback';src:local('Georgia');size-adjust:101.1%;ascent-override:95.9%;descent-override:27.7%;line-gap-override:0%}
@font-face{font-family:'Space Grotesk fallback';src:local('Arial'),local('ArialMT');size-adjust:106.5%;ascent-override:92%;descent-override:27.2%;line-gap-override:0%}
:root{
  /* colour - brand constants and their tone steps */
  --ink:#0c0b0a;
  --ink-2:#161412;
  --ink-3:#24211d;
  --cream:#f5efe7;
  --cream-2:#ece2d4;
  --cream-3:#e2d6c4;
  --gold:#b89968;
  --gold-hi:#c9ad80;
  --gold-soft:#d4bc92;
  --film:#000;
  --white:#fff;
  --ok:#4d6a41;
  --ok-soft:#a9c49b;
  --err:#a4442d;
  --err-soft:#e39b86;
  --scrim:rgba(12,11,10,.62);          /* the one dimming colour under drawers, sheets and dialogs */

  /* type families */
  --ff-display:'Marcellus','Marcellus fallback',Georgia,'Times New Roman',serif;
  --ff-text:'Space Grotesk','Space Grotesk fallback',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ff-mono:'JetBrains Mono',ui-monospace,'Courier New',monospace;
  --ff-mark:'DBJ Copperplate','Copperplate Gothic Light',serif;

  /* type scale (role: phone .. desktop) */
  --fs-hero:clamp(52px,14vw,216px);    /* home statement only */
  --fs-h1:clamp(40px,7.2vw,104px);     /* page title */
  --fs-h2:clamp(40px,5.4vw,78px);      /* section heading, two lines at most */
  --fs-h3:clamp(28px,3.2vw,44px);      /* card title, menu link, step numeral */
  --fs-h4:clamp(22px,1.95vw,28px);     /* quote, step title, contact value */
  --fs-fact:clamp(24px,2.5vw,36px);    /* fact value */
  --fs-lead:clamp(17px,1.4vw,20px);    /* lead, caption name, input */
  --fs-body:clamp(16px,1.2vw,17px);
  --fs-ui:15px;                        /* links, navigation, controls */
  --fs-small:14px;                     /* captions, hints, meta */
  --fs-btn:13px;                       /* button capitals */
  --fs-label:12px;                     /* label and legal: the floor */

  /* spacing scale (4 px base) */
  --sp-1:4px;
  --sp-2:8px;
  --sp-3:12px;
  --sp-4:16px;
  --sp-5:24px;
  --sp-6:32px;
  --sp-7:48px;
  --sp-8:64px;
  --sp-9:96px;
  --sp-10:128px;

  /* layout */
  --gutter:clamp(20px,5.56vw,80px);    /* page edge */
  --gap:clamp(12px,1.67vw,24px);       /* grid gap */
  --sec-y:clamp(64px,8.9vw,128px);     /* section padding */
  --block-y:clamp(40px,4.45vw,64px);   /* between blocks inside a section */
  --pad:clamp(24px,3.3vw,48px);        /* panel and card padding */
  --wrap-max:1680px;
  --measure:62ch;

  /* controls */
  --h-btn:52px;                        /* the one control height: buttons and form fields */
  --h-input:var(--h-btn);              /* fields follow the button, never a second height */
  --h-hdr:clamp(64px,calc(56px + 2.1vw),80px);
  --tap:44px;
  --radius:0;

  /* motion: two easings, three durations */
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-inout:cubic-bezier(.65,0,.35,1);
  --dur-1:120ms;
  --dur-2:240ms;
  --dur-3:480ms;

  /* z layers */
  --z-base:1;
  --z-raise:2;
  --z-header:100;
  --z-banner:150;
  --z-sheet:200;
  --z-toast:300;
}

/* ------------------------------------------------------------------ 2. grounds
   A ground sets the role colours its children read. Components never name ink or cream directly.
   Header, toast and consent banner are always ink, wherever they sit. */
.pg,
.g-ink,
.g-ink-2,
.hdr,
.toast,
.consent{
  --bg:var(--ink);
  --fg:var(--cream);
  --fg-2:rgba(245,239,231,.74);
  --fg-3:rgba(245,239,231,.52);
  --line:rgba(245,239,231,.16);
  --tone:var(--ink-2);
  --accent:var(--gold-soft);
  --ok-fg:var(--ok-soft);
  --err-fg:var(--err-soft);
}
.g-ink-2,
.toast,
.consent{--bg:var(--ink-2);--tone:var(--ink-3)}
.g-cream,
.g-cream-2{
  --bg:var(--cream);
  --fg:var(--ink);
  --fg-2:rgba(12,11,10,.74);
  --fg-3:rgba(12,11,10,.62);
  --line:rgba(12,11,10,.14);
  --tone:var(--cream-2);
  --accent:var(--gold);
  --ok-fg:var(--ok);
  --err-fg:var(--err);
}
.g-cream-2{--bg:var(--cream-2);--tone:var(--cream-3)}
.g-ink,
.g-ink-2,
.g-cream,
.g-cream-2{background:var(--bg);color:var(--fg)}

/* ------------------------------------------------------------------ 3. base */
.pg{
  position:relative;
  background:var(--ink);
  color:var(--cream);
  font-family:var(--ff-text);
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-text-size-adjust:100%;
  text-rendering:optimizeLegibility;
}
.pg *,
.pg *::before,
.pg *::after{box-sizing:border-box}
.pg :where(h1,h2,h3,h4,p,figure,blockquote,ul,ol,dl,dd,fieldset){margin:0}
.pg :where(h1,h2,h3,h4){font-weight:400}
.pg :where(ul,ol){list-style:none;padding:0}
.pg :where(fieldset){min-width:0;padding:0;border:0}
.pg :where(a){color:inherit;text-decoration:none}
.pg :where(img,svg){display:block;max-width:100%}
.pg :where(button){font:inherit;color:inherit;background:none;border:0;padding:0;border-radius:0;cursor:pointer}
.pg :where(input,select,textarea){font:inherit;color:inherit;border-radius:0}
.pg :focus-visible{outline:2px solid var(--fg);outline-offset:3px}
.pg ::selection{background:var(--gold);color:var(--ink)}
/* Anchored sections stop below the sticky header. */
.pg :where(section[id],div[id]){scroll-margin-top:var(--h-hdr)}
/* The hidden attribute always wins over a component's display (notices, form parts and states toggled by scripts). */
.pg [hidden]{display:none !important}

/* Visually hidden text and the skip link. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:var(--gutter);top:-80px;z-index:var(--z-toast);display:inline-flex;align-items:center;height:var(--tap);padding:0 var(--sp-4);background:var(--cream);color:var(--ink);font-size:var(--fs-small);font-weight:500}
.skip:focus{top:var(--sp-2)}

/* ------------------------------------------------------------------ 4. type roles */
.t-hero,
.t-h1,
.t-h2,
.t-h3,
.t-h4{font-family:var(--ff-display);font-weight:400;text-wrap:balance}
.t-hero{font-size:var(--fs-hero);line-height:.84;letter-spacing:-.04em}
.t-h1{font-size:var(--fs-h1);line-height:.94;letter-spacing:-.03em}
.t-h2{font-size:var(--fs-h2);line-height:1;letter-spacing:-.025em}
.t-h3{font-size:var(--fs-h3);line-height:1.06;letter-spacing:-.02em}
.t-h4{font-size:var(--fs-h4);line-height:1.3;letter-spacing:-.005em}
.t-lead{font-size:var(--fs-lead);line-height:1.55;color:var(--fg-2);max-width:var(--measure)}
.t-body{font-size:var(--fs-body);line-height:1.6;color:var(--fg-2);max-width:var(--measure)}
.t-small{font-size:var(--fs-small);line-height:1.5;color:var(--fg-2)}
.t-legal{font-size:var(--fs-label);line-height:1.5;color:var(--fg-2)}
.num{font-variant-numeric:tabular-nums lining-nums}

/* Accent device: Marcellus has no italic, so the one accent word is slanted on purpose.
   Once per page, on ink, on the display statement only. Never on text sizes, never on cream. */
.acc{display:inline-block;transform:skewX(-12deg);transform-origin:50% 100%;color:var(--accent);padding-right:.03em}

/* The one label style: mono capitals, 12 px, at most one per section group. */
.lbl{font-family:var(--ff-mono);font-size:var(--fs-label);font-weight:500;line-height:1.4;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-2)}

/* Small inline stroke icons (arrow, cart, menu, close, check). */
.ico{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:square;stroke-linejoin:miter}

/* Plus / minus mark of every folding row (steps on the phone, accordion). */
.pm{position:relative;flex:none;width:14px;height:14px}
.pm::before,
.pm::after{content:"";position:absolute;left:0;top:50%;width:14px;height:1.5px;margin-top:-.75px;background:currentColor;transition:transform var(--dur-2) var(--ease-out)}
.pm::after{transform:rotate(90deg)}
.fold.is-open .fold__hd .pm::after,
.step.is-open .step__hd .pm::after{transform:rotate(0deg)}

/* ------------------------------------------------------------------ 5. actions */
/* Button: one height, tracked capitals, one arrow icon. Primary = gold fill (the single main action of a screen), secondary = outline. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-3);
  height:var(--h-btn);padding:0 28px;border:1px solid transparent;
  font-family:var(--ff-text);font-size:var(--fs-btn);font-weight:600;line-height:1;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
  cursor:pointer;
  transition:background-color var(--dur-2) var(--ease-out),color var(--dur-2) var(--ease-out),border-color var(--dur-2) var(--ease-out),transform var(--dur-1) var(--ease-out);
}
.btn .ico{width:18px;height:18px;transition:transform var(--dur-2) var(--ease-out)}
.btn:hover .ico,
.btn.is-hover .ico{transform:translateX(4px)}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--gold);color:var(--ink)}
.btn--primary:hover,
.btn--primary.is-hover{background:var(--gold-hi)}
.btn--secondary{border-color:var(--fg);color:var(--fg)}
.btn--secondary:hover,
.btn--secondary.is-hover{background:var(--fg);color:var(--bg)}
.btn.is-focus{outline:2px solid var(--fg);outline-offset:3px}
/* Exit link of the app shells (the Lab now; /projekt .kfg-top__close and the wedding-band bar look the same): one look
   for "Wróć na stronę" in every configurator (owner 2026-11-26: one coherent look). */
.app-exit{display:inline-flex;align-items:center;min-height:var(--tap);margin-left:var(--sp-2);font-size:var(--fs-ui);font-weight:500;line-height:1.2;white-space:nowrap;color:var(--fg);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px;text-decoration-color:var(--fg-3);transition:text-decoration-color var(--dur-2) var(--ease-out)}
.app-exit:hover{text-decoration-color:var(--fg)}
.btn--block{display:flex;width:100%}
/* Button states: disabled, loading (a thin running line, no pulse), done. */
.btn[disabled],
.btn.is-disabled{opacity:.4;pointer-events:none}
.btn.is-loading{position:relative;overflow:hidden;pointer-events:none}
.btn.is-loading::after{content:"";position:absolute;left:0;bottom:0;width:40%;height:2px;background:currentColor;animation:btn-load var(--dur-3) var(--ease-inout) infinite alternate}
.btn.is-done{background:transparent;border-color:var(--fg-3);color:var(--fg);pointer-events:none}
.btn.is-done .ico{transform:none}
@keyframes btn-load{
  from{transform:translateX(0)}
  to{transform:translateX(150%)}
}

/* Text link: the third action level. Underlined, 44 px tall row. --inline sits inside running text
   (the only link without its own 44 px box: a sentence cannot grow around it). */
.lnk{
  display:inline-flex;align-items:center;gap:var(--sp-2);min-height:var(--tap);
  font-size:var(--fs-ui);font-weight:500;line-height:1.2;color:var(--fg);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px;text-decoration-color:var(--fg-3);
  transition:text-decoration-color var(--dur-2) var(--ease-out);
}
.lnk:hover,
.lnk.is-hover{text-decoration-color:var(--fg)}
.lnk.is-focus{outline:2px solid var(--fg);outline-offset:3px}
.lnk .ico{width:18px;height:18px;transition:transform var(--dur-2) var(--ease-out)}
.lnk:hover .ico,
.lnk.is-hover .ico{transform:translateX(4px)}
.lnk--inline{display:inline;min-height:0;font-size:inherit;font-weight:inherit;line-height:inherit;text-underline-offset:4px}

/* ------------------------------------------------------------------ 6. layout */
/* Section, wrapper, 12-column grid. */
.sec{position:relative;padding-block:var(--sec-y)}
.wrap{width:100%;max-width:var(--wrap-max);margin-inline:auto;padding-inline:var(--gutter)}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
/* Split: two halves. The right half starts on the 7th of 12 columns: the one right-column edge of the site. */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gap);row-gap:var(--block-y)}
/* Section head: heading in the left half, lead or link in the right half, at most one label above. */
.sec__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gap);row-gap:var(--sp-5);align-items:end;margin-bottom:var(--block-y)}
.sec__head .lbl{grid-column:1 / -1}
.sec__aside{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-3)}
/* Panel: a block one tone step away from its ground (or with its own ground class). No border. */
.panel{padding:var(--pad)}
.panel:not([class*="g-"]){background:var(--tone)}

/* ------------------------------------------------------------------ 7. content components */
/* Figure: a piece on the film black. The poster (later the film) is centred on its focal point and may be zoomed
   inside the box: --fig-zoom is relative to the box width, --fig-max caps the picture at its honest size. */
.fig{position:relative}
.fig__media{position:relative;overflow:hidden;background:var(--film);aspect-ratio:4 / 5;--fig-zoom:100%;--fig-max:540px;--fig-x:50%;--fig-y:54%}
.fig__media img,
.fig__media video{
  position:absolute;left:50%;top:50%;
  width:min(var(--fig-zoom),var(--fig-max));max-width:none;height:auto;
  transform:translate(calc(var(--fig-x) * -1),calc(var(--fig-y) * -1));
}
/* A film lies over its poster in the same box (img first, then video): it stays square until its own size is known. */
.fig__media video{aspect-ratio:1}
.fig--wide .fig__media{aspect-ratio:16 / 9;--fig-max:640px}
/* Unboxed on an ink ground: the film black takes the page ink (lighten) and the box edge is feathered, no frame. */
.fig--bare{mix-blend-mode:lighten}
.fig--bare .fig__media{
  background:transparent;aspect-ratio:1;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);
  mask-composite:intersect;
}

/* Caption of a piece: a name line and a materials line, sentence case. */
.cap{display:flex;flex-direction:column;gap:var(--sp-1);padding-top:var(--sp-4)}
.cap__name{font-family:var(--ff-display);font-size:var(--fs-lead);line-height:1.25;color:var(--fg)}
.cap__mat{font-size:var(--fs-small);line-height:1.45;color:var(--fg-2)}

/* Card: a titled block with a foot link (feature tile, door, teaser). */
.card{display:flex;flex-direction:column;padding:var(--pad)}
.card__title{margin-top:var(--sp-4)}
.card__text{margin-top:var(--sp-4);font-size:var(--fs-body);line-height:1.6;color:var(--fg-2);max-width:42ch}
.card__foot{margin-top:auto;padding-top:var(--sp-6)}

/* Fact: a plain key over a serif value. --lg puts the value first. */
.facts{display:flex;flex-wrap:wrap;gap:var(--sp-5) var(--sp-7)}
.fact{display:flex;flex-direction:column;gap:var(--sp-2)}
.fact__k{font-size:var(--fs-small);line-height:1.35;color:var(--fg-2)}
.fact__v{font-family:var(--ff-display);font-size:var(--fs-fact);line-height:1;letter-spacing:-.01em;white-space:nowrap;font-variant-numeric:lining-nums}
/* A linked value (rating, phone, e-mail) is a 44 px target; the negative margin keeps the row height of a plain value. */
.fact__v a{display:inline-flex;align-items:center;min-width:var(--tap);min-height:var(--tap);margin-block:min(0px,calc((1em - var(--tap)) / 2));text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:var(--fg-3);transition:text-decoration-color var(--dur-2) var(--ease-out)}
.fact__v a:hover{text-decoration-color:var(--fg)}
.fact--lg{gap:var(--sp-3)}
.fact--lg .fact__v{order:-1;font-size:var(--fs-h3)}
.fact--lg .fact__k{font-size:var(--fs-ui);max-width:24ch}

/* Quote: upright Marcellus, author lines in the text face. */
.quote{display:flex;flex-direction:column;gap:var(--sp-4)}
.quote__txt{font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.3;letter-spacing:-.005em;color:var(--fg);text-wrap:balance}
.quote__by{display:flex;flex-direction:column;gap:2px;margin-top:auto;font-size:var(--fs-small);line-height:1.4}
.quote__name{font-weight:500;color:var(--fg)}
.quote__role{color:var(--fg-2)}

/* Steps: the only numbered component. One Marcellus numeral per step, time line, title, text, one promise line.
   Desktop and tablet: every step open. Phone: folding rows (see 13). */
.steps{display:flex;flex-direction:column;gap:var(--sp-7)}
.step{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:var(--gap);align-items:start}
.step__body{min-width:0}
.step__n{font-family:var(--ff-display);font-size:var(--fs-h3);line-height:1;letter-spacing:-.02em;color:var(--fg-3);font-variant-numeric:lining-nums}
.step__time{font-size:var(--fs-small);font-weight:500;line-height:1.3;color:var(--fg-2)}
.step__t{margin-top:var(--sp-1);font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.2;letter-spacing:-.005em;color:var(--fg)}
.step__hd{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);width:100%;text-align:left;cursor:default;pointer-events:none}
.step__hd .pm{display:none}
.step__desc{margin-top:var(--sp-3);display:flex;flex-direction:column;gap:var(--sp-3);font-size:var(--fs-body);line-height:1.6;color:var(--fg-2);max-width:var(--measure)}
.step__note{font-size:var(--fs-ui);font-weight:500;line-height:1.5;color:var(--fg)}

/* Accordion row (FAQ): folding rows as tone blocks, plus / minus mark, question in the display face. */
.folds{display:flex;flex-direction:column;gap:var(--sp-2)}
.fold{background:var(--tone)}
.fold__hd{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-5);width:100%;min-height:72px;padding:var(--sp-4) var(--sp-5);text-align:left;font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.25;color:var(--fg)}
.fold__body{display:none;padding:0 var(--sp-5) var(--sp-5);font-size:var(--fs-body);line-height:1.6;color:var(--fg-2);max-width:calc(var(--measure) + 48px)}
.fold.is-open .fold__body{display:block}

/* Prose: long-form text pages (regulations, privacy, care guide). */
.prose{max-width:var(--measure);font-size:var(--fs-body);line-height:1.7;color:var(--fg-2)}
.prose > * + *{margin-top:var(--sp-4)}
.prose h2{margin-top:var(--sp-8);font-family:var(--ff-display);font-size:var(--fs-h3);line-height:1.1;letter-spacing:-.02em;color:var(--fg)}
.prose h3{margin-top:var(--sp-7);font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.25;color:var(--fg)}
.prose > :first-child{margin-top:0}
.prose strong{font-weight:600;color:var(--fg)}
.prose a{color:var(--fg);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--fg-3)}
.prose a:hover{text-decoration-color:var(--fg)}
.prose ul,
.prose ol{display:flex;flex-direction:column;gap:var(--sp-2)}
.prose li{position:relative;padding-left:var(--sp-6)}
.prose ul > li::before{content:"";position:absolute;left:var(--sp-1);top:.72em;width:6px;height:6px;background:var(--fg-3)}
.prose ol{counter-reset:prose}
.prose ol > li{counter-increment:prose}
.prose ol > li::before{content:counter(prose) ".";position:absolute;left:0;top:0;font-weight:500;color:var(--fg);font-variant-numeric:tabular-nums}
.prose blockquote{padding:var(--sp-5);background:var(--tone);font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.3;color:var(--fg)}
.prose hr{height:1px;margin-block:var(--sp-7);border:0;background:var(--line)}

/* Table: hairline rows (the one place besides lists where rules are the right tool), numbers right and tabular. */
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tbl{width:100%;border-collapse:collapse;text-align:left;font-size:var(--fs-ui);line-height:1.45}
.tbl caption{caption-side:top;padding-bottom:var(--sp-3);text-align:left;font-size:var(--fs-small);color:var(--fg-2)}
.tbl th{padding:var(--sp-3) var(--sp-5) var(--sp-3) 0;border-bottom:1px solid var(--fg-3);font-size:var(--fs-small);font-weight:500;color:var(--fg-2);white-space:nowrap}
.tbl td{padding:var(--sp-4) var(--sp-5) var(--sp-4) 0;border-bottom:1px solid var(--line);vertical-align:top;color:var(--fg)}
.tbl th:last-child,
.tbl td:last-child{padding-right:0}
.tbl .tbl__num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums}
.tbl tfoot td{border-bottom:0;font-weight:500}

/* ------------------------------------------------------------------ 8. forms */
/* Field: visible label, boxed control, hint, validation message. */
.field{display:flex;flex-direction:column;gap:var(--sp-2)}
.field__lbl{font-size:var(--fs-small);font-weight:500;line-height:1.3;color:var(--fg)}
.field__opt{font-weight:400;color:var(--fg-2)}
.field__row{display:flex;align-items:stretch;gap:var(--sp-3)}
.field__row > .input{flex:1 1 auto;min-width:0}
.field__hint{font-size:var(--fs-small);line-height:1.5;color:var(--fg-2)}
.field__msg{display:none;align-items:center;gap:var(--sp-2);font-size:var(--fs-small);font-weight:500;line-height:1.4}
.field__msg::before{content:"";flex:none;width:8px;height:8px;background:currentColor}
/* Text input, select, textarea: a box as tall as the button (52 px), lead-size text (17 px and more: no zoom on iOS). */
.input,
.select__el,
.textarea{
  display:block;width:100%;height:var(--h-input);padding:0 var(--sp-4);
  background:transparent;border:1px solid var(--fg-3);
  font-family:var(--ff-text);font-size:var(--fs-lead);line-height:1.3;color:var(--fg);
  transition:border-color var(--dur-2) var(--ease-out);
}
.input::placeholder,
.textarea::placeholder{color:var(--fg-3);opacity:1}
.input:hover,
.select__el:hover,
.textarea:hover,
.input.is-hover{border-color:var(--fg)}
.input:focus-visible,
.select__el:focus-visible,
.textarea:focus-visible,
.input.is-focus{border-color:var(--fg);outline:2px solid var(--fg);outline-offset:2px}
.input[disabled],
.select__el[disabled],
.textarea[disabled]{opacity:.45;pointer-events:none}
.textarea{height:auto;min-height:144px;padding:var(--sp-4);line-height:1.5;resize:vertical}
.select{position:relative;display:block}
.select__el{appearance:none;-webkit-appearance:none;padding-right:var(--sp-8);cursor:pointer}
.select::after{content:"";position:absolute;right:22px;top:50%;width:9px;height:9px;margin-top:-7px;border-right:1.5px solid var(--fg);border-bottom:1.5px solid var(--fg);transform:rotate(45deg);pointer-events:none}
/* Validation states on the field. */
/* .is-invalid is the same state under a name WooCommerce's checkout script never removes (it clears .is-error). */
.field.is-error .input,
.field.is-error .select__el,
.field.is-error .textarea,
.field.is-invalid .input,
.field.is-invalid .select__el,
.field.is-invalid .textarea{border-color:var(--err-fg)}
.field.is-error .field__msg,
.field.is-invalid .field__msg{display:flex;color:var(--err-fg)}
.field.is-ok .input,
.field.is-ok .select__el,
.field.is-ok .textarea{border-color:var(--ok-fg)}
.field.is-ok .field__msg{display:flex;color:var(--ok-fg)}
/* Checkbox and radio: 24 px box in a 44 px row. */
.check{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:var(--sp-3);align-items:start;min-height:var(--tap);padding-block:10px;font-size:var(--fs-ui);line-height:1.6;color:var(--fg);cursor:pointer}
.check__el{appearance:none;-webkit-appearance:none;display:grid;place-content:center;width:24px;height:24px;margin:0;background:transparent;border:1px solid var(--fg-3);cursor:pointer;transition:background-color var(--dur-1) var(--ease-out),border-color var(--dur-1) var(--ease-out)}
.check__el::before{content:"";width:12px;height:12px;background:var(--bg);clip-path:polygon(12% 46%,0 60%,40% 100%,100% 18%,86% 6%,38% 70%);transform:scale(0);transition:transform var(--dur-1) var(--ease-out)}
.check__el:hover{border-color:var(--fg)}
.check__el:checked{background:var(--fg);border-color:var(--fg)}
.check__el:checked::before{transform:scale(1)}
.check__el[type="radio"]{border-radius:50%}
.check__el[type="radio"]::before{width:10px;height:10px;border-radius:50%;clip-path:none}
.check__el[disabled]{opacity:.45;pointer-events:none}
.check.is-error .check__el,
.check.is-invalid .check__el{border-color:var(--err-fg)}

/* ------------------------------------------------------------------ 9. shop and navigation components */
/* Product card: packshot on white (the only white on the site), short name, spec line, price. */
.pcard{display:flex;flex-direction:column}
.pcard__media{display:block;aspect-ratio:1;overflow:hidden;background:var(--white)}
.pcard__media img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-3) var(--ease-out)}
.pcard:hover .pcard__media img{transform:scale(1.03)}
.pcard__body{display:flex;flex-direction:column;gap:var(--sp-1);padding-top:var(--sp-4)}
.pcard__name{font-family:var(--ff-display);font-size:var(--fs-lead);line-height:1.25;color:var(--fg)}
.pcard__spec{font-size:var(--fs-small);line-height:1.45;color:var(--fg-2)}
.pcard .price{margin-top:var(--sp-2)}

/* Price: text face, medium, tabular figures, the ground's text colour. Never gold. */
.price{display:inline-flex;align-items:baseline;gap:var(--sp-2);font-family:var(--ff-text);font-size:var(--fs-body);font-weight:500;line-height:1.3;color:var(--fg);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.price__pre{font-size:var(--fs-small);font-weight:400;color:var(--fg-2)}
.price--lg{font-size:var(--fs-h4)}
.price--ask{font-weight:400;color:var(--fg-2)}

/* Breadcrumbs. */
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--sp-2);font-size:var(--fs-small);line-height:1.3;color:var(--fg-2)}
.crumbs li{display:inline-flex;align-items:center;gap:var(--sp-2);min-height:32px}
/* The separator ends its item, so a wrapped trail never starts a line with "/". */
.crumbs li:not(:last-child)::after{content:"/";color:var(--fg-3)}
.crumbs a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:transparent;transition:text-decoration-color var(--dur-2) var(--ease-out)}
.crumbs a:hover{color:var(--fg);text-decoration-color:var(--fg-3)}
.crumbs [aria-current="page"]{color:var(--fg)}

/* Pill: filter with a count (44 px, pressed = filled). --tag is the small static form. */
.pills{display:flex;flex-wrap:wrap;gap:var(--sp-2)}
.pill{display:inline-flex;align-items:center;gap:var(--sp-2);height:var(--tap);padding:0 var(--sp-4);border:1px solid var(--fg-3);font-size:var(--fs-ui);font-weight:500;line-height:1;color:var(--fg);white-space:nowrap;transition:background-color var(--dur-2) var(--ease-out),color var(--dur-2) var(--ease-out),border-color var(--dur-2) var(--ease-out)}
.pill:hover{border-color:var(--fg)}
.pill__n{font-size:var(--fs-small);font-weight:400;color:var(--fg-2);font-variant-numeric:tabular-nums}
.pill.is-active,
.pill[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.pill.is-active .pill__n,
.pill[aria-pressed="true"] .pill__n{color:inherit;opacity:.7}
.pill--tag{height:28px;padding:0 10px;border-color:var(--line);font-size:var(--fs-small);font-weight:400;color:var(--fg-2);pointer-events:none}

/* Pagination: 44 px squares, the current page filled. */
.pager{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-1)}
.pager__item{display:grid;place-items:center;min-width:var(--tap);height:var(--tap);padding:0 var(--sp-2);font-size:var(--fs-ui);font-weight:500;line-height:1;color:var(--fg-2);font-variant-numeric:tabular-nums;transition:background-color var(--dur-2) var(--ease-out),color var(--dur-2) var(--ease-out)}
.pager__item:hover{background:var(--tone);color:var(--fg)}
.pager__item[aria-current="page"]{background:var(--fg);color:var(--bg)}
.pager__item.is-disabled{opacity:.4;pointer-events:none}
.pager__gap{display:grid;place-items:center;min-width:24px;height:var(--tap);color:var(--fg-3)}

/* ------------------------------------------------------------------ 10. messages */
/* Notice: an inline message in the page flow (cart, checkout, forms). A small square carries the status colour. */
.notice{display:flex;align-items:flex-start;gap:var(--sp-3);padding:var(--sp-4) var(--sp-5);background:var(--tone);font-size:var(--fs-ui);line-height:1.5;color:var(--fg)}
.notice::before{content:"";flex:none;width:8px;height:8px;margin-top:.5em;background:var(--fg-3)}
.notice--ok::before{background:var(--ok-fg)}
.notice--err::before{background:var(--err-fg)}
.notice__txt{flex:1 1 auto;min-width:0}
/* The link keeps its 44 px target; the negative margin stops it from making the message taller than its text line. */
.notice .lnk,
.toast .lnk{min-height:var(--tap);margin-block:calc((1.5em - var(--tap)) / 2);flex:none}
.notice .lnk{margin-left:auto}
/* Toast: the same message floating above the page for a few seconds. */
.toast{position:fixed;left:50%;bottom:var(--sp-5);z-index:var(--z-toast);display:flex;align-items:center;gap:var(--sp-4);width:max-content;max-width:calc(100% - 2 * var(--gutter));min-height:var(--h-btn);padding:var(--sp-3) var(--sp-5);background:var(--bg);color:var(--fg);font-size:var(--fs-ui);line-height:1.4;transform:translateX(-50%);box-shadow:0 0 0 1px var(--line)}
.toast::before{content:"";flex:none;width:8px;height:8px;background:var(--ok-fg)}
.toast--err::before{background:var(--err-fg)}
.toast[hidden]{display:none}
/* Consent banner: fixed to the bottom edge, two equal outline buttons and a settings link. No gold.
   The two buttons share one width at every breakpoint (equal choices); [hidden] takes the banner away after a choice. */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-banner);background:var(--bg);color:var(--fg)}
.consent[hidden]{display:none}
.consent__in{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--sp-7);row-gap:var(--sp-4);align-items:center;max-width:var(--wrap-max);margin-inline:auto;padding:var(--sp-5) var(--gutter)}
.consent__txt{font-size:var(--fs-small);line-height:1.55;color:var(--fg-2);max-width:78ch}
/* Two equal columns for the buttons; the settings link, when printed, takes a third column of its own width. */
.consent__act{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-columns:auto;align-items:center;gap:var(--sp-3)}
.consent__act .lnk{grid-column:3}

/* ------------------------------------------------------------------ 11. chrome */
/* Wordmark: built as in the live header (D + BIJOU + .pl in Copperplate, tagline under it). */
.wm{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px;line-height:1;color:inherit;text-decoration:none}
.wm__n{display:flex;align-items:baseline;font-family:var(--ff-mark);font-weight:400;letter-spacing:0}
.wm__s{font-family:var(--ff-mono);text-transform:uppercase;letter-spacing:.26em;opacity:.75;white-space:nowrap}
.wm-d{display:inline-block;letter-spacing:0;margin-right:.1em}
/* The D of the wordmark, as on production (owner 2026-11-26): every hover / keyboard focus turns it by another 180deg
   and it stays turned (dbj.js part 10 adds to --wm-d-rot, no bounce-back); now and then it spins a full turn by itself
   (site header, Lab, both configurator bars; not the footer) so the gesture is found. */
.wm-d,.kfg-top__wm .d,.kob-top__wm .d{transform-origin:50% 50%;transform:perspective(320px) rotateY(var(--wm-d-rot,0deg));transition:transform var(--wm-d-dur,.55s) cubic-bezier(.4,0,.2,1)}
@media (prefers-reduced-motion:reduce){.wm-d,.kfg-top__wm .d,.kob-top__wm .d{transition:none}}
.wm-rest{letter-spacing:.1em}
.wm-pl{font-size:max(.38em,12px);letter-spacing:.06em;margin-left:.12em;opacity:.9}
.wm--hdr{align-items:center;justify-content:center;min-height:var(--tap);flex:none}
.wm--hdr .wm__n{font-size:clamp(28px,2.4vw,34px)}
.wm--hdr .wm__s{font-size:12px;letter-spacing:.1em}
.wm--ftr .wm__n{font-size:52px}
.wm--ftr .wm__s{font-size:14px;letter-spacing:.28em}

/* Header: sticky ink bar on every page. Four links, the centred wordmark, two links, cart, the action.
   .hdr--quiet shows the action as an outline while another gold action is on screen (one gold action per screen). */
.hdr{position:sticky;top:0;left:0;right:0;z-index:var(--z-header);background:var(--bg);color:var(--fg)}
.hdr__bar{display:flex;align-items:center;gap:clamp(12px,1.7vw,24px);min-height:var(--h-hdr);padding-inline:clamp(20px,calc(13.2vw - 110px),80px)}
.hdr__nav{display:flex;align-items:center;gap:clamp(12px,1.7vw,26px);flex:1 1 0;min-width:max-content}
.hdr__r{display:flex;align-items:center;justify-content:flex-end;gap:clamp(8px,1.1vw,16px);flex:1 1 0;min-width:max-content}
.hdr__r .hdr__nav{flex:0 0 auto;margin-right:clamp(0px,.6vw,8px)}
.hdr__link{display:inline-flex;align-items:center;min-height:var(--tap);font-size:clamp(13px,1.05vw,15px);font-weight:500;line-height:1;white-space:nowrap;color:var(--fg-2);transition:color var(--dur-2) var(--ease-out)}
.hdr__link:hover,
.hdr__link[aria-current="page"]{color:var(--fg)}
.hdr__link[aria-current="page"]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:8px}
.hdr__cta{padding:0 clamp(14px,1.5vw,22px)}
.hdr--quiet .hdr__cta{background:transparent;border-color:var(--fg);color:var(--fg)}
.hdr--quiet .hdr__cta:hover{background:var(--fg);color:var(--bg)}

/* Cart icon with a count. Scoped to the link: WooCommerce's purchase forms carry the class "cart" too. */
a.cart{position:relative;display:inline-grid;place-items:center;width:var(--tap);height:var(--tap);flex:none;color:var(--fg)}
a.cart .ico{width:22px;height:22px}
.cart__n{position:absolute;top:4px;right:0;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:var(--cream);color:var(--ink);font-size:12px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}

/* Menu button (tablet and phone), 44 px. */
.menu-btn{display:none;place-items:center;width:var(--tap);height:var(--tap);flex:none;border:1px solid var(--line);color:var(--fg)}
.menu-btn .ico{width:22px;height:22px}
.menu-btn .ico--close{display:none}

/* Menu sheet: full-screen ink. Links as 64 px serif rows, the gold action and the phone button anchored to the thumb zone. */
.menu{display:none}
.hdr.is-open{position:fixed;inset:0;display:flex;flex-direction:column;z-index:var(--z-sheet);overflow-y:auto}
.hdr.is-open .hdr__bar{flex:none}
.hdr.is-open .hdr__cta{display:none}
.hdr.is-open .menu{display:flex;flex-direction:column;flex:1 1 auto;padding:var(--sp-2) var(--gutter) var(--sp-5)}
.hdr.is-open .menu-btn .ico--open{display:none}
.hdr.is-open .menu-btn .ico--close{display:block}
.menu__list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.menu__link{display:flex;align-items:center;justify-content:space-between;min-height:64px;border-bottom:1px solid var(--line);font-family:var(--ff-display);font-size:var(--fs-h3);line-height:1.1;letter-spacing:-.01em;color:var(--fg)}
.menu__link[aria-current="page"]{color:var(--fg-2)}
.menu__foot{margin-top:auto;padding-top:var(--sp-6);display:flex;flex-direction:column;gap:var(--sp-3)}
.menu__tel{font-size:var(--fs-ui);letter-spacing:.06em;font-variant-numeric:tabular-nums lining-nums}
.menu__note{padding-top:var(--sp-2);font-size:var(--fs-small);line-height:1.5;color:var(--fg-2);text-align:center}

/* Footer: one ink footer on every page. Brand block and four link columns on the 12-column grid. */
.ftr{padding-block:var(--sp-9) var(--sp-6)}
.ftr__top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-7)}
.ftr__brand{grid-column:span 4;display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-5)}
.ftr__col{grid-column:span 2}
.ftr__addr{font-size:var(--fs-ui);line-height:1.6;color:var(--fg-2);font-style:normal}
.ftr__h{margin-bottom:var(--sp-3);font-size:var(--fs-small);font-weight:500;line-height:1.3;color:var(--fg-3)}
.ftr__link{display:flex;align-items:center;min-height:36px;font-size:var(--fs-ui);line-height:1.3;color:var(--fg);transition:color var(--dur-2) var(--ease-out)}
.ftr__link:hover{color:var(--gold-soft)}
.ftr__bot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--sp-2) var(--sp-6);margin-top:var(--sp-9);padding-top:var(--sp-5);border-top:1px solid var(--line);font-size:var(--fs-label);line-height:1.5;color:var(--fg-2)}

/* ------------------------------------------------------------------ 12. tablet */
@media (max-width:1024px){
  .split{grid-template-columns:minmax(0,1fr)}
  .sec__head{grid-template-columns:minmax(0,1fr);align-items:start}

  .hdr__bar{padding-inline:var(--gutter);gap:var(--sp-3)}
  .hdr__nav{display:none}
  .hdr__r{flex:1 1 auto;min-width:0}
  .wm--hdr{align-items:flex-start}
  .wm--hdr .wm__n{font-size:30px}
  .wm--hdr .wm__s{display:none}
  .menu-btn{display:inline-grid}

  .consent__in{grid-template-columns:minmax(0,1fr)}

  /* Touch widths: every link is a 44 px target; a wrapped trail keeps a compact line pitch (the targets overlap the gap). */
  .crumbs ol{row-gap:0}
  .crumbs li{min-height:32px}
  .crumbs a{display:inline-flex;align-items:center;min-height:var(--tap);padding-inline:var(--sp-1);margin-inline:calc(var(--sp-1) * -1);margin-block:-6px}
  .ftr__link{min-height:var(--tap)}

  .ftr__brand{grid-column:1 / -1}
  .ftr__col{grid-column:span 3}
  .ftr__col:nth-child(2){grid-column:span 4}
  .ftr__col:nth-child(3){grid-column:span 2}
}

/* ------------------------------------------------------------------ 13. phone */
@media (max-width:640px){
  .btn{padding:0 var(--sp-5)}
  .field__row{flex-direction:column}

  /* Steps fold on the phone: tone blocks, the title row is the 44 px and taller button. */
  .steps{gap:var(--sp-2)}
  .step{grid-template-columns:40px minmax(0,1fr);column-gap:var(--sp-2);padding:var(--sp-4);background:var(--tone)}
  .step__n{font-size:var(--fs-h4);line-height:1.2;padding-top:20px}
  .step__t{margin-top:0}
  .step__hd{min-height:var(--tap);cursor:pointer;pointer-events:auto}
  .step__hd .pm{display:block}
  .step:not(.is-open) .step__desc{display:none}
  .step__desc{margin-top:var(--sp-2);padding-bottom:var(--sp-2)}

  .fold__hd{min-height:64px;padding:var(--sp-3) var(--sp-4)}
  .fold__body{padding:0 var(--sp-4) var(--sp-4)}

  .tbl{font-size:var(--fs-small)}
  .tbl th,
  .tbl td{padding-right:var(--sp-4)}

  .toast{left:var(--gutter);right:var(--gutter);width:auto;max-width:none;transform:none}
  .consent__act{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .consent__act .btn{padding-inline:var(--sp-3)}
  .consent__act .lnk{grid-column:1 / -1;justify-content:center}

  .hdr__cta{display:none}
  .hdr__r{gap:var(--sp-2)}
  .wm--hdr .wm__n{font-size:26px}

  .ftr{padding-block:var(--sp-8) var(--sp-5)}
  .ftr__col,
  .ftr__col:nth-child(3){grid-column:span 5}
  .ftr__col:nth-child(2n){grid-column:span 7}
  .ftr__bot{flex-direction:column;margin-top:var(--sp-8)}
  .wm--ftr .wm__n{font-size:44px}
  .wm--ftr .wm__s{font-size:12px;letter-spacing:.24em}
}

/* ------------------------------------------------------------------ 14. motion preference */
@media (prefers-reduced-motion:reduce){
  .pg *,
  .pg *::before,
  .pg *::after{transition-duration:0ms !important;animation-duration:0ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important}
}

/* ------------------------------------------------------------------ 15. shared components
   Components that two or more pages use, promoted from the page boards. One implementation each; a page stylesheet
   (canvas: <board>/extra.css, theme: assets/v4/pages/<page>.css) only places them. Order: helpers, actions and controls,
   page head and navigation aids, cards and grids, order components, overlays, search, documents, contact, account,
   people and history, lists and forms, then the tablet and phone blocks of this section. */

/* --- helpers */
/* nb: keeps a range, a phone number or a value with its unit on one line ("3-4 tygodnie"). */
.nb{white-space:nowrap}
/* sku: a catalogue number shown as data: mono face, the catalogue's own letter case. */
.sku{font-family:var(--ff-mono);font-size:var(--fs-small);line-height:1;color:var(--fg-2);white-space:nowrap}
/* mark: the searched word inside a result: the ground's text colour and more weight, no highlighter block. */
.pg mark{background:none;color:var(--fg);font-weight:600}

/* --- actions and controls */
/* icon-btn: a 44 px square icon control (previous / next, close, play / pause, save, camera tools).
   Pressed = filled; --bare drops the frame where the icon sits in a row of text. */
.icon-btn{display:inline-grid;place-items:center;width:var(--tap);height:var(--tap);flex:none;padding:0;border:1px solid var(--line);background:transparent;color:var(--fg);transition:border-color var(--dur-2) var(--ease-out),background-color var(--dur-2) var(--ease-out),color var(--dur-2) var(--ease-out)}
.icon-btn:hover{border-color:var(--fg)}
.icon-btn[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.icon-btn--bare{border-color:transparent;color:var(--fg-2)}
.icon-btn--bare:hover{border-color:transparent;color:var(--fg)}

/* A pill may carry one 16 px stroke icon (chevron of a menu pill, filter mark). */
.pill .ico{width:16px;height:16px;transition:transform var(--dur-2) var(--ease-out)}
/* pills--scroll: a row of filter pills that never wraps on touch widths (see the tablet block): it scrolls sideways
   from the page edge, the first pill flush with the gutter, the last one visibly cut. Desktop keeps the wrapping row. */
.pills--scroll{scrollbar-width:none}
.pills--scroll::-webkit-scrollbar{display:none}

/* qty: quantity stepper, as tall as the button, 44 px targets. */
.qty{display:flex;flex:none;height:var(--h-btn);border:1px solid var(--fg-3)}
.qty__btn{display:grid;place-items:center;width:var(--tap);height:100%;color:var(--fg);transition:background-color var(--dur-2) var(--ease-out)}
.qty__btn:hover{background:var(--tone)}
.qty__btn[disabled]{opacity:.4;pointer-events:none}
.qty__btn .ico{width:16px;height:16px}
.qty__val{width:var(--tap);height:100%;padding:0;border:0;background:transparent;text-align:center;font-size:var(--fs-lead);font-weight:500;line-height:1;color:var(--fg);font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}
.qty__val::-webkit-outer-spin-button,
.qty__val::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* range: the one slider of the site (Lab tools, carat in /projekt): a hairline track filled to --p (set by the script),
   a square thumb in the text colour, a 44 px tall hit area. */
.range{-webkit-appearance:none;appearance:none;display:block;width:100%;height:var(--tap);margin:0;background:transparent;cursor:pointer;--p:50%}
.range::-webkit-slider-runnable-track{height:2px;background:linear-gradient(90deg,var(--fg) var(--p),var(--fg-3) var(--p))}
.range::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;margin-top:-9px;border:0;background:var(--fg);transition:transform var(--dur-1) var(--ease-out)}
.range:active::-webkit-slider-thumb{transform:scale(1.15)}
.range::-moz-range-track{height:2px;background:var(--fg-3)}
.range::-moz-range-progress{height:2px;background:var(--fg)}
.range::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:0;background:var(--fg)}
.range:focus-visible{outline:2px solid var(--fg);outline-offset:2px}

/* pwd: password field with a show / hide button: a 44 px icon button inside the right edge of the 52 px box.
   The script swaps the input type, aria-pressed and the label (login, register, password reset, account details). */
.pwd{position:relative;display:block}
.pwd .input{padding-right:calc(var(--tap) + var(--sp-2))}
.pwd__tg{position:absolute;right:var(--sp-1);top:50%;display:grid;place-items:center;width:var(--tap);height:var(--tap);margin-top:calc(var(--tap) / -2);color:var(--fg-2);transition:color var(--dur-2) var(--ease-out)}
.pwd__tg:hover,
.pwd__tg[aria-pressed="true"]{color:var(--fg)}

/* --- page head and navigation aids */
/* phead: the short ink page head of every page below the home page: breadcrumbs, h1 in the left half, a lead or a tool
   (search field, topic links) in the right half. A title that prints a typed or catalogue value breaks instead of overflowing. */
.phead{padding-block:var(--sp-4) var(--sp-7)}
.phead__row{margin-top:var(--sp-4);margin-bottom:0}
.phead__lead{max-width:52ch}
.phead .t-h1{overflow-wrap:anywhere}

/* jump: a row of text links to the anchored parts of a long page (questions, documents, guides). */
.jump{display:flex;flex-wrap:wrap;column-gap:var(--sp-5);row-gap:0}

/* Accordion answers with more than one paragraph or a closing link keep one 12 px rhythm. */
.fold__body > * + *{margin-top:var(--sp-3)}
.fold__body > .lnk{margin-top:var(--sp-1);margin-bottom:calc(var(--sp-2) * -1)}

/* toc: the contents of a long document. Desktop: an open tone panel that stays in view beside the text and stops with it
   (markup: section > .wrap.split > nav.fold.toc + the text). Tablet and phone: the panel folds into a row that sticks
   under the header (the accordion row of the system; the script toggles .is-open and marks the part in view). */
.toc{position:sticky;top:calc(var(--h-hdr) + var(--sp-6));max-width:440px}
.toc__hd{cursor:default;pointer-events:none}
.toc__hd .pm,
.toc__cnt{display:none}
.toc__cnt{margin-left:auto;font-family:var(--ff-text);font-size:var(--fs-small);line-height:1.3;color:var(--fg-2);white-space:nowrap}
.toc__body{padding:0 var(--sp-5) var(--sp-5)}
.toc__list{display:flex;flex-direction:column}
.toc__a{display:grid;grid-template-columns:var(--sp-6) minmax(0,1fr);align-items:baseline;min-height:36px;padding-block:var(--sp-2);font-size:var(--fs-ui);font-weight:500;line-height:1.35;color:var(--fg-2);transition:color var(--dur-2) var(--ease-out)}
.toc__a:hover,
.toc__a[aria-current]{color:var(--fg)}
.toc__a[aria-current] span:last-child{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.toc__n{color:var(--fg-3);font-variant-numeric:tabular-nums lining-nums}
.toc__a[aria-current] .toc__n{color:var(--fg)}
.toc__files{display:flex;flex-direction:column;align-items:flex-start;margin-top:var(--sp-3);padding-top:var(--sp-2);border-top:1px solid var(--line)}

/* prose--legal: numbered clauses with the number in a hanging column, section titles one step smaller than the prose h2
   (long legal titles stay within three lines). Regulations, privacy policy. */
.prose--legal > .lg__sec{margin-top:var(--sp-8)}
.lg__sec{scroll-margin-top:calc(var(--h-hdr) + var(--sp-6))}
.lg__sec > * + *{margin-top:var(--sp-3)}
.lg__sec > h2 + *{margin-top:var(--sp-5)}
.prose--legal h2{display:grid;grid-template-columns:var(--sp-8) minmax(0,1fr);column-gap:var(--sp-3);margin-top:0;font-size:var(--fs-h4);line-height:1.25;letter-spacing:-.005em}
.cl{display:grid;grid-template-columns:var(--sp-8) minmax(0,1fr);column-gap:var(--sp-3)}
.cl__n{color:var(--fg);font-weight:500;font-variant-numeric:tabular-nums lining-nums}
.prose--legal h2 .cl__n{font-weight:400}
/* Long unbroken strings in legal clauses (addresses of public bodies, links) wrap instead of widening the page. */
.prose--legal .cl__t{overflow-wrap:anywhere}
.cl--sub{margin-left:calc(var(--sp-8) + var(--sp-3))}
/* Preamble: a system panel whose text starts on the edge of the clause text (number column + gap). */
.lg__pre{padding-left:calc(var(--sp-8) + var(--sp-3));color:var(--fg)}

/* --- cards and grids */
/* door: a compact system card (.card.door on its own ground): a name, a count or one quiet line, the arrow.
   Shop entry, empty cart, 404, empty search. On the phone it becomes a row; --line puts a sentence under the name there;
   --tile keeps the card form at every width (a door that fills a cell of a product grid). */
.door{flex:1 1 auto;color:var(--fg);justify-content:space-between;min-height:168px;padding:var(--gap);transition:background-color var(--dur-2) var(--ease-out)}
.door:hover{background:var(--tone)}
.door__name{font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.2;letter-spacing:-.005em;color:var(--fg)}
.door__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3)}
.door__n{font-size:var(--fs-ui);font-weight:500;line-height:1.35;color:var(--fg-2)}
.door .ico{transition:transform var(--dur-2) var(--ease-out)}
.door:hover .ico{transform:translateX(4px)}
/* doors3: three doors in one row (404, empty search); one column on the phone. */
.doors3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.doors3 > li{display:flex}

/* pgrid: every grid of product cards (listing, search, related): 4 columns, 3 on the tablet, 2 on the phone. Cards share
   the row height, the name clamps to two lines, the spec line stays on one line (its second fact .pcard__extra is dropped
   in two narrow columns), the price sits on the bottom edge so prices share one line across a row. */
.pgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-7)}
.pgrid > li{display:flex;min-width:0}
.pgrid .pcard{flex:1 1 auto;min-width:0}
.pgrid .pcard__body{flex:1 1 auto}
.pgrid .pcard__name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-wrap:balance}
.pgrid .pcard__spec{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pgrid .pcard .price{margin-top:auto;padding-top:var(--sp-2)}

/* pcard--fit: the packshot is shown whole on the white (no crop). pcard__act: the card's own action link on its bottom
   edge, so the links of one row stay level when a spec line wraps. */
.pcard--fit .pcard__media img{object-fit:contain;padding:var(--sp-4)}
.pcard--fit .pcard__body{flex:1 1 auto}
.pcard__act{align-self:flex-start;margin-top:auto}
.pcard__spec + .pcard__act{padding-top:var(--sp-1)}

/* --- order components (cart, drawer, checkout, order received) */
/* csteps: the three-step order indicator (Koszyk, Dane i dostawa, Potwierdzenie). A bar over each step: the current one
   in the text colour, a done step in the second tone (its label is a link back that fills the whole step), the steps
   ahead on the ground's line. Numbers because the order matters. */
.csteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--gap)}
.csteps__item{display:flex;align-items:flex-start;gap:var(--sp-3);min-height:var(--tap);padding-top:var(--sp-3);border-top:2px solid var(--line);font-size:var(--fs-ui);font-weight:500;line-height:1.35;color:var(--fg-3)}
.csteps__n{flex:none;min-width:1ch}
.csteps__item[aria-current="step"]{border-top-color:var(--fg);color:var(--fg)}
.csteps__item.is-done{position:relative;border-top-color:var(--fg-2);color:var(--fg-2)}
.csteps__item.is-done a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--fg-3)}
.csteps__item.is-done a::after{content:"";position:absolute;inset:0}

/* crow: one order line: packshot on white, short name (a 44 px link target), spec line, variant, line price, then the
   quantity stepper and the remove link. --sm is the drawer size, --ro a read-only line (checkout summary, order
   received: no controls, so the price stays beside the name), .is-new marks a line just added. */
.crows{display:flex;flex-direction:column}
.crow{--crow-pic:120px;display:grid;grid-template-columns:var(--crow-pic) minmax(0,1fr) auto;grid-template-areas:"pic info price" "pic ctl ctl";column-gap:var(--sp-5);row-gap:var(--sp-4);align-items:start;padding-block:var(--sp-5);border-bottom:1px solid var(--line)}
.crow:first-child{border-top:1px solid var(--line)}
.crow__pic{grid-area:pic;display:block;width:var(--crow-pic);aspect-ratio:1;overflow:hidden;background:var(--white)}
.crow__pic img{width:100%;height:100%;object-fit:cover}
.crow__info{grid-area:info;display:flex;flex-direction:column;gap:var(--sp-1);min-width:0}
.crow__name{font-family:var(--ff-display);font-size:var(--fs-lead);line-height:1.25;color:var(--fg);text-wrap:balance}
.crow__name a{display:inline-block;padding-block:calc((var(--tap) - 1.25em) / 2);margin-block:calc((1.25em - var(--tap)) / 2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:transparent;transition:text-decoration-color var(--dur-2) var(--ease-out)}
.crow__name a:hover{text-decoration-color:var(--fg-3)}
.crow__spec{font-size:var(--fs-small);line-height:1.45;color:var(--fg-2)}
.crow__spec .sku{line-height:inherit}
.crow__var{font-size:var(--fs-small);font-weight:500;line-height:1.45;color:var(--fg)}
.crow__price{grid-area:price;justify-self:end;padding-top:2px}
.crow__ctl{grid-area:ctl;display:flex;align-items:center;gap:var(--sp-5)}
.crow__rm{min-width:var(--tap)}
.crow__flag{display:flex;align-items:center;gap:var(--sp-2);margin-bottom:var(--sp-1);font-size:var(--fs-small);font-weight:500;line-height:1.3;color:var(--fg)}
.crow__flag::before{content:"";flex:none;width:8px;height:8px;background:var(--ok-fg)}
.crow--sm{--crow-pic:80px;column-gap:var(--sp-4);row-gap:var(--sp-3);padding-block:var(--sp-4)}
.crow--sm .crow__name{font-size:var(--fs-body)}
.crow--ro{grid-template-areas:"pic info price"}
.crow.is-new{margin-inline:calc(var(--sp-4) * -1);padding-inline:var(--sp-4);background:var(--tone);border-color:transparent}

/* sum: order totals: key and value rows, a note row, the total, the VAT line. One vocabulary on cart, drawer and
   checkout: "Produkty", "Dostawa", "Razem". */
.sum{display:flex;flex-direction:column;gap:var(--sp-3)}
.sum__row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-4);font-size:var(--fs-ui);line-height:1.45}
.sum__row dt{color:var(--fg-2)}
.sum__row dd{color:var(--fg);text-align:right}
.sum__row--note{margin-top:calc(var(--sp-2) * -1)}
.sum__row--note dd{max-width:34ch;margin-left:auto;font-size:var(--fs-small);line-height:1.5;color:var(--fg-2)}
.sum__total{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-4);margin-top:var(--sp-2);padding-top:var(--sp-4);border-top:1px solid var(--line)}
.sum__total dt{font-size:var(--fs-lead);font-weight:500;line-height:1.3;color:var(--fg)}
.sum__vat{margin-top:calc(var(--sp-3) * -1);text-align:right}

/* ostat: order status: a small square in the status colour and the status name (account orders, order view, order
   received). In progress = the ground's quiet tone, done = ok, cancelled or failed = err. */
.ostat{display:inline-flex;align-items:center;gap:var(--sp-2);font-size:var(--fs-ui);font-weight:500;line-height:1.3;color:var(--fg);white-space:nowrap}
.ostat::before{content:"";flex:none;width:8px;height:8px;background:var(--fg-3)}
.ostat--done::before{background:var(--ok-fg)}
.ostat--err::before{background:var(--err-fg)}

/* --- overlays: all of them sit on --scrim at --z-sheet and open with .is-open (script: data-sheet-open / data-sheet-close) */
/* drawer: a panel from the right edge over the dimmed page (role dialog): head with a title and a 44 px close button,
   scrolling body, a foot on the tone step with the total and the one gold action. The mini-cart today; the shell fits
   any right-edge panel. On the phone it is a full-width sheet. */
.drawer{display:none}
.drawer.is-open{position:fixed;inset:0;z-index:var(--z-sheet);display:flex;justify-content:flex-end;background:var(--scrim)}
.drawer__panel{display:flex;flex-direction:column;width:min(480px,100%);height:100%;min-height:0}
.drawer__hd{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);flex:none;min-height:var(--h-hdr);padding-inline:var(--sp-6)}
.drawer__title{display:flex;align-items:baseline;gap:var(--sp-3)}
.drawer__n{font-family:var(--ff-text);font-size:var(--fs-ui);line-height:1;color:var(--fg-2)}
.drawer__close{display:grid;place-items:center;width:var(--tap);height:var(--tap);margin-right:calc(var(--sp-3) * -1);color:var(--fg)}
.drawer__body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:var(--sp-4) var(--sp-6) var(--sp-5)}
.drawer__ft{display:flex;flex-direction:column;gap:var(--sp-4);flex:none;padding:var(--sp-5) var(--sp-6) var(--sp-6);background:var(--tone)}
.drawer__ft .sum__total{margin-top:0;padding-top:0;border-top:0}
.drawer__ship{margin-top:calc(var(--sp-3) * -1);font-size:var(--fs-small);line-height:1.5;color:var(--fg-2)}
.drawer__links{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4);margin-block:calc(var(--sp-2) * -1)}
.drawer__pay{font-size:var(--fs-small);line-height:1.4;color:var(--fg-2);text-align:right}
/* Drawer states: removal notice above the lines, the link under the gold button of the empty drawer, a quantity change on its way. */
.drawer__body > .notice{margin-bottom:var(--sp-4)}
.drawer .card__foot .lnk{margin-top:var(--sp-2)}
.drawer__panel .crow__price,
.drawer__panel .sum{transition:opacity var(--dur-2) var(--ease-out)}
.drawer__panel[aria-busy="true"] .crow__price,
.drawer__panel[aria-busy="true"] .sum{opacity:.45}

/* sheet: a bottom sheet on the phone (scrim, panel, head with a close button, scrolling body, foot with the action).
   Above the phone width the shell is inert: its content sits in the page flow (shop filters) and head and foot are hidden. */
.sheet__hd,
.sheet__ft{display:none}
.sheet__close{display:grid;place-items:center;width:var(--tap);height:var(--tap);margin-right:calc(var(--sp-3) * -1);color:var(--fg)}

/* dlg: the dialog: a centred box on wide screens, a bottom sheet on the phone. Head row with the item it is about
   (56 px picture, name, price, close), then the title and the form. The box carries its own ground class. */
.dlg{position:fixed;inset:0;z-index:var(--z-sheet);display:grid;place-items:center;padding:var(--sp-5);background:var(--scrim)}
.dlg[hidden]{display:none}
.dlg__box{width:min(480px,100%);max-height:100%;overflow:auto;padding:var(--sp-5) var(--sp-6) var(--sp-5);-webkit-user-select:text;user-select:text}
.dlg__item{display:flex;align-items:center;gap:var(--sp-4);margin-bottom:var(--sp-5);padding-bottom:var(--sp-4);border-bottom:1px solid var(--line)}
.dlg__th{flex:none;width:56px;height:56px;background:var(--film) center / cover no-repeat}
.dlg__what{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.dlg__what b{font-family:var(--ff-display);font-size:var(--fs-lead);font-weight:400;line-height:1.25;color:var(--fg)}
.dlg__what span{font-size:var(--fs-small);line-height:1.4;color:var(--fg-2);font-variant-numeric:tabular-nums}
.dlg__item .icon-btn{margin-right:calc(var(--sp-4) * -1)}
.dlg__t{font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.15;letter-spacing:-.01em;color:var(--fg)}
.dlg .notice{margin-top:var(--sp-4)}
.dlg__form{display:flex;flex-direction:column;gap:var(--sp-4);margin-top:var(--sp-5)}
.dlg__legal{margin-top:calc(var(--sp-1) * -1)}
.dlg__alt{align-self:center;justify-content:center;margin-top:calc(var(--sp-2) * -1);text-align:center}

/* --- search */
/* srch-form: the site search field (404, search results, empty search): .field + .field__row with a secondary "Szukaj"
   button. It fills its column. type="search" drops the native rounded look and the clear cross on iOS and Safari. */
.srch-form{width:100%}
.srch-form .input{-webkit-appearance:none;appearance:none}
.srch-form .input::-webkit-search-decoration,
.srch-form .input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}

/* hit: a result row: a small piece on the film black, the section it lives in, the linked title, the excerpt with the
   searched word. The title link covers the whole row: one target far above 44 px at every width. */
.hits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-7)}
.hit{position:relative;display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:var(--sp-5);align-items:start}
.hit__fig{display:block}
.hit__fig .fig__media{display:block;aspect-ratio:1}
.hit__body{display:flex;flex-direction:column;gap:var(--sp-2);min-width:0}
.hit__path{font-size:var(--fs-small);line-height:1.35;color:var(--fg-2)}
.hit__t{font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.2;letter-spacing:-.005em;color:var(--fg);text-wrap:balance}
.hit__t a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:var(--fg-3);transition:text-decoration-color var(--dur-2) var(--ease-out)}
.hit__t a:hover{text-decoration-color:var(--fg)}
.hit__t a::after{content:"";position:absolute;inset:0}
.hit__txt{margin-top:var(--sp-1);font-size:var(--fs-body);line-height:1.6;color:var(--fg-2);max-width:var(--measure)}
/* A result without a picture is the text column alone, at every width (repeated after the phone rule). */
.hit--text{grid-template-columns:minmax(0,1fr)}

/* --- contact */
/* kv: key-value rows for contact values: large serif values (phone, e-mail, address, visits) on .fact, with a plain key
   above and an optional note or second channel under each value. */
.kv__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-6);align-items:start}
.kv__item{min-width:0}
.kv__v{line-height:1.1}
.kv__more{margin-top:calc(var(--sp-2) * -1)}
.kv__note{font-size:var(--fs-small);line-height:1.5;color:var(--fg-2)}

/* map-panel: the map region of a place: a plain tone panel that receives the map iframe after a click or with consent
   (the map sets third-party cookies); until then it shows one line and a link. Pair it with an address card in a .split. */
.map-panel{position:relative;min-height:420px;overflow:hidden;background:var(--tone)}
.map-panel iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(1)}
.map-panel__ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp-1);padding:var(--pad);text-align:center}
.map-panel__ph .t-small{max-width:36ch}

/* --- people and history */
/* tl: a dated list (year, title, text) on the 12-column grid (.tl__item is also .grid): the year at the page edge in the
   display face, the title in columns 4-6, the text in the right half. Rows are list rules. */
.tl__list{border-bottom:1px solid var(--line)}
.tl__item{align-items:baseline;row-gap:var(--sp-3);padding-block:var(--sp-7);border-top:1px solid var(--line)}
.tl__yr{grid-column:1 / span 3;font-family:var(--ff-display);font-size:var(--fs-h3);line-height:1;letter-spacing:-.02em;color:var(--fg);white-space:nowrap;font-variant-numeric:lining-nums}
.tl__t{grid-column:4 / span 3;padding-right:var(--sp-5)}
.tl__d{grid-column:7 / span 5;display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2)}

/* person: one member of the team set in type (.person is also .grid): name, role, a dated fact, then two sentences and
   a quote in the right half. The portrait (.person__photo, 4:5 on the film black) is optional: the row is complete without it. */
.person{row-gap:var(--sp-6);padding-block:var(--block-y);border-top:1px solid var(--line)}
.person:last-child{padding-bottom:0}
.person__id{grid-column:1 / span 6;display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2)}
.person__role{font-size:var(--fs-lead);line-height:1.4;color:var(--fg-2)}
.person__since{margin-top:var(--sp-5)}
.person__photo{width:min(100%,360px);margin-top:var(--sp-5);aspect-ratio:4 / 5;overflow:hidden;background:var(--film)}
.person__photo img{width:100%;height:100%;object-fit:cover}
.person__txt{grid-column:7 / -1;display:flex;flex-direction:column;gap:var(--sp-5);max-width:600px}

/* --- lists and forms */
/* dlist: definition list: key and value rows with an optional detail line (configurator scope, product parameters,
   send-step summary). */
.dlist{display:flex;flex-direction:column}
.dlist__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);column-gap:var(--gap);align-items:baseline;padding-block:var(--sp-5);border-top:1px solid var(--line)}
.dlist__row:first-child{padding-top:0;border-top:0}
.dlist__row:last-child{padding-bottom:0}
.dlist__k{font-size:var(--fs-small);font-weight:500;line-height:1.3;color:var(--fg-2)}
.dlist__v{display:flex;flex-direction:column;gap:var(--sp-1);font-family:var(--ff-display);font-size:var(--fs-h4);line-height:1.2;letter-spacing:-.005em;color:var(--fg);font-variant-numeric:lining-nums}
.dlist__d{font-family:var(--ff-text);font-size:var(--fs-ui);line-height:1.5;letter-spacing:0;color:var(--fg-2)}

/* form-grid: two fields per row, full-width rows on demand (contact, enquiry, checkout address); one column on the phone. */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-5);align-items:start}
.form-grid__full{grid-column:1 / -1}

/* --- 15: tablet */
@media (max-width:1024px){
  .pills--scroll{flex-wrap:nowrap;min-width:0;overflow-x:auto;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter);scroll-padding-inline:var(--gutter)}
  .pills--scroll .pill{flex:none}

  .toc{top:var(--h-hdr);z-index:var(--z-base);max-width:none;margin:0 calc(var(--gutter) * -1)}
  .toc__hd{cursor:pointer;pointer-events:auto;padding-inline:var(--gutter)}
  .toc__hd .pm{display:block}
  .toc__cnt{display:inline}
  .toc:not(.is-open) .toc__body{display:none}
  .toc.is-open .toc__body{max-height:480px;overflow-y:auto;padding-inline:var(--gutter)}
  .toc__a{min-height:var(--tap)}
  .lg__sec{scroll-margin-top:calc(var(--h-hdr) + var(--sp-8) + var(--sp-4))}

  .door{min-height:128px;padding:var(--sp-4)}
  .door .card__foot{padding-top:var(--sp-4)}
  .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hits{grid-template-columns:minmax(0,1fr)}
  .kv__list{grid-template-columns:repeat(2,minmax(0,1fr))}

  .tl__yr{grid-column:1 / span 3}
  .tl__t{grid-column:4 / -1;padding-right:0}
  .tl__d{grid-column:4 / -1}
  .person__id,
  .person__txt{grid-column:1 / -1}
  .person__id{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--gap);row-gap:var(--sp-2);align-items:end}
  .person__role{grid-column:1}
  .person__since{grid-column:2;grid-row:1 / span 2;margin-top:0}
}

/* --- 15: phone */
@media (max-width:640px){
  /* btn--phone-primary: an outline action that turns gold on the phone, where the gold header action is hidden
     (desktop and tablet keep one gold action per screen: the header). */
  .btn--phone-primary{background:var(--gold);border-color:transparent;color:var(--ink)}
  .btn--phone-primary:hover{background:var(--gold-hi);color:var(--ink)}
  .qty__val{width:var(--tap)}  /* the value field keeps the 44 px target too */

  /* crumbs--back: on the phone the trail becomes one back link to the parent level (li.crumbs__up, a 44 px row). */
  .crumbs--back li{display:none}
  .crumbs--back li.crumbs__up{display:inline-flex}
  .crumbs--back li.crumbs__up::before{content:"";width:8px;height:8px;margin-left:2px;border-left:1.5px solid var(--fg-2);border-bottom:1.5px solid var(--fg-2);transform:rotate(45deg)}
  .crumbs--back li.crumbs__up::after{content:none}

  .phead{padding-bottom:var(--sp-6)}
  .phead__row{margin-top:var(--sp-2);row-gap:var(--sp-4)}
  .jump{flex-direction:column;align-items:flex-start}

  .prose--legal > .lg__sec{margin-top:var(--sp-7)}
  /* The clause number runs in with the text: a hanging column would leave too narrow a line. */
  .prose--legal h2,
  .cl{display:block}
  /* The markup has a space between number and text (it reads right in the accessibility tree); the margin adds the rest. */
  .cl__n{margin-right:var(--sp-1)}
  .cl--sub{margin-left:0}
  .lg__pre{padding-left:var(--pad)}

  /* Door as a row: the name left, the count and the arrow right. --line: the name over its sentence, the arrow right. */
  .door:not(.door--tile){flex-direction:row;align-items:center;min-height:56px;padding:var(--sp-3) var(--sp-4)}
  .door:not(.door--tile) .door__name br{display:none}
  .door:not(.door--tile) .card__foot{gap:var(--sp-4);margin-top:0;padding-top:0}
  .door.door--line{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--sp-4);row-gap:2px;min-height:72px}
  .door.door--line .card__foot{display:contents}
  .door--line .door__name{grid-column:1;grid-row:1}
  .door--line .door__n{grid-column:1;grid-row:2;font-size:var(--fs-small);font-weight:400}
  .door--line .ico{grid-column:2;grid-row:1 / span 2}

  .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--sp-3);row-gap:var(--sp-6)}
  .pgrid .pcard__body{padding-top:var(--sp-3)}
  .pgrid .pcard__name{font-size:var(--fs-body)}
  .pgrid .pcard__extra{display:none}
  .pcard--fit .pcard__media img{padding:var(--sp-2)}
  .pcard__act .ico{display:none}

  .csteps{column-gap:var(--sp-3)}
  .csteps__item{flex-direction:column;gap:2px;padding-top:var(--sp-2);font-size:var(--fs-small)}
  /* Phone line: picture and name side by side, then the stepper with the remove link left and the price right. */
  .crow{--crow-pic:88px;grid-template-columns:var(--crow-pic) minmax(0,1fr) auto;grid-template-areas:"pic info info" "ctl ctl price";column-gap:var(--sp-4);row-gap:var(--sp-4);align-items:center}
  .crow__info{align-self:start}
  .crow__ctl{gap:var(--sp-4)}
  .crow__price{padding-top:0}
  .crow--sm{--crow-pic:72px}
  /* Read-only line: the name and spec take the full width, the price sits on the variant line, bottom right. */
  .crow--ro{grid-template-columns:var(--crow-pic) minmax(0,1fr);grid-template-areas:"pic info";align-items:start}
  .crow--ro .crow__info{align-self:stretch}
  .crow--ro .crow__var{margin-top:auto;padding-right:var(--sp-9)}
  .crow--ro .crow__price{grid-area:info;align-self:end;justify-self:end;padding-top:0}

  .drawer__panel{width:100%}
  .drawer__hd{padding-inline:var(--gutter)}
  /* The line just added runs edge to edge on the sheet. */
  .drawer .crow.is-new{margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
  .drawer__body{padding:var(--sp-2) var(--gutter) var(--sp-4)}
  .drawer__ft{gap:var(--sp-3);padding:var(--sp-4) var(--gutter) max(var(--sp-4),env(safe-area-inset-bottom))}

  .sheet.is-open{display:flex;flex-direction:column;justify-content:flex-end;position:fixed;inset:0;z-index:var(--z-sheet);background:var(--scrim)}
  .sheet__panel{display:flex;flex-direction:column;min-height:0;max-height:calc(100% - var(--h-hdr))}
  .sheet__hd{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:56px;padding-inline:var(--gutter)}
  .sheet__body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:var(--sp-2) var(--gutter) var(--sp-4)}
  .sheet__ft{display:flex;align-items:center;gap:var(--sp-5);flex:none;padding:var(--sp-3) var(--gutter);background:var(--tone)}
  .sheet__ft .btn{flex:1 1 auto}

  .dlg{place-items:end stretch;padding:var(--sp-8) 0 0}
  .dlg__box{width:100%;padding:var(--sp-4) var(--gutter) calc(env(safe-area-inset-bottom,0px) + var(--sp-4))}
  .dlg__item{margin-bottom:var(--sp-4);padding-bottom:var(--sp-3)}
  .dlg__t{font-size:var(--fs-h3)}
  .dlg__form{gap:var(--sp-3);margin-top:var(--sp-4)}

  .hit{grid-template-columns:96px minmax(0,1fr);column-gap:var(--sp-4)}
  .hit--text{grid-template-columns:minmax(0,1fr)}
  .doors3{grid-template-columns:minmax(0,1fr);gap:var(--sp-2)}
  /* Real catalogue names: three lines on the phone so the headline carat is not cut. */
  .pgrid .pcard__name{-webkit-line-clamp:3}
  .hit__t{font-size:var(--fs-lead);line-height:1.25}
  .hit__txt{font-size:var(--fs-small);line-height:1.55}

  .kv__list{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-5)}
  .map-panel{min-height:300px}

  .tl__yr,
  .tl__t,
  .tl__d{grid-column:1 / -1}
  .tl__item{row-gap:var(--sp-2);padding-block:var(--sp-6)}
  .tl__yr{margin-bottom:var(--sp-2)}
  .person{row-gap:var(--sp-5)}
  .person__id{display:flex;align-items:flex-start}
  .person__since{margin-top:var(--sp-4)}

  .dlist__row{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-1);padding-block:var(--sp-4)}
  .form-grid{grid-template-columns:minmax(0,1fr)}
}

/* ------------------------------------------------------------------ 16. document shell
   Theme only: on the canvas the page root is a div and there is no admin bar, so nothing here matches a board.
   The theme prints <html class="v4"> and <body class="pg ...">. */
html.v4{background:var(--ink);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
html.v4.is-locked{overflow:hidden}
/* While the consent banner shows, dbj.js sets --consent-h: scrolled-to targets and focused controls stay above it. */
html.v4{scroll-padding-bottom:calc(var(--consent-h,0px) + var(--sp-4))}
body.pg{margin:0}
/* Sticky header below the WordPress admin bar (its own breakpoint is 782 px). */
.admin-bar .hdr{top:32px}
@media (max-width:782px){
  .admin-bar .hdr{top:46px}
}
@media (prefers-reduced-motion:reduce){
  html.v4{scroll-behavior:auto}
}
