/* ============================================
   Property Listing Page Styles
   ============================================ */

/* Global Feather Icon Styles */
[data-feather] {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
}

/* Filter Widget */
.filter-widget .widget-title h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
}

.filter-widget .widget-title h5 [data-feather] {
    width: 24px;
    height: 24px;
    color: #fbb84d;
}

/* Keyword Input Field */
.filter-widget .keyword-input {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    max-width: 100%;
    line-height: 50px;
    border: 1px solid #0172bb !important;
    font-size: 14px;
    color: #0172bb;
    font-weight: 400;
    background: transparent;
    border-radius: 5px;
    padding: 0px 20px;
    transition: all 0.3s ease;
}

.filter-widget .keyword-input:focus {
    outline: none;
    border-color: #fbb84d !important;
    box-shadow: 0 0 8px rgba(251, 184, 77, 0.3);
}

.filter-widget .keyword-input::placeholder {
    color: #999;
}

/* Filter Buttons */
.filter-widget .row {
    margin-top: 15px;
}

.filter-widget .theme-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.filter-widget .theme-btn.btn-one {
    background: #fbb84d;
    color: #fff;
}

.filter-widget .theme-btn.btn-one:hover {
    background: #0172bb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 114, 187, 0.3);
}

.filter-widget .theme-btn.btn-two {
    background: #f5f5f5;
    color: #666;
}

.filter-widget .theme-btn.btn-two:hover {
    background: #e0e0e0;
    color: #333;
}

