body {
  font-family: Ambit, sans-serif;
  background: #fff;
  margin: 0;
}

.booking-wrapper {
  padding: 20px;
}

/* STEP */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 12px;
  font-weight: bold;
  color: #b5b5b5;
  padding: 20px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #b5b5b5;
  border-radius: 50%;
  margin-bottom: 5px;
}

.line {
  flex: 1;
  height: 2px;
  margin: 0 10px;
  background-image: repeating-linear-gradient(
    to right,
    #d6d6d6 0,
    #d6d6d6 8px,
    transparent 8px,
    transparent 14px
  );
}

.step.active {
  color: #2f49ff;
}

.step.active .dot {
  background: #2f49ff;
  box-shadow: 0 0 0 4px rgba(47,73,255,0.15);
}

/* MAIN GRID */
.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.trip-card,
.calendar {
  background: white;
  padding: 20px;
  border-radius: 15px;
}

/* IMAGE */
.trip-card img {
  /*width: 100%;*/
  border-radius: 12px;
 /* margin-bottom: 10px;*/
}

/* TEXT */
.small-title {
  font-weight: bold;
  font-size: 16px;
}

.location {
  font-size: 13px;
  color: #1B115C;
}

/* CALENDAR */
.month {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  color: #1B115C;
}

.weekdays,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.weekdays{
  color: #1B115C
}

.day {
  padding: 10px;
  background: #f2f2f2;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
}


.day .label {
  font-size: 9px;
  margin-top: 2px;
  opacity: 0.9;
}

.day.selected {
  background: #C5E4CD;
  color: white;
}

.day.highlight {
  background: #70cbf4;
  color: #1B115C;
  font-weight: bold;
  font-size: 16px;
}

.calendar .day {
  cursor: pointer;
  transition: 0.2s;
}

.calendar .day:hover {
  background: #eee;
  border-radius: 6px;
}

.calendar .day.selected {
  background: #3567f6;
  color: white;
  border-radius: 6px;
  font-size: 16px;
}

.calendar .day.selected .label {
  color: white !important;
}

/* SELECTS FULL WIDTH */
.selectors-bar {
  margin-top: 20px;
  width: 100%;
  padding: 20px
}

.selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  align-items: flex-end !important;
}


.select-wrapper {
  flex: 1 1 200px; /* base 200px */
  min-width: 200px;
  position: relative;
  display: inline-flex !important;
}

.select-wrapper select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ddd;
  appearance: none;
}

.select-wrapper .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
}

.price-btn {
  background: #3567f6;
  color: white;
  border: none;
  padding: 5px 20px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}

/* =========================
   MOBILE ONLY (<=768px)
   ========================= */
@media (max-width: 768px) {

  /* ?? nunca deixar scroll lateral */
  body {
    overflow-x: hidden;
  }

  .booking-wrapper {
    padding: 10px;
  }

  /* GRID passa para 1 coluna */
  .content {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* imagem não rebenta */
  .trip-card img {
    height: auto !important;
    max-height: 280px;
    object-fit: cover;
  }

  /* STEP ? quebra em vez de scroll */
  .stepper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .line {
    display: none;
  }

  /* SELECTORS full width */
  .selectors-bar {
    width: 100% !important;
    padding: 10px;
  }

  /* selects em coluna */
  .selectors {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  .select-wrapper {
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px);
  }

  /* quartos empilhados */
  .room-div {
    flex-direction: column;
  }

  .text-box-wrapper.half {
    width: 100% !important;
  }

  /* calendário mais compacto */
  .day {
    padding: 6px;
    font-size: 10px;
  }

  .month {
    font-size: 16px;
  }

  /* botão full width */
  .price-btn {
    width: 100%;
  }

   .child-age-div {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .child-age-div select.custom-select {
    width: 100%;
    padding-right: 35px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .child-age-div i.fa-angle-down {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #2e2a6b;
  }

  .rooms-config-wrapper {
    flex-wrap: wrap;
  }

  /* default: 1 por linha (caso só exista 1 item) */
  .rooms-config-wrapper > * {
    width: 100%;
  }

  /* se houver mais que 1, força 2 por linha */
  .rooms-config-wrapper > *:nth-child(1):nth-last-child(n+2),
  .rooms-config-wrapper > *:nth-child(1):nth-last-child(n+2) ~ * {
    width: calc(50% - 8px);
  }

}

.room-card {
  border: 2px solid #1B115C;
  border-radius: 10px;
  overflow: hidden;
  font-family: Ambit, sans-serif;
  max-width: 320px;
}

/* HEADER */
.room-header {
  background: #70cbf4;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.room-badge {
  color: #1B115C;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 12px;
}

.close-btn {
  font-size: 16px;
  cursor: pointer;
  color: #2e2a6b;
}

/* BODY */
.room-body {
  padding: 15px;
}

/* ROW */
.row {
  /*display: flex;*/
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.row:last-child {
  margin-bottom: 0;
}

.label {
  font-size: 14px;
  color: #1B115C;
}

/* COUNTER */
.counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.value {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
  color: #2e2a6b;
}

/* DISABLED STATE */
.counter.disabled .btn {
  background: #e5e5e5;
  color: #aaa;
  cursor: not-allowed;
}

.counter.disabled .value {
  color: #aaa;
}

.rooms-config-wrapper{
    display: inline-flex;
    padding: 20px;
    gap: 16px;
}

.child-age-div {
    position: relative;
    display: flex;
    align-items: center;
}

/* faz o select ocupar todo o espaço */
.child-age-div select.custom-select {
  width: 100%;
  padding-right: 30px; /* espaço para o ícone */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* posiciona o ícone dentro do select */
.child-age-div i.fa-angle-down {
  position: absolute;
  right: 10px;
  pointer-events: none;
  color: #2e2a6b;
  font-size: 14px;
}