/* V5.1 catalogue, category, map and saved-search pages + the shared listing card.
   Part 1 is design-references/V5.1/assets/css/ev-v4.css (the design's own catalogue/map rules) scoped to .ev-v51-cat;
   part 2 fits the live markup and data into it. */

/* ---- 1. design rules (ev-v4.css, scoped) ---- */
.ev-v51-cat{--orange:#ff6b00;--orange-dark:#db5600;--orange-pale:#fff3e9;--navy:#16243a;--text:#182338;--muted:#69788b;--border:#e4e9ef;--bg:#f6f8fb;--white:#fff;--radius:16px;--shadow:0 12px 35px rgba(19,33,54,.07)}
.ev-v51-cat h1,.ev-v51-cat h2,.ev-v51-cat h3,.ev-v51-cat p{margin-top:0}
.ev-v51-cat h1{font-size:clamp(25px,2.7vw,39px);letter-spacing:-.035em;line-height:1.15}
.ev-v51-cat h2{font-size:22px;letter-spacing:-.025em}
.ev-v51-cat h3{font-size:16px}
.ev-v51-cat p{color:var(--muted)}
.ev-v51-cat .visuallyhidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ev-v51-cat .ico{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px;flex:0 0 auto}
.ev-v51-cat .textlink:hover{color:var(--orange)}
.ev-v51-cat .primarybtn,.ev-v51-cat .outlinebtn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;border:1px solid var(--orange);padding:11px 17px;font-weight:800;transition:background .15s,color .15s,transform .15s;white-space:nowrap}
.ev-v51-cat .primarybtn{background:var(--orange);color:white;box-shadow:0 5px 12px #ff6b0026}
.ev-v51-cat .primarybtn:hover{background:var(--orange-dark);color:white}
.ev-v51-cat .outlinebtn{background:#fff;color:var(--orange)}
.ev-v51-cat .outlinebtn:hover{background:var(--orange-pale)}
.ev-v51-cat .smallbtn{padding:9px 12px;font-size:12px}
.ev-v51-cat .iconbutton{border:0;background:transparent;padding:9px;display:inline-grid;place-items:center;color:var(--muted)}
.ev-v51-cat .page-space{padding-top:28px;padding-bottom:55px}
.ev-v51-cat .breadcrumbs{font-size:12px;color:#8090a1;margin-bottom:26px}
.ev-v51-cat .breadcrumbs a:hover{color:var(--orange)}
.ev-v51-cat .section-intro{max-width:750px;margin-bottom:30px}
.ev-v51-cat .section-intro p{font-size:15px}
.ev-v51-cat .eyebrow{display:block;font-weight:900;font-size:10px;letter-spacing:.14em;color:var(--orange);margin-bottom:8px}
.ev-v51-cat .muted{color:var(--muted)}
.ev-v51-cat .mini{font-size:12px}
.ev-v51-cat .softpill{border:1px solid #ffddc4;color:#bd5000;background:#fff6f0;border-radius:100px;padding:5px 10px;font-weight:700;font-size:11px}
.ev-v51-cat .textlink{font-size:12px;font-weight:800;color:var(--orange);border:0;background:transparent;padding:5px;cursor:pointer}
.ev-v51-cat .label{display:block;color:#4a5b70;font-size:12px;font-weight:800;margin:10px 0 6px}
.ev-v51-cat .category-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}
.ev-v51-cat .category-picker,.ev-v51-cat .sideinfo,.ev-v51-cat .filterpanel{border:1px solid var(--border);background:white;border-radius:var(--radius);box-shadow:var(--shadow)}
.ev-v51-cat .category-picker{overflow:hidden}
.ev-v51-cat .picker-head{padding:20px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.ev-v51-cat .picker-head h2{margin:0}
.ev-v51-cat .picker-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:375px}
.ev-v51-cat .picker-columns section{padding:18px 10px;border-right:1px solid var(--border)}
.ev-v51-cat .picker-columns section:last-child{border:0}
.ev-v51-cat .picker-columns h3{font-size:12px;color:var(--muted);padding-left:11px}
.ev-v51-cat .picklist{display:grid;gap:4px}
.ev-v51-cat .picklist button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:transparent;padding:12px;border-radius:9px;text-align:left;font-weight:700;line-height:1.3}
.ev-v51-cat .picklist button:hover{background:#fff9f5}
.ev-v51-cat .picklist button.selected{background:var(--orange-pale);color:var(--orange)}
.ev-v51-cat .picklist button span:last-child{color:#a9b2bb}
.ev-v51-cat .selected-path{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;background:#fcfdff;border-top:1px solid var(--border)}
.ev-v51-cat .selected-path small{display:block;color:var(--muted)}
.ev-v51-cat .sideinfo{overflow:hidden}
.ev-v51-cat .sideinfo>img{width:100%;height:160px;object-fit:cover}
.ev-v51-cat .sideinfo h3,.ev-v51-cat .sideinfo p{margin:14px 16px 6px}
.ev-v51-cat .sideinfo p{font-size:12px}
.ev-v51-cat .checkrow{margin:8px 16px;padding:7px;background:#fff7f0;border-radius:7px;font-size:12px}
.ev-v51-cat .category-extras{margin-top:45px}
.ev-v51-cat .tilegrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.ev-v51-cat .category-image{border:1px solid var(--border);border-radius:14px;overflow:hidden}
.ev-v51-cat .category-image img{width:100%;height:116px;object-fit:cover}
.ev-v51-cat .category-image strong,.ev-v51-cat .category-image span{display:block;margin:8px 12px}
.ev-v51-cat .category-image span{color:var(--orange);font-size:11px;font-weight:800}
.ev-v51-cat .results-header{display:flex;justify-content:space-between;align-items:center;gap:20px}
.ev-v51-cat .results-header h1{margin-bottom:8px}
.ev-v51-cat .searchbar{margin:14px 0 24px;background:#fff;border:1px solid var(--border);padding:8px;border-radius:14px;box-shadow:var(--shadow)}
.ev-v51-cat .searchbar form{display:flex;align-items:center;gap:8px}
.ev-v51-cat .searchbar input{flex:1;min-width:0;border:0;outline:none;padding:12px;font-size:14px}
.ev-v51-cat .search-content{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start}
.ev-v51-cat .filterpanel{box-shadow:none;position:sticky;top:96px;max-height:calc(100vh - 110px);overflow:auto}
.ev-v51-cat .filter-head{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border)}
.ev-v51-cat .filter-head h2{font-size:17px;margin:0}
.ev-v51-cat .filtersec{padding:15px;border-bottom:1px solid var(--border)}
.ev-v51-cat .filtersec h3{font-size:13px;margin-bottom:12px}
.ev-v51-cat .filtersec input:not([type=radio]):not([type=checkbox]),.ev-v51-cat .filtersec select,.ev-v51-cat .mapfilters input,.ev-v51-cat .mapfilters select,.ev-v51-cat .dialog textarea{border:1px solid #dce3eb;border-radius:9px;padding:10px;width:100%;min-width:0;outline-color:var(--orange)}
.ev-v51-cat .inputpair{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ev-v51-cat .toggle-chips{display:flex;flex-wrap:wrap;gap:5px}
.ev-v51-cat .toggle-chips label,.ev-v51-cat .chip{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;background:#f5f7fa;border-radius:8px;font-size:11px;cursor:pointer}
.ev-v51-cat .smalltree details{border-bottom:1px solid var(--border);padding:8px 0}
.ev-v51-cat .smalltree summary{cursor:pointer;font-weight:800}
.ev-v51-cat .smalltree label{display:block;margin:9px 0 8px 12px;font-size:12px;cursor:pointer}
.ev-v51-cat .chipgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
.ev-v51-cat .chip{padding:9px}
.ev-v51-cat .check{display:flex;gap:7px;align-items:start;font-size:12px;margin:8px 0}
.ev-v51-cat .filter-actions{padding:14px}
.ev-v51-cat .filter-actions button{width:100%}
.ev-v51-cat .result-column{min-width:0}
.ev-v51-cat .results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border-bottom:1px solid var(--border);padding:13px 0 15px;margin-bottom:12px}
.ev-v51-cat .results-toolbar span{color:var(--muted);font-size:12px}
.ev-v51-cat .toolbar-actions{display:flex;align-items:center;gap:8px}
.ev-v51-cat .toolbar-actions select{border:1px solid var(--border);padding:10px 5px;border-radius:9px;background:white;max-width:170px}
.ev-v51-cat .segmented{display:flex;background:#f2f4f8;padding:3px;border-radius:9px;gap:2px}
.ev-v51-cat .segmented button{background:transparent;border:0;border-radius:7px;padding:8px 10px;white-space:nowrap}
.ev-v51-cat .segmented button.active{background:white;color:var(--orange);box-shadow:0 3px 8px #0001;font-weight:800}
.ev-v51-cat .mobile-filter-btn{display:none}
.ev-v51-cat .active-filters{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 13px}
.ev-v51-cat .filterchip{font-size:11px;background:#fff1e8;color:#bf580a;border-radius:15px;padding:4px 10px}
.ev-v51-cat .resultgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ev-v51-cat .property-card{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff;transition:transform .15s,box-shadow .15s}
.ev-v51-cat .property-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.ev-v51-cat .property-img{display:block;position:relative;height:164px;overflow:hidden}
.ev-v51-cat .property-img img{width:100%;height:100%;object-fit:cover}
.ev-v51-cat .property-badge{position:absolute;top:10px;left:10px;background:#ff6b00;color:white;border-radius:8px;padding:4px 8px;font-size:10px;font-weight:900}
.ev-v51-cat .fav-icon{position:absolute;top:9px;right:9px;border:0;border-radius:100%;background:white;width:32px;height:32px;display:grid;place-items:center;font-size:21px;color:#d36a2c;box-shadow:0 2px 12px #0003}
.ev-v51-cat .fav-icon.saved{background:#fff0e3;color:#ff6b00}
.ev-v51-cat .property-content{padding:13px}
.ev-v51-cat .property-content .location{display:block;color:#8996a6;font-size:11px;margin-bottom:5px}
.ev-v51-cat .property-content h3{font-size:14px;min-height:41px;line-height:1.35;margin-bottom:10px}
.ev-v51-cat .property-content h3 a:hover{color:var(--orange)}
.ev-v51-cat .property-content .price{font-size:18px;font-weight:900;color:#12243c;white-space:nowrap}
.ev-v51-cat .property-content .attributes{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#607288;border-top:1px solid var(--border);margin-top:11px;padding-top:10px}
.ev-v51-cat .property-content .store-name{display:block;margin-top:9px;color:#a06a3e;font-size:10px;font-weight:700}
.ev-v51-cat .resultgrid.list-view{display:block}
.ev-v51-cat .resultgrid.list-view .property-card{display:flex;margin-bottom:12px}
.ev-v51-cat .resultgrid.list-view .property-img{width:230px;height:180px;flex:0 0 230px}
.ev-v51-cat .resultgrid.list-view .property-content{flex:1}
.ev-v51-cat .resultgrid.list-view .property-content h3{min-height:0}
.ev-v51-cat .pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:25px}
.ev-v51-cat .pagination button{background:white;border:1px solid var(--border);border-radius:8px;padding:10px}
.ev-v51-cat .empty-state{text-align:center;padding:40px 10px;background:#fff7f1;border-radius:15px}
.ev-v51-cat .empty-state[hidden]{display:none}
.ev-v51-cat .map-shell{height:calc(100vh - 107px);min-height:610px;display:flex;flex-direction:column}
.ev-v51-cat .map-top{padding:12px 24px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-shrink:0}
.ev-v51-cat .map-title h1{font-size:20px;margin:0}
.ev-v51-cat .map-title p{font-size:12px;margin:0}
.ev-v51-cat .map-tools{display:flex;align-items:center;gap:8px}
.ev-v51-cat .map-tools>.outlinebtn{padding:9px 12px}
.ev-v51-cat .map-stage{display:grid;grid-template-columns:230px minmax(0,1fr) 300px;min-height:0;flex:1;border-top:1px solid var(--border);position:relative}
.ev-v51-cat .mapfilters,.ev-v51-cat .map-list{background:white;overflow-y:auto}
.ev-v51-cat .mapfilters{padding:14px;border-right:1px solid var(--border)}
.ev-v51-cat .mapfilters .filter-head{padding:0 0 13px}
.ev-v51-cat .mapfilters input,.ev-v51-cat .mapfilters select{margin-bottom:13px}
.ev-v51-cat .mapfilters .primarybtn{width:100%;font-size:12px;padding:10px}
.ev-v51-cat .map-canvas{min-width:0;position:relative;overflow:hidden;background:linear-gradient(135deg,#b6d9e2 0 32%,#e4e8cb 32% 53%,#c6dcb8 53% 100%)}
.ev-v51-cat .map-floating{position:absolute;left:15px;top:16px;display:flex;gap:6px;flex-wrap:wrap;max-width:calc(100% - 30px)}
.ev-v51-cat .map-floating button,.ev-v51-cat .map-zoom button{border:1px solid #dedede;background:#fff;box-shadow:0 2px 8px #0001;border-radius:8px;padding:8px 11px;font-weight:800}
.ev-v51-cat .map-zoom{position:absolute;right:16px;bottom:44px;display:grid;gap:5px}
.ev-v51-cat .map-popover{position:absolute;top:48%;left:48%;background:#fff;padding:14px;border:1px solid var(--border);border-radius:13px;box-shadow:var(--shadow);width:200px;z-index:2}
.ev-v51-cat .map-popover[hidden]{display:none}
.ev-v51-cat .maplist-head{padding:18px;border-bottom:1px solid var(--border)}
.ev-v51-cat .maplist-head h2{font-size:16px;margin:0}
.ev-v51-cat .maplist-head span{font-size:12px;color:var(--muted)}
.ev-v51-cat .map-list{border-left:1px solid var(--border)}
.ev-v51-cat .maplist-items{padding:9px}
.ev-v51-cat .mapitem{display:flex;gap:10px;padding:9px;border:1px solid transparent;border-radius:10px;margin-bottom:5px}
.ev-v51-cat .mapitem:hover,.ev-v51-cat .mapitem.selected{background:#fff6ed;border-color:#ffcca9}
.ev-v51-cat .mapitem img{width:90px;height:83px;object-fit:cover;border-radius:9px}
.ev-v51-cat .mapitem div{min-width:0}
.ev-v51-cat .mapitem h3{font-size:12px;margin-bottom:5px;line-height:1.35}
.ev-v51-cat .mapitem strong{font-size:13px}
.ev-v51-cat .mapitem small{display:block;color:var(--muted)}
.ev-v51-cat .map-mobile-tabs{display:none}
.ev-v51-cat .resultgrid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.ev-v51-cat .dialog{border:0;border-radius:18px;max-width:490px;width:calc(100vw - 35px);box-shadow:0 30px 100px #0019;padding:25px}
.ev-v51-cat .dialog::backdrop{background:#0915259e}
.ev-v51-cat .dialog-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:28px}
.ev-v51-cat .dialog-body textarea{margin:8px 0 16px}
@media(max-width:1180px){.ev-v51-cat .map-stage{grid-template-columns:185px minmax(0,1fr) 260px}
.ev-v51-cat .resultgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ev-v51-cat .tilegrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.ev-v51-cat .category-layout{grid-template-columns:1fr}
.ev-v51-cat .sideinfo{display:none}
.ev-v51-cat .map-stage{grid-template-columns:180px minmax(0,1fr) 245px}}
@media(max-width:760px){.ev-v51-cat .page-space{padding-top:18px;padding-bottom:35px}
.ev-v51-cat .breadcrumbs{margin-bottom:18px}
.ev-v51-cat .section-intro{margin-bottom:20px}
.ev-v51-cat .section-intro h1{font-size:28px}
.ev-v51-cat .picker-columns{grid-template-columns:1fr;min-height:0}
.ev-v51-cat .picker-columns section{border-right:0;border-bottom:1px solid var(--border);padding:12px}
.ev-v51-cat .picklist{display:flex;overflow-x:auto;padding-bottom:6px}
.ev-v51-cat .picklist button{min-width:max-content;border:1px solid #eee;font-size:12px}
.ev-v51-cat .selected-path{flex-direction:column;align-items:stretch}
.ev-v51-cat .tilegrid{grid-template-columns:repeat(2,1fr)}
.ev-v51-cat .category-image img{height:95px}
.ev-v51-cat .searchbar form{flex-wrap:wrap}
.ev-v51-cat .searchbar input{flex:1 1 calc(100% - 30px)}
.ev-v51-cat .searchbar .primarybtn{flex:1}
.ev-v51-cat .searchbar .ai-btn{flex:1}
.ev-v51-cat .search-content{display:block}
.ev-v51-cat .filterpanel{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:40;max-height:88vh;box-shadow:0 -15px 35px #081c3250;border-radius:20px 20px 0 0;display:none}
.ev-v51-cat .filterpanel.open{display:block}
.ev-v51-cat .mobile-filter-btn{display:inline-flex}
.ev-v51-cat .results-header .softpill{display:none}
.ev-v51-cat .results-toolbar{align-items:start;flex-direction:column;gap:9px}
.ev-v51-cat .toolbar-actions{width:100%;flex-wrap:wrap}
.ev-v51-cat .toolbar-actions select{flex:1}
.ev-v51-cat .toolbar-actions .outlinebtn{padding:9px}
.ev-v51-cat .resultgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ev-v51-cat .property-img{height:124px}
.ev-v51-cat .property-content{padding:10px}
.ev-v51-cat .property-content h3{font-size:12px;min-height:49px}
.ev-v51-cat .property-content .price{font-size:15px}
.ev-v51-cat .property-content .attributes{font-size:10px;display:block}
.ev-v51-cat .property-content .attributes span+span{margin-left:8px}
.ev-v51-cat .property-content .store-name{font-size:9px}
.ev-v51-cat .resultgrid.list-view .property-img{width:38%;flex-basis:38%;height:auto}
.ev-v51-cat .map-shell{height:calc(100dvh - 59px);min-height:530px}
.ev-v51-cat .map-top{padding:7px 12px;flex-direction:column;align-items:stretch}
.ev-v51-cat .map-title{display:none}
.ev-v51-cat .map-tools{justify-content:space-between;flex-wrap:wrap}
.ev-v51-cat .map-tools>.outlinebtn{font-size:11px;flex:1}
.ev-v51-cat .map-tools .segmented{display:none}
.ev-v51-cat .map-stage{grid-template-columns:1fr;position:relative}
.ev-v51-cat .map-canvas{position:absolute;inset:0}
.ev-v51-cat .map-list,.ev-v51-cat .mapfilters{position:absolute;inset:0;display:none;z-index:5}
.ev-v51-cat .map-stage.mobile-list .map-list{display:block}
.ev-v51-cat .map-stage.mobile-filter .mapfilters{display:block}
.ev-v51-cat .map-list .maplist-items{display:grid;grid-template-columns:1fr 1fr}
.ev-v51-cat .map-mobile-tabs{display:flex;position:absolute;bottom:64px;left:50%;transform:translateX(-50%);z-index:8;background:white;box-shadow:0 7px 30px #0003;border-radius:25px;padding:4px;gap:3px}
.ev-v51-cat .map-mobile-tabs button{white-space:nowrap;border:0;background:transparent;padding:10px 13px;border-radius:24px}
.ev-v51-cat .map-mobile-tabs button.active{background:var(--orange);color:white}
.ev-v51-cat .map-canvas .map-floating{top:12px;left:9px}
.ev-v51-cat .map-floating button{font-size:11px;padding:7px}}
@media(max-width:360px){.ev-v51-cat .category-image strong{font-size:12px}
.ev-v51-cat .resultgrid{grid-template-columns:1fr}
.ev-v51-cat .property-img{height:170px}
.ev-v51-cat .toolbar-actions .outlinebtn{font-size:11px}
.ev-v51-cat .map-list .maplist-items{grid-template-columns:1fr}}
@media(min-width:761px){.ev-v51-cat .map-stage.only-map{grid-template-columns:0px minmax(0,1fr) 0px}
.ev-v51-cat .map-stage.only-map .mapfilters,.ev-v51-cat .map-stage.only-map .map-list{overflow:hidden;padding:0;border:0}
.ev-v51-cat .map-stage.only-list{grid-template-columns:230px 0px minmax(0,1fr)}
.ev-v51-cat .map-stage.only-list .map-canvas{overflow:hidden}
.ev-v51-cat .map-stage.only-list .map-list{min-width:0}}


/* ---- 2. live fit-up ---- */
/* Page shell: legacy theme defaults (Bootstrap/style.css) inside V5.1 catalogue surfaces */
.ev-v51-cat{background:#fff;color:var(--text);font:14px/1.5 Inter,'Segoe UI',Arial,sans-serif}
.ev-v51-cat a{color:inherit;text-decoration:none}
.ev-v51-cat a:hover{text-decoration:none}
.ev-v51-cat button,.ev-v51-cat input,.ev-v51-cat select,.ev-v51-cat textarea{font:inherit}
.ev-v51-cat button{cursor:pointer}
.ev-v51-cat>.container{max-width:1320px;padding-left:24px;padding-right:24px}
.ev-v51-cat h1,.ev-v51-cat h2,.ev-v51-cat h3{font-family:inherit;color:var(--text);font-weight:800}
.ev-v51-cat h1{font-size:clamp(25px,2.7vw,39px);font-weight:850}
.ev-v51-cat .eyebrow{text-transform:uppercase}
.ev-v51-cat .breadcrumbs a,.ev-v51-cat .breadcrumbs span{color:#8090a1}
.ev-v51-cat .breadcrumbs span[aria-current]{color:#5d6d80}
.ev-v51-cat .results-header p{margin-bottom:0}
.ev-v51-cat .softpill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.ev-v51-cat .v51cat-save{cursor:pointer;font-family:inherit}
.ev-v51-cat .v51cat-save .i{width:14px;height:14px}
.ev-v51-cat .v51cat-save:hover{background:#ffeadb}
.ev-v51-cat .v51cat-save.is-saved{border-color:#bfe3c9;background:#effaf2;color:#21844a}
.ev-v51-cat .ico{width:17px;height:17px}
.ev-v51-cat .primarybtn:hover,.ev-v51-cat .outlinebtn:hover{text-decoration:none}
.ev-v51-cat .searchbar .iconbutton{width:40px;height:40px;border-radius:9px}
.ev-v51-cat .searchbar .iconbutton:hover{background:var(--orange-pale);color:var(--orange)}
.ev-v51-cat .searchbar .iconbutton[aria-busy=true]{background:var(--orange-pale);color:var(--orange)}
.ev-v51-cat .searchbar input{background:transparent;color:var(--text)}
.ev-v51-cat .v51cat-voice-status{margin:6px 12px 2px}
.ev-v51-cat .v51cat-alert{margin:-8px 0 18px;padding:12px 14px;border-left:4px solid var(--orange);border-radius:10px;background:#fff6ef;color:#8a3d00;font-size:13px}

/* Category picker (kategori.html) on category pages: real tree, links instead of demo buttons */
.ev-v51-cat .v51cat-picker{margin:24px 0}
.ev-v51-cat .v51cat-picker .picker-columns{min-height:0}
.ev-v51-cat .picklist a{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:11px 12px;border-radius:9px;font-weight:700;line-height:1.3;color:var(--text)}
.ev-v51-cat .picklist a:hover{background:#fff9f5;color:var(--text)}
.ev-v51-cat .picklist a.selected{background:var(--orange-pale);color:var(--orange)}
.ev-v51-cat .picklist a span:last-child{color:#a9b2bb}
.ev-v51-cat .v51cat-picker-empty{padding:4px 12px}
.ev-v51-cat .selected-path strong{display:block;color:var(--text)}
.ev-v51-cat .sideinfo .checkrow{display:block;color:#5c3a1d}
.ev-v51-cat .sideinfo .checkrow:hover{background:#ffeedd}
.ev-v51-cat .sideinfo .checkrow:last-child{margin-bottom:16px}

/* Filter panel */
.ev-v51-cat .filterpanel{top:16px}
.ev-v51-cat .filter-head>span{display:flex;align-items:center;gap:2px}
.ev-v51-cat .filter-head .textlink{text-decoration:none}
.ev-v51-cat .v51cat-close-filters{display:none}
.ev-v51-cat .filtersec select{background:#fff;color:var(--text);height:auto}
.ev-v51-cat .filtersec select+select{margin-top:9px}
.ev-v51-cat .filtersec>.label:first-of-type{margin-top:0}
.ev-v51-cat .filtersec input[type=number]{-moz-appearance:textfield}
.ev-v51-cat .v51cat-subhead{margin-top:16px}
.ev-v51-cat .v51cat-back{display:inline-flex;gap:6px;align-items:center;margin-bottom:6px;font-weight:800;color:var(--orange)}
.ev-v51-cat .v51cat-catlist{list-style:none;margin:0;padding:0;max-height:260px;overflow:auto}
.ev-v51-cat .v51cat-catlist a{display:flex;justify-content:space-between;gap:8px;padding:7px 4px 7px 12px;border-radius:8px;font-size:13px;color:#33435a}
.ev-v51-cat .v51cat-catlist a span:last-child{color:#b3bcc6}
.ev-v51-cat .v51cat-catlist a:hover,.ev-v51-cat .v51cat-catlist a.active{background:var(--orange-pale);color:var(--orange)}
.ev-v51-cat .v51cat-fold>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
.ev-v51-cat .v51cat-fold>summary::-webkit-details-marker{display:none}
.ev-v51-cat .v51cat-fold>summary::after{content:'›';transform:rotate(90deg);color:#9aa6b4;font-size:16px;transition:transform .15s}
.ev-v51-cat .v51cat-fold:not([open])>summary::after{transform:none}
.ev-v51-cat .v51cat-fold:not([open])>summary h3{margin-bottom:0}
.ev-v51-cat .v51cat-chips{list-style:none;margin:0;padding:0;max-height:240px;overflow:auto}
.ev-v51-cat .v51cat-chips .chip{display:flex;width:100%;min-width:0;color:#33435a;font-weight:600;line-height:1.25;border:1px solid transparent}
.ev-v51-cat .v51cat-chips .chip input{flex:0 0 auto;margin:0 4px 0 0;pointer-events:none;accent-color:var(--orange)}
.ev-v51-cat .v51cat-chips .chip:hover{border-color:#ffd2b3;background:#fff8f2}
.ev-v51-cat .v51cat-chips .chip.is-checked{border-color:#ffc79f;background:var(--orange-pale);color:#c25200}
.ev-v51-cat .filter-search-input{margin-bottom:9px}
.ev-v51-cat .toggle-chips label{margin:0;font-weight:600;color:#33435a}
.ev-v51-cat .toggle-chips input{accent-color:var(--orange);margin:0}
.ev-v51-cat .v51cat-hint{margin:9px 0 0;line-height:1.45}
.ev-v51-cat .v51cat-clear-location{width:100%;margin-top:10px;border:1px solid #dce3eb;border-radius:9px;background:#fff;padding:9px;font-weight:700;color:#33435a}
.ev-v51-cat .v51cat-clear-location:hover{border-color:var(--orange);color:var(--orange)}
.ev-v51-cat .filter-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--border)}
.ev-v51-cat .v51cat-ad:empty{display:none}
.ev-v51-cat .filterpanel .v51cat-ad{padding:0 14px 14px}

/* Location picker (konum-secici.html): searchable, keyboard-reachable list per level */
.ev-v51-cat .ev-geo-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.ev-v51-cat .ev-geo-picker{position:relative}
.ev-v51-cat .ev-geo-trigger{display:flex;align-items:center;gap:6px;width:100%;min-height:42px;border:1px solid #dce3eb;border-radius:9px;background:#fff;padding:9px 30px 9px 10px;text-align:left;color:var(--text);position:relative;line-height:1.3}
.ev-v51-cat .ev-geo-trigger::after{content:'';position:absolute;right:12px;top:50%;width:7px;height:7px;margin-top:-5px;border-right:1.6px solid #7a8899;border-bottom:1.6px solid #7a8899;transform:rotate(45deg)}
.ev-v51-cat .ev-geo-trigger:disabled{background:#f5f7fa;color:#9aa6b4;cursor:not-allowed}
.ev-v51-cat .ev-geo-picker.open .ev-geo-trigger{border-color:var(--orange);box-shadow:0 0 0 3px #ff6b0018}
.ev-v51-cat .ev-geo-panel{display:none;margin-top:6px;border:1px solid #e3e9f1;border-radius:10px;background:#fff;padding:8px}
.ev-v51-cat .ev-geo-picker.open .ev-geo-panel{display:block}
.ev-v51-cat .ev-geo-search{width:100%;border:1px solid #dce3eb;border-radius:8px;padding:8px 9px;margin-bottom:6px}
.ev-v51-cat .ev-geo-options{max-height:220px;overflow:auto}
.ev-v51-cat .ev-geo-option{display:flex;align-items:center;gap:8px;margin:0;padding:6px 7px;border-radius:7px;font-size:13px;cursor:pointer}
.ev-v51-cat .ev-geo-option[hidden]{display:none}
.ev-v51-cat .ev-geo-option:hover{background:#fff3e9}
.ev-v51-cat .ev-geo-option input{width:16px;height:16px;accent-color:var(--orange)}
.ev-v51-cat .ev-geo-count{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:10px;background:var(--orange);color:#fff;font-size:11px;font-weight:800}

/* Results column */
.ev-v51-cat .results-toolbar{flex-wrap:wrap}
.ev-v51-cat .results-toolbar strong{color:var(--text);font-size:14px}
.ev-v51-cat .toolbar-actions select{height:40px;padding:0 8px;color:var(--text);min-width:150px}
.ev-v51-cat .toolbar-actions .outlinebtn{padding:9px 14px}
.ev-v51-cat .toolbar-actions .segmented button{line-height:1;font-size:15px;color:#6b7a8c}
.ev-v51-cat .v51cat-discovery .segmented button{font-size:12px;color:#4a5b70}
.ev-v51-cat .active-filters{align-items:center}
.ev-v51-cat .filterchip{display:inline-flex;align-items:center;gap:4px;text-decoration:none;line-height:1.4}
.ev-v51-cat .filterchip span{opacity:.75}
.ev-v51-cat .filterchip b{font-size:13px;line-height:1}
.ev-v51-cat .filterchip:hover{background:#ffe2cc;color:#9c4300}
.ev-v51-cat .active-filters .textlink{padding:4px 6px}
.ev-v51-cat .v51cat-publishers{display:flex;gap:6px;overflow-x:auto;margin:0 0 14px;padding-bottom:2px}
.ev-v51-cat .v51cat-publishers a{flex:0 0 auto;border:1px solid var(--border);border-radius:100px;padding:6px 12px;font-size:12px;font-weight:700;color:#4a5b70;background:#fff;white-space:nowrap}
.ev-v51-cat .v51cat-publishers a.active,.ev-v51-cat .v51cat-publishers a:hover{border-color:#ffc79f;background:var(--orange-pale);color:#c25200}
.ev-v51-cat .v51cat-discovery{margin:0 0 16px;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fbfcfe}
.ev-v51-cat .v51cat-discovery h2{font-size:16px;margin-bottom:10px}
.ev-v51-cat .v51cat-discovery .segmented{display:inline-flex;max-width:100%;overflow-x:auto}
.ev-v51-cat .v51cat-discovery .segmented span{font-size:11px;color:var(--muted)}
.ev-v51-cat .ev-discovery-panel{display:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.ev-v51-cat .ev-discovery-panel.active{display:grid}
.ev-v51-cat .ev-discovery-card{display:flex;flex-direction:column;min-width:0;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff}
.ev-v51-cat .ev-discovery-card:hover{border-color:#ffc79f}
.ev-v51-cat .ev-discovery-card strong{font-size:13px;overflow-wrap:anywhere}
.ev-v51-cat .ev-discovery-card small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}
.ev-v51-cat .v51cat-previous{display:flex;margin:0 auto 14px}
.ev-v51-cat .product-list-content{float:none;width:auto;margin:0;padding:0;min-height:0}
.ev-v51-cat .resultgrid{margin:0}
.ev-v51-cat .resultgrid>.col-product{flex:none;width:auto;max-width:none;padding:0;margin:0;min-width:0}
.ev-v51-cat .resultgrid>:not(.col-product){grid-column:1/-1}
.ev-v51-cat .resultgrid.list-view{display:grid;grid-template-columns:1fr;gap:12px}
.ev-v51-cat .load-more-spinner{display:none;padding:18px 0}
.ev-v51-cat .empty-state h3{margin-bottom:6px}
.ev-v51-cat .pagination a,.ev-v51-cat .pagination .is-disabled{background:#fff;border:1px solid var(--border);border-radius:8px;padding:10px 12px;font-weight:600}
.ev-v51-cat .pagination a:hover{border-color:var(--orange);color:var(--orange)}
.ev-v51-cat .pagination .is-disabled{color:#c2cad3}
.ev-v51-cat .pagination [data-v51cat-page-label]{font-weight:700;color:#33435a}
.ev-v51-cat .dialog h2{margin:0 0 8px}
.ev-v51-cat .dialog .primarybtn{width:100%}
.ev-v51-cat .dialog textarea{display:block;resize:vertical}

/* Shared V5.1 listing card (_product_item.php): design .property-card geometry, every page */
.ev-v51-listing{position:relative;display:flex;flex-direction:column;height:100%;border:1px solid #e4e9ef;border-radius:14px;background:#fff;overflow:hidden;color:#182338;transition:transform .15s,box-shadow .15s}
.ev-v51-listing:hover{transform:translateY(-2px);box-shadow:0 12px 35px rgba(19,33,54,.07)}
.ev-v51-listing .ev-listing-photo{position:relative;flex:0 0 auto;height:164px;overflow:hidden;background:#dde2e8}
.ev-v51-listing .ev-listing-photo>a{display:block;height:100%}
.ev-v51-listing .ev-listing-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ev-v51-listing .ev-listing-badge{position:absolute;top:10px;left:10px;max-width:calc(100% - 96px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:8px;background:#ff6b00;color:#fff;padding:4px 8px;font-size:10px;font-weight:900;line-height:1.4}
.ev-v51-listing .ev-v51-listing__badge--featured{background:#16243a}
.ev-v51-listing .ev-v51-listing__discount{position:absolute;left:10px;bottom:10px;border-radius:8px;background:#d92d20;color:#fff;padding:3px 7px;font-size:10px;font-weight:900}
.ev-v51-listing .ev-v51-listing__actions{position:absolute;top:9px;right:9px;display:flex;gap:6px}
.ev-v51-listing .ev-v51-listing__action,.ev-v51-listing .ev-listing-fav{position:static;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#fff;color:#d36a2c;box-shadow:0 2px 12px rgba(0,0,0,.2);cursor:pointer}
.ev-v51-listing .ev-v51-listing__action .i{width:15px;height:15px}
.ev-v51-listing .ev-v51-listing__action.active{color:#fff}
.ev-v51-listing .ev-listing-fav i{font-size:16px;line-height:1}
.ev-v51-listing .ev-listing-fav .icon-heart,.ev-v51-listing .ev-listing-fav[aria-pressed=true]{color:#ff6b00}
.ev-v51-listing .ev-listing-fav[aria-pressed=true]{background:#fff0e3}
.ev-v51-listing .ev-v51-listing__action:focus-visible,.ev-v51-listing .ev-listing-fav:focus-visible{outline:2px solid #ff6b00;outline-offset:2px}
.ev-v51-listing .ev-listing-body{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;padding:13px}
.ev-v51-listing .ev-listing-location{display:flex;align-items:center;gap:3px;min-width:0;color:#8996a6;font-size:11px;margin:0 0 5px}
.ev-v51-listing .ev-listing-location .i{width:12px;height:12px}
.ev-v51-listing .ev-listing-location span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev-v51-listing .ev-v51-listing__title{margin:0 0 10px;font-size:14px;font-weight:800;line-height:1.35;min-height:38px;letter-spacing:0}
.ev-v51-listing .ev-listing-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:0;margin:0;color:#182338;font-size:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}
.ev-v51-listing .ev-listing-title:hover{color:#ff6b00}
.ev-v51-listing .ev-listing-price{font-size:18px;font-weight:900;letter-spacing:-.02em;color:#12243c;line-height:1.3}
.ev-v51-listing .ev-listing-price .price{color:inherit;font-size:inherit;font-weight:inherit}
.ev-v51-listing .ev-listing-price del{display:block;font-size:11px;font-weight:600;color:#9aa6b4}
.ev-v51-listing .ev-listing-price .price-free,.ev-v51-listing .ev-listing-price a{font-size:14px;color:#ff6b00}
.ev-v51-listing .ev-listing-meta{display:flex;justify-content:space-between;gap:6px;flex-wrap:nowrap;margin-top:11px;padding-top:10px;border-top:1px solid #e4e9ef;font-size:11px;color:#607288}
.ev-v51-listing .ev-listing-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev-v51-listing .ev-v51-listing__foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:9px}
.ev-v51-listing .ev-v51-listing__seller{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a06a3e;font-size:10px;font-weight:700;text-decoration:none}
.ev-v51-listing .ev-v51-listing__seller:hover{color:#ff6b00}
.ev-v51-listing .ev-v51-listing__rating{flex:0 0 auto;font-size:10px}
/* list / classic rows: design .resultgrid.list-view */
.ev-v51-listing--row{flex-direction:row;height:auto}
.ev-v51-listing--row{align-items:stretch}
.ev-v51-listing--row .ev-listing-photo{width:230px;height:180px;min-height:0;flex:0 0 230px;align-self:flex-start}
.ev-v51-listing--row .ev-listing-meta{justify-content:flex-start;gap:18px}
.ev-v51-listing--row .ev-v51-listing__title{min-height:0}
.ev-v51-listing--classic .ev-listing-photo{width:150px;height:120px;flex-basis:150px}
.ev-v51-listing--classic .ev-listing-body{padding:12px 14px}
.ev-v51-listing--classic .ev-listing-meta{justify-content:flex-start;gap:14px}

@media(max-width:1180px){.ev-v51-cat .ev-discovery-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.ev-v51-cat .search-content{grid-template-columns:230px minmax(0,1fr);gap:16px}}
@media(max-width:760px){
    .ev-v51-cat>.container{padding-left:15px;padding-right:15px}
    .ev-v51-cat .results-header{align-items:flex-start;flex-direction:column;gap:10px}
    .ev-v51-cat .results-header .softpill{display:inline-flex}
    .ev-v51-cat .filterpanel{top:auto;padding-bottom:env(safe-area-inset-bottom)}
    .ev-v51-cat .v51cat-close-filters{display:inline-grid}
    .ev-v51-cat .toolbar-actions select{min-width:0;flex:1 1 120px}
    .ev-v51-cat .toolbar-actions .segmented{flex:0 0 auto}
    .ev-v51-cat .picklist a{flex:0 0 auto;width:auto;min-width:max-content;border:1px solid #eee;font-size:12px;padding:9px 11px}
    .ev-v51-cat .picklist{align-items:stretch}
    .ev-v51-cat .resultgrid.list-view{gap:8px}
    .ev-v51-listing .ev-listing-photo{height:124px}
    .ev-v51-listing .ev-listing-body{padding:10px}
    .ev-v51-listing .ev-v51-listing__title{font-size:12px;min-height:32px;margin-bottom:6px}
    .ev-v51-listing .ev-listing-price{font-size:15px}
    .ev-v51-listing .ev-listing-meta{font-size:10px;gap:8px;justify-content:flex-start;flex-wrap:wrap}
    .ev-v51-listing .ev-v51-listing__seller{font-size:9px}
    .ev-v51-listing .ev-v51-listing__action{width:28px;height:28px}
    .ev-v51-listing .ev-listing-fav{width:30px;height:30px}
    .ev-v51-listing .ev-listing-badge{max-width:calc(100% - 80px);top:8px;left:8px}
    .ev-v51-listing .ev-v51-listing__actions{top:7px;right:7px;gap:4px}
    .ev-v51-listing--row .ev-listing-photo{width:38%;flex-basis:38%;height:132px}
    .ev-v51-listing--classic .ev-listing-photo{width:110px;flex-basis:110px;height:100px}
}
@media(max-width:360px){.ev-v51-listing:not(.ev-v51-listing--row) .ev-listing-photo{height:170px}}
body.v51cat-sheet-open{overflow:hidden}
@media(min-width:761px){body.v51cat-sheet-open{overflow:auto}}
@media(prefers-reduced-motion:reduce){.ev-v51-listing,.ev-v51-cat .property-card{transition:none}.ev-v51-listing:hover{transform:none}}
/* Category names are often stored in capitals; show them in sentence case like the homepage rail. */
.v51cat-name{display:inline-block;text-transform:lowercase}
.v51cat-name::first-letter{text-transform:uppercase}
.ev-v51-cat h1.v51cat-name,.ev-v51-cat h3.v51cat-name,.ev-v51-cat strong.v51cat-name{display:block}
.ev-v51-listing .ev-listing-badge .v51cat-name{display:inline}
.ev-v51-listing .ev-listing-badge{text-transform:lowercase}
.ev-v51-listing .ev-listing-badge::first-letter{text-transform:uppercase}

/* Map page (harita.html) with the live Leaflet map */
.ev-v51-map .map-shell{position:relative;height:calc(100vh - 98px);min-height:600px}
.ev-v51-map .map-top{background:#fff}
.ev-v51-map .map-title h1{font-size:20px;letter-spacing:-.02em}
.ev-v51-map .map-tools .ico{width:16px;height:16px}
.ev-v51-map .map-tools .outlinebtn[aria-busy=true]{background:var(--orange-pale)}
.ev-v51-map .segmented button{font-size:13px;color:#33435a}
.ev-v51-map .mapfilters .filter-head{border-bottom:1px solid var(--border);margin-bottom:12px}
.ev-v51-map .mapfilters .filter-head a{font-size:13px;font-weight:700;color:#33435a}
.ev-v51-map .mapfilters .filter-head a:hover{color:var(--orange)}
.ev-v51-map .mapfilters .label{margin-top:0}
.ev-v51-map .v51cat-map-status{margin:10px 0 0;line-height:1.5}
.ev-v51-map .v51cat-map-actions{display:grid;gap:8px;margin-top:14px}
.ev-v51-map .v51cat-map-actions .outlinebtn{width:100%;font-size:12px;padding:9px 10px;white-space:normal;text-align:center}
.ev-v51-map .map-canvas{background:#edf3f5}
.ev-v51-map #ev-map{position:absolute;inset:0;z-index:1}
.ev-v51-map .map-floating{z-index:500}
.ev-v51-map .map-floating button{color:#182338;font-size:13px}
.ev-v51-map .map-floating button:hover{border-color:var(--orange);color:var(--orange)}
.ev-v51-map .map-floating button[aria-busy=true]{background:var(--orange-pale)}
.ev-v51-map .leaflet-bottomright .leaflet-control-zoom{margin:0 16px 44px 0;border:0;box-shadow:none;display:grid;gap:5px}
.ev-v51-map .leaflet-control-zoom a{border:1px solid #dedede!important;border-radius:8px!important;box-shadow:0 2px 8px #0001;color:#182338;font-weight:800}
.ev-v51-map .ev-map-search{position:absolute;z-index:500;top:62px;left:50%;transform:translateX(-50%);border:0;border-radius:10px;padding:10px 18px;background:var(--orange);color:#fff;font-weight:800;box-shadow:0 6px 18px rgba(20,33,61,.22);white-space:nowrap}
.ev-v51-map .ev-map-search[hidden]{display:none}
.ev-v51-map .ev-map-search:hover{background:var(--orange-dark)}
.ev-v51-map .mapitem{color:var(--text)}
.ev-v51-map .mapitem h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-weight:800}
.ev-v51-map .mapitem img{flex:0 0 90px;background:#f0f2f4}
.ev-v51-map .mapitem small{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ev-v51-map .maplist-head strong{font-weight:600}
.ev-v51-map .ev-map-empty{padding:24px 12px;color:var(--muted);text-align:center}
.ev-v51-map .ev-popup{width:210px}
.ev-v51-map .ev-popup img{width:100%;height:110px;object-fit:cover;border-radius:8px;margin-bottom:8px}
.ev-v51-map .ev-popup strong,.ev-v51-map .ev-popup small,.ev-v51-map .ev-popup b{display:block}
.ev-v51-map .ev-popup small{margin:5px 0;color:var(--muted)}
.ev-v51-map .ev-popup a{display:inline-block;margin-top:8px;font-weight:800;color:var(--orange)}
.ev-v51-map .ev-cluster-icon{background:transparent;border:0}
.ev-v51-map .ev-cluster-marker{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:4px solid rgba(255,255,255,.92);border-radius:50%;background:var(--orange);color:#fff;font-weight:900;box-shadow:0 3px 12px rgba(0,0,0,.3)}
@media(max-width:760px){
    .ev-v51-map .map-shell{height:calc(100dvh - 130px);min-height:520px}
    .ev-v51-map .map-tools .outlinebtn{font-size:12px;padding:8px 10px}
    .ev-v51-map .map-mobile-tabs{bottom:16px}
    .ev-v51-map .map-mobile-tabs button{font-size:13px;color:#33435a}
    .ev-v51-map .map-mobile-tabs button.active{color:#fff}
    .ev-v51-map .ev-map-search{top:56px}
    .ev-v51-map .leaflet-bottomright .leaflet-control-zoom{margin-bottom:76px}
    .ev-v51-map .map-list,.ev-v51-map .mapfilters{z-index:600}
    .ev-v51-map .map-list{padding-bottom:80px}
    .ev-v51-map .mapitem{flex-direction:column;min-width:0;gap:6px}
    .ev-v51-map .mapitem img{width:100%;height:110px;flex:0 0 auto}
}

/* Members-only gate for the map */
.v51cat-gate{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);overflow:hidden;max-width:980px;margin:10px auto 30px;border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.v51cat-gate__map{position:relative;min-height:300px;background:linear-gradient(135deg,#b6d9e2 0 32%,#e4e8cb 32% 53%,#c6dcb8 53% 100%)}
.v51cat-gate__pin{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;border:5px solid #fff;border-radius:50%;background:var(--orange);color:#fff;font-size:28px;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.v51cat-gate__body{padding:36px}
.v51cat-gate__body h1{font-size:clamp(24px,2.4vw,32px)}
.v51cat-gate__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
@media(max-width:760px){.v51cat-gate{grid-template-columns:1fr}.v51cat-gate__map{min-height:150px}.v51cat-gate__body{padding:22px}}

/* Saved searches (kayitli-aramalar.html) */
body:has(.ev-v51-saved){background:#f5f7fb}
.ev-v51-saved{color:#17263f}
.ev-v51-saved .v5-hero h1{color:#fff;font-weight:850;letter-spacing:-.035em}
.ev-v51-saved .v5-hero-tools a:hover{text-decoration:none;border-color:#ff8a3d}
.ev-v51-saved .v5-cta:hover{text-decoration:none;filter:brightness(.96)}
.v51cat-saved-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.v51cat-saved-heading{font-size:20px;font-weight:800;margin:0 0 14px;color:#17263f}
.v51cat-saved-heading span{color:#7a8899;font-weight:600}
.v51cat-saved-card h3{margin:10px 0 6px;font-size:20px;font-weight:800;color:#17263f;overflow-wrap:anywhere}
.v51cat-saved-card p{color:#5a6b80;line-height:1.55;margin:0 0 14px}
.v51cat-saved-card p small{color:#8796a8}
.v51cat-saved-card .v5-status.is-off{background:#eef2f6;color:#5a6b80}
.v51cat-saved-manage{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid #eef1f5}
.v51cat-saved-manage form{margin:0}
.v51cat-saved-manage button{border:1px solid #dfe6ee;border-radius:9px;background:#fff;padding:8px 12px;font-size:12px;font-weight:700;color:#33435a;cursor:pointer}
.v51cat-saved-manage button:hover{border-color:#ff6b00;color:#ff6b00}
.v51cat-saved-manage .is-danger:hover{border-color:#d92d20;color:#d92d20}
.v51cat-saved-empty{display:grid;gap:8px;justify-items:start}
.v51cat-saved-empty p{margin:0;color:#5a6b80}
.v51cat-saved-prefs{position:sticky;top:20px}
.v51cat-saved-prefs h2{font-size:17px;font-weight:800;margin:0 0 10px;color:#17263f}
.v51cat-saved-prefs form{display:grid;gap:4px}
.v51cat-saved-prefs label{display:flex;align-items:center;gap:9px;padding:8px 0;margin:0;color:#31506d;font-weight:600}
.v51cat-saved-prefs input[type=checkbox]{width:18px;height:18px;accent-color:#ff6b00}
.v51cat-saved-prefs .v5-cta{margin-top:8px;width:100%}
@media(max-width:900px){.v51cat-saved-layout{grid-template-columns:1fr}.v51cat-saved-prefs{position:static}}
.ev-v51-saved{padding:0!important}
.ev-v51-saved .v5-eyebrow{text-transform:uppercase}
