@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
:root{--primary:#A57A2A;--primary-hover:#8D6620;--primary-soft:#E8D7B5;--gold:#D7B067;--dark:#1A2332;--dark-light:#263345;--muted:#7C8794;--soft:#F8F7F3;--cream:#F1EBDD;--border:#E6E2D9;--white:#FFFFFF;}*{box-sizing:border-box}body{font-family:'Prompt',sans-serif;color:var(--dark);background:var(--soft)}.brand-mark{font-weight:700}.brand-mark span{color:var(--primary)}a{text-decoration:none;color:inherit}.navbar .nav-link{font-weight:500}.btn-primary{background:linear-gradient(135deg,var(--dark),var(--primary));border-color:var(--primary);color:var(--white)}.btn-primary:hover,.btn-primary:focus{background:var(--primary-hover);border-color:var(--primary-hover);color:var(--white)}.hero-section{background:linear-gradient(135deg,var(--cream) 0%,#ffffff 48%,#F4EFE5 100%);overflow:hidden}.hero-inner{padding:90px 12px 0}.hero-section h1{font-size:clamp(2.4rem,5vw,4.8rem);font-weight:700;line-height:1.12;margin:14px 0}.hero-section h1 span{color:var(--primary)}.hero-section p{font-size:1.1rem;color:var(--muted);max-width:650px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:600;color:var(--primary)}
.hero-orb{
    height:330px;width:330px;border-radius:48% 52% 60% 40%;background:linear-gradient(145deg,var(--dark),var(--primary));display:flex;align-items:center;justify-content:center;margin:auto;box-shadow:0 30px 70px rgba(26,35,50,.24)
}
.hero-orb i{
    font-size:9rem;color:white
}
.search-panel{background:var(--white);border-radius:22px;padding:24px;transform:translateY(42px);margin-bottom:42px;position:relative;z-index:2;box-shadow:0 20px 60px rgba(26,35,50,.13)}.search-tabs{display:flex;gap:20px;margin-bottom:18px}.search-tabs input{accent-color:var(--primary)}.search-panel .form-control,.search-panel .form-select,.search-panel .btn{height:54px;border-radius:12px}.input-icon{position:relative}.input-icon i{position:absolute;left:18px;top:16px}.input-icon input{padding-left:46px}.bg-soft{background:var(--soft)}.stat-number{font-size:2rem;font-weight:700;color:var(--primary)}.section-space{padding:82px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-heading h2{font-weight:700;margin-top:7px}.section-heading>a{color:var(--primary);font-weight:600}.property-card{border:1px solid var(--border);border-radius:18px;background:var(--white);overflow:hidden;transition:.25s}.property-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(26,35,50,.12)}.property-image-wrap{display:block;height:230px;position:relative;overflow:hidden;background:var(--cream)}.property-image{width:100%;height:100%;object-fit:cover;transition:.4s}.property-card:hover .property-image{transform:scale(1.04)}.property-badge{position:absolute;top:14px;left:14px;background:var(--white);color:var(--dark);padding:7px 12px;border-radius:20px;font-size:.78rem;font-weight:600}.favorite-btn{position:absolute;right:14px;top:14px;border:0;width:38px;height:38px;border-radius:50%;background:var(--white)}.price-line{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:10px;color:var(--primary)}.price-line strong{font-size:1.18rem}.price-line small{font-size:.72rem;font-weight:400}.property-title{font-size:1.03rem;font-weight:600;display:block;min-height:48px}.location-line{font-size:.84rem;color:var(--muted);margin:8px 0 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-meta{display:flex;gap:12px;border-top:1px solid var(--border);padding-top:14px;font-size:.77rem;color:var(--muted)}.location-card{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:22px;display:flex;justify-content:space-between;align-items:center}.location-card:hover{border-color:var(--primary)}.location-card i{color:var(--primary)}.location-card h5{margin:8px 0 2px}.location-card span{font-size:.8rem;color:var(--muted)}.listing-hero{padding:55px 0;background:linear-gradient(135deg,var(--cream),#ffffff)}.listing-hero h1{font-weight:700}.filter-panel{border:1px solid var(--border);border-radius:18px;padding:22px;position:sticky;top:90px}.filter-panel label{font-size:.8rem;font-weight:500;margin:16px 0 6px}.filter-panel .form-control,.filter-panel .form-select{border-radius:10px}.sort-select{width:190px}.empty-state{text-align:center;padding:80px 20px;border:1px dashed var(--border);border-radius:18px}.empty-state i{font-size:4rem;color:#B8B0A2}.detail-gallery{display:grid;grid-template-columns:2fr 1fr;gap:8px;height:520px;border-radius:22px;overflow:hidden;background:var(--cream)}.gallery-main img,.gallery-side img{width:100%;height:100%;object-fit:cover}.gallery-side{display:grid;grid-template-columns:1fr 1fr;gap:8px}.detail-header{display:flex;justify-content:space-between;gap:30px;align-items:start}.detail-header h1{font-weight:700}.detail-header p{color:var(--muted)}.detail-price{text-align:right}.detail-price strong,.detail-price small{display:block}.detail-price strong{font-size:1.5rem;color:var(--primary);margin-bottom:2px}.detail-price small{font-size:.76rem;color:var(--muted);margin-bottom:12px}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:16px;margin:25px 0}.feature-strip div{text-align:center;padding:20px;border-right:1px solid var(--border)}.feature-strip div:last-child{border:0}.feature-strip i{display:block;color:var(--primary);font-size:1.4rem}.feature-strip strong,.feature-strip span{display:block}.feature-strip span{font-size:.76rem;color:var(--muted)}.content-box{padding:28px 0;border-bottom:1px solid var(--border)}.content-box h3{font-size:1.25rem;font-weight:600;margin-bottom:18px}.description-text{line-height:1.9;color:#4C5563}.tag-list{display:flex;flex-wrap:wrap;gap:8px}.tag-list span{background:var(--soft);padding:9px 13px;border-radius:20px;font-size:.84rem}.contact-card{top:100px;border:1px solid var(--border);border-radius:20px;padding:25px;box-shadow:0 15px 40px rgba(26,35,50,.09)}.contact-card .form-control{margin-bottom:12px;border-radius:10px}.footer{background:var(--dark);color:var(--white)}.footer a{display:block;color:#C8C2B7;margin:8px 0}.pagination{justify-content:center}.page-link{color:var(--dark)}.active>.page-link{background:var(--primary);border-color:var(--primary)}

.navbar{background:var(--white)!important;border-bottom:1px solid var(--border)}
.navbar .nav-link{color:var(--dark)}
.navbar .nav-link:hover,.navbar .nav-link.active{color:var(--primary)}
.navbar-brand,.brand-mark{color:var(--dark)}
.form-control,.form-select{border-color:var(--border);background-color:var(--white)}
.form-control:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 .2rem rgba(165,122,42,.15)}
.btn-outline-primary{color:var(--primary);border-color:var(--primary)}
.btn-outline-primary:hover{background:var(--primary);border-color:var(--primary);color:var(--white)}
.page-link:hover{color:var(--primary);background:var(--cream);border-color:var(--border)}
.property-card,.location-card,.filter-panel,.contact-card,.empty-state{background-color:var(--white)}
@media(max-width:991px){.hero-inner{padding-top:60px}.search-panel{transform:translateY(30px);margin-bottom:30px}.detail-gallery{height:360px;grid-template-columns:1fr}.gallery-side{display:none}.detail-header{display:block}.detail-price{text-align:left;margin-top:15px}.filter-panel{position:static}.property-meta{flex-wrap:wrap}}@media(max-width:576px){.section-space{padding:55px 0}.hero-section h1{font-size:2.35rem}.search-panel{padding:16px;margin-bottom:24px}.feature-strip{grid-template-columns:1fr 1fr}.feature-strip div:nth-child(2){border-right:0}.feature-strip div:nth-child(-n+2){border-bottom:1px solid var(--border)}.detail-gallery{height:270px}.property-image-wrap{height:220px}}

/* =========================
   PROMPT YOU LOGO
========================= */
.site-logo{
    display:block;
    width:auto;
    height:auto;
    max-width:150px;
    max-height:52px;
    object-fit:contain;
}

.footer-logo{
    display:block;
    width:auto;
    height:auto;
    max-width:110px;
    max-height:72px;
    object-fit:contain;
    margin-right:16px;
}

.footer-brand{
    align-items:center;
}

.brand-text{
    line-height:1.1;
}

.brand-text strong{
    display:block;
    color:var(--dark);
    font-size:1rem;
    letter-spacing:.06em;
}

.brand-text small{
    display:block;
    color:var(--primary);
    font-size:.65rem;
    letter-spacing:.18em;
}

@media(max-width:991px){
    .site-logo{
        max-width:125px;
        max-height:44px;
    }

    .footer-logo{
        max-width:95px;
        max-height:62px;
    }
}

@media(max-width:576px){
    .site-logo{
        max-width:105px;
        max-height:38px;
    }

    .footer-logo{
        max-width:82px;
        max-height:54px;
    }
}

/* Prevent the search panel from overlapping the statistics section */
.hero-section{
    position:relative;
    z-index:1;
}

.hero-section + .section-space,
.hero-section + section{
    position:relative;
    z-index:0;
}
/* Prompt You property card: แยกราคาขายและราคาเช่า */
.property-image-wrap{
    position:relative;
}

.property-image-link{
    display:block;
    width:100%;
    height:100%;
}

.property-price-group{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:14px;
}

.property-price-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px;
    border:1px solid var(--border);
    border-radius:12px;
}

.property-price-sale{
    background:#FBF6EC;
    border-color:#E8D7B5;
}

.property-price-rent{
    background:#F0F4F8;
    border-color:#D8E0E8;
}

.property-price-label{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex:0 0 auto;
    font-size:.76rem;
    font-weight:600;
}

.property-price-sale .property-price-label{
    color:#8D6620;
}

.property-price-rent .property-price-label{
    color:#284D70;
}

.property-price-value{
    color:var(--primary);
    font-size:1.12rem;
    line-height:1.25;
    text-align:right;
}

.property-price-rent .property-price-value{
    color:#1A4E73;
}

.property-price-value small{
    font-size:.7rem;
    font-weight:400;
    color:var(--muted);
}

@media(max-width:576px){
    .property-price-box{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }

    .property-price-value{
        text-align:left;
    }
}
/* Property detail gallery slider */
.property-gallery-slider{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    background:var(--cream);
    box-shadow:0 18px 45px rgba(26,35,50,.12);
}

.property-gallery-slider .carousel-inner{
    height:620px;
}

.property-gallery-image{
    width:100%;
    height:620px;
    object-fit:cover;
}

.property-gallery-slider .carousel-control-prev,
.property-gallery-slider .carousel-control-next{
    width:76px;
    opacity:1;
}

.property-gallery-slider .carousel-control-prev-icon,
.property-gallery-slider .carousel-control-next-icon{
    width:46px;
    height:46px;
    border-radius:50%;
    background-color:rgba(26,35,50,.76);
    background-size:50% 50%;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.property-gallery-counter{
    position:absolute;
    right:18px;
    bottom:18px;
    z-index:3;
    display:flex;
    align-items:center;
    gap:6px;
    padding:8px 13px;
    border-radius:999px;
    color:#fff;
    background:rgba(26,35,50,.78);
    font-size:.86rem;
    backdrop-filter:blur(8px);
}

.property-gallery-thumbnails{
    display:flex;
    gap:10px;
    margin-top:14px;
    padding:2px 1px 7px;
    overflow-x:auto;
    scrollbar-width:thin;
}

.property-gallery-thumb{
    flex:0 0 110px;
    height:76px;
    padding:0;
    overflow:hidden;
    border:2px solid transparent;
    border-radius:12px;
    background:#fff;
    opacity:.68;
    transition:border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.property-gallery-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.property-gallery-thumb:hover,
.property-gallery-thumb.active{
    opacity:1;
    border-color:var(--primary);
    transform:translateY(-2px);
}

@media(max-width:991px){
    .property-gallery-slider .carousel-inner,
    .property-gallery-image{
        height:440px;
    }
}

@media(max-width:576px){
    .property-gallery-slider{
        border-radius:16px;
    }

    .property-gallery-slider .carousel-inner,
    .property-gallery-image{
        height:290px;
    }

    .property-gallery-slider .carousel-control-prev,
    .property-gallery-slider .carousel-control-next{
        width:50px;
    }

    .property-gallery-slider .carousel-control-prev-icon,
    .property-gallery-slider .carousel-control-next-icon{
        width:38px;
        height:38px;
    }

    .property-gallery-thumb{
        flex-basis:82px;
        height:58px;
    }

    .property-gallery-counter{
        right:12px;
        bottom:12px;
    }
}
/* =====================================================
   MODERN PROPERTY PAGINATION
===================================================== */

.property-pagination-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;

    width:100%;
    margin:42px 0 22px;
    padding:24px 20px;

    border:1px solid var(--border);
    border-radius:22px;

    background:rgba(255,255,255,.78);
    box-shadow:0 14px 38px rgba(26,35,50,.07);
    backdrop-filter:blur(8px);
}

.property-pagination-info{
    color:var(--muted);
    font-size:.82rem;
}

.property-pagination{
    width:100%;
}

.pagination-list{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:8px;

    margin:0;
    padding:0;

    list-style:none;
}

.pagination-item{
    display:flex;
}

.pagination-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    min-width:44px;
    height:44px;
    padding:0 14px;

    border:1px solid var(--border);
    border-radius:12px;

    color:var(--dark);
    background:#fff;

    font-size:.9rem;
    font-weight:600;
    line-height:1;

    box-shadow:0 5px 14px rgba(26,35,50,.04);

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.pagination-link:hover{
    color:#fff;
    background:linear-gradient(
        135deg,
        var(--dark),
        var(--primary)
    );
    border-color:var(--primary);

    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(165,122,42,.18);
}

.pagination-item.active .pagination-link{
    color:#fff;
    background:linear-gradient(
        135deg,
        var(--dark),
        var(--primary)
    );
    border-color:var(--primary);

    box-shadow:0 10px 24px rgba(165,122,42,.22);
}

.pagination-item.disabled .pagination-link{
    color:#b5b7bc;
    background:#f4f3ef;
    border-color:#ebe7df;

    pointer-events:none;
    box-shadow:none;
}

.pagination-arrow{
    padding:0;
}

.pagination-item-wide .pagination-link{
    min-width:105px;
}

@media(max-width:576px){
    .property-pagination-wrapper{
        margin-top:30px;
        padding:18px 12px;
        border-radius:18px;
    }

    .pagination-list{
        gap:6px;
    }

    .pagination-link{
        min-width:40px;
        height:40px;
        padding:0 11px;
        border-radius:10px;
        font-size:.82rem;
    }

    .pagination-item-wide .pagination-link{
        min-width:40px;
    }

    .pagination-item-wide .pagination-link span{
        display:none;
    }
}
/* =====================================================
   PROPERTY OVERVIEW & PROPERTY TYPES
===================================================== */

.property-overview-section{
    position:relative;
    padding:78px 0 90px;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(165,122,42,.12),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #f8f7f3 0%,
            #f2eee6 100%
        );
}

.overview-card{
    position:relative;
    padding:42px;
    border:1px solid rgba(165,122,42,.14);
    border-radius:30px;
    background:rgba(255,255,255,.94);
    box-shadow:0 24px 65px rgba(26,35,50,.10);
    overflow:hidden;
}

.overview-card::before{
    content:"";
    position:absolute;
    top:-120px;
    right:-90px;
    width:310px;
    height:310px;
    border-radius:50%;
    background:rgba(165,122,42,.08);
    pointer-events:none;
}

.overview-header{
    position:relative;
    z-index:1;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:30px;
}

.overview-header h2{
    margin:6px 0 9px;
    color:var(--dark);
    font-size:clamp(1.7rem,3vw,2.4rem);
    font-weight:700;
}

.overview-header p{
    max-width:650px;
    margin:0;
    color:var(--muted);
    line-height:1.8;
}

.overview-eyebrow{
    display:block;
    color:var(--primary);
    font-size:.76rem;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.overview-view-all{
    display:inline-flex;
    align-items:center;
    gap:9px;
    flex:0 0 auto;
    padding:12px 18px;
    border:1px solid var(--border);
    border-radius:999px;
    color:var(--dark);
    background:#fff;
    font-size:.88rem;
    font-weight:600;
    transition:.22s ease;
}

.overview-view-all:hover{
    color:#fff;
    border-color:var(--primary);
    background:linear-gradient(
        135deg,
        var(--dark),
        var(--primary)
    );
    transform:translateY(-2px);
}

.property-stat-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.property-stat-card{
    position:relative;
    display:flex;
    align-items:center;
    gap:17px;
    min-height:118px;
    padding:22px;
    border:1px solid var(--border);
    border-radius:20px;
    color:var(--dark);
    background:
        linear-gradient(
            145deg,
            #fff 0%,
            #fcfaf6 100%
        );
    box-shadow:0 10px 28px rgba(26,35,50,.06);
    transition:.25s ease;
    overflow:hidden;
}

.property-stat-card::after{
    content:"";
    position:absolute;
    right:-35px;
    bottom:-50px;
    width:120px;
    height:120px;
    border-radius:50%;
    background:rgba(165,122,42,.08);
}

.property-stat-card:hover{
    color:var(--dark);
    border-color:rgba(165,122,42,.35);
    transform:translateY(-5px);
    box-shadow:0 20px 40px rgba(26,35,50,.11);
}

.property-stat-icon{
    position:relative;
    z-index:1;
    flex:0 0 58px;
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:17px;
    color:#fff;
    background:linear-gradient(
        145deg,
        var(--dark),
        var(--primary)
    );
    box-shadow:0 10px 24px rgba(165,122,42,.22);
}

.property-stat-icon i{
    font-size:1.55rem;
}

.property-stat-card strong{
    position:relative;
    z-index:1;
    display:block;
    color:var(--primary);
    font-size:1.65rem;
    line-height:1.1;
}

.property-stat-card span{
    position:relative;
    z-index:1;
    display:block;
    margin-top:6px;
    color:var(--dark);
    font-size:.9rem;
    font-weight:500;
}

.stat-arrow{
    position:relative;
    z-index:1;
    margin-left:auto;
    color:var(--primary);
    font-size:1.1rem;
    transition:transform .2s ease;
}

.property-stat-card:hover .stat-arrow{
    transform:translateX(4px);
}

/* Property Types */

.property-type-section{
    position:relative;
    z-index:1;
    margin-top:38px;
    padding-top:34px;
    border-top:1px solid var(--border);
}

.property-type-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}

.property-type-heading h3{
    margin:6px 0 0;
    color:var(--dark);
    font-size:1.45rem;
    font-weight:700;
}

.property-type-nav{
    display:flex;
    gap:8px;
}

.type-scroll-button{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--border);
    border-radius:12px;
    color:var(--dark);
    background:#fff;
    transition:.2s ease;
}

.type-scroll-button:hover{
    color:#fff;
    border-color:var(--primary);
    background:var(--primary);
}

.property-type-list{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(145px,1fr);
    gap:14px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
    padding:3px 2px 9px;
}

.property-type-list::-webkit-scrollbar{
    display:none;
}

.property-type-card{
    position:relative;
    min-height:155px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:20px;
    border:1px solid var(--border);
    border-radius:18px;
    color:var(--dark);
    background:#fff;
    overflow:hidden;
    transition:.24s ease;
}

.property-type-card::before{
    content:"";
    position:absolute;
    right:-25px;
    top:-25px;
    width:82px;
    height:82px;
    border-radius:50%;
    background:rgba(165,122,42,.08);
}

.property-type-card:hover{
    color:var(--dark);
    border-color:rgba(165,122,42,.38);
    transform:translateY(-5px);
    box-shadow:0 16px 34px rgba(26,35,50,.10);
}

.property-type-icon{
    position:relative;
    z-index:1;
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:15px;
    border-radius:16px;
    color:var(--primary);
    background:var(--cream);
    transition:.24s ease;
}

.property-type-icon i{
    font-size:1.45rem;
}

.property-type-card:hover .property-type-icon{
    color:#fff;
    background:linear-gradient(
        145deg,
        var(--dark),
        var(--primary)
    );
}

.property-type-card > span{
    position:relative;
    z-index:1;
    padding-right:20px;
    font-size:.9rem;
    font-weight:600;
}

.property-type-arrow{
    position:absolute;
    right:15px;
    bottom:15px;
    color:var(--primary);
    opacity:0;
    transform:translate(-5px,5px);
    transition:.22s ease;
}

.property-type-card:hover .property-type-arrow{
    opacity:1;
    transform:translate(0,0);
}

@media(max-width:991px){
    .property-overview-section{
        padding:60px 0 70px;
    }

    .overview-card{
        padding:30px;
        border-radius:25px;
    }

    .property-stat-grid{
        grid-template-columns:1fr;
    }

    .overview-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .property-type-list{
        grid-auto-columns:minmax(135px,42%);
    }
}

@media(max-width:576px){
    .property-overview-section{
        padding:45px 0 55px;
    }

    .overview-card{
        padding:22px 17px;
        border-radius:20px;
    }

    .overview-view-all{
        width:100%;
        justify-content:center;
    }

    .property-stat-card{
        min-height:104px;
        padding:17px;
    }

    .property-stat-icon{
        flex-basis:50px;
        width:50px;
        height:50px;
    }

    .property-stat-card strong{
        font-size:1.4rem;
    }

    .property-type-list{
        grid-auto-columns:minmax(132px,72%);
    }

    .property-type-card{
        min-height:140px;
    }
}