:root{font-size:18px}
html{scroll-behavior:smooth;scroll-padding-top:400px}
#item-1713943088295 > .ba-hamburger-menu > .main-menu.visible-menu{right:-5px}
.main-menu .nav-item.item-105,
.ba-hamburger-menu > .main-menu .nav-item.item-105{border:1px solid var(--accent)!important;background-color:var(--accent)!important;transition: all .5s}
.main-menu .nav-item.item-105 a{color:#fff!important}
.main-menu .nav-item.item-105:hover,
.ba-hamburger-menu > .main-menu .nav-item.item-105:hover{border:1px solid var(--accent)!important;background-color:transparent!important;transition: all 1s}
.main-menu .nav-item.item-105:hover a{color:var(--accent)!important}
.ba-item-language-switcher .ba-dropdown-layout .ba-language-switcher-list {margin-left: -65px;width: 140px;}
.glass br{display:none}
.nav-item.item-105 a{position:relative}
.nav-item.item-105 a:after{content:'model 3D';display:block;position:absolute;bottom:-25px;left:0;right:0;font-size:.8rem;font-weight:700;text-transform:uppercase;color:var(--accent);text-align:center;margin:0 auto}
.nav-item.item-105.current.active
.ba-language-switcher-item{display:flex;align-items:center;justify-content:space-evenly}
.apartamenty #item-17207227028392{display:none!important}
p strong{font-weight:700}
/*.blok .content-text{display:flex;align-items:center;justify-content:start;background-color:var(--accent);position:relative;height:45px;padding:0 20px}
.blok .content-text p{margin-bottom:0}
.blok:after{content:'';position:absolute;right:-25px;top:0;width: 0px;height: 0px;border-style: solid;border-width: 22.5px 0 22.5px 25px;border-color: transparent transparent transparent var(--accent);transform: rotate(0deg);}*/
.powody-lista ul{list-style-type:none}
.powody-lista li{margin-bottom:15px;line-height:1.2;margin-left:50px;position:relative;min-height:38px;display:grid;align-items:center}
.powody-lista li:before{content:'';position:absolute;left:-60px;justify-self:center;width:43px;height:38px}
.powody-lista.lewa li:nth-child(1)::before{background-image:url('../../../../images/theme/ico/org/ico_kameralna.png');width:38px;height:38px}
.powody-lista.lewa li:nth-child(2):before{background-image:url('../../../../images/theme/ico/org/ico_lokalizacja.png');width:26px;height:37px}
.powody-lista.lewa li:nth-child(3):before{background-image:url('../../../../images/theme/ico/org/ico_inwestycja.png');width:37px;height:37px}
.powody-lista.lewa li:nth-child(4):before{background-image:url('../../../../images/theme/ico/org/ico_przeszklenia.png');width:35px;height:35px}
.powody-lista.lewa li:nth-child(5):before{background-image:url('../../../../images/theme/ico/org/ico-studio-arch.png');width:26px;height:37px}
.powody-lista.lewa li:nth-child(6):before{background-image:url('../../../../images/theme/ico/org/ico_ogrod.png');width:35px;height:37px}
.powody-lista.lewa li:nth-child(7):before{background-image:url('../../../../images/theme/ico/org/ico_parking.png');width:34px;height:34px}


.powody-lista.prawa li:nth-child(4)::before{background-image:url('../../../../images/theme/ico/org/ico_apartament.png');width:34px;height:31px}
.powody-lista.prawa li:nth-child(1):before{background-image:url('../../../../images/theme/ico/org/ico_przestronne.png');width:36px;height:36px}
.powody-lista.prawa li:nth-child(2):before{background-image:url('../../../../images/theme/ico/org/ico_balkon.png');width:43px;height:33px}
.powody-lista.prawa li:nth-child(3):before{background-image:url('../../../../images/theme/ico/org/ico_zmiany-lokatorskie.png');width:42px;height:42px}
.powody-lista.prawa li:nth-child(5):before{background-image:url('../../../../images/theme/ico/org/ico_wykonczenie.png');width:34px;height:21px}
.powody-lista.prawa li:nth-child(7):before{background-image:url('../../../../images/theme/ico/org/ico_czesci-wspolne.png');width:30px;height:34px}
.powody-lista.prawa li:nth-child(6):before{background-image:url('../../../../images/theme/ico/org/ico_schowek.png');width:31px;height:35px}
#item-17175722432810 .ba-feature-box:nth-child(n) > div,
#item-1717571832395 .ba-feature-box:nth-child(n) > div{display:flex;align-items:center}
.ba-feature-description strong{font-weight:700!important}
.okolica h4{margin:50px 0 10px 50px!important;position:relative;min-height:43px;display:flex;align-items:end}
.okolica ul{list-style-type:none;margin-top:0;margin-bottom:30px;margin-left:0}
.okolica ul li{display:flex; justify-content:space-between;margin-bottom:0;position:relative;overflow-x:hidden}
.okolica ul li:before{content:' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ';white-space:nowrap;color:var(--text);z-index:-1;position:absolute;left:0;right:0;bottom:0;} 
.okolica li span{font-family: 'Filson Pro';font-weight: 300;font-size: 1rem;
  line-height: 1.6;background-color:var(--bg-dark-accent)}
.okolica h4:before{content:'';position:absolute;left:-50px;bottom:-2px;justify-self:center;width:43px;height:43px}
.okolica .school:before{background-image:url('../../../../images/theme/ico/ico-szkoly.png')}
.okolica .shops:before{background-image:url('../../../../images/theme/ico/ico-sklepy.png')}
.okolica .culture:before{background-image:url('../../../../images/theme/ico/ico-rozrywka.png')}
.okolica .hospital:before{background-image:url('../../../../images/theme/ico/ico-szpitale.png')}
.okolica .city-transport:before{background-image:url('../../../../images/theme/ico/ico-komunikacja.png')}
.okolica .train:before{background-image:url('../../../../images/theme/ico/ico-kolej.png')}
.okolica .co-working:before{background-image:url('../../../../images/theme/ico/ico-co-working.png')}
.okolica .sport:before{background-image:url('../../../../images/theme/ico/ico-silownie.png')}

.com_gridbox:not(.modal) p + p{margin-top:0.8rem}
.top-menu .ba-grid-column,.top-social{}
.top-social{justify-content:flex-end!important;}
.top-menu .ba-grid-column>div{width:auto!important;display:flex;flex-direction:row!important}
.top-logo #item-1693919270281{display:flex;flex-direction:row;justify-content:flex-end!important;align-items:center;gap:1rem}
.top-logo.bottom{display:flex;flex-direction:row!important;align-items:center;gap:1rem}
.top-logo.bottom> div{width:auto!important}
.top-menu .ba-button-wrapper a{width: auto;padding: 10px 10px!important;}
.top-menu{justify-content:flex-end!important;flex-direction:row!important}
.top-menu>div{width:auto!important;min-width:0!important}
.lang-inline a {color:var(--secondary)}
/* Hiding icon close in the overlay section */

table {border:1px solid var(--border);/*max-width: 70%;*/margin:0 auto;font-family: 'Filson Pro'; font-size:.8rem;font-weight:300}
table caption {font-size: 1.5em;margin: .5em 0 .75em;}
table thead th{font-weight:400}
table tbody td:first-child{text-transform:uppercase;font-weight:400}
table tbody td{padding:10px}
table thead th{padding:10px;background-color:var(--bg-dark-accent);border-right:1px solid var(--bg-primary)}
table thead th:last-child{border-right:none}
table tbody tr:nth-child(odd){background-color: var(--bg-secondary);z-index: -1;
    position: relative;}
table th,
table td{padding:5px 15px;border-right:1px solid var(--border);line-height:1}
table th:last-child,
table td:last-child{border-right:none}
table th,
table td:not(first-child){text-align:center}
table tr[data-label="razem"] td{font-weight:700!important}

.visually-hidden{display:none}
#item-16088154111 i.zmdi.zmdi-close.ba-overlay-section-close {display: none;}
.lang{margin-right:.5rem}
.lang a{color:var(--title-inverse);}
.lang a:hover{color:var(--text-inverse)}
#language_btn_110{background-color:transparent;font-size:18px;font-weight:300;color:var(--title-inverse)}
#language_btn_110:after{content: '\f2f9';font-family: Material-Design-Iconic-Font;}
.dropdown-menu{width:auto;min-width:20px}
.dropdown-menu.show {display:block;}
#item-16332012530 .ba-feature-box:nth-child(3n+1){background-color:#fff}
#item-16332012530 .ba-feature-box:nth-child(3n+1) .ba-feature-description-wrapper *{color:var(--secondary)}
#item-16332012530 .ba-feature-box:nth-child(3n+2){background-color:#333}
#item-16332012530 .ba-feature-box:nth-child(3n+2) .ba-feature-title,#item-16332012530 .ba-feature-box:nth-child(3n+2):hover .ba-feature-title  {color:var(--secondary)}
#item-16332012530 .ba-feature-box .ba-feature-title:after{content: '\f278';font-family: Material-Design-Iconic-Font;display:block;color:var(--title-inverse);font-size: 50px;padding:20px;border:1px solid var(--title-inverse);line-height: 1em;text-align: center;width: 1em;margin-top:25px}
#item-16332012530 .ba-feature-box .ba-feature-title{position:relative}

#item-16332012530 .ba-feature-box:nth-child(1)  .ba-feature-title:before,
#item-16332012530 .ba-feature-box:nth-child(3)  .ba-feature-title:before{content: 'sprzedany';display:block;color:var(--accent);font-size: 1.2rem;height:92px;text-align: center;width: auto;margin-top:10px;position: absolute;right: 0;top:-50px;font-weight:600;text-transform:uppercase;background-color:var(--color-5);border-radius:150px;width:150px;height:150px ;color:#fff;display:flex;align-items:center;justify-content:center}
/*#item-16332012530 .ba-feature-box:nth-child(3) .ba-feature-title:before{content: 'rezerwacja';display:block;color:var(--accent);font-size: 1.2rem;height:92px;text-align: center;width: auto;margin-top:10px;position: absolute;right: 0;top: -50px;font-weight:600;text-transform:uppercase;background-color:var(--color-5);border-radius:150px;width:150px;height:150px ;color:#fff;display:flex;align-items:center;justify-content:center}*/

#item-16332012530 .ba-feature-box{overflow:visible!important}
#item-16332012530 .ba-feature-box:nth-child(3n+1) .ba-feature-title:after{color:var(--secondary);border:1px solid var(--secondary)}

/* Wishlist, Cart, Search */

.ba-store-wishlist.ba-container,
.visible-live-search-results,
.ba-live-search-results,
.ba-store-cart.ba-container {box-shadow: none !important;border-radius: 0 !important;border: 1px solid var(--border);}

/* Related Posts */

.custom-posts .ba-blog-post-add-to-cart-wrapper {flex-direction: column;}
.custom-posts .ba-blog-post-add-to-cart-button {margin-top: 25px;}
.custom-posts .ba-store-app-product {box-shadow: inset 0px 0px 0px 1px transparent;}
.custom-posts .ba-store-app-product:hover {box-shadow: inset 0px 0px 0px 1px #eaeaea;}
.custom-posts .ba-slideshow-img {margin: 1px auto;width: calc(100% - 2px) !important;}
.custom-posts .ba-blog-post.ba-store-app-product:hover {border: 1px solid var(--border) !important;}

/* Recent Post Slider */

.custom-posts .ba-slideshow-img {background-size: contain !important;}

/* Field Brand */

#item-16106204060 .ba-field-content a {text-transform: uppercase;color: var(--subtitle);}
#item-16106204060 .ba-field-content a:hover {color: #000;}

/* Logos */

.logo img:hover {opacity: .5;}

/* Modal Icons */

.ba-image-modal i {color: #000;font-size: 64px;}

/* form */
#feedback {padding: 10px 30px;font-size: 20px;position: relative;top: 13px;border-radius: 18px;font-weight: 700;display: none;}
#feedback.warning {background: orangered;display: inline-block;}
#feedback.success {background: lightgreen;display: inline-block;}
.invisible {display: none;}
.form-group.p-3{margin:10px}
/* end form */
/* Sticky Column */


/* modal */
#customContactFormModal {position: fixed;z-index: 1000;left: 0;top: 0;width: 100%;height: 100%;overflow: auto;background-color: rgb(0,0,0);background-color: rgba(0,0,0,0.4);display: flex;justify-content: center;align-items: center;} 
#globalform .form-wrapper {max-width: 100%!Important;}
#modalContent {background-color: #fefefe;margin: auto;padding: 20px;border: 1px solid #888;width: 80%;max-width: 500px;position: relative;}
#closeModal {position: absolute;top: 10px;right: 15px;color: #aaa;font-size: 2.5rem;font-weight: bold;cursor: pointer;}
#closeModal:hover,
#closeModal:focus {color: black;text-decoration: none;cursor: pointer;}
#customContactFormModal h2 {font-size:1.6rem;line-height:2rem;margin-bottom:25px}
/* end modal */
.poziom1{z-index:9}
.poziom2{z-index: 8}
@media (min-width: 1281px){
#item-16311993730 .slideshow-content {width: 200%;margin-left: -50%;}
}

@media (min-width: 769px){
.sticky-column > .column-wrapper,
.sticky-column-3 > .column-wrapper {display: block !important;}
.sticky-column > .column-wrapper .ba-grid-column-wrapper:nth-child(2),
.sticky-column-3 > .column-wrapper .ba-grid-column-wrapper:nth-child(3) {position: sticky;top: 0;}
}
@media (min-width: 420px){
.ba-slideset-dots{display:none!important}
}
@media(max-width: 1280px){
#item-16332012530 .ba-feature-box .ba-feature-title:after{margin-top:0px}
.com-baforms-wrapper form[data-id="1"] .ba-form-submit-btn {width: 100%;}
}
@media (max-width: 1024px){
.ba-store-cart-opened .ba-sticky-header.visible-sticky-header, 
.ba-store-wishlist-opened .ba-sticky-header.visible-sticky-header {max-width: 100% !important;}
br {display:none}
footer br {display:initial}
.okolica ul li{font-size:.8rem}
.column-wrapper .ba-grid-column-wrapper .ba-grid-column.column-horizontal-direction.column-horizontal-align-right.top-menu {flex-direction: row-reverse!important}
.top-menu .ba-item-social-icons .ba-icon-wrapper a {margin-bottom:0}
  #item-1714029500466 .instagram-wrapper:not(.simple-gallery-masonry-layout) .ba-instagram-image {aspect-ratio: 1;height: auto;}
}
@media (max-width:850px){
  #modalContent {width: 95%;}
  #customContactFormModal {top: 40px;}
  #customContactFormModal h2 {font-size:1.3rem;line-height:1.8rem;margin-bottom:0}
  #customContactFormModal p{font-size:.8rem;line-height:1rem}
  #customContactFormModal input.apartament{border:none;padding:0;height:auto}
  #customContactFormModal .form-group.p-3 {margin: 0;}
}
@media  (max-width: 812px) {
table caption {font-size: 1.3em;}
table thead {border: none;clip: rect(0 0 0 0);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}
table tr {display: block;margin-bottom:0;border-bottom:1px solid var(--border)}
table tbody tr:first-child{background-color:var(--bg-dark-accent)}
table tr:last-child{border-bottom:none;}
table tbody tr:nth-child(odd){background-color:transparent;}
table td {display: block;font-size: .8em;text-align: right!important;border-right:none;padding:10px 20px!important}
table td:nth-child(odd){background-color: var(--bg-secondary)}
table td[data-label="grupa"]{font-weight:700!important;background-color:var(--primary);color:var(--title-inverse)}
table td::before {content: attr(data-label);float: left;/*border-right:1px solid var(--primary)*/}
table td:last-child {border-bottom: 0;}
table td br{display:none}
#globalform .form-wrapper{width:100%;max-width:100%!important;margin-inline:auto}
.ba-feature-box-wrapper .ba-feature-box {flex-direction: row;}
.ba-feature-list-layout .ba-feature-image-wrapper {margin-right: 25px!important} 
#item-17175722432810 .ba-feature-description-wrapper,
#item-1717571832395 .ba-feature-description-wrapper{text-align:left}
}

@media (max-width: 430px){
.ba-feature-box-wrapper .ba-feature-box {flex-direction: column;align-items:center}
  .ba-feature-box-wrapper .ba-feature-box .ba-feature-image-wrapper{margin-bottom:20px}
  .ba-feature-list-layout .ba-feature-image-wrapper {margin-right: 0!important}
#item-17175722432810 .ba-feature-description-wrapper,
#item-1717571832395 .ba-feature-description-wrapper{text-align:center}
}

/* ================== FOOTER MODAL ONLY (original IDs or __footer) ================== */

/* Feedback */
footer #feedback,
footer #feedback__footer { padding:10px 30px; font-size:20px; position:relative; top:13px; border-radius:18px; font-weight:700; display:none; }
footer #feedback.warning,
footer #feedback__footer.warning { background:orangered; display:inline-block; }
footer #feedback.success,
footer #feedback__footer.success { background:lightgreen; display:inline-block; }
footer .invisible { display:none; }

/* Overlay */
footer #customContactFormModal,
footer #customContactFormModal__footer {
  position:fixed; z-index:2147483647; left:0; top:0; width:100%; height:100%;
  overflow:auto; background:rgba(0,0,0,.4);
  display:flex; justify-content:center; align-items:center;
  color:var(--text) !important;
}
footer #customContactFormModal a,
footer #customContactFormModal__footer a { color:var(--color-4); }

/* Content */
footer #modalContent,
footer #modalContent__footer {
  background:#fefefe; margin:auto; padding:20px; border:1px solid #888;
  width:80%; max-width:500px; position:relative;
}

/* Close */
footer #closeModal,
footer #closeModal__footer { position:absolute; top:10px; right:15px; color:#aaa; font-size:2.5rem; font-weight:bold; cursor:pointer; }
footer #closeModal:hover, footer #closeModal:focus,
footer #closeModal__footer:hover, footer #closeModal__footer:focus { color:#000; text-decoration:none; cursor:pointer; }

/* Heading */
footer #customContactFormModal h2,
footer #customContactFormModal__footer h2 { font-size:1.6rem; line-height:2rem; margin-bottom:25px; }



/* Inputs full width */
footer #globalform input[type="text"],
footer #globalform input[type="email"],
footer #globalform textarea,
footer #globalform__footer input[type="text"],
footer #globalform__footer input[type="email"],
footer #globalform__footer textarea { width:100%; }

/* Text colors inside form */
footer #globalform .form-group p,
footer #globalform .form-group label,
footer #globalform__footer .form-group p,
footer #globalform__footer .form-group label { color:var(--text) !important; }

footer #globalform .form-group input,
footer #globalform__footer .form-group input { color:var(--text) !important; }

/* Grid rows + columns */
footer #globalform .row,
footer #globalform__footer .row { display:flex; flex-wrap:wrap; }
footer #globalform .row > *,
footer #globalform__footer .row > * { margin-inline:.25rem; }
footer #globalform .row .col-sm-6,
footer #globalform__footer .row .col-sm-6 { width:calc(50% - .5rem); }
footer #globalform .row .col-sm-12,
footer #globalform__footer .row .col-sm-12 { width:calc(100% - .5rem); }

/* Checkboxes + textarea row alignment */
footer #globalform .form-group .form-check,
footer #globalform__footer .form-group .form-check { display:flex; gap:.5rem; align-items:center; }
footer #globalform .form-group .form-check label,
footer #globalform__footer .form-group .form-check label { margin-bottom:0; }

/* Keep your original spacing */
footer .form-group.p-3 { margin:10px; }

/* Buttons */
footer #globalform button#submit,
footer #globalform__footer button#submit,
footer #globalform button[type="submit"],
footer #globalform__footer button[type="submit"] {
  width:100%; margin-top:1rem; background:var(--color-5) !important; color:#fff !important;
  border:0; padding:.75rem 1rem; cursor:pointer;
}

