/* 修复产品详情页主容器样式 */
.product-detail-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 0 10px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 面包屑导航 - 移动端优化 - 适配PbootCMS */
.breadcrumb {
    padding: 15px 0 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-card-bg);
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.breadcrumb::-webkit-scrollbar {
    height: 4px;
}

.breadcrumb::-webkit-scrollbar-track {
    background: var(--color-border);
    border-radius: 2px;
}

.breadcrumb::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 2px;
}

/* PbootCMS默认输出的是a和span，重新定义样式 */
.breadcrumb a,
.breadcrumb span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 13px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: var(--color-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-primary);
    background: rgba(26, 86, 219, 0.05);
}

/* 当前项（最后一个span）样式 */
.breadcrumb span:last-child {
    color: var(--color-primary);
    font-weight: 500;
    background: rgba(26, 86, 219, 0.08);
}

/* 面包屑分隔符样式 */
.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: var(--color-muted);
    font-size: 11px;
    margin: 0 2px;
}

.breadcrumb-separator i {
    font-size: 11px;
}

/* 首页图标：使用CSS伪元素实现，确保文字始终显示 */
.breadcrumb a:first-child::before {
    content: "\f015"; /* FontAwesome 的 home 图标 Unicode */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    font-size: 12px;
    display: inline-block;
}

/* 移除可能存在的旧图标样式干扰 */
.breadcrumb a i.fa-home,
.breadcrumb a i {
    display: none;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 0 10px;
        margin-bottom: 15px;
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
        position: relative;
    }
    
    .breadcrumb::before,
    .breadcrumb::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 2;
    }
    
    .breadcrumb::before {
        left: 0;
        background: linear-gradient(to right, var(--color-card-bg), transparent);
    }
    
    .breadcrumb::after {
        right: 0;
        background: linear-gradient(to left, var(--color-card-bg), transparent);
    }
    
    .breadcrumb a,
    .breadcrumb span {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .breadcrumb a:first-child::before {
        font-size: 11px;
        margin-right: 4px;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 10px 0 8px;
        margin-bottom: 12px;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        padding: 4px 6px;
        font-size: 11px;
    }
    
    .breadcrumb a:first-child::before {
        font-size: 10px;
        margin-right: 3px;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
        font-size: 9px;
    }
}

/* 产品主区域 - 移动端优化 */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .product-main {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .product-main {
        gap: 30px;
        margin-bottom: 40px;
        padding: 0;
    }
}

/* 产品图库 - 重构后结构 */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.gallery-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gallery-slider {
        border-radius: 12px;
        aspect-ratio: 4/3;
        height: 300px;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .gallery-slider {
        height: 250px;
        min-height: 250px;
        aspect-ratio: 1/1;
    }
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    width: 100%;
}

/* 视频封面样式 */
.video-cover {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    cursor: pointer;
    z-index: 5;
}

.video-play-btn-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF8C00;
    font-size: 28px;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    z-index: 10;
}

.video-cover:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-cover:hover .video-play-btn-large {
    transform: scale(1.1);
    background: white;
}

.video-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.video-indicator i {
    color: #FF8C00;
    font-size: 12px;
}

/* 图片样式 */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    cursor: pointer;
    background: var(--color-card-bg);
}

.slider-slide.active .slider-image {
    transform: scale(1.02);
}

/* 轮播图导航按钮 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

@media (max-width: 768px) {
    .slider-nav {
        padding: 0 10px;
    }
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    z-index: 20;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0.9;
    }
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    opacity: 1;
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    backdrop-filter: blur(4px);
    z-index: 10;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .image-counter {
        font-size: 12px;
        padding: 4px 8px;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
    }
}

/* 媒体类型指示器 */
.image-counter .media-type {
    color: #FF8C00;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.image-counter .media-type i {
    font-size: 11px;
}

/* 图片类型指示器 */
.image-counter .media-type.image-type {
    color: #3498db;
}

/* 缩略图区域 - 更新为6列 */
.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .thumbnail-images {
        display: grid;
        height: 100px;
        min-height: 100px;
    }
}

