/* V125 — reserva guiada: 1 chalé, 2 check-in, 3 check-out, 4 hóspedes.
   Mantém o calendário compacto da V124 e os estilos premium existentes. */
body:has(.hero-reservas) .reserva-busca {
  grid-template-columns:minmax(175px,1.3fr) minmax(135px,1fr) minmax(135px,1fr) minmax(110px,.7fr) minmax(160px,1.05fr)!important;
}
body:has(.hero-reservas) .reserva-busca label:nth-of-type(3) {border-right:1px solid #e6ded0!important}
body:has(.hero-reservas) .reserva-busca label:nth-of-type(4) {border-right:0!important}
body:has(.hero-reservas) .reserva-busca .ri-chale-first select {
  color:#174b39!important;font-weight:800!important;cursor:pointer;
}
body:has(.hero-reservas) .reserva-busca .ri-chale-first select:invalid {color:#8a968c!important}
body:has(.hero-reservas) .reserva-busca .ri-date-trigger:disabled,
body:has(.hero-reservas) .reserva-busca .ri-date-trigger:disabled:hover {
  color:#9da8a1!important;cursor:not-allowed!important;opacity:.85!important;
}
.ri-booking-fields .ri-chale-first select {font-weight:750;color:#1b4b3b;border-color:#d3bc96;background:#fcfaf4}
.ri-booking-fields .ri-chale-first select:invalid {color:#81958a}
.ri-booking-fields .ri-date-trigger:disabled,
.ri-booking-fields .ri-date-trigger:disabled:hover {background:#f3f3ee;color:#98a49b;border-color:#e2e5df;cursor:not-allowed;box-shadow:none}
.ri-booking-fields .ri-date-trigger:focus-visible,
body:has(.hero-reservas) .reserva-busca .ri-date-trigger:focus-visible {outline:2px solid #bf9a60!important;outline-offset:3px!important}
.ri-av-popover.ri-av-specific .ri-av-legend span:nth-child(2) {display:none}
.ri-av-popover .ri-av-head>div>span {display:block;max-width:190px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1050px) {
  body:has(.hero-reservas) .reserva-busca {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(1),
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(3) {border-right:1px solid #e6ded0!important}
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(2),
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(4) {border-right:0!important}
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(3),
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(4) {border-bottom:0!important}
}
@media(max-width:620px) {
  body:has(.hero-reservas) .reserva-busca label.ri-chale-first {
    grid-column:1/-1!important;border-right:0!important;border-bottom:1px solid #e6ded0!important;
    background:#f8f5ed;
  }
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(2) {grid-column:auto!important;border-right:1px solid #e6ded0!important;border-bottom:1px solid #e6ded0!important}
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(3) {grid-column:auto!important;border-right:0!important;border-bottom:1px solid #e6ded0!important}
  body:has(.hero-reservas) .reserva-busca label:nth-of-type(4) {grid-column:1/-1!important;border-right:0!important;border-bottom:0!important}
  body:has(.hero-reservas) .reserva-busca button.ri-date-trigger {font-size:11px!important}
  .ri-av-popover .ri-av-head>div>span {max-width:158px}
  .ri-booking-fields .ri-chale-first {grid-column:1/-1}
}
