@charset "utf-8";

/* ===== CSS Variables ===== */
:root {
    --primary-blue: #0066cc;
    --primary-dark: #004999;
    --primary-light: #e6f0ff;
    --accent-blue: #0077ed;
    --gradient-blue: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    --text-dark: #1e2a3a;
    --text-gray: #4a5a6e;
    --text-light: #6b7d94;
    --bg-light: #f8faff;
    --bg-section: #f5f7fb;
    --border-light: #e1e9f2;
    --border-color: #d0ddee;
    --radius: 8px;
    --radius-lg: 12px;
    --container-width: 1480px;
    --shadow-sm: 0 4px 12px rgba(0,102,204,0.08);
    --shadow-md: 0 8px 20px rgba(0,102,204,0.12);
    --shadow-hover: 0 12px 24px -8px rgba(0,102,204,0.2);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* ===== Container ===== */
.container-wide {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== Product Hero Layout ===== */
.product-hero {
    display: flex;
    gap: 50px;
    margin: 40px 0 60px;
    align-items: flex-start;
}
.product-gallery {
    width: 520px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}
.product-info {
    flex-grow: 1;
    min-width: 0;
}

/* ===== Main Image + Zoom ===== */
.main-stage {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    user-select: none;
}
.main-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
    will-change: transform;
}
.main-stage.zoomed img { transform: scale(2.2); }

/* ===== Thumbnail Area ===== */
.gallery-thumb-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.thumb-scroll-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius);
    padding: 2px 0;
}
.thumb-grid {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0 0 6px;
    margin: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--border-light);
    -webkit-overflow-scrolling: touch;
}
.thumb-grid::-webkit-scrollbar { height: 5px; }
.thumb-grid::-webkit-scrollbar-track { background: var(--border-light); border-radius: 10px; }
.thumb-grid::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 10px; }
.thumb-grid li {
    flex: 0 0 88px;
    height: 88px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    overflow: hidden;
    background: #fff;
}
.thumb-grid li:hover { border-color: rgba(0,102,204,0.4); }
.thumb-grid li.on {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,102,204,0.15);
}
.thumb-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Arrows */
.thumb-arrow {
    width: 36px; height: 36px;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer; color: var(--primary-blue); font-size: 16px;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
    flex-shrink: 0; z-index: 3;
}
.thumb-arrow:hover {
    background: var(--primary-blue); color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 16px rgba(0,102,204,0.25);
}
.thumb-arrow.disabled { opacity: 0.3; pointer-events: none; }

/* Image Counter */
.image-counter {
    background: rgba(0,102,204,0.85); color: white;
    padding: 6px 14px; border-radius: 40px;
    font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    white-space: nowrap; margin-left: 5px; flex-shrink: 0;
}
.image-counter i { margin-right: 5px; font-size: 13px; color: rgba(255,255,255,0.9); }

/* ===== Product Title ===== */
.product-title {
    font-size: 30px; font-weight: 700;
    margin: 0 0 20px; line-height: 1.25;
    color: #111; letter-spacing: -0.02em;
}

/* ===== Product Description Box ===== */
.product-description-box {
    margin-bottom: 28px; padding: 0;
    background: none; border: none; box-shadow: none;
    color: var(--text-dark); font-size: 15px;
    line-height: 1.6; overflow-wrap: break-word;
}

/* ===== 通用表格美化（适用于 CKEditor 输出） ===== */
.product-description-box table,
.product-description-box .table,
.content-rich table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 24px 0;
    font-size: 14px;
    table-layout: auto;
}

.product-description-box table thead tr,
.product-description-box .table thead tr,
.content-rich table thead tr {
    background: var(--gradient-blue);
}

.product-description-box table thead td,
.product-description-box table thead th,
.product-description-box .table thead td,
.product-description-box .table thead th,
.content-rich table thead td,
.content-rich table thead th {
    color: #fff !important;
    font-weight: 600;
    padding: 13px 18px;
    border: none;
    text-align: left;
    font-size: 14px;
}

.product-description-box table tbody tr,
.content-rich table tbody tr {
    transition: background var(--transition);
}

