/* Mobile shopping layout. Desktop retains the approved MDY composition. */
.mobile-quick-nav,.mobile-only{display:none}
@media(max-width:767px){
  .desktop-only{display:none}
  .mobile-only{display:block}
  .site-header .masthead{display:grid;grid-template-columns:88px minmax(0,1fr) 88px;height:64px;gap:0;padding:0 12px}
  .site-header .logo{width:150px;max-width:100%;margin:0;justify-self:center;flex:none}
  .site-header .logo img{width:100%;height:44px;object-fit:contain}
  .site-header .mobile-tools{width:88px;gap:0;flex:none}
  .site-header .mobile-tools button{width:44px;height:44px;display:grid;place-items:center}
  .site-header .mobile-tools [data-search-toggle]{display:none}
  .site-header .account-nav{width:88px;gap:0;flex:none;justify-content:flex-end}
  .site-header .account-nav>button{width:44px;height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:0}
  .site-header .account-nav .login-link{display:flex!important}
  .site-header .login-link span{display:none}
  .site-header .account-nav .icon{width:21px;height:21px}
  .site-header .account-nav b{top:4px;right:3px;min-width:14px;height:14px;line-height:14px;font-size:9px}
  .site-header .mobile-search:not([hidden]){display:block;padding:0 16px 10px}
  .site-header .mobile-search .search-form{max-width:none}
  .site-header .mobile-search input{height:44px;min-height:44px;font-size:16px;padding:10px 12px;border-radius:8px 0 0 8px;background:#f4f7f8}
  .site-header .mobile-search input::placeholder{font-size:12px;color:#53656d}
  .site-header .mobile-search button{display:grid;place-items:center;width:46px;height:44px;border-radius:0 8px 8px 0;background:#f4f7f8}
  .mobile-quick-nav{display:flex;align-items:center;justify-content:center;gap:0;border-top:1px solid #edf1f3;padding:0 12px}
  .mobile-quick-nav a{flex:1;min-height:42px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#23444e}
  .mobile-quick-nav a+a{position:relative}
  .mobile-quick-nav a+a:before{content:'';position:absolute;left:0;height:12px;border-left:1px solid #dce6e9}
  .site-header .search-panel{top:100%;left:0;right:0;width:100%;max-width:none;margin:0;padding:12px 16px 16px;border-radius:0 0 14px 14px;max-height:60dvh}
  #search-shade{top:0}

  /* Keep a meaningful accessible page heading without the large mobile intro. */
  .home-intro{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
  .trade-strip{display:none}
  .home-slideshow{padding:10px 0 0}
  .home-slideshow-surface{border:0;border-radius:0;box-shadow:none}
  .home-slideshow-toolbar{flex-direction:row;min-height:48px;gap:4px;padding:0 12px;border-bottom:1px solid #edf1f3}
  .home-slideshow-destination{flex:1;width:auto;min-height:44px;gap:8px;padding:7px 0}
  .home-slideshow-destination strong{font-size:12px;line-height:1.35;max-width:none}
  .home-slideshow-destination>span{font-size:0;gap:0;white-space:nowrap}
  .home-slideshow-destination .icon{width:14px;height:14px}
  /* Remove the separate control strip; keep one accessible pause button in the caption. */
  .home-slideshow-controls{display:contents}
  .home-slideshow-controls>.home-slide-arrow,.home-slide-dots{display:none}
  .home-slideshow-controls>.home-slide-play{min-width:44px;min-height:44px;margin:0;border:0!important;border-radius:6px!important;font-size:16px}

  .home-solutions{padding:16px 16px 10px}
  .home-solutions .section-head,.home-products .section-head,.home-brands .section-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;text-align:left}
  .home-solutions .section-head h2,.home-products .section-head h2,.home-brands .section-head h2{font-size:23px;line-height:1.2;letter-spacing:-.7px}
  .home-solutions .section-head>a,.home-products .section-head>a,.home-brands .section-head>a{font-size:11px;min-height:44px;display:flex;align-items:center;white-space:nowrap}
  .solution-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .solution-card{border:1px solid #e4ebee;border-radius:10px;background:#f5f8f9;box-shadow:none}
  .solution-visual{height:94px;padding:10px 18px 0;background:none}
  .solution-caption{min-height:56px;padding:9px 12px 12px;gap:5px;background:none}
  .solution-caption h3{font-size:12px;line-height:1.35;letter-spacing:-.15px;max-width:calc(100% - 16px)}
  .solution-caption .icon{width:14px;height:14px;flex-shrink:0;color:#00849e}
  .home-products{padding:25px 16px}
  #featured-products{gap:12px;scroll-padding-inline:0}
  #featured-products>.product-card{flex-basis:calc((100% - 24px)/2.15)}
  .home-products .product-image{height:130px}
  .home-products .card-copy{padding:10px}
  .home-products .card-title{font-size:12px;line-height:1.45}
  .home-products .carousel-controls button{width:44px;height:44px}
  .home-brands{padding:25px 0;background:#f5f8f9}
  .home-brands .wrap{padding:0 16px}
  .home-brands .section-head p{display:none}
  .mdy-brand-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:10px;padding:0 0 12px;scrollbar-width:thin}
  .mdy-brand-grid .brand-tile{flex:0 0 110px;min-height:76px;scroll-snap-align:start;background:white;border:1px solid #e1e9ec;border-radius:8px;padding:12px}
  .mdy-brand-grid img{height:42px}
  .mdy-brand-grid .brand-tile--dark{background:var(--ink)}
  .project-callout{padding:25px 22px;gap:12px}
  .project-callout h2{font-size:29px;margin-bottom:15px}
  .project-callout .eyebrow{margin-bottom:12px}
  .project-links a{padding:15px 0}
}
@media(max-width:360px){
  .site-header .masthead{grid-template-columns:80px minmax(0,1fr) 80px;padding:0 10px}
  .site-header .account-nav,.site-header .mobile-tools{width:80px}
  .site-header .account-nav>button{width:40px}
  .home-slideshow-toolbar{padding:0 9px}
  .home-solutions .section-head h2,.home-products .section-head h2,.home-brands .section-head h2{font-size:20px}
  .home-solutions .section-head>a,.home-products .section-head>a{font-size:10px}
  .solution-caption{padding:8px 9px 11px}
  .solution-caption h3{font-size:11px}
}
