/* ============================================
   QIANMIAO PEPTIDES - Product Detail Page Styles
   Version: 8.0.0
   Features: 统一表格样式系统，三端响应式适配
   
   ★★★ 表格样式统一管理说明 ★★★
   所有产品详情页表格样式均在此文件中统一管理：
   - .specs-table     : 产品卡片内的简要规格表格
   - .full-specs-table: Tab内的完整规格表格
   - .info-table      : 描述区域内的信息表格
   
   请勿在以下文件中添加表格样式：
   - theme-fixes.css
   - product-description-v2.css
   
   Last Updated: 2026-01-29
   ============================================ */

/* ============================================
   Page Header
   ============================================ */
.product-page-header {
    position: relative;
    padding: calc(var(--topbar-height, 40px) + var(--header-height, 72px) + 16px) 0 16px;
    background: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1920&q=80') center center / cover no-repeat;
}

.product-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 179, 0.9) 0%, rgba(0, 149, 222, 0.85) 100%);
}

.product-page-header .container {
    position: relative;
    z-index: 1;
}

.product-page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    flex-wrap: wrap;
}

.product-page-header .breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.product-page-header .breadcrumb a:hover {
    color: white;
}

.product-page-header .breadcrumb-sep {
    color: rgba(255,255,255,0.4);
}

.product-page-header .breadcrumb-current {
    color: white;
}

/* ============================================
   Product Detail Main
   ============================================ */
.product-detail {
    padding: 40px 0 80px;
    background: var(--color-bg-light, #f8fcff);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

/* ============================================
   Product Gallery
   ============================================ */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height, 72px) + var(--topbar-height, 40px) + 24px);
    align-self: flex-start;
}

