/* ============ SELL list ============ */
/* 4级层级配色（由深到浅） */
:root {
    /* 4级层级配色（由深到浅） */
    --l1-bg: var(--primary);
    --l2-bg: #d9e1ee;
    --l3-bg: #eaecf0;
    --l4-bg: #fafafa;
}
/* ============ 页头 Banner ============ */
.page-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.6;
}

.page-banner-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 48px;
    text-align: center;
}

.page-banner h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ============ 品牌合作伙伴 ============ */
.partners-section {
    padding: 20px 0 0;
}

.section-header {
    text-align: center;
    padding-bottom: 32px;
}

.section-header .header-pill h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header .header-pill h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.partner-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 12px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.partner-logo {
    border-radius: 8px;
    background: var(--primary-lighter);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}
.partner-card span {
    font-size: 13px;
    color: var(--text-secondary);
}
/* ============ 一级分类 Tab ============ */
.l1-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.l1-tab {
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}
.l1-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.l1-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.l1-text {
    text-align: left;
}
.l1-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.l1-meta {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}
.l1-tab.active .l1-meta {
    opacity: 0.85;
}
/* ============ 产品主卡片 ============ */
.product-main {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
/* ============ 分类内容区 ============ */
.category-section {
    display: none;
}
.category-section.active {
    display: block;
}



/* ============ 分类列表 ============ */
.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.detail-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}
.detail-card h3 a {
    color: inherit;
    text-decoration: none;
}
.detail-card h3 a:hover {
    text-decoration: underline;
}
.detail-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 16px;
    flex: 1;
}
.detail-card li {
    font-size: 13px;
    padding: 4px 0;
}
.detail-card li a {
    color: var(--text);
    text-decoration: none;
}
.detail-card li a:hover {
    color: var(--primary);
}
/* 仪器分类搜索框 */
.home-search.category-search {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 40px auto 28px;
}

.search-keyword-box{
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.category-search input {
    flex: 1;
    height: 46px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text);
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    outline: none;
}

.category-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 49, 125, 0.08);
}

.category-search input::placeholder {
    color: var(--text-muted);
}

.category-search button {
    height: 46px;
    padding: 0 28px;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-search button:hover {
    background: #00255e;
    box-shadow: 0 2px 8px rgba(0, 49, 125, 0.2);
}

.category-search button svg {
    margin-right: 6px;
    vertical-align: -2px;
}

.search-empty {
    display: none;
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 14px;
}
.sort{
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
/* ============ 产品列表 ============ */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow);
    position: relative;
    margin-bottom: 12px;
}

.product-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
}

.product-item.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* 产品图片 */
.product-image {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    background: var(--primary-lighter);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image svg {
    width: 64px;
    height: 64px;
    color: var(--primary-light);
}

/* New标签 */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* 产品信息 */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-name:hover {
    color: var(--primary);
    cursor: pointer;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.meta-item .label {
    color: var(--text-muted);
}

.meta-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.meta-item a:hover {
    text-decoration: underline;
}

.meta-item.highlight a {
    color: var(--primary);
}

/* 价格信息 */
.product-price {
    margin-top: auto;
    padding-top: 8px;
}

.price-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* 产品操作区 */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 120px;
}

.action-stats {
    text-align: right;
}

.stat-item {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-item .value {
    color: var(--text-secondary);
}

.inquiry-btn {
    background: var(--primary);
    color: #fff !important;
    border: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inquiry-btn:hover {
    background: #00255e;
    box-shadow: 0 2px 8px rgba(0, 49, 125, 0.2);
}
/* 图片区 */
.gallery-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.gallery-main {
    position: relative;
    background: var(--primary-lighter);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main svg {
    width: 80px;
    height: 80px;
    color: var(--primary-light);
    opacity: 0.4;
}

.gallery-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
}

.gallery-thumb {
    background: var(--primary-lighter);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    background: #dce6f5;
}

.gallery-thumb svg {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
    opacity: 0.4;
}

/* 产品信息区 */
.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, var(--primary-lighter) 0%, #ffffff 60%);
}

.badge-recommend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.badge-rank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-lighter);
    color: var(--primary-light);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
}

