/* 产品详情页基础样式 */
.product-detail {
    padding: 40px 0;
    background-color: #f5f5f0;
    color: #333;
}

/* 面包屑 */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #f9b100;
}

.breadcrumbs span {
    color: #1a242f;
    font-weight: 500;
}

/* 产品主图+信息区 */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* 左侧图片轮播区 */
.product-gallery {
    width: 100%;
}

.main-image {
    position: relative;
    margin-bottom: 15px;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #eee;
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.8);
    border: none;
    color: #1a242f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background-color: #f9b100;
    color: #fff;
}

/* 缩略图导航 */
.thumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prev-thumb, .next-thumb {
    width: 30px;
    height: 80px;
    border: 1px solid #eee;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-thumb:hover, .next-thumb:hover {
    border-color: #f9b100;
    color: #f9b100;
}

.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    flex: 1;
}

.thumb-list::-webkit-scrollbar {
    height: 5px;
}

.thumb-list::-webkit-scrollbar-thumb {
    background-color: #ddd;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb.active {
    border-color: #f9b100;
}

.thumb:hover:not(.active) {
    border-color: #ddd;
}

/* 右侧产品信息区 */
.product-info h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a242f;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

/* 产品核心卖点 */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #1a242f;
}

.feature-item i {
    color: #f9b100;
    font-size: 16px;
}

/* 产品参数表 */
.specs-table {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.spec-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    width: 30%;
    font-weight: 600;
    color: #1a242f;
}

.spec-value {
    width: 70%;
    color: #666;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.outline-btn {
    background: transparent;
    border: 2px solid #1a242f;
    color: #1a242f;
}

.outline-btn:hover {
    background: #1a242f;
    color: #fff;
}

/* 产品详情标签页 */
.product-tabs {
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 50px;
}

/* 标签导航 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.tab-btn {
    padding: 15px 25px;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #f9b100;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    color: #f9b100;
}

/* 标签内容 */
.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns:1fr;
    gap: 30px;
}

/* 描述标签页样式 */
.desc-list {
    list-style: none;
    margin-top: 20px;
}

.desc-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.desc-list li i {
    color: #f9b100;
    margin-top: 5px;
}

/* 定制方案卡片 */
.custom-card {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
}

.custom-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.custom-card h3 {
    font-size: 18px;
    color: #1a242f;
    margin-bottom: 10px;
}

.custom-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.link-btn {
    background: transparent;
    border: 1px solid #1a242f;
    color: #1a242f;
    padding: 8px 20px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.link-btn:hover {
    background: #1a242f;
    color: #fff;
}

/* 规格标签页表格 */
.tech-specs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tech-specs th, .tech-specs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tech-specs th {
    background-color: #f8f9fa;
    color: #1a242f;
    font-weight: 600;
}

/* 应用标签页样式 */
.apps-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.app-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 3px solid #f9b100;
}

.app-item i {
    font-size: 24px;
    color: #f9b100;
    margin-bottom: 10px;
}

.app-item h4 {
    font-size: 16px;
    color: #1a242f;
    margin-bottom: 5px;
}

/* FAQ标签页样式 */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    font-weight: 600;
    color: #1a242f;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #f9b100;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 15px 0;
    color: #666;
}

/* 相关产品区 */
.related-products {
    margin-bottom: 50px;
}

.related-products h2 {
    font-size: 28px;
    color: #1a242f;
    text-transform: uppercase;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f9b100;
    display: inline-block;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.related-card {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    margin-bottom: 10px;
}

.related-card h3 {
    font-size: 14px;
    color: #1a242f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.card-link {
    color: #f9b100;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-all {
    color: #1a242f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.view-all:hover {
    color: #f9b100;
}

/* 底部优势栏 */
.bottom-benefits {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    background-color: #fff;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
}

.benefit-item i {
    font-size: 32px;
    color: #f9b100;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 16px;
    color: #1a242f;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1200px) {
    .product-main {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-benefits {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tab-inner {
        grid-template-columns: 1fr;
    }

    .apps-list {
        grid-template-columns: 1fr;
    }

    .bottom-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-info h1 {
        font-size: 28px;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-benefits {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .spec-row {
        flex-direction: column;
        gap: 5px;
    }

    .spec-label, .spec-value {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-info h1 {
        font-size: 24px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .tab-content {
        padding: 15px;
    }

    .feature-item {
        width: 100%;
        justify-content: center;
    }
}