.dynamic-map-dropdown-wrap {
    margin-bottom: 50px;
    text-align: center;
}

.dynamic-map-address-header{
    font-weight: bold;
    color: #000;
    display:flex;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.dynamic-map-address-list {
    list-style: none;
    padding: 0;
}
.dynamic-map-address-list .svgAddress {
    cursor: pointer;
    padding: 8px 0;
}
.dynamic-map-address-list .svgAddress:hover {
    text-decoration: underline;
}
.iela.active {
    fill: #d6de23 !important;
}

.svgAddress{
    cursor: pointer;
    display:flex;
    align-items:center;
    padding:8px 0;
}
.svgAddress:nth-child(odd){
    background-color: #f3f3f3;
}
.svgAddress:hover {
    background-color: #e2e2e2;
    color: #000;   
}

.svgAddress div:first-child{
    padding-left: 10px;
}

#dynamic-map-street-dropdown{
    width: 50%;
    margin:auto;
    font-size: 2vw;
    font-weight: bold;
    color: #000;
    border: none; 
    background:none;
    border-bottom: solid 2px #000;
    outline:none;
    text-align: center;
}

/* shortcode */ 
.dynamic-building-tabs-buttons {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    margin-top: 20px;
    justify-content: center;
}

.elementor-kit-629 button.dynamic-building-tab-btn{
    padding: 14px 38px;
}

.dynamic-building-tab-btn {
    padding: 14px 38px;
    border: 1px solid #222;
    background: #fff;
    color: #222;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    outline: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-building-tab-btn.active,
.dynamic-building-tab-btn:focus {
    background: #111;
    color: #fff;
    border-color: #111;
}


.dynamic-building-tabs-content { margin-top: 40px; }
.dynamic-building-tab-content { display:none; }
.dynamic-building-tab-content.active { display:block; }
.dynamic-building-row { display:flex; gap:40px; align-items:center; }
.dynamic-building-info {
    flex: 1;
    min-width: 220px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    margin-bottom: 20px;
}

.dynamic-building-info-block {
    text-align: center;
}

.dynamic-building-info-block .building-info-label {
    font-size: 1rem;
    color: #222;
    font-weight: 400;
    margin-bottom: 6px;
    display: block;
}

.dynamic-building-info-block .building-info-value {
    font-size: 2.6rem;
    font-family: 'Poppins',sans-serif;
    font-weight: 600;
    color: #111;
    line-height: 1.1;
    margin-bottom: 0;
}


.dynamic-building-floorplans { flex:1; }
.floorplan-main-img {
    width: 100%;
    max-width: 400px;
    min-height: 220px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
}

.floorplan-main-img img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
}

.floorplan-thumbs {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.floorplan-thumb {
    border: 2px solid #eee;
    border-radius: 3px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s;
}

.floorplan-thumb:hover,
.floorplan-thumb.active {
    opacity: 0.8;
}



.dynamic-building-gallery-thumbs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: flex-start;
}
.building-gallery-thumb {
    width: 30%;
    margin:1%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #eee;
    border-radius: 4px;
    transition: all 0.2s;
    
}
.building-gallery-thumb:hover {
   opacity: 0.8;
}



/* Responsive for mobile */
@media (max-width: 900px) {
    .floorplan-main-img, .floorplan-main-img img {
        max-width: 100%;
        height: 160px;
        min-height: 160px;
    }
    .floorplan-main-img img {
        height: 160px;
    }
    .floorplan-thumb {
        width: 44px;
        height: 44px;
    }
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .dynamic-building-info {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }

    .dynamic-building-row {
        flex-direction: column;
        gap: 24px;
    }
    .floorplan-main-img, .floorplan-main-img img {
        max-width: 100%;
        height: auto;
        min-height: 120px;
    }
    .floorplan-main-img img {
        height: 120px;
    }
    .floorplan-thumb {
        width: 36px;
        height: 36px;
    }
    .dynamic-building-tabs-buttons {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    .dynamic-building-tab-btn {
        flex: 1 1 40%;
        min-width: 120px;
        max-width: 48%;
        margin: 0;
        box-sizing: border-box;
    }
    .building-gallery-thumb{width: 45%;}
}