/* Map InfoWindow Card Fix */
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  filter: none !important;
  backdrop-filter: none !important;
  border-radius: 8px !important;
  overflow: visible !important;
}
.gm-style .gm-style-iw-d {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  filter: none !important;
  backdrop-filter: none !important;
  overflow: hidden !important;
  max-height: none !important;
}
.gm-style .gm-style-iw-ch {
  padding: 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
  filter: none !important;
  backdrop-filter: none !important;
}
.gm-style .gm-style-iw-t::before,
.gm-style .gm-style-iw-t::after,
.gm-style .gm-style-iw-tc::before,
.gm-style .gm-style-iw-tc::after {
  display: none !important;
  content: none !important;
}
.gm-style .gm-style-iw-tc svg,
.gm-style .gm-style-iw-tc path {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.gm-style .hotel-card-modern {
  height: auto !important;
}
.map-hotel-card {
  width: 280px;
  height: 330px !important;
  max-height: 330px !important;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.map-hotel-card .card-footer {
  margin-top: 0 !important;
}

.htl-img {
  max-width: 200px;
}
.properties-page {
  padding: 10px;
}
.properties-page .hotels-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 !important;
}

.properties-page .hotel-address-container {
  border-radius: 8px;
  box-shadow: 2px 2px 15px 3px rgba(0, 0, 0, 0.1);
  float: left;
  padding: 15px 0px;
  width: 100%;
}
.hotel-address-container .hotel-name {
  font-size: 22px;
  font-weight: 500;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 16px;
}
.htl-img {
  max-width: 200px;
}
span.htl-map-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: 0 50% !important;
  background-size: 16px 16px !important;
  margin-right: 8px;
  vertical-align: middle;
  background-image: url(../img/icon-location.svg) !important;
  padding: 0 !important;
}
.hotel-address-container span.htl-phone-icon,
.hotel-address-container span.htl-email-icon,
.hotel-address-container span.htl-address-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  margin-right: 8px;
  vertical-align: middle;
}
.hotel-address-container span.htl-phone-icon {
  background-image: url(../img/icon-phone.svg) !important;
  background-position: 0 50% !important;
  background-size: 16px 16px !important;
  padding: 0 !important;
}
.hotel-address-container span.htl-email-icon {
  background-image: url(../img/icon-email.svg) !important;
  background-position: 0 50% !important;
  background-size: 16px 16px !important;
  padding: 0 !important;
}
.hotel-branch-info-actions {
  display: flex;
  gap: 12px;
}
.hotel-address-container p.hotel-branch-info-value {
  font-size: 16px;
  color: rgba(0, 0, 0, 1);
  font-weight: 400;
  line-height: 28px;
}

.sortbar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  padding: 6px 10px;
  width: fit-content;
  margin-left: auto;
  margin-bottom: 16px;
}
.sortbar:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}
.sortbar-label {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}
.sortbar-select {
  border: 0;
  outline: none;
  background: transparent;
  height: 28px;
  min-width: 220px;
  font-size: 14px;
  color: #111;
  cursor: pointer;
  padding: 0 6px;
}
.hotels-container-scroller {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100px);
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 16px;
  padding-right: 12px;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: #bfbfbf transparent;
}

