.primeloft-map-module {
  --pl-accent: #e6d8c9;
  --pl-accent-strong: #d8c2ab;
  --pl-text: #111111;
  --pl-text-soft: rgba(17, 17, 17, 0.62);
  --pl-surface: #ffffff;
  --pl-line: rgba(17, 17, 17, 0.08);
  --pl-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --pl-shadow-soft: 0 12px 30px rgba(17, 17, 17, 0.06);
  color: var(--pl-text);
  margin: 0 auto;
  max-width: 1440px;
}

.primeloft-map-heading {
  color: var(--pl-text);
  font-family: "Marcellus", serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 36px;
}

.primeloft-map-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 430px);
}

.primeloft-map-stage {
  background: #ffffff;
  border-radius: 28px;
  padding: 20px;
  position: relative;
}

.primeloft-map-image {
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.04));
  height: auto;
  width: 100%;
}

.primeloft-map-pin {
  background: var(--pl-map-pin-url) center center / contain no-repeat;
  border: 0;
  cursor: pointer;
  height: 46px;
  opacity: 0.92;
  padding: 0;
  position: absolute;
  transform: translate(-50%, -100%);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
  width: 34px;
  z-index: 3;
}

.primeloft-map-pin:hover,
.primeloft-map-pin.is-active {
  filter: drop-shadow(0 10px 22px rgba(17, 17, 17, 0.2));
  opacity: 1;
  transform: translate(-50%, -100%) scale(1.1);
}

.primeloft-map-label {
  backdrop-filter: blur(6px);
  background: #f7f3ed;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 999px;
  box-shadow: var(--pl-shadow-soft);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 9px 14px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, calc(-100% - 20px));
  white-space: nowrap;
  z-index: 10;
}

.primeloft-card {
  background: var(--pl-surface);
  border: 1px solid var(--pl-line);
  border-radius: 24px;
  box-shadow: var(--pl-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primeloft-card:hover {
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.1);
  transform: translateY(-2px);
}

.primeloft-card-image {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.primeloft-card-body {
  padding: 26px 26px 24px;
}

.primeloft-card-location {
  color: var(--pl-text-soft);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.primeloft-card-title {
  color: var(--pl-text);
  font-family: "Marcellus", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.16;
  margin: 0 0 14px;
}

.primeloft-card-text {
  color: var(--pl-text-soft);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.primeloft-card-button {
  align-items: center;
  background: var(--pl-accent);
  border: 1px solid var(--pl-accent);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(230, 216, 201, 0.45);
  color: var(--pl-text);
  display: inline-flex;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 54px;
  padding: 14px 22px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.primeloft-card-button:hover {
  background: var(--pl-accent-strong);
  border-color: var(--pl-accent-strong);
  box-shadow: 0 14px 28px rgba(216, 194, 171, 0.35);
  color: var(--pl-text);
  transform: translateY(-2px);
}

.primeloft-card-list {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  margin-top: 28px;
  padding-top: 18px;
}

.primeloft-card-list-title {
  color: var(--pl-text-soft);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.primeloft-card-apartments {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primeloft-card-apartments li {
  margin: 0 0 12px;
}

.primeloft-card-apartments a {
  color: var(--pl-text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.primeloft-card-apartments a:hover {
  color: #000000;
  opacity: 0.8;
}

@media (max-width: 980px) {
  .primeloft-map-heading {
    font-size: 38px;
    margin-bottom: 24px;
  }

  .primeloft-map-layout {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .primeloft-map-stage {
    border-radius: 22px;
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .primeloft-map-heading {
    font-size: 30px;
  }

  .primeloft-map-pin {
    height: 40px;
    width: 30px;
  }

  .primeloft-card-title {
    font-size: 26px;
  }

  .primeloft-card-body {
    padding: 20px;
  }

  .primeloft-card-text {
    font-size: 16px;
  }

  .primeloft-card-button {
    width: 100%;
  }
}
