/* Carefully additive refinements for the approved Bon Gusto design. */
html {
  overflow-x: clip;
  scroll-padding-top: 112px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body { min-width: 320px; }
:focus-visible {
  outline: 3px solid rgba(189, 135, 53, .72);
  outline-offset: 3px;
}
.btn, .nav a, .text-link, .footer a { -webkit-tap-highlight-color: transparent; }
.nav a:focus-visible, .footer a:focus-visible { border-radius: 3px; }
img { height: auto; }
img.is-local-fallback { object-position: center; }
.hero-machine-card img.is-local-fallback,
.feature-media-product img.is-local-fallback,
.machine-photo img.is-local-fallback {
  object-fit: contain !important;
  mix-blend-mode: multiply;
}
.photo-gallery-card img.is-local-fallback,
.split-visual img.is-local-fallback { object-fit: cover !important; }
.client-logo-mini img.image-hidden-on-error,
.reference-logo-card img.image-hidden-on-error { display: none !important; }
@media (max-width: 600px) {
  html { scroll-padding-top: 88px; }
  .container { width: min(100% - 30px, 1160px); }
  .whatsapp-float { touch-action: manipulation; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
}

/* Final WhatsApp placement: keep the same floating action, anchored to the
   bottom-right corner of the browser viewport on every page and while scrolling. */
.whatsapp-float {
  position: fixed !important;
  top: auto !important;
  right: max(20px, env(safe-area-inset-right)) !important;
  bottom: max(20px, env(safe-area-inset-bottom)) !important;
  left: auto !important;
  z-index: 2147483000 !important;
  transform: none !important;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-4px) !important;
}
@media (max-width: 600px) {
  .whatsapp-float {
    top: auto !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    justify-content: center !important;
    transform: none !important;
  }
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    width: 56px !important;
    transform: translateY(-3px) !important;
  }
  .whatsapp-label { display: none !important; }
}
