
.templateItem {
	display: none; 
}

/* =========================================
   PROPERTY FINAL – NO BOOTSTRAP GRID
   Mobile first – sạch – không xung đột
========================================= */

/* WRAPPER */
#searchResult #list-type{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* ITEM */
#searchResult .oneItem{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

/* CARD */
#searchResult .box-two{
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffffff, #f7fbfd);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(0,92,69,.15);
    box-shadow: 0 10px 26px rgba(0,92,69,.10);
    transition: .25s ease;
}

#searchResult .box-two:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,92,69,.18);
    border-color: #005c45;
}

/* IMAGE */
#searchResult .item-thumb{
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

#searchResult .item-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- CONTENT ---------- */

#searchResult .item-entry{
    padding: 12px;
    box-sizing: border-box;
    color: #1f2933;
    flex: 1;
}

/* ---------- TITLE ---------- */

.proerty-th .wrap{
    margin: 6px 0;
    height: 60px;
    overflow: hidden;
}

.proerty-th .wrap a.title{
    color: #005c45 !important;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4em;
}

/* ---------- LOCATION ---------- */
.property-icon .location{
	color:#475569;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 48px;
}

/* ---------- Area, Price ---------- */
#searchResult .meta{
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.proerty-area, .proerty-price{
    display: block;
}

.proerty-area{
    color:#006B3F;
    font-weight:600;
}

.proerty-price{
    color:#005c45;
    font-weight:800;
    font-size:15px;
}

/* ---------- DESCRIPTION (LIST ONLY) ---------- */

.proerty-th-list .item-entry p.description{
    margin-top: 6px;
    font-size: 13.5px;
    color:#4b5563;
    line-height: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* GRID → ẨN */
#list-type.proerty-th .description{
    display: none !important;
}

/* LIST → HIỆN */
#list-type.proerty-th-list .description{
    display: -webkit-box !important;
}

/* ---------- IMAGE COUNT ---------- */

.item-thumb .image-count{
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0,92,69,0.85);
    color: #fff;
    border: none;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.6);
    z-index: 5;
}

/* ---------- Link a luôn màu trắng: title + chi tiết ---------- */
.item-entry a {
    color: inherit !important;
}


/* LIST MODE – DESKTOP */
@media (min-width: 992px){

    #list-type.proerty-th-list .oneItem{
        width: 100%;
    }

    #list-type.proerty-th-list .box-two{
        flex-direction: row;
    }

    #list-type.proerty-th-list .item-thumb{
        width: 35%;
        height: 230px;
        flex-shrink: 0;
    }

    #list-type.proerty-th-list .item-entry{
        width: 65%;
    }
}

/* GRID MODE – DESKTOP (3 cột) */
@media (min-width: 992px){

    #list-type.proerty-th .oneItem{
        width: 33.3333%;
    }

    #list-type.proerty-th .item-thumb{
        height: 300px;
    }
}

/* MOBILE FIX CỨNG */
@media (max-width: 991px){

    #searchResult .oneItem,
    #searchResult .box-two{
        width: 100% !important;
        max-width: 100% !important;
    }

    .description{
        display: none !important;
    }
}

.search-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sr-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    color: #2f5f55;

    padding: 6px 12px;
    border-radius: 10px;

    background: rgba(255,255,255,.6);
    border: 1px solid rgba(0,92,69,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* ICON */
.sr-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(180deg, #007a5a, #005c45);
    color: #fff;
    font-size: 14px;

    box-shadow: 0 4px 10px rgba(0,92,69,.35);
}

/* TEXT */
.sr-text {
    line-height: 1.3;
}

/* SỐ LƯỢNG */
.sr-left b {
    font-size: 18px;
    color: #005c45;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(0,92,69,.25);
    margin: 0 3px;
}

/* Mobile gọn hơn */
@media (max-width:768px){
    .sr-left {
        font-size: 13px;
        padding: 6px 10px;
    }
    .sr-left b {
        font-size: 16px;
    }
}


/* RIGHT */
.sr-right {
    display: flex;
    align-items: center;
    gap: 8px;
}


.sr-left .sr-filter-btn {
    height: 30px;
    margin-left: 8px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;

    background: linear-gradient(180deg, #007a5a, #005c45);
    color: #e8f4f0;
    font-weight: 600;

    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 4px 14px rgba(0,92,69,.35);

    transition: all .25s ease;
}

.sr-filter-btn:hover {
    background: linear-gradient(180deg, #00916c, #007a5a);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,92,69,.45);
    transform: translateY(-1px);
}

.sr-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sr-filter-btn i {
    font-size: 14px;
    opacity: .9;
}

.layout-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.layout-switcher a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.7);
    border: 1px solid rgba(0,92,69,.18);
    color: #005c45;

    text-decoration: none;
    transition: all .2s ease;
}

.layout-switcher a:hover {
    background: #fff;
    border-color: rgba(0,92,69,.35);
    color: #004d3a;
    box-shadow: 0 4px 10px rgba(0,92,69,.18);
}

.layout-switcher a.active {
    background: linear-gradient(180deg, #007a5a, #005c45);
    color: #fff;
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 4px 12px rgba(0,92,69,.45);
}

@media (max-width: 768px) {

    .search-result-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sr-left {
        justify-content: space-between;
    }

    .sr-right {
        justify-content: flex-start;
    }

    .sr-right .bootstrap-select,
    .sr-right select {
        width: auto;
        min-width: 160px;
    }

    .layout-switcher {
        display: none;
    }
}


