.property-grid {
  display: grid;
  gap: 25px;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 100%;
}


.property-card {
  border: 1px solid #eee;
  background: #fff;
  transition: .2s;

  display: flex;
  flex-direction: column;
  height: 100%;
	
border-radius: 16px;
}

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

.property-address {
  font-size: 1.2em;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}


.property-image {
  position: relative;
}

.property-image img {
  width: 100%;
}

.property-status {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wp--preset--color--heading);
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: 600;
}

.property-body {
  padding: 18px;
}

.property-meta {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}


.property-footer {
  margin-top: auto;

  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 12px;
}


.rental-filter {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  flex: 1;
}

.filter-field label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 6px;
}

.filter-field input,
.filter-field select {
  height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  background: #f9f9f9;
  font-size: 14px;
  transition: all 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: none;
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.filter-submit {
  height: 46px;
  padding: 0 26px;
  border-radius: 6px;
  border: none;
  background: var(--wp--preset--color--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-submit:hover {
  background: #333;
  transform: translateY(-1px);
}

.filter-submit:active {
  transform: translateY(0);
}



/* Singles */

.single-property-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header */
.single-property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.single-property-header h1 {
    margin: 0 0 5px;
    font-size: 28px;
}

.single-property-header .location {
    color: #777;
}

.single-property-header .price {
    font-size: 22px;
    font-weight: 600;
}

.single-property-header .price span {
    font-weight: normal;
    color: #666;
}

/* Gallery */
.single-property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
}

.single-property-gallery .gallery-item:first-child {
    grid-row: span 2;
}

.single-property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Overlay Button */
.single-show-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
}

.single-show-all-photos:hover {
    background: #f7f7f7;
}

/* Main + Sticky Sidebar */
.single-property-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.single-property-main .description {
    margin-bottom: 30px;
}

/* Amenities */
.single-property-amenities {
    margin-top: 40px;
}

.single-property-amenities h2 {
    margin-bottom: 20px;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-item {
    position: relative;
    padding-left: 24px;
}

.amenity-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

/* Booking Card */
.booking-card {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.card-inner {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    background: #fff;
}

.card-price {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.booking-card input,
.booking-card select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.booking-card button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #ff385c;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.booking-card button:hover {
    background: #e31c5f;
}

/* Responsive */
@media (max-width: 900px) {
    .single-property-body {
        grid-template-columns: 1fr;
    }

    .single-property-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .single-property-gallery .gallery-item:first-child {
        grid-row: span 1;
    }
}