/* Product page components. Uses the tokens from site.css; adds nothing to it. */

.crumb{font-size:13.2px;color:var(--muted);padding:18px 0 0}
.crumb a{color:var(--muted);text-decoration:none;border-bottom:1px solid transparent}
.crumb a:hover{color:var(--accent);border-bottom-color:var(--brand-tint-2)}
.crumb span{margin:0 7px;opacity:.5}

.pd-head{padding:14px 0 30px;border-bottom:1px solid var(--line)}

.pd-head h1{font-size:clamp(30px,4.2vw,48px);margin:0 0 10px}
.pd-head h1 em{font-style:normal;color:var(--muted);font-weight:500}
.pd-lede{font-size:17.2px;color:var(--text-2);max-width:62ch;margin:0 0 20px}

.pd-facts{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 4px;padding:0;list-style:none}
.pd-facts li{background:var(--brand-tint);color:var(--accent-strong);border:1px solid var(--brand-tint-2);
  border-radius:999px;padding:5px 13px;font-size:13.3px;font-weight:600}

.pd-top{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:34px;align-items:start;padding:30px 0}
@media(max-width:980px){.pd-top{grid-template-columns:1fr;gap:26px}}

/* viewer: photos and the dimension drawing share one frame */
.pd-shot{position:relative;background:var(--plate);border-radius:var(--r2);overflow:hidden;aspect-ratio:4/3}
.pd-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.pd-shot.is-drawing{background:var(--surface)}
.pd-shot.is-drawing img{object-fit:contain;padding:14px}
.pd-cap{margin:10px 2px 0;font-size:13px;color:var(--muted);min-height:19px}
.pd-cap a{color:var(--accent-strong)}

.pd-shot.is-empty{display:grid;place-items:center;color:var(--muted);background:var(--surface-raised)}
.pd-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.pd-thumbs button{position:relative;flex:0 0 78px;height:64px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--plate);cursor:pointer;overflow:hidden}
.pd-thumbs button[aria-current="true"]{border-color:var(--accent);box-shadow:0 0 0 2px var(--brand-tint)}
.pd-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.pd-thumbs button.t-drawing{background:var(--surface)}
.pd-thumbs button.t-drawing img{object-fit:contain;padding:4px}
.pd-thumbs .t-tag{position:absolute;left:0;right:0;bottom:0;font-size:9.4px;
  letter-spacing:.06em;text-transform:uppercase;background:color-mix(in srgb,var(--text) 72%,transparent);
  color:var(--on-media);padding:2px 0;text-align:center}

/* the builder sits in the space the drawing used to take */
.pd-build{border-top:1px solid var(--line);padding:24px 0 0}
.pd-build h2{font-size:19.4px;margin:0 0 5px}
.pd-build > .sub{color:var(--muted);font-size:13.8px;margin:0 0 18px}

.pd-flag{margin-top:10px;font-size:12.6px;color:var(--muted);border-left:2px solid var(--line-2);padding:2px 0 2px 10px}

.pd-sec{padding:40px 0;border-top:1px solid var(--line)}
.pd-sec > h2{font-size:clamp(21px,2.6vw,27px);margin:0 0 6px}
.pd-sec > .sub{color:var(--muted);margin:0 0 22px;max-width:62ch}

/* order code builder */
.cfg{background:transparent;border:0;padding:0}
.cfg-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:13px}
.cfg label{display:block;font-size:12.4px;font-weight:650;letter-spacing:.04em;
  text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.cfg select,.cfg input.cf-t{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line-2);border-radius:9px;
  background:var(--surface);font-family:inherit;font-size:14.6px;color:var(--text)}
.cfg select:focus,.cfg input.cf-t:focus{outline:2px solid var(--accent);outline-offset:1px}
.cfg option:disabled{color:var(--disabled)}
/* a choice of one is shown as plain text, aligned with the selects beside it */
.cfg-fk{display:block;font-size:12.4px;font-weight:650;letter-spacing:.04em;
  text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.cfg-fv{display:block;padding:10px 0;font-size:14.6px;color:var(--text);font-weight:600}

.cfg-out{margin-top:22px;border-top:1px solid var(--line);padding:16px 0 0}
.cfg-out dl{display:grid;grid-template-columns:auto 1fr;gap:7px 16px;margin:0}
.cfg-out dt{font-size:12.6px;color:var(--muted);font-weight:600;white-space:nowrap}
.cfg-out dd{margin:0;font-family:var(--mono);font-size:15.4px;font-weight:600;color:var(--text)}
.cfg-out dd.big{font-size:18.4px;color:var(--accent-strong)}
.cfg-dims{margin-top:14px;padding-top:13px;border-top:1px dashed var(--line-2);
  display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13.4px;color:var(--text-2)}
.cfg-dims b{font-family:var(--mono);font-weight:600}
.cfg-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
.cfg-none{margin-top:20px;background:var(--surface-alt);border:1px solid var(--line);border-radius:var(--r);padding:15px;font-size:14.2px;color:var(--text-2)}

/* dimension tables */
.tbl-tabs{display:flex;gap:7px;margin:0 0 15px}
.tbl-tabs button{padding:8px 17px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);
  font-family:inherit;font-size:13.8px;font-weight:600;color:var(--muted);cursor:pointer}
.tbl-tabs button[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.tbl-find{position:relative;margin:0 0 13px;max-width:330px}
.tbl-find input{width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:9px;
  font-family:inherit;font-size:14px;background:var(--surface)}
.tbl-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--r);max-height:520px}
table.dims{border-collapse:collapse;width:100%;font-size:13.6px;background:var(--surface)}
table.dims th,table.dims td{padding:8px 12px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--line)}
table.dims thead th{position:sticky;top:0;background:var(--surface-alt);font-size:12.2px;letter-spacing:.03em;
  text-transform:uppercase;color:var(--muted);z-index:var(--z-content);border-bottom:1px solid var(--line-2)}
table.dims tbody td:first-child{font-family:var(--mono);font-weight:600;color:var(--accent-strong)}
table.dims tbody tr:hover{background:var(--brand-tint)}
table.dims tr[hidden]{display:none}
.tbl-count{margin-top:9px;font-size:12.8px;color:var(--muted)}
.tbl-note{margin-top:11px;font-size:12.8px;color:var(--muted);max-width:70ch}

/* spec list */
.spec-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:17px}
.spec-c{border-top:1px solid var(--line);padding:16px 0 0}
.spec-c h3{font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 9px}
.spec-c ul{margin:0;padding-left:17px}
.spec-c li{margin:0 0 5px;font-size:14.4px}

.pd-cta{border-top:1px solid var(--line);padding:28px 0 0;display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between}
.pd-cta h2{margin:0 0 5px;font-size:21px}
.pd-cta p{margin:0;color:var(--text-2);max-width:52ch}
.pd-cta .acts{display:flex;gap:10px;flex-wrap:wrap}

/* tube-fittings index: compact full-bleed hero. The photo starts behind
   the (transparent) header - header.js turns the bar solid once it has
   scrolled away - and banner, title and the first full row of products all
   fit on the first screen.
   Each family's photo is a canvas 1231px tall built by tools/build_hero.py:
   the original shot with its own sky and floor extended on every side, the
   product row centred at y=764. --phh is the height 681px of canvas is drawn
   at (so it sets the product size); the ratios are canvas pixels / 681.
   --pcx (row centre) and --phw (row half-width) come from the page, from
   data/media/hero/<slug>.json. The image is slid so the row's centre lands
   on --px. A family with no photo yet shows the products-free sky.
   --ext (set by the page's script, wide screens only) adds height to the
   banner so the first row of cards ends right at the bottom of the screen;
   the products and the title each move down by half of it so they stay
   centred in the taller banner.
   Up to 1279px: products centred, title underneath on the photo's floor.
   From 1280px: products pushed right to the content edge, title beside
   them on the left. */
body.inner.has-hero main{padding-top:0}
.pd-hero{--ext:0px;position:relative;background:var(--banner-floor);overflow:hidden}
.pd-hero-ph{--phh:270px;--px:50vw;--pcx:5.2988;--phw:1.2621;position:relative;height:calc(var(--phh) + var(--ext))}
.pd-hero-ph img{position:absolute;top:calc(var(--ext) / 2 - var(--phh) * .4405);
  left:calc(var(--px) - var(--phh) * var(--pcx));height:calc(var(--phh) * 1.8076);width:auto;max-width:none}
.pd-hero-ph:after{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;
  background:linear-gradient(to bottom,color-mix(in srgb,var(--banner-floor) 0%,transparent),var(--banner-floor))}
.pd-hero-t{position:relative;margin-top:-14px;padding-bottom:16px}
.pd-hero-t .crumb{padding:0 0 8px}

.pd-hero-t h1{margin:0;font-size:clamp(30px,3.2vw,48px);line-height:1.02;letter-spacing:-.04em}
.pd-hero-t h1 em{display:block;margin-top:6px;font-style:normal;font-size:.56em;line-height:1.2;
  letter-spacing:-.005em;color:var(--muted);font-weight:500}
@media(min-width:861px){
  .pd-hero-ph{--phh:clamp(300px,38vh,350px)}
  .pd-hero-t{margin-top:-22px;padding-bottom:22px}
}
@media(min-width:1280px){
  /* the product row is right-aligned to the wrap and may never reach into
     the title's column: its width (2 x phw x phh) is capped to what is left
     after the title (--title-w) and a 32px gap (--avail), by shrinking --phh. Short
     family names reserve less room than long, two-line ones. */
  .pd-hero-ph{--title-w:300px;
    --avail:calc(min(50vw,651px) + min(46vw,840px) - 67.2px - var(--title-w) - 32px);
    --phh:min(clamp(270px,min(40vh,25vw),350px), calc(var(--avail) / (2 * max(var(--phw),.01))));
    /* centred in the space right of the title: a row that fills it (tube
       fittings) ends at the wrap's right edge; a shorter one sits in the middle */
    --px:calc(50vw + min(50vw,651px) - 33.6px - max(var(--phh) * var(--phw), var(--avail) / 2))}
  .pd-hero:has(.pd-hero-t.is-long) .pd-hero-ph{--title-w:380px}
  .pd-hero-t{position:absolute;left:0;right:0;bottom:calc(38px + var(--ext) / 2);z-index:var(--z-raised);margin:0 auto;padding-bottom:0}
  .pd-hero-t .crumb{padding-bottom:14px}
  /* the title column stays clear of the product row on the right; long
     family names wrap to two lines at a slightly smaller size */
  .pd-hero-t h1{max-width:380px}
  .pd-hero-t.is-long h1{font-size:clamp(28px,2.6vw,38px)}
  /* no photo yet: the sky alone, centred */
  .pd-hero-ph.is-sky{--px:50vw}
}
/* short wide screens: a tighter title block, so a two-line family name
   doesn't push the first row of cards off the bottom */
@media(min-width:1280px) and (max-height:780px){
  .pd-hero-t .crumb{padding-bottom:8px}
  .pd-hero-t h1 em{margin-top:3px}
  .pd-hero-t.is-long h1{font-size:clamp(26px,2.3vw,32px)}
}

/* the strip under the hero: what the family is in one line, and the two
   things a buyer does next */
.pd-bar{background:var(--surface);border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 color-mix(in srgb,var(--shadow-ink) 2%,transparent)}
.pd-bar-in{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;
  flex-wrap:wrap;padding-top:13px;padding-bottom:13px}
.pd-bar-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;margin:0;padding:0;list-style:none;
  font-size:13.6px;color:var(--muted)}
.pd-bar-facts li{display:flex;align-items:center}
.pd-bar-facts li+li:before{content:"";width:4px;height:4px;border-radius:50%;background:var(--brand-tint-2);margin:0 12px}
.pd-bar-facts b{color:var(--text);font-weight:700;margin-right:4px}
/* dark: the lit banner fades into the page instead of stopping at a hard
   edge. The fade sits below the banner, never over the photograph. */
:root[data-theme="dark"] .pd-bar:before{content:"";display:block;height:18px;
  background:linear-gradient(color-mix(in oklab,var(--banner-floor) 22%,var(--surface)),var(--surface))}
.pd-acts{display:flex;gap:10px}
.pd-acts .btn{padding:9px 18px;font-size:14px}
.pd-sec-hero{border-top:0;padding-top:40px}

/* two cards a row on a phone rather than one huge one */
@media(max-width:560px){
  .pd-sec-hero .tf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
  .pd-sec-hero .tf-c{padding:9px 10px 0;font-size:11.6px}
  .pd-sec-hero .tf-n{padding:2px 10px 0;font-size:13.4px;line-height:1.3}
  .pd-sec-hero .tf-s{padding:3px 10px 12px;font-size:11.8px}
  .pd-bar-facts{font-size:12.6px}
  .pd-bar-facts li+li:before{margin:0 8px}
}
@media(max-width:860px){
  .pd-acts{width:100%}
  .pd-acts .btn{flex:1}
}

/* tube-fittings index: one card per model */
.tf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:40px 24px}
/* product cards, the same on every page: one rounded, bordered box holding
   the photo and the text under it, a teal line between the two, and a slight
   lift on hover */
.tf-card{display:flex;flex-direction:column;color:var(--text);background:var(--surface);border:2px solid var(--line-2);border-radius:var(--r2);overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.tf-card:hover{box-shadow:var(--shadow)}
.tf-card:hover .tf-n{color:var(--accent-strong)}
.tf-card[hidden]{display:none}
.tf-im{display:block;aspect-ratio:4/3;background:var(--plate);overflow:hidden}
.tf-im img{display:block;width:100%;height:100%;object-fit:cover}
.tf-im.is-drawing{background:var(--plate)}
.tf-im.is-drawing img{object-fit:contain;padding:10px}
.tf-nophoto{display:grid;place-items:center;height:100%;font-size:12.8px;color:var(--muted);background:var(--surface-raised)}
.tf-c{border-top:1px solid var(--line);padding:12px 16px 0;font-family:var(--mono);font-size:12.6px;color:var(--accent-strong);font-weight:600}
.tf-n{padding:3px 16px 0;font-weight:600;font-size:15px;transition:color .2s var(--ease)}
.tf-s{padding:4px 16px 16px;font-size:12.8px;color:var(--muted)}

.rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:18px}
.rel a{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r2);padding:10px 10px 14px;
  background:var(--surface);color:var(--text);transition:border-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease)}