@media (max-width: 1200px) {
    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* 缩略图容器 - 水平滑动 */
    .thumbnail-images {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        grid-template-columns: unset;
        position: relative;
    }

    /* 缩略图项：固定宽度为容器的 1/4 减去间隙 */
    .thumbnail-item {
        flex: 0 0 calc((100% - 24px) / 4);
        scroll-snap-align: start;
        aspect-ratio: 4/3;
    }

    /* 缩略图图片自适应容器 */
    .thumbnail-item img,
    .thumbnail-video-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 隐藏滚动条但保留滚动功能 */
    .thumbnail-images::-webkit-scrollbar {
        display: none;
    }
    .thumbnail-images {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* 淡淡的下划线指示器 */
    .thumbnail-images::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.05)
        );
        pointer-events: none;
        border-radius: 2px;
    }

    /* 产品图库整体间距调整 */
    .product-gallery {
        gap: 15px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .thumbnail-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    width: 100%;
}

.thumbnail-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
}

.thumbnail-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 缩略图视频封面 */
.thumbnail-video-cover {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.thumbnail-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF8C00;
    font-size: 10px;
    pointer-events: auto;
    z-index: 10;
}

/* 移动端视频优化 */
@media (max-width: 768px) {
    .video-play-btn-large {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

/* 产品信息 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
    }
}

.product-subtitle {
    font-size: 14px;
    color: #040a06;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 400;
}

@media (max-width: 480px) {
    .product-subtitle {
        font-size: 13px;
    }
}

/* 产品星级评分 */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0px;
}

.product-stars {
    color: #FFC107;
    font-size: 12px;
    line-height: 1;
}

.product-stars i {
    margin-right: 2px;
}

.product-rating-text {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1;
}

@media (max-width: 768px) {
    .product-rating {
        gap: 6px;
    }
    .product-stars {
        font-size: 11px;
    }
    .product-rating-text {
        font-size: 11px;
    }
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 1px 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .product-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .product-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-label {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-label i {
    font-size: 12px;
    color: var(--color-primary);
}

.meta-value {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
    padding: 0px 0px 0px 16px;
}

@media (max-width: 480px) {
    .meta-value {
        font-size: 14px;
    }
}

.product-sku {
    /*background: var(--color-card-bg);*/
    /*padding: 6px 12px;*/
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 17px;
    color: #dba400;
    /*border: 1px solid var(--color-border);*/
    width: fit-content;
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 2px 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
}

.quote-btn {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.3);
}

.quote-btn:hover::before {
    left: 100%;
}

.quote-btn i {
    font-size: 13px;
}

.whatsapp-btn {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, #25D366 0%, #0daa8e 100%);
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn i {
    font-size: 14px;
}

/* ===== 关键修复：两列布局 ===== */
.product-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .product-content-layout {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .product-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-content-layout {
        gap: 30px;
        margin-bottom: 40px;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
}

/* 左列内容 */
.left-column-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .left-column-content {
        gap: 30px;
    }
}

/* ===== 右侧侧边栏 ===== */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .product-sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        order: 3;
    }
}

/* 侧边栏卡片 */
.sidebar-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .sidebar-card {
        width: 100%;
        max-width: 100%;
        flex: none !important;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .sidebar-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
}

.sidebar-header {
    padding: 12px;
    background: linear-gradient(to right, rgba(26, 86, 219, 0.1), rgba(26, 86, 219, 0.05));
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-header i {
    color: var(--color-primary);
    font-size: 14px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.sidebar-content {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}

/* 产品详情Tab */
.product-tabs-container {
    background: var(--color-card-bg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .product-tabs-container {
        border-radius: 12px;
        overflow-x: hidden;
    }
}

.tab-nav {
    display: flex;
    list-style: none;
    background: linear-gradient(to right, rgba(26, 86, 219, 0.05), rgba(26, 86, 219, 0.02));
    border-bottom: 1px solid var(--color-border);
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-nav li {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .tab-nav li {
        padding: 10px 14px;
        font-size: 13px;
    }
}

.tab-nav li i {
    font-size: 14px;
}

.tab-nav li:hover {
    color: var(--color-primary);
}

.tab-nav li.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.5);
}

.tab-content {
    padding: 25px 25px 0 25px;
    min-height: 300px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .tab-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tab-content {
        padding: 15px;
    }
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
    width: 100%;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 统一产品描述区域样式（适用于所有Tab）===== */
.product-description {
    line-height: 1.8;
    font-size: 15px;
    color: var(--color-text);
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 标题样式 */
.product-description h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--color-text);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(26, 86, 219, 0.1);
}

.product-description h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: var(--color-text);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(26, 86, 219, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.product-description h3 i {
    color: var(--color-primary);
    font-size: 18px;
}

@media (max-width: 768px) {
    .product-description h3 {
        font-size: 18px;
        margin: 20px 0 12px;
    }
}

/* 段落样式 */
.product-description p {
    margin-bottom: 20px;
    text-align: left;      /* 左对齐，保持单词间距均匀 */
    width: 100%;
}

/* 高亮样式 */
.description-highlight,
.product-description blockquote {
    background: rgba(26, 86, 219, 0.08);
    border-left: 4px solid var(--color-primary);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.product-description blockquote p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .description-highlight,
    .product-description blockquote {
        padding: 12px;
        margin: 15px 0;
    }
}

/* ===== 列表样式：浏览器默认符号，仅符号颜色为蓝色 ===== */
.product-description ul,
.product-description ol {
    margin: 20px 0;
    padding-left: 30px;
}

/* 移除所有自定义伪元素符号 */
.product-description ul li::before,
.product-description ol li::before {
    content: none !important;
    display: none !important;
}

/* 恢复浏览器默认列表样式 */
.product-description ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
}

.product-description ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
}

/* 仅改变符号颜色为蓝色（使用 ::marker） */
.product-description ul li::marker,
.product-description ol li::marker {
    color: var(--color-primary) !important;
}

/* 列表项基础样式 */
.product-description li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--color-text);
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ===== 图片样式（响应式）===== */
.product-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-description img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .product-description img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 15px auto;
    }
}

