/* Front Properties Section */
.front-properties-section {
  background-color: #f7f3ef;
}

/* Section Header */
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.listings-title {
  font-size: 1.75rem;
  font-weight: bold;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #030040;
  margin: 0;
}

/* Property Grid - 4 Equal Columns */
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Property Card */
.property-card-link {
  text-decoration: none;
  display: block;
}

.property-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.property-card-placeholder {
  width: 100%;
  height: 180px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-card-placeholder i {
  font-size: 2.5rem;
  color: #6c757d;
}

.property-card-body {
  padding: 1rem;
}

.property-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: #4a4a4a;
  margin: 0 0 0.5rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-card-price {
  font-size: 1.125rem;
  font-weight: 500;
  color: #2c2c2c;
  margin: 0 0 0.5rem 0;
}

.property-card-price-unit {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: normal;
}

.property-card-details {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.property-card-detail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Mobile View All */
.listings-mobile-cta {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .listings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .listings-mobile-cta {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .listings-view-all {
    display: none;
  }
  
  .property-card-image,
  .property-card-placeholder {
    height: 140px;
  }
  
  .property-card-body {
    padding: 0.75rem;
  }
  
  .property-card-title {
    font-size: 0.9rem;
  }
  
  .property-card-price {
    font-size: 1rem;
  }
}