.rel a[hidden]{display:none}
.rel a:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:var(--shadow)}
.rel-im{display:grid;place-items:center;aspect-ratio:4/3;border-radius:calc(var(--r2) - 4px);background:var(--plate);overflow:hidden;margin-bottom:12px}
.rel-im img{width:100%;height:100%;object-fit:contain}
.rel-im.is-drw img{padding:10px}
.rel-im.is-none{font:700 15px var(--mono);color:var(--plate-muted)}
.rel .c{font-family:var(--mono);font-size:12.6px;color:var(--accent-strong);font-weight:600;padding:0 4px}
.rel .n{display:block;margin-top:3px;font-weight:600;font-size:14.4px;line-height:1.35;padding:0 4px}
@media(max-width:560px){.rel{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Inner pages have no hero to sit under the fixed header, so they need the
   header's height as top padding. The home page gets this from .hero-pin. */
body.inner main{padding-top:calc(var(--hdr) + 6px)}
@media(max-width:860px){body.inner main{padding-top:calc(var(--hdr) - 24px)}}

/* ---- details tabs: Dimensions, Info, Specification, Applications,
   Installation & care, Downloads (tools/product_tabs.py, modules/pd-tabs.js) */
.pd-dtl{padding-top:44px;scroll-margin-top:var(--hdr-live,var(--hdr))}
.pd-dtl-h{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:6px 24px;margin:0 0 16px}
.pd-dtl-h h2{font-size:clamp(24px,3vw,32px);margin:4px 0 0}
.pd-dtl-h .nw{white-space:nowrap}
.pd-dtl-h p{margin:0;color:var(--muted);font-size:14.5px}
/* the bar sticks under the (fixed) header while the details scroll past,
   so the other tabs are always in reach */
.pd-tabs{position:sticky;top:calc(var(--hdr-live,var(--hdr)) - 1px);z-index:var(--z-tabs);
  display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:8px;margin:0 0 30px;background:var(--brand-tint);border:1px solid var(--brand-tint-2);
  border-radius:calc(var(--r2) + 6px);scrollbar-width:none;
  box-shadow:0 10px 24px -14px color-mix(in srgb,var(--shadow-ink) 45%,transparent)}
.pd-tabs::-webkit-scrollbar{display:none}
.pd-tabs [role="tab"]{flex:1 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;
  justify-content:center;gap:9px;min-height:52px;padding:12px 18px;border:1px solid var(--line-2);
  border-radius:var(--r2);background:var(--surface);color:var(--text-2);
  font:650 15.2px/1.2 var(--ff);cursor:pointer;white-space:nowrap;position:relative;
  transition:background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease),transform .2s var(--ease)}
.pd-tabs [role="tab"] .pt-ic{stroke:var(--accent)}
.pd-tabs [role="tab"]:hover{border-color:var(--brand);color:var(--accent-strong);transform:translateY(-1px)}
.pd-tabs [role="tab"]:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.pd-tabs [role="tab"][aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:var(--on-brand);
  box-shadow:0 6px 16px -8px color-mix(in srgb,var(--brand) 70%,transparent);transform:none}
.pd-tabs [role="tab"][aria-selected="true"] .pt-ic{stroke:var(--on-brand)}
.pt-ic{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:720px){
  .pd-tabs{gap:6px;padding:6px;margin-bottom:22px}
  .pd-tabs [role="tab"]{flex:0 0 auto;min-height:46px;padding:10px 14px;font-size:14px}
}

.pd-pane{outline:none;animation:pdFade .25s var(--ease)}
.pd-pane-h{font-size:clamp(20px,2.4vw,25px);margin:0 0 14px}
.pd-pane > .sub{color:var(--muted);margin:0 0 22px;max-width:62ch}
@keyframes pdFade{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.pd-pane{animation:none}}

/* info */
.pi-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:34px;align-items:center}
@media(max-width:860px){.pi-top{grid-template-columns:1fr;gap:20px}}
.pi-media{margin:0}
.pi-plate{position:relative;aspect-ratio:4/3;background:var(--plate);border:1px solid var(--line);
  border-radius:var(--r2);overflow:hidden}
.pi-plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pi-media.is-drawing .pi-plate img{object-fit:contain;padding:16px}
.pi-media.is-empty .pi-plate{display:grid;place-items:center;background:var(--surface-raised);color:var(--muted)}
.pi-media figcaption,.pi-diagram figcaption{margin-top:8px;font-size:12.6px;color:var(--muted)}
.pi-lead .eyebrow{margin-bottom:8px}
.pi-h{font-size:clamp(22px,2.8vw,30px);margin:0 0 12px;letter-spacing:-.02em}
.pi-h em{font-style:normal;font-family:var(--mono);font-size:.6em;font-weight:500;color:var(--accent-strong);
  background:var(--brand-tint);border:1px solid var(--brand-tint-2);border-radius:999px;padding:3px 10px;
  vertical-align:middle;margin-left:6px;white-space:nowrap}
.pi-type{font-size:17.6px;line-height:1.55;color:var(--text);margin:0 0 12px;max-width:60ch}
.pi-what{color:var(--text-2);margin:0 0 14px;max-width:62ch}
.pi-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pi-chips li{font-size:13px;font-weight:600;color:var(--accent-strong);background:var(--brand-tint);
  border:1px solid var(--brand-tint-2);border-radius:999px;padding:4px 12px}

.pi-how{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:34px;align-items:start;
  margin:34px 0 0;padding:28px;border:1px solid var(--line);border-radius:var(--r2);background:var(--surface-raised)}
@media(max-width:860px){.pi-how{grid-template-columns:1fr;padding:18px;gap:18px}}
.pi-diagram{margin:0}
.pi-diagram .dg{display:block;width:100%;height:auto;background:var(--plate);border-radius:var(--r);
  border:1px solid var(--line)}
.pi-how h3,.pi-card h3,.pi-card h5,.ps-general h3{font-size:17.4px;margin:0 0 12px}
.pi-steps{counter-reset:st;list-style:none;margin:0;padding:0}
.pi-steps li{counter-increment:st;position:relative;padding:0 0 13px 40px;color:var(--text-2);font-size:15.2px;line-height:1.55}
.pi-steps li::before{content:counter(st);position:absolute;left:0;top:-1px;width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;font:700 12.6px/1 var(--mono);color:var(--on-brand);background:var(--brand)}
.pi-steps li:not(:last-child)::after{content:"";position:absolute;left:12.5px;top:28px;bottom:2px;width:1px;background:var(--brand-tint-2)}

.pi-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}
@media(max-width:860px){.pi-two{grid-template-columns:1fr}}
.pi-card{border:1px solid var(--line);border-radius:var(--r2);padding:22px 22px 18px;background:var(--surface)}
.pi-parts{margin:0;display:grid;gap:10px}
.pi-parts div{display:grid;grid-template-columns:minmax(110px,.38fr) 1fr;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}
.pi-parts div:last-child{border-bottom:0;padding-bottom:0}
.pi-parts dt{font-weight:700;color:var(--text);font-size:14.4px}
.pi-parts dd{margin:0;color:var(--text-2);font-size:14.4px}
.pi-check{list-style:none;margin:0;padding:0}
.pi-check li{position:relative;padding:0 0 9px 26px;color:var(--text-2);font-size:14.8px;line-height:1.55}
.pi-check li::before{content:"";position:absolute;left:3px;top:7px;width:9px;height:5px;border-left:2px solid var(--accent);
  border-bottom:2px solid var(--accent);transform:rotate(-45deg)}

.pi-src{margin-top:22px;font-size:13.2px;color:var(--muted)}
.pi-src summary{cursor:pointer;font-weight:600;color:var(--muted);width:max-content}
.pi-src summary:hover{color:var(--accent-strong)}
.pi-src ol{margin:10px 0 0;padding-left:20px;display:grid;gap:4px}
.pi-src a{color:var(--accent-strong);text-decoration:underline;text-decoration-color:var(--brand-tint-2);text-underline-offset:2px}

/* specification */
.ps-figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.ps-fig{border:1px solid var(--line);border-radius:var(--r2);padding:16px 18px;background:var(--surface-raised)}
.ps-fig span{display:block;font:500 12.4px/1.3 var(--mono);color:var(--muted);margin-bottom:6px}
.ps-fig b{font-family:var(--fd);font-size:17px;line-height:1.35;color:var(--text);font-weight:700}
.ps-bom table{font-size:13.6px}
.ps-general{margin-top:26px}
.ps-note{font-size:13px;color:var(--muted);margin:12px 0 0;max-width:72ch}

/* applications */
.pa-ind{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pa-ind li{font-size:13.6px;font-weight:600;color:var(--text-2);border:1px solid var(--line-2);border-radius:999px;padding:6px 13px;background:var(--surface-raised)}

/* installation & care */
.pc-safe{margin:20px 0 0;padding:14px 18px;border-left:3px solid var(--accent);background:var(--brand-tint);
  border-radius:0 var(--r) var(--r) 0;color:var(--text);font-size:14.6px}

/* downloads */
.pdl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.pdl{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r2);
  background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .2s var(--ease),transform .2s var(--ease)}
.pdl:hover{border-color:var(--accent);transform:translateY(-1px)}
.pdl-ic{flex:none;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--brand-tint);color:var(--accent-strong)}
.pdl-t{flex:1;min-width:0}
.pdl-t b{display:block;font-size:14.8px}
.pdl-t span{display:block;font-size:13px;color:var(--muted);line-height:1.4}
.pdl-v{flex:none;font-size:12.8px;font-weight:700;color:var(--accent-strong)}

/* diagrams: classes only, colours from the --dg tokens (site.css) */
.dg{font-family:var(--ff)}
.dg-m{fill:var(--dg-metal);stroke:var(--dg-ink);stroke-width:1.4}
.dg-m2{fill:var(--dg-metal-2);stroke:var(--dg-ink);stroke-width:1.4}
.dg-cut{fill:var(--dg-cut);stroke:none}
.dg-s{fill:var(--dg-accent);stroke:var(--dg-accent-strong);stroke-width:1}
.dg-tube{fill:var(--dg-tube);stroke:var(--dg-ink);stroke-width:1.4}
.dg-hose{fill:var(--dg-hose);stroke:var(--dg-ink);stroke-width:1.4}
.dg-w{fill:var(--dg-weld);stroke:var(--dg-ink);stroke-width:1}
.dg-water{fill:none;stroke:var(--dg-water);stroke-width:14;stroke-linecap:round}
.dg-ring{fill:none;stroke:var(--dg-accent);stroke-width:3;stroke-dasharray:6 5}
.dg-pipe{fill:none;stroke:var(--dg-ink);stroke-width:3}
.dg-v{fill:var(--dg-cut);stroke:var(--dg-ink);stroke-width:1.6}
.dg-g{fill:var(--dg-cut);stroke:var(--dg-ink);stroke-width:1.8}
.dg-sp{fill:none;stroke:var(--dg-accent);stroke-width:2}
.dg-f,.dg-a{fill:none;stroke:var(--dg-accent);stroke-width:2.4}
.dg-ah{fill:var(--dg-accent)}
.dg-l{fill:none;stroke:var(--dg-muted);stroke-width:1}
.dg-dot{fill:var(--dg-muted)}
.dg-t{font-size:13px;fill:var(--dg-label)}
.dg-c{font-size:13px;fill:var(--dg-muted)}
.ps-blocks{columns:2 360px;column-gap:20px;margin-top:22px}
.ps-blocks .pi-card{break-inside:avoid;margin:0 0 20px;display:inline-block;width:100%}
@media(max-width:560px){
  .pi-diagram{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -2px}
  .pi-diagram .dg{min-width:500px}
}

/* ---- family listing pages: intro, filters, richer cards, compare
   (tools/listing.py, modules/family-list.js) */
.fintro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;align-items:center;margin:8px 0 40px;
  padding:24px 26px;border:1px solid var(--line);border-radius:var(--r2);background:var(--surface)}
