/*
 * Coralli Rentals · Online Booking v2.15.40
 * Second screen: match marked screenshot 175.
 * Presentation only – search, capacity, rates, holds and payments unchanged.
 * Keep: step-2 label, sorting, grid/list toggle, search change, filters, cards.
 * Remove: large available-vehicles title, redundant summary, green status.
 * Operational source warnings remain visible on failure.
 */

/* Only the actual results screen, never the homepage or flexible-search fallback. */
body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-head > div:first-child > h2,
body.cb-results-mode:not(.cb-no-results-mode) #resultsSection #searchSummary,
body.cb-results-mode:not(.cb-no-results-mode) #resultsSection #dataSourceNote:not(.is-warning) {
  display: none !important;
}

body.cb-results-mode:not(.cb-no-results-mode) #resultsSection {
  padding-top: 24px !important;
}

body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 12px;
  min-height: 0;
  margin-bottom: 16px;
}

body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-head > div:first-child {
  flex: 1 1 250px;
  min-width: 0;
}

/* The original "Βήμα 2 από 5" remains the sole heading on the left. */
body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-head .cb-kicker {
  margin: 0 !important;
  line-height: 1.45;
}

body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-actions {
  flex: 0 1 auto;
  margin: 0;
  justify-content: flex-end;
  align-items: flex-end;
}

body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-result-layout {
  margin-top: 0;
}

/* Real warnings about failure to load live data must still be visible. */
body.cb-results-mode:not(.cb-no-results-mode) #resultsSection #dataSourceNote.is-warning {
  display: block;
  margin: 0 0 14px;
}

@media (max-width: 900px) {
  body.cb-results-mode:not(.cb-no-results-mode) #resultsSection {
    padding-top: 20px !important;
  }
  body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-head {
    align-items: flex-start;
    row-gap: 13px;
    margin-bottom: 14px;
  }
  body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-head > div:first-child {
    flex: 1 1 100%;
  }
  body.cb-results-mode:not(.cb-no-results-mode) #resultsSection .cb-results-actions {
    justify-content: flex-start;
    flex: 1 1 100%;
    max-width: 100%;
  }
}
