@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================
   part-style.css
   所有样式限定在 .part-page 作用域内
   已对主站 style.css 已知冲突全部加防御
   ============================================ */

:root {
    --font-en: "Montserrat", Arial, Helvetica, sans-serif;
    --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
    --font-mono: "Consolas", "SFMono-Regular", monospace;
}

/* ── 基础重置 ── */
.part-page * {
    box-sizing: border-box;
}

.part-page {
    font-family: var(--font-en) !important;
    line-height: 1.6 !important;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

body.part-page[data-site-role="part"] {
    padding-bottom: 0;
}

.part-page > .container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* ── 顶部栏 ── */
.part-page .top-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dbe4ed;
    flex-wrap: wrap;
    gap: 10px;
}

/* Breadcrumb layout shared by English and Chinese part details. */
.part-page .top-bar .nav-links {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-bottom: 0;
    font-size: .75rem;
    font-weight: 420;
    line-height: 1.45;
    color: #566b7e;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

html[lang="zh-CN"] .part-page .top-bar .nav-links {
    font-family: var(--font-cn);
}

.part-page .top-bar .nav-links a {
    display: inline !important;
    color: #056aaf;
    text-decoration: none;
}

.part-page .top-bar .nav-links a:hover,
.part-page .top-bar .nav-links a:focus-visible {
    color: #034f84;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.part-page .top-bar .nav-links a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.part-page .top-bar .nav-links [aria-current="page"] {
    color: #152b43;
    font-weight: 600;
}

/* 右侧区域 */
.part-page .top-bar-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    flex-wrap: wrap;
}

.part-page .part-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

@media (max-width: 640px) {
    .part-page .top-bar .nav-links {
        font-size: .72rem;
    }

    .part-page {
        padding: 0;
    }

    .part-page > .container {
        width: calc(100% - 36px);
        margin: 18px auto;
    }

    .part-page .top-bar,
    .part-page .top-bar-right {
        align-items: flex-start !important;
    }

    .part-page .top-bar-right,
    .part-page .search-wrap {
        width: 100%;
    }

    .part-page .part-search-form {
        width: 100%;
    }

    .part-page .part-search-form .search-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .part-page .search-wrap input,
    .part-page .search-dropdown {
        width: 100%;
    }

    .part-page .db-tools {
        align-items: stretch !important;
    }

    .part-page .db-index-search,
    .part-page .db-index-search input {
        width: 100%;
    }

    .part-page .related-parts {
        grid-template-columns: 1fr;
    }

    .part-page .brand-card-grid,
    .part-page .part-card-grid {
        grid-template-columns: 1fr;
    }

    .part-page .seo-section table,
    .part-page .spot-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .part-page .more-btn,
    .part-page .rfq-btn {
        width: 100%;
    }
}

/* ── 搜索框 ── */
.part-page .search-wrap {
    position: relative;
}

.part-page .search-wrap input {
    display: block !important;
    padding: 7px 12px;
    border: 1px solid #ddd;
    border-radius: var(--lim-radius-control, 8px);
    font-size: 13px;
    width: 260px;
    outline: none;
    color: #333;
    background: #fff;
    box-shadow: none;
}

.part-page .search-wrap input:focus {
    border-color: #0787f5;
    box-shadow: 0 0 0 3px rgba(7, 135, 245, .18);
}

.part-page .part-search-submit {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 44px;
    padding: 7px 16px;
    border: 1px solid #0787f5;
    border-radius: var(--lim-radius-button, 8px);
    background: #0787f5;
    color: #fff;
    font: 600 13px var(--font-en);
    cursor: pointer;
}

.part-page .part-search-submit:hover {
    border-color: #006fd6;
    background: #006fd6;
}

.part-page .search-wrap input::placeholder,
.part-page .db-index-search input::placeholder {
    color: #64748b;
    opacity: 1;
}

.part-page .search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--lim-radius-card, 12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 240px;
    overflow-y: auto;
}

.part-page .search-item {
    display: block !important;
    padding: 9px 14px;
    font-size: 13px;
    color: #0787f5 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0;
}

.part-page .search-item strong {
    display: block;
    font-family: var(--font-mono);
    color: #006fd6;
}

.part-page .search-item span {
    display: block;
    color: #777;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.part-page .search-item:hover {
    background: #f0f7ff;
}

.part-page .search-no-result {
    padding: 10px 14px;
    font-size: 13px;
    color: #999;
}

