/* CleanWhale Building Hub & Services UI — matches 3-screen CleanWhale design */
.bw-building {
  background: #f5f7fb;
}
.bw-building .bw-top {
  border-bottom: 1px solid #e6ebf2;
}
.bw-building .bw-section {
  padding-bottom: 28px;
}

/* ---------- Hero (Map left + Quick Cleaning CTA right) ---------- */
.bw-building .bw-bhead {
  padding: 20px var(--gutter) 20px;
}
.bw-building .bw-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 17px;
  margin-top: 8px;
}
.bw-building .bw-sub-pin {
  color: var(--cw99-blue);
  flex-shrink: 0;
}
.bw-bhero {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.bw-bhero-map {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}
.bw-map-stage {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f6;
}
.bw-map-stage .bw-plan {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: cover;
  display: block;
}
.bw-3d-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  color: var(--cw99-blue) !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.bw-3d-btn:hover {
  background: var(--cw99-chip);
  text-decoration: none;
}
.bw-bhero-cta {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.bw-bhero-cta-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bw-bhero-cta-top strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}
.bw-bhero-cta-top span {
  display: block;
  color: #64748b;
  font-size: 15px;
  margin-top: 2px;
}
.bw-bhero-price {
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
  margin: 6px 0;
}
.bw-bhero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--cw99-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 17px;
}
.bw-bhero-btn:hover {
  background: var(--cw99-blue-hover);
  text-decoration: none;
}

/* ---------- 4-Tab Bar & Building Passport Strip (#budynek) ---------- */
.bw-building .home-tabs,
.bw-building .hs-page-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 var(--gutter) 20px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}
.bw-building .home-tabs a,
.bw-building .hs-page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  color: #334155;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}
.bw-building .home-tabs a.is-active,
.bw-building .home-tabs a:hover,
.bw-building .hs-page-nav a:hover {
  color: var(--cw99-blue);
  background: #eef4ff;
  text-decoration: none;
}
.bw-building .bw-facts-strip {
  display: block;
  margin: 0 var(--gutter) 24px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.bw-building .bw-facts-5col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 0;
}
.bw-fact-cell {
  padding: 4px 20px;
  border-right: 1px solid #e6ebf2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bw-fact-cell:last-of-type {
  border-right: 0;
}
.bw-fact-ico {
  width: 24px;
  height: 24px;
  color: #475569;
  margin-bottom: 4px;
}
.bw-fact-ico svg {
  width: 22px;
  height: 22px;
}
.bw-building .bw-fact-cell dd {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: #0f172a;
}
.bw-building .bw-fact-cell dt {
  font-size: 14px;
  color: #64748b;
  opacity: 1;
}