.fintro-t h2{margin:0 0 10px;font-size:clamp(20px,2.2vw,26px)}
.fintro-what{margin:0 0 14px;font-size:15.5px;line-height:1.6;color:var(--text-2);max-width:68ch}
.fintro-uses b,.fintro-certs b{display:block;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.fintro-uses ul{margin:0 0 14px;padding-left:18px;color:var(--text-2);font-size:14.2px;line-height:1.6}
.fintro-certs{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}
.fintro-certs b{width:100%}
.fintro-certs a{font-size:12.8px;font-weight:600;color:var(--accent-strong);padding:4px 10px;border:1px solid var(--brand-tint-2);border-radius:999px;background:var(--brand-tint)}
.fintro-dg{margin:0;background:var(--plate);border-radius:calc(var(--r2) - 4px);padding:10px}
.fintro-dg svg{display:block;width:100%;height:auto;max-height:230px}
.fintro-dg figcaption{font-size:11.5px;color:var(--dg-muted);margin-top:4px;text-align:right}
@media(max-width:860px){.fintro{grid-template-columns:1fr;padding:18px}}

.lsec{padding-top:22px}
.lf{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin:0 0 22px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r2);background:var(--surface-raised)}
.lf-top{display:flex;align-items:center;gap:12px;flex:0 0 auto;order:9;margin-left:auto}
.lf-top input{flex:0 1 320px;min-width:0;padding:8px 12px;border:1px solid var(--line-2);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:14px}
.lf-top input:focus{outline:2px solid var(--accent);outline-offset:-1px}
.lf-n{font-weight:650;color:var(--text-2);font-size:13.5px}
.lf-clear,.lf-clear-in{background:none;border:0;padding:0;font:inherit;font-size:13px;font-weight:650;color:var(--accent-strong);text-decoration:underline;cursor:pointer}
.lf-g{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.lf-l{flex:none;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.lf-chip{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;flex:none;padding:5px 10px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);color:var(--text-2);font:600 12.5px/1.2 var(--ff);cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.lf-chip i{font-style:normal;font-size:11px;color:var(--muted)}
.lf-chip:hover{border-color:var(--brand)}
.lf-chip[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.lf-chip[aria-pressed="true"] i{color:color-mix(in srgb,var(--on-brand) 75%,transparent)}
.lf-none{padding:30px 0;color:var(--muted)}
@media(max-width:640px){.lf{gap:8px}.lf-g{flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.lf-top input{flex:1 1 auto}}

.fcard{position:relative;container-type:inline-size}
.fcard-link{display:flex;flex-direction:column;flex:1;color:inherit}
.fcard-body{display:flex;flex-direction:column;flex:1;padding-bottom:40px}
.fcard-p{display:flex;align-items:baseline;gap:6px;margin:8px 16px 0}
.fcard-p span{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:700}
.fcard-p b{font:700 14px/1.2 var(--mono);color:var(--text)}
.fcard-chips{display:flex;flex-wrap:wrap;gap:5px;margin:8px 16px 0}
.fcard-chip{font-size:11.5px;font-weight:650;padding:3px 8px;border-radius:6px;background:var(--brand-tint);color:var(--accent-strong)}
.fcard .tf-s{margin-top:auto}
/* mini enquiry button: a small round button top-right over the picture.
   "+" adds, teal with a tick means it is on the list (click again to take it
   off); the word slides out on hover / keyboard focus. Pops when added. */
.fcard-enq{position:absolute;right:10px;top:10px;z-index:var(--z-raised);height:32px;min-width:32px;padding:0 8px;border-radius:999px;
  border:1.5px solid var(--brand);background:var(--surface);color:var(--accent-strong);display:inline-flex;align-items:center;justify-content:center;
  font:700 12px/1 var(--ff);cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.fcard-enq .t{max-width:0;overflow:hidden;white-space:nowrap;opacity:0;transition:max-width .22s var(--ease),opacity .18s,margin .22s var(--ease)}
.fcard-enq:hover .t,.fcard-enq:focus-visible .t{max-width:70px;opacity:1;margin-left:5px}
.fcard-enq svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.fcard-enq .ck{display:none}
.fcard-enq:hover{background:var(--brand-tint)}
.fcard-enq.is-added{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.fcard-enq.is-added .pl{display:none}
.fcard-enq.is-added .ck{display:inline;stroke-dasharray:22;stroke-dashoffset:0}
.fcard-enq.is-added:hover{background:var(--brand-strong);border-color:var(--brand-strong)}
.fcard-enq.pop{animation:enq-pop .45s cubic-bezier(.3,1.6,.5,1)}
.fcard-enq.pop .ck{animation:enq-tick .35s ease-out}
@keyframes enq-pop{0%{transform:scale(1)}40%{transform:scale(1.18)}100%{transform:scale(1)}}
@keyframes enq-tick{from{stroke-dashoffset:22}to{stroke-dashoffset:0}}
.cmp-tbl .fcard-enq{position:static;height:34px;padding:0 14px 0 11px;font-size:13px}
.cmp-tbl .fcard-enq .t{max-width:none;opacity:1;margin-left:5px}
.fcard-cmp{position:absolute;right:14px;bottom:12px;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted);cursor:pointer}
.fcard-cmp input{width:15px;height:15px;accent-color:var(--brand);margin:0}
.fcard-cmp:has(input:checked){color:var(--accent-strong)}
.fcard-cmp:has(input:disabled){opacity:.45;cursor:not-allowed}
.fcard .tf-s{position:absolute;left:16px;bottom:13px;padding:0}

.cmp-tray{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:var(--z-compare);display:flex;align-items:center;gap:14px;
  padding:10px 12px 10px 18px;border-radius:999px;background:var(--deep);color:var(--on-deep);font-size:14px;font-weight:600;
  box-shadow:0 14px 34px color-mix(in srgb,var(--shadow-ink) 35%,transparent)}
.cmp-tray[hidden]{display:none}
.cmp-tray .btn{padding:8px 18px;min-height:0}
.cmp-th{display:flex;gap:6px}
.cmp-tray,.cmp-chip{white-space:nowrap}
.cmp-chip{position:relative;display:inline-flex;align-items:center;gap:7px;padding:4px 8px 4px 4px;border-radius:999px;background:color-mix(in srgb,var(--on-deep) 10%,transparent);font-family:var(--mono);font-size:12px;font-weight:500}
.cmp-chip img{width:32px;height:32px;border-radius:50%;object-fit:contain;background:var(--plate)}
.cmp-un{width:20px;height:20px;border-radius:50%;border:0;background:color-mix(in srgb,var(--on-deep) 16%,transparent);color:var(--on-deep);font-size:15px;line-height:1;cursor:pointer;padding:0}
.cmp-un:hover{background:var(--brand)}
.cmp-tray .btn:disabled{opacity:.5;cursor:default}
.cmp-x{background:none;border:0;color:var(--on-deep-muted);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}
.cmp-dlg{border:0;padding:0;margin:auto;max-width:none;border-radius:var(--r2);width:min(980px,calc(100vw - 24px));max-height:calc(100vh - 40px);background:var(--surface);color:var(--text);
  box-shadow:0 30px 80px color-mix(in srgb,var(--shadow-ink) 40%,transparent)}
.cmp-dlg::backdrop{background:color-mix(in srgb,var(--shadow-ink) 55%,transparent)}
.cmp-in{padding:20px 22px 24px}
.cmp-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cmp-hd h2{margin:0;font-size:22px}
.cmp-close{width:36px;height:36px;border-radius:50%;border:0;background:var(--surface-raised);color:var(--text);display:grid;place-items:center;cursor:pointer}
.cmp-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.cmp-sw{display:inline-flex;align-items:center;gap:9px;margin-left:auto;margin-right:12px;font-size:13.5px;font-weight:600;cursor:pointer}
.cmp-sw input{position:absolute;opacity:0;pointer-events:none}
.cmp-sw-t{position:relative;width:38px;height:22px;border-radius:999px;background:var(--line-2);transition:background .2s var(--ease)}
.cmp-sw-t:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--surface);box-shadow:0 1px 3px color-mix(in srgb,var(--shadow-ink) 30%,transparent);transition:transform .2s var(--ease)}
.cmp-sw input:checked+.cmp-sw-t{background:var(--brand)}
.cmp-sw input:checked+.cmp-sw-t:after{transform:translateX(16px)}
.cmp-sw input:focus-visible+.cmp-sw-t{outline:2px solid var(--accent);outline-offset:2px}
.cmp-tbl{overflow:auto;max-height:calc(100vh - 150px)}
.cmp-tbl thead th{position:sticky;top:0;z-index:var(--z-raised);background:var(--surface);position:sticky}
.cmp-tbl thead th{box-shadow:0 1px 0 var(--line)}
.cmp-rm{position:absolute;right:8px;top:8px;z-index:var(--z-overlay);width:24px;height:24px;border-radius:50%;border:0;background:var(--surface-raised);color:var(--text);cursor:pointer;font-size:16px;line-height:1;padding:0}
.cmp-rm:hover{background:var(--brand);color:var(--on-brand)}
.cmp-tbl thead th{position:sticky}
.cmp-tbl thead th[scope=col]{position:sticky}
.cmp-tbl tr.differs td{font-weight:600}
.cmp-tbl tbody th i{display:block;font-style:normal;text-transform:none;letter-spacing:0;font-weight:500;color:var(--accent);font-size:11px;margin-top:2px}
.cmp-tbl.diff-only tr.same{display:none}
.cmp-tbl table{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}
.cmp-tbl th,.cmp-tbl td{text-align:left;vertical-align:top;padding:11px 12px;border-top:1px solid var(--line)}
.cmp-tbl thead th{border-top:0}
.cmp-tbl tbody th{width:150px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cmp-tbl thead th[scope=col]{position:sticky;padding-right:12px}
.cmp-tbl thead a{display:flex;flex-direction:column;gap:3px;color:var(--text)}
.cmp-tbl thead a b{font-family:var(--mono);color:var(--accent-strong)}
.cmp-tbl thead a span{font-size:13.5px;font-weight:600}
.cmp-im{display:block;aspect-ratio:4/3;background:var(--plate);border-radius:8px;margin-bottom:8px;overflow:hidden}
.cmp-im img{width:100%;height:100%;object-fit:contain}
.cmp-tbl ul{margin:0;padding-left:16px;line-height:1.5}
.cmp-tbl .btn{padding:8px 14px;min-height:0;font-size:13px}

/* phones: the comparison reads down the page instead of scrolling sideways - each attribute is a small label,
   then the chosen models side by side beneath it; the compare tray leaves room for the assistant button */
@media(max-width:700px){
  .cmp-tray{left:12px;right:84px;transform:none;bottom:14px;gap:10px;padding:8px 10px 8px 14px;justify-content:space-between}
  .cmp-tray #cmpTxt{font-size:13px;line-height:1.25;flex:1;min-width:0}
  .cmp-tray .btn{padding:8px 14px;flex:none}
  .cmp-dlg{width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}
  .cmp-in{padding:16px 14px 20px}
  .cmp-tbl{overflow:visible;max-height:none}
  .cmp-tbl thead th[scope=col],.cmp-tbl thead th{position:relative}
  .cmp-rm{right:2px;top:2px}
  .cmp-chip b{display:none}
  .cmp-sw{margin-right:8px;font-size:12.5px}
  .cmp-tbl table,.cmp-tbl thead,.cmp-tbl tbody{display:block;min-width:0;width:100%}
  .cmp-tbl tr{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:0 12px;border-top:1px solid var(--line);padding:8px 0}
  .cmp-tbl thead tr{border-top:0}
  .cmp-tbl th,.cmp-tbl td{border:0;padding:3px 0;font-size:13px;min-width:0;overflow-wrap:anywhere}
  .cmp-tbl th:empty{display:none}
  .cmp-tbl tbody th[scope="row"]{grid-column:1/-1;width:auto;padding:4px 0 0;font-size:11px}
  .cmp-tbl ul{padding-left:14px}
}

/* phones: two narrow columns - the size count and the Compare box stack instead of colliding (21 Oct) */
@media(max-width:520px){
  .fcard-body{padding-bottom:62px}
  .fcard .tf-s{bottom:36px}
  .fcard-cmp{left:16px;right:auto;bottom:11px}
}
/* phones (1 Dec 2026): Compare sat on the chips and the name; it now takes its own row under the chips, in flow */
@media(max-width:560px){
  .fcard .fcard-cmp{position:static;align-self:flex-start;margin:calc(var(--sec-y) * -.1) 14px calc(var(--sec-y) * .1)}
  .pd-sec-hero .fcard .fcard-cmp{margin-left:10px;margin-right:10px}
}
@media(max-width:700px){.cmp-tray #cmpTxt{display:none}.cmp-th{gap:5px}.cmp-un{width:22px;height:22px}}
.fintro-certs+.fintro-ind{margin-top:14px}
/* ---- compact model cards (26 Oct): name only - the pressure and ends have their own marks ---- */
.tf-grid{gap:24px 16px}
.tf-c{padding:9px 14px 0;font-size:12px}
.tf-n{padding:2px 14px 0;font-size:14.4px;line-height:1.3}
.tf-s{padding:3px 14px 12px;font-size:12.2px}
.fcard-body{padding-bottom:32px}
.fcard-p{margin:5px 14px 0}
.fcard-chips{margin:6px 14px 0;gap:4px}
.fcard-chip{font-size:11px;padding:2px 7px}
.fcard .tf-s{left:14px;bottom:10px}
.fcard-cmp{right:12px;bottom:8px}
.rel{gap:14px}
.rel a{padding:8px 8px 10px}
.rel-im{margin-bottom:8px}
.rel .n{margin-top:2px;font-size:14px;line-height:1.3}
@media(max-width:560px){.fcard-body{padding-bottom:54px}.fcard .tf-s{bottom:32px}.fcard-cmp{left:14px;bottom:8px}.rel{gap:10px}}
@container (max-width:210px){.fcard-p span{font-size:0}.fcard-p span:before{content:"Max";font-size:10.5px;letter-spacing:.05em}.fcard-p b{font-size:13.5px;white-space:nowrap}}
@media(max-width:560px){.pd-sec-hero .fcard-p,.pd-sec-hero .fcard-chips{margin-left:10px;margin-right:10px}.pd-sec-hero .fcard .tf-s,.pd-sec-hero .fcard-cmp{left:10px}}
/* ---- wish-list heart on the model card (26 Oct): in the product-code line, not on the photo ---- */
.fcard-p,.fcard .tf-s{display:none}
.fcard-body{padding-bottom:30px}
.fcard .tf-c{padding-right:44px}
.fcard-chip.is-psi{font-family:var(--mono);font-size:11px}
.wish{position:absolute;right:8px;top:calc(75cqw + 7px);z-index:var(--z-raised);width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;transition:color .2s var(--ease),transform .2s var(--ease)}
.wish svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;transition:fill .2s var(--ease),stroke .2s var(--ease),transform .3s cubic-bezier(.3,1.6,.5,1)}
.wish:hover{color:var(--accent)}
.wish:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.wish.is-on{color:var(--accent)}
.wish.is-on svg{fill:currentColor}
.wish .wr{position:absolute;inset:3px;border-radius:50%;border:1.5px solid var(--accent);opacity:0;pointer-events:none}
.wish.burst svg{animation:wish-pop .5s cubic-bezier(.3,1.6,.5,1)}
.wish.burst .wr{animation:wish-ring .6s ease-out}
.wish.burst:after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,transparent 55%,var(--accent) 56%,transparent 60%) ;opacity:0;animation:wish-ring2 .65s .06s ease-out}
@keyframes wish-pop{0%{transform:scale(.7)}45%{transform:scale(1.3)}100%{transform:scale(1)}}
@keyframes wish-ring{0%{transform:scale(.4);opacity:.9}100%{transform:scale(1.9);opacity:0}}
@keyframes wish-ring2{0%{transform:scale(.6);opacity:.5}100%{transform:scale(2.3);opacity:0}}
@media(prefers-reduced-motion:reduce){.wish.burst svg,.wish.burst .wr,.wish.burst:after{animation:none}}
@container (max-width:210px){.fcard-chips{gap:3px}.fcard-chip{font-size:10.5px;padding:2px 5px}.fcard-chip.is-psi{font-size:10.5px}}
/* compare: a small icon beside the heart (26 Oct) - ticking it fills it; the tray below says how many */
.fcard-cmp{position:absolute;right:38px;top:calc(75cqw + 7px);bottom:auto;left:auto;z-index:var(--z-raised);width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--muted);cursor:pointer;gap:0;transition:color .2s var(--ease),background .2s var(--ease)}
.fcard-cmp input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.fcard-cmp svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;pointer-events:none}
.fcard-cmp span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.fcard-cmp:hover{color:var(--accent)}
.fcard-cmp:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:1px}
.fcard-cmp:has(input:checked){background:var(--brand);color:var(--on-brand)}
.fcard-cmp:has(input:checked) svg{fill:currentColor;fill-opacity:.25}
.fcard-cmp:has(input:disabled){opacity:.4;cursor:not-allowed}
.fcard .tf-c{padding-right:72px}
.fcard-body{padding-bottom:12px}
@container (max-width:250px){
  .fcard .tf-c{padding-right:58px}
  .wish,.fcard-cmp{width:26px;height:26px}
  .wish{right:5px}
  .fcard-cmp{right:31px}
  .fcard-body{padding-bottom:12px}
}
@media(max-width:560px){.pd-sec-hero .fcard-cmp{left:auto;right:31px}}

/* tab bar: dark strip, mono capitals, teal active plate (Siddhesh, 26 Oct - L3d without numbers) */
.pd-tabs{gap:0;padding:0;overflow-y:hidden;background:var(--deep);border:1px solid var(--deep);border-radius:0;
  box-shadow:0 12px 26px -16px color-mix(in srgb,var(--shadow-ink) 55%,transparent)}
.pd-tabs [role="tab"]{flex:1 1 0;min-height:54px;padding:14px 22px;border:0;border-radius:0;background:transparent;
  color:var(--on-deep-muted);font:600 12.5px/1 var(--mono);letter-spacing:.09em;text-transform:uppercase;
  border-right:1px solid color-mix(in srgb,var(--on-deep) 18%,transparent)}
.pd-tabs [role="tab"]:last-child{border-right:0}
.pd-tabs [role="tab"] .pt-ic{display:none}
.pd-tabs [role="tab"]:hover{background:transparent;border-color:color-mix(in srgb,var(--on-deep) 18%,transparent);color:var(--on-deep);transform:none}
.pd-tabs [role="tab"][aria-selected="true"]{background:var(--brand);color:var(--on-brand);box-shadow:none}
@media(max-width:720px){.pd-tabs{padding:0;margin-bottom:22px}.pd-tabs [role="tab"]{flex:0 0 auto;min-height:48px;padding:12px 16px;font-size:12px}}

/* heart top right over the photo; Compare a labelled pill top left (26 Oct) */
.fcard .wish{top:10px;right:10px;width:32px;height:32px;background:var(--surface);color:var(--muted);box-shadow:0 0 0 1px var(--line);z-index:var(--z-overlay)}
.fcard .wish svg{width:18px;height:18px}
.fcard .wish:hover{box-shadow:0 0 0 1px var(--accent)}
.fcard .wish.is-on{background:var(--brand);color:var(--on-brand);box-shadow:none}
.fcard .fcard-cmp{right:8px}
.fcard .tf-c{padding-right:40px}
@media(max-width:560px){.fcard .wish{right:6px;top:6px}}
@container (max-width:250px){.fcard .fcard-cmp{right:5px}.fcard .tf-c{padding-right:34px}}

/* stamped spec marks (Siddhesh, 26 Oct: option H1) */
.fcard-chip{font-family:var(--mono);font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 7px;border:1.5px solid var(--text);border-radius:3px;background:transparent;color:var(--text)}
.fcard-chip.is-psi{background:var(--text);color:var(--surface);font-size:10.5px}
@container (max-width:210px){.fcard-chip,.fcard-chip.is-psi{font-size:9.5px;padding:2px 5px;letter-spacing:.04em}}

/* chevron spec marks, light tint (Siddhesh, 26 Oct: option L2). One line always: the size follows the card width,
   the strip sits right under the title and leaves the spare room at the bottom of the card */
.fcard-chips{display:flex;flex-wrap:nowrap;gap:0;align-items:center;min-width:0;overflow:hidden;margin-top:8px;
  font-size:clamp(7.5px,3.4cqw,10.5px)}
.fcard-chip,.fcard-chip.is-psi{flex:0 0 auto;white-space:nowrap;border:0;border-radius:0;background:var(--brand-tint);color:var(--text);
  font-family:var(--mono);font-weight:700;font-size:1em;letter-spacing:.05em;text-transform:uppercase;
  padding:.5em 1.3em .5em 1.5em;margin-left:-.55em;
  clip-path:polygon(0 0,calc(100% - .75em) 0,100% 50%,calc(100% - .75em) 100%,0 100%,.75em 50%)}
.fcard-chip.is-psi,.fcard-chip:first-child{margin-left:0;padding-left:1em;background:color-mix(in srgb,var(--brand) 28%,var(--brand-tint));
  clip-path:polygon(0 0,calc(100% - .75em) 0,100% 50%,calc(100% - .75em) 100%,0 100%)}
