/* Homepage search: one transparent refractive surface, with low-cost ambient motion. */
.welcome-map-section { position: relative; z-index: 100; overflow: visible; }
.welcome-map-section .map-wrapper { isolation: isolate; overflow: visible; }
.welcome-map-section .world-map { pointer-events: none; user-select: none; }

/* Static, layered geographic density regions; no animation or marker pulses. */
.welcome-map-density {position:absolute;inset:0;display:block;width:100%;height:100%;z-index:3;pointer-events:auto;opacity:.92;mix-blend-mode:normal;}

/* Positioned against the map image so it remains south of Africa at every width. */
.welcome-map-message {position:absolute;left:54%;top:92%;transform:translate(-50%,-50%) rotate(-4deg);z-index:4;pointer-events:none;display:flex;align-items:center;flex-direction:column;gap:3px;text-align:center;width:fit-content;max-width:60%;}
.welcome-map-message__script {font-family:"Caveat",cursive;font-size:clamp(17px,2.7vw,33px);font-weight:700;line-height:1.05;color:#548463;white-space:nowrap;}
.welcome-map-message__sub {font-family:"Source Sans 3",sans-serif;font-size:clamp(9px,1.05vw,13px);letter-spacing:.06em;color:#879a89;white-space:nowrap;}
@media(max-width:560px){.welcome-map-message{top:92%;left:54%;max-width:80%;}.welcome-map-message__script{font-size:clamp(13px,3.5vw,19px)}.welcome-map-message__sub{font-size:9px}}

/* The whole pill is one glass element. No painted input or separate CTA block. */
.welcome-search {
  position: absolute;
  z-index: 500;
  top: calc(46% - 29.5px); left: 50%;
  width: min(670px, calc(100% - 36px));
  transform: translate(-50%, -50%);
  color: #5b4027;
  font-family: "Plus Jakarta Sans", "Source Sans 3", system-ui, sans-serif;
}
.welcome-search__rim {
  position: relative;
  padding: 2.4px;
  border-radius: 999px;
  background: transparent;
  box-shadow:
    0 19px 55px rgba(101,69,39,.17),
    0 2px 8px rgba(92,59,30,.12),
    0 0 24px rgba(255,255,255,.47),
    inset 0 1px 1px rgba(255,255,255,.95);
}
/* Draw only the curved glass border. A full-background gradient here used to
   shine through the transparent form, making its center look opaque. */
.welcome-search__rim::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 2.4px;
  pointer-events: none;
  background: linear-gradient(162deg,
    rgba(255,255,255,.97) 0%, rgba(255,246,220,.59) 18%,
    rgba(121,126,129,.66) 43%, rgba(255,255,255,.9) 60%,
    rgba(211,134,66,.72) 83%, rgba(255,255,255,.96) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.welcome-search__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 59px;
  padding: 4px 12px 4px 16px;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(255,255,255,.045), rgba(255,238,209,.008) 43%, rgba(255,255,255,.035));
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.84),
    inset 0 -3px 11px rgba(103,108,111,.18),
    inset 0 0 10px rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(2px) saturate(110%);
  backdrop-filter: blur(2px) saturate(110%);
}
.welcome-search__form::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0; left: -28%;
  width: 154%; height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg,
    transparent 13%, rgba(132,136,140,.055) 25%,
    rgba(242,174,105,.10) 44%,
    rgba(255,247,224,.08) 53%, rgba(125,130,134,.10) 67%,
    transparent 83%);
  transform: translate3d(-19%,0,0);
  animation: welcomeGlassFlow 21s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.welcome-map-section.is-visible .welcome-search__form::before { animation-play-state: running; }
