/*
Theme Name: Traveler Child (TG Fleet)
Template: traveler
Description: Atoz fleet customizations — survives Traveler parent updates.
Version: 1.0.6
*/

/* Fleet card + halfmap listing UI (was tg-atoz-fleet-card-ui / halfmap-ui MU) */
.services-item .featured-image,
.services-item.grid .featured-image,
.services-item.list .featured-image,
.search-result-page .services-item .featured-image,
.modern-search-result .services-item .featured-image,
.elementor-widget-st_list_services .services-item .featured-image,
.elementor-element .services-item .featured-image,
.search-result-page.layout5 .services-item.grid .featured-image,
.search-result-page.layout6 .services-item.grid .featured-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef2f8;
    position: relative;
}
.services-item .featured-image > a:not(.service-avatar),
.services-item.grid .featured-image > a:not(.service-avatar),
.services-item.list .featured-image > a:not(.service-avatar),
.search-result-page .services-item .featured-image > a:not(.service-avatar),
.search-result-page.layout5 .services-item.grid .featured-image a,
.search-result-page.layout6 .services-item.grid .featured-image a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}
.services-item .featured-image > a.login,
.search-result-page .services-item .featured-image > a.login {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    z-index: 3;
}
.services-item .featured-image img.image-feature,
.services-item .featured-image img:not(.avatar):not(.d-none),
.services-item.list .featured-image img,
.search-result-page .services-item .featured-image img,
.modern-search-result .services-item .featured-image img,
.elementor-element .services-item .featured-image img,
.search-result-page.layout5 .services-item.grid .featured-image img.image-feature,
.search-result-page.layout6 .services-item.grid .featured-image img.image-feature,
.search-result-page.layout5 .services-item.list .featured-image img,
.search-result-page.layout6 .services-item.list .featured-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
}
.services-item .service-avatar,
.search-result-page .service-avatar {
    display: none !important;
}
.hotel-room-item .featured-image,
.st-room-item .featured-image,
.room-item .featured-image,
.st-room .featured-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef2f8;
    position: relative;
}
.hotel-room-item .featured-image img,
.st-room-item .featured-image img,
.room-item .featured-image img,
.st-room .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.services-item .section-footer .reviews.tg-no-reviews,
.search-result-page .section-footer .reviews.tg-no-reviews,
.modern-search-result .section-footer .reviews.tg-no-reviews,
.services-item .review-score.tg-no-reviews,
.search-result-page .review-score.tg-no-reviews {
    display: none !important;
}

/*
 * Hotel single masonry gallery — Traveler float CSS puts 3 thumbs on row 1 (broken).
 * Affects atozgo + atoztel equally; CSS grid fix in child theme.
 */
.single.st-mod-style .st-gallery.style-masonry .st-list-item-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 315px 315px;
  gap: 5px;
  width: 100%;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0;
  padding: 0 !important;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 630px !important;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  height: 315px !important;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
  height: 315px !important;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
  height: 315px !important;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
  height: 315px !important;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery a {
  display: block;
  height: 100%;
  line-height: 0;
  overflow: hidden;
}
.single.st-mod-style .st-gallery.style-masonry .item-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media screen and (max-width: 767px) {
  .single.st-mod-style .st-gallery.style-masonry .st-list-item-gallery {
    display: block;
  }
  .single.st-mod-style .st-gallery.style-masonry .item-gallery:nth-child(1) {
    height: auto !important;
  }
}

/* Popup-map layout6 — tel halfmap (atozgo stock child omits this) */
.search-result-page.layout6 .map-view-popup.style-2 #map-search-form.full-map-form {
  width: 100% !important;
  height: calc(100vh - 120px) !important;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
}
@media screen and (max-width: 991px) {
  .search-result-page.layout6 .map-view-popup.style-2 #map-search-form.full-map-form {
    height: calc(100vh - 64px) !important;
    border-radius: 0;
  }
}

/*
 * Desktop popup-map: DEFAULT = sidebar + hotel grid only (map hidden).
 * 3-col (filter | list | map) ONLY when body.tg-popup-map-open (CTA click).
 * Mobile ≤991 keeps fullscreen overlay + FAB.
 */
