/* 2026-11-09: welded fittings branch only; reference presentation with target fields. */
#js-sticky-content#js-sticky-content.td316-valve-category #js-bx-filter{margin-top:0!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 10px!important;padding:12px!important;align-items:start!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter>.bx-filter-parameters-box{grid-row:auto!important;grid-column:auto!important;display:block!important;min-width:0!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter>.bx-filter-parameters-box[data-td316-flange-wide]{grid-column:1/-1!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter>.bx-filter-parameters-box:has(input[data-td316-flange-role="dn"]){grid-row:1!important;grid-column:1/-1!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-parameters-box-title{height:auto!important;min-height:0!important;padding:0!important;margin:0 0 4px!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-parameters-box-title span{font-size:14px!important;line-height:20px!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-block{margin:0!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-input-checkbox.scroll-content{gap:4px!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-param-label,
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-param-text{height:auto!important;min-height:30px!important}
#js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-param-text{min-width:36px!important;padding:4px 9px!important;font-size:14px!important;line-height:20px!important;white-space:normal}
#js-sticky-content#js-sticky-content.td316-valve-category .catalog-section .product-item-quantity{transform:none!important}
@media(max-width:767px){
 #js-sticky-content#js-sticky-content.td316-valve-category .smartfilter{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #js-sticky-content#js-sticky-content.td316-valve-category .smartfilter .bx-filter-param-text{min-height:36px!important}
}
#td316-pilot-card[data-td316-valve] .picker-parameters{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#td316-pilot-card[data-td316-valve] .picker-choice{margin:0}
#td316-pilot-card[data-td316-valve] .parameter-chip{min-width:0;white-space:normal}
#td316-pilot-card[data-td316-valve] .parameter-chips{max-height:180px;overflow-y:auto}
#td316-pilot-card[data-td316-valve] .picker-parameters fieldset{min-width:0}
#td316-pilot-card[data-td316-valve] .related-product-params{flex-wrap:wrap}
#td316-pilot-card[data-td316-valve] .gallery-frame img{object-fit:contain}
#td316-pilot-card[data-td316-valve] .article-rail-list a{display:block;padding:16px;border:1px solid #e1e1e1;border-radius:12px;background:#fff;color:#416da4;text-decoration:none}
@media(max-width:520px){#td316-pilot-card[data-td316-valve] .picker-parameters{grid-template-columns:1fr}}

/* Welded branch acceptance: separate the global crumbs from detail search; align listing H1. */
#td316-pilot-card[data-td316-valve]>.nav-strip{margin-top:46px}
body:has(#js-sticky-content.td316-valve-category) .navigation-wrapper{background:transparent!important}
body:has(#js-sticky-content.td316-valve-category) .navigation-content{display:block!important}
body:has(#js-sticky-content.td316-valve-category) .navigation-share{display:none!important}
body:has(#js-sticky-content.td316-valve-category) #navigation{display:block!important;width:calc(100% - 104px)!important;max-width:1216px!important;margin:0 auto 24px!important;padding:14px 0 0!important;border:0!important;background:transparent!important}
body:has(#js-sticky-content.td316-valve-category) #navigation :is(.navigation-block,.navigation-items,.navigation-breadcrumb){display:block!important;width:100%!important;margin:0!important;padding:0!important;height:auto!important;background:transparent!important}
body:has(#js-sticky-content.td316-valve-category) #pagetitle{float:none!important;display:block!important;text-align:left!important;white-space:normal!important;font:700 24px/32px Ubuntu,Arial,sans-serif!important;color:#3b434a!important;margin:0!important;padding:0!important}
@media(max-width:850px){body:has(#js-sticky-content.td316-valve-category) #navigation{width:calc(100% - 68px)!important}}
@media(max-width:520px){body:has(#js-sticky-content.td316-valve-category) #pagetitle{font-size:22px!important;line-height:28px!important}}

/* Match the approved flange landing canvas instead of compounding the legacy 80% wrapper. */
body:has(#td316-valve-sections){--td316-valve-canvas:min(972.8px,calc((100vw - 120px)*.8))}
body:has(#td316-valve-sections) .content-wrapper.internal .container-ws>.row:has(> #js-sticky-content){margin-inline:0!important}
body:has(#td316-valve-sections) .content-wrapper.internal #js-sticky-content{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body:has(#td316-valve-sections) .catalog-section-container:has(#td316-valve-sections){width:100%!important;padding-inline:0!important}
body:has(#td316-valve-sections) .catalog-section-list:has(>#td316-valve-sections){width:100%!important}
body:has(#td316-valve-sections) #td316-valve-sections{width:var(--td316-valve-canvas)!important;max-width:var(--td316-valve-canvas)!important;margin-inline:auto!important}
body:has(#td316-valve-sections) #navigation#navigation{display:block!important;width:var(--td316-valve-canvas)!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important}
body:has(#td316-valve-sections) #navigation :is(.navigation-block,.navigation-items,.navigation-breadcrumb){display:block!important;width:100%!important;padding-inline:0!important;margin-inline:0!important}
body:has(#td316-valve-sections) #pagetitle{text-align:left!important;margin-inline:0!important;padding-inline:0!important}
body:has(#td316-valve-sections) .td316-section-crumb-anchor{width:var(--td316-valve-canvas)!important;max-width:none!important;left:50%!important;transform:translateX(-50%)!important}
#td316-pilot-card[data-td316-valve] .breadcrumbs.td316-crumb-replaced{display:none!important}
@media(max-width:991px){body:has(#td316-valve-sections){--td316-valve-canvas:min(972.8px,calc((100vw - 84px)*.8))}}
@media(max-width:599px){body:has(#td316-valve-sections){--td316-valve-canvas:min(420px,calc(100vw - 54px))}}

body:has(#td316-valve-sections) .navigation-wrapper{background:transparent!important}
body:has(#td316-valve-sections) .navigation-content{display:block!important;margin-inline:0!important}
body:has(#td316-valve-sections) :is(.navigation-share,.navigation-back){display:none!important}
body:has(#td316-valve-sections) #navigation#navigation{margin:0 auto 18px!important}
body:has(#td316-valve-sections) #navigation .navigation-block{padding:0!important}
body:has(#td316-valve-sections) #pagetitle#pagetitle{display:block!important;width:100%!important;max-width:none!important;font:700 24px/32px Ubuntu,Arial,sans-serif!important;color:#3b434a!important;white-space:normal!important}
body:has(#td316-valve-sections) .td316-section-crumb-anchor>.td316-section-crumb{width:100%!important;max-width:100%!important;left:0!important;margin-inline:0!important;padding-inline:0!important;transform:none!important}
@media(max-width:599px){body:has(#td316-valve-sections) #pagetitle#pagetitle{font-size:22px!important;line-height:28px!important}}

/* The old breadcrumb sheet includes an ID inside :not(:has()), so override it only on this landing family. */
body:has(#td316-valve-sections) #navigation#navigation#navigation#navigation {width:var(--td316-valve-canvas)!important;max-width:none!important;margin:0 auto 18px!important;padding:18px 0 0!important}
body:has(#td316-valve-sections) #navigation#navigation#navigation#navigation :is(.navigation-block,.navigation-items,.navigation-breadcrumb){display:block!important;width:100%!important;margin:0!important;padding:0!important}
body:has(#td316-valve-sections) #navigation#navigation#navigation#navigation #pagetitle#pagetitle {display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important;font:700 24px/32px Ubuntu,Arial,sans-serif!important;color:#3b434a!important}
@media(max-width:599px){body:has(#td316-valve-sections) #navigation#navigation#navigation#navigation #pagetitle#pagetitle {font-size:22px!important;line-height:28px!important}}

body:has(#td316-valve-sections>.td316-valve-tile--plain) .catalog-section-container:has(#td316-valve-sections){padding-top:18px!important}

/* Listing title: counter the same legacy :not(:has(#pilot)) specificity without touching other branches. */
body:has(#js-sticky-content.td316-valve-category) #navigation#navigation#navigation#navigation :is(.navigation-block,.navigation-items,.navigation-breadcrumb){display:block!important;justify-content:initial!important;align-items:initial!important;width:100%!important;margin:0!important;padding:0!important}
body:has(#js-sticky-content.td316-valve-category) #navigation#navigation#navigation#navigation #pagetitle#pagetitle{display:block!important;float:none!important;position:static!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;white-space:normal!important}

/* Removed visual duplicate only; the global accessible chain and CMS structured data stay intact. */
body:has(#js-sticky-content.td316-valve-category) #navigation#navigation#navigation#navigation .td316-crumb-replaced,
body:has(#td316-valve-sections) #navigation#navigation#navigation#navigation .td316-crumb-replaced{display:none!important}

/* Topic-linked reading, scoped to the welded branch. */
.td316-welded-reading-strip{width:var(--td316-valve-canvas,100%);max-width:100%;margin:28px auto 18px;color:#3b434a;font-family:Ubuntu,Arial,sans-serif}
.td316-welded-reading-strip>h2{margin:0 0 12px;font:500 22px/28px Ubuntu,Arial,sans-serif}
.td316-welded-reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
a.td316-welded-reading-card,
#td316-pilot-card[data-td316-valve] a.td316-welded-reading-card{box-sizing:border-box;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:10px;min-width:0;padding:12px;border:1px solid #e1e1e1;border-radius:12px;background:#fff;color:#416da4;text-decoration:none;box-shadow:0 1px 2px #00000012}
a.td316-welded-reading-card:hover,
#td316-pilot-card[data-td316-valve] a.td316-welded-reading-card:hover{border-color:#b7c9d6;background:#f7fafc}
a.td316-welded-reading-card:focus-visible{outline:2px solid #416da4;outline-offset:3px}
a.td316-welded-reading-card>img,
#td316-pilot-card[data-td316-valve] a.td316-welded-reading-card>img{display:block;width:64px;height:64px;object-fit:cover;border-radius:8px}
.td316-welded-reading-copy,
#td316-pilot-card[data-td316-valve] .td316-welded-reading-copy{display:block;min-width:0}
.td316-welded-reading-copy>strong,
#td316-pilot-card[data-td316-valve] .td316-welded-reading-copy>strong{display:block;margin:0 0 5px;color:#416da4;font:500 14px/19px Ubuntu,Arial,sans-serif}
.td316-welded-reading-copy>small,
#td316-pilot-card[data-td316-valve] .td316-welded-reading-copy>small{display:block;color:#65727c;font:400 12px/17px Ubuntu,Arial,sans-serif}
.td316-welded-reading-no-image{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:#edf2f6;border-radius:8px;font-size:11px}
#js-sticky-content.td316-valve-category .td316-welded-reading-links{grid-template-columns:repeat(2,minmax(0,1fr))}
#js-sticky-content.td316-valve-category .td316-welded-reading-links a.td316-welded-reading-card{grid-template-columns:44px minmax(0,1fr);padding:9px;gap:8px}
#js-sticky-content.td316-valve-category .td316-welded-reading-links img{width:44px;height:52px}
#js-sticky-content.td316-valve-category .td316-welded-reading-links strong{font-size:13px;line-height:18px}
#td316-pilot-card[data-td316-valve] .article-rail-list a.td316-welded-reading-card{grid-template-columns:52px minmax(0,1fr);padding:12px;gap:9px}
#td316-pilot-card[data-td316-valve] .article-rail-list a.td316-welded-reading-card>img{width:52px;height:64px}
@media(min-width:1100px){#js-sticky-content.td316-valve-category .td316-welded-reading-links{grid-template-columns:minmax(0,1fr)}}
@media(max-width:599px){.td316-welded-reading-grid{grid-template-columns:minmax(0,1fr)}#js-sticky-content.td316-valve-category .td316-welded-reading-links{grid-template-columns:minmax(0,1fr)}}

/* Own photographs on nested valve category tiles; approved root artwork is retained. */
#td316-valve-sections .td316-valve-tile--plain{display:block;padding:0;background:linear-gradient(105deg,#fff 45%,#edf0f4 100%)}
#td316-valve-sections .td316-valve-tile--plain>img{position:absolute;width:48%;height:82%;max-height:none;right:0;top:5%;object-fit:contain;mix-blend-mode:multiply}
.td316-valve-tile-copy{position:absolute;left:6%;top:9%;width:51%;font:700 5.1cqw/1.14 Ubuntu,Arial,sans-serif;z-index:1}
.td316-valve-tile-copy strong{display:block;font:inherit;color:#303944}
.td316-valve-tile-copy i{display:block;width:17cqw;height:1cqw;margin-top:3cqw;background:#ff6b00;border-radius:4px}
#td316-valve-sections .td316-valve-tile--plain .td316-valve-count{inset:65% auto auto 5%;background:transparent;width:auto}
.td316-valve-tile-cta{position:absolute;left:6%;bottom:7%;color:#005bff;font:400 4.2cqw/1.2 Ubuntu,Arial,sans-serif;display:flex;align-items:center;gap:2cqw}
.td316-valve-tile-cta b{font:400 6cqw/.9 Ubuntu,Arial,sans-serif;border:1.5px solid #ff6b00;border-radius:20px;color:#ff6b00;padding:0 1.8cqw}
body:has(#td316-valve-sections) .td316-welded-reading-strip{width:var(--td316-valve-canvas)!important}
body:has(#td316-valve-sections) .catalog-section-container{padding-top:18px!important}
body:has(#td316-valve-sections) .navigation-back{display:none!important}

/* Hide the superseded mobile search button below the shared header, only in this branch. */
@media(max-width:850px){body:has(#td316-valve-sections) .top-panel__search-container,body:has(#js-sticky-content.td316-valve-category) .top-panel__search-container,body:has(#td316-pilot-card[data-td316-valve]) .top-panel__search-container{display:none!important}}

/* A native filter with no configured fields has no useful reset action. Keep its DOM context, hide the empty presentation. */
#js-sticky-content.td316-valve-category #js-bx-filter:not(:has(.bx-filter-parameters-box)){display:none!important}
