.section--floor-browser {
    position: relative;
    margin-top: 0;
}

.tax-floor .section--floor-browser {
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}

.section--floor-browser img.map {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.form-search-apartments button[type=submit] {
    display: none;
}


.section-boxes__results {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1300px;
    margin: 30px auto;
}

.apartment-box {
    width: 31.5%;
}

.apartment-box .inside {
    border: 1px solid #323139;
    padding: 20px;
    border-radius: 15px;
}

.apartment-box .apartament-box__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.apartment-box .apartament-box__top a {
    color: inherit;
    text-decoration: none;
}

.apartament-box__top .btn svg {
    margin-right: 10px;
}

.apartment-box .left, .right-horizontal .left-column > .title {
    font-size: 16px;
    color: #323139;
    font-weight: 500;
}

.apartment-box .thumbnail {
    position: relative;
    margin-bottom: 10px;
    display: block;
}

.apartment-box.apartment-horizontal .thumbnail {
    width: 280px;
    margin-bottom: 0;
}

.apartment-box .thumbnail img {
    width: 100%;
    height: 270px;
    object-fit: contain;
    border-radius: 10px;
    background-color: #F3F4F6;
}

.apartment-box.apartment-horizontal .thumbnail img {
    height: 215px;
    border-radius: 14px 0 0 14px;
    margin-bottom: -2px;
    overflow: hidden;
}

.apartment-box .status {
    position: absolute;
    left: 10px;
    top: 229px;
    color: #FFF;
    font-size: 12px;
    padding: 8px 13px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #00000078;
}

.status-available, .apartment-tooltip__status.Dostępne {
    background-color: #F2ECD9;
    color: #00A63EE5 !important;
}

.status-link .status-apartment--available {
    color: #6EE7A7;
    background: #2A5C3E;
}

.status-reserved, .apartment-tooltip__status.Zarezerwowane,
.status-umowa-deweloperska, .status-apartment--reserved,
.apartment-tooltip__status.Rezerwacja {
    background-color: #2C59FF;
    color: #FFF;
}

.status-sold, .apartment-tooltip__status.Sprzedane, .status-apartment--sold {
    background-color: #D63F3F;
    color: #FFF;
}








.apartment-box .promo-label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #FFF;
    font-size: 12px;
    padding: 8px 13px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #00000078;
    background: #00A63EE5;
    font-weight: 500;
}

.apartment-box .main-details {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: space-between;
    text-decoration: none;
}

.parameter {
    background-color: #F9FAFB;
    border-radius: 10px;
}

.parameter > .title {
    font-size: 11px;
    color: #6A7282;
    font-weight: 300;
    display: block;
    width: 100%;
    padding-top: 8px;
    padding-left: 10px;
    padding-bottom: 7px;
}

.parameter .value {
    font-size: 15px;
    font-weight: 600;
    color: #323139;
    display: block;
    padding-left: 10px;
    width: 100%;
    padding-bottom: 9px;
}

.apartment-horizontal .status {
    top: 175px;
}

.main-details .parameter {
    width: 30%;
}

.apartment-box .contiguity .parameter {
    width: 48%;
}

