a {
  text-decoration: none !important;
}

.post-11936 {
  max-width: 1400px !important;
}

.zodak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.zodak-card {
  display: flex;
  flex-direction: column;
}

.zodak-image {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

.zodak-image img {
  width: 100%;
  height: 320px !important;
  object-fit: cover;
  display: block;
}

.zodak-type {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #5f6c73;
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
}

.zodak-year {
  position: absolute;
  top: 60px;
  right: 20px;
  background: #5f6c73;
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
}

.zodak-content {
  padding-top: 20px;
}

.zodak-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 5px;
}

.zoddak-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px; /* под 2 строки */
}

.zodak-title a {
  text-decoration: none;
  color: #000;
}

.zodak-ref {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.zodak-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}

.zodak-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zodak-price {
  font-size: 20px;
  font-weight: 500;
}

.zodak-btn {
  background: var(--main-color);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .zodak-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */

.zodak-pagination {
  margin-top: 40px;
  text-align: center;
}

.zodak-pagination button {
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ddd !important;
  background: #fff !important;
  cursor: pointer;
  color: #000 !important;
}

.zodak-pagination button:hover {
  background: #000 !important;
  color: #fff !important;
}

.zodak-pagination button.active {
  background: #000 !important;
  color: #fff !important;
}

.zodak-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

.zodak-card:hover {
  transform: translateY(-5px);
}

.zodak-ref {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.main_details {
  width: 392px !important;
  position: absolute;
  top: 0px;
}

/* MAP */

.map-main {
  display: none;
}

.map-main.active {
  display: block;
}

.zodak-list-hidden {
  display: none !important;
}

.zf-map-btn.active {
  background: var(--main-color-hover);
  color: #fff;
  border-color: var(--main-color-hover);
}
/* /MAP */

/* Filter */

.zodak-filter {
  /* background: #e9e9e9; */
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 25px 40px;
}

.zf-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Bedrooms */
.zf-bedrooms {
  display: flex;
  gap: 12px;
}

.zf-bed {
  width: 64px;
  height: 64px;
  border-radius: 33px !important;
  border: 2px solid #000 !important;
  background-color: transparent !important;
  color: #000 !important;
  font-size: 18px;
  cursor: pointer;
}

.zf-bed.bd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.zf-bed span {
  font-size: 11px;
}

.zf-bed.active {
  background-color: #000 !important;
  color: #fff !important;
}

/* zf-filters-col */

.zf-filters-right {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

/* /zf-filters-col */

/* Ref */
.zf-ref {
  width: 90px;
}

.zf-ref input {
  width: 100%;
  height: 45px;
  border-radius: 36px !important;
  border: 2px solid #000000 !important;
}

/* Price */
.zf-price {
  width: 380px;
}

.zf-price-display {
  height: 45px;
  border: 2px solid #111;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 25px;
  margin-bottom: 15px;
}

.zf-price-display input {
  border: none !important;
  outline: none !important;
  width: 120px;
  font-size: 18px;
  background: transparent;
}

/* ======================
   MOBILE FILTER LOGIC
====================== */

/* Верхняя панель */
.zf-top-bar {
  display: none;
  align-items: center;
  gap: 12px;
}

/* Кнопка */
.zf-toggle-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 40px;
  border: 2px solid #000;
  background: #fff;
  cursor: pointer;
}

/* Состояние активной кнопки */
.zf-toggle-btn.active {
  background: var(--main-color-hover);
  color: #fff;
  border-color: var(--main-color-hover);
}

.zf-tool-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.zf-map-btn.mobile {
  display: none;
}

.zf-map-btn.desktop {
  display: block;
}

/* Планшет и мобилка */
@media (max-width: 1024px) {
  .zf-top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
  }

  /* Фильтр скрыт по умолчанию */
  .zodak-filter {
    display: none;
    padding: 20px 0 0 0;
  }

  /* Когда открыт */
  .zodak-filter.active {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .zf-filters-right {
    flex-direction: column;
    align-items: stretch;
  }

  .zf-price {
    width: 100%;
  }

  .zf-map-btn.mobile {
    display: block;
  }

  .zf-map-btn.desktop {
    display: none;
  }
}

/* .zf-divider {
  width: 1px;
  height: 28px;
  background: #111;
} */

/* ===== SLIDER ===== */

.zf-slider {
  position: relative;
  height: 30px;
}

.zf-slider input[type="range"] {
  position: absolute;
  width: 100%;
  pointer-events: none;
  appearance: none;
  background: none;
  top: 0;
  height: 30px;
}

.zf-slider input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #ddd;
  border: 2px solid #111;
  border-radius: 6px;
  cursor: pointer;
}

.zf-slider-track {
  position: absolute;
  height: 4px;
  background: #ddd;
  width: 100%;
  top: 13px;
  border-radius: 4px;
}

.zf-slider-track {
  /* background: var(--main-color) !important; */
}

.zf-slider-track.active {
  background: var(--main-color);
}

/* Selects */
.zf-select {
  width: 170px;
  height: 45px;
  border-radius: 40px;
  font-size: 14px;
  border: 2px solid #111;
  padding: 0 25px;
  min-width: 120px;

  cursor: pointer;
}

/* Exclusive */
.zf-exclusive {
  height: 45px;
  padding: 0 30px;
  border-radius: 18px;
  border: none;
  background: var(--main-color);
  color: #fff;
}

/* Apply */
.zf-apply {
  height: 45px;
  padding: 0 35px;
  border-radius: 18px;
  border: none;
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
}

.zf-reset {
  height: 45px;
  padding: 0 35px;
  border-radius: 18px;
  border: none;
  background: #000000;
  color: #fff;
  font-weight: 600;
}

/* Sort */
.zf-sort {
  width: 150px;
  margin-left: auto;
  height: 64px;
  background: transparent;
  border: none;
  outline: none !important;
}

/* /Filter */

.zodak-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.marker-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* ===== LATEST SLIDER ===== */

.zoddak-latest-wrapper {
  padding: 60px 0;
}

.zoddak-card {
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
}

.zoddak-card-image img {
  width: 100%;
  height: 260px !important;
  object-fit: cover;
  display: block;
}

.zoddak-card-content {
  padding: 20px;
}

.zoddak-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.zoddak-card-ref {
  font-size: 14px;
  margin-bottom: 6px;
}

.zoddak-card-location {
  font-size: 14px;
  margin-bottom: 15px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zoddak-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zoddak-card-price {
  font-weight: 600;
}

.swiper-button-prev,
.swiper-button-next {
  color: #000;
}

.zodak-single-marker {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;

  border: 4px solid #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.zodak-single-marker:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.zoddak-card-title:empty,
.zoddak-card-title {
  display: none;
}

/* Zoddak single: липкая колонка с деталями на десктопе */
.prop_det .main_details_col {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

@media only screen and (max-width: 1024px) {
  .prop_det .main_details_col {
    position: static;
  }
}