/* 移动端整体微调 */
@media (max-width: 768px) {
    .product-description {
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
        word-spacing: normal;
        hyphens: auto;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .product-description ul,
    .product-description ol {
        padding-left: 20px;
    }
}

/* ===== 修复产品结构（#structure）中的特殊问题 ===== */
/* 强制产品结构内的所有元素继承通用样式，覆盖内联样式 */
#structure .product-description *:not(img):not(i) {
    max-width: 100% !important;
    width: auto !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    background-color: transparent !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* 修复产品结构中的图片样式（保留内联宽高，移动端自适应） */
#structure .product-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    #structure .product-description img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 15px auto;
    }
}

/* 修复产品结构中的 FontAwesome 图标 */
#structure .product-description i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: var(--color-primary) !important;
    font-style: normal !important;
}

/* 确保产品结构中的列表符号颜色为蓝色 */
#structure .product-description ul li::marker,
#structure .product-description ol li::marker {
    color: var(--color-primary) !important;
}

/* ===== 规格表 ===== */
#specs .specs-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

#specs .specs-table-container table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-card-bg);
    min-width: 800px;
    box-sizing: border-box;
}

#specs .specs-table-container tr:first-child {
    background: linear-gradient(to right, rgba(26, 86, 219, 0.1), rgba(26, 86, 219, 0.05));
    font-weight: 600;
}

#specs .specs-table-container tr:first-child td,
#specs .specs-table-container tr:first-child th {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-border);
    font-size: 15px;
    white-space: nowrap;
    padding: 15px;
    text-align: center;
}

#specs .specs-table-container tr:first-child td {
    background: linear-gradient(to right, rgba(26, 86, 219, 0.1), rgba(26, 86, 219, 0.05));
    font-weight: 600;
}

#specs .specs-table-container tr:not(:first-child) td {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    color: var(--color-text);
    text-align: center;
    vertical-align: middle;
}

#specs .specs-table-container tr:last-child td {
    border-bottom: none;
}

#specs .specs-table-container tr:not(:first-child):hover {
    background: rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    #specs .specs-table-container tr:first-child td,
    #specs .specs-table-container tr:first-child th,
    #specs .specs-table-container tr:not(:first-child) td {
        padding: 12px;
        font-size: 14px;
    }
}

