/* Floorplan Tabs */
.floorplan_tabs { 
    display: flex;
    margin-bottom: 15px; 
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 10px;
}
.floorplan_tabs .tablink {
    padding: 7px 25px;
    color: #585858;
    font-weight: 400!important;
    /*background-color: #E9ECF3!important;*/
    border: solid 1px #E9ECF3!important;
    border-radius: 4px;
    cursor: pointer;
}
.floorplan_tabs .tablink.active {
    background-color: #1E4698!important;
    color: white!important;
}

/* Tab Content */
.tabcontent { 
    display: none; 
}

/* Floorplan Card */
.floorplan_card {
    display: flex;
    justify-content: flex-start;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    /*padding: 10px;*/
    gap: 20px;
    flex-wrap: nowrap;
    width: 73%;
}

/* Floorplan Image */
.floorplan_image {
    position: relative; /* Needed so absolute child stays inside */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 200px;
    border-right: solid 1px #ddd;
}
.floorplan_image img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: blur(2px); /* adjust the blur strength */
}

/* Info Section */
.floorplan_info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px; /* equal spacing between all children */
    padding: 10px;
    width: 50%;
    
}
.floorplan_info i {
    margin-right: 8px;   /* space between icon and text */
    color: #444242;
    font-size: 16px;
    vertical-align: middle;
}

.floorplan-meta-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}
.floorplan-meta-list li {
    margin-bottom: 6px;
    font-size: 15px;
    color: #333;
}
.floorplan-meta-list i {
    margin-right: 8px;
    color: #244489;
}


.floorplan_info span, 
.floorplan_info p {
    margin: 0; /* reset inconsistent margins */
    font-size: 16px;
    font-weight: 399!important;
    color: black;
}

/* Price */
.plan-price {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: black;
}

.plan-price .small {
    font-size: 12px;
    font-weight: 300;
    color: #555;
}

/* Button centered over image */
.floorplan_image .floor-plan-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ddd;
    font-size: 14px;
    padding: 8px 16px;
    z-index: 2;
}
.floorplan_image::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.0);
    z-index: 1;
    border-radius: inherit;
}
.floor-plan-btn a {
    color: #244489;
    text-decoration: none;
}

 /*Mobile */
@media (max-width: 768px) {
    .floorplan_card { flex-wrap: wrap; padding: 0px; gap: 10px; width:100%; }
    .floorplan_image { width: 100%; justify-content: center; border:none;}
    /*.floorplan_image img { positions:relative; max-width: 250px; }*/
    .floorplan_info {  padding: 10px ;  }
    /*.floorplan_info h3 { font-size: 14px; }*/
    /*.plan-price { font-size: 16px!important; margin: 5px 0; }*/
    /*.floorplan_image .floor-plan-btn { width: 100%; display:none; }*/
}
