/* Body-level 9000 clears Corretto's wrapper (1000), content (100/101)
   and loader (2000). Side area: 9999; back-to-top: 10000;
   lightbox: 10001; cookie consent: 9999999. Menus/search suppress this layer. */
.amb-drinks {
  --amb-size: clamp(260px, 25vw, 440px);
  position: fixed;
  z-index: 9000;
  width: var(--amb-size);
  max-width: calc(100vw - 32px);
  aspect-ratio: 6 / 7;
  bottom: 6vh;
  right: 2vw;
  left: auto;
  opacity: 1;
  perspective: 1000px;
  pointer-events: none;
  user-select: none;
}
.amb-drinks *, .amb-drinks { pointer-events: none; }
html[dir=rtl] .amb-drinks { right: auto; left: 2vw; }
.amb-drinks.amb-drinks--overlay { display: none; }
.amb-drinks__tilt, .amb-drinks__float, .amb-drinks__sway {
  position: relative;
  width: 100%;
  height: 100%;
}
.amb-drinks__float { animation: amb-drinks-float 6s ease-in-out infinite alternate; }
.amb-drinks__sway { animation: amb-drinks-sway 9s ease-in-out infinite alternate; }
.amb-drinks__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border: 0;
  opacity: 0;
  transform: translateY(12px) scale(.94);
  transition: opacity 600ms ease, transform 600ms ease;
}
.amb-drinks__image.amb-drinks__image--active { opacity: 1; transform: translateY(0) scale(1); }
.amb-drinks--paused .amb-drinks__float, .amb-drinks--paused .amb-drinks__sway { animation-play-state: paused; }
.amb-drinks--paused .amb-drinks__image { transition: none; }
.amb-drinks--reduce .amb-drinks__float, .amb-drinks--reduce .amb-drinks__sway { animation: none; }
.amb-drinks--reduce .amb-drinks__image { transition: none; transform: none; }
@keyframes amb-drinks-float { from { transform: translateY(-10px); } to { transform: translateY(10px); } }
@keyframes amb-drinks-sway { from { transform: rotateZ(-4deg); } to { transform: rotateZ(4deg); } }
@media (min-width: 768px) and (max-width: 1279px) {
  .amb-drinks { --amb-size: clamp(200px, 27vw, 290px); bottom: 24px; }
}
@media (max-width: 767px) {
  .amb-drinks {
    --amb-size: 130px;
    right: 16px;
    bottom: max(var(--amb-mobile-bottom, 16px), calc(16px + env(safe-area-inset-bottom, 0px)));
  }
  html[dir=rtl] .amb-drinks { right: auto; left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .amb-drinks__float, .amb-drinks__sway { animation: none; }
  .amb-drinks__tilt { transform: none !important; }
  .amb-drinks__image { transition: none; transform: none; }
}

/* a11y-button clearance 1114 */
html[dir=rtl] .amb-drinks { bottom: max(72px, 6vh); }
@media (min-width: 768px) and (max-width: 1279px) {
  html[dir=rtl] .amb-drinks { bottom: 72px; }
}
@media (max-width: 767px) {
  html[dir=rtl] .amb-drinks {
    bottom: max(72px, var(--amb-mobile-bottom, 16px), calc(16px + env(safe-area-inset-bottom, 0px)));
  }
}
