/* Activate the first Hero row without changing its original grid. */
.waukesha-categories li:first-child {position:relative;}
.waukesha-categories .pd-hero-link {color:inherit;text-decoration:none;}
.waukesha-categories .pd-hero-link::after {content:"";position:absolute;inset:0;}
.waukesha-categories .pd-hero-link:hover {text-decoration:underline;text-underline-offset:4px;}
.pd-section {
  --pd-offset:104px;
  background:var(--pearl);
  padding-block:calc(clamp(36px,5vw,82px) + 1px) clamp(56px,8vw,120px);
  scroll-margin-top:88px;
}
.pd-grid {
  width:min(calc(100% - 64px),1440px); margin-inline:auto;
  display:grid; grid-template-columns:minmax(0,3fr) minmax(0,7fr); align-items:start;
}
.pd-sidebar {position:sticky;top:var(--pd-offset);min-width:0;padding-right:clamp(24px,3vw,48px);}
.pd-kicker {margin:0 0 16px;color:var(--sapphire);font-size:12px;letter-spacing:.14em;}
.pd-sidebar h1,.pd-information h2 {font-size:clamp(35px,3.35vw,56px);font-weight:600;line-height:1.1;letter-spacing:-.035em;margin:0;}
.pd-sidebar h1 .locale-text[lang=th] {line-height:1.22;letter-spacing:0;}
.pd-summary,.pd-description {font-size:clamp(16px,1.3vw,20px);line-height:1.65;}
.pd-summary {margin:18px 0 22px;}
.pd-products {border-top:1px solid #172c3d25;border-bottom:1px solid #172c3d25;}
/* Compact Flygt reference rows; long labels can wrap above the 44px minimum. */
.pd-products a {display:flex;width:190px;max-width:100%;align-items:center;gap:16px;min-height:44px;padding-block:4px;box-sizing:border-box;color:#29466c;text-decoration:none;font-weight:600;}
.pd-products a > span:first-child {flex:0 0 16px;font-size:12px;font-weight:400;}
.pd-products a > span:nth-child(2) {min-width:0;overflow-wrap:anywhere;}
.pd-products a > span:last-child {flex:0 0 16px;margin-left:auto;}
.pd-sales {margin-top:24px;}
.pd-sales h2 {font-size:19px;margin:0 0 8px;font-weight:600;}
.pd-person {border-top:1px solid #172c3d20;padding:9px 0;font-size:15px;}
.pd-person h4,.pd-phone {margin:0;}
.pd-person a,.pd-return a {color:#29466c;text-underline-offset:3px;}
.pd-phone {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 12px;}
.pd-phone > span {color:#526371;}
.pd-return {border-top:1px solid #172c3d20;}
.pd-return a {display:inline-flex;gap:8px;align-items:center;min-height:44px;}
.pd-return a > [aria-hidden] {text-decoration:none;}
.pd-section a:focus-visible,.pd-hero-link:focus-visible {outline:2px solid #526a98;outline-offset:3px;}
.pd-product {min-width:0;scroll-margin-top:var(--pd-offset);}
.pd-scene {position:relative;isolation:isolate;margin:0;overflow:hidden;aspect-ratio:1672 / 941;}
.pd-factory {width:100%;height:auto;display:block;}
.pd-scene::after {
  content:"";position:absolute;left:51%;top:83.5%;width:33%;height:6%;z-index:0;
  background:radial-gradient(ellipse,#21170db0 0%,#21170d55 43%,transparent 73%);
  transform:rotate(-8deg);
}
.pd-pump {position:absolute;z-index:1;left:41%;top:30%;width:54.4%;height:auto;display:block;}
.pd-information {display:grid;gap:16px;padding:clamp(22px,3vw,38px) 0 0;}
.pd-information h2 {font-size:clamp(32px,3vw,50px);}
.pd-description {max-width:68ch;}
.pd-description p {margin:0 0 1em;}
.pd-description p:last-child {margin-bottom:0;}
@media(max-width:1024px) {
  .pd-section {--pd-offset:94px;scroll-margin-top:76px;}
  .pd-grid {width:min(calc(100% - 44px),740px);grid-template-columns:minmax(0,1fr);gap:28px;}
  .pd-sidebar {position:static;padding:0;}
  .pd-summary {max-width:64ch;}
}
@media(max-width:600px) {
  .pd-grid {width:calc(100% - 40px);}
  .pd-information {grid-template-columns:1fr;gap:14px;}
}

/* Section entry has no divider; internal editorial and sales rules remain. */
.pd-section:focus {outline:none;}
.pd-information {display:block;}
.pd-information h2 {margin:0 0 clamp(22px,2.5vw,32px);font-size:clamp(34px,3.3vw,52px);}
.pd-details {display:grid;grid-template-columns:minmax(0,30fr) minmax(0,70fr);gap:24px;align-items:start;border-top:1px solid #cbd6d8;padding-top:24px;}
.pd-number {font-size:16px;font-weight:600;color:var(--sapphire);}
.pd-description {max-width:none;color:var(--muted);line-height:1.8;}
.pd-description h3 {font-size:clamp(20px,1.55vw,24px);line-height:1.5;margin:0 0 16px;color:var(--ink);font-weight:600;}
.pd-manufacturer {display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:4px;color:#29466c;font-size:17px;font-weight:600;text-underline-offset:3px;}
.pd-sales {margin-top:26px;padding-top:18px;border-top:1px solid #172c3d25;}
.pd-sales h2 {font-weight:600;margin:0 0 12px;}
.pd-person {border:0;padding:12px 0 16px;font-size:16px;}
.pd-person + .pd-person {border-top:1px solid #172c3d25;}
.pd-person h3,.pd-phone {margin:0;}
.pd-person h3 {font-size:16px;font-weight:600;}
.pd-person > a,.pd-phone > a {display:inline-flex;align-items:center;gap:8px;min-height:36px;text-decoration:none;}
.pd-person a:hover {text-decoration:underline;}
.pd-extension {font-size:16px;color:var(--muted);}
@media(min-width:1025px) {
 .pd-sidebar {max-height:calc(100svh - var(--pd-offset) - 20px);overflow-y:auto;scrollbar-width:thin;}
}
@media(max-width:1024px) {
 .pd-details {grid-template-columns:28px minmax(0,1fr);gap:20px;}
}
@media(max-width:600px) {
 .pd-details {grid-template-columns:24px minmax(0,1fr);gap:12px;padding-top:20px;}
}

/* Align the visible phone number toward the extension within its bilingual slot. */
.pd-phone {column-gap:.32em;}
.pd-phone a .locale-slot {justify-items:end;}

/* Two contact patches follow the existing front base and mounting foot. */
.pd-scene::after {
 left:49%;top:82.7%;width:36%;height:7%;transform:rotate(-6deg);
 background:
  radial-gradient(ellipse at center,#1e1711b5 0%,#21170d69 33%,transparent 72%) left bottom / 58% 65% no-repeat,
  radial-gradient(ellipse at center,#1e1711ac 0%,#21170d57 38%,transparent 73%) right 38% / 55% 67% no-repeat,
  radial-gradient(ellipse at center,#21170d55 0%,transparent 72%) center / 100% 100% no-repeat;
}

/* A text-level keyboard cue distinguishes focus from the active underline. */
.page-header .page-languages a:focus-visible,
.popup-menu .popup-languages a:focus-visible {
 outline:none;
 text-decoration-line:underline overline;
 text-decoration-thickness:2px;
}
.pd-manufacturer {gap:6px;font-weight:500;text-decoration:none;}
.pd-link-end {white-space:nowrap;}
.pd-link-end > [aria-hidden] {margin-inline-start:6px;}
.pd-link-label {text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
.pd-manufacturer:hover .pd-link-label {text-decoration-thickness:2px;}

/* Match the Flygt inline rhythm while keeping the translated slots stable. */
.pd-phone {align-items:center;column-gap:8px;font-size:16px;line-height:1.65;}
.pd-phone > a,.pd-extension {font-size:inherit;line-height:inherit;white-space:nowrap;}
.pd-phone a .locale-text,.pd-extension .locale-text {font-variant-numeric:lining-nums;}
/* One decoration spans the words and intervening space; the atomic arrow is excluded. */
.pd-manufacturer .pd-link-label,.pd-manufacturer:hover .pd-link-label {text-decoration:none;}
.pd-manufacturer > .locale-slot > .locale-text {text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-skip-ink:none;}
.pd-link-end > [aria-hidden] {display:inline-block;}
.pd-return {margin-top:16px;padding-top:12px;border-color:#172c3d1a;}
.pd-return a {font-size:16px;line-height:1.7;font-weight:500;text-decoration:none;}
.pd-return a > .locale-slot .locale-text {text-decoration:underline;text-underline-offset:3px;}
.pd-return a > [aria-hidden] {font-weight:400;}
@media(min-width:601px) and (max-width:1024px) {.pd-return a {font-size:15px;}}

/* Continuous gallery: both exhibits share the original right column. */
.pd-gallery {min-width:0;}
.pd-gallery > .pd-product + .pd-product {margin-top:clamp(48px,6vw,96px);}
.pd-u2-scene {margin:0;aspect-ratio:1672 / 941;}
.pd-u2-scene img {display:block;width:100%;height:100%;object-fit:contain;}
.pd-products a + a {border-top:1px solid #172c3d25;}
.pd-products a:not([aria-current]) {color:var(--ink);font-weight:400;}

/* Universal 3's edited photograph already includes its contact shadow. */
.pd-scene::after {display:none;}

/* Candidate 008: Flygt outer padding and nested lower scrolling region. */
@media(min-width:1025px) {
 .pd-sidebar {
  display:flex;flex-direction:column;box-sizing:border-box;
  top:var(--pd-sidebar-top,108px);
  max-height:var(--pd-sidebar-height,calc(100svh - 132px));
  padding:30px 32px 48px 0;margin-right:0;overflow:clip;
 }
 .pd-sidebar > .pd-kicker,.pd-sidebar > h1,.pd-sidebar > .pd-summary {flex-shrink:0;}
 .pd-sidebar-controls {min-height:0;flex:0 1 auto;overflow-y:auto;scroll-padding-block:8px;}
 .pd-sidebar-controls:focus-visible {outline:2px solid #526a98;outline-offset:-2px;}
}

/* Candidate 021: Thai upper vowels/tone marks need their own line-box space.
   Keep the English type rules and the shared bilingual sizing track intact. */
.pd-sidebar h1 .locale-text[lang=th] {
 line-height:1.45;
 padding-top:.1em;
 letter-spacing:0;
}

/* Candidate 022: IBM Plex Sans Thai's initial ปั๊ cluster overhangs 0.04em.
   Reserve that ink inside the shared left edge instead of clipping it. */
.pd-sidebar h1 .locale-text[lang=th] {
 box-sizing:border-box;
 padding-inline-start:.04em;
}

/* Activate the existing second Hero category with its own hit area. */
.waukesha-categories li:nth-child(2) {position:relative;}

/* Let only the visible locale determine category heading height. Both translations stay in the HTML. */
html[lang=en] .pd-sidebar > h1 .locale-text[lang=th],
html[lang=th] .pd-sidebar > h1 .locale-text[lang=en] {display:none;}

/* Product rows are sized by their visible label. Both translations remain in the HTML. */
html[lang=en] .pd-products a > .locale-slot > .locale-text[lang=th],
html[lang=th] .pd-products a > .locale-slot > .locale-text[lang=en] {display:none;}

/* Match the introduction gap in categories whose heading leads directly into navigation. */
.pd-sidebar > h1 + .pd-sidebar-controls {margin-block-start:18px;}