.fcard-chip:first-child:not(.is-psi){background:var(--brand-tint)}
@container (max-width:230px){.fcard-chips{font-size:clamp(7px,4.9cqw,9.5px)}.fcard-chip,.fcard-chip.is-psi{letter-spacing:0;padding:.5em .95em .5em 1.15em;margin-left:-.5em}.fcard-chip.is-psi,.fcard-chip:first-child{padding-left:.7em;margin-left:0}}

/* readability pass (26 Oct): bigger type, stronger contrast; pressure solid teal, the rest a clear tint */
.fcard-chips{font-size:clamp(9px,3.7cqw,11.5px)}
.fcard-chip,.fcard-chip.is-psi{background:color-mix(in srgb,var(--brand) 18%,var(--surface));color:var(--text);font-weight:800;letter-spacing:.03em}
.fcard-chip.is-psi,.fcard-chip:first-child:not(.is-psi){background:var(--brand);color:var(--on-brand)}
@container (max-width:230px){.fcard-chips{font-size:clamp(9px,4.9cqw,10.5px)}}

/* heart alone on the photo - no circle (26 Oct) */
.fcard .wish,.fcard .wish:hover,.fcard .wish.is-on{background:transparent;box-shadow:none}
.fcard .wish{color:var(--ink-soft,var(--muted))}
.fcard .wish:hover{color:var(--accent)}
.fcard .wish.is-on{color:var(--accent)}
.fcard .wish:focus-visible{outline:0}
.fcard .wish svg{width:22px;height:22px}

.cf-matnote{grid-column:1/-1;margin:2px 0 0;font-size:13px;line-height:1.5;color:var(--muted-2)}
.cfg>.cf-matnote{margin:12px 0 0}

.u-wrap{display:flex;align-items:center;gap:12px;margin:0 0 10px;flex-wrap:wrap}
.u-cap{font-size:12.5px;color:var(--muted-2)}
.u-sw{display:inline-flex;border:1px solid var(--line-2);border-radius:999px;padding:2px;background:var(--surface)}
.u-sw button{font:inherit;font-size:12.5px;font-weight:650;padding:5px 14px;border:0;border-radius:999px;background:transparent;color:var(--text-2);cursor:pointer}
.u-sw button[aria-pressed="true"]{background:var(--brand);color:var(--on-brand)}
.u-top{margin:0 0 14px}

/* design pass 1 (2 Nov): no photo and no drawing - the type's schematic stands in, sized to the drawing */
.pd-shot.is-schem{aspect-ratio:auto;padding:clamp(14px,3%,30px)}
.pd-shot.is-schem .dg{display:block;width:100%;height:auto;max-height:420px}
/* family pages: what the family is, in one line above the filters, linking to the full introduction (audit 20) */
.fam-lead{margin:0 0 16px;max-width:76ch;font-size:15.5px;line-height:1.55;color:var(--text-2)}
.fam-lead a{white-space:nowrap;font-weight:650;color:var(--accent-strong)}
.fam-lead a i{font-style:normal}
#about{scroll-margin-top:calc(var(--hdr,80px) + 16px)}

/* wish-list heart in pink (2 Nov, Siddhesh): hover, filled state and the burst rings */
.wish:hover,.fcard .wish:hover,.wish.is-on,.fcard .wish.is-on{color:var(--heart)}
.wish .wr{border-color:var(--heart)}
.wish.burst:after{background:radial-gradient(circle,transparent 55%,var(--heart) 56%,transparent 60%)}
.wish:focus-visible{outline-color:var(--heart)}

/* "Other <family>" strip, tidy ends (2 Nov, Siddhesh): the six cards share the full row instead of leaving a gap on the
   right, and "Explore other ranges" sits at the right end of the heading row */
.rel-h{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin-bottom:18px}
.rel-h h2{margin:0}
.rel-all{white-space:nowrap}
.rel{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1100px){.rel{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.rel{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Technical data from the catalogue (Phase 2, 2 Nov): tables on the Specification tab and, folded, on the family
   page under "How to choose" */
.ps-tech,.fintro-tech{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:20px;align-items:start}
table.ps-tt th,table.ps-tt td{white-space:normal;vertical-align:top}
table.ps-tt thead th{white-space:nowrap}
.is-wide table.ps-tt td,.is-wide table.ps-tt th{white-space:nowrap}
[data-skin] table.ps-tt td{font-family:var(--ff, inherit)}
.is-wide table.ps-tt td{font-family:var(--mono)}
.ps-tech .is-wide,.fintro-tech .is-wide{grid-column:1/-1}
.ps-tt th[scope="row"]{font-weight:600;text-align:left}
.ps-tt td:empty:before{content:"–";color:var(--muted)}
.ps-tech .pi-card,.fintro-tech .pi-card{min-width:0}
.fintro-guide{grid-column:1/-1;display:grid;gap:18px;border-top:1px solid var(--line);padding-top:24px}
.fintro-choose h3{font-size:17px;margin:0 0 10px}
.fintro-choose .pi-check{columns:2 320px;column-gap:28px}
.fintro-choose .pi-check li{break-inside:avoid}
.fintro-more{border:1px solid var(--line);border-radius:var(--r2);background:var(--surface)}
.fintro-more>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:14px 18px;font-weight:600}
.fintro-more>summary::-webkit-details-marker{display:none}
.fintro-more>summary:before{content:"+";display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);
  color:var(--accent);font-weight:700;flex:none;transition:transform .2s var(--ease)}
.fintro-more[open]>summary:before{content:"–"}
.fintro-more>summary span{margin-left:auto;font-weight:500;font-size:13px;color:var(--muted)}
.fintro-more>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fintro-more>.fintro-tech{padding:0 18px 18px}
@media(max-width:560px){
  table.ps-tt th,table.ps-tt td{padding:7px 8px;font-size:12.8px}
  table.ps-tt thead th{white-space:normal}
  .ps-tech .pi-card,.fintro-tech .pi-card{padding-left:14px;padding-right:14px}
  .fintro-more>.fintro-tech{padding:0 10px 12px}
}

/* ---- Phase 6, pattern 1: key figures under the product title (Hilti); now one line, .pd-line */
.pd-psi{display:inline-block;font:600 15px/1 var(--mono);background:var(--signal);color:var(--on-signal);padding:4px 7px;border-radius:2px}
.pd-fn{font:600 10px/1 var(--mono);margin-left:3px;vertical-align:super}
.pd-fn a{color:var(--accent);text-decoration:none}
.pd-notes{margin:8px 0 0;font-size:12.5px;color:var(--muted)}
.pd-notes span{font-family:var(--mono);color:var(--accent);margin-right:4px}
[data-skin="classic"] .pd-psi{background:var(--text);color:var(--surface)}

/* ---- Phase 6, pattern 2: file type and size on downloads (Festool) */
.pdl-t .pdl-m{display:inline-block;margin-top:5px;font:500 11.5px/1.2 var(--mono);color:var(--muted);letter-spacing:.02em;
  border:1px solid var(--line);padding:2px 6px;border-radius:2px}

/* ---- Phase 6, pattern 4: the bar that stays on family pages (Apple local nav) - modules/fam-sticky.js */
.fam-sticky{position:fixed;left:0;right:0;top:var(--hdr-live,117px);z-index:var(--z-family-bar);background:color-mix(in srgb,var(--surface) 96%,transparent);
  -webkit-backdrop-filter:saturate(160%) blur(16px);backdrop-filter:saturate(160%) blur(16px);border-bottom:1px solid var(--line);
  box-shadow:var(--shadow);transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .25s var(--ease),transform .25s var(--ease),visibility 0s .25s}
.fam-sticky.on{opacity:1;transform:none;visibility:visible;transition:opacity .25s var(--ease),transform .25s var(--ease)}
.fam-sticky-in{display:flex;align-items:center;gap:10px 24px;min-height:52px}
.fs-name{display:flex;align-items:baseline;gap:8px;font-weight:700;font-size:16px;color:var(--text);white-space:nowrap}
.fs-name small{font:500 12px/1 var(--mono);color:var(--muted)}
.fs-nav{display:flex;gap:4px 18px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.fs-nav::-webkit-scrollbar{display:none}
.fs-nav a{font-size:13.5px;color:var(--muted);text-decoration:none;white-space:nowrap;padding:16px 0 14px;border-bottom:2px solid transparent}
.fs-nav a:hover{color:var(--text)}
.fs-nav a.is-on{color:var(--text);font-weight:600;border-bottom-color:var(--brand)}
.fs-acts{display:flex;gap:8px;flex:none}
.fs-acts button{font:600 12.5px/1 var(--ff);border:1px solid var(--line);background:var(--surface);color:var(--text);padding:8px 11px;border-radius:var(--r);cursor:pointer;display:flex;gap:6px;align-items:center}
.fs-acts button b{font-family:var(--mono);font-weight:600;font-size:11.5px;color:var(--muted)}
.fs-acts .fs-enq{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.fs-acts .fs-enq b{color:inherit;opacity:.85}
.fs-acts button:disabled{opacity:.55;cursor:default}
.fs-acts button:focus-visible,.fs-nav a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#lf,#about,#choose,#tech{scroll-margin-top:calc(var(--hdr-live,117px) + 64px)}
@media (max-width:860px){
  .fam-sticky-in{gap:8px 14px;min-height:46px}
  .fs-name{font-size:14px}
  .fs-name small,.fs-acts .fs-cmp{display:none}
  .fs-nav a{font-size:12.5px;padding:13px 0 11px}
  .fs-acts button{padding:7px 9px;font-size:12px}
}
@media (max-width:480px){.fs-name{display:none}}

/* ---- Phase 6, pattern 8: tabs on the "Other models" strip (Hilti) - modules/rel-shuffle.js */
.rel-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.rel-tabs button{font:600 13px/1 var(--ff);border:1px solid var(--line);background:var(--surface);color:var(--text);
  padding:9px 12px;border-radius:var(--r);cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.rel-tabs button i{font:500 11px/1 var(--mono);font-style:normal;color:var(--muted)}
.rel-tabs button:hover{border-color:var(--accent)}
.rel-tabs button[aria-pressed="true"]{background:var(--text);border-color:var(--text);color:var(--surface)}
.rel-tabs button[aria-pressed="true"] i{color:inherit;opacity:.75}
.rel-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* heart burst outside the card (6 Nov, Siddhesh: "only inside the box, I want it outside the box as well"): the card no
   longer clips, the photo keeps its rounded top corners itself, and the rings spread past the card edge, over the
   neighbours while they play */
.fcard.tf-card{overflow:visible}
.fcard .tf-im{border-radius:calc(var(--r2) - 2px) calc(var(--r2) - 2px) 0 0}
.fcard:has(.wish.burst){z-index:var(--z-local-top)}
.wish.burst .wr{animation:wish-ring-out .75s ease-out}
.wish.burst:after{animation:wish-ring2-out .85s .06s ease-out}
.wish.burst:before{content:"";position:absolute;inset:-6px;border-radius:50%;pointer-events:none;opacity:0;
  background:radial-gradient(circle,color-mix(in srgb,var(--heart) 34%,transparent) 0,transparent 66%);animation:wish-glow .8s ease-out}
@keyframes wish-ring-out{0%{transform:scale(.4);opacity:.95}100%{transform:scale(3.6);opacity:0}}
@keyframes wish-ring2-out{0%{transform:scale(.6);opacity:.6}100%{transform:scale(4.6);opacity:0}}
@keyframes wish-glow{0%{transform:scale(.5);opacity:.9}100%{transform:scale(4);opacity:0}}
@media(prefers-reduced-motion:reduce){.wish.burst:before{animation:none}}

/* product page first look (7 Nov, Siddhesh): the whole top fits one screen; the thumbnails are a column
   at the left of the picture box; the picture is sized by the screen height, not its width */
.pd-gal{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:start}
.pd-gal .pd-thumbs{flex-direction:column;flex-wrap:nowrap;margin:0;gap:8px}
.pd-gal .pd-thumbs button{flex:0 0 auto;width:72px;height:60px}
.pd-gal-main{min-width:0}
@media(min-width:981px){
  .pd-head h1{font-size:clamp(26px,3vw,38px);margin:0 0 6px}
  .pd-lede{font-size:15.5px;margin:0 0 12px}
  .pd-top{padding:18px 0 22px;gap:28px}
  .pd-gal .pd-shot{aspect-ratio:auto;height:clamp(280px,calc(100vh - 470px),560px)}
  .pd-cap{margin-top:6px;min-height:0}
  .pd-build{padding-top:14px}
  .pd-build > .sub{margin-bottom:10px}
}
@media(max-width:640px){
  .pd-gal{grid-template-columns:1fr}
  .pd-gal .pd-thumbs{flex-direction:row;flex-wrap:wrap;order:2}
  .pd-gal .pd-shot{aspect-ratio:4/3}
}
@media(min-width:981px){
  .pd-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:end}
  .pd-head h1{grid-column:1/-1}
  .pd-head .pd-lede{grid-column:1;margin:0;align-self:center}
  .pd-top{padding-top:14px}
  .pd-gal .pd-thumbs{max-height:clamp(280px,calc(100vh - 430px),560px);overflow-y:auto;scrollbar-width:thin}
}

/* family pages, first look (7 Nov, Siddhesh): banner, one-line facts, filters and the first cards in one
   screen - the intro sentence waits for the About block (and the sticky bar's About link) */
@media(min-width:981px){
  .pd-hero{--ext:0px!important}
  .pd-hero-ph{--phh:min(270px,34vh)}
  .fam-lead{display:none}
  .pd-bar-in{padding-top:9px;padding-bottom:9px}
}

/* compare, a labelled button (7 Nov, Siddhesh: the two-bars icon alone told nobody what it was) */
.fcard-cmp{width:auto;height:26px;right:44px;padding:0 9px 0 7px;gap:5px;grid-auto-flow:column;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
.fcard-cmp span{position:static;width:auto;height:auto;overflow:visible;clip:auto;font:600 11.5px/1 var(--sans,inherit);letter-spacing:.01em}
.fcard-cmp svg{width:15px;height:15px}
.fcard-cmp:hover{border-color:var(--accent)}
.fcard-cmp:has(input:checked){border-color:var(--brand)}
.fcard-cmp:has(input:checked) span:after{content:"ed"}
@container (max-width:250px){.fcard-cmp{width:auto;height:24px;right:34px}}

/* product page first look, soft cards (10 Nov, Siddhesh's mock): name | code and one quiet line; the picture
   in a card with its thumbnails in a row under it and the two downloads; "Configure your ..." in a card
   beside it (Inch / Metric switch, plain labels, quantity, order code with Copy, one wide button); the
   tabs in a card of their own with the chosen size's figures as a strip. Markup: build_product_page.py
   (gallery_links, ORDER_CODE, QTY, DIM_STRIP), behaviour: modules/pd-first.js. */
body[data-pd]{--pd-card-r:22px;--pd-card-sh:0 1px 2px color-mix(in srgb,var(--shadow-ink) 5%,transparent),0 14px 34px -10px color-mix(in srgb,var(--shadow-ink) 14%,transparent)}
body[data-pd] .pd-head{display:block;padding:10px 0 0;border:0}
body[data-pd] .pd-head h1{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 22px;margin:0 0 6px;font-size:clamp(28px,3.2vw,42px);
  letter-spacing:-.02em;text-transform:none}
body[data-pd] .pd-head h1 em{position:relative;padding-left:23px;font-size:.78em;font-weight:500;letter-spacing:0;color:var(--muted)}
body[data-pd] .pd-head h1 em::before{content:"";position:absolute;left:0;top:.16em;bottom:.12em;width:2px;border-radius:2px;background:var(--line-2)}
body[data-pd] .pd-line{display:flex;flex-wrap:wrap;gap:2px 9px;margin:0;max-width:none;font-size:16.5px;color:var(--muted)}
body[data-pd] .pd-line i{font-style:normal;color:var(--line-2)}
body[data-pd] .pd-line .pd-psi{font-family:inherit;font-weight:650;color:var(--text-2);background:none;padding:0}
body[data-pd] .pd-line .mono{font-family:inherit}

body[data-pd] .pd-top{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:stretch;padding:20px 0 0}
body[data-pd] :is(.pd-galcard,.pd-build,.pd-dtl){background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--pd-card-r);
  box-shadow:var(--pd-card-sh)}

/* picture card */
body[data-pd] .pd-galcard{display:flex;flex-direction:column;padding:18px 18px 16px}
body[data-pd] .pd-gal{display:flex;flex-direction:column;align-items:stretch;gap:14px;flex:1}
body[data-pd] .pd-gal-main{order:1;flex:1;display:flex;flex-direction:column}
body[data-pd] .pd-gal .pd-shot{flex:1;aspect-ratio:auto;height:auto;min-height:clamp(250px,calc(100vh - 560px),470px);border-radius:16px}
body[data-pd] .pd-shot img{object-fit:contain}
body[data-pd] .pd-cap{margin:8px 4px 0;min-height:0;text-align:center}
body[data-pd] .pd-cap:empty{display:none}
body[data-pd] .pd-gal .pd-thumbs{order:2;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:12px;margin:0;max-height:none;overflow:visible}
body[data-pd] .pd-gal .pd-thumbs button{flex:0 0 auto;width:104px;height:70px;border-radius:12px;border-color:var(--line);transition:border-color .15s,box-shadow .15s}
body[data-pd] .pd-gal .pd-thumbs button:hover{border-color:var(--brand-tint-2)}
body[data-pd] .pd-gal .pd-thumbs button[aria-current="true"]{border:2px solid var(--accent);box-shadow:0 0 0 3px var(--brand-tint)}
body[data-pd] .pd-thumbs img{object-fit:contain}
body[data-pd] .pd-thumbs .t-tag{display:none}
body[data-pd] .pd-gal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 0;margin:14px 0 0;font-size:14.5px;font-weight:600}
body[data-pd] .pd-gal-links a{display:inline-flex;align-items:center;gap:8px;padding:2px 22px;color:var(--accent);text-decoration:none}
body[data-pd] .pd-gal-links a+a{border-left:1px solid var(--line-2)}
body[data-pd] .pd-gal-links a:hover{color:var(--accent-strong);text-decoration:underline;text-underline-offset:3px}
body[data-pd] .pd-gal-links svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-pd] .pd-flag{margin:8px 4px 0}

/* configure card */
body[data-pd] .pd-build{position:relative;display:flex;flex-direction:column;padding:24px 28px 22px}
body[data-pd] .pd-build h2{margin:0 0 14px;padding-right:96px;font-size:clamp(20px,1.9vw,25px);letter-spacing:-.015em;text-transform:none;
  background:none;color:var(--text)}
body[data-pd] .pd-build > .sub{margin:-6px 0 14px}
body[data-pd] .pd-mat{position:absolute;top:22px;right:26px;padding:5px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);
  box-shadow:0 1px 3px color-mix(in srgb,var(--shadow-ink) 8%,transparent);font-size:13px;font-weight:700;color:var(--accent)}
