html.bekaa-catalogue-leaving {
  overflow: hidden;
  overscroll-behavior: none;
}

.bekaa-catalogue-handoff,
html[data-bekaa-catalogue-arrival]::after {
  position: fixed;
  inset: 0;
  /* Cover the header and chat launcher during the page handoff. */
  z-index: 1000004;
}

.bekaa-catalogue-handoff {
  overflow: hidden;
  touch-action: none;
}

.bekaa-catalogue-handoff__panel {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--bekaa-booking-motion-duration, 600ms)
    var(--bekaa-booking-motion-ease, cubic-bezier(0.76, 0, 0.24, 1));
}

.bekaa-catalogue-handoff--mobile .bekaa-catalogue-handoff__panel {
  transform: translateY(calc(100% - var(--tab-bottom-gap, 0px)));
  background-color: transparent;
  transition-property: transform, background-color;
  transition-duration: var(--bekaa-booking-motion-duration, 600ms), 120ms;
  transition-timing-function: var(--bekaa-booking-motion-ease, cubic-bezier(0.76, 0, 0.24, 1)), ease-out;
}

.bekaa-catalogue-handoff.is-sliding .bekaa-catalogue-handoff__panel {
  transform: translate(0);
  background-color: #fff;
}

.bekaa-catalogue-handoff__tab {
  position: absolute;
  top: var(--tab-top);
  right: 100%;
  display: grid;
  place-items: center;
  width: var(--tab-width);
  height: var(--tab-height);
  background: #ec1d25;
  color: #fff;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.12);
  white-space: nowrap;
}

.bekaa-catalogue-handoff:not(.bekaa-catalogue-handoff--mobile) .bekaa-catalogue-handoff__tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.bekaa-catalogue-handoff--mobile .bekaa-catalogue-handoff__tab {
  top: auto;
  right: auto;
  bottom: 100%;
  left: var(--tab-left);
  border-radius: 3px;
}

.bekaa-catalogue-handoff__tab--menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bekaa-catalogue-handoff__tab--menu svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

[data-bekaa-catalogue-link].is-departing {
  opacity: 0;
}

.bekaa-catalogue-handoff__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: #5e5855;
  font-size: 14px;
  transition: opacity 180ms ease-out;
  pointer-events: none;
}

.bekaa-catalogue-handoff.is-waiting .bekaa-catalogue-handoff__status {
  opacity: 1;
}

html[data-bekaa-catalogue-arrival]::after {
  content: "";
  background: #fff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 250ms ease-out;
}

html[data-bekaa-catalogue-arrival="reveal"]::after {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .bekaa-catalogue-handoff__panel,
  html[data-bekaa-catalogue-arrival]::after {
    transition: none;
  }
}
