/* =====================================================
   GLOBAL LAYOUT
===================================================== */
.ps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.ps-header {
  margin-bottom: 32px;
}

.ps-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0;
  text-transform: capitalize;
}

.ps-subtitle {
  color: #6b7280;
  margin-top: 6px;
}

/* =====================================================
   SEARCH / FILTERS
===================================================== */
.ps-search-wrap {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
}

.ps-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ps-filters select,
.ps-filters input {
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}

.ps-filters button {
  height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* =====================================================
   GRID
===================================================== */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* =====================================================
   PROPERTY CARD
===================================================== */
.ps-grid-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ps-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   IMAGE AREA
===================================================== */
.ps-grid-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.ps-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   BADGES
===================================================== */
.ps-badge {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  color: #ffffff;
}

.ps-badge.type {
  left: 14px;
  background: #16a34a;
}

.ps-badge.state {
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
}

/* =====================================================
   FAVOURITE BUTTON (NO WHITE BACKGROUND)
===================================================== */
.ps-grid-image .ps-fav {
  position: absolute;
  bottom: 14px;
  right: 14px;

  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;

  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;

  appearance: none;
  -webkit-appearance: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.ps-grid-image .ps-fav:hover {
  transform: scale(1.15);
}

.ps-grid-image .ps-fav.active {
  color: #ef4444;
}

/* =====================================================
   CARD BODY
===================================================== */
.ps-grid-body {
  padding: 18px;
}

.ps-price {
  font-size: 22px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 6px;
}

.ps-grid-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.ps-location {
  font-size: 14px;
  color: #6b7280;
}

/* =====================================================
   VIEW PROPERTY BUTTON
===================================================== */
.ps-btn {
  display: block;
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  background: #111827;
  color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.ps-btn:hover {
  background: #000000;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 480px) {
  .ps-header h1 {
    font-size: 32px;
  }

  .ps-grid-image {
    height: 190px;
  }
}

/* =====================================================
   SINGLE PROPERTY PAGE
===================================================== */

.ps-single {
  max-width: 1100px;
}

/* Gallery */
.ps-single-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.ps-single-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
}

/* Main Info */
.ps-single-main {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.ps-single-header h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.ps-single-price {
  font-size: 28px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 12px;
}

/* Meta pills */
.ps-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.ps-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.ps-pill.dark {
  background: #111827;
}

.ps-single-section {
  margin-bottom: 28px;
}

.ps-single-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Contact box */
.ps-single-contact {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}

