/* Recanto dos Ipês V1.59 — lista alinhada à largura EXTERNA do bloco Chalé. */
body:has(.hero-reservas) .reserva-busca label.ri-chale-first,
body:has(.hero-reservas) .reserva-busca label.ri-chale-first:focus-within {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

body:has(.hero-reservas) .reserva-busca .ri-chalet-trigger-v159 {
  appearance: none;
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 24px !important;
  height: 24px !important;
  width: 100% !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #174b39;
  cursor: pointer;
}

/* A lista é montada diretamente no body. Sua largura é calculada
   conforme a borda externa do campo Chalé — sem deslocamento lateral. */
.ri-chalet-options-v159 {
  position: fixed !important;
  z-index: 200000 !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px !important;
  max-height: min(320px, 65dvh);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e5e7df;
  border-radius: 9px;
  background: #fffefa;
  box-shadow: 0 12px 30px rgba(10, 46, 33, .17), 0 3px 9px rgba(10, 46, 33, .07);
}
.ri-chalet-options-v159[hidden] { display: none !important; }
.ri-chalet-options-v159 .ri-chalet-option-v159 {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #1e493a;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.ri-chalet-options-v159 .ri-chalet-option-v159 > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ri-chalet-options-v159 .ri-chalet-option-v159:hover,
.ri-chalet-options-v159 .ri-chalet-option-v159.is-highlighted {
  background: #eff4f0;
  color: #0e4231;
}
.ri-chalet-options-v159 .ri-chalet-option-v159[aria-selected="true"] {
  background: #e7f0e9;
  color: #103e30;
  font-weight: 800;
}
.ri-chalet-options-v159 .ri-chalet-option-v159:focus-visible {
  outline: 2px solid #4b7963;
  outline-offset: -2px;
}
.ri-chalet-options-v159 .ri-chalet-check-v159 { color: #1d694c; opacity: 0; font-size: 12px; }
.ri-chalet-options-v159 .ri-chalet-option-v159[aria-selected="true"] .ri-chalet-check-v159 { opacity: 1; }

html[data-theme="dark"] .ri-chalet-options-v159 {
  background: #11392e;
  border-color: #355d4c;
  box-shadow: 0 15px 40px rgba(0, 15, 10, .48);
}
html[data-theme="dark"] .ri-chalet-options-v159 .ri-chalet-option-v159 { color: #eaf1e8; }
html[data-theme="dark"] .ri-chalet-options-v159 .ri-chalet-option-v159:hover,
html[data-theme="dark"] .ri-chalet-options-v159 .ri-chalet-option-v159.is-highlighted { background: #22503f; color: #fff9eb; }
html[data-theme="dark"] .ri-chalet-options-v159 .ri-chalet-option-v159[aria-selected="true"] { background: #2b6049; color: #fff9ed; }
html[data-theme="dark"] .ri-chalet-options-v159 .ri-chalet-check-v159 { color: #e9cb93; }

@media (prefers-reduced-motion: reduce) {
  body:has(.hero-reservas) .reserva-busca .ri-chalet-trigger-v159 .ri-chalet-chevron-v157 { transition: none; }
}