/* ===== 资料下载模块（桌面三列网格，移动端水平滑动）===== */
.downloads-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* 移动端：水平滑动 */
@media (max-width: 992px) {
    .downloads-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 0 0 15px 0 !important;
        grid-template-columns: unset !important;
        white-space: nowrap !important;
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    .downloads-grid::-webkit-scrollbar {
        display: none !important;
    }

    .downloads-grid > .download-card {
        flex: 0 0 80% !important;
        max-width: 80% !important;
        margin-right: 12px !important;
        scroll-snap-align: start !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    .downloads-grid > .download-card:last-child {
        margin-right: 0 !important;
        padding-right: 20px !important;
    }

    .downloads-section::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 15px;
        width: 40px;
        background: linear-gradient(to left, var(--color-card-bg), transparent);
        pointer-events: none;
        z-index: 2;
        opacity: 1;
    }

    @media (max-width: 576px) {
        .downloads-grid > .download-card {
            flex: 0 0 75% !important;
            max-width: 75% !important;
        }
    }

    @media (max-width: 480px) {
        .downloads-grid > .download-card {
            flex: 0 0 70% !important;
            max-width: 70% !important;
        }
    }
}

/* 下载卡片基础样式（上下布局，居中） */
.download-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;      /* 上下布局 */
    gap: 15px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    text-align: center;          /* 文字居中 */
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 86, 219, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin: 0 auto 5px auto;      /* 水平居中 */
    transition: all 0.3s ease;
}

.download-card:hover .download-icon {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

.download-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.download-title {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.download-desc {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-meta {
    display: flex;
    gap: 8px;                /* 缩小间距 */
    font-size: 11px;          /* 字体缩小 */
    color: var(--color-muted);
    flex-wrap: nowrap;        /* 强制不换行 */
    justify-content: center;  /* 水平居中（可选） */
    width: 100%;
    box-sizing: border-box;
}

.download-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;                 /* 图标与文字间距缩小 */
    background: rgba(0, 0, 0, 0.03);
    padding: 3px 8px;         /* 内边距缩小 */
    border-radius: 14px;       /* 稍小的圆角 */
    white-space: nowrap;
    font-size: 11px;           /* 与父级保持一致 */
}

.download-meta-item i {
    font-size: 10px;           /* 图标略微缩小 */
    color: var(--color-primary);
}


.download-btn {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-weight: 500;
    width: fit-content;
    min-width: 120px;
    margin: 0 auto;               /* 水平居中 */
    box-shadow: 0 2px 8px rgba(26, 86, 219, 0.2);
}

.download-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    gap: 12px;
}

/* 移动端卡片内部微调 */
@media (max-width: 768px) {
    .download-card {
        padding: 15px;
        gap: 12px;
    }
    .download-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        border-radius: 10px;
    }
    .download-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .download-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .download-meta {
        gap: 12px;
    }
    .download-meta-item {
        padding: 3px 8px;
        font-size: 11px;
    }
    .download-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .download-card {
        padding: 12px;
        gap: 10px;
    }
    .download-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .download-title {
        font-size: 14px;
    }
    .download-desc {
        font-size: 11px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }
    .download-meta {
        gap: 8px;
    }
    .download-meta-item {
        padding: 2px 6px;
        font-size: 10px;
        gap: 4px;
    }
    .download-btn {
        padding: 7px 14px;
        font-size: 12px;
        min-width: 90px;
    }
}

