.jp-busca__slot {
  position: relative;
}
.infotravel-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.infotravel-fields-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.infotravel-field-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.infotravel-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--primary-search-bar-label, #666);
  margin-bottom: 0.25rem;
}

.infotravel-input {
  width: 140px;
  min-width: 140px;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #333;
}

.infotravel-input::placeholder {
  color: #999;
}

.infotravel-input:focus {
  border-color: #013a2f;
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.2);
}

.infotravel-select {
  width: 100%;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23013A2F'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.infotravel-select:focus {
  border-color: #013a2f;
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.2);
}

.infotravel-guests-wrapper {
  position: relative;
}

.infotravel-guests-trigger {
  cursor: pointer;
  color: #013a2f;
}

.infotravel-guests-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  margin-top: 4px;
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 50;
}

.infotravel-guests-dropdown::-webkit-scrollbar {
  width: 6px;
}

.infotravel-guests-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.infotravel-guests-dropdown::-webkit-scrollbar-thumb {
  background: #013a2f;
  border-radius: 3px;
}

.infotravel-guests-dropdown::-webkit-scrollbar-thumb:hover {
  background: #d55a1f;
}

.infotravel-guests-wrapper:focus-within .infotravel-guests-dropdown {
  display: block;
}

.infotravel-rooms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.infotravel-rooms-header > div:first-child p {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-search-bar-label, #666);
  margin: 0;
}

.infotravel-rooms-header > div:last-child {
  width: 80px;
}

.infotravel-rooms-header select {
  width: 100%;
}

@media (max-width: 1024px) {
  .calendars {
    flex-direction: column !important;
    gap: 16px !important;
  }
}

/* Container de configuração de quartos (onde o script injeta conteúdo) */
.infotravel-room-config {
  /* Estilos para o conteúdo injetado pelo script */
}

.infotravel-room-config > div {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infotravel-room-config > div:last-child {
  border-bottom: none;
}

.infotravel-room-config p {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
}

/* Estilização para labels de adultos e crianças */
.infotravel-room-config > div > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Container de selects de crianças com espaçamento */
.infotravel-room-config > div > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Estilizar o texto "menos de 17 anos" com fonte menor */
.infotravel-room-config .item_label span,
.infotravel-room-config .input_config_container .item .item_label span,
.infotravel-room-config > div > div:last-child > small,
.infotravel-room-config > div > div:last-child small,
.infotravel-room-config > div > div:last-child > p + small,
.infotravel-room-config > div > div:last-child > p + span {
  display: block !important;
  font-size: 10px !important;
  color: #666 !important;
  margin-top: 2px !important;
  font-weight: 400 !important;
}

/* Label de crianças com mesmo tamanho de fonte de adultos */
.infotravel-room-config > div > div:last-child > p {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-bottom: 2px !important;
}

/* Container dos selects de idade das crianças */
.infotravel-room-config > div > div:last-child > div,
.infotravel-room-config > div > div:last-child > select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Wrapper para os selects de idade das crianças */
.infotravel-room-config > div > div:last-child > div > div,
.infotravel-room-config > div > div:last-child > div > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Selects de idade das crianças com largura total e espaçamento */
.infotravel-room-config > div > div:last-child select,
.infotravel-room-config > div > div:last-child > div select {
  width: 100%;
}

/* Selects de adultos e crianças */
.infotravel-room-config select {
  width: 100%;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  outline: none;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23013A2F'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.infotravel-room-config select:focus {
  border-color: #013a2f;
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.2);
}

/* Selects de idade das crianças - coluna única com espaçamento */
.infotravel-room-config > div > div:last-child > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.infotravel-room-config > div > div:last-child > div > select {
  width: 100%;
}

/* Selects de idade das crianças - flex container alternativo */
.infotravel-room-config > div > div:last-child > div[style*='display'] {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}

/* Qualquer select dentro do container de crianças */
.infotravel-room-config div[data-child-age] select,
.infotravel-room-config select[data-child-age] {
  margin: 4px 0;
}

/* Garantir que todos os selects de idade tenham espaçamento */
.infotravel-room-config > div > div:last-child select + select {
  margin-top: 8px;
}

/* Selects de adultos com alinhamento consistente */
.infotravel-room-config > div > div:first-child select {
  width: 100%;
}

