/* 外层容器 */
.qlbd-fir-productside {
    width: 280px; /* 侧边栏宽度，可根据实际情况调整 */
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
}

/* 头部样式 */
.qlbd-fir-productside-header {
    background-color: #2196f3; /* 使用预设的蓝色 */
    color: #ffffff;
    padding: 24px 20px;
}

.qlbd-fir-productside-header .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 2px;
}

.qlbd-fir-productside-header .subtitle {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 一级按钮样式 */
.qlbd-fir-productside-btn {
    width: 100%;
    background-color: #ffffff;
    color: var(--ql-color-text-title);
    padding: 20px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    transition: color 0.15s ease;
}

.qlbd-fir-productside-btn:hover,
.qlbd-fir-productside-btn.active {
    color: #2196f3;
}

/* 一级右侧箭头 (使用纯 CSS 绘制) */
.qlbd-fir-productside-btn .arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #999999;
    border-right: 2px solid #999999;
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.15s ease;
}

.qlbd-fir-productside-btn:hover .arrow,
.qlbd-fir-productside-btn.active .arrow {
    border-color: #2196f3;
}

/* 展开时箭头朝下 */
.qlbd-fir-productside-btn.active .arrow {
    transform: rotate(135deg);
}

/* 面板容器 (核心动画部分) */
.qlbd-fir-productside-panel {
    background-color: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* 二级列表样式 */
.qlbd-fir-productside-sublist {
    padding: 8px 0;
}

.qlbd-fir-productside-sublist li a {
    display: block;
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    color: #333333;
    position: relative;
    transition: color 0.15s ease;
}

/* 二级菜单前面的空心小圆圈 */
.qlbd-fir-productside-sublist li a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border: 1px solid #2196f3;
    border-radius: 50%;
    background-color: transparent;
}

.qlbd-fir-productside-sublist li a:hover {
    color: #2196f3;
}




/* =======================================
 * 1. 整体布局 & 1200px 限制
 * ======================================= */
.qlbd-fir-productside {
    width: 100%;
    padding: 40px 0; /* 上下留白 */
    background-color: #fafafa; /* 背景色可根据项目调整 */
}

.qlbd-fir-productside-container {
    max-width: var(--ql-container-width); /* 调用全局变量 1200px */
    margin: 0 auto;
    padding: 0 16px; /* 移动端左右安全边距 */
    display: flex;
    align-items: flex-start; /* 顶部对齐 */
    gap: 24px; /* 左右模块间距 24px */
}

/* =======================================
 * 2. 左侧侧边栏结构限制
 * ======================================= */
.qlbd-fir-productside-sidebar {
    width: 280px;
    flex-shrink: 0; /* 防止侧边栏被右侧挤压 */
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
}

/* =======================================
 * 3. 右侧主体占位样式
 * ======================================= */
.qlbd-fir-productside-main {
    flex-grow: 1; /* 自动填满剩余空间 */
    width: calc(100% - 280px - 24px);
}

.qlbd-fir-productside-placeholder {
    width: 100%;
    min-height: 500px;
    border: 2px dashed #cccccc; /* 虚线框占位 */
    background-color: #fafafa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999999;
    text-align: center;
}

.qlbd-fir-productside-placeholder h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #777777;
}

/* =======================================
 * 4. 📱 响应式适配 (平板 & 手机)
 * ======================================= */
@media screen and (max-width: 996px) { /* 对应断点 lg(996px) */
    .qlbd-fir-productside-container {
        flex-direction: column; /* 改为上下排列 */
    }

    .qlbd-fir-productside-sidebar,
    .qlbd-fir-productside-main {
        width: 100%; /* 宽度占满 100% */
    }

    .qlbd-fir-productside-placeholder {
        min-height: 300px; /* 移动端占位高度调小点 */
    }
}



