/* ============================================================
   产品详情页面样式（泰橡蓝色系）
   ============================================================ */

/* ===== 产品详情页容器 ===== */
.product-detail-page {
    padding: 80px 0 80px;
    background: #F4F8FB;
}

/* ===== 面包屑 ===== */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 32px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #D0E8F8;
}

.product-breadcrumb a {
    color: #0d7ad5;
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb a:hover {
    color: #4ca6ef;
    text-decoration: underline;
}

.product-breadcrumb .separator {
    color: #B3E0FF;
    font-size: 0.6rem;
}

.product-breadcrumb .current {
    color: #1A2A33;
    font-weight: 600;
}

/* ===== 主内容区域 ===== */
.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

/* ===== 左侧：图片展示 ===== */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-gallery .main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #E8F3FC;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D0E8F8;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-gallery .main-image img:hover {
    transform: scale(1.02);
}

.product-gallery .main-image .placeholder-img {
    font-size: 4rem;
    color: #B3E0FF;
}

/* 产品标签 */
.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-badges .badge {
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badges .badge-new {
    background: #8b5cf6;
    color: white;
}

.product-badges .badge-hot {
    background: #ef4444;
    color: white;
}

.product-badges .badge-featured {
    background: #f59e0b;
    color: white;
}

.product-badges .badge-best {
    background: #10b981;
    color: white;
}

/* 缩略图 */
.thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #E8F3FC;
    flex-shrink: 0;
}

.thumbnails .thumb:hover {
    border-color: #0d7ad5;
    transform: translateY(-2px);
}

.thumbnails .thumb.active {
    border-color: #0d7ad5;
    box-shadow: 0 0 0 3px rgba(13, 122, 213, 0.2);
}

.thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 右侧：产品信息 ===== */
.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-info-detail .product-meta-category {
    font-size: 0.8rem;
    color: #0d7ad5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    background: #0d7ad520;
    padding: 3px 16px;
    border-radius: 40px;
    align-self: flex-start;
    border: 1px solid #0d7ad540;
}

.product-info-detail .product-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #1A2A33;
    line-height: 1.2;
    margin: 0;
}

.product-info-detail .product-subtitle {
    font-size: 1.05rem;
    color: #4d7080;
    font-weight: 400;
    margin-top: -4px;
}

/* 价格区域 */
.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #E8F3FC;
    border-bottom: 1px solid #E8F3FC;
}

.product-price-section .price {
    font-size: 2rem;
    font-weight: 700;
    color: #0d7ad5;
}

.product-price-section .price .currency {
    font-size: 1.2rem;
    font-weight: 600;
}

.product-price-section .price-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* 产品描述 */
.product-description {
    color: #405a6a;
    font-size: 0.95rem;
    line-height: 1.8;
}

.product-description p {
    margin: 0;
}

/* 操作按钮 */
.product-actions-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.btn-primary-large {
    background: #0d7ad5;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-primary-large:hover {
    background: #4ca6ef;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 122, 213, 0.3);
}

.btn-outline-large {
    background: transparent;
    color: #1A2A33;
    border: 2px solid #0d7ad5;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-outline-large:hover {
    background: #0d7ad520;
    border-color: #0d7ad5;
    transform: translateY(-2px);
}

/* 社交分享 */
.product-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #E8F3FC;
    font-size: 0.85rem;
    color: #64748b;
}

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

.product-share .share-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E8F3FC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.product-share .share-links a:hover {
    background: #0d7ad5;
    color: white;
    transform: translateY(-2px);
}

/* ============================================================
   产品描述板块
   ============================================================ */
.product-description-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px 40px;
    margin-bottom: 30px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

.product-description-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E8F3FC;
}

.product-description-section .section-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A2A33;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description-section .description-content {
    font-size: 1rem;
    color: #405a6a;
    line-height: 1.9;
}

.product-description-section .description-content p {
    margin-bottom: 16px;
}

.product-description-section .description-content p:last-child {
    margin-bottom: 0;
}

.product-description-section .description-content ul,
.product-description-section .description-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.product-description-section .description-content li {
    margin-bottom: 6px;
}

.product-description-section .description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

.product-description-section .description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}

.product-description-section .description-content table th,
.product-description-section .description-content table td {
    border: 1px solid #D0E8F8;
    padding: 10px 16px;
    text-align: left;
}

.product-description-section .description-content table th {
    background: #F4F8FB;
    font-weight: 600;
    color: #1A2A33;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .product-description-section {
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .product-description-section .section-header h2 {
        font-size: 1.1rem;
    }

    .product-description-section .description-content {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .product-description-section .description-content table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
    }

    .product-description-section .description-content table th,
    .product-description-section .description-content table td {
        padding: 6px 10px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .product-description-section {
        padding: 16px;
        border-radius: 12px;
    }

    .product-description-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-description-section .section-header h2 {
        font-size: 1rem;
    }
}

/* ===== 板块标题 ===== */
.product-detail-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.product-detail-page .section-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A2A33;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-detail-page .section-header .view-all {
    color: #0d7ad5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.product-detail-page .section-header .view-all:hover {
    color: #4ca6ef;
}

.product-detail-page .section-header .view-all i {
    transition: transform 0.2s;
}

.product-detail-page .section-header .view-all:hover i {
    transform: translateX(4px);
}

/* ===== 产品特点 ===== */
.product-features-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 30px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

.product-features-section .features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
    padding: 0;
    margin: 0;
}

