/* CIP mobile layout: touch targets, readable slides and unobstructed contact. */
.mobile-contact-bar,.mobile-promo-info{display:none}
.technical-hotlines{display:flex;flex-wrap:wrap;gap:8px 20px}
@media(max-width:800px){
 html{scroll-padding-top:92px}
 body{padding-bottom:calc(70px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}
 .wrap{width:calc(100% - 32px);max-width:100%;min-width:0}
 .section{padding-top:38px;padding-bottom:38px}
 .section-head{gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:24px}
 .section-head h2,h2{font-size:26px;line-height:1.3}
 .section-head>p{font-size:15px;line-height:1.65}
 .section-head>div,.section-head>p{max-width:100%;min-width:0}
 .info-bar>.header-wide{height:44px;padding:0 16px;gap:10px}
 .info-left{display:none}
 .header-search{min-width:0;flex:1;margin:0;gap:6px}
 .header-search input{width:100%;min-width:0;font-size:13px;font-style:normal;padding:10px 0}
 .header-search button{flex:0 0 28px;padding:2px}
 .header-socials{gap:5px;flex:0 0 auto}
 .header-social-link{width:28px;height:28px;min-width:28px}
 .header-social-link svg{width:20px;height:20px}
 .main-header{position:sticky;top:0;z-index:100;background:#fff}
 .main-nav{height:76px;padding:0 16px;display:grid;grid-template-columns:92px minmax(0,1fr) 44px;gap:12px;position:relative}
 .main-nav .brand{grid-column:1;grid-row:1;height:76px;width:92px;padding:7px 0;border:0;margin:0;min-width:0}
 .main-nav .brand img{height:auto;max-height:61px;width:92px;object-fit:contain}
 .main-nav .mobile{grid-column:3;grid-row:1;margin:0;width:44px;height:44px;padding:10px;border:1px solid var(--brand-border,#dce4ed);border-radius:5px;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--navy,#161148)}
 .quote-cell{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0;padding:0;border:0;min-width:0}
 .quote-cell .btn{font-size:12px;line-height:1.4;min-height:44px;padding:10px 12px;white-space:normal;text-align:center;border-radius:5px}
 .quote-cell .btn span,.main-nav .contact{display:none}
 .main-nav nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;max-height:calc(100dvh - 145px);overflow-y:auto;overscroll-behavior:contain;padding:12px 16px 20px;margin:0;background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 14px 20px #16114814;z-index:110}
 .main-nav nav.show{display:block}
 .main-nav nav>a,.main-nav nav>a.active,.main-nav .dropdown>summary,.main-nav .dropdown>button{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:12px!important;font-size:15px;line-height:1.5;border:0;border-radius:4px;box-sizing:border-box;width:100%}
 .main-nav nav>a.active{background:var(--brand-accent-soft,#eaf7fa);color:var(--navy,#161148)}
 .main-nav details.dropdown{display:block;border-top:1px solid #edf0f5}
 .main-nav .mega,.main-nav .solution-mega{position:static!important;transform:none!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:100%;columns:1!important;max-height:none;padding:8px 8px 14px;border:0;box-shadow:none;background:#f6f8fb}
 .main-nav .mega-group{break-inside:avoid;margin:0 0 10px;padding:8px 0;border-bottom:1px solid #e1e7ef}
 .main-nav .mega a{min-height:42px;font-size:14px;padding:10px 12px;line-height:1.5}
 .main-nav .mega-parent{font-weight:700!important;color:var(--navy,#161148)}
 .main-nav .mega-children{padding-left:14px;border-left:2px solid var(--brand-accent,#36aec9);margin-left:12px}
 .main-nav .mega-children a{font-size:14px;color:#536075}
 .main-nav .solution-menu-column{margin:0 0 14px!important}
 .home-slider{--slide-height:clamp(500px,72svh,580px)}
 .home-slider>.slide{height:var(--slide-height);min-height:0}
 .home-slider .hero-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(210px,1fr);height:100%;gap:0}
 .home-slider .hero-copy{padding:24px 0 8px;min-width:0}
 .home-slider .hero-copy>.eyebrow{font-size:11px;line-height:1.5;margin:0 0 10px;letter-spacing:.05em}
 .home-slider .hero-copy h1,.home-slider .hero-copy h2.product-slide-title{font-size:clamp(26px,7.6vw,32px);line-height:1.23;letter-spacing:0;margin:0 0 12px;max-width:none}
 .home-slider .hero-copy .lead{font-size:14px;line-height:1.6;margin:0 0 15px;max-width:none}
 .home-slider .hero-copy>div:not(.hero-foot){display:flex;gap:12px;align-items:center;flex-wrap:wrap}
 .home-slider .hero-copy .btn{font-size:13px;padding:11px 14px;min-height:44px;line-height:1.5}
 .home-slider .hero-copy .text-link{font-size:12px;padding:9px 0;line-height:1.5}
 .home-slider .hero-foot,.home-slider .vertical,.home-slider .edition{display:none}
 .home-slider .hero-visual{min-height:210px;height:100%;padding-bottom:62px}
 .home-slider .hero-visual .main-machine,.home-slider .product-hero .main-machine{top:0;left:50%;transform:translateX(-50%);height:calc(100% - 55px);width:85%;max-width:85%;object-fit:contain}
 .home-slider .hero-visual .circle{top:0;left:50%;transform:translateX(-50%);height:82%;width:auto;max-width:94%;aspect-ratio:1}
 .home-slider .machine-caption{left:0;right:0;bottom:14px;max-width:none;width:100%;padding:11px 14px;border-left:3px solid var(--brand-accent,#36aec9);background:#ffffffec;box-sizing:border-box}
 .home-slider .machine-caption>span{display:none}
 .home-slider .machine-caption strong{font-size:16px;line-height:1.4;margin:0}
 .home-slider .machine-caption .text-link{display:none}
 .home-slider .video-background .video-live-backdrop{display:none}
 .home-slider .branded-video .video-background:before{filter:blur(18px) brightness(.5)}
 .home-slider .video-background video{object-fit:contain!important;width:100%;height:100%}
 .home-slider .video-narration{left:16px;right:16px;bottom:74px;width:auto;padding:15px 16px;background:#161148df;box-sizing:border-box}
 .home-slider .video-narration span{font-size:10px;line-height:1.5;letter-spacing:.04em}
 .home-slider .video-narration h2{font-size:22px;line-height:1.3;margin:7px 0}
 .home-slider .video-narration p{font-size:13px;line-height:1.6;margin:7px 0 0}
 .home-slider>.slide-navigation{inset:auto 0 14px;height:44px}
 .slide-navigation__button{top:0;transform:none;width:44px;height:44px;box-shadow:0 2px 8px #1611481a}
 .slide-navigation__button:active{transform:scale(.95)}
 .slide-navigation__previous{left:16px}.slide-navigation__next{right:16px}
 .home-slider .promo-slide{background:#fbf7ed}
 .home-slider .promo-slide:before{display:none}
 .home-slider .promo-slide>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:20px 0 68px;box-sizing:border-box}
 .home-slider .promo-motion-picture{display:block;width:100%;height:auto!important;flex:0 0 auto}
 .home-slider .promo-slide img{display:block;width:100%;height:auto!important;max-height:none;object-fit:contain}
 .mobile-promo-info{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;padding:0 24px;color:var(--navy,#161148);font-size:15px;line-height:1.5}
 .mobile-promo-info small{font-size:11px;letter-spacing:.08em;font-weight:700}
 .mobile-promo-info b{font-size:24px;line-height:1.25}
 .mobile-promo-info strong{font-size:32px;line-height:1.25;color:#bd1d18}
 .mobile-promo-info em{font-style:normal;font-size:13px;color:#566174}
 .service-strip{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;padding:22px 0}.service-strip div,.service-strip div:nth-child(3){display:flex;flex-direction:column;gap:4px;border:0;padding:0}.service-strip b{font-size:14px}.service-strip span{font-size:13px;line-height:1.5}.trust-strip{padding:20px 0}
 .trust-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .trust-grid>div{border:0;padding:0}
 .tabs{width:100%;min-width:0;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:thin}
 .tabs button{flex:0 0 auto;font-size:14px;padding:12px 13px;min-height:44px;white-space:nowrap;scroll-snap-align:start}
 .products,.catalog-products,#product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
 .product{padding:12px;min-width:0}
 .product-img{height:155px}
 .product h2,.cip-site .product h2,.product h3{font-size:16px;line-height:1.4}
 .product p,#product-grid>.product>a>p{font-size:13px;line-height:1.6}
 .product .text-link{font-size:13px;min-height:40px;display:inline-flex;align-items:center}
 .solution-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .solution-carousel--compact{height:440px}
 .solution-carousel--compact .solution-carousel-copy{padding:22px 20px 82px}
 .solution-carousel--compact .solution-carousel-copy h2{font-size:24px;line-height:1.3}
 .solution-carousel--compact .solution-carousel-copy p:not(.eyebrow){font-size:14px;line-height:1.6}
 .solution-carousel-controls,.solution-carousel--compact .solution-carousel-controls{left:16px;right:16px;bottom:18px;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;width:auto}
 .solution-carousel-dots{gap:3px;min-width:0;flex-wrap:wrap}
 .solution-carousel-dots button{width:16px;height:32px;padding:12px 2px}
 .solution-carousel-dots button:before{width:12px;height:4px}
 .solution-carousel-arrows{gap:8px;min-width:0}
 .solution-carousel-arrow{width:40px;height:40px;flex:0 0 40px}
 .solution-carousel-count{font-size:12px;white-space:nowrap;min-width:28px}
 .solution-carousel-copy{padding-bottom:22px}
 .solution-carousel-copy h2{font-size:28px}
 .solution-carousel-media{height:260px;min-height:260px;padding-bottom:76px}
 .solution-list .solution-item{padding:18px 0;min-height:0;gap:14px}
 .solution-list .solution-item h3{font-size:18px;line-height:1.4}
 .technical-hotlines{flex-direction:column;gap:10px}
 .technical-hotlines .text-link{font-size:14px}
 .technical-team-copy>h3{font-size:24px}
 .application-tech-image{height:210px}
 .application-video-layout video{height:340px;max-height:65svh}
 .native-page,.inner-page{padding-top:22px;padding-bottom:38px}
 .native-page h1,.inner-page h1,.cip-site .summary h1{font-size:28px;line-height:1.3}
 .breadcrumbs{padding:18px 0;margin-bottom:22px;line-height:1.6}
 .cip-product-overview,.product-overview{grid-template-columns:minmax(0,1fr);gap:22px}
 .cip-gallery,.product-gallery{position:static;min-width:0}
 .cip-site .woocommerce-tabs .panel{padding:20px 16px;overflow-x:auto}
 .cip-site .woocommerce-tabs .panel iframe,.source-content iframe{min-height:0;height:auto;aspect-ratio:16/9}
 .source-content table,.cip-site .woocommerce-tabs .panel table{display:block;overflow-x:auto;max-width:100%}
 .catalog-sidebar section{display:none}
 .cip-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:26px}
 .cip-footer .footer-grid>div{grid-column:auto}
 .cip-footer .footer-link-list{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px}
 .cip-footer .footer-grid h4{margin-bottom:14px}
 .cip-footer .footer-grid .footer-phone{font-size:17px;line-height:1.8}
 dialog{width:calc(100% - 28px);max-width:480px;max-height:calc(100dvh - 30px);overflow-y:auto;padding:28px 20px;box-sizing:border-box}
 dialog h2{font-size:25px;line-height:1.3}
 form input,form select,form textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}
 #gom-all-in-one{display:none!important}
 .mobile-contact-bar{position:fixed;top:auto;height:auto;max-height:none;margin:0;overflow:visible;transform:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));left:0;right:0;bottom:0;z-index:90;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #dce4ed;background:#fff;box-shadow:0 -4px 18px #16114810}
 .mobile-contact-bar a{padding:3px 4px;box-sizing:border-box;height:56px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:55px;min-width:0;color:var(--navy,#161148);font-size:12px;line-height:1.4;text-decoration:none;border-radius:5px}
 .mobile-contact-bar a+a{border-left:1px solid #edf0f5}
 .mobile-contact-bar strong{font-size:13px;line-height:1.4;font-weight:700;white-space:nowrap}
 .mobile-contact-bar svg{width:19px;height:19px;fill:none;stroke:var(--navy,#161148);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 body:has(dialog[open]) .mobile-contact-bar{visibility:hidden}
}
@media(max-width:359px){
 .main-nav{grid-template-columns:82px minmax(0,1fr) 42px;gap:9px}
 .main-nav .brand,.main-nav .brand img{width:82px}
 .header-search input{font-size:12px}
 .header-socials{gap:3px}.header-social-link{width:26px;height:26px;min-width:26px}
 .products,.catalog-products,#product-grid{grid-template-columns:minmax(0,1fr)}
 .product-img{height:210px}
 .home-slider .hero-copy h1,.home-slider .hero-copy h2.product-slide-title{font-size:26px}
 .home-slider .hero-copy .text-link{display:none}
}

@media(max-width:800px){.main-nav .dropdown>summary:after,.main-nav .dropdown>button:after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 3px 16px;flex:0 0 7px}.main-nav details[open]>summary:after,.main-nav .dropdown.open>button:after{transform:rotate(225deg);margin-bottom:-3px}}

@media(max-width:800px){.mobile-contact-bar a,.cip-site .mobile-contact-bar a{padding:3px 4px!important;min-height:56px;height:56px}.mobile-contact-bar svg{height:19px!important;min-height:19px;flex:0 0 19px}.mobile-contact-bar a>span,.mobile-contact-bar a>strong{flex:0 0 auto}}

/* CIP responsive: search results and narrow viewport corrections */
@media(max-width:800px){
 .cip-site .main-header,.cip-site .info-bar,.cip-site .main-nav{width:100%;min-width:0;max-width:100%}
 .cip-site .main-nav{grid-template-columns:minmax(74px,92px) minmax(0,1fr) 44px}
 .cip-site .main-nav .brand{max-width:100%}
 .cip-site .main-nav .brand img{max-width:100%;height:auto}
 .cip-site .quote-cell{min-width:0;max-width:100%;width:auto}
 .cip-site .quote-cell .btn{white-space:nowrap;max-width:100%;font-size:clamp(11px,3vw,13px);padding:10px 8px;min-height:44px}
 .cip-site .header-search{min-width:0;max-width:100%}
 .cip-site .header-search input{min-width:0;width:100%;font-size:16px!important}
 .cip-site.search main.native-page{width:calc(100% - 32px);min-width:0;max-width:100%;overflow-wrap:anywhere}
 .cip-site.search .inner-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .cip-site.search .inner-card,.cip-site.search .inner-card>a,.cip-site.search .inner-card>a>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .cip-site.search .inner-card img{max-width:100%;object-fit:cover}
 .cip-site.search .pagination .nav-links{display:flex;flex-wrap:wrap;gap:6px}
 .cip-site .mobile-contact-bar{padding:3px 4px calc(3px + env(safe-area-inset-bottom))}
 .cip-site .mobile-contact-bar a{height:50px;min-height:50px;padding:2px!important;gap:1px}
 .cip-site .mobile-contact-bar svg{height:17px!important;min-height:17px;flex-basis:17px;width:17px}
 .cip-site .mobile-contact-bar strong{font-size:clamp(11px,3.1vw,13px)}
}
@media(max-width:359px){
 .cip-site .main-nav{grid-template-columns:78px minmax(0,1fr) 44px;gap:6px;padding-inline:10px}
 .cip-site .info-bar>.header-wide{padding-inline:10px;gap:6px}
 .cip-site .header-socials{gap:2px}
}
@media(max-width:800px){
 .cip-site main nav.pagination,.cip-site main nav.woocommerce-pagination{position:static;display:block;inset:auto;width:100%;height:auto;max-height:none;margin:24px 0 0;padding:0;background:transparent;border:0;box-shadow:none}
 .cip-site main nav.pagination .nav-links{justify-content:center;align-items:center;flex-wrap:wrap}
}
