/* Header acima do widget OTA Builder (dropdowns não podem ficar atrás dos inputs) */
.header {
  position: relative;
  z-index: 20;
}

.header .has-dropdown.--desktop .dropdown {
  z-index: 21;
}

/* Botão flutuante Reservar agora */
.wpp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border: 5.34px solid #fff;
  border-radius: 9999px;
  background-color: #45b654;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
  animation: wpp-float-bounce 1s infinite;
}

.wpp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.wpp-float img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1024px) {
  .wpp-float {
    right: 125px;
  }
}

@keyframes wpp-float-bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpp-float {
    animation: none;
  }
}

/* OTA Builder — botão Buscar (laranja da identidade: #FF8B00 do degradê da marca) */
#otabuilder-widget button[data-testid="hotelcriteria-action-search"],
#otabuilder-widget .MuiButton-containedPrimary,
.otabuilder-section button[data-testid="hotelcriteria-action-search"] {
  background-color: #ff8b00 !important;
  background-image: none !important;
  color: #fff !important;
}

#otabuilder-widget button[data-testid="hotelcriteria-action-search"]:hover,
#otabuilder-widget .MuiButton-containedPrimary:hover,
.otabuilder-section button[data-testid="hotelcriteria-action-search"]:hover {
  background-color: #ee4023 !important;
  color: #fff !important;
}