/* ── More / RFQ 按钮 ── */
.part-page .top-bar-right .search-wrap input,
.part-page .top-bar-right .part-search-submit {
    height: 44px;
}

/* ── Database Index 页样式 ── */
.part-page .db-title {
    font-family: var(--font-en) !important;
    font-size: 24px;
    color: #111;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 6px;
}

.part-page .db-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.part-page .db-tools {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 16px;
    padding: 14px 0 18px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.part-page .db-index-search {
    display: grid !important;
    gap: 5px;
    min-width: 240px;
}

.part-page .db-index-search label {
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.part-page .db-index-search input {
    display: block !important;
    width: 260px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #fff;
    outline: none;
}

.part-page .db-index-search input:focus {
    border-color: #007bff;
}

.part-page .brand-jump {
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
}

.part-page .brand-jump a {
    display: inline-block !important;
    padding: 6px 9px;
    border: 1px solid #dde8f7;
    border-radius: 4px;
    color: #0056b3;
    background: #f7fbff;
    text-decoration: none;
    font-size: 12px;
}

.part-page .brand-jump a:hover {
    border-color: #007bff;
    background: #eef7ff;
}

.part-page .db-no-results {
    display: none;
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid #f0d6a4;
    border-radius: 4px;
    background: #fff8ec;
    color: #7a5600;
    font-size: 13px;
}

.part-page .db-search-results {
    display: none !important;
    margin-top: 18px;
}

.part-page .db-search-results.is-visible {
    display: grid !important;
}

.part-page .db-entry-section {
    margin-top: 28px;
}

.part-page .db-entry-section h2 {
    margin: 0 0 12px;
    color: #222;
    font-size: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 6px;
}

.part-page .db-section-note {
    margin: 0 0 12px;
    color: #666;
    font-size: 13px;
}

.part-page .brand-card-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.part-page .brand-card,
.part-page .part-card {
    display: block !important;
    border: 1px solid #dde8f7;
    border-radius: 4px;
    background: #fbfdff;
    color: #333;
    text-decoration: none !important;
}

.part-page .brand-card {
    display: flex !important;
    flex-direction: column;
    position: relative;
    min-height: 150px;
    padding: 14px;
}

.part-page .brand-card-main {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.part-page .brand-count-line {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 1px solid rgba(203, 213, 225, 0.55);
    border-radius: 999px;
    background: rgba(248, 251, 255, 0.72);
    color: #b7c2cf;
    font-size: 9px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    opacity: 0.72;
    text-align: right;
    white-space: nowrap;
}

.part-page .brand-card:hover,
.part-page .part-card:hover {
    border-color: #007bff;
    background: #f3f9ff;
}

.part-page .brand-card strong,
.part-page .part-card strong {
    display: block;
    color: #0056b3;
    font-size: 14px;
    line-height: 1.35;
}

.part-page .brand-card span,
.part-page .part-card span {
    display: block;
    color: #666;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 4px;
}

.part-page .brand-card em,
.part-page .part-card em {
    display: block;
    color: #888;
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
    margin-top: 8px;
}

.part-page .brand-card small,
.part-page .brand-card .brand-part-links {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 10px;
    color: #999;
    font-size: 11px;
    line-height: 1.35;
}

.part-page .brand-card small a {
    display: inline-block;
    max-width: 100%;
    padding: 3px 6px;
    border: 1px solid #edf2f7;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-family: var(--font-mono);
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.part-page .brand-card small a:hover {
    color: #007bff;
    text-decoration: underline;
}

.part-page .part-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.part-page .part-card {
    min-height: 128px;
    padding: 14px;
}

.part-page .part-card strong {
    font-family: var(--font-mono);
    overflow-wrap: anywhere;
}

.part-page .db-compact-index {
    padding-top: 4px;
}

.part-page .db-list-compact .db-more {
    display: block !important;
    color: #b8c2ce;
    font-size: 11px;
    font-style: normal;
    line-height: 1.5;
    opacity: 0.72;
    border-bottom: none !important;
    padding-top: 6px;
}

.part-page .db-list-compact .db-more a {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: rgba(184, 194, 206, 0.38);
    text-underline-offset: 2px;
}

.part-page .db-brand-name {
    color: #007bff !important;
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 16px;
    border-left: 3px solid #007bff;
    padding-left: 10px;
}

.part-page .brand-cat {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    margin-left: 6px;
}

.part-page .db-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
}

.part-page .db-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}

.part-page .db-list li a {
    display: inline !important;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-mono);
    font-size: 14px;
}

.part-page .db-list li a:hover {
    color: #007bff;
    text-decoration: underline;
}

.part-page .db-list li span {
    display: inline !important;
    font-family: var(--font-en);
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    text-align: right;
}

.part-page .db-empty {
    font-size: 13px !important;
    color: #bbb;
    font-style: italic;
    border-bottom: none !important;
    display: block !important;
}

.part-page .db-empty a {
    color: #007bff !important;
    font-family: var(--font-en) !important;
    font-size: 13px !important;
    font-style: normal;
}

/* ── 型号详情页：标题区 ── */
.part-page h1 {
    color: #102039;
    font-size: clamp(22px, 1.9vw, 26px);
    font-weight: 650;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 5px;
    font-family: var(--font-mono);
    overflow-wrap: anywhere;
}

.part-page .brand {
    color: #0787f5;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.part-page .part-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 8px 0 14px;
    border-bottom: 1px solid #e7edf4;
}

.part-page .part-primary-actions {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
}

.part-page .part-quote-jump {
    display: inline-flex !important;
    min-height: 32px;
    padding: 6px 13px;
    border: 1px solid #0787f5;
    border-radius: var(--lim-radius-button, 8px);
    background: #0787f5;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none !important;
}

.part-page .part-quote-jump:hover {
    border-color: #006fd6;
    background: #006fd6;
}

.part-page .part-mobile-quote-bar {
    display: none;
}

.part-page .intro {
    max-width: 920px;
    font-size: 15px;
    margin: 20px 0 10px;
}

.part-page .part-stock-summary {
    margin: 22px 0 26px;
    padding: 18px 20px 14px;
    border: 1px solid #c9dff5;
    border-radius: var(--lim-radius-card, 12px);
    background: #f5faff;
}

.part-page .part-stock-summary h2 {
    margin: 0 0 10px;
    color: #17385f;
    font-size: 20px;
    font-weight: 650;
}

.part-page .part-stock-summary .spot-table {
    margin: 0;
}

.part-page .part-stock-summary > p {
    margin: 9px 0 0;
    color: #657487;
    font-size: 12px;
}

.part-page .detail-panel {
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid #dfe7f0;
    border-radius: var(--lim-radius-card, 12px);
    background: #fff;
    color: #556274;
    font-size: 14px;
}

.part-page .detail-panel h2,
.part-page .section-heading h2 {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2f78bd;
    color: #17263e;
    font-size: 20px;
    font-weight: 650;
}

.part-page .detail-panel h2:not(:first-child) {
    margin-top: 26px;
}

.part-page .detail-panel table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.part-page .detail-panel th,
.part-page .detail-panel td {
    padding: 11px 13px;
    border: 1px solid #dfe6ee;
    text-align: left;
    vertical-align: top;
}

.part-page .detail-panel th {
    background: #edf3f9;
    color: #43536a;
    font-size: 12px;
    letter-spacing: .03em;
}

.part-page .detail-panel td:first-child {
    width: 35%;
    color: #27364a;
}

.part-page .detail-panel ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.part-page .detail-panel li {
    margin-bottom: 7px;
}

.part-page .section-heading {
    margin-bottom: 14px;
}

.part-page .section-heading p {
    margin: -4px 0 0;
    color: #667487;
    font-size: 13px;
}

/* ── SEO 内容区 ── */
.part-page .seo-section {
    font-size: 0.92em;
    color: #555;
}

.part-page .seo-section h2 {
    font-size: 20px;
    color: #222;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.part-page .seo-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.part-page .seo-section th,
.part-page .seo-section td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.part-page .seo-section th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.part-page .seo-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

.part-page .seo-section li {
    margin-bottom: 6px;
    display: block !important;
    border-bottom: none !important;
    justify-content: unset !important;
}

.part-page .related-parts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 8px;
}

.part-page .related-parts a {
    display: block !important;
    min-height: 104px;
    padding: 14px;
    border: 1px solid #dde8f7;
    border-radius: 4px;
    background: #fbfdff;
    color: #333;
    text-decoration: none;
}

.part-page .related-parts a:hover {
    border-color: #007bff;
    background: #f3f9ff;
}

.part-page .related-parts strong {
    display: block;
    color: #0056b3;
    margin-bottom: 6px;
    font-size: 14px;
}

.part-page .related-parts span {
    display: block;
    color: #666;
    font-size: 12px;
    line-height: 1.45;
}

/* ── 询价区 ── */
.part-page .rfq-box {
    scroll-margin-top: 18px;
    background: #e6f2ff;
    border: 1px solid #b3d7ff;
    padding: 25px;
    border-radius: var(--lim-radius-card, 12px);
    margin-top: 35px;
    animation: part-pulse-border 2s infinite;
}

.part-page .rfq-box h3 {
    margin-top: 0;
    color: #004085;
    font-size: 1.3em;
}

.part-page .rfq-confirm-note {
    margin: 8px 0 14px;
    color: #516070;
    font-size: 13px;
}

/* ── 库存明细表 ── */
.part-page .spot-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: #fff;
}

