.floor-plans-container {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

@media only screen and (max-width: 767px) {
    .floor-plans-container {
        flex-direction: column-reverse;
    }
    .floor-plans-content {
        margin-bottom: clamp(30px, 5vw, 60px);
    }
}

@media (min-width: 768px) {
    .floor-plans-container {
        flex-direction: row;
        max-width: 1200px;
        margin: 0 auto;
        gap: 1rem;
    }
    .floor-plans-container > div {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .floor-plans-container {
        gap: 5rem;
    }
}

.floor-plans-tabs {
    width: 100%;
}

@media (min-width: 768px) {
    .floor-plans-tabs {
        width: 50%;
    }
}

.tabs-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.tabs-list li {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media screen and (min-width: 1240px) {
    .tabs-list {
        max-width: 70%;
    }
}

.tab-item {
    border-left: 10px solid #AFDCCC;
    background: #EAEBF3;
    margin-bottom: 1px !important;
}

.single-tabs .tab-item.active {
    border-left-color: #AFDCCC;
    background: #EAEBF3;
    background-image: none;
    background-repeat: no-repeat;
    background-position: 97% center;
    color: #1E1E1E;
}

.single-tabs .tab-item.active a {
    color: #1E1E1E;
}

.tab-item.active {
    border-left-color: #00B056;
    background: #007AC6;
    background-image: url('/wp-content/uploads/2025/04/arrow-tab.svg');
    background-repeat: no-repeat;
    background-position: 97% center;
}

.tab-item.active a {
    color: #fff;
    font-size: 14px;
}

.tab-item a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.plan-info {
    text-align: center;
}

.plan-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 20px;
    padding: 0 8px 10px;
    justify-content: center;
}

.plan-buttons a {
    font-weight: 600;
    padding: 5px 20px;
    font-size: 16px;
    width: auto;
}

.plan-buttons a:hover {
    color: #ffffff;
    text-decoration: none;
}

@media (min-width: 1024px) {
    .plan-buttons {
        flex-direction: row;
    }
    .plan-buttons a {
        width: 50%;
    }
}

.floor-plans-content .plans-container img {
    display: block;
}

.plan-buttons a:last-of-type:hover {
    color: #9a4d9e;
}

.single-tabs .plan-buttons a:last-of-type:hover {
    color: #ffffff;
    text-decoration: none;
}

.download-btn {
    background: #8e559e;
    color: #fff;
    border-radius: 4px;
}

.tour-btn {
    border: 1px solid #8e559e;
    color: #8e559e;
    border-radius: 4px;
}

@media screen and (min-width: 768px) {
    .floor-plans-content .plans-container {
        width: 87%;
        margin: 0 auto;
    }
}

.plan-info p {
    font-size: 14px;
    line-height: 1;
}
