body{
    min-height: 100vh;
    padding-left: 0; /* 用于响应式调整 */
}
.fixed-left-column {
    position: fixed; /* 固定定位 */
    top: 86px; /* 距离顶部导航栏的高度 */
    left: 0;
    bottom: 10px; /* 距离底部的距离 */
    width: calc(25% - 30px); /* 计算宽度，适配3列布局 */
    max-width: 350px;
    overflow-y: auto; /* 内容超出时可滚动 */
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
    z-index: 100; /* 确保在其他内容上方 */
}

/* 滚动区域样式 */
.scrollable-column {
    max-height: calc(100vh - 86px); /* 视口高度减去上下内边距 */
    overflow-y: auto; /* 垂直滚动 */
    scrollbar-width: thin; /* 细滚动条 */
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent; /* 滚动条颜色 */
}

/* 美化滚动条 */
.fixed-left-column::-webkit-scrollbar,
.scrollable-column::-webkit-scrollbar {
    width: 6px;
}

.fixed-left-column::-webkit-scrollbar-track,
.scrollable-column::-webkit-scrollbar-track {
    background: transparent;
}

.fixed-left-column::-webkit-scrollbar-thumb,
.scrollable-column::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}

.main-content-offset {
    margin-left: calc(25%); /* 计算偏移量 */
}

/* 响应式调整 */
@media (max-width: 992px) {
    .fixed-left-column {
        position: static; /* 在中等屏幕上取消固定定位 */
        width: 100%;
        max-width: none;
        top: 0;
        bottom: 0;
        margin-bottom: 20px;
    }
    
    .main-content-offset {
        margin-left: 0; /* 取消偏移 */
    }
    
    .scrollable-column {
        max-height: none;
        overflow-y: visible;
    }
}


.card.content-block {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.content-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}




/* .filter-panel{
    margin-right:20px;
    h5{
        font-size: 1rem;
        font-weight: 550;
        margin-bottom: 5px;
        &:first-child{
            margin-top: 0;
        }
    }

  
    .children {
        margin-top: 5px;
        margin-bottom: 5px; 
        margin-left: 20px;
        display: none; 
    }
    
   
    .children.expanded {
        display: block;
    }

    .toggle-button {
        --padding-start: 0;
        --padding-end: 0;
        --min-width: 20px;
        --min-height: 20px;
        margin: 0;
        font-size: 14px;
    }
    
 
    .children {
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    }
    
}
.searchbar-panel{
    position: relative;
    .hot-search-list{
        position:absolute;
        min-width: 200px;
        max-width: 500px;
        z-index: 20;
        text-wrap: nowrap;
        text-overflow: ellipsis;
        box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
        display: none;
    }
}
.search-result-panel{
    ion-item{
        --padding-start: 0;
        ion-thumbnail{
            width: 190px;
            height: 110px;
        }
        ion-label{
            margin-top: 20px;
            margin-bottom: 20px;
            h5{
                font-size: 1.1rem;
                font-weight: 600;
                margin-top: 0;
            }
            p{
                max-height: 60px;
                overflow: hidden;
            }
        }
    }
}
.recommendation-panel{
    margin-left: 20px;
}  */




/* 固定标签导航在顶部 */
.sticky-tabs {
    position: sticky;
    top: 86px;
    z-index: 100;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    --bs-nav-tabs-link-active-color: var(--bs-white);
    --bs-nav-tabs-link-active-bg: var(--bs-primary);
}

@media (max-width: 991.98px) { 
    .sticky-tabs {
        top: 64px;
    }
}


/* 每个标签内容区域设置足够高度，方便演示滚动效果 */
.tab-section {
    min-height: 30vh;
    padding: 3rem 0;
    border-bottom: 1px dashed var(--bs-indigo);
}

/* 最后一个区域不需要底部边框 */
.tab-section:last-child {
    border-bottom: none;
}

.section-title{
    display: inline-block;
    font-weight: bold;
    border-bottom: 4px solid var(--bs-warning);
    padding-bottom: 5px;
}

.product-viewer { 
    max-width: 800px; 
    /* min-height: 480px;  */
    /* background-color: white;  */
    /* border-radius: 0.5rem;  */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.1);  */
    .main-display-area {
        height: 400px;
        max-height: 400px; 
        overflow: hidden;
        display: flex; 
        align-items: center; 
        justify-content: center; 
        background-color: #000; 
    }
}

.main-display-area {
    .media-wrapper{
        display: none;
        width: 100%;
        height: 100%;
        img, video{
            max-width: 100%; 
            max-height: 100%; 
            object-fit: contain; 
        }
    }
    
    .plyr.plyr--video {
        aspect-ratio: 16/9;
        width: 100%;
        /* max-width: 800px; */
    }

    .plyr.plyr--audio{
        margin-top: 1rem;
    }

    /* 音频样式 */
    .plyr.plyr--audio .plyr__controls {
        background: var(--bs-gray-200);
        border-radius: 10px;
        padding: 1rem;
        border-radius: 0;
    }
}
.thumbnail-scroll-container {
    overflow-x: hidden;
    /* overflow-y: hidden; */
    padding-top: 5px;
    padding-bottom: 5px;
    flex-grow: 1;
    .nav-btn { 
        flex-shrink: 0; 
    }
    .thumbnail-list {
        flex-wrap: nowrap;
        transition: transform 0.3s ease;
        .thumbnail-item {
            cursor: pointer; 
            padding: 4px; 
            flex-shrink: 0; 
            transition: all 0.3s ease; opacity: 0.6; 
            border: 2px solid transparent; 
            border-radius: 0.375rem; 
        }
        .thumbnail-item:first-child{
            margin-left:5px;
        }
        .thumbnail-item:hover { 
            opacity: 1; 
        }
        .thumbnail-item.active { 
            opacity: 1; 
            border-color: #0d6efd; 
            transform: scale(1.05); 
        }
        .thumbnail-item img { 
            width: 40px; 
            height: 40px; 
            object-fit: cover; 
            display: block; 
            border-radius: 0.25rem; 
        }
    }
}