.info-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 12px;
}

.info-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.meta-item strong {
    color: var(--text-secondary);
    font-weight: 500;
}

/* 价格区块 */
.price-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.price-label {
    font-size: 13px;
    color: var(--text-muted);
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #e03030;
}

.price-unit {
    font-size: 14px;
    color: #e03030;
    font-weight: 500;
}

.price-range {
    font-size: 13px;
    color: var(--text-muted);
}


/* 快速参数 */
.quick-props {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quick-prop {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qp-label {
    font-size: 12px;
    color: var(--text-muted);
}

.qp-value {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

/* 联系方式 */
.contact-section {
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-consult {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-consult:hover {
    background: #00255e;
    box-shadow: 0 2px 8px rgba(0, 49, 125, 0.2);
}

.btn-consult svg {
    width: 16px;
    height: 16px;
}


/* 厂商信息 */
.vendor-section {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafbfc;
}

.vendor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.vendor-info {
    flex: 1;
}

.vendor-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.vendor-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vendor-tag {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}

.vendor-tag svg {
    width: 12px;
    height: 12px;
}

.vendor-badge {
    background: var(--primary-lighter);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-ask {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-ask:hover {
    background: var(--primary-lighter);
}

/* ============ 标签页 ============ */
.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 0;
}

.tab-nav .container {
    padding: 0;
}

.tab-list {
    display: flex;
    list-style: none;
    padding: 0 24px;
}

.tab-item {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.tab-item:hover {
    color: var(--primary);
}

.tab-item.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom-color: var(--primary);
}

/* ============ 标签页内容区 ============ */
.tab-content {
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
}

.tab-panel {
    display: none;
    padding: 32px 28px;
}

.tab-panel.active {
    display: block;
}

/* 核心参数 */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.params-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.param-row {
    display: flex;
    background: #fff;
    padding: 12px 16px;
    transition: background 0.15s;
}

.param-row:hover {
    background: var(--primary-lighter);
}

.param-label {
    width: 180px;
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.param-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

/* 技术特点 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    background: #fff;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 典型用户 */
.users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.user-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: #fff;
    transition: all 0.25s;
    box-shadow: var(--shadow);
}

.user-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.user-card .uc-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.user-card .uc-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.user-card .uc-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* 用户评价 */
.review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.review-user-info .ru-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.review-user-info .ru-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    width: 12px;
    height: 12px;
    color: #f0a500;
}

.review-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
/* 内容页表格样式 */
.editor-content{
    line-height: 30px;
}
.editor-content table {
    border: 1px solid #dce0e8;
    border-radius: 6px;
    /* 消除圆角塌陷、边框重叠 */
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
/* 单元格统一内边框 */
.editor-content table td,
.editor-content table th {
    border: 1px solid #dce0e8;
    padding: 8px 12px;
}
/* 修正四个角落圆角裁剪 */
.editor-content table th:first-child,
.editor-content table td:first-child {
    border-left-width: 1px;
}
.editor-content table th:last-child,
.editor-content table td:last-child {
    border-right-width: 1px;
}


/* ============ 询价表单 ============ */
/* ============ 页面标题 ============ */
.page-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.page-head svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.page-head h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.page-head .ph-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
    font-weight: 400;
}

/* ============ 主体布局 ============ */
.message-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    align-items: start;
}

/* 产品信息卡（自动带上） */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.product-card .pc-head {
    background: linear-gradient(90deg, var(--primary-lighter) 0%, #ffffff 60%);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-card .pc-head svg {
    width: 16px;
    height: 16px;
}

.pc-gallery {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-gallery svg {
    width: 64px;
    height: 64px;
    color: var(--primary-light);
    opacity: 0.4;
}

.pc-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.pc-body {
    padding: 18px 20px;
}

.pc-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.pc-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

.pc-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.pc-meta-row .pm-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-meta-row .pm-label svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.pc-meta-row .pm-value {
    color: var(--text-secondary);
    font-weight: 500;
    text-align: right;
}

.pc-meta-row .pm-value.price {
    color: #e03030;
    font-weight: 700;
}

.pc-vendor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.pc-vendor .pv-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.pc-vendor .pv-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

/* ============ 表单卡 ============ */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.form-card .fc-head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, var(--primary-lighter) 0%, #ffffff 60%);
}

.fc-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-head h2 svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.fc-head p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-body {
    padding: 24px 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-item.full {
    grid-column: 1 / -1;
}

.form-item label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-item label .req {
    color: #e03030;
    margin-left: 2px;
}
.form-item .captcha-box img {
    margin-top: 4px;
    margin-left: -6px;
    border-radius: 4px;
}
.form-item input,
.form-item select,
.form-item textarea {
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 49, 125, 0.08);
}

.form-item input::placeholder,
.form-item textarea::placeholder {
    color: var(--text-muted);
}

.form-item textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

.form-item .hint {
    font-size: 12px;
    color: var(--text-muted);
}

.form-item.error input,
.form-item.error select,
.form-item.error textarea {
    border-color: #e03030;
    box-shadow: 0 0 0 3px rgba(224, 48, 48, 0.08);
}

.form-item .err-msg {
    font-size: 12px;
    color: #e03030;
    display: none;
}

.form-item.error .err-msg {
    display: block;
}

/* 咨询类型单选 chips */
.type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.type-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.type-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.type-chip:hover {
    border-color: var(--primary-light);
}

.type-chip:has(input:checked) {
    background: var(--primary-lighter);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* 提交栏 */
.form-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 36px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit svg {
    width: 16px;
    height: 16px;
}

.btn-submit:hover {
    background: #00255e;
    box-shadow: 0 2px 8px rgba(0, 49, 125, 0.2);
}

.btn-submit:active {
    transform: translateY(1px);
}

.btn-reset {
    background: #fff;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.form-actions .fa-tip {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

/* ============ 成功提示 ============ */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid #2ea043;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 200;
    max-width: 90%;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast svg {
    width: 22px;
    height: 22px;
    color: #2ea043;
    flex-shrink: 0;
}

.toast .t-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

.toast .t-text strong {
    color: var(--primary);
}

/* 成功后的遮罩卡片 */
.success-panel {
    display: none;
    text-align: center;
    padding: 40px 28px;
}

.success-panel.show {
    display: block;
}

.success-panel .sp-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.success-panel .sp-icon svg {
    width: 32px;
    height: 32px;
    color: #2ea043;
}

.success-panel h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.success-panel p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto 8px;
}

.success-panel .sp-ticket {
    display: inline-block;
    margin: 14px 0 20px;
    background: var(--primary-lighter);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
}

.success-panel .sp-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}


/* ============ 仪器一级分类样式 ============ */
/* ============ 4 级分类（嵌套 div 结构） ============ */
.cat-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* —— L1 行：标签 | L2 列表 —— */
.l1-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    border-bottom: 1px solid var(--border);
}
.l1-row:last-child {
    border-bottom: none;
}

/* L1 标签（合并单元格效果：stretch 到 L2 列表高度） */
.l1-label {
    background: var(--l1-bg);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}
.l1-label a {
    color: #fff;
    transition: opacity 0.2s ease;
}
.l1-label a:hover {
    opacity: 0.85;
}

/* —— L2 列表：所有 L2 容器 —— */
.l2-list {
    display: flex;
    flex-direction: column;
}

/* —— L2 单元格：标签 | L3 列表 —— */
.l2-cell {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid var(--border-soft);
}
.l2-cell:last-child {
    border-bottom: none;
}

/* L2 标签 */
.l2-label {
    background: var(--l2-bg);
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}
.l2-label a {
    color: var(--primary);
    transition: color 0.2s ease;
    font-size: 14px;
}
.l2-label a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* —— L3 列表：所有 L3 容器 —— */
.l3-list {
    display: flex;
    flex-direction: column;
}

/* —— L3 单元格：标签 | L4 —— */
.l3-cell {
    display: grid;
    grid-template-columns: 188px 1fr;
    border-bottom: 1px solid var(--border-soft);
}
.l3-cell:last-child {
    border-bottom: none;
}

/* L3 标签 */
.l3-label {
    background: var(--l3-bg);
    color: var(--text);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}
.l3-label a {
    color: var(--text);
    transition: color 0.2s ease;
}
.l3-label a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* L4 内容（具体仪器） */
.l4 {
    background: var(--l4-bg);
    color: var(--text-secondary);
    padding: 12px;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}
.l4 a {
    color: var(--text-secondary);
    margin-right: 14px;
    display: inline-block;
    transition: color 0.2s ease;
}
.l4 a::after {
    content: '↗';
    font-size: 10px;
    margin-left: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--primary);
}
.l4 a:hover {
    color: var(--primary);
}
.l4 a:hover::after {
    opacity: 1;
}
/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .product-main { grid-template-columns: 1fr; }
    .gallery-card { position: static; }
    .params-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .users-grid { grid-template-columns: repeat(1, 1fr); }
    .detail-card ul { grid-template-columns: repeat(4, 1fr); }
    .product-main { grid-template-columns: 1fr; }
    .gallery-card { position: static; }
    .params-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .users-grid { grid-template-columns: repeat(1, 1fr); }
    .product-item { flex-wrap: wrap; }
    .product-image { width: 140px; height: 110px; }
    .product-actions { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
    .action-stats { display: flex; gap: 16px; }
    .message-layout { grid-template-columns: 1fr; }
    .product-card { position: static; }
}

@media (max-width: 768px) {
    .l1-row { grid-template-columns: 50px 1fr; }
    .l2-cell, .l3-cell { grid-template-columns: 120px 1fr; }
    .l1-label, .l2-label, .l3-label, .l4 { padding: 10px 8px; font-size: 12px; }
    .l1-label { font-size: 13px; }
    .l4 a { margin-right: 8px; font-size: 12px; }
    .page-banner h1 { font-size: 22px; }
    .page-banner-inner { padding: 36px 16px 28px; }
    .l1-tabs { grid-template-columns: 1fr; gap: 8px; }
    .l1-tab { padding: 14px 16px; }
    .detail-card { flex-direction: column; gap: 10px; }
    .detail-card h3 { min-width: auto; }
    .detail-card ul { grid-template-columns: repeat(3, 1fr); }
    .info-header h1 { font-size: 18px; }
    .price-value { font-size: 22px; }
    .quick-props { grid-template-columns: repeat(1, 1fr); }
    .param-label { width: 140px; }
    .users-grid { grid-template-columns: 1fr; }
    .contact-section { flex-direction: column; align-items: stretch; }
    .hotline-box { width: 100%; }
    .tab-list { overflow-x: visible; }
    .tab-item { padding: 12px 16px; font-size: 13px; }
    .meta-links { gap: 6px 12px; }
    .product-item { flex-direction: column; }
    .product-image { width: 100%; height: 160px; }
    .product-actions { flex-direction: column; align-items: stretch; }
    .inquiry-btn { width: 100%; text-align: center; }
    .action-stats { justify-content: center; }
    .pagination .page-size-wrap { margin-left: 0; margin-top: 12px; width: 100%; justify-content: center; }
    .info-header h1 { font-size: 18px; }
    .price-value { font-size: 22px; }
    .quick-props { grid-template-columns: repeat(1, 1fr); }
    .param-label { width: 140px; }
    .users-grid { grid-template-columns: 1fr; }
    .contact-section { flex-direction: column; align-items: stretch; }
    .hotline-box { width: 100%; }
    .tab-item { padding: 12px 16px; font-size: 13px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-body { padding: 20px 16px; }
    .form-actions { flex-wrap: wrap; }
    .form-actions .fa-tip { margin-left: 0; width: 100%; }

}
@media (max-width: 480px) {
    .overview { gap: 8px; }
    .overview-item { padding: 10px 14px; flex: 1; }
    .overview-item .num { font-size: 18px; }
    .l1-row { grid-template-columns: 50px 1fr; }
    .l2-cell, .l3-cell { grid-template-columns: 100px 1fr; }
}