.product-description-box table tbody tr:nth-child(even),
.content-rich table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.product-description-box table tbody tr:hover,
.content-rich table tbody tr:hover {
    background: #e8f0fe;
}

.product-description-box table td,
.product-description-box table th,
.content-rich table td,
.content-rich table th {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    line-height: 1.5;
    color: var(--text-dark);
    font-size: 14px;
}

.product-description-box table tbody td:first-child,
.content-rich table tbody td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(0,102,204,0.03);
}

.product-description-box table tbody tr:last-child td,
.content-rich table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== 手机端表格自适应：核心方案 ===== */

/*
 * 策略一：2列键值对表格 → 卡片式堆叠（每行变成一块）
 * 策略二：3列及以上表格 → 横向滚动 + 滑动提示
 * 由 JS 自动检测列数并添加对应 class
 */

/* --- 滚动容器通用样式 --- */
.table-scroll-wrapper {
    position: relative;
    width: 100%;
    margin: 24px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table-scroll-wrapper .scroll-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll-wrapper .scroll-inner::-webkit-scrollbar { height: 6px; }
.table-scroll-wrapper .scroll-inner::-webkit-scrollbar-track { background: #f0f0f0; }
.table-scroll-wrapper .scroll-inner::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 10px; }

.table-scroll-wrapper table {
    margin: 0 !important;
    border-radius: 0 !important;
}

/* 滑动提示条 */
.scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-light);
    background: linear-gradient(135deg, #f0f5ff, #e8eeff);
    border-top: 1px solid var(--border-light);
    user-select: none;
}
.scroll-hint svg {
    width: 16px; height: 16px;
    animation: swipeHint 1.5s ease-in-out infinite;
}
@keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* --- 手机端 2 列键值对表格卡片化 --- */
@media (max-width: 768px) {
    .table-card-stack {
        margin: 20px 0;
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
    }
    .table-card-stack table {
        display: block !important;
        width: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }
    .table-card-stack table thead {
        display: none !important;
    }
    .table-card-stack table tbody {
        display: block !important;
        width: 100%;
    }
    .table-card-stack table tbody tr {
        display: flex !important;
        flex-direction: column;
        padding: 0;
        border-bottom: 1px solid var(--border-light);
        background: #fff !important;
    }
    .table-card-stack table tbody tr:last-child {
        border-bottom: none;
    }
    .table-card-stack table tbody tr:nth-child(even) {
        background: var(--bg-light) !important;
    }
    .table-card-stack table tbody td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        text-align: left !important;
        font-size: 14px;
        line-height: 1.5;
    }
    .table-card-stack table tbody td:first-child {
        padding: 12px 16px 4px !important;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--primary-blue) !important;
    }
    .table-card-stack table tbody td:last-child {
        padding: 0 16px 12px !important;
        font-weight: 400;
        color: var(--text-dark) !important;
        font-size: 14px;
    }

    /* 多列表格横向滚动 */
    .table-scroll-wrapper .scroll-inner table {
        min-width: 600px;
    }
    .table-scroll-wrapper .scroll-hint {
        display: flex;
    }
    /* 滚动后隐藏提示 */
    .table-scroll-wrapper.scrolled .scroll-hint {
        display: none;
    }
}

/* ===== Share Section ===== */
.share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 12px;
}
.share-label {
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; color: #0a1a2b; font-size: 16px;
    margin: 0; white-space: nowrap;
}
.share-label i { color: var(--primary-blue); font-size: 18px; }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: #fff; border: 1px solid var(--border-light);
    border-radius: 50%; color: var(--primary-blue);
    font-size: 17px; transition: all 0.3s cubic-bezier(0.2,0.9,0.4,1);
    text-decoration: none; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,102,204,0.06);
}
.share-btn:hover {
    background: var(--primary-blue); color: #fff;
    border-color: var(--primary-blue);
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,102,204,0.25);
}