.product-features-section .features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #405a6a;
    padding: 6px 0;
}

.product-features-section .features-list li i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-features-section .features-text {
    font-size: 0.95rem;
    color: #405a6a;
    line-height: 1.8;
}

/* ===== 技术参数 ===== */
.product-specs-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 30px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

.product-specs-section .specs-table-wrapper {
    overflow-x: auto;
}

.product-specs-section .specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-specs-section .specs-table tr {
    border-bottom: 1px solid #E8F3FC;
}

.product-specs-section .specs-table tr:last-child {
    border-bottom: none;
}

.product-specs-section .specs-table th {
    text-align: left;
    padding: 12px 16px 12px 0;
    font-weight: 600;
    color: #1A2A33;
    width: 35%;
    white-space: nowrap;
}

.product-specs-section .specs-table td {
    padding: 12px 0 12px 16px;
    color: #405a6a;
}

.product-specs-section .specs-text {
    font-size: 0.95rem;
    color: #405a6a;
    line-height: 1.8;
}

/* ===== 应用领域 ===== */
.product-application-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 30px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

.product-application-section .application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.product-application-section .application-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #F4F8FB;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #405a6a;
    transition: background 0.2s;
}

.product-application-section .application-item:hover {
    background: #E8F3FC;
}

.product-application-section .application-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

.product-application-section .application-text {
    font-size: 0.95rem;
    color: #405a6a;
    line-height: 1.8;
}

/* ===== 品质认证 ===== */
.product-cert-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 30px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

.product-cert-section .cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.product-cert-section .cert-item {
    text-align: center;
    padding: 20px 12px;
    background: #F4F8FB;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-cert-section .cert-item:hover {
    background: #E8F3FC;
    border-color: #0d7ad5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 122, 213, 0.1);
}

.product-cert-section .cert-item i {
    display: block;
    margin: 0 auto 8px;
    color: #10b981;
    font-size: 1.8rem;
}

.product-cert-section .cert-item span {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1A2A33;
}

.product-cert-section .cert-item small {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* ===== 相关产品 ===== */
.related-products {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 40px;
    border: 1px solid #D0E8F8;
    box-shadow: 0 4px 20px rgba(13, 122, 213, 0.04);
}

.related-products .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.related-products .related-card {
    background: #F4F8FB;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #D0E8F8;
    transition: all 0.3s ease;
}

.related-products .related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(13, 122, 213, 0.12);
    border-color: #0d7ad5;
}

.related-products .related-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #E8F3FC;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.related-products .related-image .placeholder-img {
    font-size: 2.5rem;
    color: #B3E0FF;
}

.related-products .related-info {
    padding: 16px;
}

.related-products .related-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1A2A33;
    text-decoration: none;
    display: block;
    line-height: 1.3;
    transition: color 0.2s;
    margin-bottom: 6px;
}

.related-products .related-name:hover {
    color: #0d7ad5;
}

.related-products .related-price {
    font-size: 1rem;
    font-weight: 700;
    color: #0d7ad5;
}

.related-products .related-price .currency {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .product-gallery .main-image {
        aspect-ratio: 4 / 3;
    }

    .thumbnails .thumb {
        width: 70px;
        height: 70px;
    }

    .product-features-section .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 20px 0 40px;
    }

    .product-detail-main {
        padding: 20px;
        gap: 20px;
        border-radius: 16px;
    }

    .product-breadcrumb {
        font-size: 0.75rem;
        padding: 8px 12px;
        border-radius: 10px;
    }

    .product-info-detail .product-title {
        font-size: 1.4rem;
    }

    .product-price-section .price {
        font-size: 1.6rem;
    }

    .product-actions-detail {
        flex-direction: column;
    }

    .btn-primary-large,
    .btn-outline-large {
        justify-content: center;
        padding: 12px 24px;
    }

    .product-features-section,
    .product-specs-section,
    .product-application-section,
    .product-cert-section,
    .related-products {
        padding: 20px;
        border-radius: 16px;
    }

    .product-specs-section .specs-table th,
    .product-specs-section .specs-table td {
        padding: 8px 0;
        display: block;
        width: 100%;
        border: none;
    }

    .product-specs-section .specs-table tr {
        display: block;
        border-bottom: 1px solid #E8F3FC;
        padding: 8px 0;
    }

    .product-specs-section .specs-table th {
        font-size: 0.8rem;
        color: #94a3b8;
        padding-bottom: 2px;
    }

    .product-specs-section .specs-table td {
        padding-top: 2px;
        padding-left: 0;
    }

    .product-cert-section .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-products .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .related-products .related-info {
        padding: 12px;
    }

    .related-products .related-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-detail-main {
        padding: 16px;
        border-radius: 12px;
    }

    .thumbnails .thumb {
        width: 60px;
        height: 60px;
    }

    .product-badges .badge {
        font-size: 0.55rem;
        padding: 2px 10px;
    }

    .product-cert-section .cert-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-cert-section .cert-item {
        padding: 14px 8px;
    }

    .related-products .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-application-section .application-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-share {
        flex-wrap: wrap;
        gap: 10px;
    }

    .product-share .share-links {
        gap: 6px;
    }

    .product-share .share-links a {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}