body[data-pd] .cfg{display:flex;flex-direction:column;flex:1}
body[data-pd] .cf-seg{display:inline-flex;align-self:flex-start;margin:0 0 14px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--surface-raised)}
body[data-pd] .cf-seg[hidden]{display:none}
body[data-pd] .cf-seg button{min-width:92px;padding:7px 18px;border:0;border-radius:999px;background:none;font:600 14px/1.2 var(--ff);color:var(--text-2);cursor:pointer}
body[data-pd] .cf-seg button[aria-pressed="true"]{background:var(--brand);color:var(--on-brand);box-shadow:0 2px 8px color-mix(in srgb,var(--brand) 35%,transparent)}
body[data-pd] .cf-seg button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
body[data-pd] .cf-unit-src{display:none}
body[data-pd] .cf-matnote{display:none}
body[data-pd][data-config-v2] .cf-matnote{display:block;grid-column:1/-1;margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
body[data-pd] .cf-matnote a{color:var(--accent-strong);font-weight:600}
body[data-pd] .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
body[data-pd] .cfg label,body[data-pd] .cfg-fk{margin:0 0 6px;font-size:14px;font-weight:650;letter-spacing:0;text-transform:none;color:var(--text)}
body[data-pd] .cfg select,body[data-pd] .cfg input.cf-t,body[data-pd] .cf-qty input{width:100%;box-sizing:border-box;height:44px;padding:0 14px;border:1px solid var(--line);
  border-radius:12px;background-color:var(--surface);box-shadow:0 1px 2px color-mix(in srgb,var(--shadow-ink) 5%,transparent);font:500 15.5px/1.2 var(--ff);color:var(--text)}
body[data-pd] .cfg select{appearance:none;-webkit-appearance:none;padding-right:38px;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--text-2) 50%),linear-gradient(-45deg,transparent 50%,var(--text-2) 50%);
  background-position:right 19px top 19px,right 13px top 19px;background-size:6px 6px;background-repeat:no-repeat}
body[data-pd] .cfg select:hover,body[data-pd] .cf-qty input:hover{border-color:var(--line-2)}
body[data-pd] .cf-qty input:focus{outline:2px solid var(--accent);outline-offset:1px}
body[data-pd] .cfg-fv{height:44px;padding:0;display:flex;align-items:center;font-size:15.5px}
body[data-pd] .cfg-out{margin-top:auto;padding-top:0;border:0}
body[data-pd] .cfg-out::before{content:"";display:block;margin:18px 0 14px;border-top:1px solid var(--line)}
body[data-pd] .cf-code{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px}
body[data-pd] .cf-code-l{font-size:14px;color:var(--muted)}
body[data-pd] .cf-copy{display:inline-flex;align-items:center;gap:7px;padding:4px 0;border:0;background:none;font:600 14px/1.2 var(--ff);color:var(--accent);cursor:pointer}
body[data-pd] .cf-copy:hover{color:var(--accent-strong)}
body[data-pd] .cf-copy svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-pd] .cf-code output{grid-column:1/-1;font-family:var(--mono);font-size:clamp(20px,1.9vw,25px);font-weight:600;letter-spacing:.06em;color:var(--accent);
  overflow-wrap:anywhere;line-height:1.25}
body[data-pd] .cfg-specs{margin-top:8px;padding-top:0;border:0;gap:2px 16px;font-size:13px;color:var(--muted)}
body[data-pd] .cfg-specs:empty{display:none}
body[data-pd] .cfg-acts{flex-direction:column;align-items:stretch;gap:12px;margin-top:14px}
body[data-pd] .cf-add{position:relative;min-height:54px;border:0;border-radius:14px;font-size:17px;font-weight:700;letter-spacing:0;text-transform:none;
  color:var(--on-brand);background:linear-gradient(90deg,var(--brand),color-mix(in srgb,var(--brand) 74%,var(--on-brand)) 55%,var(--brand));
  box-shadow:0 8px 20px -6px color-mix(in srgb,var(--brand) 55%,transparent);transition:transform .15s,box-shadow .15s}
body[data-pd] .cf-add::after{content:"\2192";position:absolute;right:24px;top:50%;transform:translateY(-52%);font-size:24px;font-weight:400;transition:transform .15s}
body[data-pd] .cf-add:hover{transform:translateY(-1px);box-shadow:0 12px 24px -6px color-mix(in srgb,var(--brand) 60%,transparent)}
body[data-pd] .cf-add:hover::after{transform:translate(4px,-52%)}
body[data-pd] .cf-ask{align-self:center;font-size:15px;font-weight:600;color:var(--accent);text-decoration:none}
body[data-pd] .cf-ask:hover{text-decoration:underline;text-underline-offset:3px}
body[data-pd] .cfg-none{margin-top:16px;border-radius:12px}

/* tabs card */
body[data-pd] .pd-dtl{margin-top:22px;padding:16px 28px 26px;border-top:1px solid var(--line-soft)}
body[data-pd] .pd-dtl-h{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
body[data-pd] .pd-tabs{position:static;display:flex;gap:6px;margin:0 0 18px;padding:0 0 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;
  background:none;box-shadow:none;overflow-x:auto}
body[data-pd] .pd-tabs [role="tab"]{flex:0 0 auto;min-height:38px;padding:8px 22px;border:0;border-radius:999px;background:none;font:600 15.5px/1.2 var(--ff);
  letter-spacing:0;text-transform:none;color:var(--text)}
body[data-pd] .pd-tabs [role="tab"] .pt-ic{display:none}
body[data-pd] .pd-tabs [role="tab"]:hover{background:var(--surface-hover);color:var(--text);transform:none}
body[data-pd] .pd-tabs [role="tab"][aria-selected="true"]{background:var(--brand);color:var(--on-brand);box-shadow:0 3px 10px color-mix(in srgb,var(--brand) 35%,transparent)}
body[data-pd] .pd-strip{margin:0 0 24px}
body[data-pd] .pd-strip[hidden]{display:none}
body[data-pd] .pd-strip-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin:0 0 12px;font-size:13px;color:var(--muted)}
body[data-pd] .pd-strip-h b{margin-left:6px;font-weight:600;color:var(--text-2)}
body[data-pd] .pd-strip .cfg-dims{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:14px 0;margin:0;padding:0;border:0}
body[data-pd] .pd-strip .cfg-dims span{display:flex;flex-direction:column;gap:5px;padding:0 14px;border-left:1px solid var(--line);font-size:13px;color:var(--muted);min-width:0}
body[data-pd] .pd-strip .cfg-dims b{font-family:var(--ff);font-size:19px;font-weight:700;color:var(--text);overflow-wrap:anywhere}
body[data-pd] #related{border-top:0}

@media(max-width:980px){
  body[data-pd] .pd-top{grid-template-columns:1fr;gap:18px;padding-top:16px}
  body[data-pd] .pd-gal .pd-shot{min-height:0;aspect-ratio:4/3;flex:none}
}
@media(max-width:640px){
  body[data-pd]{--pd-card-r:18px}
  body[data-pd] .pd-galcard{padding:12px 12px 14px}
  body[data-pd] .pd-build{padding:20px 18px 18px}
  body[data-pd] .pd-dtl{padding:12px 16px 20px}
  body[data-pd] .pd-gal .pd-thumbs{gap:8px}
  body[data-pd] .pd-gal .pd-thumbs button{width:74px;height:56px}
  body[data-pd] .pd-gal-links{font-size:13.5px}
  body[data-pd] .pd-gal-links a{padding:2px 10px;gap:6px}
  body[data-pd] .pd-gal-links svg{width:17px;height:17px}
  body[data-pd] .cfg-row{gap:12px 14px}
  body[data-pd] .pd-head h1 em{padding-left:0}
  body[data-pd] .pd-head h1 em::before{display:none}
  body[data-pd] .pd-tabs [role="tab"]{padding:8px 16px;font-size:14.5px}
}
@media(max-width:400px){body[data-pd] .cfg-row{grid-template-columns:1fr}}

/* small filter box on product pages (10 Nov, Siddhesh): Type and Thread chips under the tabs, each opening the
   family page with that filter on; this model's own type and thread are filled in. Markup: listing.browse_box. */
.pd-browse{margin:22px 0 0;align-items:center}
.pd-browse .lf-g{flex:1 1 100%;gap:7px}
.pd-browse .lf-l{flex:0 0 58px}
.pd-browse a.lf-chip{text-decoration:none}
.pd-browse .lf-all{margin-left:auto;font-size:13.5px;font-weight:650;color:var(--accent-strong);text-decoration:none}
.pd-browse .lf-all:hover{text-decoration:underline;text-underline-offset:3px}
.pd-browse+.pd-sec{border-top:0;padding-top:30px}
@media(max-width:640px){.pd-browse .lf-g{flex-wrap:wrap;overflow:visible;padding-right:0}.pd-browse .lf-l{flex:1 1 100%}}
@media(min-width:641px){.pd-browse .lf-g:last-of-type{flex:1 1 0}.pd-browse .lf-all{align-self:flex-end}}

/* family pages: the filter box is a dropdown behind a Filter button beside "Download the catalogue" (10 Nov,
   Siddhesh). Markup: build_product_page.hero_bar + listing.filter_parts; behaviour: modules/fam-filter.js. */
.pd-bar-in{position:relative}
.fl-dd{display:block}
.fl-btn{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer;user-select:none}
.fl-btn::-webkit-details-marker{display:none}
.fl-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.fl-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--brand);color:var(--on-brand);font-size:12px;font-weight:700;line-height:1}
.fl-n[hidden]{display:none}
.fl-dd[open] .fl-btn,.fl-dd.has-on .fl-btn{border-color:var(--brand);color:var(--accent-strong)}
.fl-dd[open] .fl-btn{background:var(--brand-tint)}
.lf-pop{position:absolute;z-index:var(--z-results);top:calc(100% + 8px);right:0;width:min(860px,100%);padding:6px;border:1px solid var(--line);border-radius:18px;
  background:var(--surface);box-shadow:0 22px 48px -14px color-mix(in srgb,var(--shadow-ink) 28%,transparent),0 2px 6px color-mix(in srgb,var(--shadow-ink) 8%,transparent)}
.lf-pop .lf{margin:0;border:0;background:none;padding:14px 16px 12px;row-gap:12px}
.lf-pop .lf-g{flex:1 1 100%}
.lf-pop .lf-l{flex:0 0 66px}
.lf-pop .lf-top{flex:1 1 100%;order:9;margin-left:0;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line)}
.lf-pop .lf-done,.lf-pop .fl-done{margin-left:auto;padding:8px 18px;font-size:14px}
.fl-live{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 16px;font-size:14px;font-weight:650;color:var(--text-2)}
.fl-live button{background:none;border:0;padding:0;font:inherit;font-weight:650;color:var(--accent-strong);text-decoration:underline;cursor:pointer}
@media(max-width:700px){
  .pd-acts .fl-dd{display:block}
  .lf-pop{position:fixed;left:12px;right:12px;top:auto;width:auto;max-height:70vh;overflow:auto;top:calc(var(--hdr-live,var(--hdr)) + 12px)}
  .lf-pop .lf-g{flex-wrap:wrap;overflow:visible;padding-right:0}
  .lf-pop .lf-l{flex:1 1 100%}
}

/* product tabs, 10 Nov: Construction / Ratings cards side by side in a grid (the old 2-column flow stacked two
   tall cards in one column and left the other empty) */
.ps-blocks{columns:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;align-items:start}
.ps-blocks .pi-card{margin:0;display:block}
.ps-cons .ps-bom .ps-note{margin:10px 0 0}
.ps-cons{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-auto-flow:dense}
.ps-cons .ps-bom{grid-column:1;grid-row:span 2}
.ps-cons>:not(.ps-bom){grid-column:2}
.ps-cons:not(:has(.ps-bom))>*{grid-column:auto}
.ps-cons:not(:has(.ps-bom)){grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
@media(max-width:900px){.ps-cons{grid-template-columns:minmax(0,1fr)}.ps-cons>:not(.ps-bom),.ps-cons>.ps-bom{grid-column:1;grid-row:auto}}

/* a size asked for by ?size= (search, assistant, catalogue code), 11 Nov 2026 */
table.dims tr.is-hit td{background:var(--brand-tint);font-weight:600}

/* picture magnifier (16 Nov 2026), modules/img-zoom.js */
.pd-shot.is-zoomable{cursor:zoom-in}
.pd-shot.is-zoomable:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.iz-hint{position:absolute;right:10px;bottom:10px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;
  background:var(--surface);border:1px solid var(--line-2);color:var(--text);box-shadow:var(--shadow);pointer-events:none;
  opacity:.9;transition:opacity var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}
.iz-hint svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pd-shot.is-zoomable:hover .iz-hint{opacity:1;transform:scale(1.06)}
.pd-shot.is-schem .iz-hint,.pd-shot.is-empty .iz-hint{display:none}
.iz{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--text);display:none}
.iz[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}
.iz::backdrop{background:color-mix(in srgb,var(--backdrop) 80%,transparent);backdrop-filter:blur(3px)}
.iz-bar,.iz-stage{width:min(1200px,100% - 24px)}
.iz-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:10px 12px;background:var(--surface);
  border:1px solid var(--line-2);border-bottom:0;border-radius:var(--r2) var(--r2) 0 0}
