/* p17 natural-language search: understood-filter chips + pending overlay */
.nl-chip-bar{margin:0 0 12px;padding:12px 14px;background:#f7f5f2;border:1px solid #e6dfd4;border-radius:6px;clear:both;width:100%;box-sizing:border-box;display:block;}
.nl-chip-bar-hd{display:block;margin-bottom:8px;}
.nl-chip-bar-title{font-weight:600;color:#5c4a32;font-size:14px;}
.nl-chip-bar-q{color:#7a6a55;font-size:13px;}
.nl-chip-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;}
.nl-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #d9cbb8;border-radius:16px;padding:4px 8px 4px 12px;font-size:13px;color:#333;line-height:1.4;}
.nl-chip-label{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.nl-chip-x{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#eee8df;color:#6a5a45;text-decoration:none;font-size:14px;line-height:18px;}
.nl-chip-x:hover{background:#c0392b;color:#fff;}
#nl-search-pending{display:none;position:fixed;inset:0;background:rgba(0,0,0,.28);z-index:9999;align-items:center;justify-content:center;}
#nl-search-pending .nl-search-pending-inner{background:#fff;padding:16px 22px;border-radius:8px;font-size:15px;color:#333;box-shadow:0 8px 24px rgba(0,0,0,.15);}
/* Homepage hero: single input, tabs removed */
.index-seach-type.nl-search-solo .seach-left{display:none;}
.index-seach.nl-search-solo .index-seach-input{flex:1;min-width:0;}
.banner-search-ul.nl-search-hidden{display:none;}
.banner-search-input-item{width:100%;}

/* Full-bleed hero. .app is a 1200px column; .cur-swiper is meant to break
   out to 100vw. p10 set .carousel{max-width:100%;overflow-x:hidden} which
   capped that 100vw at the 1200px column and left a grey gap on the right. */
.app .cur-swiper.carousel{
    width:100vw;
    max-width:100vw;
    position:relative;
    left:calc((100vw - 1200px) / 2 * -1);
    overflow:hidden;
    box-sizing:border-box;
}
.app .cur-swiper .carousel-inner,
.app .cur-swiper .carousel-inner > .item,
.app .cur-swiper .index-bannner-image{
    width:100%;
    max-width:none;
    height:100%;
}
.app .cur-swiper .index-bannner-image > img,
.app .cur-swiper .carousel-inner > .item > img{
    display:block;
    width:100%;
    max-width:none;
    height:100%;
    object-fit:cover;
    object-position:center center;
}
.index-seach.nl-search-solo{
    width:min(660px, calc(100% - 32px));
    max-width:calc(100% - 32px);
    box-sizing:border-box;
    height:auto;
    min-height:120px;
    padding-bottom:16px;
}

/* English labels (Buy house / Renting) were width:50% + 26px/80px line-height
   inside a 5-column grid, so they wrapped mid-word. Keep the title on one
   line and let the shortcut links use the remaining space. */
.index-red-nav-father.index-red-nav-father{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
}
.index-red-nav{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    min-width:0;
    box-sizing:border-box;
    gap:2px;
}
.index-red-nav .title-1{
    width:auto;
    max-width:100%;
    flex:0 0 auto;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:clamp(16px, 1.5vw, 26px);
    line-height:1.3;
    letter-spacing:0;
    text-align:left;
    padding:8px 0 2px;
}
.index-red-nav > .w-100{
    width:100%;
    min-width:0;
}
.index-red-nav ul.grid{
    width:100%;
    height:auto;
    margin-left:0;
    grid-template-rows:auto auto;
    align-content:start;
}
.index-red-nav ul.grid li{
    min-width:0;
    overflow:hidden;
    line-height:1.35;
}
.index-red-nav ul.grid li a{
    display:inline-block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
/* Below 1200px the breakout offset becomes positive and leaves a grey
   strip on the left; pin the hero to the viewport instead. */
@media (max-width: 1199px){
    .app .cur-swiper.carousel{
        left:0;
        width:100vw;
        max-width:100vw;
    }
}
@media (max-width: 767px){
    .cur-swiper .index-seach.nl-search-solo{
        top:50%;
        width:calc(100% - 24px);
        min-height:0;
        padding-bottom:12px;
    }
}

.nl-chip-relax-note{margin:0 0 8px;font-size:12px;line-height:1.5;color:#6b6b6b;}

/* Hide uncompiled Vue interpolations until the deferred Vue app mounts.
   Server-rendered .js-loc-ssr is the no-JS / first-paint city name; hide it once Vue has mounted. */
[v-cloak]{display:none !important;}
[data-v-app] .js-loc-ssr{display:none !important;}
/* p30: clear / start-over link and follow-up hint in the chip bar */
.nl-chip-clear{display:inline-flex;align-items:center;}
.nl-chip-clear a{font-size:13px;color:#b0392b;text-decoration:underline;padding:4px 2px;white-space:nowrap;}
.nl-chip-hint{margin:8px 0 0;font-size:12px;color:#8a7a65;line-height:1.5;}
.nl-chip-bar{overflow-wrap:anywhere;}
@media (max-width: 767px){
    .nl-chip-bar{margin:8px 0 10px;padding:10px 12px;border-radius:0;border-left:0;border-right:0;}
    .nl-chip-label{max-width:220px;}
}
/* p30: compact list filter panel (District / BTS / type / price / layout rows removed) */
.gl-cur-clear{display:inline-block;margin-left:6px;font-size:13px;color:#b0392b;text-decoration:underline;white-space:nowrap;}
/* p30 mobile list: type tabs removed, so the search block no longer needs its fixed height */
#searchBox.container-search{height:auto;padding-bottom:.25rem;}
#panseach2 .chose-tag-ul{align-items:center;}
#panseach2 .gl-cur-clear{font-size:.24rem;margin:0 0 .1rem .1rem;}
