/* ========================================
   产品详情页 - 页面专属样式
   ======================================== */

/* 面包屑导航 */
.breadcrumb {
    margin: 1.25rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: hsl(var(--accent));
}

.breadcrumb-separator {
    color: #222222;
    display: flex;
    align-items: center;
}

.breadcrumb-current {
    color: #222222;
    font-weight: 500;
}

/* 产品详情主区域 */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 480px;
        gap: 3rem;
    }
}

/* 产品图片画廊 */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    position: relative;
    margin-top: 1.4rem;
}

.gallery-main-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: hsl(0deg 0% 100% / 20%);
    border: 1px solid hsl(var(--border));
    cursor: pointer;
}

.gallery-main-image:hover .gallery-overlay {
    opacity: 1;
}

.main-image {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main-image:hover .main-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-main-image:hover .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.gallery-zoom-icon {
    display: none;
}

.gallery-zoom-text {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
}

/* 缩略图 */
.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid hsl(var(--border));
    background: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.thumbnail.active {
    border-color: hsl(var(--primary));
}

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

/* 图库导航 */
.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.gallery-nav-btn:hover {
    background-color: hsl(var(--secondary) / 0.8);
}

.gallery-nav-indicator {
    font-size: 0.75rem;
    font-weight: 600;
    color: #222222;
    white-space: nowrap;
}

/* 产品信息 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.category-tag {
    color: hsl(var(--accent));
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.recommend-tag {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
}

.product-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #222222;
}

.product-model {
    font-size: 1rem;
    color: #222222;
}

.model-value {
    font-weight: 600;
    color: #222222;
}

/* 关键参数网格 */
.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.75rem;
    color: #222222;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    line-height: 1;
}

.spec-value-sm {
    font-size: 0.875rem;
    font-weight: 700;
    color: #222222;
}

.spec-unit {
    font-size: 0.75rem;
    color: #222222;
}

/* 技术亮点 */
.highlights-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.highlight-item svg {
    color: hsl(var(--accent));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.highlight-item span {
    color: #222222;
}

/* 认证标准 */
.certifications-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    padding: 0.375rem 0.75rem;
    background-color: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(var(--primary));
}

/* 操作按钮 */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

.product-actions .btn {
    width: 100%;
    height: 3rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
}

.btn-block {
    flex: none;
}

/* 定制提示 */
.customization-hint {
    padding: 1rem;
    background-color: hsl(var(--muted) / 0.2);
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hint-title {
    font-weight: 600;
    color: #222222;
}

.hint-text {
    font-size: 0.875rem;
    color: #222222;
    line-height: 1.5;
}

.hint-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: hsl(var(--accent));
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.hint-link:hover {
    color: hsl(var(--accent-foreground));
}

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: white;
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary) / 0.8);
}

/* 区块样式 */
.section-block {
    margin-bottom: 5rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #222222;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #222222;
}

/* 技术规格 */
.specs-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.specs-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.specs-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #222222;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.specs-group-bar {
    width: 0.25rem;
    height: 1.5rem;
    background-color: hsl(var(--primary));
    border-radius: 9999px;
}

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

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

.specs-table thead tr {
    border-bottom: 1px solid hsl(var(--border));
}

.specs-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #222222;
    width: 8rem;
}

.specs-table th:last-child {
    width: auto;
}

.specs-table tbody tr {
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    transition: background-color 0.2s ease;
}

.specs-table tbody tr:hover {
    background-color: hsl(var(--secondary) / 0.2);
}

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

.specs-table td {
    padding: 1rem;
    color: #222222;
}

.specs-table td:first-child {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-icon {
    color: hsl(var(--accent));
    flex-shrink: 0;
}

/* 规格技术亮点 */
.specs-highlights {
    padding: 1.5rem;
    background-color: hsl(var(--secondary) / 0.2);
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
}

.specs-highlights-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #222222;
    margin-bottom: 1rem;
}

.specs-highlights-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .specs-highlights-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.specs-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.specs-highlights-list svg {
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* 四列表格 - 横向排列参数 */
.specs-grid-table {
    margin-top: 2rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    overflow: hidden;
}

.specs-grid-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: hsl(var(--primary));
    color: white;
}

.specs-grid-header-item {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.specs-grid-header-item:last-child {
    border-right: none;
}

.specs-grid-body {
    display: flex;
    flex-direction: column;
}

.specs-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid hsl(var(--border));
}

.specs-grid-row:last-child {
    border-bottom: none;
}

.specs-grid-row:nth-child(even) {
    background-color: hsl(var(--secondary) / 0.1);
}

.specs-grid-cell {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid hsl(var(--border));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.specs-grid-cell:last-child {
    border-right: none;
}

.specs-cell-label {
    font-size: 0.75rem;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.specs-cell-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #222222;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .specs-grid-header,
    .specs-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid-header-item:nth-child(2n),
    .specs-grid-cell:nth-child(2n) {
        border-right: none;
    }
    
    .specs-grid-header-item:nth-child(2n-1),
    .specs-grid-cell:nth-child(2n-1) {
        border-right: 1px solid hsl(var(--border));
    }
}

/* 相关解决方案 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.solution-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.solution-image {
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: hsl(var(--muted) / 0.2);
    margin-bottom: 1rem;
}

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

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

.solution-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.solution-card:hover .solution-title {
    color: hsl(var(--primary));
}

.solution-desc {
    font-size: 0.875rem;
    color: #222222;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-link {
    color: hsl(var(--accent));
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* 相关产品 */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    backdrop-filter: blur(8px);
    border: 1px solid #000;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: hsl(var(--muted) / 0.2);
}

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

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-btn {
    padding: 0.625rem 2rem;
    background-color: white;
    color: black;
    font-weight: 700;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.875rem;
}