.iz-cap{margin:0;flex:1 1 240px;min-width:0;font:600 14px/1.3 var(--ff);color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.iz-tools{display:flex;align-items:center;gap:6px}
.iz-b{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:var(--r);background:var(--surface);
  border:1px solid var(--line-2);color:var(--text);cursor:pointer}
.iz-b:hover{background:var(--surface-hover)}
.iz-b[hidden]{display:none}
.iz-b svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.iz-x{margin-left:6px}
.iz-z{min-width:48px;text-align:center;font:12px/1 var(--mono);color:var(--muted)}
.iz :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.iz-stage{height:min(80vh,100% - 90px);overflow:hidden;background:var(--plate);border:1px solid var(--line-2);border-radius:0 0 var(--r2) var(--r2);
  position:relative;touch-action:none;cursor:zoom-in;user-select:none}
.iz-stage.is-zoomed{cursor:grab}
.iz-stage.is-zoomed:active{cursor:grabbing}
.iz-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:center}
.iz[open] .iz-stage.is-zoomed img{will-change:transform}
html.iz-open{overflow:hidden}
@media (max-width:700px){.iz-bar,.iz-stage{width:100%}.iz-stage{height:min(72vh,100% - 110px)}}

/* ---- glass hero (17 Nov 2026, Siddhesh's mock) ------------------------------------------------------------
   The family banner is one rounded glass panel that the header sits inside: the family's products (cut out of
   their own photos, tools/build_hero_cutout.py) stand on a flowing teal glass ribbon (RIBBON in
   build_product_page.py), the title on the left. The page behind is a faint tint so the glass reads. */
body:has(.pd-hero.is-glass){background:var(--page-tint)}
.pd-hero.is-glass{--gx:clamp(8px,2.4vw,44px);--hh:var(--hdr);position:relative;overflow:hidden;isolation:isolate;
  margin:10px var(--gx) 0;border-radius:clamp(24px,2.6vw,42px);
  min-height:calc(var(--hh) + clamp(250px,30vh,320px) + var(--ext,0px));
  background:radial-gradient(120% 90% at 85% 10%,color-mix(in srgb,var(--rib-a) 22%,transparent),transparent 60%),
    linear-gradient(165deg,var(--gl-a),var(--gl-b));
  border:1px solid var(--glass-line);
  box-shadow:0 30px 70px -40px var(--glass-shade),0 1px 2px var(--glass-edge),inset 0 1px 0 var(--glass-hi)}
.pd-hero.is-glass:before{content:"";position:absolute;inset:0;z-index:var(--z-overlay);pointer-events:none;border-radius:inherit;
  background:linear-gradient(180deg,color-mix(in srgb,var(--rib-hi) 55%,transparent),transparent 22%)}
.pd-hero.is-glass .gh-art{position:absolute;top:calc(var(--hh) * .4);bottom:5%;left:22%;right:2.5%;z-index:var(--z-base);
  -webkit-mask-image:linear-gradient(90deg,transparent,var(--text) 24%);mask-image:linear-gradient(90deg,transparent,var(--text) 24%)}
.gh-rib{display:block;width:100%;height:100%}
.pd-hero.is-glass .gh-row{position:absolute;z-index:var(--z-raised);right:max(4vw,40px);bottom:clamp(26px,4.2vh,48px);
  left:clamp(380px,32%,620px);top:calc(var(--hh) + 6px);display:flex;align-items:flex-end;justify-content:center;pointer-events:none}
.pd-hero.is-glass .gh-row img{display:block;max-width:100%;max-height:min(100%,clamp(130px,19vh,180px));width:auto;height:auto;object-fit:contain}
.pd-hero.is-glass .pd-hero-t{position:absolute;z-index:var(--z-rail);left:0;right:0;bottom:clamp(30px,5vh,52px);margin:0 auto;padding-bottom:0}
.pd-hero.is-glass .pd-hero-t h1{max-width:min(420px,34vw)}
.pd-hero.is-glass .pd-hero-t .crumb{padding-bottom:clamp(10px,2.4vh,26px)}
@media(max-width:1100px){
  .pd-hero.is-glass .gh-row{left:46%}
  .pd-hero.is-glass .gh-art{left:34%}
}
@media(max-width:760px){
  .pd-hero.is-glass{min-height:0;padding-top:calc(var(--hh) + 172px)}
  .pd-hero.is-glass .gh-art{inset:calc(var(--hh) - 10px) -30% auto -10%;height:190px}
  .pd-hero.is-glass .gh-row{left:5%;right:5%;top:calc(var(--hh) + 8px);bottom:auto;height:140px}
  .pd-hero.is-glass .pd-hero-t{position:relative;bottom:auto;padding:0 0 22px}
  .pd-hero.is-glass .pd-hero-t h1{max-width:none}
}

/* facts bar on the tinted page; the Filter button and its dropdown stay as they were (Siddhesh, 17 Nov) */
body:has(.pd-hero.is-glass) .pd-bar{background:transparent;border:0;box-shadow:none}

/* model cards as glass */
body:has(.pd-hero.is-glass) .tf-card.fcard{border:1px solid var(--line);border-radius:22px;background:var(--glass);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 20px 44px -34px var(--glass-shade),0 1px 2px var(--glass-edge),inset 0 1px 0 var(--glass-hi)}
body:has(.pd-hero.is-glass) .tf-card.fcard:hover{box-shadow:var(--shadow)}
body:has(.pd-hero.is-glass) .tf-card.fcard .tf-img,body:has(.pd-hero.is-glass) .tf-card.fcard .tf-pic{border:0;border-radius:16px}
body:has(.pd-hero.is-glass) .tf-card.fcard .tf-im{border:0;background:transparent}
body:has(.pd-hero.is-glass) .tf-card.fcard .tf-c{border-top:1px solid var(--line);padding-top:14px}
/* the family bar that appears on scroll sits under the floating glass header as a glass strip of its own */
body:has(.pd-hero.is-glass) .fam-sticky{left:var(--gx,clamp(8px,2.4vw,44px));right:var(--gx,clamp(8px,2.4vw,44px));
  margin-top:8px;border:1px solid var(--glass-hi);border-radius:18px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--glass-hi) 42%,transparent) 0,transparent 55%),var(--glass-bar);
  -webkit-backdrop-filter:blur(20px) saturate(160%) brightness(1.06);backdrop-filter:blur(20px) saturate(160%) brightness(1.06);
  box-shadow:0 16px 36px -22px var(--glass-shade),0 0 0 1px var(--glass-edge),inset 0 1px 0 var(--glass-hi)}
:root[data-theme="dark"] body:has(.pd-hero.is-glass) .pd-bar:before{display:none}
/* 17 Nov, Siddhesh: no box - the hero runs edge to edge and melts into the page below */
.pd-hero.is-glass{margin:0;border:0;border-radius:0;box-shadow:none;
  background:radial-gradient(90% 80% at 80% 30%,color-mix(in srgb,var(--rib-a) 18%,transparent),transparent 65%),
    linear-gradient(180deg,var(--gl-a) 0%,var(--gl-b) 70%,var(--page-tint) 100%)}
.pd-hero.is-glass:before{display:none}
.pd-hero.is-glass .gh-art{left:14%;right:0;bottom:0;top:calc(var(--hh) * .8)}
/* One photograph (hero_picture() in build_product_page.py): it runs on DOWN behind the facts bar - the bar and
   its Filter / catalogue / quote buttons sit on the lower part of the picture - and dissolves into the page over
   the next stretch, so there is no hard line between picture and cards. --lap is how far the picture goes below
   the hero; the fade is the last part of it. */
.pd-hero.is-glass.tf-hero{--lap:clamp(150px,19vh,190px);overflow:visible;z-index:var(--z-base)}
.pd-hero.is-glass.tf-hero .gh-art{inset:0 0 calc(var(--lap) * -1) 0;pointer-events:none}
/* the whole picture, never cropped: full width, its own height, set slightly above the box (14% of the header) so a little sky under
   the header goes and the products stand higher (the mask below clips what sits outside the box) */
.pd-hero.is-glass.tf-hero .gh-art img{position:absolute;left:0;top:calc(var(--hh) * -.14);display:block;width:100%;height:auto;max-width:none;
  -webkit-mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - 190px),color-mix(in srgb,var(--text) 82%,transparent) calc(100% - 150px),color-mix(in srgb,var(--text) 50%,transparent) calc(100% - 95px),color-mix(in srgb,var(--text) 18%,transparent) calc(100% - 45px),transparent 100%);mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - 190px),color-mix(in srgb,var(--text) 82%,transparent) calc(100% - 150px),color-mix(in srgb,var(--text) 50%,transparent) calc(100% - 95px),color-mix(in srgb,var(--text) 18%,transparent) calc(100% - 45px),transparent 100%)}
/* dark: the facts bar is no longer a light island, so the picture has to be gone before the strip's text: a shorter fade that ends above it */
:root[data-theme="dark"] .pd-hero.is-glass.tf-hero .gh-art img{-webkit-mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - 150px),color-mix(in srgb,var(--text) 70%,transparent) calc(100% - 125px),color-mix(in srgb,var(--text) 38%,transparent) calc(100% - 95px),color-mix(in srgb,var(--text) 12%,transparent) calc(100% - 65px),transparent calc(100% - 40px));mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - 150px),color-mix(in srgb,var(--text) 70%,transparent) calc(100% - 125px),color-mix(in srgb,var(--text) 38%,transparent) calc(100% - 95px),color-mix(in srgb,var(--text) 12%,transparent) calc(100% - 65px),transparent calc(100% - 40px))}
.pd-hero.is-glass.tf-hero:after{display:none}
body:has(.pd-hero:is(.tf-hero,.lap-hero)) .pd-bar-pic{position:relative;z-index:var(--z-raised)}
body:has(.pd-hero:is(.tf-hero,.lap-hero)) .pd-sec-hero{position:relative;z-index:var(--z-content)}
/* dark, phone: the heading sits below the faded picture, on the dark page, so it takes light text (the hero is a light island and its own text is dark) */
@media(max-width:760px){
  :root[data-theme="dark"] .pd-hero.is-glass.tf-hero .pd-hero-t h1{color:var(--surface)}
  :root[data-theme="dark"] .pd-hero.is-glass.tf-hero .pd-hero-t h1 em{color:var(--surface-alt)}
}
@media(max-width:760px){
  .pd-hero.is-glass.tf-hero{--lap:0px}
  .pd-hero.is-glass.tf-hero .gh-art img{position:static;width:100%;height:100%;object-fit:cover;object-position:50% 55%;-webkit-mask-image:none;mask-image:none}
  .pd-hero.is-glass.tf-hero .gh-art{inset:calc(var(--hh) - 10px) 0 auto;height:210px;
    -webkit-mask-image:linear-gradient(180deg,var(--text) 0,var(--text) 52%,transparent 100%);mask-image:linear-gradient(180deg,var(--text) 0,var(--text) 52%,transparent 100%)}
}

/* The other 17 families (17 Nov, Siddhesh: "the same placements, the Tube Fittings background"): the ribbon redrawn from the
   photograph (RIBBON in build_product_page.py) sits where the photograph sits - full width, its floor line 55px above the
   bottom of the hero, running on down behind the facts bar and dissolving - and the family's products stand on it. Both
   are anchored to the bottom of the hero, so they stay together when the banner grows (--ext). */
.pd-hero.is-glass.lap-hero{--lap:clamp(150px,19vh,190px);overflow:visible;z-index:var(--z-base)}
.pd-hero.is-glass.lap-hero:after{display:none}
@media(min-width:761px){
  .pd-hero.is-glass.lap-hero .gh-art{inset:0 0 calc(var(--lap) * -1) 0;pointer-events:none;
    -webkit-mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - var(--lap) * 1.1),color-mix(in srgb,var(--text) 80%,transparent) calc(100% - var(--lap) * .85),color-mix(in srgb,var(--text) 45%,transparent) calc(100% - var(--lap) * .55),color-mix(in srgb,var(--text) 15%,transparent) calc(100% - var(--lap) * .25),transparent 100%);mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - var(--lap) * 1.1),color-mix(in srgb,var(--text) 80%,transparent) calc(100% - var(--lap) * .85),color-mix(in srgb,var(--text) 45%,transparent) calc(100% - var(--lap) * .55),color-mix(in srgb,var(--text) 15%,transparent) calc(100% - var(--lap) * .25),transparent 100%)}
  .pd-hero.is-glass.lap-hero .gh-rib{position:absolute;left:0;width:100%;height:auto;bottom:calc(var(--lap) + 55px - 9.8vw)}
  .pd-hero.is-glass.lap-hero .gh-row{bottom:46px}
  :root[data-theme="dark"] .pd-hero.is-glass.lap-hero .gh-art{
    -webkit-mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - var(--lap) - 40px),color-mix(in srgb,var(--text) 60%,transparent) calc(100% - var(--lap) - 15px),color-mix(in srgb,var(--text) 20%,transparent) calc(100% - var(--lap) + 5px),transparent calc(100% - var(--lap) + 28px));mask-image:linear-gradient(180deg,var(--text) 0,var(--text) calc(100% - var(--lap) - 40px),color-mix(in srgb,var(--text) 60%,transparent) calc(100% - var(--lap) - 15px),color-mix(in srgb,var(--text) 20%,transparent) calc(100% - var(--lap) + 5px),transparent calc(100% - var(--lap) + 28px))}
}
@media(max-width:760px){
  .pd-hero.is-glass.lap-hero{--lap:0px}
  :root[data-theme="dark"] .pd-hero.is-glass.lap-hero .pd-hero-t h1{color:var(--surface)}
  :root[data-theme="dark"] .pd-hero.is-glass.lap-hero .pd-hero-t h1 em{color:var(--surface-alt)}
}
/* dark: the hero's own light wash holds until the title has passed, then goes to the dark page (the title text is dark) */
@media(min-width:761px){
:root[data-theme="dark"] .pd-hero.is-glass:is(.lap-hero,.tf-hero){
  background:radial-gradient(90% 80% at 80% 30%,color-mix(in srgb,var(--rib-a) 18%,transparent),transparent 65%),
    linear-gradient(180deg,var(--gl-a) 0%,var(--gl-b) 88%,var(--page-tint) 100%)}
}

/* ---- 17 Nov 2026 (Siddhesh): bigger picture; NPT / BSP drawings tagged -------------------------------------
   The picture column is wider and taller, the photo is filled out to its product by modules/pd-fit.js (it sets a
   transform on #shot), drawings keep less padding, and a drawing that belongs to one thread says which. */
@media(min-width:981px){body[data-pd] .pd-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}   /* picture card and order panel: same width */
/* 17 Nov 2026 (Siddhesh: "consistent size for the boxes ... smaller and fit on the first look"): the picture plate is
   one fixed height whatever it holds (photo, drawing, long or short caption), sized from the window so the plate,
   caption, thumbnails and links all sit in the first screen below the title; the card and the order panel
   stretch to one common height. */
