body.swh-has-idx .elementor-element-1154ee12 {
  top: auto !important;
  bottom: 12px !important;
  z-index: 20;
}

.swh-idx {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  width: 100%;
  height: 640px;
  border: 1px solid #d8d2c8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  font-family: inherit;
  color: #2b2b2b;
}

.swh-idx-list {
  overflow-y: auto;
  background: #faf8f4;
  border-right: 1px solid #d8d2c8;
}

.swh-idx-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #e6e0d6;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5b554c;
}

.swh-idx-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e6e0d6;
  cursor: pointer;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.swh-idx-card:hover,
.swh-idx-card.is-active {
  background: #f3eee6;
}

.swh-idx-card img {
  width: 118px;
  height: 86px;
  object-fit: cover;
  border-radius: 6px;
  background: #ddd6cb;
}

.swh-idx-ph {
  width: 118px;
  height: 86px;
  border-radius: 6px;
  background: #ddd6cb;
}

.swh-idx-price {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

.swh-idx-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #6a6762;
}

.swh-idx-addr {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.swh-idx-office {
  margin-top: 4px;
  font-size: 11px;
  color: #8a847a;
}

.swh-idx-map {
  min-height: 280px;
  background: #e8e4dc;
}

.swh-idx-empty,
.swh-idx-error {
  padding: 24px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #5b554c;
}

.swh-idx-pin {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #1e3a5f;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.swh-idx-pin.is-active {
  background: #b0893e;
  width: 22px;
  height: 22px;
}

.swh-idx-popup {
  font-size: 13px;
  line-height: 1.35;
  min-width: 160px;
}

.swh-idx-popup strong {
  display: block;
  margin-bottom: 4px;
}

.swh-idx-popup a {
  color: #1e3a5f;
}

@media (max-width: 800px) {
  .swh-idx {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 1fr;
    height: 720px;
  }
  .swh-idx-list {
    border-right: 0;
    border-top: 1px solid #d8d2c8;
  }
}

body.swh-doc-open {
  overflow: hidden;
}

.swh-doc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.swh-doc-modal[hidden] {
  display: none !important;
}

.swh-doc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.55);
}

.swh-doc-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.swh-doc-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #5b554c;
}

.swh-doc-title {
  margin: 0 32px 8px 0;
  font-size: 22px;
  line-height: 1.25;
}

.swh-doc-lede {
  margin: 0 0 16px;
  color: #6a6762;
  font-size: 14px;
}

