/* Search-only Figma 422:1319 geometry; licensed global Gotham, no font binaries. */
/* Shared notification flow: desktop uses the existing hero clearance;
   responsive wrapped notifications retain natural flow to avoid overlap. */
.pre-listing-prototype .pre-search-notifications{display:flow-root;width:100%}
@media(min-width:1101px){.pre-listing-prototype .pre-search-notifications{height:0;overflow:visible}}
.pre-listing-prototype .pre-search-status-initial{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.pre-listing-prototype .pre-search-status:not(.pre-search-status-initial),
.pre-listing-prototype .pre-query-error:not([hidden]){background:#fff;padding:8px 16px;margin:8px 0 0}

.pre-listing-prototype .pre-search-panel{display:flex;flex-direction:column;gap:29px;width:1166px;max-width:100%;min-height:224px;padding:43px 51px 11px;background:#fff;border-radius:3px;box-shadow:none;color:#3B3835;font-family:var(--e-global-typography-text-font-family,Gotham),sans-serif;font-weight:400;box-sizing:border-box}
.pre-listing-prototype .pre-search-panel .e-con-inner{padding:0;gap:inherit;width:100%;max-width:none}
.pre-listing-prototype .pre-search-main{display:flex;flex-direction:row;align-items:center;gap:20px;min-height:77px;padding:15px 14.5px 15px 22px;border:1px solid #000;border-radius:3px;width:100%}
.pre-listing-prototype .pre-search-main>.elementor-widget:first-child{flex:1;min-width:0;padding-left:25px;position:relative}
.pre-listing-prototype .pre-search-main>.elementor-widget:first-child:before{content:'';position:absolute;left:0;top:50%;width:15px;height:15px;transform:translateY(-50%);background:url('sale-search-magnifier.svg') center/15px 15px no-repeat}
.pre-listing-prototype .pre-search-main>.elementor-widget:last-child{width:202px;flex:0 0 202px}
.pre-listing-prototype .pre-search-submit{width:202px;height:45px;padding:0;border:0;border-radius:3px;background:#3B3835;color:#fff;font:400 14px/1.2 var(--e-global-typography-text-font-family,Gotham),sans-serif}
.pre-listing-prototype .pre-search-lower{display:grid;grid-template-columns:165fr 165fr 165fr 193fr 193fr;column-gap:46px;row-gap:20px;padding:0;width:100%;align-items:start}
.pre-listing-prototype .pre-search-lower>.e-con{padding:0;gap:7px;min-width:0;width:100%}
.pre-listing-prototype .pre-search-lower .elementor-heading-title{font:400 14px/16.8px var(--e-global-typography-text-font-family,Gotham),sans-serif;color:#3B3835;margin:0}
.pre-listing-prototype .pre-search-panel .facetwp-dropdown,.pre-listing-prototype .pre-rooms summary{appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;border:0;border-radius:0;background-color:transparent;background-image:none;background-repeat:no-repeat;background-position:right center;min-height:24px;height:24px;margin:0;padding:0 15px 0 0;font-family:inherit;font-size:16px;font-weight:500;line-height:24px;color:#3B3835;width:100%;cursor:pointer}
.pre-listing-prototype .pre-search-unit select:has(option:checked:not([value=''])){color:#68839A;font-weight:700}
/* One editable community field; native select remains FacetWP's value source. */
.pre-listing-prototype .pre-community-combobox{position:relative;width:100%}
body .pre-listing-prototype .pre-search-panel input.pre-community-input{display:block;box-sizing:border-box;width:100%;height:36px;min-height:36px;margin:0;padding:6px 8px 6px 7px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#3B3835;font:400 16px/24px var(--e-global-typography-text-font-family,Gotham),sans-serif}
.pre-listing-prototype .pre-search-panel input.pre-community-input:focus{border:0!important;outline:none!important;box-shadow:none!important}
.pre-listing-prototype .pre-community-input{border:0!important;outline:none!important;box-shadow:none!important}
.pre-listing-prototype .pre-community-input::placeholder{color:#3B3835;opacity:1}
.pre-listing-prototype .pre-query-error{color:#a13232}
.pre-listing-prototype .pre-query-error[hidden]{display:none!important}
.pre-listing-prototype .pre-community-options{position:absolute;top:100%;left:0;width:100%;min-width:0;max-height:240px;overflow:auto;z-index:30;background:#fff;border:1px solid #D9D9D9;box-shadow:0 4px 10px #0002;font-size:16px;line-height:24px}
.pre-listing-prototype .pre-community-options>div{padding:8px 12px;overflow-wrap:anywhere}
.pre-listing-prototype .pre-community-options [role=option]{cursor:pointer}
.pre-listing-prototype .pre-community-options [role=option]:hover,.pre-listing-prototype .pre-community-options [aria-selected=true]{background:#edf1f4}
.pre-listing-prototype .pre-community-options[hidden],.pre-listing-prototype .facetwp-facet-pre_community select[hidden]{display:none!important}
.pre-listing-prototype .pre-rooms{position:relative;width:100%}
.pre-listing-prototype .pre-rooms summary{list-style:none;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pre-listing-prototype .pre-rooms summary::-webkit-details-marker{display:none}
.pre-listing-prototype .pre-rooms-popover{box-sizing:border-box;position:absolute;top:100%;left:0;z-index:30;width:100%;min-width:0;max-width:calc(100vw - 40px);background:white;border:1px solid #D9D9D9;padding:12px;display:grid;gap:12px;box-shadow:0 4px 10px #0002}
.pre-listing-prototype .pre-rooms-popover label{display:grid;gap:6px;min-width:0;font-size:14px;line-height:20px}
.pre-listing-prototype .pre-search-panel .pre-rooms-popover .facetwp-dropdown{height:32px;min-height:32px;padding:3px 22px 3px 8px;border:1px solid #D9D9D9;background-color:#fff;background-position:right 8px center;font-size:14px;font-weight:400}
/* Shared approved borderless selected/open dropdowns on Home and Sale. */
/* Facet wrappers need not be Elementor widgets. Override theme focus paint only. */
.pre-listing-prototype .pre-search-panel :is(select.facetwp-dropdown:focus,select.facetwp-dropdown:focus-visible,.pre-rooms summary:focus,.pre-rooms summary:focus-visible,.pre-rooms[open]>summary){border:0!important;outline:none!important;box-shadow:none!important}
/* Outrank Hello/Elementor form fields, including their focus state, only here.
   Keep a 24px native keyboard/pointer target; paint the 3px track separately. */
.pre-listing-prototype .pre-search-panel .elementor-widget input[type=range].pre-price-slider{appearance:none;-webkit-appearance:none;position:relative;top:-2.796875px;display:block;box-sizing:border-box;width:100%;max-width:100%;height:24px;min-height:0;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;cursor:pointer}
.pre-listing-prototype .pre-search-panel input[type=range].pre-price-slider::-webkit-slider-runnable-track{box-sizing:border-box;width:100%;height:3px;background:#D9D9D9;border:0;border-radius:0;box-shadow:none}
.pre-listing-prototype .pre-search-panel input[type=range].pre-price-slider::-moz-range-track{box-sizing:border-box;width:100%;height:3px;background:#D9D9D9;border:0;border-radius:0;box-shadow:none}
.pre-listing-prototype .pre-search-panel input[type=range].pre-price-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:8px;height:8px;margin-top:-2.5px;border:1px solid white;border-radius:50%;background:#68839A;box-shadow:none}
.pre-listing-prototype .pre-search-panel input[type=range].pre-price-slider::-moz-range-thumb{box-sizing:border-box;width:8px;height:8px;border:1px solid white;border-radius:50%;background:#68839A;box-shadow:none}
.pre-listing-prototype .pre-price-value{position:relative;top:-3.796875px;display:block;font-size:14px;line-height:16.8px;color:#3B3835;white-space:nowrap}
.pre-listing-prototype .pre-search-panel>.elementor-widget:has(.pre-price-native){display:none}
.pre-listing-prototype .pre-price-native[hidden]{display:none!important}
.pre-listing-prototype .pre-search-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.pre-listing-prototype .pre-search-actions p{margin:0;font-size:14px}
.pre-listing-prototype .pre-search-reset{background:white;color:#3B3835;border:1px solid #D9D9D9;padding:8px 14px;font:inherit}
.pre-listing-prototype button:disabled{opacity:.55;cursor:wait}
.pre-listing-prototype :is(button,input,select,summary,.fs-label-wrap):focus-visible{outline:2px solid #68839A;outline-offset:4px}
@media(max-width:1100px){.pre-listing-prototype .pre-search-panel{padding:30px;min-height:224px;height:auto}.pre-listing-prototype .pre-search-lower{column-gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.pre-listing-prototype .pre-search-panel{padding:20px}.pre-listing-prototype .pre-search-main{flex-wrap:wrap;padding:12px}.pre-listing-prototype .pre-search-main>.elementor-widget:first-child{flex-basis:100%}.pre-listing-prototype .pre-search-main>.elementor-widget:last-child,.pre-listing-prototype .pre-search-submit{width:100%;flex-basis:100%}.pre-listing-prototype .pre-search-lower{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}}
/* Author display rules must not repaint stale results after transport failure. */
.pre-listing-prototype .facetwp-template[hidden],
.pre-listing-prototype .facetwp-counts[hidden],
.pre-listing-prototype .facetwp-pager[hidden]{display:none!important}
.pre-listing-prototype .facetwp-facet{margin:0}.pre-listing-prototype .facetwp-dropdown{width:100%;min-height:45px;background:#fff;color:var(--e-global-color-primary);border:1px solid #8b8681;border-radius:0;padding:10px 16px;font-family:inherit;font-size:16px}.pre-listing-prototype .facetwp-template{display:flex;flex-direction:column;gap:30px}.pre-listing-prototype .facetwp-pager{text-align:center;margin-top:30px}.pre-listing-prototype .facetwp-page{padding:8px;display:inline-block}.pre-listing-prototype [aria-busy=true]{opacity:.65}.pre-listing-prototype .pre-listing-photo img{width:100%;height:338px;object-fit:cover}.pre-listing-prototype .facetwp-template>.elementor{width:100%}@media(max-width:767px){.pre-listing-prototype .pre-listing-photo img{height:auto;aspect-ratio:583/338}}

/* Rotate the authentic upward artwork, not the native control.
   :open is the browser's actual picker state, never a focus/click estimate.
   Older engines retain a static upward glyph; details still animates. */
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown{position:relative;--pre-chevron:url("home-search-chevron.svg");--pre-chevron-right:0px;--pre-chevron-top:calc(50% - 4.796875px)}
.pre-listing-prototype .pre-search-panel .facetwp-facet-pre_property_type{--pre-chevron:url("home-search-type-chevron.svg")}
.pre-listing-prototype .pre-search-panel .pre-rooms-popover .facetwp-type-dropdown{--pre-chevron-right:8px;--pre-chevron-top:50%}
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown>select.facetwp-dropdown,
.pre-listing-prototype .pre-search-panel .pre-rooms>summary{background-image:none!important}
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown::after,
.pre-listing-prototype .pre-search-panel .pre-rooms>summary::after{content:"";position:absolute;right:var(--pre-chevron-right,0px);top:var(--pre-chevron-top,calc(50% - 4.796875px));width:9.66430664px;height:5.79858398px;background:var(--pre-chevron,url("home-search-chevron.svg")) center/100% 100% no-repeat;pointer-events:none;transform:translateY(-50%) rotate(0deg);transform-origin:center;transition:transform 180ms ease}
.pre-listing-prototype .pre-search-panel .pre-rooms[open]>summary::after{transform:translateY(-50%) rotate(180deg)}
@supports selector(select:open){
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown:has(>select:open)::after{transform:translateY(-50%) rotate(180deg)}
}
@media(prefers-reduced-motion:reduce){
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown::after,
.pre-listing-prototype .pre-search-panel .pre-rooms>summary::after{transition:none}
}
@media(forced-colors:active){
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown::after{display:none}
.pre-listing-prototype .pre-search-panel .facetwp-type-dropdown>select.facetwp-dropdown{appearance:auto;-webkit-appearance:auto}
.pre-listing-prototype .pre-search-panel .pre-rooms>summary::after{background:none;border-top:1px solid ButtonText;border-left:1px solid ButtonText;width:6px;height:6px;transform:translateY(-25%) rotate(45deg)}
.pre-listing-prototype .pre-search-panel .pre-rooms[open]>summary::after{transform:translateY(-75%) rotate(225deg)}
}