@keyframes welcomeGlassFlow {
  from { transform: translate3d(-19%,0,0); }
  to { transform: translate3d(17%,0,0); }
}
.welcome-search__rim:focus-within {
  box-shadow:
    0 20px 58px rgba(132,79,37,.19),
    0 0 27px rgba(180,184,188,.62),
    inset 0 1px 2px rgba(255,255,255,.99);
}
.welcome-search__form > * { position: relative; z-index: 1; }
.welcome-search__icon {
  flex: 0 0 21px;
  width: 21px; height: 21px;
  color: #378456;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.9));
  transform-origin: center;
  animation: welcomeSearchMagnifierBreathe 9s ease-in-out infinite;
}
@keyframes welcomeSearchMagnifierBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.13); }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-search__icon { animation: none; }
}
.welcome-search__input {
  appearance: none;
  flex: 1;
  width: 100%; min-width: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #4f3526;
  cursor: text !important;
  caret-color: #000 !important;
  font-family: inherit;
  font-size: 18px;
  font-weight: 560;
  letter-spacing: -.02em;
  line-height: 1.35;
}
.welcome-search__input:focus,
.welcome-search__input:focus-visible { border: none !important; outline: none !important; box-shadow: none !important; }
.welcome-search__input::placeholder { color: rgba(91,66,44,.71); opacity: 1; }
.welcome-search__input::-webkit-search-cancel-button { cursor: pointer; }
.welcome-search__submit {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px; height: 35px;
  border: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #378456;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.welcome-search__submit svg {
  width: 22px; height: 22px;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.65));
}
.welcome-search__submit:hover { color: #246640; transform: translateX(2px); }
.welcome-search :is(button, a):focus-visible {
  outline: 2px solid rgba(192,112,48,.6);
  outline-offset: -2px;
}
.welcome-search__label, .welcome-search__sr {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* When open, the capsule and dropdown share one continuous glass silhouette. */
.welcome-search.is-open .welcome-search__rim {
  border-radius: 33px 33px 0 0;
  padding-bottom: 0;
  background: transparent;
}
.welcome-search.is-open .welcome-search__form {
  border-radius: 30px 30px 0 0;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.8);
}
/* Result glass. One row grows in place; left is preview, right is navigation. */
.welcome-search__panel {
  position: absolute;
  z-index: 100;
  top: calc(100% - 1px); left: 0; right: 0;
  max-height: min(475px, 57vh);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 5px 6px;
  border: 2.4px solid rgba(242,255,249,.78);
  border-top: 0;
  border-radius: 0 0 25px 25px;
  background: linear-gradient(138deg, rgba(248,255,250,.10), rgba(219,239,229,.07));
  -webkit-backdrop-filter: blur(2px) saturate(110%);
  backdrop-filter: blur(2px) saturate(110%);
  box-shadow: 0 20px 52px rgba(25,61,45,.17),
    inset 1px 0 0 rgba(255,255,255,.68),
    inset -1px 0 0 rgba(151,199,174,.27),
    inset 0 -2px 8px rgba(95,156,121,.13);
}
.welcome-search__panel[hidden] { display: none; }
.welcome-search__list { display: grid; gap: 1px; }
.welcome-search__result {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255,255,255,.07);
  transition: background .2s ease, border-color .2s ease;
}
.welcome-search__result:hover, .welcome-search__result.is-expanded {
  background: rgba(234,248,241,.67);
  border-color: rgba(255,255,255,.86);
}
.welcome-search__split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); align-items: stretch; }
.welcome-search__details-trigger {
  display: flex; gap: 11px;
  align-items: center;
  width: 100%; min-width: 0;
  padding: 5px 5px 5px 7px;
  border: 0; border-radius: 13px;
  background: transparent;
  color: #1a392b;
  font-family: inherit; text-align: left; text-decoration: none;
  cursor: pointer;
}
.welcome-search__cover {
  display: grid; place-items: center;
  flex: 0 0 60px; width: 60px; height: 60px;
  overflow: hidden; border-radius: 11px;
  background: linear-gradient(142deg, #e6f0e7, #c6decf);
  color: #5e8c72;
}
.welcome-search__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.welcome-search__cover svg { width: 23px; height: 23px; }
.welcome-search__main { min-width: 0; display: grid; gap: 5px; }
.welcome-search__title {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #1b3e2d; font-size: 16px; font-weight: 690; line-height: 1.3;
}
.welcome-search__meta {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #688073; font-size: 13px; font-weight: 450; line-height: 1.36;
}
.welcome-search__unconfirmed {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(75,96,86,.68);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.3;
}
.welcome-search__go {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  text-decoration: none; color: #357356;
  border-radius: 13px;
  border: 0; background: transparent;
}
.welcome-search__go::before {
  position: absolute; content: "";
  inset: 7px 8px; border-radius: 12px;
  background: linear-gradient(120deg, rgba(222,250,234,.04), rgba(183,232,205,.23));
  opacity: 0; transition: opacity .2s ease;
}
.welcome-search__go:hover::before, .welcome-search__go:focus-visible::before { opacity: 1; }
.welcome-search__go svg {
  position: relative; width: 25px; height: 25px;
  transition: transform .2s ease;
}
.welcome-search__go:hover svg { transform: translateX(3px); }
.welcome-search__expanded {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .22s ease, opacity .18s ease;
}
.welcome-search__expanded-inner {
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0 12px;
  color: #456352;
  text-decoration: none;
  cursor: pointer;
}
.welcome-search__result.is-expanded .welcome-search__expanded { grid-template-rows: 1fr; opacity: 1; }
.welcome-search__result.is-expanded .welcome-search__expanded-inner { padding-bottom: 10px; padding-top: 2px; }
.welcome-search__expanded-inner:hover { background: rgba(255,255,255,.12); }
.welcome-search__description {
  display: block; overflow: hidden;
  max-height: 4.5em;
  margin: 0;
  color: #456352; font-size: 13.5px; line-height: 1.5;
}
.welcome-search__price {
  display: inline;
  margin: 0 9px 0 0;
  color: #2d6a4c; font-size: 14px; font-weight: 750;
  white-space: nowrap;
}
.welcome-search__copy { display: inline; }
.welcome-search__similar { display: inline-block; margin-top: 3px; color: #6d7e70; font-size: 11px; }
.welcome-search__message { margin: 0; padding: 15px; font-size: 13px; color: #546d5c; }
.welcome-search__hint { margin: 0; padding: 8px 13px 9px; font-size: 11px; color: #6b7e70; }

@media (max-width: 650px) {
  .welcome-map-section { min-height: 365px; }
  .welcome-search { width: calc(100% - 32px); top: calc(46% - 25.5px); }
  .welcome-search__form { min-height: 51px; padding: 3px 8px 3px 11px; gap: 7px; }
  .welcome-search__icon { width: 17px; height: 17px; flex-basis: 17px; }
  .welcome-search__input { font-size: 15px; }
  .welcome-search__submit { flex-basis: 31px; width: 31px; height: 31px; }
  .welcome-search__submit svg { width: 20px; height: 20px; }
  .welcome-search__panel { max-height: min(365px, 51vh); border-radius: 0 0 21px 21px; padding: 3px 4px 5px; }
  .welcome-search__details-trigger { gap: 8px; padding: 4px 3px 4px 5px; }
  .welcome-search.is-open .welcome-search__rim { border-radius: 27px 27px 0 0; }
  .welcome-search.is-open .welcome-search__form { border-radius: 24px 24px 0 0; }
  .welcome-search__cover { flex-basis: 51px; width: 51px; height: 51px; border-radius: 11px; }
  .welcome-search__title { font-size: 15px; }
  .welcome-search__meta { font-size: 12.5px; }
  .welcome-search__go svg { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-search__form::before { animation: none; }
  .welcome-search__expanded { transition: none; }
  .welcome-search__go svg, .welcome-search__submit { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .welcome-search__form, .welcome-search__panel {
    -webkit-backdrop-filter: none; backdrop-filter: none; background: #f0faf4;
  }
}
/* Inline result count / unobtrusive More action, immediately before arrow. */
.welcome-search__progress {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  white-space: nowrap;
  color: rgba(42,89,67,.76);
  font-size: 11.5px;
  font-weight: 500;
}
.welcome-search__progress[hidden],
.welcome-search__more[hidden],
.welcome-search__progress [data-search-separator][hidden] { display: none; }
.welcome-search__more {
  border: none;
  border-radius: 3px;
  background: transparent;
  padding: 2px 1px;
  margin: 0;
  font: inherit;
  font-weight: 800;
  color: #216d45;
  cursor: pointer;
  text-decoration: none;
}
.welcome-search__more:hover { color: #104e2f; text-decoration: none; }
.welcome-search__more:disabled { opacity: .6; cursor: wait; }
@media (max-width: 650px) {
  .welcome-search__progress { font-size: 10px; gap: 2px; }
  .welcome-search__progress [data-search-count] { font-size: 0; }
  .welcome-search__progress [data-search-count]::after {
    content: attr(data-compact);
    font-size: 10px;
  }
  .welcome-search__input { flex-basis: 40px; }
}