.part-page .spot-table th,
.part-page .spot-table td {
    border: 1px solid #dfe7f0;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

.part-page .spot-table th {
    background-color: #edf3f9;
    color: #50647b;
    font-weight: bold;
}

.part-page .spot-table .qty {
    color: #28765d;
    font-weight: bold;
}

.part-page .rfq-checklist {
    margin: 14px 0 18px;
    padding: 13px 14px;
    border: 1px solid rgba(0, 123, 255, 0.18);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.62);
}

.part-page .rfq-checklist strong {
    display: block;
    margin-bottom: 8px;
    color: #1f3f5f;
    font-size: 13px;
}

.part-page .rfq-checklist ul,
.part-page .quality-delivery ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 16px;
    margin: 0;
    padding-left: 18px;
}

.part-page .rfq-checklist li,
.part-page .quality-delivery li {
    margin: 0;
    color: #526071;
    font-size: 13px;
    line-height: 1.45;
}

.part-page .quality-delivery {
    margin-top: 18px;
    padding: 20px 22px;
    border: 1px solid #e4ebf5;
    border-left: 4px solid #007bff;
    border-radius: var(--lim-radius-card, 12px);
    background: #fbfdff;
}

.part-page .quality-delivery h3 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 18px;
}

.part-page .quality-delivery p {
    margin: 0 0 12px;
    color: #5f6b7a;
    font-size: 13px;
}

