/* Shared location-first search; the mobile controls reveal above it. */
.language-flag{border-radius:50%;overflow:hidden;flex:none;box-shadow:none}
.language-option{display:flex;align-items:center;gap:12px}
.search-pill{padding:4px;gap:8px;align-items:center;box-shadow:none;min-height:56px}
.search-pill:hover,.search-pill:focus-within{box-shadow:none}
.search-seg label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.search-pill .seg-where{order:0;flex:0 1 48%;background:#f3f3f3;border-radius:999px;padding:0 12px 0 32px;min-height:44px;position:relative}
.seg-where:before{content:"";position:absolute;left:12px;top:50%;width:15px;height:18px;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE6F44' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.search-pill .seg-what{order:1;border:0;padding:0;flex:1;min-width:0}
.search-pill .search-btn{order:2;background:#0b0b0b;margin:0;width:44px;height:44px}
.search-pill input{font-size:15px}.search-pill input::placeholder{color:#71716c}.search-pill .city-select{font-size:14px;font-weight:600}
.mobile-menu-button,.mobile-floating-add{display:none}
.mobile-sheet{border:0;background:#fff;color:#171717;width:min(440px,100%);max-height:80dvh;overflow:auto;padding:20px;border-radius:22px;font:inherit;box-sizing:border-box}
.mobile-sheet::backdrop{background:#0006}.mobile-sheet h2{font-size:20px;margin:0 40px 18px 0}.mobile-sheet-close{position:absolute;right:16px;top:14px;background:none;border:0;width:40px;height:40px;font-size:28px;cursor:pointer}.mobile-sheet-row{display:flex;align-items:center;gap:14px;width:100%;min-height:52px;padding:10px 8px;color:inherit;background:none;border:0;text-align:left;font:inherit;text-decoration:none;cursor:pointer;border-radius:12px}.mobile-sheet-row:hover{background:#f3f3f3}.mobile-sheet-row svg{width:22px;height:22px;flex:none;color:#a0683f}.mobile-sheet-row span{flex:1}.mobile-sheet button:focus-visible,.mobile-menu-button:focus-visible,.mobile-floating-add:focus-visible{outline:2px solid #ab4829;outline-offset:3px}
@media(max-width:860px){
 .topbar{top:-64px;z-index:600;background:#fff}
 .topbar-inner--3col{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0 16px 12px;align-items:center}
 .topbar-inner--3col .topbar-right{grid-column:2;grid-row:1;display:flex;justify-self:end;height:64px;align-items:center;order:initial}
 .topbar-inner--3col .topbar-right>:not(.language-wrapper){display:none}
 .mobile-menu-button{display:flex;align-items:center;justify-content:center;grid-column:1;grid-row:1;width:44px;height:44px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#111;cursor:pointer}
 .mobile-menu-button svg{width:22px;height:22px}
 .topbar-inner--3col .search-pill{grid-row:2;grid-column:1/-1;order:initial;width:100%;max-width:none;min-width:0;box-sizing:border-box;margin:0;flex-basis:auto}
 .language-button{min-height:44px;padding:8px 12px;font-size:14px;gap:8px}.language-button .language-flag{width:22px;height:22px}
 .search-pill .seg-where{flex-basis:48%;padding-left:29px;padding-right:10px}.seg-where:before{left:9px}.search-pill .city-select{font-size:13px}.search-pill input{font-size:16px}
 .topbar .category-bar{display:none}
 .topbar.mobile-controls-dismissed{top:0}.mobile-controls-dismissed .topbar-right,.mobile-controls-dismissed .mobile-menu-button{display:none}.mobile-controls-dismissed .search-pill{grid-row:1}.mobile-controls-dismissed .topbar-inner--3col{padding-top:12px}
 .map-wrap{display:none}.mobile-show-map .map-wrap{display:block}
 .results-count{padding-top:18px}.results-count #resultsAddBtn{display:inline-flex}.sidebar{padding-bottom:24px}
 .mobile-floating-add{position:fixed;display:flex;align-items:center;justify-content:center;bottom:calc(20px + env(safe-area-inset-bottom));right:18px;z-index:650;width:44px;height:44px;border:0;border-radius:50%;background:#0b0b0b;color:#fff;cursor:pointer}.mobile-floating-add svg{width:24px;height:24px}
 body:has(.property-page) .mobile-floating-add,body:has(.item-sheet-overlay.open) .mobile-floating-add{display:none}
 .mobile-sheet{position:fixed;margin:auto 0 0;width:100%;max-width:none;border-radius:24px 24px 0 0;padding:22px 20px calc(24px + env(safe-area-inset-bottom))}
}
/* Compact illustrated choices and shared header controls. */
.mobile-sheet-row{gap:12px;min-height:56px;padding:7px 8px}.mobile-sheet-row img{width:38px;height:38px;object-fit:contain;flex:none}
.desktop-header-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:#222;border:1px solid #e2e2de;border-radius:999px;font:600 12px/1.2 Inter,system-ui;cursor:pointer;padding:8px 12px}
.desktop-header-add svg{width:18px;height:18px}
@media(min-width:861px){.topbar-inner--3col .topbar-right{gap:8px;align-items:center;display:flex}.topbar-right .desktop-header-add,.topbar-right .language-button,.topbar-right .fb-btn{height:44px;min-height:44px;margin:0;box-sizing:border-box}.topbar-right .fb-btn{width:44px;padding:0;display:flex;align-items:center;justify-content:center}.topbar-right .fb-btn svg{width:22px;height:22px}.topbar-inner--3col .topbar-right .desktop-header-add,.topbar-inner--3col .topbar-right .fb-btn{display:inline-flex}}
@media(max-width:860px){.desktop-header-add{display:none}}
.search-pill .city-select{display:none}
.location-trigger{width:100%;min-width:0;min-height:44px;padding:0 18px 0 0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23717171' stroke-width='1.5'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") no-repeat right center/14px;border:0;color:inherit;font:600 14px/1.3 Inter,system-ui;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.seg-where.city-set:before{display:none}.search-pill .seg-where.city-set{padding-left:12px}.seg-city-chip{inset:0 6px 0 12px;background:#f3f3f3;color:#222;font-weight:600;padding:0;gap:8px}.city-chip-x{background:transparent!important;color:#555!important}.location-dialog{padding-bottom:20px}.location-dialog h2{margin-bottom:16px}.location-dialog input{width:100%;font:inherit;font-size:16px;border:1px solid #ccc;border-radius:12px;padding:12px;min-height:46px;box-sizing:border-box}.location-options{max-height:45dvh;overflow:auto;margin-top:8px;overscroll-behavior:contain}.location-option{display:flex;flex-direction:column;gap:4px;min-height:48px;width:100%;padding:12px 8px;background:white;border:0;border-radius:10px;text-align:left;color:#222;font:inherit;cursor:pointer}.location-option:hover,.location-option:focus-visible{background:#f3f3f3}.location-option span{color:#626262}.location-back{background:none;border:0;text-decoration:underline;font:inherit;color:#444;padding:14px 8px 8px;cursor:pointer}.location-back[hidden]{display:none}.location-trigger:focus-visible,.location-dialog input:focus-visible{outline:2px solid #ab4829;outline-offset:2px}
@media(max-width:860px){.location-trigger,.seg-city-chip,.location-option,.location-option span,.location-back{font-size:16px}.mobile-sheet-row{font-size:16px}.location-dialog{max-height:85dvh}.location-options{max-height:40dvh}}

.desktop-header-add{padding:4px 12px 4px 4px;gap:8px}.desktop-header-add .category-action-icon{width:30px;height:30px;flex:0 0 30px}

.mobile-sheet-close{border-radius:50%}.mobile-sheet.pointer-open button:focus-visible{outline:none}
/* The location chip sizes to its label; only exceptionally long names truncate. */
.search-pill .seg-where,.search-pill .seg-where.city-set{flex:0 1 auto;width:auto;max-width:60%;min-width:0}
.search-pill .location-trigger{width:max-content;max-width:100%}
.search-pill .seg-city-chip{position:static;inset:auto;background:transparent;min-height:44px;width:max-content;max-width:100%}
.search-pill .seg-where.city-set .location-trigger{display:none}
.search-pill .seg-where.city-set{padding:0 8px 0 12px}
.search-pill .seg-city-chip .city-chip-x{width:30px;height:36px;flex:0 0 30px}
@media(max-width:860px){
 .topbar .category-bar{display:flex}
 .map-wrap{display:block}
 /* Keep the revealed controls' row scrollable, and the category tabs pinned. */
 .topbar{top:calc(-1 * var(--search-h,140px))}
 .topbar.mobile-controls-dismissed{top:calc(-1 * var(--search-h,76px))}
 .rene-ad{bottom:calc(16px + env(safe-area-inset-bottom,0px))}
 .rene-ad-domain{font-size:16px}
}
.search-pill .seg-city-chip .city-chip-x{width:44px;height:44px;flex:0 0 44px;min-width:44px;min-height:44px;font-size:24px!important;line-height:1;border-radius:50%;touch-action:manipulation}
.search-pill .seg-city-chip .city-chip-x:hover{background:#e5e5e5!important}
.search-pill .seg-city-chip .city-chip-x:focus-visible{outline:2px solid #ab4829;outline-offset:-3px}
.mobile-search-dialog{box-sizing:border-box;position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;background:#fff;color:#222;padding:16px;overflow:auto;font:400 18px/1.5 Inter,system-ui,sans-serif;overscroll-behavior:contain}
.mobile-search-dialog::backdrop{background:#fff}
.mobile-search-form{display:flex;align-items:center;gap:10px;margin:0}
.mobile-search-back{display:flex;align-items:center;justify-content:center;background:none;border:0;color:#111;width:44px;height:52px;flex:none;padding:8px;cursor:pointer}
.mobile-search-back svg{width:26px;height:26px}
.mobile-search-field{min-width:0;flex:1;display:flex;align-items:center;gap:8px;min-height:56px;padding:4px 8px 4px 16px;border:1px solid #d4d4d4;border-radius:999px}
.mobile-search-field>svg{width:24px;height:24px;color:#626262;flex:none}
.mobile-search-field #mobileSearchInput{font:400 20px/1.4 Inter,system-ui;width:0;min-width:0;flex:1;border:0;background:none;color:#222;outline:none;padding:8px 0}
#mobileSearchInput::-webkit-search-cancel-button{appearance:none}
.mobile-search-clear{flex:none;width:44px;height:44px;border:0;border-radius:50%;font:28px/1 Inter,system-ui;background:#f3f3f3;color:#555;cursor:pointer}.mobile-search-clear[hidden]{display:none}
.mobile-search-location{display:flex;align-items:center;gap:10px;margin:12px 0 28px 54px;color:#626262}
.mobile-search-location-button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;border-radius:999px;padding:10px 16px;min-height:44px;background:#f3f3f3;color:#222;font:600 18px/1.4 Inter,system-ui;cursor:pointer}
.mobile-search-section-title{font-size:16px;color:#626262;margin:24px 0 8px}
.mobile-search-recent{display:flex;align-items:center;gap:14px;width:100%;min-height:52px;text-align:left;border:0;border-radius:12px;background:white;color:#222;padding:10px;font:400 18px/1.5 Inter,system-ui;cursor:pointer}.mobile-search-recent:hover{background:#f3f3f3}.mobile-search-recent svg{width:24px;height:24px;color:#626262;flex:none}.mobile-search-recent span{min-width:0;overflow-wrap:anywhere}
.mobile-search-popular{display:flex;flex-wrap:wrap;gap:10px}.mobile-search-popular button{border:1px solid #d4d4d4;border-radius:999px;background:white;color:#222;padding:10px 14px;min-height:44px;font:400 18px/1.4 Inter,system-ui;cursor:pointer}
.mobile-search-result{margin-top:16px;background:#111;color:#fff;border:0;border-radius:999px;padding:12px 20px;font:500 18px/1.4 Inter,system-ui;min-height:48px;cursor:pointer}
.mobile-search-dialog button:focus-visible{outline:2px solid #ab4829;outline-offset:2px}.mobile-search-field:focus-within{border-color:#555}
@media(max-width:860px){
 body:has(#mobileSearchDialog[open]) .rene-ad{display:none!important}
}
.location-country-tabs{display:flex;align-items:center;gap:10px;overflow-x:auto;flex-wrap:nowrap;padding:14px 2px 10px;scrollbar-width:none;overscroll-behavior-x:contain}
.location-country-tabs::-webkit-scrollbar{display:none}
.location-country-tab{display:inline-flex;align-items:center;gap:8px;flex:none;white-space:nowrap;min-height:44px;padding:8px 14px;background:white;border:1px solid #d4d4d4;border-radius:999px;color:#222;font:500 16px/1.4 Inter,system-ui;cursor:pointer}
.location-country-tab[aria-pressed=true]{background:#f3f3f3;border-color:#222;box-shadow:inset 0 0 0 1px #222}
.location-country-tab:focus-visible{outline:2px solid #ab4829;outline-offset:2px}
.search-pill #segCityName{border:0;background:none;color:inherit;font-family:inherit;font-weight:600;line-height:1.3;padding:0;text-align:left;pointer-events:auto;cursor:pointer}
.search-pill #segCityName:focus-visible{outline:2px solid #ab4829;outline-offset:2px}

.search-pill #segCityName{font-size:inherit}
@media(max-width:860px){.search-pill #searchInput,.search-pill .location-trigger,.search-pill .seg-city-chip,.search-pill #segCityName{font-size:18px!important}}
.mobile-search-dialog[open]{display:flex;flex-direction:column;overflow:hidden;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.mobile-search-dialog .mobile-search-form,.mobile-search-dialog .mobile-search-location{flex:none}
.mobile-search-suggestions{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:12px}
.mobile-search-footer{flex:none;display:flex;justify-content:center;padding-top:16px;background:white}
.mobile-search-footer .mobile-search-result{width:100%;max-width:420px;min-height:56px;margin:0;padding:14px 24px;font-size:20px;text-align:center}
.mobile-search-location-chip{display:inline-flex;align-items:center;max-width:100%;min-width:0;border-radius:999px;background:#f3f3f3}
.mobile-search-location-chip .mobile-search-location-button{min-width:0;background:none;padding-right:8px}
.mobile-search-location-clear{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-width:44px;height:44px;margin-right:4px;border:0;border-radius:50%;background:none;color:#555;font:28px/1 Inter,system-ui;cursor:pointer;touch-action:manipulation}
.mobile-search-location-clear:hover{background:#e5e5e5}.mobile-search-location-clear[hidden]{display:none}
/* Existing site controls, presented as one compact menu. */
.site-menu .site-menu-control{display:flex;align-items:center;justify-content:flex-start;gap:12px;box-sizing:border-box;width:100%;min-height:48px;height:auto;margin:10px 0 0;padding:8px 16px;border:1px solid #deded9;border-radius:999px;background:white;color:#222;text-decoration:none;font:600 16px/1.4 Inter,system-ui;cursor:pointer;transform:none}
.site-menu .site-menu-control svg{width:22px;height:22px;flex:none}
.site-menu .site-menu-control.desktop-header-add{padding-left:8px}
.site-menu .site-menu-control .category-action-icon{width:32px;height:32px;flex:0 0 32px}
.site-menu .site-menu-control:hover{background:#f5f5f3}
.mobile-search-dialog{padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.mobile-search-dialog .mobile-search-form{gap:8px;align-items:center}
.mobile-search-dialog .mobile-search-back{width:44px;height:56px;padding:8px}
.mobile-search-dialog .mobile-search-field{min-height:56px;padding:4px 6px 4px 14px;gap:8px}
.mobile-search-dialog .mobile-search-location{margin:12px 0 24px 52px;min-width:0}
.mobile-search-dialog .mobile-search-location-chip{max-width:100%}
.mobile-search-dialog .mobile-search-location-button{padding:10px 14px;min-height:44px;max-width:100%}
.mobile-search-dialog .mobile-search-footer{padding-top:16px}
.mobile-search-dialog .mobile-search-footer .mobile-search-result{max-width:none}
/* Match the existing Add control above the cards on desktop. */
@media(min-width:861px){
 .topbar-right .desktop-header-add,.topbar-right .language-button,.topbar-right .fb-btn{height:40px;min-height:40px;box-sizing:border-box}
 .topbar-right .desktop-header-add{padding:4px 9px 4px 4px;gap:6px;font-size:11.5px;line-height:1}
 .topbar-right .language-button{padding:4px 9px;gap:6px;font-size:11.5px;line-height:1}
 .topbar-right .fb-btn{width:40px;min-width:40px;padding:0}
}
.site-menu-footer{display:flex;align-items:center;gap:8px;margin-top:16px;overflow-x:auto;padding:0 0 2px;scrollbar-width:none}
.site-menu-footer::-webkit-scrollbar{display:none}
.site-menu .site-menu-footer .site-menu-control{width:auto;flex:0 0 auto;min-height:44px;margin:0;padding:8px 10px;white-space:nowrap}
.site-menu .site-menu-footer .fb-btn{width:44px;height:44px;min-width:44px;padding:0;justify-content:center}
.site-menu .site-menu-footer{gap:16px;min-height:44px}
.site-menu .site-menu-footer .contact-cta-btn{border:0;background:none;border-radius:0;padding:0;min-height:44px;font-weight:400;color:#626262;text-decoration:underline;text-underline-offset:3px}
.site-menu .site-menu-footer .fb-btn{margin-left:auto;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:#fff;box-shadow:none;justify-content:center}

.mobile-sheet:focus{outline:none}
@media(max-width:860px){
 .topbar #categoryBar{justify-content:flex-start;padding:4px 16px 0;gap:4px}
 .topbar #categoryBar::before,.topbar #categoryBar::after{display:none;content:none}
 .topbar #categoryBar .cat-btn{width:max-content;min-width:68px;flex:0 0 auto;padding:6px 10px 10px;gap:6px;box-sizing:border-box}
 .topbar #categoryBar .cat-btn .cat-label{font-size:14px!important;font-weight:500;line-height:normal}
}
@media(max-width:860px){
 .map-expand-btn,.layout.map-expanded .map-expand-btn{display:flex;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%;align-items:center;justify-content:center}
 .map-expand-btn svg{width:22px;height:22px}
}
.country-view-prompt{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:44px;padding:12px 20px;border:1px solid #deded9;border-radius:999px;background:#fff;color:#222;font:600 16px/1.35 Inter,system-ui,sans-serif;text-align:center;cursor:pointer}
.country-view-prompt[hidden],body.property-open .country-view-prompt{display:none}
.country-view-prompt:hover{background:#f5f5f3}.country-view-prompt:focus-visible{outline:2px solid #ab4829;outline-offset:3px}

.country-empty-state{display:flex;justify-content:center;padding:48px 16px 28px}.country-empty-state[hidden],.listing-list .no-results[hidden]{display:none}
@media(max-width:860px){
 .topbar-inner--3col .topbar-right{gap:8px}
 .topbar-inner--3col .topbar-right .desktop-header-add{display:inline-flex;height:44px;min-height:44px;box-sizing:border-box;padding:4px 12px 4px 4px;gap:7px;font-size:16px}
}