/* ---------- Ceny mieszkań Card (#ceny) ---------- */
.bw-building .bw-price-card {
  display: block;
}
.bw-price-box {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.bw-price-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: center;
}
.bw-price-highlight {
  background: #eef4ff;
  border-radius: 14px;
  padding: 24px;
}
.bw-price-kicker {
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
}
.bw-price-highlight .bw-bignum {
  color: var(--cw99-blue);
  font-size: clamp(36px, 3.6vw, 54px);
}
.bw-price-meta {
  font-size: 15px;
  color: #475569;
  margin-top: 8px;
}
.bw-price-prose {
  font-size: 14px !important;
  color: #475569;
  margin-top: 10px !important;
}
.bw-compare-wrap {
  min-width: 0;
}
.bw-compare-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6ebf2;
}
.bw-building .bw-compare {
  padding-top: 0;
  gap: 0;
}
.bw-building .bw-compare > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
}
.bw-building .bw-compare dt {
  font-size: 16px;
  color: #1e293b;
}
.bw-building .bw-compare dd {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.bw-price-chart-details {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eef2f6;
}
.bw-price-chart-details > summary {
  cursor: pointer;
  color: var(--cw99-blue);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Sąsiednie budynki Pills ---------- */
.bw-nearby-card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.bw-nearby-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bw-nearby-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid #dce3ee;
  background: #f8fafc;
  color: #1e293b !important;
  font-weight: 600;
  font-size: 15px;
}
.bw-nearby-pill:hover {
  border-color: var(--cw99-blue);
  color: var(--cw99-blue) !important;
  text-decoration: none;
}
.bw-nearby-pill.is-current {
  background: var(--cw99-blue);
  border-color: var(--cw99-blue);
  color: #fff !important;
}
.bw-nearby-table-details {
  margin-top: 14px;
}
.bw-nearby-table-details > summary {
  cursor: pointer;
  color: #64748b;
  font-size: 14px;
}

/* ---------- Usługi pod tym adresem (#uslugi) ---------- */
.hs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hs-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hs-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hs-wide {
  grid-column: 1 / -1;
  margin-top: 20px;
}
.hs-bottom-2 {
  margin-top: 20px;
}
.hs-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hs-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--cw99-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 20px;
}
.hs-ico svg {
  width: 24px;
  height: 24px;
}
.hs-ico-sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
}
.hs-card h3 {
  font-size: 22px;
  line-height: 1.2;
}
.hs-sub {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 3px;
}
.hs-brand {
  color: var(--cw99-blue);
  font-weight: 700;
  font-size: 14px;
}
.hs form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.hs-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hs label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  min-width: 0;
}
.hs select,
.hs input[type="number"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 5px;
  border: 1px solid #d5deea;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  min-height: 42px;
  padding: 6px 10px;
}
.hs-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  font-weight: 500 !important;
}
.hs-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--cw99-blue);
}
.hs-price-bar {
  margin-top: auto;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.hs-price-bar > span {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}
.hs-total {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hs-total output,
.hs-total strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
}
.hs-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}
.hs-note a {
  color: var(--cw99-blue);
}
.hs-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  background: var(--cw99-blue);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-top: auto;
}
.hs-action:hover {
  background: var(--cw99-blue-hover);
  text-decoration: none;
}
.hs-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 10px;
}
.hs-job-label {
  display: none;
  grid-column: 1 / -1;
}
.hs-more-jobs > summary {
  cursor: pointer;
  color: var(--cw99-blue);
  font-size: 13.5px;
  font-weight: 600;
  padding: 2px 0;
}

/* ---------- Zamów przez czat Compact Bar ---------- */
.hs-ai {
  margin-top: 20px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}
.hs-ai-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.hs-ai-title {
  font-size: 18px;
  font-weight: 700;
}
.hs-ai-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.hs-ai-links > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 10px;
  color: #0f172a;
}
.hs-ai-links > a:hover {
  background: #f8fafc;
  text-decoration: none;
}
.hs-ai-links strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}
.hs-ai-links > a > span > span {
  color: var(--cw99-blue);
  font-size: 13.5px;
}
.hs-ai-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.hs-ai-logo-chatgpt {
  background: #f8fafc;
}
.hs-ai-request button {
  border: 1px solid #d5deea;
  border-radius: 8px;
  padding: 8px 14px;
  min-height: 40px;
  color: var(--cw99-blue);
  background: #f8fafc;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hs-ai-status {
  margin-top: 6px;
}
.hs-ai-details {
  margin-top: 6px;
}
.hs-ai-details summary {
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
}
.hs-ai textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #d5deea;
  border-radius: 8px;
  font: inherit;
  font-size: 13.5px;
}

