/* V6: cohesive catalog UI and honest, package-specific 3D reference imagery. */
body.ch6-ui { --ch-ink:#102a46; --ch-blue:#075fbd; --ch-blue-dark:#064c99; --ch-line:#d9e5ef; --ch-pale:#f3f8fc; }
body.ch6-ui .site-header { border-bottom:1px solid #e4edf4; box-shadow:0 5px 20px rgba(12,39,67,.035); }
body.ch6-ui .ast-desktop .main-header-menu > .menu-item:not(#menu-item-64003) > .menu-link { position:relative; }
body.ch6-ui .ast-desktop .main-header-menu > .menu-item:not(#menu-item-64003) > .menu-link:after { content:""; position:absolute; left:14px; right:14px; bottom:20px; height:2px; border-radius:2px; background:#0c74cf; transform:scaleX(0); transform-origin:left; transition:transform .2s ease; }
body.ch6-ui .ast-desktop .main-header-menu > .menu-item:not(#menu-item-64003) > .menu-link:hover:after,
body.ch6-ui .ast-desktop .main-header-menu > .current-menu-item:not(#menu-item-64003) > .menu-link:after { transform:scaleX(1); }
body.ch6-ui .ast-desktop #menu-item-64003 > .menu-link { min-height:43px; border-radius:10px; background:#075fbd !important; box-shadow:0 7px 17px rgba(7,93,185,.17); }
body.ch6-ui .ast-desktop #menu-item-64003 > .menu-link:hover { background:#064b95 !important; }
body.ch6-ui a:focus-visible, body.ch6-ui button:focus-visible, body.ch6-ui input:focus-visible, body.ch6-ui select:focus-visible { outline:3px solid #f0ad43; outline-offset:3px; }

/* Home: less dead space above the search, calmer proof and routes. */
body.ch6-ui.page-id-5 .site-content > .ast-container { max-width:1320px; }
body.ch6-ui .ch-ui-home { padding-top:10px; }
body.ch6-ui .ch-ui-hero { min-height:0; grid-template-columns:minmax(0,1.4fr) minmax(255px,.6fr); gap:28px; padding:46px clamp(30px,4.1vw,58px); border-radius:18px; box-shadow:0 18px 38px rgba(7,40,77,.13); }
body.ch6-ui .ch-ui-hero h1 { max-width:720px; font-size:clamp(36px,4vw,55px); }
body.ch6-ui .ch-ui-hero-lead { margin-bottom:20px; }
body.ch6-ui .ch-ui-search-row { border:1px solid #bcd5ec; box-shadow:0 8px 20px rgba(3,20,39,.11); }
body.ch6-ui .ch-ui-search-row button { min-width:139px; }
body.ch6-ui .ch-ui-proof { margin-top:17px; margin-bottom:51px; padding:17px 0; }
body.ch6-ui .ch-ui-proof strong { font-size:22px; }
body.ch6-ui .ch-ui-section { margin-bottom:56px; }
body.ch6-ui .ch-ui-brand, body.ch6-ui .ch-ui-service-grid > div { border-color:#d7e5f0; box-shadow:0 3px 12px rgba(5,50,91,.035); }
body.ch6-ui .ch-ui-brand:hover { transform:translateY(-4px); border-color:#7fbae9; box-shadow:0 14px 27px rgba(8,70,122,.12); }
body.ch6-ui .ch-ui-brand-mark { border-radius:11px; background:#e6f2fc; }

/* Product directory and manufacturer/part-finder routes. */
body.ch6-ui.page-id-7 .site-content > .ast-container { max-width:1320px; }
body.ch6-ui.page-id-7 .entry-header { margin-bottom:5px; }
body.ch6-ui .ch-ui-products-search { max-width:none; margin:24px 0 47px; padding:18px 20px; background:linear-gradient(120deg,#f5faff,#eef6fd); }
body.ch6-ui .ch-ui-products-search .ch-ui-search-row { max-width:900px; }
body.ch6-ui .ch-ui-products .ch-ui-brand { min-height:142px; }
body.ch6-ui .ch-ui-other { background:#f9fcff; }
body.ch6-ui .ch-ui-popular-hero { margin-bottom:30px; }
body.ch6-ui .ch-pp-item { box-shadow:0 2px 9px rgba(12,60,98,.035); }
body.ch6-ui .ch-pp-item:hover { border-color:#8bbde4; background:#f7fbfe; box-shadow:0 9px 20px rgba(12,60,98,.095); }
body.ch6-ui .ch-ui-landing { padding-top:8px; }
body.ch6-ui .ch-ui-landing-hero { gap:20px; padding:31px 34px; border-color:#d6e5f0; background:linear-gradient(125deg,#f9fcff,#eef6fc); box-shadow:0 8px 26px rgba(8,52,91,.045); }
body.ch6-ui .ch-ui-landing-search { background:linear-gradient(145deg,#12395e,#0a2c4c); }
body.ch6-ui .ch-ui-landing-related a { border-radius:9px; }
body.ch6-ui .ch-ui-catalog-list { background:#f7fbfe; }
body.ch6-ui .ch-ui-catalog-list li { border-color:#dce7ef; transition:border-color .16s,box-shadow .16s; }
body.ch6-ui .ch-ui-catalog-list li:hover { border-color:#80b9e6; box-shadow:0 7px 16px rgba(8,69,120,.08); }

/* About and inquiry: consistent first-fold spacing and clear form focus. */
body.ch6-ui .ch-ui-about-hero, body.ch6-ui .ch-ui-contact-top { margin-bottom:36px; }
body.ch6-ui .ch-ui-about-card-grid article { box-shadow:0 5px 18px rgba(9,55,99,.05); }
body.ch6-ui .ch-ui-contact-form { box-shadow:0 10px 28px rgba(8,50,91,.06); }
body.ch6-ui .ch-ui-contact-form input:not([type="submit"]):focus,
body.ch6-ui .ch-ui-contact-form textarea:focus { border-color:#1477c6 !important; box-shadow:0 0 0 3px rgba(20,119,198,.12) !important; outline:none !important; }

/* Product profile: a substantial product visual without pretending it is an exact-MPN photo. */
body.ch6-ui.ch5-product-v5 .ch4-overview-grid { grid-template-columns:minmax(250px,.92fr) minmax(320px,1.44fr) minmax(255px,.94fr); gap:23px; padding:26px; }
body.ch6-ui.ch5-product-v5 .ch4-media-surface { border-radius:13px; }
body.ch6-ui.ch5-product-v5 .ch5-media-fallback { padding:11px; background:#fbfcfd; }
body.ch6-ui .ch6-package-render { height:239px; border:1px solid #e4eaf0; border-radius:9px; background:radial-gradient(ellipse at 46% 18%,#fff 18%,#f6f8fa 78%,#e8eef3); }
body.ch6-ui .ch6-package-render svg { width:100%; max-width:400px; height:100%; filter:none; }
body.ch6-ui .ch6-has-render .ch5-image-info { padding:12px 6px 4px; }
body.ch6-ui .ch6-has-render .ch5-image-label { color:#0a65ae; font-size:10px; }
body.ch6-ui .ch6-has-render .ch5-image-heading { margin:6px 0 4px; font-size:13px; }
body.ch6-ui .ch6-has-render .ch5-image-caption { font-size:10px; }
body.ch6-ui .ch4-facts-heading { font-size:clamp(20px,1.85vw,27px) !important; }
body.ch6-ui .ch4-description { font-size:13.5px; line-height:1.58; }
body.ch6-ui .ch4-fact { background:#f7fafd; }
body.ch6-ui .ch4-fact dd { font-size:13.5px; }
body.ch6-ui .ch4-inquiry { background:linear-gradient(148deg,#143e64,#092d51); }
body.ch6-ui .ch4-primary-button { min-height:47px; background:#0878d8; }
body.ch6-ui .ch4-primary-button:hover { background:#1388e6; }
body.ch6-ui .ch4-subnav { gap:7px 22px; }
body.ch6-ui .ch4-subnav a { font-size:12px; }
body.ch6-ui .ch4-overview.ch6-no-reference .ch4-overview-grid { grid-template-columns:minmax(0,1.5fr) minmax(275px,.8fr); }
body.ch6-ui .ch4-overview.ch6-no-reference .ch4-media { display:none; }
body.ch6-ui .ch4-overview.ch6-no-reference .ch4-inquiry { grid-column:2; }
body.ch6-ui .site-footer { border-top:1px solid #dbe6ef; }

@media (max-width:1100px) {
  body.ch6-ui.ch5-product-v5 .ch4-overview-grid { grid-template-columns:minmax(235px,.8fr) minmax(330px,1.2fr); }
  body.ch6-ui .ch4-inquiry { grid-column:1/-1; }
  body.ch6-ui .ch4-overview.ch6-no-reference .ch4-overview-grid { grid-template-columns:1fr; }
  body.ch6-ui .ch4-overview.ch6-no-reference .ch4-inquiry { grid-column:1; }
}
@media (max-width:720px) {
  body.ch6-ui .ch-ui-home { padding-top:4px; }
  body.ch6-ui .ch-ui-hero { display:block; padding:29px 22px; border-radius:14px; }
  body.ch6-ui .ch-ui-hero h1 { font-size:clamp(32px,8vw,43px); }
  body.ch6-ui .ch-ui-proof { margin-bottom:40px; }
  body.ch6-ui .ch-ui-products-search { margin:18px 0 34px; padding:17px; }
  body.ch6-ui .ch-ui-landing-hero { padding:25px 20px; }
  body.ch6-ui .ch-ui-about-hero, body.ch6-ui .ch-ui-contact-top { margin-bottom:27px; }
  body.ch6-ui.ch5-product-v5 .ch4-overview-grid { display:flex; flex-direction:column; gap:14px; padding:14px; }
  body.ch6-ui .ch4-media.ch6-has-render { display:flex !important; order:0; }
  body.ch6-ui .ch4-facts { order:1; }
  body.ch6-ui .ch4-inquiry { order:2; }
  body.ch6-ui .ch4-overview.ch6-no-reference .ch4-inquiry { grid-column:auto; }
  body.ch6-ui .ch6-package-render { height:142px; }
  body.ch6-ui .ch6-has-render .ch5-image-info { padding:8px 5px 2px; }
  body.ch6-ui .ch6-has-render .ch5-image-heading { margin:4px 0 2px; }
  body.ch6-ui .ch6-has-render .ch5-image-caption { font-size:9px; }
  body.ch6-ui .ch6-has-render .ch4-media-note { display:none; }
  body.ch6-ui .ch6-has-render .ch4-media-note { margin-top:4px; }
}
@media (prefers-reduced-motion:reduce) {
  body.ch6-ui .ch-ui-brand, body.ch6-ui .ast-desktop .main-header-menu > .menu-item > .menu-link:after { transition:none; }
}