.apartment-box .contiguity > .title {
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.apartment-box .contiguity {
    flex-wrap: wrap;
    display: flex;
    gap: 10px;
    background-color: #FFF;
    padding: 10px 0;
    border-radius: 0 0 14px 14px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

.apartment-box .action .btn {
    width: 100%;
}

.apartment-box .price-details {
    border-radius: 14px;
    background: #F9FAFB;
    padding: 15px;
    color: #323139;
    display: block;
    text-decoration: none;
}

.price-details .total-price {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.price-details .price-per-square {
    font-weight: 300;
    font-size: 13px;
    margin-bottom: 8px;
}

.price-details .previous-total-price {
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.price-details .previous-price-per-square {
    font-weight: 300;
    font-size: 23px;
    line-height: 18px;
    text-decoration: line-through;
    margin-bottom: 7px;
    color: #CCC7B9;
}

.price-details .previous-price-from {
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.12px;
    color: #99A1AF;
    border-top: 1px solid #FFFFFF1A;
    padding-top: 11px;
}

.apartment-horizontal {
    width: 100%;
}

.apartment-horizontal .inside {
    display: flex;
    justify-content: space-between;
    padding: 0;
}


.right-horizontal .buttons {
    display: flex;
    gap: 11px;
    padding-left: 25px;
    margin-top: 0;
    width: 100%;
}

.right-horizontal .buttons svg {
    margin-right: 10px;
}

.right-horizontal .left-column, .right-horizontal .right-column {
    padding-top: 25px;
}

.right-horizontal .contiguity {
    padding-top: 0;
    background: none;
    border: none;
    padding-left: 15px;
    padding-right: 15px;
}

.right-horizontal .contiguity > .title {
    font-size: 16px;
    margin-bottom: 15px;
}

.right-horizontal .contiguity .parameter {
    background: #F9FAFB;
}


.right-horizontal {
    width: 80%;
    /*padding-left: 25px;*/
    /*align-items: flex-start;*/
}

.right-horizontal .left-column {
    width: 60%;
    padding-right: 20px;
    position: relative;
    padding-top: 0;
}

.inside-horizontal {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 25px;
}

.inside-box-horizontal {
    width: 100%;
}

.right-horizontal .left-column::before {
    width: 1px;
    height: 91%;
    background: #92929233;
    content: " ";
    position: absolute;
    top: 13%;
    right: 0;
}

.right-horizontal .right-column {
    width: 40%;
    padding-top: 0;
}

.right-horizontal .price-column {
    width: 280px;
    height: 100%;
    display: flex;
}

.right-horizontal .price-details {
    border-radius: 0 14px 14px 0;
    width: 100%;
    margin-bottom: 0;
    background: #323139;
    color: #fffffff2;
}

.right-horizontal .left-column .title a {
    color: inherit;
    text-decoration: none;
    margin-bottom: 25px;
    display: block;
}

.right-horizontal .main-details {
    margin-bottom: 0;
}

.house-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    position: absolute;
    z-index: 500;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(50, 49, 57, 0.87);
    backdrop-filter: blur(10px);
    color: #f2ecd8;
}

.section--search {
    position: relative;
}

.house-loader svg {
    width:70px;
}

.house-loader .line {
    fill:none;
    stroke:#f2ecd8;
    stroke-width:4;
    stroke-linecap:round;
    stroke-linejoin:round;

    stroke-dasharray:120;
    stroke-dashoffset:120;

    animation: draw 2s linear infinite;
}

.house-loader .line:nth-child(2){
    animation-delay:0.3s;
}

.house-loader .line:nth-child(3){
    animation-delay:0.6s;
}

@keyframes draw {

    0%{
        stroke-dashoffset:120;
    }

    50%{
        stroke-dashoffset:0;
    }

    100%{
        stroke-dashoffset:-120;
    }
}

.section--change-template {
    justify-content: flex-end;
    gap: 20px;
    padding-top: 20px;
}

.section--change-template button {
    display: flex;
    padding: 0;
    background: none;
    border: none;
    font-size: 14px;
    align-items: center;
    cursor: pointer;
}

.section--change-template button .icon {
    padding: 15px;
    margin-left: 15px;
    border-radius: 10px;
}

.section--change-template .btn-template--square .icon {
    background: #F2ECD9;
    border: 2px solid transparent;
}

.section--change-template .btn-template--horizontal .icon {
    background: #FFF;
    border: 2px solid #4A4A52;
}





/*czesc do tooltipa na mapie*/

.map-wrap {
    position: relative;
    display: inline-block;
}

.apartment-tooltip {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    min-width: 320px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    font-size: 14px;
    line-height: 1.4;
}

.apartment-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}


.apartment-tooltip .inside-tooltip {
    display: flex;
    align-items: flex-start;
}

.inside-tooltip .column:nth-child(1) {
    width: 100px;
    padding-right: 15px;
}

.inside-tooltip .column:nth-child(2) {
    width: 70%;
    display: flex;
    gap: 15px;
    justify-content: space-around;
    align-items: center;
}

.inside-tooltip .column .parameter {
    width: 100px;
}

.apartment-tooltip__title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.apartment-tooltip__name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.apartment-tooltip__status {
    color: #FFF;
    border-radius: 7px;
    padding: 5px 5px;
    text-align: center;
    font-size: 12px;
}

.empty-result {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    width: 100%;
}


.empty-result a {
    color: #B95625;
}


.history-price {
    width: 100%;
}

.contiguity-label-price {
    color: #CCC7B9;
    font-weight: 300;
    font-size: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #7B7B7B45;
    padding-bottom: 15px;
}

.column-contiguity-price-value {
    font-weight: 600;
    color: #F2ECD9;
    font-size: 18px;
}

.column-contiguity-price-label {
    font-size: 11px;
    font-weight: 400;
    color: #CCC7B9;
    padding-top: 10px;
}


.popup-inner {
    background: #fff;
    color: #000;
    padding: 20px;
    max-width: 500px;
    margin: auto;
    border-radius: 8px;
    line-height: 1.2em;
}

.popup-inner ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.popup-inner ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 15px 0;
}

.popup-inner li {
    margin-bottom: 5px;
    line-height: 1.5;
}

