/* Touch layouts are isolated from the retained desktop stylesheet. */
.mobile-language,.mobile-products-expand{display:none}
.product-card-image img{height:auto}
@media(max-width:1020px){
  .header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff}
  .header-inner{min-height:68px;gap:10px}
  .header-inner>.brand{width:160px;height:48px;background-size:180px 180px;margin-inline-end:auto}
  .header-inner>.mobile-language{display:inline-flex;margin:0;flex:0 0 auto}
  .mobile-language select{min-width:106px;max-width:116px;width:106px;min-height:44px;padding:8px 24px 8px 11px;font-size:13px}
  .menu-toggle{display:grid;place-items:center;flex:0 0 44px;order:3;line-height:1}
  .nav .language-control{display:none}
  .nav{position:fixed;left:0;right:0;bottom:0;width:100%;height:auto;max-height:none;padding:18px 22px 32px;gap:0;justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .nav>*{flex-shrink:0}
  .nav>a,.nav-products>a{display:flex;align-items:center;min-height:48px;padding:11px 4px;font-size:16px}
  .nav-products{position:relative;width:100%;padding:0}
  .nav-products>a{padding-inline-end:52px}
  .mobile-products-expand{display:grid;place-items:center;position:absolute;inset-inline-end:0;top:2px;width:44px;height:44px;border:1px solid #dce5f0;border-radius:10px;color:#075ed1;background:#f2f7ff;font-size:23px;line-height:1}
  .nav .nav-products .products-mega{display:none!important;position:static;max-height:none;margin:0;padding:15px 0 18px;border:0;box-shadow:none}
  .nav .nav-products.product-menu-open .products-mega{display:block!important}
  .products-mega-grid{grid-template-columns:1fr;gap:16px}
  .mega-subcategory,.mega-category{display:flex;align-items:center;min-height:42px;padding-block:9px}
  .products-mega-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}
  .products-mega-head>a{min-height:40px;display:inline-flex;align-items:center}
  .nav>a.nav-cta{justify-content:center;margin-top:18px;padding-inline:18px;color:#fff;background:#0b6bea}
  body.menu-open .contact-dock{visibility:hidden}
  .filter-bar{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:10px;margin-bottom:20px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .filter-bar .filter-btn{flex:0 0 auto;min-height:44px;scroll-snap-align:start;white-space:nowrap;font-size:13px}
}


@media(max-width:700px){
  :root{--container:calc(100% - 32px)}
  html{scroll-padding-block:86px 90px}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}
  button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
  a,button{touch-action:manipulation;scroll-margin-bottom:90px}
  input,textarea{font-size:16px}
  .topbar-inner{min-height:30px;gap:0;justify-content:center}
  .topbar-inner>span:first-child{display:none}
  .topbar-inner>span:last-child{display:block;font-size:10px;line-height:1.5;white-space:nowrap}
  .header-inner{min-height:64px;gap:8px}
  .header-inner>.brand{width:145px;height:44px;background-size:163px 163px}
  .mobile-language select{min-width:96px;max-width:104px;width:100px;min-height:42px;font-size:12px;padding-inline:10px 21px}
  .menu-toggle{width:42px;height:42px;flex-basis:42px;font-size:21px}
  .section{padding-block:52px}
  .section-sm{padding-block:36px}
  .section-heading{margin-bottom:26px}
  .section-heading h2{font-size:clamp(25px,7vw,32px);line-height:1.2;overflow-wrap:break-word}
  .section-heading .lead{font-size:15px;line-height:1.7}
  .page-hero{padding:38px 0 42px}
  .page-hero h1{font-size:clamp(29px,8vw,40px);line-height:1.18;overflow-wrap:break-word}
  .page-hero .lead{font-size:15px;line-height:1.7}
  .catalog-facet select{min-height:46px;font-size:16px}
  .breadcrumbs{font-size:12px;gap:6px;margin-bottom:18px}
  .grid.mobile-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mobile-product-grid .product-card{display:flex;flex-direction:column;border-radius:16px}
  .mobile-product-grid .product-card-image img{aspect-ratio:1;object-fit:contain;background:#fff}
  .mobile-product-grid .product-card-image>span{inset-inline-start:7px;top:7px;max-width:calc(100% - 14px);padding:4px 7px;font-size:9px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-product-grid .product-card-body{display:flex;flex:1;flex-direction:column;padding:13px 11px}
  .mobile-product-grid .product-card-body h3{font-size:15px;line-height:1.4;overflow-wrap:break-word}
  .mobile-product-grid .product-card-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.6;margin-top:9px}
  .mobile-product-grid .mini-specs{gap:4px;margin-top:10px}
  .mobile-product-grid .mini-specs span{font-size:9px;padding:4px 5px;line-height:1.3}
  .mobile-product-grid .mini-specs span:nth-child(n+3){display:none}
  .mobile-product-grid .text-link{min-height:42px;align-self:flex-start;margin-top:auto;padding-top:12px;font-size:12px;gap:5px}
  .grid.mobile-case-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .mobile-case-grid .product-card-image img{aspect-ratio:16/10;object-fit:cover}
  .mobile-case-grid .product-card-body{padding:20px}
  .mobile-case-grid .product-card-body h3{font-size:20px;line-height:1.35}
  .mobile-case-grid .product-card-body p{font-size:14px;line-height:1.7}
  .mobile-case-grid .text-link{min-height:44px;font-size:14px}
  html .hero-full-banner .hero-banner-nav{left:16px;right:16px;width:auto;margin-inline:0;transform:none}
  .hero-full-banner .hero-slide-copy p{max-width:calc(100% - 4px)}
  .product-hero{padding-block:32px 42px}
  .product-hero-grid{gap:28px}
  .product-summary h1{font-size:31px;line-height:1.2;overflow-wrap:break-word}
  .product-summary .tagline{font-size:18px}
  .product-summary .intro{font-size:15px;line-height:1.75}
  .spec-table{font-size:13px;table-layout:fixed;width:100%;overflow-wrap:anywhere}
  .spec-table th,.spec-table td{padding:12px 10px}
  .spec-table th{width:34%}
  .article-hero{padding-block:36px}
  .article-hero h1{font-size:31px;line-height:1.2;overflow-wrap:break-word}
  .article-hero .lead{font-size:15px}
  .article-content{font-size:16px;line-height:1.8;overflow-wrap:break-word}
  .article-content h2{font-size:24px;line-height:1.3}
  .article-sidebar{min-width:0}
  .contact-dock{inset:auto 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;height:auto;max-height:calc(64px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);border-radius:16px 16px 0 0;border:1px solid #dce5f0;transform:none;box-shadow:0 -6px 28px #071d3d12;background:#fff}
  .contact-dock .dock-service{display:none}
  .contact-dock .dock-action{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;min-height:56px;padding:9px 4px;border:0;border-inline-start:1px solid #edf1f6;font-size:12px;line-height:1.25}
  .contact-dock .dock-action>.dock-icon{width:29px;height:29px;min-width:29px;border-radius:50%;font-size:10px;line-height:29px;display:grid;place-items:center}
  .qr-popover,.wechat-popover{inset:auto 12px calc(76px + env(safe-area-inset-bottom,0px)) auto;width:min(320px,calc(100% - 24px));max-height:calc(100svh - 170px);overflow:auto}
  .footer-main{gap:26px}
  .footer a[href^="mailto:"]{overflow-wrap:anywhere}
  .cookie-banner{bottom:calc(72px + env(safe-area-inset-bottom,0px));max-height:45svh;overflow:auto;font-size:12px;padding:14px}
}
@media(max-width:359px){
  .header-inner>.brand{width:126px;background-size:144px 144px}
  .mobile-language select{min-width:90px;width:90px;max-width:90px}
  .header-inner{gap:5px}
  .topbar-inner>span:last-child{font-size:9px}
  .mobile-product-grid .product-card-body{padding:11px 9px}
  .mobile-product-grid .product-card-body h3{font-size:14px}
}
@media(min-width:701px) and (max-width:1020px){
  html{scroll-padding-bottom:90px}
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}
  .contact-dock{inset:auto 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;height:auto;padding-bottom:env(safe-area-inset-bottom,0px);border-radius:16px 16px 0 0;transform:none;background:#fff}
  .contact-dock .dock-service{display:none}
  .contact-dock .dock-action{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;min-height:58px;padding:9px;border:0;border-inline-start:1px solid #edf1f6;font-size:14px}
  .contact-dock .dock-icon{width:30px;height:30px;font-size:10px;display:grid;place-items:center}
  .qr-popover,.wechat-popover{inset:auto 18px calc(78px + env(safe-area-inset-bottom,0px)) auto}
  .cookie-banner{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}

/* A shorter mobile homepage; full catalogue and case directories keep their layouts. */
@media(max-width:700px){
  .page-home .section{padding-block:32px}
  .page-home .section-sm{padding-block:28px}
  .page-home .section-heading{margin-bottom:18px}
  .page-home .section-heading .eyebrow{margin-bottom:8px;font-size:11px;letter-spacing:.07em}
  .page-home .section-heading h2{font-size:24px;line-height:1.22}
  .page-home .section-heading h2+p{margin-top:10px}
  .page-home .section-heading .lead{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.6}
  .page-home .home-intro{padding-block:28px}
  .page-home .home-intro-grid{gap:14px}
  .page-home .home-intro .eyebrow{font-size:10px;letter-spacing:.06em;margin-bottom:10px}
  .page-home .home-intro h2{font-size:28px;line-height:1.2}
  .page-home .home-intro p{font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .page-home .home-intro .text-link{font-size:12px;margin-top:12px;min-height:34px}
  .page-home .trust-strip{margin-block:0 8px}
  .page-home .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}
  .page-home .trust-item{padding:10px}
  .page-home .trust-item strong{font-size:22px}
  .page-home .trust-item span{font-size:11px;line-height:1.4;margin-top:6px}
  .page-home .home-family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .page-home .home-family-grid .family-card{display:flex;flex-direction:column;min-height:0;padding:14px;border-radius:16px}
  .page-home .home-family-grid .family-icon{width:32px;height:32px;margin-bottom:10px;border-radius:10px;font-size:12px}
  .page-home .home-family-grid .family-card h3{font-size:14px;line-height:1.4;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .page-home .home-family-grid .family-card p{font-size:12px;line-height:1.5;margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .page-home .home-family-grid .family-card .text-link{font-size:11px;line-height:1.4;min-height:30px;margin-top:auto;padding-top:10px;gap:4px}
  .page-home .home-family-grid .family-card::after{font-size:54px;right:8px;bottom:-7px}
  .page-home .home-featured-grid .mini-specs{display:none}
  .page-home .home-featured-grid .product-card-image img{aspect-ratio:3/2}
  .page-home .home-featured-grid .product-card-body{display:flex;flex:1;flex-direction:column;padding:12px}
  .page-home .home-featured-grid .product-card{display:flex;flex-direction:column;border-radius:16px}
  .page-home .home-featured-grid .product-card-body h3{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .page-home .home-featured-grid .product-card-body p{font-size:12px;line-height:1.55;margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .page-home .home-featured-grid .product-card-body .text-link{font-size:12px;line-height:1.4;margin-top:auto;padding-top:10px;min-height:36px;gap:4px}
  .page-home [data-featured-cases] .home-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .page-home [data-featured-cases] [data-case-card]:nth-child(n+5){display:none}
  .page-home [data-featured-cases] .product-card-image>span{top:7px;inset-inline-start:7px;max-width:calc(100% - 14px);padding:4px 7px;font-size:9px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .page-home .home-applications-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .page-home .solution-card{min-height:180px;padding:16px;border-radius:16px}
  .page-home .solution-card .solution-num{font-size:9px;line-height:1.5;margin-bottom:12px}
  .page-home .solution-card h3{font-size:16px;line-height:1.35}
  .page-home .solution-card p{font-size:12px;line-height:1.55;margin-top:10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .page-home .quality-layout{gap:22px}
  .page-home .quality-image img{min-height:0;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:16px}
  .page-home .quality-image .image-note{left:10px;right:10px;bottom:10px;width:fit-content;max-width:calc(100% - 20px);border-radius:10px;font-size:9px;padding:6px 8px}
  .page-home .quality-layout h2{font-size:26px;line-height:1.25}
  .page-home .quality-layout .lead{font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .page-home .process-list{margin-block:18px}
  .page-home .process-item{gap:12px;padding-block:10px}
  .page-home .process-item strong{font-size:14px;line-height:1.5}
  .page-home .process-item p{display:none}
  .page-home .process-number{width:32px;height:32px;min-width:32px;font-size:12px}
  .page-home .quality-layout>.text-link,.page-home .quality-layout>div>.text-link{min-height:36px;margin-top:12px;font-size:12px}
  .page-home .cta-inner{padding:24px;gap:18px}
  .page-home .cta-inner h2{font-size:26px;line-height:1.25}
  .page-home .cta-inner p{font-size:14px;line-height:1.65}
  .page-home .cta-inner .btn{min-height:44px;font-size:13px;padding:12px 18px}
}

/* Keep the inquiry action within thumb reach on every mobile page. */
@media(max-width:1020px){
  .contact-dock{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;backdrop-filter:none;-webkit-backdrop-filter:none}
  .contact-dock .dock-action[href$="#inquiry"]{position:fixed;z-index:75;right:max(12px,env(safe-area-inset-right,0px));bottom:calc(100px + env(safe-area-inset-bottom,0px));left:auto;display:flex;flex-direction:column;justify-content:center;gap:4px;width:68px;min-height:68px;height:auto;padding:10px 5px;border:1px solid #ffffff70;border-radius:20px;color:#fff;background:#0868e8;box-shadow:0 8px 24px #075ed144;font-size:11px;font-weight:750;line-height:1.3;text-align:center;visibility:visible}
  .contact-dock .dock-action[href$="#inquiry"]:hover{color:#fff;background:#075bc9}
  .contact-dock .dock-action[href$="#inquiry"]:focus-visible{outline:3px solid #8bc2ff;outline-offset:3px}
  .contact-dock .dock-action[href$="#inquiry"]>.dock-icon{position:relative;width:25px;min-width:25px;height:22px;min-height:22px;border:0;border-radius:0;color:#fff;background:none;font-size:0;line-height:1}
  .contact-dock .dock-action[href$="#inquiry"]>.dock-icon::before{content:"";position:absolute;inset:1px 1px 4px;border:2px solid currentColor;border-radius:6px}
  .contact-dock .dock-action[href$="#inquiry"]>.dock-icon::after{content:"";position:absolute;left:7px;bottom:1px;width:7px;height:7px;border-left:2px solid currentColor;background:#0868e8;transform:skewY(-35deg)}
}

/* Compact product and case directories on phones. */
[data-mobile-product-hidden],[data-product-filter-hidden]{display:none!important}
.mobile-product-more{display:none;overflow-anchor:none}
@media(max-width:700px){
  .page-catalog .section{padding-block:30px}
  .page-catalog .section-sm{padding-block:22px}
  .page-catalog .page-hero{padding-block:28px 30px}
  .page-catalog .section-heading{margin-bottom:18px}
  .page-catalog .section-heading h2{font-size:24px;line-height:1.25}
  .page-catalog .section-heading .lead{font-size:13px;line-height:1.6;margin-top:10px}
  .page-catalog .grid.mobile-product-grid,.grid.mobile-case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .page-catalog [data-case-overview] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .page-catalog [data-case-overview] .family-card{display:flex;flex-direction:column;min-height:0;padding:14px;border-radius:16px}
  .page-catalog [data-case-overview] .family-card>.eyebrow{font-size:9px;letter-spacing:0;margin-bottom:10px}
  .page-catalog [data-case-overview] .family-card h3{font-size:15px;line-height:1.4}
  .page-catalog [data-case-overview] .family-card p{font-size:12px;line-height:1.55;margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .page-catalog [data-case-overview] .family-card .text-link{font-size:11px;min-height:34px;margin-top:auto;padding-top:12px;gap:4px}
  .page-catalog .mobile-product-grid .product-card-image img{aspect-ratio:4/3}
  .mobile-case-grid .product-card{display:flex;flex-direction:column;border-radius:16px}
  .mobile-case-grid .product-card-image img{aspect-ratio:3/2;object-fit:cover}
  .mobile-case-grid .product-card-image>span{inset-inline-start:7px;top:7px;max-width:calc(100% - 14px);padding:4px 7px;font-size:9px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-case-grid .product-card-body{display:flex;flex:1;flex-direction:column;padding:12px}
  .mobile-case-grid .product-card-body h3{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:break-word}
  .mobile-case-grid .product-card-body p{font-size:12px;line-height:1.55;margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .mobile-case-grid .text-link{font-size:12px;line-height:1.4;min-height:36px;margin-top:auto;padding-top:10px;gap:4px}
  .category-directory-grid,.subcategory-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .category-directory-card,.subcategory-tile{min-height:0;padding:14px;border-radius:16px}
  .category-directory-head{display:flex;flex-direction:column;gap:10px}
  .category-directory-head>span{width:32px;height:32px;font-size:12px;border-radius:10px}
  .category-directory-head h3,.subcategory-tile h3{font-size:15px;line-height:1.4;overflow-wrap:break-word}
  .category-directory-head p,.subcategory-tile p{font-size:12px;line-height:1.5;margin-top:8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .category-directory-card .subcategory-links{grid-template-columns:1fr;gap:6px;margin-top:12px}
  .subcategory-links a{font-size:11px;padding:9px 8px;gap:4px;min-height:36px}
  .category-directory-card>.text-link,.subcategory-tile strong{font-size:11px;line-height:1.4;padding-top:12px;min-height:32px}
  .subcategory-tile>span{font-size:10px;letter-spacing:0}
  .subcategory-tile h3{margin-top:10px}
  .mobile-product-more:not([hidden]){display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:22px;text-align:center}
  .mobile-product-count{margin:0;color:#667085;font-size:12px;line-height:1.5}
  .mobile-product-more-button{min-height:44px;padding:12px 24px;font-size:14px}
}
@media(min-width:701px){
  .page-home .home-products-section{padding-bottom:32px}
  .page-home [data-featured-cases]{padding-top:32px}
}
