.details-siderbar2.property-specs {
  margin-bottom: 25px;
  font-family: var(--ztc-family-font1) !important;
}

.property-specs .price-title {
  color: var(--ztc-text-text-2) !important;
  font-weight: var(--ztc-weight-semibold);
  font-size: var(--ztc-font-size-font-s28);
  display: block;
  margin-bottom: 5px;
}

.property-specs .location-path {
  font-size: var(--ztc-font-size-font-s14);
  color: var(--ztc-text-text-3);
  margin-bottom: 15px;
  display: block;
  font-weight: var(--ztc-weight-medium);
}

.property-specs .location-path a {
  color: var(--ztc-text-text-3);
  text-decoration: none;
  transition: all 0.4s;
}

.property-specs .location-path a:hover {
  color: var(--ztc-text-text-2);
}

.property-specs .specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(13, 15, 24, 0.1);
}

.property-specs .specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(13, 15, 24, 0.2);
  font-size: var(--ztc-font-size-font-s14);
  line-height: normal;
}

.property-specs .specs-list li .label {
  font-weight: var(--ztc-weight-semibold);
  color: var(--ztc-text-text-2);
}

.property-specs .specs-list li .value {
  color: var(--ztc-text-text-3);
  text-align: right;
  font-weight: var(--ztc-weight-medium);
}

.property-specs .specs-list li .value.red {
  color: #ff3b3b !important;
  font-weight: var(--ztc-weight-bold);
}

.property-specs .report-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-size: var(--ztc-font-size-font-s12);
  color: var(--ztc-text-text-3);
  text-decoration: none;
  transition: all 0.4s;
}

.property-specs .report-link:hover {
  color: var(--ztc-text-text-2);
}

.property-specs .report-link i {
  margin-right: 5px;
}

/* Nice Select Dropdown Height Limitation */
.nice-select .list {
  max-height: 250px !important;
  overflow-y: auto !important;
}

/* Custom design for Scrollbar in Dropdowns */
.nice-select .list::-webkit-scrollbar {
  width: 6px;
}

.nice-select .list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.nice-select .list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.nice-select .list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Listing Header & View Toggles Design */
.listing-header-bar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 15px 0;
  border-bottom: 2px solid #f0f2f5;
}

.listing-title h3 {
  font-family: var(--ztc-family-font1);
  color: var(--ztc-text-text-2);
  font-weight: 700;
  font-size: 24px;
}

.listing-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.view-switches #pills-tab {
  background: #f4f6f9;
  padding: 4px;
  border-radius: 12px;
  display: flex !important;
  border: none;
}

.view-switches .nav-link {
  border: none !important;
  background: transparent !important;
  color: #7d8ea2 !important;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  padding: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-switches .nav-link svg {
  width: 18px;
  height: 18px;
}

.view-switches .nav-link.active {
  background: #ffffff !important;
  color: #1186c4 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.custom-filters {
  display: flex;
  gap: 12px;
}

.custom-filters .nice-select {
  height: 46px;
  line-height: 44px;
  padding-left: 15px;
  padding-right: 35px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
}

.custom-filters .nice-select:after {
  right: 15px;
}

/* Mobile Responsive Fixes */
@media (max-width: 991px) {
  .listing-header-bar {
    flex-direction: column;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 15px !important;
    gap: 8px;
  }

  .listing-controls {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .listing-title h3 {
    font-size: 19px;
    margin-bottom: 0;
  }

  .view-switches {
    display: none !important;
  }

  .view-switches #pills-tab {
    padding: 3px;
    border-radius: 10px;
  }

  .view-switches .nav-link {
    width: 36px;
    height: 36px;
    border-radius: 8px !important;
  }

  .custom-filters {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 1 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
    list-style: none !important;
  }

  .custom-filters .filter-group {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
  }

  .custom-filters .filter-group:last-child {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  .custom-filters .nice-select {
    height: 36px;
    line-height: 34px;
    padding-left: 10px;
    padding-right: 25px;
    font-size: 13px;
    border-radius: 10px;
    min-width: 100px;
    margin-right: 0 !important;
  }

  .custom-filters .nice-select:after {
    right: 10px;
  }

  .custom-filters .filter-group:last-child .nice-select .list {
    left: auto;
    right: 0;
  }

  /* Reduce space helper on mobile */
  .others-section-area .space80 {
    height: 25px !important;
  }
}

@media (max-width: 480px) {
  .listing-controls {
    gap: 5px;
  }

  .custom-filters {
    gap: 5px;
  }

  .listing-title h3 {
    font-size: 17px;
  }

  .custom-filters .nice-select {
    min-width: 90px;
    font-size: 12px;
  }
}

/* WordPress Content Spacing Fix */
.post-content p {
  margin-bottom: 20px !important;
  line-height: 1.7;
  color: var(--ztc-text-text-3);
}

.post-content p:last-child {
  margin-bottom: 0 !important;
}

.post-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content ul li {
  list-style: disc;
  margin-bottom: 10px;
}