

/* Start:/local/components/booking.filter/templates/.default/style.css?17489897991214*/
.booking-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  justify-content: center;
  align-items: end;
  gap: 1rem;
  margin-top: 1rem;
  text-align: left;
}

@media (max-width: 576px) {
  .booking-filter-form .col-12,
  .booking-filter-form .col-md-auto {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .booking-filter-form .form-select,
  .booking-filter-form .form-control,
  .booking-filter-form .btn {
    width: 100%;
    max-width: 280px;
  }

  .booking-filter-form .form-label {
    display: block;
    text-align: center;
    margin-bottom: 0.25rem;
  }
}

#filter {
  scroll-margin-top: 80px;
}

.has-trip {
  font-weight: bold;
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
}

.flatpickr-day.has-trip:hover {
  background-color: rgba(0, 123, 255, 0.2);
}

/* Стили для кнопки сброса */
#reset-filter:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Расположение кнопок на мобильных */
@media (max-width: 576px) {
  .booking-filter-form .btn + .btn {
    margin-top: 0.5rem;
    margin-left: 0 !important;
  }
}

/* End */


/* Start:/bitrix/templates/booking/components/bitrix/catalog.section.list/booking/style.css?17479655882230*/
  .bx_catalog_line {
    max-width: 1140px;
    margin: 0 auto;
  }

  .list-group-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    background: #fff;
  }

  .row.text-center {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-3 {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
  }

  .col-xs-4 {
    width: 33.3333%;
    padding: 10px;
  }

  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .btn-labeled {
    text-align: right;
  }

  .btn-label {
    margin-right: 8px;
  }

  .no-mp {
    margin: 0;
    padding: 0;
  }

  .label.label-primary {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    padding: 4px 8px;
  }

  .btn.btn-primary.btn-lg {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
  }

  .info {
    display: block;
    font-size: 14px;
    margin-top: 5px;
  }

  @media (max-width: 768px) {
    .row.text-center {
      flex-direction: column;
      align-items: stretch;
    }

    .col-md-9, .col-md-3, .col-xs-4 {
      width: 100%;
      text-align: center;
      padding: 10px 0;
    }

    .btn.btn-primary.btn-lg {
      width: 100%;
      font-size: 18px;
      border-radius: 12px;
    }

    .btn-labeled {
      width: 100%;
      text-align: center;
    }

    /* --- MOBILE POLISH TO MATCH PROTOTYPE --- */
    /* stack blocks with generous spacing */
    .row.text-center > .col-xs-4 {
      padding: 0;
      margin-bottom: 18px;
    }

    /* explicit order: departure (1) – duration (2) – arrival (3) */
    .row.text-center > .col-xs-4:nth-child(1) { order: 1; }
    .row.text-center > .col-xs-4:nth-child(2) { order: 2; margin: 25px 0; }
    .row.text-center > .col-xs-4:nth-child(3) { order: 3; }

    /* typography */
    h2.no-mp {
      font-size: 26px;
      font-weight: 600;
    }
    .row.text-center strong {
      font-size: 18px;
    }
    .row.text-center .text-muted {
      font-size: 14px;
    }

    /* button spacing */
    .btn-labeled {
      margin-top: 25px;
    }
  }
/* End */
/* /local/components/booking.filter/templates/.default/style.css?17489897991214 */
/* /bitrix/templates/booking/components/bitrix/catalog.section.list/booking/style.css?17479655882230 */
