:root {
  --searchot-accent: #24c24a;
  --searchot-text: #222b3a;
  --searchot-muted: #8d98a6;
  --searchot-line: #dfe6ee;
  --searchot-soft: #eef2f5;
  --searchot-shadow: 0 26px 60px rgba(16, 24, 40, .22);
}

.searchot-root {
  width: 100%;
}

.searchot-bar {
  display: flex;
  align-items: stretch;
  width: min(620px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, .02), 0 6px 20px rgba(17, 24, 39, .06);
  overflow: hidden;
}

.searchot-location-trigger,
.searchot-submit-btn {
  border: 0;
  background: #fff;
}

.searchot-location-trigger {
  width: 138px;
  flex: 0 0 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-right: 1px solid #eef2f6;
  color: var(--searchot-text);
  cursor: pointer;
  min-height: 40px;
}

.searchot-location-trigger__label-wrap {
  min-width: 0;
  display: block;
}

.searchot-location-trigger__label,
.searchot-keyword-form input[type="search"] {
  font-size: 13px !important;
  line-height: 1.2;
}

.searchot-location-trigger__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.searchot-location-trigger__caret {
  color: #a5b0bc;
  line-height: 1;
}

.searchot-keyword-form {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
}

.searchot-keyword-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 12px !important;
  background: transparent !important;
  color: var(--searchot-text);
}

.searchot-keyword-form input[type="search"]::placeholder,
.searchot-modal__search::placeholder {
  color: #9aa4b2;
}

.searchot-submit-btn {
  width: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7e8896;
  cursor: pointer;
}

.searchot-modal[hidden] {
  display: none !important;
}

.searchot-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.searchot-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 28, .62);
}

.searchot-modal__panel {
  position: relative;
  width: min(936px, calc(100vw - 32px));
  margin: 64px auto 0;
  background: #eef2f5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--searchot-shadow);
}

.searchot-modal__toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px 12px;
  background: #eef2f5;
}

.searchot-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #4d5968;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}

.searchot-back-btn .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.searchot-back-btn__text {
  font-weight: 500;
}

.searchot-modal__summary {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  color: #556273;
}

.searchot-modal__summary.is-selectable {
  cursor: pointer;
}

.searchot-modal__summary-text {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: #5d6878;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchot-modal__search-wrap {
  width: 272px;
  flex: 0 0 272px;
  position: relative;
  display: block;
}

.searchot-modal__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #97a4b2;
  width: 18px;
  height: 18px;
  font-size: 18px;
  pointer-events: none;
}

.searchot-modal__search {
  height: 40px;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 0 12px 0 38px;
  font-size: 14px;
  background: #fff;
  outline: none;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.searchot-modal__desktop {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 24px 24px;
}

.searchot-popular-rail {
  width: 22px;
  flex: 0 0 22px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #f2f5f7;
  color: #d4dbe3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.searchot-modal__content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.searchot-modal__col {
  min-width: 0;
  background: #fff;
  max-height: 470px;
  overflow: auto;
}

.searchot-group-title {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8f9baa;
  background: #f3f6f8;
}

.searchot-group-title.is-muted {
  position: sticky;
  top: 0;
  z-index: 2;
}

.searchot-location-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border: 0;
  border-bottom: 1px solid #e7edf4;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.searchot-location-item:hover {
  background: #f8fafc;
}

.searchot-location-item__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.searchot-location-item__main {
  font-size: 14px;
  line-height: 1.4;
  color: var(--searchot-text);
}

.searchot-location-item__meta {
  font-size: 12px;
  color: var(--searchot-muted);
  margin-top: 2px;
}

.searchot-location-item__arrow {
  color: #c0c8d2;
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.searchot-mobile-results {
  display: none;
}

html.searchot-modal-open,
body.searchot-modal-open {
  overflow: hidden !important;
}
  background: #fff;
  border-bottom: 1px solid var(--searchot-line);
}

.searchot-modal__list,
.searchot-mobile-results {
  max-height: 70vh;
  overflow: auto;
  background: #fff;
}

.searchot-mobile-results {
  display: none;
}

.searchot-mobile-results.is-visible {
  display: block;
}

.searchot-group-title {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94a3af;
  background: #f1f4f7;
}

.searchot-location-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border: 0;
  border-bottom: 1px solid #eef2f6;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.searchot-location-item:hover,
.searchot-location-item.is-active {
  background: #f8fafc;
}

.searchot-location-item__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.searchot-location-item__main {
  font-size: 14px;
  line-height: 1.35;
  color: var(--searchot-text);
}

