/* Landing map — zoom controls + property preview card */

.pd-map-wrap {
  position: relative;
  height: 100%;
  width: 100%;
}

.pd-map-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-map-zoom__btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: var(--pd-brand-teal, #1e5f7a);
  box-shadow: 0 2px 8px rgba(26, 43, 60, 0.15);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.pd-map-zoom__btn:hover {
  background: #f4f7f9;
}

.pd-map-info {
  font-family: inherit;
  max-width: 280px;
  overflow: hidden;
}

.pd-map-info__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  height: 108px;
  overflow: hidden;
  background: #eef2f6;
  text-decoration: none;
}

.pd-map-info__gallery:has(.pd-map-info__thumb:only-child) {
  grid-template-columns: 1fr;
}

.pd-map-info__thumb {
  height: 108px;
  overflow: hidden;
  background: #dde4ea;
}

.pd-map-info__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.pd-map-info__gallery:hover .pd-map-info__thumb img {
  transform: scale(1.03);
}

.pd-map-info__body {
  padding: 0.65rem 0.7rem 0.75rem;
}

.pd-map-info__title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2b3c;
  line-height: 1.25;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-map-info__pid {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  color: #5c6b7a;
}

.pd-map-info__pid strong {
  color: #1a2b3c;
}

.pd-map-info__meta {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.pd-map-info__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.1;
  color: #164a61;
  background: #e8f2f7;
  border: 1px solid #cfe0ea;
}

.pd-map-info__loc {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  color: #5c6b7a;
}

.pd-map-info__loc i {
  margin-right: 0.2rem;
  color: var(--pd-brand-orange, #eb8944);
}

.pd-map-info__price {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pd-brand-teal, #1e5f7a);
}

.pd-map-info__btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    var(--pd-brand-orange, #eb8944) 0%,
    #e07a38 100%
  );
}

.pd-map-info__btn:hover {
  color: #fff;
  opacity: 0.95;
}

.pd-map-info__btn--disabled {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 480px) {
  .pd-map-info {
    max-width: 240px;
  }

  .pd-map-info__gallery,
  .pd-map-info__thumb {
    height: 92px;
  }
}

.gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(26, 43, 60, 0.18) !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
}

.gm-style .gm-style-iw-chr {
  display: none !important;
}

.pd-map-error {
  max-width: 320px;
}

.pd-map-error h6 {
  color: #1a2b3c;
}
