/* The booking finder shares one set of control styles at all viewport widths. */
#homeFinderPanel {
  --finder-ink: #090f1a;
  --finder-active: #101d31;
  --finder-border: #c8ced9;
  --finder-inset: clamp(12px, 3.6vw, 19px);
  --finder-height: 45px;
  --finder-radius: 8px;
  box-sizing: border-box;
  color: var(--finder-ink);
  background: #fff !important;
  border-radius: 20px !important;
}
#homeFinderPanel .mobile130-title {
  display: block;
  margin: 0 !important;
  padding: 12px var(--finder-inset) 15px !important;
  color: var(--finder-ink) !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.15;
  text-align: start;
}
#homeFinderPanel :is(.home142-subtitle,.home142-hint) { display: none !important; }
#homeFinderPanel .booking-tabs {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  margin: 0 var(--finder-inset) !important;
  height: auto !important;
  overflow: hidden;
  border: 1px solid var(--finder-border) !important;
  border-radius: var(--finder-radius) !important;
  background: #fff !important;
}
#homeFinderPanel .booking-tabs .booking-tab {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: clamp(4px,2vw,9px) !important;
  height: auto !important;
  min-height: 45px !important;
  padding: 5px 3px !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--finder-ink) !important;
  font-size: clamp(11px,3.15vw,14px) !important;
  font-weight: 800 !important;
  line-height: 1.16;
}
#homeFinderPanel .booking-tabs .booking-tab.active {
  color: #fff !important;
  background: var(--finder-active) !important;
}
#homeFinderPanel .booking-tab.active::after,
#homeFinderPanel .booking-tabs .booking-tab:nth-child(3) { display: none !important; }
#homeFinderPanel .booking-tab .home133-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: currentColor !important;
}
#homeFinderPanel .finder {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 11px 10px !important;
  padding: 14px var(--finder-inset) 14px !important;
}
#homeFinderPanel .finder .finder-field { min-width: 0; }
#homeFinderPanel .location-field { grid-column: 1 / -1 !important; }
#homeFinderPanel .finder .finder-field > label {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  margin: 0 0 5px !important;
  color: var(--finder-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: start !important;
}
#homeFinderPanel .finder :is(.home133-location,.home133-date,.home133-time-part) { position: relative; min-width: 0; }
#homeFinderPanel .finder :is(.home133-location,.home133-date)::before { display: none !important; }
#homeFinderPanel .finder :is(.home133-location select,.home133-date,.home133-time) {
  box-sizing: border-box;
  height: var(--finder-height) !important;
  min-height: var(--finder-height) !important;
  border: 1px solid var(--finder-border) !important;
  border-radius: var(--finder-radius) !important;
  background: #fff !important;
}
#homeFinderPanel .finder :is(.home133-location select,.home133-time select,.home133-date-text) {
  color: var(--finder-ink) !important;
  -webkit-text-fill-color: var(--finder-ink) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
#homeFinderPanel .finder .home133-location select {
  appearance: none !important;
  padding: 0 !important;
  padding-inline: 43px 27px !important;
  font-size: 16px !important;
}
#homeFinderPanel .finder .home133-date {
  display: flex;
  align-items: center;
}
#homeFinderPanel .finder .home133-date-text {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  padding: 0 !important;
  padding-inline: 33px 19px !important;
  font-size: clamp(11px,3.4vw,14px) !important;
  line-height: 1.15;
  white-space: normal !important;
  pointer-events: none;
}
#homeFinderPanel .finder .home133-date input[type=date] {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 1;
}
#homeFinderPanel .finder .home133-date input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  cursor: pointer;
}
#homeFinderPanel .finder .home133-time {
  display: grid !important;
  grid-template-columns: 19px minmax(0,1fr) auto minmax(0,1fr);
  padding: 0 7px 0 9px !important;
  gap: 2px !important;
  direction: ltr;
}
#homeFinderPanel .finder .home133-time-part { display: block; }
#homeFinderPanel .finder .home133-time .home133-time-part select {
  appearance: none !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 11px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: clamp(13px,3.6vw,16px) !important;
  font-variant-numeric: tabular-nums;
  text-align: center !important;
}
#homeFinderPanel .finder .time24-colon {
  padding: 0 2px;
  color: var(--finder-ink) !important;
  font-size: 14px !important;
}
#homeFinderPanel .finder .home133-icon { color: var(--finder-ink) !important; pointer-events: none; }
#homeFinderPanel .finder :is(.home133-location,.home133-date,.home133-time-part) > .home133-icon {
  display: block;
  position: absolute;
  inset-inline: 9px auto !important;
  top: 50% !important;
  height: 19px !important;
  width: 19px !important;
  transform: translateY(-50%);
}
#homeFinderPanel .finder :is(.home133-location,.home133-date,.home133-time-part) > .home133-icon--down {
  inset-inline: auto 9px !important;
  height: 14px !important;
  width: 14px !important;
}
#homeFinderPanel .finder .home133-time-part > .home133-icon--down {
  inset-inline-end: 0 !important;
  height: 10px !important;
  width: 10px !important;
}
#homeFinderPanel .finder .home133-time > .home133-icon--clock {
  display: block;
  width: 18px !important;
  height: 18px !important;
  align-self: center;
}
#homeFinderPanel .finder :is(.home133-date,.home133-time):focus-within {
  outline: 2px solid #b88800;
  outline-offset: 1px;
}
#homeFinderPanel .finder label.mobile130-same {
  display: flex !important;
  align-items: center;
  grid-column: 1/-1;
  gap: 8px !important;
  height: auto !important;
  min-height: 35px !important;
  margin: 1px 0 2px !important;
  color: var(--finder-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
#homeFinderPanel .finder label.mobile130-same input[type=checkbox] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--finder-active) !important;
  border-radius: 5px !important;
  background: #fff !important;
}
#homeFinderPanel .finder label.mobile130-same input[type=checkbox]:checked {
  background: var(--finder-active) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