/* Thin scrollbar for Chromium/WebKit */
.hotels-container-scroller::-webkit-scrollbar {
  width: 2px;
}
.hotels-container-scroller::-webkit-scrollbar-track {
  background: transparent;
}
.hotels-container-scroller::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 999px;
}
.hotels-container-scroller::-webkit-scrollbar-thumb:hover {
  background: #a6a6a6;
}
.preview-hotel-card {
  width: 304px !important;
}
.viewmap-list .hotels-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 !important;
}
@media (min-width: 1440px) {
  .viewmap-list .hotels-container {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1920px) {
  .viewmap-list .hotels-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.viewmap-list .hotels-container > div {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0;
  margin: 0;
}
.hotels-container-scroller.g-4 .hotels-container {
  gap: 16px;
}
.viewmap-list .hotel-card {
  margin: 0;
}
.viewmap-list .hotel-address-container {
  border: none;
  padding: 16px;
  width: 100%;
  background: #fff;
}
.viewmap-list .hotel-card-modern {
  width: 100% !important;
  height: auto !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
/* 
.viewmap-list .hotel-card-modern .card-media {
  height: 180px !important;
} */

.viewmap-list .hotel-card-modern .card-body {
  padding: 12px;
}
.viewmap-list .hotel-card .hotel-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a73e8;
  margin: 0;
}
.viewmap-list .hotel-card .hotel-branch-info-value {
  font-size: 13px;
  color: #555;
  margin-top: 6px;
}
.empty-results-card {
  margin: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.empty-results-card .empty-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.empty-results-card .empty-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a73e8;
}
.empty-results-card .empty-sub {
  margin: 0 0 8px 0;
  color: #333;
}
.empty-results-card .empty-tips {
  list-style: disc;
  text-align: left;
  margin: 0 auto 12px auto;
  padding-left: 20px;
  max-width: 360px;
}
.empty-results-card .empty-refresh {
  padding: 8px 12px;
  border-radius: 12px;
}
.skeleton-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.skeleton-card .card-media {
  height: 160px;
}
.skel {
  display: block;
  background: linear-gradient(90deg, #ececec 25%, #f7f7f7 37%, #ececec 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
}
.skel-img {
  width: 100%;
  height: 100%;
}
.skel-title {
  width: 60%;
  height: 18px;
  margin: 10px 0;
  border-radius: 9px;
}
.skel-line {
  height: 14px;
  margin: 6px 0;
  border-radius: 7px;
}
.skel-price {
  width: 120px;
  height: 20px;
  border-radius: 10px;
}
@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* view-filter */
.search-hotel {
  display: flex;
  flex-direction: column;
}
.viewmap-filters {
  display: flex !important;
  flex-direction: column;
  margin: 0;
  height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #bfbfbf transparent;
}
/* Thin scrollbar for filter sidebar (Chromium/WebKit) */
.viewmap-filters::-webkit-scrollbar {
  width: 6px;
}
.viewmap-filters::-webkit-scrollbar-track {
  background: transparent;
}
.viewmap-filters::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 3px;
}
.viewmap-filters::-webkit-scrollbar-thumb:hover {
  background: #a6a6a6;
}
.viewmap-filters .control-label {
  font-weight: 700;
  color: #111;
}
.filter-header {
  color: #000;
}
.viewmap-filters .small {
  color: #6b7280;
}
.viewmap-filters .header-rmsearch-input {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #fff;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 12px;
  padding-right: 12px;
}
.viewmap-filters #filterRating {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 8px 16px 8px;
  margin: 0px;
}
.viewmap-filters ul label {
  display: inline-flex;
  margin: 0px;
  padding: 0px;
  gap: 8px;
}
.viewmap-filters #amenityList,
.viewmap-filters #propertyTypeList,
.viewmap-filters #ratingList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none !important;
  padding: 0px;
  margin: 0px;
}
.viewmap-filters #ratingList label {
  gap: 4px;
}
.viewmap-filters #ratingList label input {
  margin: 0;
}
.viewmap-filters a.small {
  text-decoration: underline;
}
.viewmap-filters div.checker,
.viewmap-filters div.checker span,
.viewmap-filters div.checker input {
  width: 20px;
  height: 20px;
}
.viewmap-filters div.checker span {
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-image: none;
  background-position: initial;
  transition: all 0.2s;
}
.viewmap-filters div.checker span.checked {
  background-color: #2563eb;
  border-color: #2563eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-position: 0 0;
}
.viewmap-filters #ratingList .star {
  font-size: 16px;
  padding-right: 4px;
}
.panel {
  border: none;
}
.filter-panel {
  padding: 10px;
}
.filter-panel .panel-heading {
  font-weight: 600;
  background: #fff;
  border-bottom: 1px solid #eeeeee;
  padding: 12px;
}
.viewmap-filters .panel-divider {
  height: 1px;
  background: #e5e7eb;
  border: none;
  padding: 0px;
  margin: 0;
}
.filter-panel input[type="checkbox"] {
  margin: 0;
}
.filter-panel input[type="radio"] {
  margin-top: 5px;
}
div.radio,
div.radio span,
.filter-panel div.radio input {
  margin-top: 2px;
}
.filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#filterPriceMinLbl,
#filterPriceMaxLbl {
  color: #212529;
}
#filterPriceRange {
  margin-top: 8px;
}
.filter-panel .form-group .control-label {
  border-bottom: 2px solid #1292ff;
  display: inline-block;
  padding-bottom: 2px;
}
.viewmap-filters #filterPriceRange.ui-slider {
  height: 8px;
  background: #e5e7eb;
  border-radius: 8px;
}
.viewmap-filters #filterPriceRange .ui-slider-range {
  background: #1292ff;
  border-radius: 8px;
}
.viewmap-filters #filterPriceRange .ui-slider-handle {
  width: 16px;
  height: 16px;
  top: -5px;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.viewmap-filters #filterPriceRange .ui-slider-handle:hover,