/* ---------- Internet i energia Unified Card ---------- */
.hs-ie-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 10px;
}
.hs-ie-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hs-ie-title h3 {
  font-size: 24px;
}
.hs-ie-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
}
.hs-ie-thead {
  display: grid;
  grid-template-columns: 120px 1.2fr 1fr 1fr 1.1fr 110px;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
.hs-ie-row {
  border-bottom: 1px solid #eef2f6;
}
.hs-ie-summary {
  list-style: none;
  display: grid;
  grid-template-columns: 120px 1.2fr 1fr 1fr 1.1fr 110px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
}
.hs-ie-summary::-webkit-details-marker {
  display: none;
}
.hs-op-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 92px;
  height: 34px;
}
.hs-op-img {
  max-width: 84px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.hs-op-box-orange .hs-op-img {
  width: 34px;
  height: 34px;
  border-radius: 3px;
}
.hs-op-box-play .hs-op-img {
  height: 26px;
  border-radius: 4px;
}
.hs-op-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: #334155;
  text-transform: uppercase;
}
.hs-op-play { background: #6b21a8; }
.hs-op-orange { background: #ea580c; }
.hs-op-plus { background: #16a34a; }
.hs-op-netia { background: #0284c7; }
.hs-op-vectra { background: #1e3a8a; }
.hs-op-tmobile { background: #db2777; }
.hs-ie-plan strong {
  display: block;
  font-size: 15px;
}
.hs-ie-plan small {
  color: #64748b;
  font-size: 13px;
}
.hs-ie-speed,
.hs-ie-term {
  font-size: 15px;
  color: #1e293b;
}
.hs-ie-price strong {
  font-size: 17px;
  color: #0f172a;
}
.hs-ie-toggle,
.hs-ie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--cw99-blue) !important;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.hs-ie-btn:hover {
  background: #eef4ff;
  border-color: var(--cw99-blue);
  text-decoration: none;
}
.hs-ie-body {
  margin: 0 14px 14px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}
.hs-ie-breakdown h4 {
  font-size: 15px;
  margin-bottom: 10px;
}
.hs-ie-breakdown dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 1px dashed #e2e8f0;
}
.hs-ie-perks ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 14px;
  color: #1e293b;
}
.hs-ie-perks li {
  margin: 6px 0;
}
.hs-energy-row {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #e6ebf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.hs-energy-left {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
}
.hs-energy-left strong {
  font-size: 17px;
}
.hs-energy-calc {
  display: flex;
   flex-direction: row !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
}
.hs-energy-calc label {
  width: auto;
  min-width: 130px;
}
.hs-energy-out {
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
  background: #f8fafc;
  border-radius: 8px;
}
.hs-energy-out span {
  font-size: 12px;
  color: #64748b;
}
.hs-energy-out output {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}
.hs-energy-out small {
  font-size: 12px;
  color: #64748b;
}

/* ---------- Ubezpieczenie mieszkania Card ---------- */
.hs-ins-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.hs-ins-header h3 {
  font-size: 24px;
}
.hs-ins-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.hs-ins-calc {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
}
.hs-ins-input-wrap {
  position: relative;
}
.hs-ins-input-wrap span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-weight: 600;
}
.hs-ins-summary {
  background: #eef4ff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hs-ins-summary > span {
  font-size: 13px;
  color: #475569;
}
.hs-ins-summary output {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
}
.hs-ins-summary small {
  font-size: 12.5px;
  color: #475569;
}
.hs-ins-thead {
  display: grid;
  grid-template-columns: 184px 1.4fr 130px 124px;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}
.hs-ins-row {
  display: grid;
  grid-template-columns: 184px 1.4fr 130px 124px;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid #eef2f6;
}
.hs-ins-prov {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hs-ins-logo-box {
  width: 76px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-ins-img {
  max-width: 74px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.hs-ins-img-pzu-dom {
  max-height: 34px;
}
.hs-ins-img-generali-dom {
  max-height: 34px;
}
.hs-ins-img-warta-dom {
  max-width: 66px;
  max-height: 18px;
}
.hs-ins-img-link4-dom {
  max-width: 74px;
  max-height: 20px;
}
.hs-ins-img-allianz-moj-dom {
  max-width: 74px;
  max-height: 22px;
}
.hs-ins-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.hs-ins-scope {
  font-size: 14.5px;
  color: #334155;
}
.hs-ins-price strong {
  font-size: 16px;
  color: #0f172a;
}

/* ---------- Bottom 2 Cards (Fachowcy + Pozostałe usługi) ---------- */
.hs-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hs-service-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
}
.hs-list-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.hs-list-price {
  font-size: 14.5px;
  color: #334155;
}
.hs-list-go {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--cw99-blue);
}
.hs-trades-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13.5px;
}
.hs-catalog-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hs-cat-row {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  padding: 10px 14px;
}
.hs-cat-row summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #0f172a;
}
.hs-cat-row summary::-webkit-details-marker {
  display: none;
}
.hs-cat-count {
  font-size: 13.5px;
  color: #64748b;
}
.hs-cat-row ul {
  margin-top: 10px;
  padding-left: 18px;
  columns: 2;
  font-size: 14px;
}
.hs-cat-row li {
  margin: 4px 0;
}
.hs-more-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 15px;
  color: var(--cw99-blue);
}

