/* K&M Invest — style wyłącznie sekcji Budynek 1 / Budynek 2.
   Usunięto nieaktualne reguły wspólnego formularza CF7.
   Formularz: assets/contact.css + assets/form-cf7.css.
   Stopka: assets/footer-shared.css.
   Katalogowe .km-pill nie nadpisują przycisku formularza. */

@font-face{font-family:"Century Gothic";src:local("Century Gothic");font-style:normal;font-weight:400;font-display:swap}
*{box-sizing:border-box}
.km-building-page{margin:0;background:#fff;color:#000;font-family:"Century Gothic",CenturyGothic,AppleGothic,Arial,sans-serif;font-size:16px;line-height:1.4}
.km-building-page a{color:inherit;text-decoration:none}
.km-shell{width:min(1344px,calc(100% - 48px));margin:0 auto}
.km-header{position:sticky;top:0;z-index:1000;height:99px;background:#fff;border-bottom:1px solid rgba(0,0,0,.04)}
.km-header__inner{height:100%;display:flex;align-items:center;padding:0 34px}
.km-brand{display:block;width:279px;flex:0 0 auto}
.km-brand img{display:block;width:100%;height:auto}
.km-nav{margin-left:auto;display:flex;align-items:center;gap:54px;font-size:16px;font-weight:700;letter-spacing:-.02em}
.km-nav a{position:relative;padding:40px 0}
.km-nav a.is-active,.km-nav a:hover{color:#A38B4B}
.km-cta{margin-left:58px;display:flex;align-items:center;justify-content:center;width:226px;height:55px;border-radius:40px;background:#A38B4B;color:#fff!important;font-weight:700;font-size:14px;letter-spacing:-.02em}
.km-hero{position:relative;height:412px;background:#E0D8CC;text-align:center;padding-top:57px}
.km-hero__badge{width:199px;height:199px;object-fit:contain;display:block;margin:0 auto 23px}
.km-hero h1{margin:0;font-weight:400;font-size:80px;line-height:1.1;letter-spacing:-.02em}
.km-building-switcher{position:absolute;left:31px;top:37px;width:62px;display:flex;flex-direction:column;align-items:center;gap:21px}
.km-building-switcher span{font-size:14px;line-height:1.1;font-weight:700;text-align:center;margin-bottom:3px}
.km-building-switcher a{width:61px;height:63px;display:flex;align-items:center;justify-content:center;background:#8D7B47;color:#fff;font-size:24px;clip-path:polygon(50% 0,100% 22%,100% 78%,50% 100%,0 78%,0 22%);opacity:.85}
.km-building-switcher a.is-active{background:#A38B4B;opacity:1}
.km-plan-section{height:590px;background:#fff;padding-top:43px}
.km-floor-tabs{display:flex;gap:15px;justify-content:center;align-items:center;margin-bottom:34px;flex-wrap:wrap}
.km-floor-tabs button{height:55px;padding:0 26px;border-radius:40px;border:1.5px solid #A38B4B;background:#fff;color:#A38B4B;font-family:inherit;font-size:14px;font-weight:700;letter-spacing:-.02em;cursor:pointer}
.km-floor-tabs button.is-active{background:#A38B4B;color:#fff}
.km-plan-wrap{position:relative;width:min(1070px,calc(100% - 220px));height:421px;margin:0 auto;overflow:visible}
.km-plan-image{display:block;width:100%;height:100%;object-fit:contain}
.km-hotspots{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.km-hotspot{fill:rgba(95,226,124,.62);stroke:#24b653;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:all;cursor:pointer;opacity:0;transition:opacity .18s ease,fill .18s ease}
.km-hotspot:hover,.km-hotspot.is-hovered{opacity:.82;fill:rgba(95,226,124,.82)}
.km-tooltip{position:absolute;z-index:30;display:none;width:410px;min-height:190px;background:#fff;border-radius:18px;box-shadow:0 16px 42px rgba(0,0,0,.18);padding:16px;grid-template-columns:136px 1fr;gap:16px;pointer-events:none}
.km-tooltip.is-visible{display:grid}
.km-tooltip__thumb{min-height:155px;border-radius:12px;background:#F8F5F1;overflow:hidden;display:flex;align-items:center;justify-content:center}
.km-tooltip__thumb img{width:100%;height:100%;object-fit:contain}
.km-tooltip__placeholder{text-align:center;font-size:13px;font-weight:700;color:#A38B4B;line-height:1.5}
.km-tooltip__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.km-tooltip__top strong{font-size:22px}
.km-tooltip dl{margin:0}
.km-tooltip dl div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eee;padding:4px 0;font-size:12px}
.km-tooltip dt{color:#777}
.km-tooltip dd{margin:0;font-weight:700}
.km-catalog{background:#F8F5F1;padding:48px 0 45px}
.km-catalog h2,.km-simple-list h2{font-size:48px;font-weight:400;line-height:1.1;letter-spacing:-.02em;margin:0 0 46px}
.km-filters{display:grid;grid-template-columns:repeat(4,242px) 242px;column-gap:18px;row-gap:10px;align-items:end;margin-bottom:58px}
.km-filters label{display:block}
.km-filters label>span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.km-filters select{width:100%;height:55px;border:1.5px solid #A38B4B;border-radius:40px;background:#F8F5F1;padding:0 20px;font:inherit;font-size:14px;color:#222;outline:none;appearance:auto}
.km-search-btn{height:55px;border:0;border-radius:40px;background:#A38B4B;color:#fff;font:700 14px "Century Gothic",Arial,sans-serif;cursor:pointer}
.km-reset-btn{grid-column:1/2;border:0;background:transparent;color:#6a4533;-webkit-text-fill-color:currentColor;text-align:left;padding:0 0 0 0;text-decoration:underline;font:400 12px "Century Gothic",Arial,sans-serif;cursor:pointer}
.km-table-wrap{width:100%;overflow-x:auto}
.km-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.km-table thead{background:#A38B4B;color:#fff}
.km-table th{height:59px;text-align:left;font-weight:400;padding:0 16px}
.km-table td{height:59px;padding:0 16px}
.km-table tbody tr:nth-child(odd){background:#fff}
.km-table tbody tr:nth-child(even){background:#F8F5F1}
.km-catalog .km-table tbody tr:nth-child(odd){background:#fff}
.km-catalog .km-table tbody tr:nth-child(even){background:#F3EFE9}
.km-table td,.km-table th{white-space:nowrap}
.km-table th:nth-child(1){width:6%}
.km-table th:nth-child(2){width:16%}
.km-table th:nth-child(3){width:10%}
.km-table th:nth-child(4){width:10%}
.km-table th:nth-child(5){width:9%}
.km-table th:nth-child(6){width:9%}
.km-table th:nth-child(7){width:15%}
.km-table th:nth-child(8){width:13%}
.km-table th:nth-child(9){width:12%}
.km-catalog .km-pill{display:inline-flex;align-items:center;justify-content:center;min-width:83px;height:32px;padding:0 15px;border-radius:40px;background:#A38B4B;color:#fff!important;font-size:12px;font-weight:700}
.status{font-weight:700}
.status-free{color:#5FE27C}
.status-reserved{color:#D4A524}
.status-sold{color:#ED1E1E}
.km-simple-list{background:#fff;padding:28px 0 31px}
.km-simple-list h2{margin-bottom:30px}
.km-parking-list{padding-bottom:93px}
.km-table--simple th:nth-child(1){width:10%}
.km-table--simple th:nth-child(2){width:25%}
.km-table--simple th:nth-child(3){width:20%}
.km-table--simple th:nth-child(4){width:20%}
.km-table--simple th:nth-child(5){width:25%}
.km-costs{background:#A38B4B;color:#fff;padding:82px 0 149px}
.km-costs .km-shell{width:min(1621px,calc(100% - 72px))}
.km-costs__grid{display:grid;grid-template-columns:minmax(0,685px) 792px;gap:144px;align-items:start}
.km-costs h2{font-size:48px;line-height:1.1;font-weight:400;letter-spacing:-.02em;margin:0 0 40px;max-width:637px}
.km-costs__copy{font-size:18px;line-height:1.35}
.km-costs__copy ul{padding-left:25px;margin:0}
.km-costs__copy ul ul{margin:10px 0 10px 20px}
.km-costs__copy li{margin:0 0 12px}
.km-costs__grid>img{display:block;width:100%;height:522px;object-fit:cover}
.km-prospectus{display:inline-block;margin-top:24px;font-size:24px;line-height:1.4;text-decoration:underline!important}
.km-table tr.is-hidden{display:none}
.km-building-picker-overlay{position:relative;display:block}
.km-building-picker-overlay>img{display:block;width:100%;height:auto}
.km-building-picker-hit{position:absolute;top:0;bottom:0;z-index:3}
.km-building-picker-hit--1{left:0;width:50%}
.km-building-picker-hit--2{right:0;width:50%}
.km-building-picker-hit:focus-visible{outline:3px solid #A38B4B;outline-offset:-3px}
@media (max-width:1500px){
.km-nav{gap:30px}
.km-cta{margin-left:30px}
.km-costs__grid{grid-template-columns:1fr 58%;gap:56px}
.km-filters{grid-template-columns:repeat(4,1fr) 1fr}
}
@media (max-width:1100px){
.km-header{height:82px}
.km-header__inner{padding:0 20px}
.km-brand{width:210px}
.km-nav{display:none}
.km-cta{margin-left:auto;width:190px;height:48px}
.km-hero{height:360px;padding-top:45px}
.km-hero__badge{width:160px;height:160px}
.km-hero h1{font-size:60px}
.km-plan-section{height:auto;padding:35px 0 55px}
.km-plan-wrap{width:min(900px,calc(100% - 90px));height:auto;aspect-ratio:1270/421}
.km-catalog h2,.km-simple-list h2,.km-costs h2{font-size:38px}
.km-filters{grid-template-columns:repeat(2,1fr)}
.km-search-btn{grid-column:auto}
.km-reset-btn{grid-column:1/-1}
.km-table{min-width:1050px}
.km-costs__grid{grid-template-columns:1fr 1fr;gap:36px}
.km-costs__grid>img{height:420px}
}
@media (max-width:700px){
.km-shell{width:min(100% - 32px,1344px)}
.km-header{height:72px}
.km-brand{width:155px}
.km-cta{width:142px;height:42px;font-size:11px}
.km-hero{height:300px;padding-top:35px}
.km-hero__badge{width:130px;height:130px}
.km-hero h1{font-size:44px;margin-top:10px}
.km-building-switcher{left:14px;top:22px;width:46px;gap:12px}
.km-building-switcher span{font-size:11px}
.km-building-switcher a{width:44px;height:46px;font-size:17px}
.km-plan-section{padding:25px 0 38px}
.km-floor-tabs{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:0 16px 8px;margin-bottom:20px;scrollbar-width:none}
.km-floor-tabs::-webkit-scrollbar{display:none}
.km-floor-tabs button{height:44px;padding:0 18px;flex:0 0 auto;font-size:12px}
.km-plan-wrap{width:calc(100% - 24px);aspect-ratio:1270/421}
.km-tooltip{width:310px;grid-template-columns:96px 1fr;padding:12px}
.km-catalog{padding:32px 0 42px}
.km-catalog h2,.km-simple-list h2,.km-costs h2{font-size:32px}
.km-filters{grid-template-columns:1fr;gap:15px}
.km-filters label>span{margin-left:16px}
.km-search-btn{width:100%}
.km-table{min-width:970px;font-size:12px}
.km-table th,.km-table td{padding:0 12px;height:52px}
.km-simple-list{padding-top:34px}
.km-costs{padding:48px 0}
.km-costs__grid{grid-template-columns:1fr;gap:34px}
.km-costs h2{margin-bottom:26px}
.km-costs__copy{font-size:15px}
.km-costs__grid>img{height:auto;aspect-ratio:1.45/1}
.km-prospectus{font-size:18px}
.km-hotspot{stroke-width:1.5}
}

/* Komunikaty, gdy brak opublikowanych ofert – bez ingerencji w tabele z lokalami. */
body.km-building-page .km-table .km-empty-row td {
  height: 120px;
  padding: 30px 20px;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  font-size: 16px;
  font-weight: 400;
  color: #595650;
}