/* ── 质量、运输与付款 ── */
.part-page .fulfillment-section,
.part-page .related-section {
    margin-top: 28px;
}

.part-page .fulfillment-section + .recommended-products {
    margin-top: 44px;
}

.part-page .fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.part-page .fulfillment-grid article {
    min-width: 0;
    padding: 2px 20px;
}

.part-page .fulfillment-grid article + article {
    border-left: 1px solid #dfe7f0;
}

.part-page .fulfillment-grid article:first-child {
    padding-left: 0;
}

.part-page .fulfillment-grid article:last-child {
    padding-right: 0;
}

.part-page .fulfillment-grid h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: #17263e;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
}

.part-page .fulfillment-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #2f78bd;
}

.part-page .fulfillment-grid p {
    margin: 0;
    color: #5e6c7d;
    font-size: 13.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

/* ── 底部推荐产品卡片 ── */
.part-page .recommended-products {
    min-width: 0;
    padding: 14px;
    border-radius: var(--lim-radius-card, 12px);
    background: #f1f4f8;
}

.part-page .recommendation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #cbd4df;
}

.part-page .recommendation-heading-main {
    display: flex;
    min-width: 0;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.part-page .recommendation-heading h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #17263e;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.part-page .recommendation-see-all {
    flex: 0 0 auto;
    color: #056aaf;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.part-page .recommendation-see-all:hover {
    color: #034f84;
}

.part-page .recommendation-carousel {
    position: relative;
    min-width: 0;
}

.part-page .recommendation-track {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    list-style: none;
}

.part-page .recommendation-track::-webkit-scrollbar {
    display: none;
}

.part-page .recommended-product-card {
    display: flex;
    flex: 0 0 calc((100% - 36px) / 3.5);
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #c7d0dc;
    border-radius: var(--lim-radius-card, 12px);
    background: #fff;
    flex-direction: column;
}

.part-page .recommended-product-card:hover {
    border-color: #9fb4cc;
}

