/* 面包屑导航 - 无横幅，左对齐 */
.detail-breadcrumb-bar {
    background-color: #f8f9fa;
    padding: 18px 0;
    border-bottom: 1px solid #E0E2E3;
}
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.detail-breadcrumb .breadcrumb-link {
    color: var(--theme-color);
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.detail-breadcrumb .breadcrumb-link:hover {
    color: #0D0E10;
}
.detail-breadcrumb .breadcrumb-sep {
    color: #676879;
    font-family: 'Figtree', sans-serif;
    font-size: 13px;
    font-weight: 400;
}
.detail-breadcrumb .breadcrumb-current {
    color: #0D0E10;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* 产品详情区 */
.product-detail-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 30px;
    align-items: start;
}

/* 左侧：图片画廊 */
.product-detail-gallery {
    width: 600px;
    max-width: 100%;
}

.product-gallery-main {
    line-height:0;
    margin-bottom: 10px;
    position: relative;
}

/* 左右箭头导航 */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 56, 177, 0.85);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.gallery-arrow:hover {
    background: rgba(14, 56, 177, 1);
}
.product-gallery-main:hover .gallery-arrow {
    opacity: 1;
}
.gallery-arrow-left {
    left: 12px;
}
.gallery-arrow-right {
    right: 12px;
}

.product-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.product-main-placeholder {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    color: #676879;
}
.product-main-placeholder i {
    font-size: 72px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #E0E2E3;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}
.gallery-thumb:hover {
    border-color: var(--theme-color);
}
.gallery-thumb.active {
    border-color: var(--theme-color);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧：产品信息 */
.product-detail-info {
    padding-top: 0;
}

.product-detail-title {
    font-family: 'Figtree', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0D0E10;
    margin: 0 0 16px 0;
    line-height: 1.25;
}

/* text1 字段内容 */
.product-text1-info {
    margin-bottom: 24px;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #676879;
}
.product-text1-info .text1-row {
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.product-text1-info .text1-label {
    font-weight: 600;
    color: #0D0E10;
    flex-shrink: 0;
    width: 110px;
}
.product-text1-info .text1-value {
    color: #676879;
}

/* 三个操作按钮 - 同一行，完全相同样式 */
.product-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--theme-color);
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 130px;
    line-height: 1;
}
.product-action-btn i {
    font-size: 16px;
}
.product-action-btn:hover {
    background: #0D0E10;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 56, 177, 0.25);
}
.product-action-btn:active {
    transform: translateY(0);
}

/* 产品详细描述 */
.product-detail-description {
    margin-top: 50px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #E0E2E3;
    overflow: hidden;
}

.description-header {
    padding: 20px 30px;
    border-bottom: 1px solid #E0E2E3;
    background: #f8f9fa;
}
.description-header h3 {
    font-family: 'Figtree', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0D0E10;
    margin: 0;
    position: relative;
    padding-left: 16px;
}
.description-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: var(--theme-color);
    border-radius: 2px;
}

.description-content {
    padding: 30px;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #676879;
}
.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}
.description-content p {
    margin-bottom: 16px;
}
.description-content ul,
.description-content ol {
    padding-left: 20px;
    margin: 10px 0;
}
.description-content li {
    margin-bottom: 8px;
}
.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4,
.description-content h5,
.description-content h6 {
    color: #0D0E10;
    margin-top: 24px;
    margin-bottom: 12px;
}
.description-content h3 { font-size: 22px; }
.description-content h4 { font-size: 18px; }
.description-content blockquote {
    border-left: 4px solid var(--theme-color);
    padding: 15px 20px;
    background: #f8f9fa;
    margin: 20px 0;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}
.description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.description-content th,
.description-content td {
    border: 1px solid #E0E2E3;
    padding: 10px 14px;
    text-align: left;
}
.description-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #0D0E10;
}

/* 响应式 */
@media (max-width: 1200px) {
    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .product-detail-gallery {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-gallery {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .product-detail-title {
        font-size: 26px;
    }
    .product-action-btn {
        padding: 12px 22px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 30px 0 50px;
    }
    .product-detail-title {
        font-size: 22px;
    }
    .product-detail-actions {
        flex-direction: column;
    }
    .product-action-btn {
        width: 100%;
        justify-content: center;
        min-width: 0;
    }
    .description-content {
        padding: 20px;
    }
    .description-header {
        padding: 16px 20px;
    }
}
