/* Zentro Homes - Consolidated Apartments Styles */

/* ===== CLICKABLE PROPERTY CARDS ===== */
.property-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.property-card:active {
  transform: translateY(-2px);
}

/* ===== LOADING STATE ===== */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #666;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-state p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

/* ===== SEARCH AND FILTERS ===== */

/* Modern Search and Filters Section */
.apartments-search-filters {
  background: #ffffff;
  padding: 0;
  border-top: 1px solid #e6e6e6;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-filters-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: #ffffff;
  border-radius: 0;
  padding: 32px 24px;
}

/* Modern Search Bar */
.search-bar {
  margin-bottom: 32px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  max-width: 100%;
  margin: 0;
  transition: transform 0.3s ease;
}

.search-input {
  width: 100%;
  padding: 18px 24px 18px 52px;
  border: 2px solid #e6e6e6;
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #2c2c2c;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 500;
}

.search-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.search-input::placeholder {
  color: #999;
  font-style: normal;
  font-weight: 400;
}

.search-btn {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.search-btn:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Modern Filters Row */
.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select {
  padding: 12px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #2c2c2c;
  outline: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-select:hover {
  border-color: #d4af37;
}

.clear-filters-btn {
  padding: 12px 24px;
  background: #d4af37;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  line-height: 18px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: end;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.clear-filters-btn:hover {
  background: #b8941f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Modern Results Info */
.results-info {
  text-align: left;
  color: #666;
  font-size: 14px;
  line-height: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 24px;
}

/* Enhanced Unified Search Bar */
.enhanced-search-bar {
  margin-bottom: 40px;
}

.unified-search-bar {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  overflow: visible;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(224, 224, 224, 0.3);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.unified-search-item {
  position: relative;
  text-align: center;
  flex: 1;
  border-right: 1px solid #e0e0e0;
  padding: 10px 0;
}

.unified-search-item:last-child {
  border-right: none;
}

.unified-search-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  padding: 0;
  margin-bottom: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.unified-search-select {
  text-align: center;
  font-weight: 500;
  padding: 8px 16px;
  background-image: none;
  transition: all 0.3s ease;
  width: 100%;
  border: none;
  background: transparent;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.unified-search-select:focus {
  outline: none;
}

/* Dropdown Animation */
.unified-search-item .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 100;
  margin-top: 8px;
  border: 1px solid rgba(224, 224, 224, 0.3);
}

.unified-search-item:hover .dropdown-content {
  max-height: 300px;
  opacity: 1;
}

.unified-search-select:focus + .dropdown-content,
.unified-search-select:active + .dropdown-content {
  max-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

.dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: left;
}

.dropdown-option:hover {
  background: #f8f8f8;
  transform: translateX(5px);
}

.unified-search-button {
  background: #f8d35e;
  color: #333;
  font-weight: 600;
  border: none;
  padding: 0 32px;
  height: 100%;
  min-height: 64px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 0 50px 50px 0;
}

.unified-search-button:hover {
  background: #f0c43e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(248, 211, 94, 0.4);
}

/* Zillow-style Property Search */
.property-search-container {
  max-width: 1000px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 100;
}

.property-search-tabs {
  display: flex;
  margin-bottom: 0;
}

.property-search-tab {
  padding: 12px 24px;
  background: #f0f0f0;
  border: none;
  border-radius: 8px 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.property-search-tab.active {
  background: #2196F3;
  color: white;
}

.property-search-tab:first-child {
  margin-right: 4px;
}

.property-search-bar {
  display: flex;
  align-items: stretch;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  overflow: visible;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-right: 1px solid #e0e0e0;
  position: relative;
  cursor: pointer;
}

.search-field:last-child {
  border-right: none;
}

.search-field:hover {
  background-color: rgba(33, 150, 243, 0.05);
}

.search-field-icon {
  color: #757575;
  margin-right: 8px;
  flex-shrink: 0;
}

.search-field-content {
  flex: 1;
  position: relative;
  padding: 16px 0;
}

.search-field-label {
  display: block;
  font-size: 12px;
  color: #757575;
  margin-bottom: 2px;
  font-weight: 500;
}

.search-field-value {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  border: none;
  background: transparent;
  width: 100%;
  padding: 0;
  padding-right: 20px;
}

/* Field arrow */
.field-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #757575;
  transition: transform 0.3s ease;
}

/* Dropdown Menu */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  margin-top: 10px;
  border: 1px solid #e0e0e0;
  pointer-events: none;
  transform: translateY(-10px);
}

/* Show dropdown on hover */
.search-field:hover .search-dropdown {
  max-height: 300px;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  overflow-y: auto;
}

/* Rotate arrow on hover */
.search-field:hover .field-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Active search field state */
.search-field.active {
  background-color: rgba(33, 150, 243, 0.05);
}

/* Make sure .show class works on all devices */
.search-dropdown.show {
  max-height: 300px !important;
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateY(0) !important;
  overflow: visible !important;
  overflow-y: auto !important;
  z-index: 1500 !important;
  display: block !important;
  visibility: visible !important;
  transition: none !important;
}

/* Mobile-specific dropdown improvements */
@media screen and (max-width: 767px) {
  /* Disable hover effects on mobile only */
  .search-field:hover .search-dropdown:not(.show) {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
    overflow: hidden !important;
  }
  
  /* Ensure .show class works on mobile */
  .search-dropdown.show {
    max-height: 250px !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translateY(0) !important;
    overflow-y: auto !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    z-index: 1500 !important;
    display: block !important;
  }
  
  /* Better mobile touch targets */
  .dropdown-item {
    padding: 16px 20px !important;
    font-size: 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }
  
  /* Active search field on mobile */
  .search-field.active {
    background-color: rgba(33, 150, 243, 0.08) !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease !important;
  }
  
  /* Mobile dropdown item interactions */
  .dropdown-item:active {
    background-color: rgba(33, 150, 243, 0.15) !important;
    transform: scale(0.98) !important;
  }
  
  /* Mobile dropdown item selected state */  
  .dropdown-item.selected {
    background-color: rgba(33, 150, 243, 0.1) !important;
    color: #2196F3 !important;
    font-weight: 600 !important;
  }
  
  /* Add visual feedback for field arrow on mobile */
  .search-field.active .field-arrow {
    transform: translateY(-50%) rotate(180deg) !important;
    color: #2196F3 !important;
  }
}

.dropdown-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(33, 150, 243, 0.1);
  padding-left: 20px;
}

.dropdown-item.selected {
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
  font-weight: 600;
}

/* Field updated animation */
.field-updated {
  animation: fieldPulse 0.5s ease;
}

@keyframes fieldPulse {
  0% { background-color: transparent; }
  50% { background-color: rgba(33, 150, 243, 0.1); }
  100% { background-color: transparent; }
}

.search-button {
  width: 60px;
  background: #333;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 0 8px 8px 0;
}

.search-button:hover {
  background: #000;
}

.search-button svg {
  color: white;
  width: 24px;
  height: 24px;
}

/* ===== PROPERTY GRID AND CARDS ===== */

/* Main Apartments Section */
.featured-apartments-section {
  background: #f6f6f1;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.featured-apartments-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 10%, rgba(191, 161, 107, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(191, 161, 107, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Property Grid Layout */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
}

/* Apartments Grid - Legacy */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Modern Property Card */
.property-card {
  position: relative;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Property Card Image */
.property-image-wrapper {
  position: relative;
  padding-top: 66.67%;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease, brightness 0.5s ease;
  filter: brightness(0.98);
}

.property-card:hover .property-image {
  transform: scale(1.05);
  filter: brightness(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Property Tags */
.property-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.property-tag {
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-featured {
  background-color: #4CAF50;
  color: white;
}

.tag-for-sale {
  background-color: #2196F3;
  color: white;
}

.tag-for-rent {
  background-color: #FF9800;
  color: white;
}

/* Property Price */
.property-price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
}

/* Property Content */
.property-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #666;
}

.property-location svg {
  flex-shrink: 0;
  color: #999;
}

/* Property Features */
.property-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.feature-item svg {
  flex-shrink: 0;
  color: #999;
}

/* Property Type */
.property-type {
  margin-top: auto;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Zentro Homes Branding */
.property-branding {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 600;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
}

.property-branding img {
  height: 16px;
  width: auto;
}

/* Expand Button */
.expand-button {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: transform 0.2s ease;
}

.expand-button:hover {
  transform: scale(1.1);
}

/* No Results State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin: 20px auto;
  max-width: 600px;
  width: 100%;
  border: 1px solid rgba(224, 224, 224, 0.3);
}

.no-results h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.no-results p {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
}

.no-results-btn {
  background: #f8d35e;
  color: #333;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(248, 211, 94, 0.3);
}

.no-results-btn:hover {
  background: #f0c43e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(248, 211, 94, 0.4);
}

.no-results-icon {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: #f8d35e;
}

/* Royal Section Title Styling */
.apartments-section-title {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.apartments-section-title .title_category {
  margin-bottom: 20px;
  color: #bfa16b;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.apartments-section-title .title_section {
  color: #2c2c2c;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  position: relative;
}

.apartments-section-title .title_section em {
  color: #bfa16b;
  font-style: italic;
  position: relative;
}

.apartments-section-title .title_section em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #bfa16b 0%, #a08951 100%);
  opacity: 0.6;
}

/* ===== BREADCRUMB NAVIGATION ===== */
.back-navigation {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #171e22 !important;
  text-decoration: none !important;
  font-size: 18px !important;
  line-height: 25px !important;
  font-family: "Karla", serif !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
  padding: 8px 0 !important;
}

.back-link:hover {
  color: #00987a !important;
  transform: translateX(-4px) !important;
}

.back-link svg {
  stroke: currentColor !important;
  transition: transform 0.3s ease !important;
}

.back-link:hover svg {
  transform: translateX(-2px) !important;
}

/* ===== LOAD MORE STYLES ===== */
.load-more-section {
  padding: 48px 0;
  background: #ffffff;
  text-align: center;
}

.load-more-container {
  max-width: 600px;
  margin: 0 auto;
}

.load-more-title {
  font-size: 28px;
  color: #2c2c2c;
  margin-bottom: 12px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.load-more-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.5;
}

.load-more-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #bfa16b;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.load-more-button:hover {
  background: #a08951;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 161, 107, 0.3);
}

/* Results Count */
.results-count {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin: 32px 0 24px 0;
  font-weight: 500;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-results h3 {
  font-size: 24px;
  color: #2c2c2c;
  margin-bottom: 16px;
  font-weight: 600;
}

.no-results p {
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 1200px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .unified-search-bar {
    flex-wrap: wrap;
    border-radius: 16px;
  }

  .unified-search-item {
    flex: 1 0 calc(50% - 1px);
    border-bottom: 1px solid #e0e0e0;
  }

  .unified-search-item:nth-child(even) {
    border-right: none;
  }

  .unified-search-item:nth-last-child(2),
  .unified-search-item:last-child {
    border-bottom: none;
  }

  .unified-search-button {
    flex: 1 0 100%;
    border-top: 1px solid #e0e0e0;
    min-height: 56px;
    border-radius: 0 0 16px 16px;
  }
  
  .featured-apartments-section {
    padding: 80px 0;
  }
  
  .filters-row {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 20px;
  }
  
  /* Property Search Bar Responsive */
  .property-search-bar {
    flex-direction: column;
    border-radius: 8px;
  }
  
  .search-field {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 16px;
  }
  
  .search-field:last-child {
    border-bottom: none;
  }
  
  .search-button {
    width: 100%;
    height: 50px;
    border-radius: 0 0 8px 8px;
  }
}

@media (max-width: 767px) {
  .property-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .apartments-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .unified-search-bar {
    flex-direction: column;
  }

  .unified-search-item {
    flex: 1 0 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .unified-search-button {
    min-height: 48px;
  }
  
  .featured-apartments-section {
    padding: 60px 0;
  }
  
  .filters-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .clear-filters-btn {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 250px;
  }
  
  .apartments-section-title {
    margin-bottom: 48px;
  }
}

@media (max-width: 576px) {
  .unified-search-bar {
    flex-direction: column;
  }

  .unified-search-item {
    flex: 1 0 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .unified-search-button {
    min-height: 48px;
  }
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');