/* BBK005主题 - 产品详情页样式 */

/* 注意：container类已在style.css中定义，这里不再重复定义 */

/* 统一白色背景容器 */
.product-detail-box,
.product-content-box {
    background-color: #fff;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* 产品详情盒子顶部间距 */
.product-detail-box {
    margin-top: 18px;
}

/* 面包屑导航 */
.nav-bread {
    padding: 0 0 10px 0;
    margin-bottom: 15px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid #eaeaea;
}

.nav-bread a {
    color: #3c8dbc;
    text-decoration: none;
}

.nav-bread a:hover {
    text-decoration: underline;
}

/* 产品详情包装 */
.product-detail-wrapper {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

/* 产品图片区域 */
.product-image-wrapper {
    width: 32%;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    padding: 15px;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 产品信息区域 */
.product-info-wrapper {
    width: 64%;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 产品信息容器 */
.product-info-container {
    background-color: #fff;
    border-radius: 3px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* 移动端标题隐藏 */
.product-title-mobile {
    display: none;
}

/* 产品标题 */
.product-header h1 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 复制按钮样式 */
#copyBtn {
    padding: 0px 10px;
    font-size: 12px;
    height: 28px;
    line-height: 28px;
    background-color: #5b9bbb;
    border: none;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
    min-width: auto;
    margin-left: 10px;
}

#copyBtn:hover {
    background-color: #4a8ba9;
}

/* 产品属性列表 */
.product-attr-list {
    margin-bottom: 25px;
}

/* 属性项 */
.attr-item {
    margin-bottom: 15px;
    display: flex;
    height: 40px;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* 属性项左侧 */
.attr-item-left {
    width: 110px;
    background-color: #3c8dbc;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px 0 0 3px;
}

/* 属性项右侧 */
.attr-item-right {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-left: none;
    padding: 0 15px;
    border-radius: 0 3px 3px 0;
}

/* 网站项特殊样式 */
.attr-item-site .attr-item-right {
    display: flex;
    justify-content: flex-start;
}

.attr-item-site .demo-link {
    color: #3c8dbc;
}

/* 下载按钮区域 */
.download-btn-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 下载按钮 */
.download-btn {
    flex: 1;
    padding: 0;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 按钮悬停效果 */
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 免费下载按钮 */
.btn-free {
    background-color: #00a65a;
}

/* 立即购买按钮 */
.btn-buy {
    background-color: #FF5722;
}

.btn-buy:hover {
    background-color: #E64A19;
}

/* 联系客服按钮 */
.btn-contact {
    background-color: #2196F3;
}

.btn-contact:hover {
    background-color: #1976D2;
}

/* 备用下载按钮 */
.btn-backup {
    background-color: #3c8dbc;
}

/* 工具提示 */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 5px;
    z-index: 1000;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.notification.show {
    opacity: 1;
}

/* 产品图片容器 */
.product-image-container {
    border: 1px solid #e0e0e0;
    padding: 4px;
    border-radius: 4px;
    background: #fff;
}

/* 产品图片 */
.product-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 属性标签 */
.attr-label {
    display: inline-block;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

/* 属性值 */
.attr-value {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* 免费文本 */
.free-text {
    color: #00a65a;
    font-weight: bold;
}

/* 链接通用样式 */
.demo-link {
    color: #3c8dbc;
    text-decoration: none;
    transition: color 0.2s;
}

.demo-link:hover {
    color: #2a6496;
    text-decoration: underline;
}

/* 选项卡导航 */
.tab-nav-wrapper {
    border-bottom: 2px solid #3c8dbc;
    margin-bottom: 20px;
}

.tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.tab-nav li {
    margin-right: 5px;
}

.tab-nav li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-nav li.active a {
    background-color: #3c8dbc;
    color: #fff;
    font-weight: bold;
}

.tab-nav li a:hover {
    background-color: #e0e0e0;
}

.tab-nav li.active a:hover {
    background-color: #3c8dbc;
}

/* 版本介绍标题 */
.tab-head {
    margin-bottom: 0;
}

.tab-head .tab-nav li a {
    font-size: 16px;
    font-weight: bold;
}

/* 版本介绍内容 */
.description-content {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 图片懒加载样式 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s;
    background-color: #f5f5f5;
    min-height: 100px;
}

.lazy-load.loaded {
    opacity: 1;
}

#lazyLoadContent img {
    max-width: 100%;
    height: auto;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .product-detail-wrapper {
        gap: 15px;
    }
    
    .product-image-wrapper, 
    .product-info-wrapper {
        width: 100%;
        padding: 15px;
    }
    
    .product-info-container {
        padding: 15px;
    }
    
    .product-title-mobile {
        display: block;
        margin-top: 15px;
    }
    
    .product-title-mobile h1 {
        font-size: 18px;
        margin: 0;
    }
    
    .product-header {
        display: none;
    }
    
    .attr-item {
        height: auto;
        flex-direction: column;
    }
    
    .attr-item-left {
        width: 100%;
        justify-content: center;
        padding: 5px 0;
    }
    
    .attr-item-right {
        width: 100%;
        border-left: 1px solid #eaeaea;
        border-top: none;
    }
    
    .download-btn-wrapper {
        flex-direction: column;
        gap: 10px;
    }
} 