/* 侧边栏容器 */
#sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background-color: #f2f2f2;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    z-index: 999;
}

/* 侧边栏隐藏状态 */
#sidebar.collapsed {
    transform: translateX(100%);
}

/* 主内容全宽状态 */
.main-content.full-width {
    margin-right: 0;
}

/* 切换按钮 */
.toggle-btn {
    position: fixed;
    right: 260px;
    top: 260px;
    z-index: 1000;
    transition: right 0.3s;
}

.toggle-btn.collapsed {
    right: 0px;
}

/* 侧边栏内容 */
.sidebar-content {
    padding: 5px;
    height: calc(100% - 40px);
    overflow-y: auto;
}

/* 书签项样式 */
.bookmark-item {
    padding: 8px 10px;
    margin-bottom: 5px;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.bookmark-item:hover {
    background: #e6e6e6;
}
.layui-card-header{
    border-bottom:  3px solid #eee;
}

.ts{
    color: #999;
    font-family: Noto Sans SC, Noto Sans SC;
    line-height: 30px;
    padding-bottom: 10px;
}
.ts img{
    margin: 5px;
    text-align: center;
}

.bdbtn{
    display: block;
    width: 94px;
    height: 30px;
    background: linear-gradient(to bottom, #2196f3 0%, #00d4ce 100%);
    border-radius: 5px 5px 5px 5px;
    border: none;
    margin-bottom: 10px;
    font-family: Noto Sans S Chinese, Noto Sans S Chinese;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    margin: 0 auto;
}

.close{
    width: 10px;
    float: right;
}

.comparison-name-span{
    font-weight: bold;
}
.comparison-content-span1{
    display: block;
    text-align: center;
    font-size: 12px;
}
.comparison-content-span2{
    color: #999;
    text-align: center;
    display: block;
    font-size: 12px;
}
.product{
    border-top: 3px solid #eee;
    padding:10px 0px ;
}
.sidebarbtn{
    writing-mode: tb;
    height: 100px;
    background: #4381ec;
    font-family: Noto Sans SC, Noto Sans SC;
    border: transparent;
    color: #ffffff;
    font-size: 15px;
    padding: 5px 10px;
}
.toggleSidebar:hover{
    color: #ffffff;
}