- /*
 Theme Name:   WpResidence child theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WpResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== Custom Property Card Styling for v4 & v8 ===== */

/* ===== Custom Property Card v4 Styling ===== */

/* ===== Custom Property Card Type 4 ===== */
/* ===== Luxe Listing Card (matches client's reference) ===== */
:root{
  --lux-bg:#191715;            /* deep charcoal/brown */
  --lux-panel:#23201c;         /* slightly lighter for badges */
  --lux-text:#ffffff;
  --lux-gold-1:#e6c988;        /* light gold */
  --lux-gold-2:#c7a452;        /* dark gold */
  --lux-muted:#b8aa95;
  --lux-radius:22px;
}
.card--lux{
  background: var(--lux-bg);
  color: var(--lux-text);
  border-radius: var(--lux-radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card--lux__media{
  display:block;
  position: relative;
}
.card--lux__img{
  width:100%; height: 260px; object-fit: cover;
  display:block;
}
@media (max-width: 992px){
  .card--lux__img{ height: 220px; }
}
.card--lux__placeholder{
  height:260px; background:#2b2723;
}
.card--lux__pad{
  padding: 22px 22px 20px;
}
.card--lux__badges{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:20px; font-weight:600; font-size:12px;
  line-height:1; border:1px solid #3A342E;
  background: var(--lux-panel); color: var(--lux-gold-1);
}
.badge--new{
  color:#0f0f0f;
  background: linear-gradient(145deg,var(--lux-gold-1),var(--lux-gold-2));
  border-color: transparent;
}
.card--lux__title{
  font-size: 22px; font-weight: 800; margin: 4px 0 12px;
}
.card--lux__title a{ color: #fff; text-decoration: none; }
.card--lux__title a:hover{ opacity:.9; }
.card--lux__meta{
  display:flex; gap:18px; flex-wrap:wrap;
  list-style:none; padding:0; margin:0 0 16px;
  color: var(--lux-gold-1); font-weight:600; font-size:14px;
}
.card--lux__meta i{ margin-right:6px; }
.card--lux__meta span{ font-weight:500; color:var(--lux-muted); margin-left:6px; }
.card--lux__pricewrap{
  margin-top: 4px; margin-bottom: 12px;
}
.card--lux__note{ color:var(--lux-muted); font-size:13px; margin-bottom:4px; }
.card--lux__price{
  font-size: 28px; font-weight: 900; letter-spacing: .2px;
  color:#fff;
}
.card--lux__cta{
  display:flex; justify-content:flex-start; margin-top: 6px;
}
.btn--gold{
  display:inline-block; padding:12px 20px; border-radius:28px;
  font-weight:700; text-decoration:none; color:#121212;
  background: linear-gradient(135deg, var(--lux-gold-2), var(--lux-gold-1));
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn--gold:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.3); opacity:.95; }
/* Optional: tone down any default “details” button the theme might still print */
.property_listing .unit_more { display:none !important; }
/* Make sure default grid spacing looks clean around our darker cards */
.listing_wrapper, .property_listing{
  background: transparent !important; border:0 !important; box-shadow:none !important;
}