.part-page .recommended-product-body {
    display: grid;
    min-width: 0;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.part-page .recommended-product-logo {
    display: flex;
    width: 64px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2eaf1;
    border-radius: 6px;
    background: #fff;
}

.part-page .recommended-product-logo.is-on-dark {
    border-color: #15324b;
    background: #15324b;
    color: #fff;
}

.part-page .recommended-product-logo img {
    display: block;
    width: 100%;
    max-width: 64px;
    height: 48px;
    object-fit: contain;
}

.part-page .recommended-product-logo-name {
    display: -webkit-box;
    max-height: 42px;
    padding: 3px;
    color: #28425c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.part-page .recommended-product-logo.is-on-dark .recommended-product-logo-name {
    color: #fff;
}

.part-page .recommended-product-logo img + .recommended-product-logo-name {
    display: none;
}

.part-page .recommended-product-info {
    min-width: 0;
}

.part-page .recommended-product-number {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    color: #056aaf;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.part-page .recommended-product-number:hover {
    color: #034f84;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.part-page .recommended-product-description {
    margin: 6px 0 0;
    color: #536175;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.part-page .recommended-product-manufacturer {
    margin: 5px 0 0;
    color: #435166;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.part-page .recommended-product-footer {
    display: flex;
    min-width: 0;
    margin-top: auto;
    padding-top: 10px;
    justify-content: flex-end;
}

.part-page .recommended-product-details {
    min-width: 96px;
}

.part-page .recommendation-track:focus-visible,
.part-page .recommendation-see-all:focus-visible,
.part-page .recommended-product-number:focus-visible,
.part-page .recommendation-scroll-button:focus-visible {
    outline: 2px solid #086cac;
    outline-offset: 3px;
}

.part-page .recommendation-scroll-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #9bb9d1;
    border-radius: 50%;
    background: #fff;
    color: #086cac;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(31, 54, 80, .12);
    transform: translateY(-50%);
}

.part-page .recommendation-scroll-button.is-prev {
    left: -10px;
}

.part-page .recommendation-scroll-button.is-next {
    right: -10px;
}

.part-page .recommendation-scroll-button svg {
    width: 18px;
    height: 18px;
}

.part-page .recommendation-scroll-button:hover:not(:disabled) {
    border-color: #086cac;
    background: #edf6fd;
    color: #055989;
}

.part-page .recommendation-scroll-button:disabled {
    border-color: #cbd4df;
    background: #f1f4f8;
    color: #8493a4;
    cursor: default;
    box-shadow: none;
}

.part-page .recommendation-scroll-button[hidden] {
    display: none !important;
}

.part-page .related-empty {
    padding: 24px 20px;
    background: #fbfdff;
    color: #657487;
    font-size: 13px;
    text-align: center;
}

/* ── 询价按钮 ── */
.part-page .rfq-btn {
    display: inline-block !important;
    background: #0787f5 !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--lim-radius-button, 8px);
    margin-top: 10px;
    border: none !important;
}

.part-page .rfq-btn:hover {
    background: #006fd6 !important;
    color: #fff !important;
}