@keyframes infotravel-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.infotravel-submit-btn {
  flex-shrink: 0;
  border-radius: 9999px;
  width: 2.4rem;
  height: 2.4rem;
  background-color: #013a2f;

  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  user-select: none;
  color: white;
  cursor: pointer;
  touch-action: manipulation;
  text-decoration: none;
  padding: 0px;
  border-color: transparent;

  animation: infotravel-scale 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.jp-oferta--busca,
.jp-oferta--busca .jp-busca__area,
.jp-oferta--busca .infotravel-form-wrapper,
.jp-oferta--busca .infotravel-fields-container {
  overflow: visible !important;
}

.infotravel-submit-btn:hover {
  background-color: #013a2f;
}

@media (max-width: 768px) {
  .infotravel-submit-btn {
    margin-left: auto;
    margin-right: auto;
  }
}

.autoComplete_wrapper {
  position: relative !important;
  display: inline-block !important;
  width: fit-content !important;
}

/* media query */
@media (max-width: 1024px) {
  .autoComplete_wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
}

.autoComplete_wrapper > ul[role='listbox'] {
  position: absolute !important;
  z-index: 10001 !important;
  min-width: 300px !important;
  max-width: 400px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  background: white !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 4px !important;
  padding: 8px 0 !important;
  list-style: none !important;
}

.autoComplete_wrapper > ul[role='listbox'] > li[role='option'] {
  padding: 12px 16px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.autoComplete_wrapper > ul[role='listbox'] > li[role='option']:hover {
  background-color: #f5f5f5 !important;
}

.autoComplete_wrapper
  > ul[role='listbox']
  > li[role='option'][aria-selected='true'] {
  background-color: #fff4e6 !important;
}

.autoComplete_wrapper > ul[role='listbox'] > li[role='option'] img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}

.autoComplete_wrapper > ul[role='listbox'] > li[role='option'] span {
  color: #333 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.easepick-wrapper {
  z-index: 10001 !important;
}

.easepick-wrapper .container {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  font-family: inherit !important;
}

.easepick-wrapper .header {
  background: #013a2f !important;
  color: white !important;
  border-radius: 8px 8px 0 0 !important;
}

.easepick-wrapper .header button {
  color: white !important;
}

.easepick-wrapper .day {
  color: #333 !important;
  border: 2px solid transparent !important;
  border-radius: 4px !important;
}

.easepick-wrapper .day:hover {
  background: #fff4e6 !important;
  color: #013a2f !important;
  border: 2px solid #013a2f !important;
  border-radius: 4px !important;
}

.easepick-wrapper .day.selected {
  background: #013a2f !important;
  color: white !important;
  border: 2px solid #013a2f !important;
  border-radius: 4px !important;
}

.easepick-wrapper .day.in-range {
  background: #fff4e6 !important;
  color: #013a2f !important;
  border: 2px solid transparent !important;
}

.easepick-wrapper .container > header {
  display: none !important;
}

@media (max-width: 1200px) {
  .infotravel-fields-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .infotravel-input {
    width: 120px;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .infotravel-fields-container {
    flex-direction: column;
    align-items: stretch;
  }

  .infotravel-field-group {
    width: 100%;
  }

  .infotravel-input {
    width: 100%;
  }

  .infotravel-guests-dropdown {
    min-width: 100%;
    left: 0;
    right: 0;
  }
}

/* ========================================
   MOBILE INFOTRAVEL SEARCH STYLES
   ======================================== */

/* Mobile Form Wrapper */
.infotravel-form-wrapper-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

/* Mobile Fields Container */
.infotravel-fields-container-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* Mobile Field Group */
.infotravel-field-group-mobile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Mobile Label */
.infotravel-label-mobile {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--secondary-gray, #666);
  margin-bottom: 0.5rem;
  margin-left: 10%;
}

/* Mobile Input */
.infotravel-input-mobile {
  width: 80%;
  height: 56px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: white;
  outline: none;
  transition: all 0.2s ease;
  font-size: 16px;
  color: #333;
  box-shadow: 0px 2px 14px 2px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.infotravel-input-mobile::placeholder {
  color: #999;
}

.infotravel-input-mobile:focus {
  border-color: #013a2f;
  box-shadow:
    0px 2px 14px 2px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(236, 108, 43, 0.2);
}

/* Mobile Select */
.infotravel-select-mobile {
  width: 100%;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  outline: none;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23013A2F'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.infotravel-select-mobile:focus {
  border-color: #013a2f;
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.2);
}

/* Mobile Guests Wrapper */
.infotravel-guests-wrapper-mobile {
  position: relative;
}

.infotravel-guests-trigger-mobile {
  cursor: pointer;
  color: #013a2f;
}

/* Mobile Guests Dropdown */
.infotravel-guests-dropdown-mobile {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 10002;
}

.infotravel-guests-dropdown-mobile::-webkit-scrollbar {
  width: 6px;
}

.infotravel-guests-dropdown-mobile::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.infotravel-guests-dropdown-mobile::-webkit-scrollbar-thumb {
  background: #013a2f;
  border-radius: 3px;
}

.infotravel-guests-dropdown-mobile::-webkit-scrollbar-thumb:hover {
  background: #d55a1f;
}

.infotravel-guests-wrapper-mobile:focus-within
  .infotravel-guests-dropdown-mobile {
  display: block;
}

/* Mobile Rooms Header */
.infotravel-rooms-header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.infotravel-rooms-header-mobile > div:first-child p {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary-gray, #666);
  margin: 0;
}

.infotravel-rooms-header-mobile > div:last-child {
  width: 80px;
}

.infotravel-rooms-header-mobile select {
  width: 100%;
}

/* Mobile Room Config */
.infotravel-room-config-mobile {
  /* Styles for content injected by script */
}

.infotravel-room-config-mobile > div {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infotravel-room-config-mobile > div:last-child {
  border-bottom: none;
}

.infotravel-room-config-mobile p {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
}

.infotravel-room-config-mobile > div > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.infotravel-room-config-mobile select {
  width: 100%;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  outline: none;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23013A2F'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.infotravel-room-config-mobile select:focus {
  border-color: #013a2f;
  box-shadow: 0 0 0 2px rgba(236, 108, 43, 0.2);
}

/* Mobile Autocomplete Styles */
.autoComplete_wrapper_mobile {
  position: relative !important;
  display: block !important;
  width: 80% !important;
  margin: 0 auto !important;
}

.autoComplete_wrapper_mobile > ul[role='listbox'] {
  position: fixed !important;
  z-index: 10002 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 80% !important;
  max-width: 400px !important;
  max-height: 250px !important;
  overflow-y: auto !important;
  background: white !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  margin-top: 8px !important;
  padding: 8px 0 !important;
  list-style: none !important;
}

.autoComplete_wrapper_mobile > ul[role='listbox'] > li[role='option'] {
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.autoComplete_wrapper_mobile > ul[role='listbox'] > li[role='option']:hover {
  background-color: #f5f5f5 !important;
}

.autoComplete_wrapper_mobile
  > ul[role='listbox']
  > li[role='option'][aria-selected='true'] {
  background-color: #fff4e6 !important;
}

.autoComplete_wrapper_mobile > ul[role='listbox'] > li[role='option'] img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

.autoComplete_wrapper_mobile > ul[role='listbox'] > li[role='option'] span {
  color: #333 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* Mobile Calendar Overlay */
.easepick-wrapper-mobile {
  position: fixed !important;
  z-index: 10002 !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90% !important;
  max-width: 400px !important;
}

.easepick-wrapper-mobile .container {
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  font-family: inherit !important;
  width: 100% !important;
}

.easepick-wrapper-mobile .header {
  background: #013a2f !important;
  color: white !important;
  border-radius: 12px 12px 0 0 !important;
}

.easepick-wrapper-mobile .header button {
  color: white !important;
}

.easepick-wrapper-mobile .day {
  color: #333 !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  padding: 8px !important;
}

.easepick-wrapper-mobile .day:hover {
  background: #fff4e6 !important;
  color: #013a2f !important;
  border: 2px solid #013a2f !important;
}

.easepick-wrapper-mobile .day.selected {
  background: #013a2f !important;
  color: white !important;
  border: 2px solid #013a2f !important;
}

.easepick-wrapper-mobile .day.in-range {
  background: #fff4e6 !important;
  color: #013a2f !important;
  border: 2px solid transparent !important;
}

/* Search Option Button Styles */
.search-option-button {
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 14px 2px rgba(0, 0, 0, 0.1);
  color: var(--secondary-gray);
  text-align: center;
  font-size: 18px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  background: white;
}

.search-option-button:active {
  color: var(--secondary-green);
  border: 3px solid var(--secondary-green);
}

.search-option-button:hover {
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.15);
}