@media screen and (min-width: 992px) {
  /* Keep CTA visible when map closed */
  .search-result-page.layout6[data-format="popup"] .map-view-wrapper {
    display: block;
  }

  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
    gap: 12px;
    min-height: calc(100vh - 150px);
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row > .sidebar-filter {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 250px;
    max-width: 250px;
    width: 250px !important;
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
    position: sticky;
    top: 12px;
    align-self: flex-start;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row > .col-lg-9,
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row > .col-md-9 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 400px;
    max-width: 400px;
    width: 400px !important;
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 0;
    padding-right: 0;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .service-list-wrapper > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .map-view-popup.style-2 {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: calc(100vh - 150px) !important;
    max-height: calc(100vh - 150px);
    z-index: 2 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .map-view-popup.style-2 .close {
    display: flex !important;
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    z-index: 5;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .map-view-popup.style-2 #map-search-form.full-map-form {
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 12px;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .map-view-popup.style-2 .search-move-map {
    top: 12px;
  }
  /* While map open, hide redundant sidebar CTA */
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .map-view-wrapper {
    display: none !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .map-view.map-view-mobile {
    display: none !important;
  }
  html.tg-popup-map-open,
  body.tg-popup-map-open {
    overflow: auto !important;
  }

  /* Compact Booking-like cards: thumb left + meta right (override layout6 4:3 full-bleed) */
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .item.service-border,
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid > .item {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 12px;
    padding: 10px !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .featured-image {
    flex: 0 0 128px !important;
    width: 128px !important;
    max-width: 128px !important;
    min-width: 128px !important;
    aspect-ratio: 1 / 1 !important;
    height: 128px !important;
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .featured-image > a:not(.service-avatar) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .featured-image img.image-feature,
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .featured-image img:not(.avatar):not(.d-none) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .content-item {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .content-item .title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin: 4px 0 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .content-item .sub-title {
    font-size: 12px !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .section-footer {
    margin-top: auto;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"]
    .service-list-wrapper .services-item.grid .price-wrapper .price {
    font-size: 15px !important;
  }
}
@media screen and (min-width: 1400px) {
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row > .sidebar-filter {
    flex-basis: 280px;
    max-width: 280px;
    width: 280px !important;
  }
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row > .col-lg-9,
  body.tg-popup-map-open .search-result-page.layout6[data-format="popup"] .st-hotel-result > .row > .col-md-9 {
    flex-basis: 440px;
    max-width: 440px;
    width: 440px !important;
  }
}

/* Slim map pins — beat Traveler white chips on light Carto tiles */
.search-result-page .stt-price-label,
.map-view-popup .stt-price-label,
.mapboxgl-marker .stt-price-label {
  cursor: pointer;
  z-index: 2;
}
.search-result-page .stt-price-label .inner,
.map-view-popup .stt-price-label .inner,
.mapboxgl-marker .stt-price-label .inner {
  align-items: center !important;
  background: #ed8323 !important;
  border: 2px solid #fff !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.4) !important;
  color: #fff !important;
  display: flex !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 28px;
  min-width: 26px;
  padding: 6px 10px !important;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.search-result-page .stt-price-label .inner:after,
.map-view-popup .stt-price-label .inner:after,
.mapboxgl-marker .stt-price-label .inner:after {
  border-top-color: #ed8323 !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
}
.search-result-page .stt-price-label:hover .inner,
.search-result-page .mapboxgl-marker:hover .stt-price-label .inner,
.map-view-popup .stt-price-label:hover .inner,
.mapboxgl-marker:hover .stt-price-label .inner {
  background: #d56f12 !important;
}
.search-result-page .stt-price-label:hover .inner:after,
.map-view-popup .stt-price-label:hover .inner:after,
.mapboxgl-marker:hover .stt-price-label .inner:after {
  border-top-color: #d56f12 !important;
}
.search-result-page .mapboxgl-popup-content .tg-slim-pin-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 220px;
}

/* Phase 5 — Booking-like cluster count bubbles (HTML over hit-area circles) */
.search-result-page .stt-price-label.tg-cluster-bubble .inner,
.map-view-popup .stt-price-label.tg-cluster-bubble .inner,
.mapboxgl-marker .stt-price-label.tg-cluster-bubble .inner {
  background: #ed8323 !important;
  border: 3px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.45) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  min-height: 36px;
  min-width: 36px;
  padding: 8px 11px !important;
}
.search-result-page .stt-price-label.tg-cluster-bubble .inner:after,
.map-view-popup .stt-price-label.tg-cluster-bubble .inner:after,
.mapboxgl-marker .stt-price-label.tg-cluster-bubble .inner:after {
  display: none !important;
}

/* Hotel detail map — clearer pin + zoom controls */
body.single-st_hotel .map-view-popup .marker,
body.single-hotel_room .map-view-popup .marker,
body.single-st_hotel .st-map-box .marker,
body.single-hotel_room .st-map-box .marker {
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.45));
  width: 44px !important;
  height: 55px !important;
}
body.single-st_hotel .map-view-popup .mapboxgl-ctrl-group,
body.single-hotel_room .map-view-popup .mapboxgl-ctrl-group,
body.single-st_hotel .st-map-box .mapboxgl-ctrl-group,
body.single-hotel_room .st-map-box .mapboxgl-ctrl-group {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  border-radius: 8px;
  overflow: hidden;
}
body.single-st_hotel .tg-detail-pin,
body.single-hotel_room .tg-detail-pin {
  width: 22px;
  height: 22px;
  background: #ed8323;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.4);
}

/* Phase 5 — cluster + mobile pin tap targets */
@media screen and (max-width: 991px) {
  .search-result-page .stt-price-label .inner,
  .map-view-popup .stt-price-label .inner,
  .mapboxgl-marker .stt-price-label .inner {
    font-size: 11px !important;
    min-height: 28px;
    padding: 6px 10px !important;
  }
  .search-result-page .stt-price-label.tg-cluster-bubble .inner,
  .map-view-popup .stt-price-label.tg-cluster-bubble .inner,
  .mapboxgl-marker .stt-price-label.tg-cluster-bubble .inner {
    min-height: 40px;
    min-width: 40px;
    font-size: 14px !important;
  }
}

/* Hierarchical location facet — top bar dropdown + sidebar block. */
#tg-location-facet .dropdown-menu {
  min-width: 310px;
}
.tg-sidebar-location-facet .item-content {
  min-width: 0;
}
#tg-location-facet .tg-location-children,
.tg-sidebar-location-facet .tg-location-children {
  list-style: none;
  margin: 0;
  padding: 6px 12px 12px;
}
.tg-sidebar-location-facet .tg-location-subtitle {
  color: #7c8b97;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 12px 0;
  text-transform: uppercase;
}
#tg-location-facet .tg-location-option button,
.tg-sidebar-location-facet .tg-location-option button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4f6273;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 9px 4px;
  text-align: left;
  width: 100%;
}
#tg-location-facet .tg-location-option button:hover,
.tg-sidebar-location-facet .tg-location-option button:hover {
  color: var(--link-color, var(--accent-color, #3b71fe));
}
#tg-location-facet .tg-location-option small,
.tg-sidebar-location-facet .tg-location-option small {
  background: #f1f4f7;
  border-radius: 12px;
  color: #607284;
  font-size: 12px;
  margin-left: 16px;
  min-width: 28px;
  padding: 2px 7px;
  text-align: center;
}
#tg-location-facet .tg-location-current,
.tg-sidebar-location-facet .tg-location-current {
  border-bottom: 1px solid #edf0f2;
  color: #172b3a;
  font-weight: 600;
  margin-bottom: 4px;
  padding: 8px 4px 10px;
}
#tg-location-facet .tg-location-parent button,
.tg-sidebar-location-facet .tg-location-parent button {
  color: var(--link-color, var(--accent-color, #3b71fe));
  font-weight: 600;
}
#tg-location-facet .tg-location-empty,
.tg-sidebar-location-facet .tg-location-empty {
  color: #7c8b97;
  font-size: 13px;
  padding: 12px 4px;
}

/* Sidebar facet preview — top 5 + See more */
.sidebar-filter .tg-facet-see-more {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 8px;
  padding: 0 12px;
  text-align: left;
}
.tg-facility-groups {
  padding: 2px 12px 12px;
}
.tg-facility-group + .tg-facility-group {
  border-top: 1px solid #edf0f2;
  margin-top: 10px;
  padding-top: 10px;
}
.tg-facility-group-title {
  color: #7c8b97;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.tg-facility-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tg-facility-group .st-icheck-item {
  margin-bottom: 0;
}
.tg-facility-groups .st-icheck-item.hidden {
  display: inline-block !important;
}

/* Phase 4 — hotel name keyword (separate from Location, Booking-like) */
.tg-hotel-name-search {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 260px;
  position: relative;
  z-index: 3;
}
.tg-hotel-name-field {
  width: 100%;
  padding-right: 32px;
  position: relative;
}
.tg-hotel-name-field .stt-icon {
  flex-shrink: 0;
}
.tg-hotel-name-field label {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
}
.tg-hotel-name-input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  line-height: 1.3;
  padding: 0 4px 0 0;
}
.tg-hotel-name-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #eef2f6;
  color: #51606c;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 20px;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  z-index: 6;
  pointer-events: auto;
}
.tg-hotel-name-clear[hidden] {
  display: none !important;
}
.tg-hotel-name-scope {
  display: block;
  color: #7c8b97;
  font-size: 11px;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tg-hotel-name-scope[hidden] {
  display: none !important;
}
.tg-hotel-name-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  max-height: min(280px, 45vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tg-hotel-name-suggest[hidden] {
  display: none !important;
}
.tg-hotel-name-suggest-meta {
  padding: 4px 12px 6px;
  color: #7c8b97;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tg-hotel-name-suggest-item {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  color: #1f2a33;
}
.tg-hotel-name-suggest-item:hover,
.tg-hotel-name-suggest-item.is-active {
  background: #f3f7fb;
}
@media screen and (max-width: 991px) {
  .tg-hotel-name-search {
    max-width: none;
    flex: 1 1 100%;
    border-right: 0 !important;
    border-top: 1px solid #edf0f2;
    padding-top: 8px;
    margin-top: 4px;
    z-index: 20;
  }
  .tg-hotel-name-field {
    padding-right: 36px;
  }
  .tg-hotel-name-input {
    font-size: 16px; /* avoid iOS zoom */
  }
  .tg-hotel-name-suggest {
    max-height: min(40vh, 240px);
    border-radius: 12px;
  }
  .tg-hotel-name-suggest-item {
    padding: 12px 14px;
    min-height: 44px;
  }
  .tg-hotel-name-clear {
    width: 28px;
    height: 28px;
    line-height: 26px;
    right: 4px;
  }
}

/* Floating hotel search on map pane (Booking-like) */
.map-view-popup .tg-map-pane-search {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  width: min(320px, calc(100% - 140px));
  max-width: 360px;
  margin: 0;
  border: 0 !important;
  background: transparent;
  pointer-events: auto;
}
.map-view-popup .tg-map-pane-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  padding: 8px 12px 8px 36px;
  min-height: 44px;
}
.map-view-popup .tg-map-pane-search-inner > .stt-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
}
.map-view-popup .tg-map-pane-search-input {
  flex: 1 1 auto;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  width: 100%;
  min-width: 0;
}
.map-view-popup .tg-map-pane-search .tg-hotel-name-clear {
  position: static;
  flex: 0 0 auto;
}
.map-view-popup .tg-map-pane-search .tg-hotel-name-suggest {
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  width: 100%;
  max-height: 240px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
body.tg-popup-map-open .map-view-popup .search-move-map {
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 991px) {
  .map-view-popup .tg-map-pane-search {
    top: 56px;
    left: 10px;
    width: calc(100% - 20px);
    max-width: none;
  }
  .map-view-popup .tg-map-pane-search-input {
    font-size: 16px;
  }
  body.tg-popup-map-open .map-view-popup .search-move-map,
  .map-view-popup.style-2 .search-move-map {
    top: 110px;
  }
}