/* ── 呼吸灯动画 ── */
@keyframes part-pulse-border {
    0%   { border-color: #b3d7ff; box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); }
    70%  { border-color: #007bff; box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { border-color: #b3d7ff; box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

@media (max-width: 1000px) {
    .part-page .recommended-product-card {
        flex-basis: calc((100% - 24px) / 2.5);
    }
}

@media (max-width: 760px) {
    .part-page .fulfillment-grid {
        grid-template-columns: 1fr;
    }

    .part-page .fulfillment-grid article {
        padding: 14px 0;
    }

    .part-page .fulfillment-grid article + article {
        border-top: 1px solid #dfe7f0;
        border-left: 0;
    }

    .part-page .fulfillment-grid article:first-child {
        padding-top: 0;
    }

    .part-page .fulfillment-grid article:last-child {
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .part-page {
        padding: 0 0 72px;
    }

    .part-page > .container {
        width: calc(100% - 36px);
        margin: 18px auto;
    }

    .part-page .top-bar,
    .part-page .top-bar-right {
        align-items: stretch !important;
    }

    .part-page .top-bar,
    .part-page .top-bar-right {
        width: 100%;
    }

    .part-page .top-bar-right,
    .part-page .search-wrap {
        width: 100%;
    }

    .part-page .part-search-form {
        width: 100%;
    }

    .part-page .part-search-form .search-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .part-page .search-wrap input,
    .part-page .search-dropdown {
        width: 100%;
    }

    .part-page .db-tools {
        align-items: stretch !important;
    }

    .part-page .db-index-search,
    .part-page .db-index-search input {
        width: 100%;
    }

    .part-page .brand-card-grid,
    .part-page .part-card-grid,
    .part-page .related-parts {
        grid-template-columns: 1fr !important;
    }

    .part-page .part-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .part-page .detail-panel {
        padding: 17px 15px;
    }

    .part-page .detail-panel table,
    .part-page .spot-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .part-page .recommended-products {
        padding: 14px;
    }

    .part-page .recommendation-heading {
        align-items: baseline;
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .part-page .recommendation-heading h2 {
        font-size: 20px;
    }

    .part-page .recommendation-heading-main {
        gap: 4px 10px;
    }

    .part-page .recommended-product-card {
        flex-basis: 88%;
    }

    .part-page .recommendation-scroll-button {
        width: 44px;
        height: 44px;
    }

    .part-page .recommendation-scroll-button.is-prev {
        left: -11px;
    }

    .part-page .recommendation-scroll-button.is-next {
        right: -11px;
    }

    .part-page .rfq-checklist ul,
    .part-page .quality-delivery ul {
        grid-template-columns: 1fr;
    }

    .part-page .db-search-results.is-visible {
        display: grid !important;
    }

    .part-page .seo-section table,
    .part-page .spot-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .part-page .part-stock-summary {
        margin: 18px 0 22px;
        padding: 15px 14px 12px;
    }

    .part-page .more-btn {
        width: 100%;
    }

    .part-page .rfq-btn {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .part-page .part-primary-actions {
        margin-bottom: 15px;
    }

    .part-page .part-quote-jump {
        width: auto;
        align-self: flex-start;
    }

    .part-page .part-mobile-quote-bar {
        position: fixed;
        z-index: 1200;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        border-top: 1px solid #cbdced;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -8px 24px rgba(26, 52, 83, 0.12);
        backdrop-filter: blur(8px);
    }

    .part-page .part-mobile-quote-bar a {
        display: flex !important;
        min-height: 44px;
        border-radius: var(--lim-radius-button, 8px);
        background: #0787f5;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        font-size: 13px;
        font-weight: 400;
        text-decoration: none !important;
    }
}

/* ── RFQ inline form (posts to /api/rfq; mailto link is the fallback) ── */
.rfq-inline-form { margin-top: 16px; text-align: left; }
.rfq-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rfq-inline-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; font-weight: 600; color: #2c3a52; }
.rfq-inline-form input, .rfq-inline-form textarea { padding: 9px 12px; border: 1px solid #cfd6e4; border-radius: var(--lim-radius-control, 8px); font: inherit; font-weight: 400; background: #fff; color: #1c2638; }
.rfq-inline-form input:focus, .rfq-inline-form textarea:focus { outline: 2px solid rgba(47, 111, 237, 0.25); border-color: #2f6fed; }
.rfq-form-message { margin-top: 12px; }
.rfq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rfq-inline-form .rfq-btn { margin-top: 14px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 400; width: 100%; }
.rfq-inline-form .rfq-btn:disabled { opacity: 0.6; cursor: wait; }
.rfq-form-status { margin-top: 10px; font-size: 0.85rem; min-height: 1.2em; }
.rfq-form-status.is-ok { color: #1a7f4b; font-weight: 600; }
.rfq-form-status.is-err { color: #c0392b; }
.rfq-mailto-alt { margin-top: 10px; font-size: 0.8rem; opacity: 0.85; }

/* ── Independent part-detail columns ────────────────────────────────────── */
.part-page .part-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    margin: 0 0 22px;
}

.part-page .part-content-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 22px;
}

.part-page .part-identity-card {
    min-width: 0;
    padding: 0;
    border: 1px solid #d7e1eb;
    border-radius: var(--lim-radius-card, 12px);
    background: #fff;
    box-shadow: 0 5px 20px rgba(32, 55, 86, .04);
    overflow: hidden;
}

.part-page .part-identity-title-cell {
    display: flex;
    min-height: 80px;
    align-items: center;
    padding: 19px 27px;
    border-bottom: 1px solid #d7e1eb;
    background: #f3f5f7;
}

.part-page .part-identity-body {
    padding: 17px 27px 20px;
}

.part-page .part-identity-card h1 {
    overflow-wrap: anywhere;
    margin: 0;
    color: #142b44;
    font-size: clamp(27px, 2.4vw, 34px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.part-page .part-identity-body.has-manufacturer-mark {
    display: grid;
    grid-template-columns: minmax(132px, 25%) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    align-items: stretch;
}

.part-page .part-logo-column {
    display: flex;
    min-width: 0;
    padding: 15px 12px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #dfe7ee;
}

.part-page .part-manufacturer-logo {
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    padding: 12px 4px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2eaf1;
    border-radius: var(--lim-radius-control, 8px);
    background: #fff;
}

.part-page .part-manufacturer-logo.is-on-dark {
    border-color: #15324b;
    background: #15324b;
}

.part-page .part-manufacturer-name {
    color: #28425c;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

.part-page .part-manufacturer-logo.is-on-dark .part-manufacturer-name {
    color: #fff;
}

.part-page .part-manufacturer-logo img + .part-manufacturer-name {
    display: none;
}

.part-page .part-manufacturer-logo img {
    display: block;
    width: 100%;
    max-width: 165px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.part-page .part-identity-details {
    min-width: 0;
}

.part-page .has-manufacturer-mark > .part-identity-details {
    padding: 0;
}

.part-page .part-identity-facts,
.part-page .part-stock-facts {
    margin: 0;
}

.part-page .part-identity-facts > div,
.part-page .part-stock-facts > div {
    display: grid;
    grid-template-columns: minmax(125px, 30%) minmax(0, 1fr);
    gap: 12px;
    min-height: 62px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e7edf3;
}

.part-page .has-manufacturer-mark .part-identity-facts > div,
.part-page .part-stock-facts > div {
    padding: 12px 24px;
    border-top: 0;
    border-bottom: 1px solid #e7edf3;
}

.part-page .part-identity-facts dt,
.part-page .part-stock-facts dt {
    color: #64768b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.part-page .part-identity-facts dd,
.part-page .part-stock-facts dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #1e334c;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.part-page .part-stock-summary {
    position: relative;
    margin: 0;
    padding: 0 22px 20px;
    border: 1px solid #cbddeb;
    border-top: 2px solid #1870ae;
    border-radius: var(--lim-radius-card, 12px);
    background: #f8fbfe;
    box-shadow: 0 5px 20px rgba(32, 55, 86, .04);
}

.part-page .part-stock-column {
    min-width: 0;
}

.part-page .part-stock-summary .part-stock-heading {
    display: flex;
    min-height: 79px;
    align-items: center;
    margin: 0 -22px;
    padding: 19px 22px;
    border-bottom: 1px solid #d7e1eb;
    border-radius: 12px 12px 0 0;
    background: #f3f5f7;
    color: #1b3956;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.part-page .part-stock-facts {
    margin: 0 -22px;
}

.part-page .part-stock-facts dd {
    text-align: left;
}

.part-page .part-stock-summary > .part-stock-caveat {
    margin: 0 -22px -20px;
    padding: 14px 22px 18px;
    border-top: 1px solid #d7e1eb;
    border-radius: 0 0 12px 12px;
    background: #f8fbfe;
    color: #5c6f81;
    font-size: 12px;
    line-height: 1.55;
}

.part-page .part-rfq-section {
    margin: 0 -22px;
    padding: 0 22px 32px;
    border-top: 2px solid #1870ae;
    background: #e8f3fb;
}

.part-page .part-rfq-section-title {
    display: flex;
    min-height: 44px;
    align-items: center;
    margin: 0 -22px;
    padding: 10px 24px;
    border-bottom: 1px solid #c6dceb;
    color: #1d587f;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: .04em;
}

.part-page .part-stock-rfq-form {
    margin-top: 0;
}

.part-page .part-stock-rfq-form .part-stock-rfq-field {
    display: grid;
    grid-template-columns: minmax(125px, 30%) minmax(0, 1fr);
    gap: 12px;
    min-height: 62px;
    align-items: center;
    margin: 0 -22px;
    padding: 8px 24px;
    border-bottom: 1px solid #c6dceb;
}

.part-page .part-stock-rfq-field > span {
    color: #315a78;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.part-page .part-stock-rfq-field .part-required-mark {
    color: #bf263c;
    font-weight: 700;
}

.part-page .part-stock-rfq-form input:not([type="hidden"]) {
    min-height: 44px;
    min-width: 0;
    width: 100%;
    border-radius: var(--lim-radius-control, 8px);
}

.part-page .part-stock-rfq-form .rfq-btn {
    min-height: 46px;
    margin-top: 16px;
    border-radius: var(--lim-radius-button, 8px);
    background: #086cac !important;
    font-weight: 700;
}

.part-page .part-stock-rfq-form .rfq-btn:hover {
    background: #055989 !important;
}

.part-page .part-stock-rfq-form .rfq-btn:focus-visible {
    outline: 3px solid #93c6ee;
    outline-offset: 3px;
}

.part-page .part-stock-rfq-form .rfq-form-status {
    margin: 10px 0 0;
}

.part-page .part-stock-summary .rfq-mailto-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 0;
    opacity: 1;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.part-page .rfq-email-action {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

.part-page .rfq-email-text {
    min-width: 0;
}

.part-page .rfq-email-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.part-page .part-stock-rfq-form[hidden],
.part-page .part-stock-rfq-success[hidden],
.part-page .part-stock-summary .rfq-mailto-alt[hidden] {
    display: none !important;
}

.part-page .part-stock-rfq-success {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #a9d8bd;
    border-left: 4px solid #258252;
    border-radius: 4px;
    background: #eff9f2;
    color: #1b5e3c;
}

.part-page .part-stock-rfq-success h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.35;
}

.part-page .part-stock-rfq-success p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.part-page .part-stock-rfq-success:focus-visible {
    outline: 3px solid #258252;
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    .part-page .part-content-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .part-page .part-content-column {
        display: contents;
    }

    .part-page .part-content-main > .part-identity-card {
        order: 1;
    }

    .part-page .part-content-side > .part-stock-column {
        order: 2;
    }

    .part-page .part-content-main > .specifications-panel {
        order: 3;
    }

}

@media (max-width: 600px) {
    .part-page .recommendation-see-all {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .part-page .part-content-grid {
        gap: 14px;
    }

    .part-page .part-identity-card,
    .part-page .part-stock-summary {
        padding: 16px;
        border-radius: var(--lim-radius-card, 12px);
    }

    .part-page .part-stock-summary {
        padding: 0 16px 16px;
    }

    .part-page .part-rfq-section {
        margin: 0 -16px;
        padding: 0 16px 28px;
    }

    .part-page .part-rfq-section-title {
        min-height: 40px;
        margin: 0 -16px;
        padding: 10px 16px;
    }

    .part-page .part-stock-summary .part-stock-heading {
        min-height: 63px;
        margin: 0 -16px;
        padding: 14px 16px;
    }

    .part-page .part-stock-facts {
        margin: 0 -16px;
    }

    .part-page .part-identity-card {
        padding: 0;
    }

    .part-page .part-identity-title-cell {
        min-height: 64px;
        padding: 14px 16px;
    }

    .part-page .part-identity-body {
        padding: 14px 16px 17px;
    }

    .part-page .part-identity-card h1 {
        font-size: clamp(22px, 6.3vw, 27px);
    }

    .part-page .part-identity-body.has-manufacturer-mark {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .part-page .part-logo-column {
        padding: 10px 16px;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #dfe7ee;
    }

    .part-page .part-manufacturer-logo {
        width: min(180px, 100%);
        min-height: 72px;
        aspect-ratio: auto;
        padding: 8px 4px;
    }

    .part-page .part-manufacturer-logo img {
        max-width: 148px;
        max-height: 64px;
    }

    .part-page .has-manufacturer-mark > .part-identity-details {
        padding: 0;
    }

    .part-page .has-manufacturer-mark .part-identity-facts > div {
        padding: 9px 16px;
    }

    .part-page .part-identity-facts > div,
    .part-page .part-stock-facts > div {
        grid-template-columns: minmax(92px, 39%) minmax(0, 1fr);
        gap: 8px;
        min-height: 54px;
        padding: 9px 0;
    }

    .part-page .part-stock-facts > div {
        padding: 9px 16px;
    }

    .part-page .part-stock-rfq-form .part-stock-rfq-field {
        grid-template-columns: minmax(92px, 39%) minmax(0, 1fr);
        gap: 8px;
        min-height: 54px;
        margin: 0 -16px;
        padding: 4px 16px;
    }

    .part-page .part-stock-summary > .part-stock-caveat {
        margin: 0 -16px -16px;
        padding: 12px 16px 15px;
    }

    .part-page .top-bar {
        gap: 7px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .part-page .top-bar-right {
        gap: 0;
    }

    .part-page .top-bar-right > .more-btn {
        display: none !important;
    }

    .part-page .part-search-form .search-wrap input,
    .part-page .top-bar-right .part-search-submit {
        height: 44px;
    }

    .part-page .part-search-submit {
        padding-inline: 12px;
    }
}
.brand a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.brand a:hover { color: #2f6fed; }