/* ---------- Okolica 2x3 Bento Grid (#okolica) ---------- */
.bw-okolica-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.bw-ok-card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.bw-ok-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.bw-ok-head h3 {
  font-size: 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bw-badge-99 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--cw99-blue);
  font-size: 13px;
  font-weight: 700;
}
.bw-ok-chip {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569 !important;
  font-weight: 500;
}
.bw-ok-pills {
  display: flex;
  gap: 6px;
}
.bw-ok-pills a,
.bw-ok-pills span {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}
.bw-ok-pills .is-active {
  background: #eef4ff;
  color: var(--cw99-blue);
}
.bw-ok-subhead {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-top: 2px;
}
.bw-ok-forum {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bw-ok-forum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  color: #0f172a !important;
}
.bw-ok-forum-row:hover {
  background: #eef4ff;
  text-decoration: none;
}
.bw-ok-forum-row strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
}
.bw-ok-forum-row span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 3px;
}
.bw-ok-places {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bw-ok-place-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.bw-ok-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: #2457c6;
}
.bw-ok-avatar-1 { background: #0d9488; }
.bw-ok-avatar-2 { background: #7c3aed; }
.bw-ok-place-info strong {
  display: block;
  font-size: 15px;
}
.bw-ok-place-info span {
  font-size: 13px;
  color: #64748b;
}
.bw-ok-btn-pill {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--cw99-blue) !important;
  font-size: 13.5px;
  font-weight: 600;
}
.bw-ok-btn-pill:hover {
  background: #eef4ff;
  border-color: var(--cw99-blue);
  text-decoration: none;
}

/* Ogłoszenia 99 visual rows */
.bw-ok-realty-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bw-ok-realty-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
}
.bw-ok-realty-thumb {
  width: 92px;
  height: 68px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  display: block;
}
.bw-thumb-living {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Crect width='160' height='120' fill='%23e2e8f0'/%3E%3Crect y='82' width='160' height='38' fill='%23cbd5e1'/%3E%3Crect x='22' y='14' width='52' height='56' rx='3' fill='%23bae6fd' stroke='%23fff' stroke-width='4'/%3E%3Crect x='30' y='62' width='100' height='26' rx='6' fill='%233b82f6'/%3E%3Crect x='24' y='72' width='112' height='16' rx='4' fill='%231d4ed8'/%3E%3Ccircle cx='128' cy='40' r='14' fill='%23fde047' opacity='.7'/%3E%3C/svg%3E");
}
.bw-thumb-kitchen {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Crect width='160' height='120' fill='%23f1f5f9'/%3E%3Crect y='84' width='160' height='36' fill='%23d6d3d1'/%3E%3Crect x='16' y='18' width='84' height='28' rx='3' fill='%23fff' stroke='%2394a3b8' stroke-width='2'/%3E%3Crect x='16' y='56' width='128' height='32' rx='3' fill='%23475569'/%3E%3Crect x='110' y='20' width='34' height='68' rx='3' fill='%23cbd5e1'/%3E%3C/svg%3E");
}
.bw-thumb-balcony {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Crect width='160' height='120' fill='%23dbeafe'/%3E%3Ccircle cx='40' cy='60' r='32' fill='%2322c55e'/%3E%3Ccircle cx='75' cy='68' r='26' fill='%2316a34a'/%3E%3Crect x='100' y='16' width='48' height='88' fill='%23f8fafc' stroke='%2394a3b8' stroke-width='2'/%3E%3Crect y='86' width='160' height='34' fill='%2364748b' opacity='.45'/%3E%3C/svg%3E");
}
.bw-ok-realty-body h3,
.bw-ok-realty-body h4 {
  font-size: 15.5px !important;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 3px !important;
}
.bw-ok-realty-body a {
  color: #0f172a;
}
.bw-ok-realty-loc {
  font-size: 13px;
  color: #64748b;
}
.bw-ok-realty-price strong {
  font-size: 17px;
  color: #0f172a;
}
.bw-ok-heart {
  color: #94a3b8;
  font-size: 18px;
}

