/* Floating shortcuts share the same appearance on desktop and mobile. */
html body > a.mht-floating-book,
html body > a.whatsapp-float {
  position: fixed !important;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 9999 !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

html body > a.mht-floating-book {
  right: calc(80px + env(safe-area-inset-right, 0px)) !important;
  width: 148px !important;
  min-height: 54px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(255, 242, 204, .8) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #d7b15e, #b8872d) !important;
  color: #211a0e !important;
  font: 800 14px/1 'Manrope', Arial, sans-serif !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

html body > a.mht-floating-book:hover {
  color: #211a0e !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .26) !important;
}

html body > a.mht-floating-book:focus-visible,
html body > a.whatsapp-float:focus-visible {
  outline: 3px solid #d1b485 !important;
  outline-offset: 3px !important;
}

html body > a.whatsapp-float {
  right: calc(14px + env(safe-area-inset-right, 0px)) !important;
  width: 54px !important;
  height: 54px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22), 0 0 0 5px rgba(37, 211, 102, .10) !important;
}

html body > a.whatsapp-float svg {
  width: 27px !important;
  height: 27px !important;
  display: block !important;
}

/* Keep the home slideshow controls clear of the shortcuts on narrow screens. */
@media (max-width: 600px) {
  .hero-dots-final {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #home .hero-arrow {
    top: 35% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body > a.mht-floating-book,
  html body > a.whatsapp-float {
    transition: none !important;
  }
}