/* ===== Inquiry Buttons ===== */
.btn-row { display: flex; gap: 16px; margin-bottom: 20px; }
.btn-action {
    padding: 0 36px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none !important; border: none; cursor: pointer;
    letter-spacing: 0.3px;
    background: var(--gradient-blue); color: #fff !important;
    box-shadow: 0 4px 14px rgba(0,102,204,0.25);
    position: relative; overflow: hidden;
}
.btn-action::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0; transition: opacity var(--transition);
}
.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,102,204,0.35);
}
.btn-action:hover::after { opacity: 1; }
.btn-action:active { transform: translateY(0); }

/* ===== Tabs Section ===== */
.tabs-section { margin-top: 60px; }
.tab-head {
    display: inline-block;
    background: var(--gradient-blue); color: #fff;
    padding: 14px 35px; font-weight: 600;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: 16px; letter-spacing: 0.5px;
    box-shadow: 0 -4px 12px rgba(0,102,204,0.1);
}

/* ===== Rich Content Area ===== */
.content-rich {
    border-top: 3px solid var(--primary-blue);
    padding: 35px 0;
    line-height: 1.75;
    font-size: 15px;
    color: var(--text-gray);
    overflow-wrap: break-word;
}

/* Headings */
.content-rich h2 {
    font-size: 24px; font-weight: 700; color: var(--text-dark);
    margin: 40px 0 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    line-height: 1.3; position: relative;
}
.content-rich h2::after {
    content: ''; position: absolute;
    bottom: -2px; left: 0;
    width: 50px; height: 2px;
    background: var(--primary-blue);
}
.content-rich h3 {
    font-size: 20px; font-weight: 600; color: var(--text-dark);
    margin: 32px 0 14px; line-height: 1.35;
    padding-left: 14px;
    border-left: 3px solid var(--primary-blue);
}
.content-rich h4 {
    font-size: 17px; font-weight: 600; color: var(--text-dark);
    margin: 24px 0 10px;
}

/* Paragraphs & Inline */
.content-rich p { margin: 0 0 16px; line-height: 1.75; }
.content-rich strong { color: var(--text-dark); font-weight: 600; }
.content-rich a {
    color: var(--primary-blue); text-decoration: underline;
    text-decoration-color: rgba(0,102,204,0.3);
    text-underline-offset: 3px;
    transition: color var(--transition), text-decoration-color var(--transition);
}
.content-rich a:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}

/* Images */
.content-rich img {
    max-width: 100% !important;
    height: auto !important;
    margin: 24px auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: block;
}

/* Videos & iframes */
.video-responsive-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 24px 0;
    border-radius: var(--radius-lg);
    background: #000;
}
.video-responsive-wrap iframe,
.video-responsive-wrap video,
.video-responsive-wrap embed,
.video-responsive-wrap object {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: var(--radius-lg);
}
.content-rich iframe,
.content-rich video {
    max-width: 100% !important;
    border-radius: var(--radius-lg);
}

/* Lists */
.content-rich ul,
.content-rich ol {
    margin: 16px 0; padding-left: 0; list-style: none;
}
.content-rich ul li,
.content-rich ol li {
    position: relative; padding: 8px 0 8px 28px;
    line-height: 1.6; color: var(--text-gray);
}
.content-rich ul li::before {
    content: '';
    position: absolute; left: 4px; top: 16px;
    width: 8px; height: 8px;
    background: var(--primary-blue); border-radius: 50%;
}
.content-rich ol { counter-reset: ol-counter; }
.content-rich ol li { counter-increment: ol-counter; }
.content-rich ol li::before {
    content: counter(ol-counter);
    position: absolute; left: 0; top: 8px;
    width: 22px; height: 22px;
    background: var(--primary-blue); color: #fff;
    border-radius: 50%; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.content-rich .pro-ulli1 { margin: 16px 0; padding-left: 0; list-style: none; }
.content-rich .pro-ulli1 li {
    position: relative; padding: 8px 0 8px 28px;
    line-height: 1.6; color: var(--text-gray);
}
.content-rich .pro-ulli1 li::before {
    content: '';
    position: absolute; left: 4px; top: 16px;
    width: 8px; height: 8px;
    background: var(--primary-blue); border-radius: 50%;
}

/* Blockquote */
.content-rich blockquote {
    margin: 24px 0; padding: 20px 24px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-dark); font-style: italic;
}