/* Wiadomości rows */
.bw-ok-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bw-ok-news-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.bw-ok-news-thumb {
  width: 76px;
  height: 54px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.bw-news-thumb-0 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 84'%3E%3Crect width='120' height='84' fill='%23dbeafe'/%3E%3Crect x='14' y='24' width='38' height='60' fill='%233b82f6'/%3E%3Crect x='58' y='14' width='46' height='70' fill='%231d4ed8'/%3E%3C/svg%3E");
}
.bw-news-thumb-1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 84'%3E%3Crect width='120' height='84' fill='%23fef3c7'/%3E%3Crect x='12' y='34' width='96' height='32' rx='8' fill='%23f59e0b'/%3E%3Ccircle cx='32' cy='68' r='8' fill='%231e293b'/%3E%3Ccircle cx='88' cy='68' r='8' fill='%231e293b'/%3E%3C/svg%3E");
}
.bw-news-thumb-2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 84'%3E%3Crect width='120' height='84' fill='%23dcfce7'/%3E%3Ccircle cx='42' cy='42' r='22' fill='%2322c55e'/%3E%3Ccircle cx='78' cy='46' r='18' fill='%2316a34a'/%3E%3C/svg%3E");
}
.bw-ok-news-title,
.bw-ok-news-body summary {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3;
  display: block;
}
.bw-ok-news-body .home-meta {
  margin: 3px 0 0 !important;
  font-size: 12.5px !important;
}
.bw-ok-foot-links {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Wydarzenia rows (#wydarzenia) */
.bw-ok-events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bw-ok-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
}
.bw-ev-datebox {
  width: 58px;
  min-height: 62px;
  border-radius: 10px;
  background: #eef4ff;
  color: #1e3a8a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 4px;
  line-height: 1.1;
}
.bw-ev-datebox strong {
  font-size: 20px;
  font-weight: 700;
}
.bw-ev-datebox span {
  font-size: 12px;
  font-weight: 600;
  text-transform: lowercase;
}
.bw-ev-datebox small {
  font-size: 11px;
  color: #64748b;
}
.bw-ev-photo {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
}
.bw-ev-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bw-ev-info {
  flex: 1;
  min-width: 0;
}
.bw-ev-info h3 {
  font-size: 15.5px !important;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 3px !important;
}
.bw-ev-info h3 a {
  color: #0f172a;
}
.bw-ev-venue {
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-ev-info .home-meta {
  margin: 2px 0 0 !important;
  font-size: 12.5px !important;
}
.bw-ev-arrow {
  font-size: 20px;
  color: #94a3b8;
  padding: 0 4px;
}

/* Firmy pod tym adresem (#firmy) */
.bw-ok-comp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bw-ok-comp-item {
  padding: 10px 12px !important;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
}
.bw-ok-comp-top {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.bw-ok-comp-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.bw-ok-comp-main h3 {
  font-size: 15px !important;
  font-weight: 700;
  margin: 0 !important;
}
.bw-ok-comp-main h3 a {
  color: #0f172a;
}
.bw-ok-comp-krs {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}
.bw-ok-comp-badge {
  font-size: 12.5px;
  color: #64748b !important;
  white-space: nowrap;
}
.bw-ok-comp-details {
  margin-top: 6px !important;
  font-size: 13.5px;
}
.bw-ok-comp-details summary {
  font-size: 12.5px;
  padding: 2px 0 !important;
}

/* DogOS · Pies compact card in Okolica (#opieka-nad-psem) */
.bw-ok-dog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bw-ok-dog-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  color: #0f172a !important;
}
.bw-ok-dog-row:hover {
  border-color: var(--cw99-blue);
  text-decoration: none;
}
.bw-ok-dog-ico {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.bw-ok-dog-row strong {
  display: block;
  font-size: 14.5px;
}
.bw-ok-dog-row span {
  display: block;
  font-size: 13px;
  color: #64748b;
}

.bw-ok-more {
  margin-top: auto;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--cw99-blue);
  cursor: pointer;
}

/* Collapsible Źródła danych */
.bw-sources-collapse {
  margin: 0 var(--gutter) 36px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 14px 20px;
}
.bw-sources-collapse > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #334155;
}
.bw-sources-collapse .bw-sources {
  padding: 16px 0 4px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hs-grid-3 {
    grid-template-columns: 1fr;
  }
  .hs-ins-layout {
    grid-template-columns: 1fr;
  }
  .bw-bhero,
  .bw-price-split,
  .bw-okolica-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .hs-grid {
    grid-template-columns: 1fr;
  }
  .bw-building .home-tabs,
  .bw-building .hs-page-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-ie-thead,
  .hs-ins-thead {
    display: none;
  }
  .hs-ie-summary,
  .hs-ins-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hs-ie-body {
    grid-template-columns: 1fr;
  }
  .bw-fact-cell {
    border-right: 0;
    border-bottom: 1px solid #eef2f6;
    padding: 10px 4px;
  }
}