.viewmap-filters #filterPriceRange .ui-slider-handle:focus {
  border-color: #9aa0a6;
  outline: none;
}
/* Shared Search Input Styles */
.viewmap-filters #filterLocation.header-rmsearch-input,
.viewmap-filters #filterDates.header-rmsearch-input,
.viewmap-filters .form-control.input-occupancy.header-rmsearch-input {
  height: 38px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background-repeat: no-repeat, no-repeat;
  background-position: 14px center, right 14px center;
  background-size: 20px 20px, 20px 20px;
  position: relative;
  padding-left: 48px;
  padding-right: 48px;
  font-size: 15px;
}

/* Individual Background Images (Icons) */
.viewmap-filters #filterLocation.header-rmsearch-input {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s8-7.163 8-12a8 8 0 10-16 0c0 4.837 8 12 8 12z' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='3' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15l4 4 4-4M8 9l4-4 4 4' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.viewmap-filters #filterDates.header-rmsearch-input {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 9h18' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 3v4M17 3v4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15l4 4 4-4M8 9l4-4 4 4' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.viewmap-filters .form-control.input-occupancy.header-rmsearch-input {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='7' r='4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15l4 4 4-4M8 9l4-4 4 4' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  text-align: left;
}

/* Hide Pseudo-elements */
.viewmap-filters #filterLocation.header-rmsearch-input::before,
.viewmap-filters #filterDates.header-rmsearch-input::before,
.viewmap-filters #filterLocation.header-rmsearch-input::after,
.viewmap-filters #filterDates.header-rmsearch-input::after,
.viewmap-filters .form-control.input-occupancy.header-rmsearch-input::before,
.viewmap-filters .form-control.input-occupancy.header-rmsearch-input::after {
  display: none;
  content: none;
}
#search_occupancy_wrapper {
  padding: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  width: 100%;
  min-width: 0;
  left: 0;
  right: 0;
}
.viewmap-filters .dropdown,
.viewmap-filters .dropdown-menu {
  width: 100%;
}

#search_occupancy_wrapper .occupancy_info_head {
  font-weight: 600;
  margin-bottom: 8px;
}
#search_occupancy_wrapper .occupancy_count_block label {
  font-weight: 600;
}
#search_occupancy_wrapper .occupancy_count_block > div {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
#search_occupancy_wrapper .occupancy_count {
  display: flex;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  width: 34px;
  height: auto;
  text-align: center;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
}
#search_occupancy_wrapper .occupancy_count span {
  display: inline-block;
  width: 100%;
}
#search_occupancy_wrapper .qty_direction {
  display: flex;
  flex-direction: column;
}