/* ===== Related Products ===== */
.section-header {
    margin: 60px 0 30px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 15px;
}
.section-header h3 {
    font-size: 26px; margin: 0; font-weight: 700;
    color: #111; position: relative; display: inline-block;
}
.section-header h3:after {
    content: ''; position: absolute;
    bottom: -17px; left: 0;
    width: 60px; height: 3px; background: var(--primary-blue);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-bottom: 60px;
}
.related-card {
    text-decoration: none; color: inherit;
    background: #fff; border: 1px solid #e9eef4;
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all 0.3s ease; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.related-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}
.related-img-box {
    width: 100%; aspect-ratio: 1;
    overflow: hidden; background: var(--bg-light);
}
.related-img-box img {
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.5s ease; display: block;
}
.related-card:hover .related-img-box img { transform: scale(1.05); }
.related-info {
    padding: 18px 15px 20px; text-align: center;
    flex-grow: 1; display: flex; flex-direction: column;
    justify-content: space-between;
}
.related-name {
    font-size: 15px; font-weight: 600; margin: 0 0 12px;
    min-height: 2.8em; overflow: hidden; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; color: var(--text-dark);
}
.related-btn {
    background: var(--bg-light); color: var(--primary-blue);
    padding: 10px 0; width: 100%; display: block;
    font-size: 14px; font-weight: 600; border-radius: 30px;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
}
.related-card:hover .related-btn {
    background: var(--primary-blue); color: #fff;
    border-color: var(--primary-blue);
}