/* Property Cards - Enhanced List View */
.deals-block-one {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.deals-block-one:hover {
    transform: translateY(-5px);
}

.deals-block-one .inner-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.deals-block-one:hover .inner-box {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Property Image */
.deals-block-one .image-box {
    position: relative !important;
    overflow: hidden;
    height: 300px;
    width: 100% !important;
}

.deals-block-one .image-box figure {
    margin: 0;
    height: 100%;
}

.deals-block-one .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deals-block-one:hover .image-box img {
    transform: scale(1.1);
}
.deals-block-one.grid-item .image-box{
    height: 180px;
}


/* Property Content */
.deals-block-one .lower-content {
    padding: 25px;
}

.deals-block-one .lower-content .title-text h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.deals-block-one .lower-content .title-text h4 a {
    color: #222;
    transition: color 0.3s ease;
}

.deals-block-one .lower-content .title-text h4 a:hover {
    color: #fbb84d;
}

/* Price Box */
.deals-block-one .lower-content .price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.deals-block-one .lower-content .price-info h6 {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deals-block-one .lower-content .price-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: #fbb84d;
    margin: 0;
}

/* Agent Box */
.deals-block-one .author-box figure {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.deals-block-one .author-box figure img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbb84d;
}

.deals-block-one .author-box figure span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Property Description */
.deals-block-one .lower-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Property Details Icons */
.deals-block-one .more-details {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.deals-block-one .more-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.deals-block-one .more-details li [data-feather] {
    width: 18px;
    height: 18px;
    color: #fbb84d;
}

/* Loading Indicator */
#loading {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #fbb84d;
    font-weight: 600;
}

/* No Results Message */
.deals-list-content p {
    text-align: left;
    /* padding: 50px 20px; */
    font-size: 18px;
    color: #999;
}

/* Responsive Design */
@media only screen and (max-width: 991px) {
    .deals-block-one .image-box {
        height: 250px;
    }
    
    .filter-widget {
        margin-bottom: 30px;
    }
    
    .filter-widget .row .col-md-6 {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .deals-block-one .image-box {
        height: 220px;
    }
    
    .deals-block-one .lower-content {
        padding: 20px;
    }
    
    .deals-block-one .lower-content .title-text h4 {
        font-size: 18px;
    }
    
    .deals-block-one .lower-content .price-info h4 {
        font-size: 20px;
    }
    
    .deals-block-one .more-details {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .deals-block-one .lower-content .price-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media only screen and (max-width: 479px) {
    .deals-block-one .image-box {
        height: 200px;
    }
    
    .deals-block-one .lower-content .title-text h4 {
        font-size: 16px;
    }
    
    .filter-widget .theme-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* ============================================
   Grid / List View Modifiers (added dynamically)
   ============================================ */
.wrapper.list .deals-list-content.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    align-items: start;
}

.deals-block-one.grid-item {
    /* background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .18s ease; */
    /* width: 30%; */
}
/* .deals-block-one.grid-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); } */
.deals-block-one.grid-item .image img { width:100%; height:180px; object-fit:cover; display:block; }
.deals-block-one.grid-item .lower-content { padding: 12px; }

/* .deals-block-one.list-item-block { background:#fff; border:1px solid #eee; border-radius:8px; margin-bottom:12px; overflow:hidden; } */
.deals-block-one.list-item-block .inner-box { display:flex; gap:16px; align-items:flex-start; }
.deals-block-one.list-item-block .image-box { height: 375px; }
.deals-block-one.list-item-block .image img { width:450px; height:450px; object-fit:cover; }
.deals-block-one.list-item-block .lower-content { padding:14px; flex:1; }

@media (max-width: 768px) {
    .deals-list-content.grid-view { grid-template-columns: 1fr; }
    .deals-block-one.list-item-block .inner-box { flex-direction:column; }
    .deals-block-one.list-item-block .image img { width:100%; height:200px; }
}

.view-toggle .active { opacity:1; background-color: #fbb84d; cursor: not-allowed;}
.view-toggle button { opacity:0.8; margin-left:6px; display:inline-flex; align-items:center; gap:6px; padding: 10px; }
.view-toggle button i { width:16px; height:16px; }




/* Badges (type, furnish) */
.badges { display:inline-flex; gap:8px; justify-content:center; }
.badges .badge { background:#f5f5f5; color:#333; padding:4px 8px; border-radius:12px; font-size:12px; font-weight:600; }
.badges .badge.type { background:#0172bb; color:#fff; }
.badges .badge.furnish { background:#fbb84d; color:#fff; }

/* Price ribbon */
.price-ribbon { position: absolute; top:25px; right:25px; background:#fbb84d; color:#fff; padding:6px 10px; border-radius:20px; font-weight:700; box-shadow:0 4px 12px rgba(0,0,0,0.08); z-index: 9; }
.deals-block-one.grid-item .inner-box { position: relative; padding: 10px !important; }

/* Card title truncation */
.card-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Action buttons */
.action-btns { display:flex; gap:8px; justify-content:center; }
.action-btns .theme-btn.btn-sm { padding:6px 10px; font-size:13px; }

/* Location small */
.location { color:#666; font-size:13px; display:flex; gap:6px; align-items:center; justify-content:center; }
.location i { width:14px; height:14px; }

/* Slightly smaller description for grid */
.deals-block-one.grid-item .desc { font-size:13px; color:#666; }

/* List view enhancements */
.deals-block-one.list-item-block .desc-text { font-size:14px; line-height:1.6; color:#666; margin-bottom:12px; }
.deals-block-one.list-item-block .badges { justify-content:flex-start; }
.deals-block-one.list-item-block .location { justify-content:flex-start; }
.deals-block-one.list-item-block .badges .badge.status { background:#28a745; color:#fff; }

/* Property meta info */
.property-meta-info { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; padding-top:10px; border-top:1px solid #eee; }
.property-meta-info .meta-item { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:#666; }
.property-meta-info .meta-item i { width:14px; height:14px; color:#fbb84d; }

/* Action buttons for list view */
.deals-block-one.list-item-block .action-btns { justify-content:flex-start; }
.action-btns .theme-btn.btn-outline { background:transparent; border:1px solid #0172bb; color:#0172bb; display:inline-flex; align-items:center; gap:4px; }
.action-btns .theme-btn.btn-outline:hover { background:#0172bb; color:#fff; }
.action-btns .theme-btn.btn-outline i { width:14px; height:14px; }
