.cbp-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.cbp-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.cbp-btn {
    box-sizing: border-box;
    width: 130px;
    height: 40px;
    border: none;
    cursor: pointer;
    color: var(--cbp-text, #ffffff);
    background-color: var(--cbp-default, #800080);
    margin-bottom: 2px;
    transition: background-color .3s ease;
}

.cbp-btn:last-child {
    margin-bottom: 0;
}

.cbp-btn.cbp-active {
    background-color: var(--cbp-active, #e883ad) !important;
}

.cbp-content {
    flex-grow: 1;
    border-left: none;
    padding: 0px;
}

.cbp-pane {
    display: none;
}

.cbp-pane-active {
    display: block;
}

/* Мобильная версия */
@media screen and (max-width: 768px) {
    .cbp-wrapper {
        flex-direction: column;
    }

    .cbp-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .cbp-btn {
        width: calc(50% - 1px); /* две кнопки в ряд с зазором 2px */
        max-width: none;
        height: auto;
        line-height: 1.4;
        margin-bottom: 0; /* убираем нижний отступ, так как используется gap */
    }
}