/* Metropolis V7.6 — public frontend only. Keep native controls, hidden fields and existing backend rules. */
body.metro-front-v76{--f76-ink:#16352f;--f76-green:#185342;--f76-muted:#53665f;--f76-border:#dce5df;--f76-bg:#f6f8f5;--f76-gold:#e6cc98;--f76-radius:18px;background:var(--f76-bg);color:var(--f76-ink)}
.metro-front-v76 .shell{width:min(1320px,calc(100% - clamp(28px,5vw,80px)));max-width:100%;margin-inline:auto;min-width:0}
.metro-front-v76 :is(.header-inner,.search-layout>*,.two-column>*,.property-info,.results-header>*,.section-header>*){min-width:0}
.metro-front-v76 .site-header{position:sticky;inset-block-start:0;z-index:80;background:#fff;box-shadow:0 3px 18px #173e3010;backdrop-filter:none}
.metro-front-v76 .header-inner{min-height:76px;gap:clamp(8px,1.2vw,20px)}
.metro-front-v76 .main-nav{gap:2px;flex:1;justify-content:center}
.metro-front-v76 .main-nav a{font-size:clamp(12px,.95vw,14px);padding:10px 7px;white-space:nowrap}
.metro-front-v76 .header-actions{gap:9px;flex-shrink:0}
.metro-front-v76 .header-actions .btn{font-size:12px;padding-inline:12px;min-height:42px}
.metro-front-v76 .mobile-menu summary{border:1px solid var(--f76-border);background:#f4f7f3;border-radius:10px;color:var(--f76-green);min-width:44px;min-height:44px;display:grid;place-items:center}
.metro-front-v76 .mobile-menu nav{overscroll-behavior:contain;max-height:calc(100vh - 115px);max-height:calc(100dvh - 115px)}
.metro-front-v76 .mobile-menu nav a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.metro-front-v76 .mobile-menu nav .mobile-menu-primary{justify-content:center}
.metro-front-v76 .metro-mobile-quick{display:none}
.metro-front-v76 .metro-v74-hero .hero-content{padding-block:clamp(42px,5.2vw,76px) clamp(34px,4vw,60px)}
.metro-front-v76 .metro-v74-hero h1{max-width:740px;font-size:clamp(2.2rem,4.6vw,4.4rem);line-height:1.04}
.metro-front-v76 .metro-v74-hero p{max-width:54ch}
.metro-front-v76 .metro-v74-hero .hero-search{display:grid;max-width:1120px;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:stretch;padding:12px;border-radius:18px;gap:10px}
.metro-front-v76 .metro-v74-hero .hero-search.metro-hero-enhanced{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(130px,.7fr)}
.metro-front-v76 .metro-hero-enhanced .metro-hero-transaction{display:none}
.metro-front-v76 .metro-hero-tabs:not([hidden]){display:flex;grid-column:1/-1;gap:6px;border-bottom:1px solid var(--f76-border);padding:0 0 10px;min-width:0}
.metro-front-v76 .metro-hero-tabs button{border:1px solid transparent;display:flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:9px 18px;border-radius:10px;background:transparent;color:var(--f76-muted);font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;min-width:0;overflow-wrap:anywhere}
.metro-front-v76 .metro-hero-tabs button[aria-pressed=true]{background:#e6f0e9;color:#164d38;border-color:#a4c3ae}
.metro-front-v76 .metro-hero-tabs svg{width:20px;height:20px;flex-shrink:0}
.metro-front-v76 .hero-search .search-field{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:8px 12px;border:1px solid #dce7df;border-radius:11px;background:#f6f8f5}
.metro-front-v76 .hero-search .search-field :is(input,select){width:100%;min-width:0;max-width:100%;font-size:16px;min-height:38px}
.metro-front-v76 .hero-search .btn{height:100%;min-height:50px;align-self:stretch;margin:0;grid-column:auto}
.metro-front-v76 .section{padding-block:clamp(30px,4.5vw,65px)}
.metro-front-v76 .section-header{align-items:end;gap:16px;margin-block-end:20px}
.metro-front-v76 .section-header h2{font-size:clamp(1.65rem,2.8vw,2.45rem)}
.metro-front-v76 .category-grid .category-card{min-width:0;padding:18px;align-items:flex-start;flex-direction:column;gap:12px;border-radius:14px;min-height:138px}
.metro-front-v76 .category-card :is(strong,small){overflow-wrap:anywhere}
.metro-front-v76 .category-card .category-symbol{width:44px;height:44px}
.metro-front-v76 :is(.property-grid,.results-grid,.project-grid,.agency-directory-grid){display:grid;align-items:stretch;gap:18px;min-width:0}
.metro-front-v76 .property-grid:has(>.mp-listing-card){grid-template-columns:repeat(3,minmax(0,1fr))}
.metro-front-v76 .results-grid:has(>.mp-listing-card){grid-template-columns:repeat(2,minmax(0,1fr))}
.metro-front-v76 .mp-listing-card{display:flex;flex-direction:column;height:100%;min-width:0;border-radius:16px;background:#fff;box-shadow:0 4px 18px #173e300b;overflow:hidden}
.metro-front-v76 .mp-listing-card .property-image{width:100%;aspect-ratio:1.65;height:auto;flex:none}
.metro-front-v76 .mp-listing-card .property-info{display:flex;flex:1;flex-direction:column;gap:8px;padding:15px 16px 12px}
.metro-front-v76 .mp-listing-card .property-info h3{font-size:1.06rem;line-height:1.4;margin:0;overflow-wrap:anywhere}
.metro-front-v76 .mp-listing-card .property-stats{display:flex;gap:6px;flex-wrap:wrap}
.metro-front-v76 .mp-listing-card .property-stats>span{background:#f1f5f1;border:1px solid #e3ebe4;border-radius:6px;padding:3px 7px;line-height:1.4;font-size:.75rem}
.metro-front-v76 .mp-listing-card .property-bottom{margin-block-start:auto;padding-block-start:12px;gap:8px}
.metro-front-v76 .mp-listing-card .property-bottom strong{font-size:clamp(1.15rem,1.7vw,1.42rem);color:#154e3a}
.metro-front-v76 .mp-listing-card .compare-quick .btn{min-height:44px;width:100%}
.metro-front-v76 .search-layout{grid-template-columns:minmax(235px,280px) minmax(0,1fr);gap:24px;padding-block:28px 55px;align-items:start}
.metro-front-v76 .filter-panel{padding:20px;border-radius:16px;min-width:0}
.metro-front-v76 .workflow-search-tabs{display:flex;flex-wrap:wrap;gap:7px;overflow:visible;max-width:100%;margin-block:12px 18px}
.metro-front-v76 .workflow-search-tabs .btn{flex:0 1 auto;min-height:42px;white-space:normal}
.metro-front-v76 .results-header h2{font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.2}
.metro-front-v76 .listing-detail{padding-block:18px 46px}
.metro-front-v76 .listing-detail .breadcrumbs{overflow-wrap:anywhere;line-height:1.6;font-size:.8rem}
.metro-front-v76 .listing-detail .detail-heading{align-items:flex-start;gap:16px;flex-wrap:wrap}
.metro-front-v76 .listing-detail .detail-heading h1{font-size:clamp(1.7rem,3vw,2.8rem);margin-block:5px 10px;overflow-wrap:anywhere}
.metro-front-v76 .listing-detail .detail-price{background:#eaf2ea;padding:10px 17px;border-radius:12px;font-size:clamp(1.4rem,2.6vw,2.2rem);max-width:100%}
.metro-front-v76 .listing-detail .mz-listing-stage{display:block!important;height:clamp(280px,45vw,560px)!important;min-width:0;border-radius:16px!important}
.metro-front-v76 .listing-detail .mz-listing-gallery{height:auto!important;overflow:visible!important}
.metro-front-v76 .listing-detail .two-column{grid-template-columns:minmax(0,1fr) minmax(290px,360px);gap:24px;align-items:start}
.metro-front-v76 .listing-detail .contact-box{position:sticky;top:96px;scroll-margin-top:125px}
.metro-front-v76 .listing-detail .spec-grid{gap:10px}
.metro-front-v76 .listing-detail .spec-item{min-width:0;overflow-wrap:anywhere;padding:13px}
.metro-front-v76 .listing-detail .contact-box a.btn{white-space:normal;overflow-wrap:anywhere;min-height:48px}
.metro-front-v76 .metro-contact-jump{display:none}
.metro-front-v76 :is(.form-field,.search-field,.free-grid,.mip-option,.auth-card,.registration-card){min-width:0}
.metro-front-v76 :is(.form-field,.search-field) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){max-width:100%;min-width:0;min-height:46px;font-size:16px}
.metro-front-v76 .free-upload{padding:22px 12px;overflow-wrap:anywhere}
.metro-front-v76 .free-upload input[type=file]{width:100%;max-width:100%;font-size:16px}
.metro-front-v76 .free-step{padding:clamp(16px,3vw,28px)}
.metro-front-v76 .free-choices label{min-height:48px;overflow-wrap:anywhere}
.metro-front-v76 .free-submit{min-height:52px}
.metro-front-v76 .metro-premium-footer .metro-footer-links a{line-height:1.5;padding-block:5px;overflow-wrap:anywhere}
.metro-front-v76 .metro-premium-footer .metro-footer-branding{min-width:0}
@media(max-width:1359px){
 .metro-front-v76 .site-header .main-nav,.metro-front-v76 .site-header .header-actions{display:none!important}
 .metro-front-v76 .site-header .mobile-menu,.metro-front-v76 .site-header .mobile-language{display:block!important}
 .metro-front-v76 .site-header .header-inner{justify-content:flex-start;min-height:66px}
 .metro-front-v76 .site-header .mobile-language{margin-inline-start:auto}
}
@media(min-width:861px) and (max-width:1050px){.metro-front-v76 .search-layout{grid-template-columns:minmax(215px,245px) minmax(0,1fr);gap:16px}}
@media(max-width:860px){
 .metro-front-v76 .search-layout,.metro-front-v76 .listing-detail .two-column{grid-template-columns:minmax(0,1fr);gap:16px}
 .metro-front-v76 .search-layout>.filter-panel{padding:0;border:0;box-shadow:none;background:transparent}
 .metro-front-v76 .metropolis-filter-disclosure[open]{background:#fff;border-radius:12px;padding-block-end:12px}
 .metro-front-v76 .metropolis-filter-disclosure>.filter-form{padding:12px!important}
 .metro-front-v76 .listing-detail .contact-box{position:static;scroll-margin-top:130px}
 .metro-front-v76 .metro-contact-jump{display:inline-flex}
 .metro-front-v76 .property-grid:has(>.mp-listing-card){grid-template-columns:repeat(2,minmax(0,1fr))}
 .metro-front-v76 .metro-v74-hero .hero-search,.metro-front-v76 .hero-search.metro-hero-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}
 .metro-front-v76 .hero-search.metro-hero-enhanced .btn{grid-column:auto}
 .metro-front-v76 .hero-search:not(.metro-hero-enhanced) .btn{grid-column:1/-1}
}
@media(max-width:599px){
 .metro-front-v76 .shell{width:calc(100% - 28px);max-width:none}
 .metro-front-v76 .site-header .header-inner{min-height:62px;gap:8px}
 .metro-front-v76 .site-header .metropolis-brand-header img{width:clamp(115px,36vw,150px)}
 .metro-front-v76 .site-header .mobile-language select{max-width:76px;min-height:42px;font-size:14px}
 .metro-front-v76 .metro-mobile-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.15fr);gap:3px;padding:4px 10px 8px;border-top:1px solid #f1f4f0;background:#fff}
 .metro-front-v76 .metro-mobile-quick a{display:grid;place-items:center;text-align:center;font-size:.76rem;font-weight:700;min-height:40px;padding:4px 2px;color:var(--f76-green);border-radius:8px;line-height:1.2;overflow-wrap:anywhere}
 .metro-front-v76 .metro-mobile-quick a[aria-current=page]{background:#e7f1e8}
 .metro-front-v76 .metro-mobile-quick .metro-quick-publish{background:var(--f76-green);color:#fff}
 .metro-front-v76 .mobile-menu nav{max-height:calc(100dvh - 125px);width:min(330px,calc(100vw - 28px))}
 .metro-front-v76 .metro-v74-hero .hero-content{padding-block:26px 29px}
 .metro-front-v76 .metro-v74-hero h1{font-size:clamp(1.9rem,7.6vw,2.65rem);margin-block:10px 12px;line-height:1.1}
 .metro-front-v76 .metro-v74-hero p{font-size:.94rem;line-height:1.5}
 .metro-front-v76 .metro-v74-hero .hero-search,.metro-front-v76 .hero-search.metro-hero-enhanced{margin-block-start:18px;gap:8px;padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:14px}
 .metro-front-v76 .metro-hero-tabs:not([hidden]){gap:4px;padding-block-end:8px}
 .metro-front-v76 .metro-hero-tabs button{flex:1;padding:6px 3px;gap:4px;font-size:.77rem;min-height:46px}
 .metro-front-v76 .metro-hero-tabs svg{width:17px;height:17px}
 .metro-front-v76 .hero-search .search-field{padding:7px 8px}
 .metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-city){grid-column:1/-1}
 .metro-front-v76 .hero-search.metro-hero-enhanced .btn,.metro-front-v76 .hero-search:not(.metro-hero-enhanced) .btn{grid-column:1/-1;min-height:48px}
 .metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-max){grid-column:1/-1}
 .metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-type){grid-column:1/-1}
 /* At ordinary phone widths, location and type sit side by side. */
 .metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-city),.metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-type){grid-column:auto}
 .metro-front-v76 .hero-highlights{gap:5px;flex-wrap:wrap}
 .metro-front-v76 .hero-highlights span{font-size:.7rem}
 .metro-front-v76 .section-header{align-items:flex-start;gap:10px}
 .metro-front-v76 .section-header h2{font-size:1.55rem}
 .metro-front-v76 .section-header>.btn{min-height:44px}
 .metro-front-v76 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .metro-front-v76 .category-grid .category-card{padding:12px;min-height:110px;gap:8px}
 .metro-front-v76 .category-card .category-symbol{width:39px;height:39px}
 .metro-front-v76 .property-grid:has(>.mp-listing-card),.metro-front-v76 .results-grid:has(>.mp-listing-card),.metro-front-v76 :is(.project-grid,.agency-directory-grid){grid-template-columns:minmax(0,1fr);gap:14px}
 .metro-front-v76 .mp-listing-card .property-image{aspect-ratio:1.7}
 .metro-front-v76 .mp-listing-card .property-info{padding:13px 14px 10px}
 .metro-front-v76 .listing-detail .mz-listing-stage{height:clamp(220px,65vw,340px)!important;border-radius:12px!important}
 .metro-front-v76 .listing-detail .detail-price{font-size:1.55rem;padding:8px 13px}
 .metro-front-v76 .listing-detail .detail-actions{display:flex;flex-wrap:wrap;gap:8px}
 .metro-front-v76 .listing-detail .detail-actions .metro-contact-jump{width:100%;justify-content:center;min-height:48px}
 .metro-front-v76 .listing-detail .detail-actions>form{min-width:0}
 .metro-front-v76 .listing-detail .spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .metro-front-v76 .listing-detail .spec-item{padding:11px}
 .metro-front-v76 .listing-detail .contact-box{scroll-margin-top:128px}
 .metro-front-v76 .workflow-search-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .metro-front-v76 .workflow-search-tabs .btn{min-height:44px;text-align:center;padding-inline:4px;justify-content:center}
 .metro-front-v76 :is(.form-field,.search-field) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px;min-height:44px}
 .metro-front-v76 .free-step{padding:15px;border-radius:14px}
 .metro-front-v76 .free-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .metro-front-v76 .free-choices label{padding:8px 4px;font-size:.82rem;min-width:0}
 .metro-front-v76 .metro-premium-footer .metro-footer-top{gap:22px 14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .metro-front-v76 .metro-premium-footer .metro-footer-branding{grid-column:1/-1}
 .metro-front-v76 .metro-premium-footer .metro-footer-bottom{overflow-wrap:anywhere}
}
@media(max-width:359px){.metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-city),.metro-front-v76 .hero-search.metro-hero-enhanced .search-field:has(#hero-type){grid-column:1/-1}.metro-front-v76 .metro-hero-tabs svg{display:none}.metro-front-v76 .metro-mobile-quick a{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.metro-front-v76 :is(.btn,.property-card,.category-card){transition:none}}
/* Only the enhanced transaction control is concealed; it remains the submitted native select. */
.metro-front-v76 .hero-search.metro-hero-enhanced .metro-hero-transaction{display:none}
.metro-front-v76 .metro-hero-tabs[hidden]{display:none!important}

.metro-front-v76 .site-header .mobile-language select{border:1px solid var(--f76-border);border-radius:10px;padding:6px;background:#f4f7f3;color:var(--f76-green);font-weight:650}
.metro-front-v76 .hero-search .btn{min-width:0;align-self:stretch}
/* Registration and publication retain clickable profile cards and dynamic fields. */
.metro-front-v76 .mip-choice .mip-choice-grid{gap:18px}
.metro-front-v76 .mip-choice .mip-option{border-radius:16px;padding:22px}
.metro-front-v76 .mip-choice .mip-option-bottom{line-height:1.4;overflow-wrap:anywhere}
.metro-front-v76 .free-benefits{flex-wrap:wrap;gap:8px}
.metro-front-v76 .free-grid>*,.metro-front-v76 .free-form>*{min-width:0}
.metro-front-v76 .free-step textarea{resize:vertical;min-height:112px}
@media(max-width:700px){
 .metro-front-v76 .mip-choice .mip-choice-grid,.metro-front-v76 .mip-choice .mip-help-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .metro-front-v76 .mip-choice .mip-option{padding:18px}
 .metro-front-v76 .mip-choice .mip-hero-copy{max-width:100%}
 .metro-front-v76 .mip-choice .mip-skyline{opacity:.18}
 .metro-front-v76 .free-grid{grid-template-columns:minmax(0,1fr)}
 .metro-front-v76 .free-form .free-wide{grid-column:1/-1}
}
