/* Serzameen v3.2 — app-first public UI, without replacing the existing theme.
   All overrides are scoped to the current Serzameen storefront. */
:root{--sz32-forest:#075c46;--sz32-deep:#0a4036;--sz32-gold:#e0b55c}
.sz32-app-nav{display:none}
.sz32-mobile-heading,.sz32-city-caption{display:none}
.sz22-home-hero .sz22-hotspot:hover{outline:0!important;background:transparent!important;box-shadow:none!important}
.sz22-home-hero .sz22-hotspot[data-sz32-city-link]:hover{opacity:1!important}
.sz22-home-hero .sz22-hotspot:focus-visible{outline:3px solid #d3a648!important;outline-offset:2px;background:transparent!important}
/* Remove the second halo that the previous plugin applied around the one real bar. */
@media(min-width:1101px){
 .sz22-home-hero .sz22-hero-visual .sz22-live-search{
   outline:0!important;outline-offset:0!important;
   box-shadow:0 9px 24px rgba(22,59,40,.16)!important;
   border:1px solid #e3ece5!important;
   isolation:auto;
   top:40.1%;left:21.24%;width:60.5%;height:8.9%;
 }
 .sz22-home-hero .sz22-hero-visual .sz22-live-search::before{display:none!important;content:none!important}
 .sz22-home-hero .sz22-hero-visual .sz22-live-search::after{display:none!important;content:none!important}
 .sz32-photo-frame{display:contents}
 .sz22-home-hero .sz22-hotspot{transition:none!important}
}
/* Tablet and smaller: bottom app navigation and a photo-first search experience. */
@media(max-width:1100px){
 body:not(.wp-admin){padding-bottom:calc(77px + env(safe-area-inset-bottom,0px))}
 .sz32-app-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;position:fixed;bottom:0;left:0;right:0;z-index:10000;min-height:69px;padding:7px max(7px,env(safe-area-inset-left,7px)) calc(7px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid #dbe9e2;box-shadow:0 -5px 25px rgba(9,43,34,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-family:system-ui,-apple-system,Segoe UI,sans-serif}
 .sz32-app-nav,.sz32-app-nav *{box-sizing:border-box}
 .sz32-app-nav .sz32-app-link{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:0;min-height:53px;gap:4px;color:#58756a;text-decoration:none;font-size:clamp(9px,1.65vw,11px);font-weight:750;line-height:1.1;text-align:center;white-space:nowrap;padding:3px 0 2px;border-radius:11px}
 .sz32-app-nav .sz32-app-link:focus-visible{outline:3px solid var(--sz32-gold);outline-offset:1px}
 .sz32-app-nav .sz32-app-link.is-current{color:var(--sz32-deep)}
 .sz32-app-icon{width:23px;height:23px;display:block}
 .sz32-app-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
 .sz32-app-nav .sz32-app-post{position:relative;gap:5px;font-weight:900;color:var(--sz32-deep);font-size:10px}
 .sz32-app-plus{display:grid;place-items:center;width:53px;height:53px;margin-top:-19px;border:4px solid white;border-radius:17px;background:linear-gradient(135deg,#07856a,#075f4d);box-shadow:0 6px 13px rgba(4,90,68,.25);font-size:34px;font-weight:500;line-height:1;color:#fff}
 .sz32-app-link.is-current .sz32-app-plus{background:#084b39}
 .sz-header{position:relative;z-index:110}
 .sz-header .sz-header-inner{min-height:69px;flex-wrap:nowrap!important;align-items:center!important}
 .sz-header .sz-nav .sz-nav-cta{display:none!important}
 .sz28-nav-toggle{display:inline-flex!important;min-height:43px;font-weight:800}
 body.sz28-js-nav .sz-header .sz-nav{display:none!important;width:100%;flex-direction:column;align-items:stretch;gap:0;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 20px 20px;max-height:70dvh;overflow-y:auto;box-shadow:0 18px 30px rgba(18,46,37,.16);z-index:90}
 body.sz28-js-nav.sz28-nav-open .sz-header .sz-nav{display:flex!important}
 .sz-header .sz-logo{white-space:nowrap;font-size:clamp(17px,3.1vw,27px)}
 .sz30-header-contact{padding:7px 15px!important;gap:4px!important;justify-content:center;flex-direction:row!important;font-size:11px!important;text-align:center}
 .sz30-header-contact>*:first-child:not(:last-child){display:none}
 .sz30-header-contact a{font-size:11px}
 .sz22-home-hero{background:#f5f9f6;overflow:visible;position:relative}
 .sz22-hero-visual::before{display:none!important;content:none!important}
 .sz22-hero-visual{isolation:isolate;display:flex;flex-direction:column;align-items:stretch;overflow:visible}
 .sz22-hero-visual .sz22-city-hotspots{display:none!important}
 .sz32-photo-frame{display:block;width:100%;height:clamp(235px,35vw,360px);overflow:hidden;position:relative;background:#b3d1c6}
 .sz32-photo-frame .sz22-banner-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center bottom!important;transform:scale(1.8);transform-origin:50% 100%;}
 .sz22-hero-visual .sz22-live-search{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:calc(100% - 32px)!important;max-width:860px!important;margin:-30px auto 0!important;padding:14px!important;height:auto!important;min-height:0!important;outline:0!important;isolation:isolate;box-shadow:0 13px 27px rgba(15,63,50,.12)!important;border:1px solid #dfeae4!important;border-radius:18px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;z-index:8}
 .sz22-hero-visual .sz22-live-search::before,.sz22-hero-visual .sz22-live-search::after{display:none!important;content:none!important}
 .sz22-hero-visual .sz22-live-search .sz22-field{min-height:54px!important;padding:0 13px!important;border:1px solid #dce8e1!important;border-radius:12px!important;background:#fff;gap:8px}
 .sz22-hero-visual .sz22-live-search .sz22-field svg{width:20px;height:20px}
 .sz22-hero-visual .sz22-live-search select,.sz22-hero-visual .sz22-live-search input{font-size:15px!important;background:#fff}
 .sz22-hero-visual .sz22-live-search .sz22-query,.sz22-hero-visual .sz22-live-search .sz22-search-button{grid-column:1/-1}
 .sz22-hero-visual .sz22-live-search .sz22-search-button{min-height:52px!important;font-size:15px!important;border-radius:12px!important;background:linear-gradient(105deg,#03684f,#087d64)!important}
 .sz22-mobile-city-links{display:flex!important;gap:8px!important;width:100%!important;max-width:none!important;padding:20px 16px 10px!important;flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x proximity}
 .sz22-mobile-city-links::-webkit-scrollbar{display:none}
 .sz22-mobile-city-links a{scroll-snap-align:start;flex:0 0 auto;font-size:13px!important;border-radius:999px!important;background:#fff!important;padding:10px 15px!important;border:1px solid #cfe3d8!important;white-space:nowrap;min-height:42px;display:inline-flex;align-items:center}
 .sz22-mobile-city-links a:focus-visible{outline:2px solid #c2a05b;outline-offset:2px}
 .sz22-hero-tools{width:100%!important;gap:11px!important;padding:9px 17px 18px!important;max-width:none!important;flex-direction:row!important;flex-wrap:wrap;align-items:center!important;justify-content:space-between!important}
 .sz22-purposes{gap:7px!important;flex-wrap:wrap}
 .sz22-purposes>span{font-size:12px}
 .sz22-purposes a{min-height:40px;padding:9px 15px!important}
 .sz22-hero-tools .sz31-advanced-link,.sz22-hero-tools .sz22-help-link{font-size:12px!important;white-space:normal}
 .sz31-filters{border-radius:16px;padding:15px;margin-top:5px}
 .sz31-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sz21-form-footer{bottom:calc(74px + env(safe-area-inset-bottom,0px))!important}
 .sz-section{padding-top:28px;padding-bottom:28px}
 .sz-property-grid{gap:14px}
 .sz-property-card,.sz-category,.sz21-post-main,.sz26-auth-panel{border-radius:16px}
}
@media(max-width:700px){
 .sz22-hero-visual .sz22-live-search{width:calc(100% - 24px)!important;padding:12px!important;gap:10px!important}
 .sz22-hero-visual .sz22-live-search .sz22-field{min-height:52px!important;padding:0 11px!important}
 .sz22-hero-visual .sz22-live-search .sz22-field select{font-size:13px!important}
 .sz22-hero-visual .sz22-live-search .sz22-query input{font-size:14px!important}
 .sz32-photo-frame{height:clamp(205px,54vw,270px);border-radius:0 0 19px 19px}
 .sz32-photo-frame .sz22-banner-image{transform:scale(2.35);transform-origin:53% 100%}
 .sz30-promo{margin-top:21px}
 .sz22-hero-tools{padding-left:14px!important;padding-right:14px!important}
 .sz22-mobile-city-links{padding-left:12px!important;padding-right:12px!important}
 .sz31-filter-grid{gap:10px}
 .sz31-keyword,.sz31-sort,.sz31-actions{grid-column:1/-1}
 .sz21-post-head,.sz21-admin-top{margin-top:0}
}
@media(max-width:1100px){
 .sz32-mobile-heading{display:block;padding:25px 18px 16px;max-width:850px;width:100%;margin:0 auto;box-sizing:border-box;text-align:left;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
 .sz32-mobile-eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:#19836a}
 .sz32-mobile-heading h1{margin:9px 0 6px;font-size:clamp(28px,5vw,41px);line-height:1.14;letter-spacing:-.035em;color:#103d32}
 .sz32-mobile-heading h1 em{font-style:normal;color:#078566}
 .sz32-mobile-heading p{margin:0;font-size:14px;color:#5f796f;line-height:1.5}
 .sz32-city-caption{display:none}
}
@media(max-width:390px){
 .sz32-app-link{letter-spacing:-.02em}
 .sz22-hero-visual .sz22-live-search{padding:10px!important;gap:8px!important}
 .sz22-hero-visual .sz22-live-search .sz22-field{padding:0 8px!important}
 .sz22-hero-visual .sz22-live-search select{font-size:12px!important}
 .sz22-hero-tools{flex-direction:column!important;align-items:flex-start!important}
}
@media(prefers-reduced-motion:reduce){.sz32-app-nav,.sz32-app-link,.sz22-live-search{transition:none!important}}
/* Keep hover feedback subtle: don't show a second gold border on the banner button. */
.sz22-home-hero .sz22-search-button:hover{box-shadow:none!important;filter:brightness(.96)}
@media(max-width:1100px){
 .sz22-home-hero{display:flex;flex-direction:column}
 .sz32-mobile-heading{order:1}
 .sz22-home-hero .sz22-hero-visual{order:2}
 .sz22-home-hero .sz22-mobile-city-links{order:3}
 .sz22-home-hero .sz22-hero-tools{order:4}
}