.searchot-location-item__meta {
  font-size: 12px;
  color: var(--searchot-muted);
  margin-top: 2px;
}

.searchot-location-item__arrow {
  color: #c0c8d2;
  font-size: 20px;
  line-height: 1;
}

.searchot-explore-page #searchot-auto-inject {
  display: block !important;
  margin: 0 0 18px;
}

.searchot-explore-page #c27-explore-listings.searchot-explore-shell {
  background: #f5f6f8;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-map,
.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .mobile-explore-head-top {
  display: none !important;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .fc-default,
.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-container.fc-type-2 {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 0 20px 24px;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-search {
  width: 270px;
  min-width: 270px;
  position: sticky;
  top: 20px;
  background: transparent;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-tabs-wrapper,
.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-tabs {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(16, 24, 40, .04);
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .sidebar-tabs,
.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .types-dropdown-wrapper {
  display: none !important;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-listings,
.searchot-results-restyled #c27-explore-listings.searchot-explore-shell section.explore-type-2 {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .fl-head {
  background: transparent;
  padding: 0 0 12px;
  margin: 0;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .explore-desktop-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 14px;
}

.searchot-results-restyled .searchot-result-location {
  color: #6f7b8a;
  font-weight: 400;
}

.searchot-results-restyled #c27-explore-listings.searchot-explore-shell .results-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.searchot-listing-wrap {
  width: 100%;
  padding: 0 !important;
}

.searchot-card {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(16,24,40,.04);
}

.searchot-card__media {
  width: 236px;
  min-width: 236px;
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #eef1f4;
}

.searchot-card__media img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.searchot-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 8px;
  border-radius: 999px;
}

.searchot-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.searchot-card__top,
.searchot-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.searchot-card__price {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  color: #1f2937;
}

.searchot-card__verified {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--searchot-accent);
  background: rgba(36, 194, 74, .08);
  padding: 5px 8px;
  border-radius: 999px;
}

.searchot-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.searchot-card__title a {
  color: var(--searchot-text);
  text-decoration: none;
}

.searchot-card__excerpt {
  margin: 0;
  color: #657084;
  font-size: 14px;
  line-height: 1.55;
}

.searchot-card__location,
.searchot-card__meta {
  font-size: 13px;
  color: #8b96a6;
}

@media (max-width: 991px) {
  .searchot-bar {
    width: 100%;
    border-radius: 6px;
  }

  .searchot-location-trigger {
    width: 45%;
    flex-basis: 45%;
    min-width: 0;
  }

  .searchot-modal__panel {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    background: var(--searchot-accent);
  }

  .searchot-modal__header {
    padding: 12px 12px 10px;
    background: var(--searchot-accent);
  }

  .searchot-modal__search {
    background: #fff;
    border-color: transparent;
  }

  .searchot-back-btn,
  .searchot-close-btn {
    color: #fff;
  }

  .searchot-mobile-results {
    display: block;
    max-height: calc(100vh - 60px);
    background: #fff;
  }

  .searchot-results-restyled #c27-explore-listings.searchot-explore-shell .fc-default,
  .searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-container.fc-type-2 {
    display: block;
    padding: 0 12px 18px;
  }

  .searchot-results-restyled #c27-explore-listings.searchot-explore-shell .finder-search {
    width: 100%;
    min-width: 0;
    position: static;
    margin-bottom: 12px;
  }

  .searchot-card {
    flex-direction: column;
  }

  .searchot-card__media,
  .searchot-card__media img {
    width: 100%;
    min-width: 0;
    height: auto;
  }
}

@media (max-width: 991px) {
  .searchot-bar {
    width: 100%;
    border-radius: 4px;
  }

  .searchot-location-trigger {
    width: 42%;
    flex-basis: 42%;
    min-width: 0;
  }

  .searchot-modal__panel {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    background: #fff;
  }

  .searchot-modal__toolbar {
    padding: 12px 12px 10px;
    background: var(--searchot-accent);
    gap: 10px;
  }

  .searchot-back-btn {
    color: #fff;
    flex: 0 0 30px;
  }

  .searchot-back-btn__text,
  .searchot-modal__summary {
    display: none;
  }

  .searchot-modal__search-wrap {
    width: 100%;
    flex: 1 1 auto;
  }

  .searchot-modal__search {
    box-shadow: none;
    background: #fff;
  }

  .searchot-modal__desktop {
    display: none !important;
  }

  .searchot-mobile-results {
    display: block;
    max-height: calc(100vh - 62px);
    overflow: auto;
    background: #fff;
  }

  .searchot-group-title {
    position: static;
    top: auto;
  }
}
