/* Marsata Phase 14 homepage — search bar only.
   Based on the user's reference; no navbar, footer, listing or booking-service styles. */
body.ui-home .search-shell {
  position: relative;
  left: auto;
  bottom: auto;
  top: auto;
  transform: translateY(39px);
  width: min(1060px, calc(100% - 48px));
  margin: 64px auto 0;
  padding: 10px 16px 10px;
  border: 1px solid #e4eee9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(14, 61, 53, .15);
  color: #153f38;
  overflow: visible;
}
body.ui-home .search-tabs {
  position: absolute;
  top: -43px;
  left: 50%;
  bottom: auto;
  transform: translateX(-50%);
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  padding: 5px 7px 0;
  margin: 0;
  border: 1px solid #e4eee9;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: #fff;
  overflow: visible;
  scrollbar-width: none;
}
body.ui-home .search-tabs::-webkit-scrollbar {display:none;}
body.ui-home .search-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 109px;
  min-height: 38px;
  padding: 8px 16px;
  margin: 0;
  border: 0;
  border-radius: 9px 9px 0 0;
  background: #f3f8f7;
  color: #194d44;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
body.ui-home .search-tab .tab-symbol {display:block;width:19px;height:19px;flex:none;}
body.ui-home .search-tab.active,
body.ui-home .search-tab[aria-pressed="true"] {
  background: #f67d64;
  color: #fff;
  border-bottom-color: transparent;
}
body.ui-home .search-tab:hover:not(.active) {background:#e7f2ef;color:#0b6555;}
body.ui-home .search-row,
body.ui-home .search-row.taxi-mode,
body.ui-home .search-row.stay-mode {
  display: grid;
  align-items: stretch;
  gap: 0;
  width: 100%;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}
body.ui-home .search-row {grid-template-columns:minmax(0,1.65fr) minmax(165px,1fr) minmax(140px,.86fr) 185px;}
body.ui-home .search-row.stay-mode {grid-template-columns:minmax(0,1.4fr) minmax(135px,.94fr) minmax(135px,.94fr) minmax(112px,.72fr) 164px;}
body.ui-home .search-row.taxi-mode {grid-template-columns:minmax(0,1.12fr) minmax(0,1.05fr) minmax(130px,.78fr) minmax(110px,.7fr) 156px;}
body.ui-home .search-row .field {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-width: 0;
  min-height: 68px;
  padding: 8px 13px;
  margin: 0;
  border: 0 !important;
  border-right: 1px solid #dce9e4 !important;
  border-radius: 0;
  background: transparent;
}
body.ui-home .search-row .field:first-child {padding-left:12px;}
body.ui-home .search-row .field.hidden {display:none !important;}
body.ui-home .search-row .search-field-icon {width:22px;height:22px;flex:none;color:#075f51;display:grid;place-items:center;}
body.ui-home .search-row .search-field-icon svg {width:22px;height:22px;display:block;}
body.ui-home .search-row .search-field-inner {flex:1;min-width:0;}
body.ui-home .search-row .field label {margin:0 0 4px;display:block;line-height:1.25;font-size:11px;letter-spacing:0;color:#204b44;font-weight:800;white-space:nowrap;}
body.ui-home .search-row .field .optional {display:none;}
body.ui-home .search-row .field input,
body.ui-home .search-row .field select {
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:25px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#2b5650;
  font-size:13px;
  line-height:1.4;
  text-overflow:ellipsis;
}
body.ui-home .search-row .field input::placeholder {color:#78938b;opacity:1;}
body.ui-home .search-row .field input[type="date"] {font-size:12px;}
body.ui-home .search-row .field input[type="date"]::-webkit-calendar-picker-indicator {opacity:.62;cursor:pointer;}
body.ui-home .search-row .field:focus-within {border-radius:10px;background:#eef8f4;outline:2px solid #65a997;outline-offset:-2px;}
body.ui-home .search-row .search-go {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
  min-height:57px;
  padding:10px 13px;
  margin:5px 0 5px 12px;
  border:0;
  border-radius:10px;
  background:#f67d64;
  color:#fff;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  box-shadow:none;
  cursor:pointer;
}
body.ui-home .search-row .search-go:hover {background:#df6c53;}
body.ui-home .search-row .search-go svg {height:17px;width:17px;flex:none;}
body.ui-home .search-reassurance {display:flex;justify-content:space-between;align-items:center;gap:7px 15px;margin:0;padding:4px 5px 0;font-size:10px;color:#758980;}
body.ui-home .search-reassurance a {font-size:10px;white-space:nowrap;}
/* The bar is in flow, so taller Stays/Taxi panels never cover the hero heading. */
body.ui-home main {padding-top:86px;}
@media(max-width:1100px) {
  body.ui-home .search-shell {width:calc(100% - 40px);margin-top:75px;}
  body.ui-home .search-row,
  body.ui-home .search-row.taxi-mode,
  body.ui-home .search-row.stay-mode {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  body.ui-home .search-row .field {
    min-height:62px;
    padding:10px 12px !important;
    border:1px solid #dce9e4 !important;
    border-radius:10px;
  }
  body.ui-home .search-row .field-query,
  body.ui-home .search-row .field-destination {grid-column:1/-1;}
  body.ui-home .search-row .search-go {grid-column:1/-1;min-height:48px;margin:4px 0 0;}
  body.ui-home .search-reassurance {padding-top:9px;}
}
@media(max-width:650px) {
  body.ui-home .search-shell {width:calc(100% - 28px);margin-top:72px;padding:10px 12px 12px;transform:translateY(32px);}
  body.ui-home .search-tabs {top:-43px;gap:2px;padding:5px 4px 0;width:max-content;max-width:calc(100% + 8px);}
  body.ui-home .search-tab {min-width:0;min-height:37px;gap:4px;padding:8px 9px;font-size:12px;}
  body.ui-home .search-tab .tab-symbol {width:17px;height:17px;}
  body.ui-home .search-row,
  body.ui-home .search-row.taxi-mode,
  body.ui-home .search-row.stay-mode {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:1px;}
  body.ui-home .search-row .field {min-height:62px;gap:8px;padding:8px !important;}
  body.ui-home .search-row .search-field-icon,
  body.ui-home .search-row .search-field-icon svg {width:18px;height:18px;}
  body.ui-home .search-row .field label {font-size:10px;}
  body.ui-home .search-row .field input,
  body.ui-home .search-row .field select {font-size:13px;min-height:28px;}
  body.ui-home .search-row .field input[type="date"] {font-size:12px;}
  body.ui-home .search-reassurance {font-size:10px;line-height:1.45;margin-top:8px;}
  body.ui-home .search-reassurance a {margin:0;}
  body.ui-home main {padding-top:71px;}
}
@media(max-width:380px) {
  body.ui-home .search-tabs {gap:0;}
  body.ui-home .search-tab {font-size:11px;padding-inline:7px;}
  body.ui-home .search-row .field {gap:6px;padding:7px !important;}
  body.ui-home .search-row .field input[type="date"] {font-size:11px;}
  body.ui-home .search-row.stay-mode .field-checkout,
  body.ui-home .search-row.stay-mode .field-travelers {grid-column:auto;}
  body.ui-home .search-reassurance {display:flex;flex-wrap:wrap;}
}

/* Phase 14 follow-up: a shorter hero, without changing the search controls,
   shared navigation, footer, or any booking/search behavior. */
body.ui-home .hero {
  min-height: 430px;
  padding-top: 38px;
}
body.ui-home .hero h1 {
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 1.055;
  margin-top: 12px;
  margin-bottom: 12px;
}
body.ui-home .hero-copy p {font-size:15px;line-height:1.55;}
body.ui-home .hero-benefits {margin-top:15px;gap:10px 20px;}
body.ui-home .search-shell {margin-top:49px;transform:translateY(30px);}
body.ui-home main {padding-top:62px;}
@media (max-width: 1100px) {
  body.ui-home .hero {min-height:410px;padding-top:36px;}
  body.ui-home .search-shell {margin-top:58px;}
}
@media (max-width: 650px) {
  body.ui-home .hero {min-height:0;padding-top:31px;}
  body.ui-home .hero h1 {font-size:clamp(36px, 9vw, 46px);margin:10px 0 12px;line-height:1.08;}
  body.ui-home .hero-copy p {font-size:13px;line-height:1.55;}
  /* Benefit copy repeats the trust information lower on the homepage. */
  body.ui-home .hero-benefits {display:none;}
  body.ui-home .search-shell {margin-top:60px;transform:translateY(28px);}
  body.ui-home main {padding-top:55px;}
}
@media (max-width: 380px) {
  body.ui-home .hero {min-height:0;}
  body.ui-home .hero h1 {font-size:36px;}
  body.ui-home .search-shell {margin-top:60px;}
  body.ui-home main {padding-top:56px;}
}
