/* Preview maintenance: shared state must not depend on mouse hover. */
html body header#ugsMainNav[data-ugs-white-brand] .ugs-nav-logo img:not(.ugs-nav-logo-contrast) { opacity:0!important; visibility:hidden!important; }
html body header#ugsMainNav[data-ugs-white-brand] .ugs-nav-logo img.ugs-nav-logo-contrast {
 display:block!important; opacity:1!important; visibility:visible!important;
 position:absolute!important; left:50%!important; top:50%!important;
 width:64px!important; height:64px!important; max-width:none!important;
 object-fit:contain!important; transform:translate(-50%,-50%)!important;
 filter:none!important; -webkit-filter:none!important; pointer-events:none;
}
@media(max-width:743px) { html body header#ugsMainNav[data-ugs-white-brand] .ugs-nav-logo img.ugs-nav-logo-contrast { width:44px!important;height:44px!important; } }
html body #ugsMainNav .ugs-nav-link[aria-current="page"]::after {
 content:""!important; display:block!important; left:0!important; right:0!important;
 width:100%!important; height:1px!important; background:#088444!important;
 opacity:1!important; transform:none!important;
}
html body .ugs-ipad-version { display:none!important; }

/* Keep the family row stationary while highlighting its contents. */
html body .ugs-tech-cinematic-families > a,
html body .ugs-tech-cinematic-families > a:is(:hover,:active,:focus,.is-touch-pressed) {
 transform:none!important; transition:background-color .2s ease,box-shadow .2s ease!important;
}
html body .ugs-tech-cinematic-families > a :is(b,strong,em) { transform:none!important; }

@media(min-width:744px) {
 html body footer.ugs-footer-mac-v2[data-ugs-site-footer] { display:block!important; }
 html body footer.ugs-footer { display:none!important; }
 html body .ugs-mobile-footer { display:none!important; }
 html body .ugs-ipad-experience-controls { display:none!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-slide { gap:46px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo img { max-width:min(170px,100%)!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo--constellation img { max-width:69px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo--heineken img { max-width:104px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-logo--unam img { max-width:90px!important; }
}
@media(min-width:744px) and (max-width:991px) {
 html body footer.ugs-footer-mac-v2[data-ugs-site-footer] .ugs-footer-mac-v2-top { grid-template-columns:1fr!important; gap:32px!important; }
 html.ugs-ipad-preview body #ugsExperienceStage .ugs-experience-slide { gap:20px!important; }
}

/* Disable native link lifting without disabling page scrolling or pinch zoom. */
html body :is(a,button),html body :is(a,button) * {
 -webkit-touch-callout:none; -webkit-user-drag:none; user-select:none; -webkit-user-select:none;
}
html body :is(a,button) { -webkit-tap-highlight-color:transparent; }

@media(hover:none),(pointer:coarse) {
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta::after { width:64%!important; transition:width .18s ease!important; }
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta i,
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta i span { background:none!important; transform:none!important; }
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta.is-ugs-pressed::after { width:100%!important; }
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta.is-ugs-pressed i span { transform:translateX(3px)!important; }
 html.ugs-wide body .ugs-showroom .ugs-san-video-trigger > span {
  background:transparent!important; border-color:rgba(255,255,255,.85)!important;
  transform:none!important; transition:background-color .18s ease,border-color .18s ease!important;
 }
 html.ugs-wide body .ugs-showroom .ugs-san-video-trigger.is-ugs-pressed > span {
  background:#088444!important; border-color:#088444!important;
 }
 html body :is(.ugs-product-card,.ugs-wet-mac-card).is-ugs-pressed { box-shadow:0 15px 35px rgba(8,132,68,.14)!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card).is-ugs-pressed img { transform:translateY(-3px)!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card) img { transition:transform .24s ease!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card).ugs-card-reveal { animation:ugs-touch-card-in .55s ease both!important; }
 html body .ugs-tech-cinematic-families > a:not(.is-ugs-pressed) { background:transparent!important; box-shadow:none!important; }
 html body .ugs-tech-cinematic-families > a.is-ugs-pressed { background:rgba(8,132,68,.10)!important; box-shadow:inset 0 1px 0 rgba(8,132,68,.4)!important; }
}
@keyframes ugs-touch-card-in { from {opacity:.55;transform:translateY(10px)} to {opacity:1;transform:none} }
@media(prefers-reduced-motion:reduce) {
 html body :is(.ugs-product-card,.ugs-wet-mac-card).ugs-card-reveal { animation:none!important; }
 html body :is(.ugs-product-card,.ugs-wet-mac-card) img,
 html.ugs-wide body .ugs-showroom[data-product-id] .ugs-showroom-cta i span { transform:none!important; transition:none!important; }
}