/* --------- Responsive (copied from your rules, scoped to footer) --------- */
@media (max-width:850px){
  footer #modalContent, footer #modalContent__footer { width:95%; }
  footer #customContactFormModal, footer #customContactFormModal__footer { top:40px; }
  footer #customContactFormModal h2, footer #customContactFormModal__footer h2 { font-size:1.3rem; line-height:1.8rem; margin-bottom:0; }
  footer #customContactFormModal p, footer #customContactFormModal__footer p { font-size:.8rem; line-height:1rem; }
  footer #customContactFormModal input.apartament, footer #customContactFormModal__footer input.apartament { border:none; padding:0; height:auto; }
  footer #customContactFormModal .form-group.p-3, footer #customContactFormModal__footer .form-group.p-3 { margin:0; }
}

@media (max-width:812px){
  footer #globalform .form-wrapper, footer #globalform__footer .form-wrapper { width:100%; max-width:100% !important; margin-inline:auto; }
  /* Stack cols on small screens if desired (optional):
  footer #globalform .row .col-sm-6,
  footer #globalform__footer .row .col-sm-6 { width:calc(100% - .5rem); }
  */
}

/*
*
* iOs jumping on form input fix
*
*/
/* Keep caret math stable on iOS */
#globalform input,
#globalform input[type="text"],
#globalform input[type="email"],
#globalform input[type="tel"],
#globalform input[type="search"],
#globalform input[type="password"] {
  font-size: 18px;
  line-height: 1.4;   
}

