.stacking-plans {
    width: 100%;
    /* overflow-x: hidden; */
}

.stacking-content {
    display: flex;
    flex-direction: column;
    margin-top: 27px;
}

.stack-row {
    min-height: 45px;
    display: flex;
    align-items: flex-start;
}

.stack-floor {
    font-size: 16px;
    font-weight: 500;
    width: 120px;
    padding-top: 11px;
    line-height: 1.2;
}

.row-stacks {
    display: flex;
    column-gap: 3px;
    row-gap: 3px;
    margin-bottom: 3px;
    width: calc(100% - 120px);
    margin-left: 8px;
    flex-wrap: wrap;
}

.row-stack-btn {
    background: #fff;
    border: none;
    padding: 0;
}

.stack-box {
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 28px;
    padding-right: 28px;
    line-height: 1.2;
    background-color: #e9e9e9;
}

.stack-address {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stack-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 8px;
}

.stack-unit {
    font-size: 10px !important;
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stack-sqft {
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    .stack-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 38px;
    }

    .stack-floor {
        min-width: 100%;
        padding-top: 0;
    }

    .row-stacks {
        width: 100%;
        margin-left: 0;
    }
}