/* ===== Inquiry Form ===== */
.inquiry-outer {
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f0fe 100%);
    padding: 60px 0; margin-top: 40px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    border-radius: 16px;
}
.inquiry-title {
    text-align: center; font-size: 28px; font-weight: 800;
    margin-bottom: 8px; color: var(--text-dark); letter-spacing: -0.02em;
}
.inquiry-subtitle {
    text-align: center; color: var(--text-gray);
    margin-bottom: 35px; font-size: 16px;
}
.form-grid-1480 {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 18px; max-width: 1000px; margin: 0 auto;
}
.input-group { position: relative; }
.input-modern {
    width: 100%; padding: 14px 18px;
    background: #fff; border: 1px solid #d9e2ef;
    border-radius: var(--radius); font-size: 15px;
    box-sizing: border-box; outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit; color: var(--text-dark);
}
.input-modern::placeholder { color: #a0aec0; }
.input-modern:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
textarea.input-modern { resize: vertical; min-height: 120px; }
.input-modern[type="file"] {
    border: 2px dashed var(--border-color);
    background: var(--bg-light); padding: 12px 16px;
    color: var(--text-gray); cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.input-modern[type="file"]:hover {
    border-color: var(--primary-blue); background: #eef4ff;
}
.full-width { grid-column: span 2; }
.submit-container { grid-column: span 2; text-align: center; margin-top: 15px; }
.btn-submit {
    width: 300px; max-width: 100%; height: 56px;
    background: var(--gradient-blue); color: #fff;
    border: none; border-radius: 40px;
    font-size: 16px; font-weight: 700;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,102,204,0.25);
    letter-spacing: 0.5px; font-family: inherit;
}
.btn-submit:hover {
    background: linear-gradient(135deg, #004999 0%, #003d80 100%);
    transform: translateY(-3px);
    box-shadow: 0 18px 28px -5px rgba(0,102,204,0.35);
}
.btn-submit:active { transform: translateY(-1px); }

/* ===== Tags ===== */
.tags-list {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 10px;
}
.tags-list a {
    background: var(--bg-light); padding: 6px 18px;
    border-radius: 30px; color: var(--primary-blue);
    text-decoration: none; font-size: 13px; font-weight: 500;
    border: 1px solid var(--border-light); transition: all var(--transition);
}
.tags-list a:hover {
    background: var(--primary-blue); color: #fff;
    border-color: var(--primary-blue);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .product-hero { flex-direction: column; gap: 30px; }
    .product-gallery { width: 100%; max-width: 600px; margin: 0 auto; position: static; }
    .related-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .form-grid-1480 { grid-template-columns: 1fr; max-width: 600px; }
    .full-width, .submit-container { grid-column: span 1; }
    .btn-submit { width: 100%; }
}

@media (max-width: 768px) {
    .container-wide { padding: 0 16px; }
    .product-hero { margin: 24px 0 40px; }
    .product-title { font-size: 24px; margin-bottom: 16px; }

    .share-section {
        flex-direction: column; align-items: flex-start;
        gap: 12px; padding: 14px 16px;
    }
    .share-label { font-size: 15px; }
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-action { width: 100%; justify-content: center; }

    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .related-info { padding: 14px 12px 16px; }
    .related-name { font-size: 14px; min-height: auto; }

    .section-header { margin: 40px 0 20px; }
    .section-header h3 { font-size: 22px; }
    .tabs-section { margin-top: 40px; }
    .tab-head { padding: 12px 24px; font-size: 15px; }
    .content-rich { padding: 24px 0; font-size: 15px; }
    .content-rich h2 { font-size: 20px; margin: 32px 0 14px; }
    .content-rich h3 { font-size: 18px; margin: 24px 0 12px; }
    .content-rich img { margin: 16px auto; border-radius: var(--radius); }

    .inquiry-outer { padding: 40px 0; border-radius: 0; margin-top: 30px; }
    .inquiry-title { font-size: 24px; }
    .inquiry-subtitle { font-size: 14px; margin-bottom: 25px; }

    /* Thumbnails */
    .thumb-arrow { display: none; }
    .gallery-thumb-wrapper { flex-wrap: wrap; justify-content: center; }
    .image-counter { order: -1; margin: 0 0 8px 0; }
    .thumb-scroll-container { width: 100%; }
    .main-stage { cursor: default; border-radius: var(--radius); }
    .main-stage.zoomed img { transform: none; }
}

@media (max-width: 480px) {
    .container-wide { padding: 0 12px; }
    .product-title { font-size: 22px; }
    .product-hero { margin: 16px 0 30px; }
    .related-grid { gap: 10px; }
    .related-info { padding: 12px 8px 14px; }
    .related-name { font-size: 13px; margin-bottom: 8px; }
    .related-btn { font-size: 12px; padding: 8px 0; }
    .thumb-grid li { flex: 0 0 70px; height: 70px; }
    .inquiry-title { font-size: 22px; }
    .share-section { align-items: center; }
    .share-buttons { justify-content: center; }
    .content-rich h2 { font-size: 19px; }
    .content-rich h3 { font-size: 17px; }
    .content-rich { font-size: 14px; line-height: 1.7; }
}
@media print {
    .share-section, .btn-row, .inquiry-outer, .thumb-arrow, .image-counter,
    .scroll-hint { display: none !important; }
    .product-hero { flex-direction: column; }
    .product-gallery { width: 100%; max-width: 400px; }
    .content-rich table { page-break-inside: avoid; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============ 面包屑 + 搜索框 同一行 ============ */
.breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 8px 0 16px;
}
.breadcrumb-bar .breadcrumb-nav {
    flex: 1;
    min-width: 0;
    margin: 0;
}

/* ============ 搜索框样式 ============ */
.popup-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.popup-search-wrap:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}
.popup-search-wrap:focus-within {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    width: 340px;
}
.popup-search-wrap .field {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 8px 0 18px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #0f172a;
    font-family: inherit;
    box-shadow: none;
}
.popup-search-wrap .field::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.popup-search-wrap .search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 3px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    padding: 0;
}
.popup-search-wrap .search-icon:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}
.popup-search-wrap .search-icon svg {
    width: 15px;
    height: 15px;
}

/* 响应式 */
@media (max-width: 767px) {
    .breadcrumb-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .popup-search-wrap {
        width: 100%;
    }
    .popup-search-wrap:focus-within {
        width: 100%;
    }
}