.product-card-content {
    background : #ffffff;
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--accent));
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222222;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.product-card:hover .product-card-title {
    color: hsl(var(--primary));
}

.product-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #222222;
    background-color: #B3C7FF4D;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.product-card-footer {
    background : #ffffff;
    padding: 1rem 1.5rem;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-card-meta {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #222222;
}

.meta-value {
    font-size: 0.75rem;
    font-weight: 600;
}

.product-card-inquiry {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #222222;
    transition: all 0.2s ease;
}

.product-card-inquiry:hover {
    background-color: hsl(var(--primary));
    color: white;
}

/* 询盘表单 */
.inquiry-section {
    background-color: #ffffff;
    padding: 2rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-row-full {
    grid-template-columns: 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #222222;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #222222;
    background-color: #ffffff;
    border: 1px solid hsl(var(--input));
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #222222;
}

.form-field textarea {
    min-height: 6rem;
    resize: vertical;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.form-actions .btn {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
}

.form-hint {
    font-size: 0.75rem;
    color: #222222;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .product-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .inquiry-section {
        padding: 1rem;
    }
}

/* 图片查看器模态框 */
.image-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-viewer-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-viewer-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.image-viewer-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.image-viewer-close:hover {
    opacity: 1;
}

.image-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.image-viewer-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-viewer-nav.prev {
    left: -4rem;
}

.image-viewer-nav.next {
    right: -4rem;
}

.image-viewer-counter {
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .image-viewer-nav.prev {
        left: 0.5rem;
    }

    .image-viewer-nav.next {
        right: 0.5rem;
    }

    .image-viewer-nav {
        padding: 0.75rem;
        background: rgba(0, 0, 0, 0.5);
    }

    .image-viewer-close {
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }
}

/* ========================================
   技术规格选项卡
   ======================================== */
.specs-tabs-wrap {
    margin-top: 1.5rem;
}

/* 选项卡导航 */
.specs-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid hsl(var(--border));
}

.specs-tab-btn {
    padding: 0.75rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
}

.specs-tab-btn:hover {
    color: hsl(var(--foreground));
}

.specs-tab-btn.active {
    color: hsl(var(--primary));
    border-bottom-color: hsl(var(--primary));
}

/* 选项卡面板 */
.specs-tab-panel {
    display: none;
    padding: 1.5rem 0;
}

.specs-tab-panel.active {
    display: block;
}

/* 参数列表 */
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
    gap: 1rem;
}

.specs-list-item:last-child {
    border-bottom: none;
}

.specs-list-item:nth-child(even) {
    background-color: hsl(var(--secondary) / 0.08);
}

.specs-list-label {
    flex: 0 0 220px;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
}

.specs-list-value {
    flex: 1;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
}

@media (max-width: 768px) {
    .specs-tabs-nav {
        overflow-x: auto;
    }

    .specs-tab-btn {
        padding: 0.75rem 1.25rem;
        white-space: nowrap;
    }

    .specs-list-label {
        flex: 0 0 140px;
    }
}

/* ========================================
   一级选项卡：参数表 / OEM/ODM / 描述
   ======================================== */
.main-tabs-wrap {
    margin-top: 1.5rem;
}

/* 一级 Tab 导航 */
.main-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid hsl(var(--border));
    margin-bottom: 0;
}

.main-tab-btn {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #222222;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.main-tab-btn:hover {
    color: #4F6A8C;
}

.main-tab-btn.active {
    color: hsl(var(--primary));
    border-bottom-color: hsl(var(--primary));
}

/* 一级 Tab 面板 */
.main-tab-panel {
    display: none;
    padding: 2rem 0 0;
}

.main-tab-panel.active {
    display: block;
}

/* OEM/ODM 内容区 */
.oemodm-content {
    line-height: 1.8;
    color: #333;
    font-size: 0.9375rem;
}

.oemodm-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.oemodm-content h2,
.oemodm-content h3,
.oemodm-content h4 {
    color: #222;
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}

.oemodm-content p {
    margin-bottom: 1rem;
}

.oemodm-content ul,
.oemodm-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.oemodm-content li {
    margin-bottom: 0.4rem;
}

/* ========================================
   参数表内容区（与 OEM/ODM、描述保持一致）
   ======================================== */
.params-content {
    line-height: 1.8;
    color: #333;
    font-size: 0.9375rem;
}

.params-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.params-content h2,
.params-content h3,
.params-content h4 {
    color: #222;
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}

.params-content p {
    margin-bottom: 1rem;
}

.params-content ul,
.params-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.params-content li {
    margin-bottom: 0.4rem;
}

.params-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.params-content table th,
.params-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    text-align: left;
}

.params-content table th {
    background: hsl(var(--primary) / 0.06);
    font-weight: 700;
    color: hsl(var(--foreground));
}

.params-content table tr:nth-child(even) td {
    background: hsl(var(--secondary) / 0.05);
}

/* ========================================
   描述内容区
   ======================================== */
.desc-content {
    line-height: 1.8;
    color: #333;
    font-size: 0.9375rem;
}

.desc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.desc-content h2,
.desc-content h3,
.desc-content h4 {
    color: #222;
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}

.desc-content p {
    margin-bottom: 1rem;
}

.desc-content ul,
.desc-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.desc-content li {
    margin-bottom: 0.4rem;
}

/* 参数表面板内的二级选项卡间距微调 */
#main-params .specs-tabs-wrap {
    margin-top: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .main-tabs-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .main-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .main-tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        white-space: nowrap;
    }
}
