﻿.property-map-page {
  background: #f2f8f7;
  color: #123c3a;
  min-height: 720px;
  padding: 24px;
}
.property-map-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 18px;
  max-width: 1600px;
}
.property-map-heading h1 {
  color: #123c3a;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 4px 0 7px;
}
.property-map-heading p {
  color: #536a69;
  font-size: 15px;
  margin: 0;
}
.property-map-eyebrow {
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.property-map-eyebrow i {
  margin-right: 5px;
}
.property-map-shell {
  background: #ffffff;
  border: 1px solid #d9e5e3;
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(15, 61, 58, 0.12);
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  height: calc(100vh - 210px);
  margin: 0 auto;
  max-width: 1600px;
  min-height: 620px;
  overflow: hidden;
}
.property-map-filters {
  background: #ffffff;
  border-right: 1px solid #d9e5e3;
  overflow-y: auto;
  padding: 22px;
  position: relative;
  z-index: 2;
}
.property-map-filter-title {
  align-items: flex-start;
  border-bottom: 1px solid #d9e5e3;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
}
.property-map-filter-title span {
  display: block;
  font-size: 18px;
  font-weight: 800;
}
.property-map-filter-title small {
  color: #536a69;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.property-map-filter-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #123c3a;
  cursor: pointer;
  display: none;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.property-map-filter-close:hover,
.property-map-filter-close:focus {
  background: #f2f8f7;
}
.property-map-field {
  margin-bottom: 15px;
}
.property-map-field label {
  color: #123c3a;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.property-map-field .form-control {
  border-color: #c9d8d5;
  border-radius: 9px;
  color: #123c3a;
  cursor: pointer;
  font-size: 14px;
  height: 42px;
}
.property-map-field .form-control:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.property-map-range {
  border: 0;
  border-top: 1px solid #d9e5e3;
  margin: 20px 0 0;
  padding: 16px 0 0;
}
.property-map-range legend {
  color: #123c3a;
  float: none;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  width: auto;
}
.property-map-range label {
  color: #536a69;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.property-map-range .form-control {
  border-color: #c9d8d5;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  height: 40px;
}
.property-map-range-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.property-map-filter-actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}
.property-map-apply,
.property-map-reset {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.property-map-apply {
  background: #0f766e;
  border: 1px solid #0f766e;
  color: #fff;
}
.property-map-apply:hover,
.property-map-apply:focus {
  background: #115e59;
  border-color: #115e59;
  color: #fff;
}
.property-map-reset {
  background: #fff;
  border: 1px solid #d9e5e3;
  color: #115e59;
}
.property-map-reset:hover,
.property-map-reset:focus {
  background: #f2f8f7;
  border-color: #b8cfcb;
  color: #115e59;
}
.property-map-stage {
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.property-map-summary {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9e5e3;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 61, 58, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  left: 18px;
  max-width: calc(100% - 90px);
  padding: 10px 13px;
  position: absolute;
  top: 18px;
  z-index: 700;
}
.property-map-summary strong {
  color: #123c3a;
  font-size: 14px;
}
.property-map-summary span {
  color: #536a69;
  font-size: 12px;
}
.property-map-summary .property-map-limit {
  border-left: 1px solid #d9e5e3;
  color: #9a5a10;
  margin-left: 4px;
  padding-left: 10px;
}
.property-map-canvas {
  background: #dfeae8;
  height: 100%;
  min-height: 620px;
  width: 100%;
}
.property-map-message {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9e5e3;
  border-radius: 14px;
  bottom: 22px;
  box-shadow: 0 10px 30px rgba(15, 61, 58, 0.16);
  display: none;
  flex-direction: column;
  left: 50%;
  max-width: 360px;
  padding: 18px 22px;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  z-index: 700;
}
.property-map-message[data-visible="true"] {
  display: flex;
}
.property-map-message i {
  color: #0f766e;
  font-size: 22px;
  margin-bottom: 6px;
}
.property-map-message strong {
  color: #123c3a;
  font-size: 14px;
}
.property-map-message span {
  color: #536a69;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}
.property-map-card {
  background: #fff;
  border: 1px solid #d9e5e3;
  border-radius: 16px;
  bottom: 22px;
  box-shadow: 0 18px 45px rgba(8, 47, 44, 0.24);
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  left: 22px;
  max-width: calc(100% - 44px);
  overflow: hidden;
  position: absolute;
  width: 520px;
  z-index: 750;
}
.property-map-card[hidden] {
  display: none;
}
.property-map-card-close {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e5e3;
  border-radius: 50%;
  color: #123c3a;
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  transition: background-color 180ms ease;
  width: 34px;
  z-index: 2;
}
.property-map-card-close:hover,
.property-map-card-close:focus {
  background: #f2f8f7;
}
.property-map-card-image {
  background: #dfeae8;
  display: block;
  min-height: 100%;
}
.property-map-card-image img {
  display: block;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  width: 100%;
}
.property-map-card-body {
  min-width: 0;
  padding: 15px 48px 14px 16px;
}
.property-map-card-labels {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}
.property-map-card-category {
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.property-map-card-approximate {
  background: #fff7e6;
  border: 1px solid #f4cf8b;
  border-radius: 999px;
  color: #8a4b08;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
}
.property-map-card-approximate[hidden] {
  display: none;
}
.property-map-card-title {
  color: #123c3a;
  display: block;
  text-decoration: none;
}
.property-map-card-title h2 {
  color: inherit;
  display: -webkit-box;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.property-map-card-title:hover,
.property-map-card-title:focus {
  color: #0f766e;
  text-decoration: none;
}
.property-map-card-location {
  color: #536a69;
  font-size: 12px;
  line-height: 1.4;
  margin: 6px 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.property-map-card-facts {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.property-map-card-facts strong {
  color: #b45309;
  font-size: 15px;
}
.property-map-card-facts span {
  color: #536a69;
  font-size: 11px;
}
.property-map-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}
.property-map-quick-action,
.property-map-detail-action {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.property-map-quick-action[hidden],
.property-map-detail-action[hidden] {
  display: none;
}
.property-map-quick-action {
  background: #fff;
  border: 1px solid #d9e5e3;
  color: #115e59;
}
.property-map-quick-action:hover,
.property-map-quick-action:focus {
  background: #f2f8f7;
  border-color: #a9c7c2;
  color: #115e59;
  text-decoration: none;
}
.property-map-call {
  background: #e8f8f4;
  border-color: #b6e4da;
}
.property-map-zalo {
  color: #0068ff;
}
.property-map-zalo-icon {
  align-items: center;
  background: #0068ff;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  height: 17px;
  justify-content: center;
  width: 17px;
}
.property-map-detail-action {
  background: #0369a1;
  border: 1px solid #0369a1;
  color: #fff;
}
.property-map-detail-action:hover,
.property-map-detail-action:focus {
  background: #075985;
  border-color: #075985;
  color: #fff;
  text-decoration: none;
}
.property-map-filter-toggle {
  align-items: center;
  background: #0f766e;
  border: 1px solid #0f766e;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
}
.property-map-filter-overlay {
  display: none;
}
.property-map-marker {
  background: transparent;
  border: 0;
}
.property-map-marker span {
  align-items: center;
  background: #fff;
  border: 2px solid #0f766e;
  border-radius: 18px 18px 18px 3px;
  box-shadow: 0 5px 13px rgba(8, 47, 44, 0.22);
  color: #115e59;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  max-width: 88px;
  min-width: 64px;
  padding: 0 8px;
  transform: rotate(-2deg);
  transition: background-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.property-map-marker:hover span,
.property-map-marker:focus span,
.property-map-marker.is-active span {
  background: #0f766e;
  color: #fff;
}
.property-map-stage .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 6px 18px rgba(8, 47, 44, 0.18);
}
.property-map-stage .leaflet-control-zoom a {
  color: #115e59;
}
.property-map-stage .leaflet-control-attribution {
  font-size: 10px;
}
.property-map-apply:focus,
.property-map-reset:focus,
.property-map-filter-toggle:focus,
.property-map-filter-close:focus,
.property-map-card-close:focus,
.property-map-quick-action:focus,
.property-map-detail-action:focus,
.property-map-card-title:focus,
.property-map-card-image:focus {
  outline: 3px solid rgba(3, 105, 161, 0.28);
  outline-offset: 2px;
}
@media (max-width: 991.98px) {
  .property-map-page {
    padding: 16px;
  }
  .property-map-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .property-map-filters {
    padding: 18px;
  }
  .property-map-card {
    grid-template-columns: 120px minmax(0, 1fr);
    width: 460px;
  }
}
@media (max-width: 767.98px) {
  .property-map-page {
    min-height: 0;
    padding: 12px 10px 18px;
  }
  .property-map-heading {
    align-items: center;
    margin-bottom: 12px;
  }
  .property-map-heading h1 {
    font-size: 23px;
    margin-top: 2px;
  }
  .property-map-heading p {
    display: none;
  }
  .property-map-eyebrow {
    font-size: 10px;
  }
  .property-map-filter-toggle {
    display: inline-flex;
  }
  .property-map-shell {
    display: block;
    height: 72vh;
    min-height: 520px;
    overflow: hidden;
  }
  .property-map-filters {
    border: 0;
    border-radius: 16px;
    bottom: 12px;
    box-shadow: 0 18px 55px rgba(8, 47, 44, 0.3);
    left: 12px;
    max-width: 360px;
    position: fixed;
    right: 12px;
    top: 76px;
    transform: translateX(-115%);
    transition: transform 220ms ease;
    width: auto;
    z-index: 1300;
  }
  .property-map-filters.is-open {
    transform: translateX(0);
  }
  .property-map-filter-close {
    display: inline-flex;
  }
  .property-map-filter-overlay {
    background: rgba(7, 39, 37, 0.55);
    border: 0;
    bottom: 0;
    cursor: pointer;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1250;
  }
  .property-map-filter-open {
    overflow: hidden;
  }
  .property-map-filter-open .property-map-filter-overlay {
    display: block;
  }
  .property-map-stage,
  .property-map-canvas {
    height: 100%;
    min-height: 520px;
  }
  .property-map-summary {
    left: 10px;
    max-width: calc(100% - 70px);
    padding: 8px 10px;
    top: 10px;
  }
  .property-map-summary .property-map-limit {
    border-left: 0;
    display: block;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
  }
  .property-map-message {
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 14px 18px;
    width: 330px;
  }
  .property-map-card {
    bottom: 10px;
    grid-template-columns: 108px minmax(0, 1fr);
    left: 10px;
    max-height: 270px;
    max-width: calc(100% - 20px);
    right: 10px;
    width: auto;
  }
  .property-map-card-image img {
    min-height: 100%;
  }
  .property-map-card-body {
    padding: 12px 42px 12px 12px;
  }
  .property-map-card-title h2 {
    font-size: 14px;
  }
  .property-map-card-location {
    margin: 4px 0 6px;
  }
  .property-map-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .property-map-quick-action,
  .property-map-detail-action {
    padding: 6px 7px;
  }
  .property-map-detail-action {
    grid-column: span 2;
  }
}
@media (max-width: 430px) {
  .property-map-card {
    display: block;
  }
  .property-map-card-image {
    display: none;
  }
  .property-map-card-body {
    padding-left: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .property-map-filters,
  .property-map-marker span,
  .property-map-apply,
  .property-map-reset,
  .property-map-quick-action,
  .property-map-detail-action {
    transition: none;
  }
}