@media(min-width:981px){
  body[data-pd] .pd-top{align-items:stretch}          /* picture card and order panel: one height */
  body[data-pd] .pd-galcard{justify-content:center}
  body[data-pd] .pd-gal .pd-shot{flex:none;min-height:0;height:clamp(250px,calc(100vh - 560px),440px)}
  body[data-pd] .pd-cap{min-height:2.9em;margin-top:6px;font-size:13px;line-height:1.45}
  body[data-pd] .pd-cap:empty{display:block}
  body[data-pd] .pd-gal{gap:10px}
}
@media(min-width:981px) and (max-height:760px){
  body[data-pd] .pd-gal .pd-shot{height:clamp(180px,calc(100vh - 470px),250px)}
  body[data-pd] .pd-gal .pd-thumbs button{width:84px;height:56px}
  body[data-pd] .pd-gal-links{margin-top:8px}
}
body[data-pd] .pd-shot img{transition:transform .35s var(--ease);transform-origin:50% 50%}
body[data-pd] .pd-shot.is-drawing img,body[data-pd] .pd-shot[data-tag]:not([data-tag=""]) img{padding:8px}
.pd-shot[data-tag]:not([data-tag=""])::after{content:attr(data-tag) " thread";position:absolute;left:14px;top:14px;z-index:var(--z-raised);
  padding:5px 12px;border-radius:999px;background:var(--brand);color:var(--on-brand);
  font:600 12px/1 var(--mono,ui-monospace,monospace);letter-spacing:.02em}
body[data-pd] .pd-thumbs button.t-th .t-tag{display:block;font-size:10px;font-weight:700;letter-spacing:.04em}
.pd-cap b{color:var(--accent-strong)}
@media(max-width:980px){body[data-pd] .pd-gal .pd-shot{min-height:0}}
@media(prefers-reduced-motion:reduce){body[data-pd] .pd-shot img{transition:none}}

body[data-pd][data-family="tube-fittings"] .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;
  scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd][data-family="tube-fittings"] .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd][data-family="tube-fittings"] :is(.pd-galcard,.pd-gal){min-width:0}
}
@media(min-width:981px){
  body[data-pd][data-family="tube-fittings"] .pd-top{gap:20px;padding-top:12px}
  body[data-pd][data-family="tube-fittings"] .pd-galcard{padding:12px}
  body[data-pd][data-family="tube-fittings"] .pd-gal{min-height:0;gap:8px}
  body[data-pd][data-family="tube-fittings"] .pd-gal-main{min-height:0}
  body[data-pd][data-family="tube-fittings"] .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd][data-family="tube-fittings"] .pd-cap{min-height:0}
  body[data-pd][data-family="tube-fittings"] .pd-cap:empty{display:none}
  body[data-pd][data-family="tube-fittings"] .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd][data-family="tube-fittings"] .pd-gal-links{margin-top:8px}
  body[data-pd][data-family="tube-fittings"] .pd-gal-links a{min-height:0}
  body[data-pd][data-family="tube-fittings"] .pd-build{padding:16px 20px}
  body[data-pd][data-family="tube-fittings"] .pd-build h2{margin-bottom:8px}
  body[data-pd][data-family="tube-fittings"] .pd-mat{top:14px;right:18px}
  body[data-pd][data-family="tube-fittings"] .cf-seg{margin-bottom:8px}
  body[data-pd][data-family="tube-fittings"] .cfg-row{gap:8px 18px}
  body[data-pd][data-family="tube-fittings"] :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd][data-family="tube-fittings"] .cf-matnote{line-height:1.35}
  body[data-pd][data-family="tube-fittings"] .cfg-out::before{margin:10px 0 8px}
  body[data-pd][data-family="tube-fittings"] .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd][data-family="tube-fittings"] .cf-add{min-height:46px}
}

/* Needle Valves with the S6L picker: keep the gallery and configurator compact. */
body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) :is(.pd-galcard,.pd-gal){min-width:0}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .cfg-row{gap:8px 18px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/needle-valves/"]) .cf-add{min-height:46px}
}

/* Ball Valves with the S6L picker: keep the gallery and configurator compact. */
body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) :is(.pd-galcard,.pd-gal){min-width:0}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .cfg-row{gap:8px 18px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/ball-valves/"]) .cf-add{min-height:46px}
}

/* gland packing: PTFE only, the rest on request (17 Nov 2026) */
body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) :is(.pd-galcard,.pd-gal){min-width:0}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .cfg-row{gap:8px 18px}
  body[data-pd]:has(#tfPick[data-model="GV-148-LCV"]) .cfg-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/check-valves/"]) .cf-add{min-height:46px}
}

/* Pipe Fittings with the S6L picker: keep the gallery and configurator compact. */
body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) :is(.pd-galcard,.pd-gal){min-width:0}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .cfg-row{gap:8px 18px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pipe-fittings/"]) .cf-add{min-height:46px}
}