#homeFinderPanel .finder label.mobile130-same input[type=checkbox]:focus-visible {
  outline: 2px solid var(--finder-active) !important;
  outline-offset: 3px !important;
}
#homeFinderPanel .finder .booking-timezone-note {
  grid-column: 1 / -1;
  order: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  text-align: center !important;
  color: var(--finder-ink) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
#homeFinderPanel .finder .booking-timezone-note > .home133-icon { display: none !important; }
#homeFinderPanel #checkBtn {
  grid-column: 1/-1;
  order: 3 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px !important;
  min-height: 49px !important;
  border-radius: 10px !important;
  background: #ffc527 !important;
  color: var(--finder-ink) !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 850 !important;
}
#homeFinderPanel #checkBtn .home133-icon { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
#homeFinderPanel #availability, #homeFinderPanel #mobile130Reset { color: var(--finder-ink) !important; order: 4 !important; }
#homeFinderPanel #availability:empty { display: none; }
#homeFinderPanel .finder-cities {
  order: 6;
  grid-column: 1/-1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  color: var(--finder-ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
}
#homeFinderPanel .finder-cities .home133-icon { display: block; width: 18px; height: 18px; flex: none; }
#hubCities118 { scroll-margin-top: max(85px, var(--mobile130-header-height, 0px)); }

@media (max-width: 700px) {
  body:not([data-city-results]).home133-phone .hero {
    background: linear-gradient(155deg,#0b2345,#1b4877 75%,#4678a7) !important;
  }
  body:not([data-city-results]).home133-phone .hero::before { display: none !important; }
  body:not([data-city-results]).home133-phone .hero .hero-inner { padding-top: 20px !important; }
  #homeFinderPanel { margin-top: 0 !important; }
}
@media (max-width: 360px) {
  #homeFinderPanel .finder .home133-time { grid-template-columns: 16px minmax(0,1fr) auto minmax(0,1fr); padding-inline: 6px !important; }
  #homeFinderPanel .finder .home133-time > .home133-icon--clock { width: 15px !important; height: 15px !important; }
}
@media (forced-colors: active) {
  #homeFinderPanel .finder label.mobile130-same input[type=checkbox] { appearance: auto !important; }
}

/* Match the visible bounds of the icons in the 390px-wide reference. */
#homeFinderPanel .booking-tab .home133-icon--car { width: 20px; height: 16px; flex-basis: 20px; }
#homeFinderPanel .booking-tab .home133-icon--plane { width: 19px; height: 18px; flex-basis: 19px; }
#homeFinderPanel .finder .home133-location > .home133-icon--pin { width: 15px !important; height: 18px !important; }
#homeFinderPanel .finder .home133-date > .home133-icon--calendar { width: 17px !important; height: 18px !important; }
#homeFinderPanel .finder :is(.home133-location,.home133-date) > .home133-icon--down { width: 10px !important; height: 6px !important; }
#homeFinderPanel .finder .home133-time-part > .home133-icon--down { width: 7px !important; height: 5px !important; }

/* Keep the desktop hero and the existing finder layout. */
.mobile-home-photo { display: none; }

@media (max-width: 700px) {
  body:not([data-city-results]) > .mobile-home-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1672 / 924;
    box-sizing: content-box;
    position: relative;
    border-bottom: 1px solid #ffc731;
    background:
      linear-gradient(155deg, #07192d80 0%, #07192d50 23%, transparent 56%),
      url("design/marrakech-three-cars-mobile.webp") center / contain no-repeat;
  }
}

@media (max-width: 700px) {
  .mobile-home-photo-copy {
    position: absolute;
    inset-block-start: clamp(7px, 2.55vw, 16px);
    inset-inline-start: 8.05%;
    width: 85%;
    color: #fff;
    text-align: start;
    text-shadow: 0 1px 5px #08182f;
  }

  .mobile-home-photo-copy h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(16px, 5.16vw, 34px);
    font-weight: 800;
    line-height: .97;
    letter-spacing: -.025em;
  }

  .mobile-home-photo-copy h1 span { color: #ffc731; }

  .mobile-home-photo-copy p {
    margin: .3em 0 0;
    color: inherit;
    font-size: clamp(10px, 2.42vw, 16px);
    font-weight: 700;
    line-height: 1.15;
  }
}