/* FAQ模块 - 优化版（流畅动画） */
.faq-module {
    margin: 30px 0 20px;
    background: var(--color-card-bg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.faq-module .faq-tab-content {
    padding: 0;
}

.faq-module .faq-list-tab {
    max-width: 100%;
    margin: 0;
}

.faq-item-tab {
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    background: var(--color-bg);
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.faq-item-tab:last-child {
    border-bottom: none;
}

.faq-item-tab:hover {
    background: rgba(0, 0, 0, 0.01);
}

.faq-question-tab {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .faq-question-tab {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-question-tab {
        padding: 12px 14px;
        font-size: 13px;
    }
}

.faq-question-tab:hover {
    background: rgba(26, 86, 219, 0.03);
    color: var(--color-primary);
}

.faq-question-tab:active {
    background: rgba(26, 86, 219, 0.08);
    transition: background-color 0.05s ease;
}

.faq-toggle-tab {
    color: var(--color-primary);
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 86, 219, 0.1);
}

.faq-item-tab.active .faq-toggle-tab {
    transform: rotate(180deg);
    background: var(--color-primary);
    color: white;
}

.faq-answer-tab {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
    background: rgba(26, 86, 219, 0.02);
    border-top: 0 solid transparent;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-top-width 0.2s ease;
}

.faq-item-tab.active .faq-answer-tab {
    max-height: 500px;
    border-top-width: 1px;
    border-top-color: var(--color-border);
}

.faq-answer-content-tab {
    padding: 0 20px 20px 20px;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    width: 100%;
    box-sizing: border-box;
}

.faq-item-tab.active .faq-answer-content-tab {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .faq-answer-content-tab {
        padding: 0 16px 16px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-answer-content-tab {
        padding: 0 14px 14px 14px;
        font-size: 13px;
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .faq-item-tab:hover {
        background: rgba(255, 255, 255, 0.02);
    }
    .faq-question-tab:hover {
        background: rgba(26, 86, 219, 0.1);
    }
    .faq-answer-tab {
        background: rgba(255, 255, 255, 0.02);
    }
}

/* 上一篇下一篇 */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }
}

.nav-post {
    background: var(--color-card-bg);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.nav-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.nav-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.nav-post:hover::before {
    transform: scaleX(1);
}

.nav-post.prev {
    text-align: left;
}

.nav-post.next {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: rgba(26, 86, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .nav-icon {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

.nav-content {
    flex: 1;
    width: 100%;
}

.nav-label {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    display: block;
}

.nav-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.4;
}

.nav-post:hover .nav-title {
    color: var(--color-primary);
}

/* 产品标签 */
.tags-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.tags-title i {
    color: var(--color-primary);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.product-tag {
    background: var(--color-card-bg);
    color: var(--color-text);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.product-tag:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.product-tag i {
    font-size: 11px;
}

/* 视频推荐模块 */
.videos-section {
    background: var(--color-card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.videos-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .videos-section {
        padding: 15px;
    }
}

.section-header {
    margin-bottom: 20px;
    width: 100%;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 14px;
    color: var(--color-muted);
    width: 100%;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .videos-grid {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px 15px 0;
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) var(--color-border);
    }
    
    .videos-grid::-webkit-scrollbar {
        height: 4px;
        display: none;
    }
    
    .videos-grid::-webkit-scrollbar-track {
        background: var(--color-border);
        border-radius: 2px;
    }
    
    .videos-grid::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 2px;
    }
    
    .videos-grid:hover::-webkit-scrollbar {
        display: block;
    }
    
    .video-card {
        flex: 0 0 80%;
        max-width: 80%;
        margin-right: 12px;
        scroll-snap-align: start;
        transition: transform 0.3s ease;
        box-sizing: border-box;
    }
    
    .video-card:last-child {
        margin-right: 0;
    }
    
    .video-card:active {
        transform: scale(0.98);
    }
    
    .videos-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 15px;
        width: 30px;
        background: linear-gradient(to left, var(--color-card-bg), transparent);
        pointer-events: none;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .video-card {
        flex: 0 0 75%;
        max-width: 75%;
    }
    
    .videos-grid {
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .video-card {
        flex: 0 0 70%;
        max-width: 70%;
        margin-right: 8px;
    }
    
    .videos-grid {
        padding-right: 15px;
    }
}

.video-card {
    background: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    width: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.video-card:hover .video-play-btn {
    background: var(--color-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.video-content {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.video-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-muted);
}

/* 相关产品 */
.related-products {
    background: var(--color-card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .related-products {
        padding: 15px;
    }
}

.related-products-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .related-grid {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) var(--color-border);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .related-grid::-webkit-scrollbar {
        display: none;
        height: 4px;
    }
    
    .related-grid::-webkit-scrollbar-track {
        background: var(--color-border);
        border-radius: 2px;
    }
    
    .related-grid::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 2px;
    }
    
    .related-grid:hover::-webkit-scrollbar {
        display: block;
    }
    
    .related-card {
        flex: 0 0 85%;
        max-width: 85%;
        margin-right: 12px;
        scroll-snap-align: start;
        transition: transform 0.3s ease;
        box-sizing: border-box;
    }
    
    .related-card:last-child {
        margin-right: 0;
        padding-right: 20px;
    }
    
    .related-card:active {
        transform: scale(0.98);
    }
    
    .related-products-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 10px;
        width: 40px;
        background: linear-gradient(to left, var(--color-card-bg), transparent);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .related-grid.scrollable::after {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .related-card {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .related-card {
        flex: 0 0 75%;
        max-width: 75%;
        margin-right: 8px;
    }
}

.related-card {
    background: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.related-image {
    height: 140px;
    width: 100%;
    overflow: hidden;
    background: var(--color-card-bg);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--color-card-bg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 86, 219, 0.7);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.related-card:hover .related-content {
    opacity: 1;
    transform: translateY(0);
}

.related-product-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-view-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex: 1;
    justify-content: center;
    max-width: 100%;
}

.related-view-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== 关于WishPower模块优化样式 ===== */
.company-info-card {
    margin-bottom: 25px;
    overflow: hidden;
}

.company-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.company-logo-letter {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.company-logo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.15);
}

.company-basic-info {
    flex: 1;
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.2;
}

.company-tagline {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.company-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #FFC107;
    font-size: 12px;
}

.rating-text {
    font-size: 12px;
    color: var(--color-muted);
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(26, 86, 219, 0.05));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.company-certificates {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title:before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    display: inline-block;
}

.certificate-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.certificate-badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.certificate-badge.iso {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.certificate-badge.ccc {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.certificate-badge.ce {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.certificate-badge.iec {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.2);
}

.company-expertise {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tag {
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(26, 86, 219, 0.05));
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(26, 86, 219, 0.15);
    transition: all 0.2s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 86, 219, 0.2);
}

.company-description {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.company-description p {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    text-align: justify;
    margin: 0;
}

.company-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.company-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--color-bg);
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
}

.company-link:hover {
    background: rgba(26, 86, 219, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateX(4px);
}

.company-link i {
    font-size: 14px;
    color: var(--color-primary);
    width: 16px;
    text-align: center;
}

@media (max-width: 992px) {
    .company-info-card {
        width: 100%;
        max-width: 100%;
    }
    
    .company-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .company-logo-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .company-logo {
        width: 80px;
        height: 80px;
    }
    
    .company-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .expertise-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .company-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-number {
        font-size: 15px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .certificate-badges {
        justify-content: center;
    }
    
    .expertise-tags {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 销售团队模块样式 ===== */
.contact-team {
    margin-top: 10px;
}

.team-intro {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.team-member {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
    transform: translateY(-2px);
}

.member-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.member-title {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 8px;
    background: rgba(26, 86, 219, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-region:before {
    content: '📍';
    font-size: 10px;
}

.contact-links {
    display: flex;
    gap: 8px;
}

.contact-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    transition: all 0.3s ease;
}

.contact-link.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-link.email {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.contact-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-contact-options {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--color-card-bg);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option:hover {
    background: rgba(26, 86, 219, 0.05);
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.option-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.option-info {
    flex: 1;
}

.option-info h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.option-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.option-link:hover {
    color: var(--color-secondary);
}

.global-contact {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
}

.global-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    margin-bottom: 10px;
}

.global-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.global-whatsapp-btn i {
    font-size: 16px;
}

.contact-note {
    font-size: 11px;
    color: var(--color-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .team-member {
        display: none !important;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .member-info {
        width: 100%;
    }
    
    .member-title {
        display: block;
        margin: 0 auto 8px;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .contact-option {
        flex-direction: column;
        text-align: center;
    }
    
    .global-whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .member-avatar {
        width: 64px;
        height: 64px;
    }
    
    .option-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

/* 图片灯箱 */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -60px;
        right: 0;
    }
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* 视频弹出层 - 移动端居中优化 */
.video-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001 !important;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-lightbox.active {
    display: flex !important;
    opacity: 1 !important;
}

.video-lightbox-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
}

.video-lightbox-close {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
    transition: all 0.3s ease;
}

.video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-lightbox-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: block;
}

@media (max-width: 768px) {
    .video-lightbox {
        padding: 10px !important;
    }
    .video-lightbox-content {
        width: 95% !important;
    }
    .video-lightbox-close {
        top: -60px !important;
        right: 0 !important;
    }
}

/* 移动端整体优化 */
@media (max-width: 768px) {
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 4px 8px;
    }
    
    .quote-btn,
    .whatsapp-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 120px;
    }
    
    .tab-nav {
        padding: 0;
    }
    
    .tab-nav li {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .product-main,
    .product-content-layout,
    .left-column-content,
    .product-sidebar,
    .product-tabs-container,
    .post-navigation,
    .videos-section,
    .related-products {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .sidebar-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .quote-btn,
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .faq-question-tab {
        padding: 10px;
        font-size: 13px;
    }
    
    .faq-answer-content-tab {
        font-size: 13px;
    }
    
    .sidebar-card {
        width: 100%;
        max-width: 100%;
    }
}

/* 图片懒加载占位符 */
.image-placeholder {
    background: linear-gradient(45deg, var(--color-card-bg) 25%, transparent 25%, 
            transparent 50%, var(--color-card-bg) 50%, 
            var(--color-card-bg) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
    animation: loading 1.5s infinite linear;
}

@keyframes loading {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* 暗色模式优化 */
@media (prefers-color-scheme: dark) {
    .gallery-slider {
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.2);
    }
    
    .slider-prev,
    .slider-next {
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .image-counter {
        background: rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .breadcrumb {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .breadcrumb-link:hover {
        background: rgba(26, 86, 219, 0.1);
    }
    
    .breadcrumb-current {
        background: rgba(26, 86, 219, 0.15);
    }
    
    .product-description,
    .product-description h2,
    .product-description h3,
    .product-description p,
    .product-description li,
    .product-description blockquote,
    .description-highlight,
    .faq-module,
    .faq-question-tab,
    .faq-answer-content-tab {
        color: #e0e0e0;
    }
    
    .product-description h2,
    .product-description h3 {
        border-bottom-color: rgba(255, 255, 255, 0.15);
    }
    
    .description-highlight,
    .product-description blockquote {
        background: rgba(255, 255, 255, 0.05);
        border-left-color: var(--color-primary);
    }
    
    .product-description ul li::marker,
    .product-description ol li::marker {
        color: var(--color-primary);
    }
    
    #specs .specs-table-container table {
        background: #1e1e1e;
    }
    #specs .specs-table-container tr:first-child {
        background: linear-gradient(to right, rgba(26, 86, 219, 0.2), rgba(26, 86, 219, 0.1));
    }
    #specs .specs-table-container td,
    #specs .specs-table-container th {
        border-color: #333;
    }
    #specs .specs-table-container tr:not(:first-child):hover {
        background: #2a2a2a;
    }
}

@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .breadcrumb::before {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
    }
    .breadcrumb::after {
        background: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
    }
}

/* ===== 精准修复产品描述区域：仅处理导致溢出的列表固定宽度，保留图片和表格原有样式 ===== */

/* 1. 强制所有列表（ul/ol）自适应宽度，清除内联 width 样式 */
.product-description ul,
.product-description ol {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. 所有块级元素强制换行，但不强制改变宽度（防止溢出） */
.product-description,
.product-description div,
.product-description p,
.product-description blockquote,
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6,
.product-description pre,
.product-description code {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
}

/* 3. 图片：仅限制最大宽度为容器宽度，保留您手动设置的宽度比例 */
.product-description img {
    max-width: 100%;
    height: auto;
    /* 不覆盖 width 属性，保留原值 */
}

/* 4. 表格：自适应宽度，内容自动换行（不强制滚动） */
.product-description table {
    max-width: 100%;
    width: auto;
    border-collapse: collapse;
    table-layout: auto; /* 根据内容自动调整列宽 */
}

.product-description td,
.product-description th {
    word-break: break-word;
    white-space: normal;
}

/* 5. 清理可能导致布局错乱的浮动和绝对定位（图片不受影响） */
.product-description [style*="float"] {
    float: none !important;
}

.product-description [style*="position: absolute"] {
    position: relative !important;
}