#globalform textarea {
  font-size: 18px;
  line-height: 1.4;     
}

/* 2) Avoid 100vh keyboard jumps */
@supports (height: 100dvh) {
  .min-screen { min-height: 100dvh; }
}

/* 3) Kill smooth scroll-induced jumps */
html { scroll-behavior: auto; }

/* 4) Account for fixed header (adjust value) */
:root { scroll-padding-top: 80px; }

/* kalendarz */
.wv-cal-wrap {
  position: relative;
  display: inline-block; /* żeby wrap nie rozciągał się na 100% */
}

.wv-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.12);
  background:#03675d;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    width: auto;
  min-width:220px;
    justify-content: center;
  }
  .wv-cal-btn:hover { background: rgba(3, 103, 93, 0.8); }

  #wvCalPanel {
    position: absolute;
  top: calc(100% + 6px); /* 6px odstęp od buttona */
  left: 0;
  z-index: 100;
  margin-top: 0; /* usuń stary margin */
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: fit-content;
  min-width: 100%; /* minimum szerokość buttona */
}

  .wv-cal-opt {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 11px 14px;
    background: transparent);
    background:#03675d;
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s;
    width: auto;
    text-align: left;
  }
  .wv-cal-opt:hover {background: rgba(3, 103, 93, 0.8);color:rgba(255,255,255,.8) }

  .wv-cal-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    display: block;
    margin-top: 1px;
  }
