.cst-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    position: relative;
    align-items: flex-start;
}

.cst-desktop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
}

.cst-content-area {
    flex-grow: 1;
    position: relative;
    overflow: hidden; 
}

.cst-tab {
    padding: 24px;
    background: #fdfdfd;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #eaeaea;
}

.cst-tab.cst-tab-active {
    background: #ffffff;
    border-left-color: #0073aa;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.cst-tab-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }

.cst-tab-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    font-size: 14px;
    color: #666;
}

.cst-tab-active .cst-tab-desc {
    max-height: 300px; 
    opacity: 1;
    margin-top: 12px;
}

.cst-mobile-accordion { display: none; }

.cst-panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s ease;
}

.cst-panel.cst-panel-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.cst-wrapper[data-transition="slide"] .cst-panel {
    transform: translateX(40px);
}
.cst-wrapper[data-transition="slide"] .cst-panel.cst-panel-active {
    transform: translateX(0);
}

.cst-wrapper.cst-is-mobile {
    flex-direction: column;
    gap: 0;
}

.cst-wrapper.cst-is-mobile .cst-desktop-sidebar {
    display: none;
}

.cst-wrapper.cst-is-mobile .cst-content-area {
    width: 100%;
}

.cst-wrapper.cst-is-mobile .cst-mobile-accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f7f7f7;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
}

.cst-wrapper.cst-is-mobile .cst-mobile-accordion.cst-tab-active {
    background: #ffffff;
    border-color: #0073aa;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

.cst-wrapper.cst-is-mobile .cst-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none; 
    border: 1px solid #eaeaea;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 24px;
    margin-bottom: 15px;
    transform: none !important; 
}