.product-main-image {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.product-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-molecule {
    width: 70%;
    max-width: 280px;
    opacity: 0.9;
}

.product-molecule-small {
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
}

.product-thumbnail {
    width: 80px;
    min-width: 80px;
    height: 80px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-thumbnail:hover {
    border-color: var(--color-border, #e5e7eb);
}

.product-thumbnail.active {
    border-color: var(--color-primary, #0095de);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.product-thumbnail-label {
    font-size: 10px;
    color: var(--color-text-muted, #9ca3af);
    text-align: center;
}

/* ============================================
   Product Info Card
   ============================================ */
.product-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-badge {
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-category {
    background: var(--color-bg-card, #f0f9ff);
    color: var(--color-primary, #0095de);
}

.badge-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-order {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-hot {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-new {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text, #1a1a2e);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 15px;
    color: var(--color-text-secondary, #6b7280);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Key Specs Grid */
.key-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border-light, #e0f2fe);
    border-bottom: 1px solid var(--color-border-light, #e0f2fe);
    margin-bottom: 24px;
}

.key-spec {
    text-align: center;
    padding: 16px;
    background: var(--color-bg-light, #f8fcff);
    border-radius: 12px;
}

.key-spec-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary, #0095de);
    margin-bottom: 4px;
}

.key-spec-label {
    font-size: 12px;
    color: var(--color-text-muted, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Specs Section - 产品卡片内的规格表格
   ============================================ */
.specs-section {
    margin-bottom: 24px;
}

.specs-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-title .icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary, #0095de);
}

/* ============================================
   ★★★ UNIFIED TABLE SYSTEM ★★★
   统一表格样式系统 - 三端响应式
   包含: .specs-table, .full-specs-table, .info-table
   Version: 8.0.0
   ============================================ */

/* === CSS Variables for Tables === */
:root {
    --table-border: #e0f2fe;
    --table-border-dark: #e5e7eb;
    --table-bg-light: #f8fcff;
    --table-bg-header: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --table-text: #1a1a2e;
    --table-text-secondary: #6b7280;
    --table-radius: 12px;
    --table-padding: 14px 16px;
    --table-th-width: 35%;
}

/* ============================================
   1. SPECS-TABLE - 产品卡片内的简要规格表格
   用于产品信息卡片右侧的规格展示
   v8.0.1 修复版本 - 增加间距
   ============================================ */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

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

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

.specs-table th,
.specs-table td {
    padding: 12px 0;
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.specs-table th {
    font-weight: 500;
    color: var(--table-text-secondary);
    width: 42%;
    padding-right: 24px;  /* ★ 修复: 增加右侧间距 16px -> 24px */
}

.specs-table td {
    color: var(--table-text);
    font-weight: 500;
    padding-left: 8px;  /* ★ 修复: 添加左侧间距 */
}

.specs-table .copy-btn {
    margin-left: 8px;
    padding: 4px 8px;
    font-size: 11px;
    color: var(--color-primary, #0095de);
    background: var(--color-bg-card, #f0f9ff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.specs-table .copy-btn:hover {
    background: var(--color-primary, #0095de);
    color: white;
}

/* ============================================
   Packaging Options
   ============================================ */
.packaging-section {
    margin-bottom: 24px;
}

.packaging-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.packaging-option {
    padding: 10px 20px;
    background: var(--color-bg-light, #f8fcff);
    border: 2px solid var(--color-border, #e5e7eb);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text, #1a1a2e);
    cursor: pointer;
    transition: all 0.3s ease;
}

.packaging-option:hover {
    border-color: var(--color-primary-light, #a0dffe);
}

.packaging-option.active {
    border-color: var(--color-primary, #0095de);
    background: var(--color-bg-card, #f0f9ff);
    color: var(--color-primary, #0095de);
}

.packaging-option.custom {
    border-style: dashed;
    color: var(--color-text-secondary, #6b7280);
}

/* ============================================
   Action Buttons
   ★ 修复: 覆盖 products.css 中的 pointer-events: none
   这是产品列表页面的样式，会错误地影响产品详情页按钮
   ============================================ */
.product-detail .product-actions,
.product-info-card .product-actions {
    pointer-events: auto !important;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.product-actions.has-two-buttons .btn {
    flex: 1;
    min-width: 0;
}

.product-actions.has-one-button .btn {
    width: 100%;
}

.product-actions .btn {
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
    cursor: pointer !important;
    pointer-events: auto !important;  /* ★ 确保按钮可点击 */
    position: relative;
    z-index: 2;
}

.product-actions .btn-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.action-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--color-bg-card, #f0f9ff);
    border-radius: 12px;
    font-size: 13px;
    color: var(--color-text-secondary, #6b7280);
}

.action-note .icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary, #0095de);
    flex-shrink: 0;
}

/* ============================================
   Trust Features
   ============================================ */
.trust-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light, #e0f2fe);
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-secondary, #6b7280);
}

.trust-feature .icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary, #0095de);
}

/* ============================================
   Tabs Section
   ============================================ */
.product-tabs-section {
    margin-top: 48px;
}

.product-tabs {
    display: flex;
    gap: 4px;
    background: white;
    padding: 6px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    overflow-x: auto;
}

.product-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary, #6b7280);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: none;
    border: none;
}

.product-tab:hover {
    color: var(--color-text, #1a1a2e);
}

.product-tab.active {
    background: linear-gradient(135deg, #0095de 0%, #00b4ff 100%);
    color: white;
}

.tab-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: visible;
}

.tab-content.active {
    display: block;
}

/* ============================================
   2. FULL-SPECS-TABLE - Tab内的完整规格表格
   用于Specifications标签页内的详细规格展示
   v8.0.1 修复版本 - 增加间距
   ============================================ */
.full-specs-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--table-border);
    border-radius: var(--table-radius);
    overflow: hidden;
    background: white;
    table-layout: fixed;
}

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

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

.full-specs-table tr:nth-child(even) {
    background: var(--table-bg-light);
}

.full-specs-table th,
.full-specs-table td {
    padding: var(--table-padding);
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
    word-break: break-word;
}

.full-specs-table th {
    background: var(--table-bg-header);
    font-weight: 600;
    color: var(--table-text);
    width: 180px;  /* ★ 修复: 使用固定宽度而非百分比，确保足够空间 */
    min-width: 150px;
    border-right: 1px solid var(--table-border);
    padding-right: 20px;  /* ★ 修复: 增加右侧间距 */
}

.full-specs-table td {
    color: var(--table-text);
    padding-left: 20px;  /* ★ 修复: 增加左侧间距 */
}

/* ============================================
   Description Content
   ============================================ */
.description-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.description-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text, #1a1a2e);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary, #0095de);
}

.description-content h2:first-child {
    margin-top: 0;
}

.description-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    margin: 28px 0 16px;
}

.description-content h3:first-child {
    margin-top: 0;
}

.description-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-secondary, #6b7280);
    margin: 20px 0 12px;
}

.description-content p {
    font-size: 15px;
    color: var(--color-text, #1a1a2e);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.description-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--color-text, #1a1a2e);
}

.description-content li strong {
    color: var(--color-primary-dark, #0077b3);
}

.description-content strong {
    font-weight: 600;
}

/* ============================================
   3. INFO-TABLE - 描述区域内的信息表格
   用于Description标签页内的详细信息展示
   ============================================ */
.info-table {
    border-radius: var(--table-radius);
    overflow: hidden;
    border: 1px solid var(--table-border-dark);
    max-width: 100%;
    box-sizing: border-box;
}

.description-content table,
.info-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: none;
    background: white;
    font-size: 14px;
    table-layout: fixed;
}

.description-content table thead tr,
.info-table table thead tr {
    background: linear-gradient(135deg, var(--color-primary, #0095de) 0%, #0077b3 100%);
}

.description-content table thead th,
.info-table table thead th {
    padding: var(--table-padding);
    font-weight: 600;
    color: white;
    text-align: left;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.description-content table thead th:last-child,
.info-table table thead th:last-child {
    border-right: none;
}

.description-content table tbody tr,
.description-content table tr,
.info-table table tbody tr,
.info-table table tr {
    border-bottom: 1px solid var(--table-border);
}

.description-content table tbody tr:last-child,
.description-content table tr:last-child,
.info-table table tbody tr:last-child,
.info-table table tr:last-child {
    border-bottom: none;
}

.description-content table tbody tr:nth-child(even),
.info-table table tbody tr:nth-child(even) {
    background: var(--table-bg-light);
}

.description-content table tbody tr:hover,
.info-table table tbody tr:hover {
    background: #e0f7ff;
}

.description-content table td,
.description-content table th,
.info-table table td,
.info-table table th {
    padding: var(--table-padding);
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
    word-break: break-word;
}

.description-content table th,
.info-table table th {
    width: 180px;  /* ★ 修复: 使用固定宽度 */
    min-width: 150px;
    font-weight: 600;
    color: var(--table-text);
    background: var(--table-bg-header);
    border-right: 1px solid var(--table-border);
    padding-right: 20px;  /* ★ 修复: 增加右侧间距 */
}

.description-content table td,
.info-table table td {
    color: var(--table-text);
    padding-left: 20px;  /* ★ 修复: 增加左侧间距 */
}

/* ============================================
   Documents Tab
   ============================================ */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-light, #f8fcff);
    border-radius: 16px;
    border: 1px solid var(--color-border-light, #e0f2fe);
    transition: all 0.3s ease;
    cursor: pointer;
}

.document-card:hover {
    border-color: var(--color-primary-light, #a0dffe);
    box-shadow: 0 4px 20px rgba(0,149,222,0.1);
}

.document-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #0095de);
}

.document-icon .icon {
    width: 24px;
    height: 24px;
}

.document-info {
    flex: 1;
}

.document-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    margin-bottom: 4px;
}

.document-meta {
    font-size: 12px;
    color: var(--color-text-muted, #9ca3af);
}

.document-action {
    color: var(--color-primary, #0095de);
}

.document-action .icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   FAQ Tab
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-bg-light, #f8fcff);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary, #0095de);
}

.faq-question .icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted, #9ca3af);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--color-text-secondary, #6b7280);
    line-height: 1.7;
}

/* ============================================
   Related Products
   ============================================ */
.related-section {
    padding: 64px 0;
    background: white;
}

.related-carousel-wrapper {
    position: relative;
}

.related-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.related-carousel::-webkit-scrollbar {
    display: none;
}

.related-card {
    flex: 0 0 280px;
    background: var(--color-bg-light, #f8fcff);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,149,222,0.12);
}

.related-card-image {
    width: 100%;
    aspect-ratio: 1;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    margin-bottom: 4px;
}

.related-card-cas {
    font-size: 13px;
    color: var(--color-text-muted, #9ca3af);
    margin-bottom: 12px;
}

.related-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary, #0095de);
}

.related-card-link .icon {
    width: 16px;
    height: 16px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-btn:hover {
    border-color: var(--color-primary, #0095de);
    color: var(--color-primary, #0095de);
}

.carousel-btn .icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   Quick Quote CTA
   ============================================ */
.quick-quote-cta {
    padding: 48px 0;
    background: linear-gradient(135deg, #0095de 0%, #0077b3 100%);
}

.quick-quote-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.quick-quote-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

h2.quick-quote-title {
    color: #ffffff !important;
}

.quick-quote-text {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.quick-quote-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.quick-quote-actions .btn-white {
    background: white;
    color: var(--color-primary, #0095de);
    border: none;
}

.quick-quote-actions .btn-white:hover {
    background: rgba(255,255,255,0.9);
}

.quick-quote-actions .btn-ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.quick-quote-actions .btn-ghost:hover {
    background: rgba(255,255,255,0.2);
}

/* ============================================
   Icon Styling
   ============================================ */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ============================================
   Inquiry Modal Styles
   ============================================ */
.inquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inquiry-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.inquiry-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.inquiry-modal-overlay.active .inquiry-modal {
    transform: translateY(0);
}

.inquiry-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--color-border-light, #e0f2fe);
}

.inquiry-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text, #1a1a2e);
}

.inquiry-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg-light, #f8fcff);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.inquiry-modal-close:hover {
    background: var(--color-bg-card, #f0f9ff);
}

.inquiry-modal-close .icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary, #6b7280);
}

.inquiry-modal-body {
    padding: 24px 28px;
}

.inquiry-form-group {
    margin-bottom: 18px;
}

.inquiry-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text, #1a1a2e);
    margin-bottom: 8px;
}

.inquiry-form-group label .required {
    color: #ef4444;
}

.inquiry-form-group input,
.inquiry-form-group textarea,
.inquiry-form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 12px;
    background: white;
    transition: all 0.2s ease;
}

.inquiry-form-group input:focus,
.inquiry-form-group textarea:focus,
.inquiry-form-group select:focus {
    outline: none;
    border-color: var(--color-primary, #0095de);
    box-shadow: 0 0 0 3px rgba(0, 149, 222, 0.1);
}

.inquiry-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.inquiry-product-info {
    background: var(--color-bg-light, #f8fcff);
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--color-text-secondary, #6b7280);
}

.inquiry-product-info strong {
    color: var(--color-text, #1a1a2e);
}

.inquiry-modal-footer {
    padding: 20px 28px 28px;
}

.inquiry-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0095de 0%, #00b4ff 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inquiry-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 149, 222, 0.3);
}

.inquiry-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.inquiry-submit-btn .icon {
    width: 18px;
    height: 18px;
}

.inquiry-success-message {
    text-align: center;
    padding: 40px 20px;
}

.inquiry-success-message .success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.inquiry-success-message .success-icon .icon {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.inquiry-success-message h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text, #1a1a2e);
    margin-bottom: 8px;
}

.inquiry-success-message p {
    font-size: 14px;
    color: var(--color-text-secondary, #6b7280);
}

/* ============================================
   RESPONSIVE - 平板端 (960px以下)
   ============================================ */
@media (max-width: 960px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
}

/* ============================================
   RESPONSIVE - 手机端 (768px以下)
   ★★★ 表格响应式核心代码 ★★★
   ============================================ */
@media (max-width: 768px) {
    .product-page-header {
        padding: calc(var(--header-height, 72px) + 12px) 0 12px;
    }
    
    .product-title {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .product-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .product-info-card {
        padding: 24px 20px;
    }
    
    .product-badges {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .product-badge {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .key-specs {
        grid-template-columns: 1fr;
    }
    
    /* ========== 
       ★★★ 统一表格响应式 - specs-table ★★★ 
       产品卡片内的简要规格表格 - 垂直堆叠布局
       v8.0.1 修复版本
       ========== */
    .specs-section {
        margin-bottom: 16px;
    }
    
    .specs-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    /* ★ 修复1: 添加 box-sizing 防止溢出 */
    .specs-table,
    .specs-table *,
    .full-specs-table,
    .full-specs-table *,
    .info-table,
    .info-table * {
        box-sizing: border-box;
    }
    
    .specs-table,
    .specs-table tbody,
    .specs-table tr,
    .specs-table th,
    .specs-table td {
        display: block;
        width: 100%;
    }
    
    /* ★ 修复2: 重置 table-layout 和 border-collapse */
    .specs-table {
        table-layout: auto;
        border-collapse: separate;
        border: none;
    }
    
    .specs-table tr {
        padding: 12px 0;
        border: none;
        border-bottom: 1px solid var(--table-border, #e0f2fe);
    }
    
    .specs-table tr:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .specs-table th {
        font-size: 11px;
        font-weight: 600;
        color: var(--table-text-secondary, #6b7280);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 0 0 4px 0;
        background: transparent;
        border: none;  /* ★ 修复3: 确保移除所有边框包括 border-right */
        width: 100%;
        text-align: left;
    }
    
    .specs-table td {
        font-size: 14px;
        font-weight: 500;
        color: var(--table-text, #1a1a2e);
        padding: 0;
        line-height: 1.5;
        border: none;
        background: transparent;
    }
    
    /* ========== 包装选项 ========== */
    .packaging-section {
        margin-bottom: 16px;
    }
    
    .packaging-options {
        gap: 8px;
    }
    
    .packaging-option {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    /* ========== 按钮 ========== */
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-actions .btn,
    .product-actions.has-two-buttons .btn,
    .product-actions.has-one-button .btn {
        width: 100%;
        flex: none;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .product-actions .btn-icon {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }
    
    .action-note {
        padding: 12px 14px;
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .action-note .icon {
        width: 16px;
        height: 16px;
    }
    
    /* ========== 信任特性 ========== */
    .trust-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .trust-feature {
        font-size: 12px;
        gap: 8px;
    }
    
    .trust-feature .icon {
        width: 16px;
        height: 16px;
    }
    
    /* ========== Tab区域 ========== */
    .product-tabs-section {
        margin-top: 32px;
    }
    
    .product-tabs {
        padding: 4px;
        gap: 2px;
    }
    
    .product-tab {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    /* ========== 
       ★★★ 统一表格响应式 - full-specs-table ★★★ 
       Tab内的完整规格表格 - 垂直堆叠布局
       v8.0.1 修复版本
       ========== */
    .full-specs-table,
    .full-specs-table tbody,
    .full-specs-table tr,
    .full-specs-table th,
    .full-specs-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .full-specs-table {
        border: none;
        border-collapse: separate;  /* ★ 修复: 改为 separate */
        table-layout: auto;  /* ★ 修复: 重置 table-layout */
        border-radius: var(--table-radius, 12px);
        overflow: hidden;
        background: transparent;  /* ★ 修复: 容器背景透明 */
    }
    
    .full-specs-table tr {
        padding: 14px 16px;
        margin-bottom: 0;
        border: none;  /* ★ 修复: 先清除所有边框 */
        border-bottom: 1px solid var(--table-border, #e0f2fe);
        background: white;
    }
    
    .full-specs-table tr:first-child {
        border-radius: var(--table-radius, 12px) var(--table-radius, 12px) 0 0;
    }
    
    .full-specs-table tr:last-child {
        border-bottom: none;
        border-radius: 0 0 var(--table-radius, 12px) var(--table-radius, 12px);
    }
    
    .full-specs-table tr:only-child {
        border-radius: var(--table-radius, 12px);
    }
    
    .full-specs-table tr:nth-child(even) {
        background: var(--table-bg-light, #f8fcff);
    }
    
    .full-specs-table th {
        font-size: 11px;
        font-weight: 600;
        color: var(--table-text-secondary, #6b7280);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 0 0 6px 0;
        background: transparent !important;  /* ★ 修复: 强制移除渐变背景 */
        border: none !important;  /* ★ 修复: 强制移除 border-right */
        width: 100%;
        text-align: left;
    }
    
    .full-specs-table td {
        font-size: 14px;
        font-weight: 500;
        color: var(--table-text, #1a1a2e);
        padding: 0;
        line-height: 1.5;
        border: none;  /* ★ 修复: 显式移除边框 */
        background: transparent;
    }
    
    /* ========== 描述内容 ========== */
    .description-content {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .description-content h3 {
        font-size: 16px;
        margin: 20px 0 12px;
    }
    
    .description-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    /* ========== 
       ★★★ 统一表格响应式 - info-table ★★★ 
       描述区域内的表格 - 垂直堆叠布局
       v8.0.1 修复版本
       ========== */
    .description-content table,
    .description-content table tbody,
    .description-content table tr,
    .description-content table th,
    .description-content table td,
    .info-table,
    .info-table table,
    .info-table table tbody,
    .info-table table tr,
    .info-table table th,
    .info-table table td {
        display: block;
        width: 100%;
        box-sizing: border-box;  /* ★ 修复: 添加 box-sizing */
    }
    
    .info-table {
        border: none;
        border-radius: var(--table-radius, 12px);
        overflow: hidden;
        background: transparent;  /* ★ 修复: 容器背景透明 */
    }
    
    .description-content table,
    .info-table table {
        border: none;
        border-collapse: separate;  /* ★ 修复: 改为 separate */
        table-layout: auto;  /* ★ 修复: 重置 table-layout */
        border-radius: var(--table-radius, 12px);
        overflow: hidden;
        margin: 16px 0;
        background: transparent;
    }
    
    .description-content table tr,
    .info-table table tr {
        padding: 14px 16px;
        border: none;  /* ★ 修复: 先清除所有边框 */
        border-bottom: 1px solid var(--table-border, #e0f2fe);
        background: white;
    }
    
    .description-content table tr:first-child,
    .info-table table tr:first-child {
        border-radius: var(--table-radius, 12px) var(--table-radius, 12px) 0 0;
    }
    
    .description-content table tr:last-child,
    .info-table table tr:last-child {
        border-bottom: none;
        border-radius: 0 0 var(--table-radius, 12px) var(--table-radius, 12px);
    }
    
    .description-content table tr:only-child,
    .info-table table tr:only-child {
        border-radius: var(--table-radius, 12px);
    }
    
    .description-content table tr:nth-child(even),
    .info-table table tr:nth-child(even) {
        background: var(--table-bg-light, #f8fcff);
    }
    
    .description-content table tr:hover,
    .info-table table tr:hover {
        background: inherit;  /* 移动端禁用 hover 效果 */
    }
    
    .description-content table th,
    .info-table table th {
        font-size: 11px;
        font-weight: 600;
        color: var(--table-text-secondary, #6b7280);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 0 0 6px 0;
        background: transparent !important;  /* ★ 修复: 强制移除渐变背景 */
        border: none !important;  /* ★ 修复: 强制移除 border-right */
        width: 100%;
        text-align: left;
    }
    
    .description-content table td,
    .info-table table td {
        font-size: 14px;
        font-weight: 500;
        color: var(--table-text, #1a1a2e);
        padding: 0;
        line-height: 1.5;
        border: none;
        background: transparent;
    }
    
    /* ========== FAQ ========== */
    .faq-question {
        padding: 16px;
        font-size: 14px;
    }
    
    .faq-answer-inner {
        padding: 0 16px 16px;
        font-size: 13px;
    }
    
    /* ========== 文档网格 ========== */
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    /* ========== 相关产品 ========== */
    .related-section {
        padding: 48px 0;
    }
    
    .related-card {
        flex: 0 0 240px;
        padding: 20px;
    }
    
    .carousel-nav {
        display: none;
    }
    
    /* ========== Quick Quote ========== */
    .quick-quote-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-quote-actions {
        width: 100%;
        justify-content: center;
    }
    
    /* ========== 询盘表单 ========== */
    .inquiry-form-row {
        grid-template-columns: 1fr;
    }
    
    .product-thumbnail {
        width: 70px;
        min-width: 70px;
        height: 70px;
    }
    
    .product-thumbnails {
        gap: 10px;
    }
}

/* ============================================
   RESPONSIVE - 超小屏幕 (480px以下)
   ★★★ 表格微调 - 更紧凑的间距和字体 ★★★
   ============================================ */
@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
    }
    
    .product-subtitle {
        font-size: 12px;
    }
    
    .product-info-card {
        padding: 20px 16px;
    }
    
    .product-tabs {
        margin-bottom: 16px;
    }
    
    .product-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .tab-content {
        padding: 16px;
    }
    
    /* === 表格超小屏微调 === */
    .specs-table th {
        font-size: 10px;
    }
    
    .specs-table td {
        font-size: 13px;
    }
    
    .full-specs-table tr {
        padding: 12px 14px;
    }
    
    .full-specs-table th {
        font-size: 10px;
    }
    
    .full-specs-table td {
        font-size: 13px;
    }
    
    .description-content table tr,
    .info-table table tr {
        padding: 12px 14px;
    }
    
    .description-content table th,
    .info-table table th {
        font-size: 10px;
    }
    
    .description-content table td,
    .info-table table td {
        font-size: 13px;
    }
}