/* Forged Pipe Fittings with the S6L picker: keep the gallery and configurator compact. */
body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) :is(.pd-galcard,.pd-gal){min-width:0}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .cfg-row{gap:8px 18px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/forged-pipe-fittings/"]) .cf-add{min-height:46px}
}

  /* JIC Swivel Fittings with the S6L picker: keep the gallery and configurator compact. */
  body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal .pd-thumbs{
    min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
    overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
  }
  @media(max-width:980px){
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  }
  @media(min-width:981px){
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .crumb{padding-top:8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-head{padding-top:4px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-top{gap:20px;padding-top:12px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-galcard{padding:12px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal{min-height:0;gap:8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal-main{min-height:0}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-cap{min-height:0}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-cap:empty{display:none}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal-links{margin-top:8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-gal-links a{min-height:0}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-build{padding:16px 20px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-build h2{margin-bottom:8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .pd-mat{top:14px;right:18px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .cf-seg{margin-bottom:8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .cfg-row{gap:8px 18px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .cf-matnote{line-height:1.35}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .cfg-out::before{margin:10px 0 8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .cfg-acts{gap:6px;margin-top:8px}
    body[data-pd]:has(#tfPick[data-src*="/jic-swivel-fittings/"]) .cf-add{min-height:46px}
  }

body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cfg-acts{margin-top:5px}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cfg-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/bsp-swivel-fittings/"]) .cf-add{min-height:46px}
}

body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cfg-acts{margin-top:5px}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-top{gap:20px;padding-top:12px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-build{padding:16px 20px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-build h2{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cfg-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/hose-fittings/"]) .cf-add{min-height:46px}
}

  body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal .pd-thumbs{
min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
  }
  @media(max-width:980px){
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) :is(.pd-galcard,.pd-gal){min-width:0}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-build{order:-1;padding:12px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cfg-out::before{margin:6px 0}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cfg-acts{margin-top:5px}
  }
  @media(min-width:981px){
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .crumb{padding-top:8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-head{padding-top:4px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-top{gap:20px;padding-top:12px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-galcard{padding:12px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal{min-height:0;gap:8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal-main{min-height:0}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-cap{min-height:0}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-cap:empty{display:none}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal-links{margin-top:8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-gal-links a{min-height:0}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-build{padding:16px 20px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-build h2{margin-bottom:8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .pd-mat{top:14px;right:18px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cf-seg{margin-bottom:8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cfg-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cf-matnote{line-height:1.35}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cfg-out::before{margin:10px 0 8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cfg-acts{gap:6px;margin-top:8px}
body[data-pd]:has(#tfPick[data-src*="/flare-fittings/"]) .cf-add{min-height:46px}
  }

/* Pressure Relief Valves use the same compact picker/gallery geometry as Flare. */
body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-acts{margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-out{display:flex;flex-direction:column}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-acts{order:-1}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-top{gap:20px;padding-top:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-build{padding:8px 20px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-build h2{margin-bottom:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cf-add{min-height:46px}
}
@media(min-width:1181px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-row{
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
}
@media(min-width:981px) and (max-width:1200px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-row{
    grid-template-columns:repeat(6,minmax(0,1fr))
  }
}
@media(min-width:981px) and (max-width:1100px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) .cfg-row{
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){
    font-size:11px;line-height:1.2
  }
  body[data-pd]:has(#tfPick[data-src*="/pressure-relief-valves/"]):has(.cfg-row [data-axis="Outlet tube OD"]) .cfg-row{
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
}

/* Gauge Accessories use the picker gallery geometry without changing non-picker pages. */
body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-acts{margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-out{display:flex;flex-direction:column}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-acts{order:-1}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-switch button{padding-inline:4px}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-top{gap:20px;padding-top:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-build{padding:8px 20px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-build h2{margin-bottom:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-out::before{margin:10px 0 8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-acts{gap:6px;margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cf-add{min-height:46px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-gauge-accessories/"]) .cfg-switch button{padding-inline:4px}
}
/* 2-Way Manifold Valves use the same picker gallery geometry, scoped to this family. */
body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-acts{margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-out{display:flex;flex-direction:column}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-acts{order:-1}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-switch button{padding-inline:4px}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-top{gap:20px;padding-top:0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-build{padding:6px 20px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-build h2{margin-bottom:0}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-out::before{margin:6px 0 5px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-acts{gap:6px;margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cf-add{min-height:42px}
  body[data-pd]:has(#tfPick[data-src*="/2-way-manifold-valves/"]) .cfg-switch button{padding-inline:4px}
}
/* Monoflange Valves use the same picker gallery geometry, scoped to this family; models without picker data keep their layout. */
body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-acts{margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-out{display:flex;flex-direction:column}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-acts{order:-1}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-switch button{padding-inline:4px}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-top{gap:20px;padding-top:0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-build{padding:4px 20px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-build h2{margin-bottom:0}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-out::before{margin:4px 0 3px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-acts{gap:6px;margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cf-add{min-height:40px}
  body[data-pd]:has(#tfPick[data-src*="/monoflange-valves/"]) .cfg-switch button{padding-inline:4px}
}
/* Pressure Regulators use the same picker gallery geometry, scoped to this family. */
body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal .pd-thumbs{
  min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:safe center;gap:8px;
  overflow-x:auto;overflow-y:hidden;padding:4px;scrollbar-width:thin
}
@media(max-width:980px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-top{grid-template-columns:minmax(0,1fr)}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) :is(.pd-galcard,.pd-gal){min-width:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-build{order:-1;padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-out::before{margin:6px 0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-acts{margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-out{display:flex;flex-direction:column}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-acts{order:-1}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-switch button{padding-inline:4px}
}
@media(min-width:981px){
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .crumb{padding-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-head{padding-top:4px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-top{gap:20px;padding-top:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-galcard{padding:12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal{min-height:0;gap:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal-main{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal .pd-shot{flex:1;min-height:180px;height:auto}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-cap{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-cap:empty{display:none}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal .pd-thumbs button{flex:0 1 74px;min-width:0;width:74px;height:52px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal-links{margin-top:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-gal-links a{min-height:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-build{padding:6px 20px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-build h2{margin-bottom:0}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .pd-mat{top:14px;right:18px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cf-seg{margin-bottom:8px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) :is(.cfg label,.cfg-fk,.cfg-label){margin-bottom:3px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cf-matnote{line-height:1.35}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-out::before{margin:6px 0 5px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-acts{gap:6px;margin-top:5px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cf-add{min-height:42px}
  body[data-pd]:has(#tfPick[data-src*="/pressure-regulators/"]) .cfg-switch button{padding-inline:4px}
}
/* Pressure Regulators: the printed range ("Inlet 50 BAR / Outlet 16 BAR") is too long for one row of card marks. */
.fcard:has(.wish[data-url*="/pressure-regulators/"]) .fcard-chips{flex-wrap:wrap;overflow:visible;row-gap:4px;font-size:10.5px}
.cfg-note{grid-column:1/-1;margin:2px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.cfg-note a{color:var(--accent-strong);font-weight:600}

/* clear, compact two-way controls for thread and unit choices */
body[data-pd] .cfg [hidden]{display:none!important}
body[data-pd] .cfg-switch-wrap{min-width:0}
body[data-pd] .cfg-label{display:block;margin:0 0 6px;font-size:14px;font-weight:650;color:var(--text)}
body[data-pd] .cfg-switch{display:flex;min-height:44px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
body[data-pd] .cfg-switch button{flex:1;min-width:0;padding:0 12px;border:0;background:transparent;color:var(--text-2);
  font:500 15px/1.2 var(--ff);cursor:pointer}
body[data-pd] .cfg-switch button+button{border-left:1px solid var(--line)}
body[data-pd] .cfg-switch button[aria-pressed="true"]{background:var(--brand);color:var(--on-brand);font-weight:650}
body[data-pd] .cfg-switch button:focus-visible{position:relative;z-index:var(--z-content);outline:2px solid var(--accent);outline-offset:-3px}

/* ---- 18 Nov 2026 (Siddhesh's "Hero backgrounds" folder): a glass background picture instead of the drawn ribbon ----
   tools/build_hero_backgrounds.py; hero_bg() in build_product_page.py. The picture (2265 x 480, no products) is full width
   and sits like the drawn ribbon did: its floor line (about 89% down the picture) 55px above the bottom of the hero,
   running on behind the facts bar and dissolving (the mask on .gh-art); the family's cut-out row stands on it. */
@media(min-width:761px){
  .pd-hero.is-glass.lap-hero .gh-rib.gh-bg{bottom:calc(var(--lap) + 55px - 2.33vw)}
}
@media(max-width:760px){
  .gh-rib.gh-bg{height:100%;object-fit:cover;object-position:100% 100%}
}

/* ---- 18 Nov 2026 (Siddhesh: "the finishing the Tube Fittings hero has, on the other pages as well") ----
   Tube Fittings' picture melts into the page; the other 17 backgrounds ended in hard edges (a line where the picture
   stopped, and one where it started). The picture's own top and bottom now dissolve (mask on the image). */
.pd-hero.is-glass.lap-hero .gh-rib.gh-bg{-webkit-mask-image:linear-gradient(180deg,transparent 0,color-mix(in srgb,var(--text) 40%,transparent) 5%,var(--text) 14%,var(--text) 80%,color-mix(in srgb,var(--text) 70%,transparent) 87%,color-mix(in srgb,var(--text) 30%,transparent) 94%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,color-mix(in srgb,var(--text) 40%,transparent) 5%,var(--text) 14%,var(--text) 80%,color-mix(in srgb,var(--text) 70%,transparent) 87%,color-mix(in srgb,var(--text) 30%,transparent) 94%,transparent 100%)}

/* ---- 22 Nov 2026 (Tube Fittings redo): Technical data under four headings (Working pressure, Materials and
   standards, Threads, Choosing the tube); other families keep the plain grid. */
.ps-groups{display:grid;gap:30px}
.ps-grp-h{font-size:16px;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line);color:var(--text)}
.ps-lead{margin:0 0 14px;font-size:14.5px;color:var(--text-2);max-width:72ch}

/* ---- 22 Nov 2026 (Tube Fittings redo): the size picker on the Dimensions tab (modules/tube-picker.js) and
   sortable table headers (modules/table-sort.js). Tokens only. */
.tfp [hidden]{display:none!important}
.tfp-bar{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;margin:0 0 16px}
.tfp-seg{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--surface-raised,var(--surface))}
.tfp-seg button{appearance:none;border:0;background:none;font:inherit;font-weight:600;font-size:14px;color:var(--text-2);padding:8px 16px;border-radius:999px;cursor:pointer;min-height:36px}
.tfp-seg button:hover{color:var(--text)}
.tfp-seg button[aria-pressed="true"]{background:var(--brand);color:var(--on-brand)}
.tfp-seg button:focus-visible,.tfp-chip:focus-visible,.tfp-link:focus-visible,.ts-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tfp-fixed{display:inline-block;font-weight:650;font-size:14px;padding:8px 16px;border:1px solid var(--line);border-radius:999px;color:var(--text)}
.tfp-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px 28px;margin:0 0 14px}
.tfp-lh{margin:0 0 8px;font-size:13px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.tfp-chips{display:flex;flex-wrap:wrap;gap:8px}
.tfp-chip{appearance:none;font:inherit;font-size:14px;font-weight:600;font-family:var(--mono);padding:7px 12px;min-height:36px;border:1px solid var(--line-2);border-radius:var(--r2,8px);
  background:var(--surface);color:var(--text);cursor:pointer}
.tfp-chip:hover{border-color:var(--accent)}
.tfp-chip[aria-pressed="true"]{background:var(--brand-tint);border-color:var(--accent);color:var(--accent-strong)}
.tfp-list .tfp-chip[aria-pressed="true"]:after{content:" \00d7";font-weight:700}
.tfp-count{margin:0 0 12px;font-size:14px;color:var(--muted)}
.tfp-link{appearance:none;border:0;background:none;padding:0;font:inherit;font-weight:650;color:var(--accent);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.tfp-result{margin:0 0 16px;padding:16px 18px;border:1px solid var(--accent);border-radius:var(--r2,10px);background:var(--brand-tint)}
.tfp-rc{margin:0 0 8px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}
.tfp-code{font-size:18px;font-weight:700;color:var(--accent-strong)}
.tfp-rl{font-size:15px;color:var(--text-2)}
.tfp-dim{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 12px;font-size:14px;color:var(--muted)}
.tfp-dim b{color:var(--text);font-family:var(--mono);font-weight:650}
.tfp-vh{margin:0 0 8px;font-size:14px;color:var(--text-2)}
.tfp-none{margin:0 0 16px;padding:16px 18px;border:1px solid var(--line-2);border-radius:var(--r2,10px);background:var(--surface)}
.tfp-none p{margin:0 0 12px;max-width:62ch}
.tfp-stock{margin:12px 0 0;font-size:13.5px;color:var(--muted);max-width:72ch}
table.dims tr.is-pick td,table.dims tr.is-pick th{background:var(--brand-tint)}
table.dims tr.is-pick td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
.tfp table.dims tbody tr{cursor:pointer}
.ts-btn{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:inherit;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px}
.ts-btn:after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--muted-2);opacity:.55}
th[aria-sort="ascending"] .ts-btn:after{border-top:0;border-bottom:5px solid var(--accent);opacity:1}
th[aria-sort="descending"] .ts-btn:after{border-top:5px solid var(--accent);opacity:1}
th[aria-sort] .ts-btn{color:var(--accent-strong)}
@media(max-width:560px){.tfp-seg button{padding:8px 12px}.tfp-result{padding:14px}}

/* Job 7: preserve comfortable touch targets for product and family controls. */
@media(max-width:860px){
  body[data-pd] .pd-tabs [role="tab"]{min-height:44px}
  body[data-pd] .pd-gal-links a{min-height:44px;align-items:center}
  body[data-pd] .cf-seg button,.u-sw button{min-height:44px}
  body[data-pd] .cf-copy,.tfp-link{display:inline-flex;align-items:center;min-height:44px}
  .tfp-seg button,.tfp-chip{min-height:44px}
  .fcard .wish{width:44px;height:44px}
  .fcard .fcard-cmp{width:auto;height:auto;min-width:44px;min-height:44px}
  .fcard .wish svg{width:22px;height:22px}
  .iz-hint,.iz-b{width:44px;height:44px}
}
@media(min-width:561px) and (max-width:860px){
  .fcard .fcard-cmp{right:56px;left:auto;top:calc(75cqw + 7px);bottom:auto}
  .fcard .tf-c{padding-right:104px;overflow-wrap:anywhere}
}
@media(max-width:560px){
  .fcard .fcard-cmp{top:auto;bottom:8px;left:14px;right:auto}
  .pd-sec-hero .fcard .fcard-cmp{left:10px}
}
@media(max-width:700px){
  .cmp-close,.cmp-rm{width:44px;height:44px}
  .cmp-tbl th,.cmp-tbl td{font-size:14px}
  .cmp-tbl tbody th[scope="row"]{font-size:14px}
}

/* Tube Fittings order panel (1 Dec 2026): reserve the order-code block and the Add row at their final height, so the
   panel does not grow once the configurator script fills them. Before the script runs both #cfOut and #cfNone are
   hidden; the reserved block is invisible until then. Heights measured at 1600-360 px. */
@media(scripting:enabled){
  body[data-pd][data-family="tube-fittings"] #cfOut[hidden]:has(~#cfNone[hidden]){display:block!important;visibility:hidden}
  body[data-pd][data-family="tube-fittings"] #cfOut{min-height:168px}
  body[data-pd][data-family="tube-fittings"] #cfOut .cfg-acts{min-height:83px}
}
@media(scripting:enabled) and (max-width:980px){
  body[data-pd][data-family="tube-fittings"] #cfOut{min-height:208px}
  body[data-pd][data-family="tube-fittings"] #cfOut .cfg-acts{min-height:90px}
}
@media(scripting:enabled) and (max-width:660px){
  body[data-pd][data-family="tube-fittings"] #cfOut{min-height:228px}
  body[data-pd][data-family="tube-fittings"] #cfOut .cfg-acts{min-height:110px}
}

/* Product pages (1 Dec 2026): room between the floating header and the breadcrumb. On phones main's padding is
   shorter than the header, so the breadcrumb sat under it; half the header height brings it clear. */
body[data-pd] main>.wrap:first-child{padding-top:calc(var(--sec-y) * .25)}
@media(max-width:860px){body[data-pd] main>.wrap:first-child{padding-top:calc(var(--hdr) / 2 + var(--sec-y) * .25)}}

/* Family pages on phones (1 Dec 2026): the facts row already carries the model count, so the "all N models" line
   under the heading goes; the two buttons keep one line each, the catalogue one with a shorter label. */
.pd-acts .lbl-s{display:none}
@media(max-width:420px){
  body.has-hero .pd-hero-t h1>em{display:none}
  .pd-acts .btn{white-space:nowrap}
  .pd-acts .lbl-l{display:none}
  .pd-acts .lbl-s{display:inline}
}

/* Tube Fittings Configure panel (1 Dec 2026): when tube-picker.js swaps in the size picker it adds the unit toggle
   above the fields and, on reducers, folds two tube lists into one, so the panel grew or shrank by up to 47 px. It
   holds the tallest final height measured at 1280-1600 px (486-487.4 px) from the first frame. */
@media(scripting:enabled) and (min-width:1101px){
  body[data-pd][data-family="tube-fittings"] #order-code .pd-build{min-height:488px}
}

/* Every other configurator (1 Dec 2026): the same reserve as Tube Fittings, per family and separately for pages with
   and without the size picker (their panels differ by up to 150 px). Each value is the tallest panel measured on
   that family's pages at 1280, 1440 and 1600 px, before or after the script runs. Pages are matched by their breadcrumb's family link. */
@media(scripting:enabled) and (min-width:1101px){
  body[data-pd]:has(.crumb a[href$="/15k-psi-fittings-and-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:575px}
  body[data-pd]:has(.crumb a[href$="/2-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:711px}
  body[data-pd]:has(.crumb a[href$="/2-way-manifold-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:487px}
  body[data-pd]:has(.crumb a[href$="/20k-psi-fittings-and-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:513px}
  body[data-pd]:has(.crumb a[href$="/3-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:711px}
  body[data-pd]:has(.crumb a[href$="/5-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:627px}
  body[data-pd]:has(.crumb a[href$="/ball-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:599px}
  body[data-pd]:has(.crumb a[href$="/ball-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:556px}
  body[data-pd]:has(.crumb a[href$="/bsp-swivel-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:575px}
  body[data-pd]:has(.crumb a[href$="/bsp-swivel-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:431px}
  body[data-pd]:has(.crumb a[href$="/check-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:632px}
  body[data-pd]:has(.crumb a[href$="/check-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:560px}
  body[data-pd]:has(.crumb a[href$="/flare-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:628px}
  body[data-pd]:has(.crumb a[href$="/flare-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:499px}
  body[data-pd]:has(.crumb a[href$="/forged-pipe-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:590px}
  body[data-pd]:has(.crumb a[href$="/forged-pipe-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:509px}
  body[data-pd]:has(.crumb a[href$="/hose-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:575px}
  body[data-pd]:has(.crumb a[href$="/hose-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:431px}
  body[data-pd]:has(.crumb a[href$="/jic-swivel-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:451px}
  body[data-pd]:has(.crumb a[href$="/jic-swivel-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:431px}
  body[data-pd]:has(.crumb a[href$="/monoflange-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:775px}
  body[data-pd]:has(.crumb a[href$="/monoflange-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:477px}
  body[data-pd]:has(.crumb a[href$="/needle-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:532px}
  body[data-pd]:has(.crumb a[href$="/orbital-weld-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:544px}
  body[data-pd]:has(.crumb a[href$="/pipe-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:575px}
  body[data-pd]:has(.crumb a[href$="/pipe-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:586px}
  body[data-pd]:has(.crumb a[href$="/pressure-gauge-accessories/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:599px}
  body[data-pd]:has(.crumb a[href$="/pressure-gauge-accessories/index.html"]):has(#tfPick) #order-code .pd-build{min-height:562px}
  body[data-pd]:has(.crumb a[href$="/pressure-regulators/index.html"]):has(#tfPick) #order-code .pd-build{min-height:419px}
  body[data-pd]:has(.crumb a[href$="/pressure-relief-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:652px}
  body[data-pd]:has(.crumb a[href$="/pressure-relief-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:523px}
}

/* Phone order panel (1 Dec 2026): every choice gets the full row, so "Female x Female" fits; the order code breaks
   only after a hyphen (pd-first.js puts a <wbr> after each one); room at the bottom for the chat button. */
@media(max-width:560px){
  html body[data-pd] #order-code .pd-build .cfg-row{grid-template-columns:minmax(0,1fr)}
  html body[data-pd] #order-code .cf-code output{overflow-wrap:normal;word-break:normal;white-space:normal}
  html body[data-pd] #main #order-code>.pd-build{padding-bottom:calc(var(--fab-size) + var(--fab-gap) + 12px)}
}

/* Configurators between 761 and 1100 px (1 Dec 2026): the same per-family reserve. 981-1100 px is the side-by-side
   layout (tallest panel at 1024 and 1100 px); 761-980 px is the stacked one (tallest at 800 px). */
@media(scripting:enabled) and (min-width:981px) and (max-width:1100px){
  body[data-pd]:has(.crumb a[href$="/15k-psi-fittings-and-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:585px}
  body[data-pd]:has(.crumb a[href$="/2-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:723px}
  body[data-pd]:has(.crumb a[href$="/2-way-manifold-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:496px}
  body[data-pd]:has(.crumb a[href$="/20k-psi-fittings-and-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:533px}
  body[data-pd]:has(.crumb a[href$="/3-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:723px}
  body[data-pd]:has(.crumb a[href$="/5-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:697px}
  body[data-pd]:has(.crumb a[href$="/ball-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:615px}
  body[data-pd]:has(.crumb a[href$="/ball-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:564px}
  body[data-pd]:has(.crumb a[href$="/bsp-swivel-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:585px}
  body[data-pd]:has(.crumb a[href$="/bsp-swivel-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:439px}
  body[data-pd]:has(.crumb a[href$="/check-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:642px}
  body[data-pd]:has(.crumb a[href$="/check-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:570px}
  body[data-pd]:has(.crumb a[href$="/flare-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:662px}
  body[data-pd]:has(.crumb a[href$="/flare-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:529px}
  body[data-pd]:has(.crumb a[href$="/forged-pipe-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:619px}
  body[data-pd]:has(.crumb a[href$="/forged-pipe-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:517px}
  body[data-pd]:has(.crumb a[href$="/hose-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:609px}
  body[data-pd]:has(.crumb a[href$="/hose-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:439px}
  body[data-pd]:has(.crumb a[href$="/jic-swivel-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:451px}
  body[data-pd]:has(.crumb a[href$="/jic-swivel-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:439px}
  body[data-pd]:has(.crumb a[href$="/monoflange-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:763px}
  body[data-pd]:has(.crumb a[href$="/monoflange-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:509px}
  body[data-pd]:has(.crumb a[href$="/needle-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:540px}
  body[data-pd]:has(.crumb a[href$="/orbital-weld-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:554px}
  body[data-pd]:has(.crumb a[href$="/pipe-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:585px}
  body[data-pd]:has(.crumb a[href$="/pipe-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:594px}
  body[data-pd]:has(.crumb a[href$="/pressure-gauge-accessories/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:615px}
  body[data-pd]:has(.crumb a[href$="/pressure-gauge-accessories/index.html"]):has(#tfPick) #order-code .pd-build{min-height:593px}
  body[data-pd]:has(.crumb a[href$="/pressure-regulators/index.html"]):has(#tfPick) #order-code .pd-build{min-height:448px}
  body[data-pd]:has(.crumb a[href$="/pressure-relief-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:728px}
  body[data-pd]:has(.crumb a[href$="/pressure-relief-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:539px}
  body[data-pd]:has(.crumb a[href$="/tube-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:500px}
}
@media(scripting:enabled) and (min-width:761px) and (max-width:980px){
  body[data-pd]:has(.crumb a[href$="/15k-psi-fittings-and-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:583px}
  body[data-pd]:has(.crumb a[href$="/2-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:710px}
  body[data-pd]:has(.crumb a[href$="/2-way-manifold-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:518px}
  body[data-pd]:has(.crumb a[href$="/20k-psi-fittings-and-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:498px}
  body[data-pd]:has(.crumb a[href$="/3-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:710px}
  body[data-pd]:has(.crumb a[href$="/5-way-manifold-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:625px}
  body[data-pd]:has(.crumb a[href$="/ball-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:606px}
  body[data-pd]:has(.crumb a[href$="/ball-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:637px}
  body[data-pd]:has(.crumb a[href$="/bsp-swivel-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:583px}
  body[data-pd]:has(.crumb a[href$="/bsp-swivel-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:518px}
  body[data-pd]:has(.crumb a[href$="/check-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:616px}
  body[data-pd]:has(.crumb a[href$="/check-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:616px}
  body[data-pd]:has(.crumb a[href$="/flare-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:649px}
  body[data-pd]:has(.crumb a[href$="/flare-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:584px}
  body[data-pd]:has(.crumb a[href$="/forged-pipe-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:606px}
  body[data-pd]:has(.crumb a[href$="/forged-pipe-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:583px}
  body[data-pd]:has(.crumb a[href$="/hose-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:583px}
  body[data-pd]:has(.crumb a[href$="/hose-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:440px}
  body[data-pd]:has(.crumb a[href$="/jic-swivel-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:414px}
  body[data-pd]:has(.crumb a[href$="/jic-swivel-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:498px}
  body[data-pd]:has(.crumb a[href$="/monoflange-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:724px}
  body[data-pd]:has(.crumb a[href$="/monoflange-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:518px}
  body[data-pd]:has(.crumb a[href$="/needle-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:583px}
  body[data-pd]:has(.crumb a[href$="/orbital-weld-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:564px}
  body[data-pd]:has(.crumb a[href$="/pipe-fittings/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:583px}
  body[data-pd]:has(.crumb a[href$="/pipe-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:667px}
  body[data-pd]:has(.crumb a[href$="/pressure-gauge-accessories/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:606px}
  body[data-pd]:has(.crumb a[href$="/pressure-gauge-accessories/index.html"]):has(#tfPick) #order-code .pd-build{min-height:595px}
  body[data-pd]:has(.crumb a[href$="/pressure-regulators/index.html"]):has(#tfPick) #order-code .pd-build{min-height:440px}
  body[data-pd]:has(.crumb a[href$="/pressure-relief-valves/index.html"]):not(:has(#tfPick)) #order-code .pd-build{min-height:659px}
  body[data-pd]:has(.crumb a[href$="/pressure-relief-valves/index.html"]):has(#tfPick) #order-code .pd-build{min-height:587px}
  body[data-pd]:has(.crumb a[href$="/tube-fittings/index.html"]):has(#tfPick) #order-code .pd-build{min-height:565px}
}