#search_occupancy_wrapper .qty_direction .btn {
  width: 34px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
#search_occupancy_wrapper .label-desc-txt {
  color: #888;
  font-size: 12px;
}
#search_occupancy_wrapper .occupancy-info-separator {
  border: none;
  border-top: 1px solid #e6e6e6;
}
#search_occupancy_wrapper .occupancy_block_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
#search_occupancy_wrapper .add_new_occupancy_btn {
  color: #6c63ff;
  font-weight: 600;
}
#search_occupancy_wrapper .submit_occupancy_btn {
  border-radius: 8px;
  font-weight: 600;
}
.header-rmsearch-wrapper {
  background: #1a4060;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
  padding: 15px 20px;
}
.header-rmsearch-wrapper .filter_header {
  font-size: 14px;
  color: #ffffff;
  line-height: 25px;
}
.header-rmsearch-wrapper .filter_header p {
  margin-bottom: 2px;
}
.header-rmsearch-wrapper .filter_header .header-bottom-hr {
  width: 22px;
  float: left;
  margin-top: 0px;
  border-top: 3px solid #fff;
}
.header-rmsearch-wrapper #search_hotel_block_form {
  grid-template-columns: 1fr;
}
.header-rmsearch-wrapper #search_hotel_block_form #daterange_value.multi-date {
  grid-template-columns: 1fr;
}
#search_hotel_block_form
  .hotel-selector-wrap
  .chosen-container-single
  .chosen-single {
  min-height: 45px;
}
#search_hotel_block_form
  .hotel-selector-wrap
  .chosen-container-single
  .chosen-search {
  height: 45px;
}
#search_hotel_block_form .grid {
  display: block;
}
#search_hotel_block_form .grid > div {
  display: block;
}
#search_hotel_block_form > div {
  grid-column-end: unset !important;
  grid-column: unset !important;
}

.pac-container {
  border-radius: 8px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e5e5e5 !important;
  overflow: hidden !important;
  font-family: inherit !important;
  z-index: 10000 !important;
}
.pac-item {
  padding: 10px 12px !important;
  border-bottom: 1px solid #f2f2f2 !important;
}
.pac-item:last-child {
  border-bottom: none !important;
}
.pac-item:hover {
  background: #f9f9f9 !important;
}
.pac-icon {
  display: none !important;
}
.pac-item-query {
  font-weight: 600 !important;
}
.pac-matched {
  color: #006ce4 !important;
}
.date-picker-wrapper {
  font-family: Verdana, Arial, sans-serif;
  z-index: 9999999 !important;
  position: fixed !important;
  border-radius: 5px;
  background-color: #fff !important;
  color: #777;
  box-shadow: 0 4px 10px 0 rgb(0 0 0 / 26%);
  border: 1px solid #d6d4d4 !important;
}
.date-picker-wrapper .month-wrapper {
  border: none !important;
}
.date-picker-wrapper.no-shortcuts {
  padding: 10px;
}
.date-picker-wrapper.top,
.date-picker-wrapper.bottom {
  position: fixed !important;
}
.date-picker-wrapper.inline-wrapper {
  position: fixed !important;
  top: auto !important;
  bottom: auto !important;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: inline-block;
}
.date-picker-wrapper .month-wrapper table .week-name {
  height: 40px;
}
.date-picker-wrapper .month-wrapper table .day.real-today {
  background-color: unset;
}
.date-picker-wrapper .month-wrapper table tr td .day {
  padding: 10px 11px;
  line-height: 18px;
  font-size: 14px;
  margin: 0;
  width: 38px;
}
.date-picker-wrapper table .caption .next,
.date-picker-wrapper table .caption .prev {
  font-size: 16px;
  color: #000;
  padding: 5px 10px;
  background-color: #f0f0f0;
  display: inline-block;
  border: none;
  border-radius: 50%;
}
.date-picker-wrapper table .caption .next i,
.date-picker-wrapper table .caption .prev i {
  width: 6px;
}

