/* K&M Invest – popup ceny mieszkania (Budynek 1 i Budynek 2). */
body.km-building-page .km-catalog .km-price-trigger {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color .2s ease;
}
body.km-building-page .km-catalog .km-price-trigger:hover {
  background-color: #8f783f;
}
body.km-building-page .km-catalog .km-price-trigger:focus-visible {
  outline: 2px solid #181818;
  outline-offset: 3px;
}
body.km-building-page .km-price-dialog:not([open]) { display: none; }
body.km-building-page .km-price-dialog[open] {
  box-sizing: border-box;
  display: block;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #151515;
  box-shadow: 0 20px 65px rgba(0,0,0,.22);
  overflow: auto;
}
body.km-building-page .km-price-dialog::backdrop { background: rgba(0,0,0,.54); }
body.km-building-page .km-price-dialog__inner {
  position: relative;
  padding: 44px 40px 42px;
  text-align: center;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, Arial, sans-serif;
}
body.km-building-page .km-price-dialog__close {
  position: absolute;
  right: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f8f5f1;
  color: #333;
  font: 400 25px/1 Arial, sans-serif;
  cursor: pointer;
}
body.km-building-page .km-price-dialog__close:hover { background: #ece5d9; }
body.km-building-page .km-price-dialog__close:focus-visible {
  outline: 2px solid #a38b4b;
  outline-offset: 2px;
}
body.km-building-page .km-price-dialog__eyebrow {
  margin: 0 0 14px;
  color: #927a42;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
body.km-building-page .km-price-dialog h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}
body.km-building-page .km-price-dialog__number {
  margin: 0 0 24px;
  color: #555;
  font-size: 15px;
}
body.km-building-page .km-price-dialog__value {
  margin: 0;
  color: #a38b4b;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.3;
}
body.km-building-page .km-price-dialog__per-m2 {
  margin: 12px 0 0;
  font-size: 14px;
  color: #555;
}
body.km-building-page .km-price-dialog__per-m2[hidden] { display: none; }
@media (max-width: 700px) {
  body.km-building-page .km-price-dialog__inner { padding: 44px 24px 34px; }
}
