
.two-way-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:linear-gradient(97deg,rgba(5,23,45,.98) 0%,rgba(7,34,64,.94) 49%,rgba(11,63,105,.52) 100%),url('assets/valves-category-background.webp') center/cover no-repeat}
.two-way-hero:after{content:"";position:absolute;pointer-events:none;border:1px solid #6bc5ff28;width:550px;height:550px;border-radius:50%;left:-180px;top:-140px}
.two-way-hero-inner{display:flex;justify-content:space-between;align-items:center;min-height:470px;gap:34px;padding:40px 0 38px}
.two-way-hero-copy{position:relative;z-index:1;max-width:680px}.two-way-eyebrow{display:block;font:bold 11px Arial,sans-serif;letter-spacing:2px;color:#77cef7;direction:ltr;text-align:right;margin-bottom:12px}
.two-way-brand{display:flex;align-items:center;gap:12px;margin-bottom:12px}.two-way-brand img{border-radius:13px;object-fit:contain;background:#fff;padding:3px}.two-way-brand strong,.two-way-brand small{display:block}.two-way-brand strong{font-size:15px}.two-way-brand small{font:bold 10px Arial,sans-serif;letter-spacing:1px;color:#a0d9ff;margin-top:2px}
.two-way-hero h1{font-size:clamp(34px,4.5vw,62px);font-weight:900;line-height:1.33;margin:10px 0 2px}.two-way-hero h1 em{color:#69cbfa;font-style:normal}.two-way-en{font:800 16px Arial,sans-serif;direction:ltr;text-align:right;letter-spacing:1px;color:#b7dcf3;margin:5px 0 15px}
.two-way-hero p{max-width:650px;line-height:2.0;color:#e1f0fd;font-size:13px}.two-way-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin:24px 0}.two-way-hero-actions a{min-width:145px;text-align:center}
.two-way-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;color:#a1c8e1}.two-way-breadcrumb a{color:#dceeff;text-decoration:none}.two-way-breadcrumb strong{color:#8dd0ff}
.two-way-hero-art{align-self:stretch;min-width:265px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ffffff57;font:bold 16px Arial;letter-spacing:2px;text-align:center}
.hero-metal-circle{width:220px;height:220px;border-radius:50%;border:20px solid #9bd6f41c;box-shadow:inset 0 0 50px #bddafb24,0 0 70px #93d5fb10;display:grid;place-items:center;margin-top:20px;transform:rotate(-16deg)}.hero-metal-circle>span{font:900 45px/1 Arial,sans-serif;color:#bdeaff68}
.two-way-products{padding:56px 0 80px;background:#f5f9fc}.two-way-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}.two-way-heading h2{margin:7px 0;font-size:32px;color:#102d47}.two-way-heading p{color:#73879b;font-size:13px;line-height:1.9;margin:0}.two-way-count{border-radius:15px;border:1px solid #d6e6f3;padding:12px 17px;background:#fff;display:flex;gap:10px;align-items:center;color:#0076b9;white-space:nowrap}.two-way-count strong{font:bold 30px Arial}.two-way-count span{font-weight:800;font-size:12px}
.two-way-search{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0 25px}.two-way-search label{display:flex;align-items:center;gap:8px;background:white;border:1px solid #d7e4ef;border-radius:11px;padding:9px 14px;width:390px;max-width:100%;color:#318ac4}.two-way-search input{width:100%;border:none;outline:none;background:none;color:#244158;font-family:inherit;font-size:12px}.two-way-search>span{color:#7389a0;font-size:12px}
.two-way-product-group{margin:26px 0 35px}.two-way-product-group+.two-way-product-group{margin-top:38px}
.two-way-group-heading{display:flex;align-items:center;gap:14px;direction:ltr;text-align:left;margin:0 0 19px;color:#102d47;font:900 clamp(23px,2.7vw,30px)/1.4 Arial,sans-serif;letter-spacing:.15px}
.two-way-group-heading:after{content:'';height:2px;flex:1;background:linear-gradient(90deg,#3bb2ea 0%,#d8e8f3 65%,transparent 100%)}
.two-way-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;align-items:stretch}.two-way-grid .product-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e2eaf2;border-radius:17px;box-shadow:0 8px 25px #0e2e4e0b}.two-way-grid .product-image{height:227px;background:#fff;position:relative;display:flex;align-items:center;justify-content:center;text-decoration:none}.two-way-grid .product-tag{display:none}.two-way-grid .product-card-body{padding:18px;display:flex;flex:1;flex-direction:column}.two-way-grid .product-category{font-size:10px;color:#138fbe}.two-way-grid .product-card h3{font-size:15px;line-height:1.8;min-height:55px;margin:4px 0}.two-way-grid .product-en{font-size:11px;min-height:42px;direction:ltr;text-align:right;line-height:1.5}.two-way-grid .product-description{font-size:11px;line-height:1.8;min-height:87px;margin-bottom:12px}.two-way-grid .product-actions{margin-top:auto;display:flex;gap:8px}.two-way-grid .product-actions a,.two-way-grid .product-actions button{font-size:11px;white-space:nowrap}.two-way-grid .product-card-body:before{content:'INDUSTRIAL VALVES';font:bold 9px Arial;letter-spacing:1px;color:#90a8ba}.two-way-grid .source-photo{position:relative}.two-way-grid .source-photo img{max-width:95%;max-height:205px}.two-way-grid .model-ref{align-self:flex-start}.two-way-source-note{line-height:1.8;font-size:12px;color:#6f8598;background:#edf4f9;padding:16px 20px;border-radius:12px;margin-top:24px}.two-way-back{margin-top:20px}
@media(max-width:1150px){.two-way-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-way-grid .product-image{height:250px}.two-way-grid .product-card h3{min-height:auto}.two-way-hero-art{min-width:180px}.hero-metal-circle{width:140px;height:140px}}
@media(max-width:680px){.two-way-hero-inner{min-height:auto;display:block;padding:31px 0 36px}.two-way-hero-art{display:none}.two-way-hero h1{font-size:35px}.two-way-hero p{font-size:12px}.two-way-brand img{width:43px;height:43px}.two-way-products{padding:35px 0 60px}.two-way-heading{align-items:start}.two-way-heading h2{font-size:23px}.two-way-heading p{font-size:11px}.two-way-count{padding:7px 9px}.two-way-count strong{font-size:20px}.two-way-search{align-items:stretch;flex-direction:column}.two-way-search label{width:100%}.two-way-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.two-way-grid .product-image{height:170px}.two-way-grid .product-card-body{padding:11px}.two-way-grid .product-card h3{font-size:11px;min-height:69px}.two-way-grid .product-en{font-size:9px;min-height:55px}.two-way-grid .product-description{font-size:10px;min-height:130px}.two-way-grid .product-actions{flex-direction:column}.two-way-grid .model-ref{font-size:9px}}
@media(max-width:400px){.two-way-grid{grid-template-columns:1fr}.two-way-grid .product-image{height:260px}.two-way-grid .product-card h3,.two-way-grid .product-en,.two-way-grid .product-description{min-height:unset}}

/* Informational photos for nested category and product-type headings */
.two-way-hero-art{min-width:280px;max-width:35%;flex:0 1 35%;align-self:center;}
.two-way-hero-art img{display:block;width:100%;height:auto;aspect-ratio:2.2 / 1;object-fit:cover;border-radius:20px;border:1px solid #b6dfff40;box-shadow:0 24px 60px #00182e55;}
.two-way-group-heading .two-way-group-photo{display:block;flex:0 0 142px;width:142px;height:86px;object-fit:cover;border-radius:12px;border:1px solid #d7e7f3;background:#edf6fc;box-shadow:0 4px 16px #16416214;}
.two-way-group-heading span{white-space:nowrap;}
.two-way-grid .product-image{background:linear-gradient(180deg,#f2f7fb 0%,#eaf3f9 100%);}
.two-way-grid .source-photo img{border-radius:12px;mix-blend-mode:multiply;}
@media(max-width:680px){.two-way-hero-art{display:block;max-width:100%;min-width:0;width:100%;margin-top:24px;}.two-way-hero-art img{max-height:210px;object-fit:cover;}.two-way-group-heading{gap:10px;font-size:23px;}.two-way-group-heading .two-way-group-photo{flex:0 0 90px;width:90px;height:65px;}.two-way-group-heading:after{min-width:12px;}}

/* Customer adjustments (2026-11-19): one uncropped product beside section title; clean type headings. */
.two-way-hero-art{align-self:center;min-width:235px;max-width:34%;}
.two-way-hero-art img{width:100%;height:auto;max-height:335px;aspect-ratio:1.2/1;object-fit:contain;object-position:center;padding:16px;background:#f3f8fc;border:1px solid rgba(178,223,253,.3);}
.two-way-group-heading{gap:12px;}
.two-way-grid .product-image::after{display:none;}
.two-way-grid .source-photo-local{background:transparent;}
.two-way-grid .source-photo-local img{position:static;display:block;max-width:94%;max-height:95%;mix-blend-mode:normal;object-fit:contain;background:#fff;border-radius:12px;}
@media(max-width:680px){.two-way-hero-art{max-width:100%;width:100%;}.two-way-hero-art img{height:205px;max-height:205px;aspect-ratio:auto;object-fit:contain;padding:10px;}.two-way-group-heading{gap:8px;}}

/* Approved white product-photo framing: 19 November 2026 */
.two-way-grid .product-image{background:#fff!important;}
.two-way-hero-art img{background:#fff!important;object-fit:contain!important;}
.two-way-parent-card .two-way-parent-photo{background:#fff!important;}
.two-way-parent-card .two-way-parent-photo img{background:#fff!important;object-fit:contain!important;}

/* All Knife Gate Valves appear together in one continuous grid. */
@media (min-width:1350px) {
 .knife-unified-grid {grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
 .knife-unified-grid .product-card-body {padding:12px}
 .knife-unified-grid .product-card h3 {font-size:13px}
 .knife-unified-grid .product-image {height:190px}
 .knife-unified-grid .product-actions {flex-direction:column}
 .knife-unified-grid .product-actions > * {width:100%}
}