/* view-map */
#googleMapWrapper {
  clear: both;
  height: 500px;
}
#map {
  width: 100%;
  height: 100%;
}
#map img {
  max-width: none !important;
}
#map .view-link {
  padding-top: 4px;
}
.gm-btn-get-directions {
  text-decoration: none;
  color: #427fed;
  font-weight: bold;
}
.gm-btn-get-directions:hover {
  text-decoration: underline;
  color: #427fed;
}
.gm-btn-get-directions:focus {
  outline: none;
  color: #427fed;
}
.map-fullwidth #header,
.map-fullwidth #footer,
.map-fullwidth .footer-container {
  display: none !important;
}
.viewmap-split {
  min-height: 100vh;
  padding: 0 !important;
}
.viewmap-split [class^="col-"],
.viewmap-split [class*=" col-"] {
  min-height: 0 !important;
}
.viewmap-map {
  position: relative;
  overflow: hidden;
}
.viewmap-map #googleMapWrapper #map {
  width: 100%;
  height: calc(100vh - 55px);
  position: static !important;
}
.properties-page.viewmap-fullwidth {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.properties-page.viewmap-fullwidth .row.viewmap-split {
  height: calc(100% - 72px);
  margin-left: 0;
  margin-right: 0;
}
.properties-page.viewmap-fullwidth .viewmap-list,
.properties-page.viewmap-fullwidth .viewmap-map {
  height: 100%;
}
.properties-page.viewmap-fullwidth #googleMapWrapper {
  height: 100%;
}
.viewmap-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.map-close-btn {
  pointer-events: auto;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  background: #fff;
  border: 1px solid #006ce4;
  color: #006ce4;
  font-weight: 600;
}
.map-close-btn .map-close-x {
  margin-left: 6px;
  font-size: 14px;
}
.map-info-card {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
}
.map-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.map-info-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
  flex: 0 0 120px;
  display: block;
  background: #f2f2f2;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.map-info-img.is-error {
  object-fit: contain;
}
.map-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.map-info-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
}
.map-info-stars {
  margin-top: 2px;
  color: #f59e0b;
  font-size: 13px;
}
.map-info-address {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}
.map-info-price {
  margin-top: 6px;
  font-size: 13px;
  color: #333;
}
.map-price-pin {
  background: #fff;
  color: #2d74f5;
  padding: 4px;
  border-radius: 12px;
  border: 2px solid #2d74f5;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out,
    background-color 120ms ease-out, color 120ms ease-out,
    border-color 120ms ease-out;
}
.map-pin-icon {
  width: 24px;
  height: 24px;
}
.map-price-pin.is-hover {
  background: #2d74f5;
  color: #fff;
  border-color: #2d74f5;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: translateZ(0) scale(1.06);
  font-weight: 600;
}
.map-price-pin.bounce {
  animation: price-jump 0.9s ease-in-out infinite;
}
@keyframes price-jump {
  0% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-6px) scale(1.03);
  }
  50% {
    transform: translateY(0) scale(1);
  }
  75% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
#map .gm-ui-hover-effect,
#map button[aria-label="Close"],
.gm-style .gm-ui-hover-effect,
.gm-ui-hover-effect[aria-label="Close"] {
  display: none !important;
}
.gm-style .gm-style-iw-c {
  padding-right: 0 !important;
}

/* Prevent Google Maps tiles from being scaled by global image rules (causes blur) */
.gm-style img {
  max-width: none !important;
  image-rendering: auto;
}

/* Mobile-only header container should be hidden by default (desktop) */
.mobile-viewmap-content {
  display: none !important;
  padding: 0;
  margin: 0;
}
