/* Public PCBA showcase. Loaded after the existing technical-detail styles. */
:root {
    --primary: #ff6a00;
    --primary-dark: #e64f00;
    --primary-gradient: linear-gradient(90deg, #ff7a00 0%, #ff4d00 100%);
    --primary-light: #fff3e8;
    --card-gradient: #fff8f2;
    --primary-rgb: 255, 106, 0;
    --ink: #222222;
    --muted: #666666;
}
body { background: #fff; color: var(--ink); }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ff6a00; outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 2000; background: white; padding: 12px; color: var(--ink); }
.skip-link:focus { top: 8px; }
.header { display: grid; height: 82px; padding: 0 max(24px, calc((100vw - 1280px) / 2)); background: #fff; box-shadow: 0 2px 10px rgba(34, 34, 34, .06); border-bottom: 1px solid #eeeeee; grid-template-columns: 1fr auto 1fr; gap: 28px; }
.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; }
.logo-image { display: block; width: auto; height: 54px; object-fit: contain; }
.brand-wordmark { font-size: 23px; font-weight: 800; letter-spacing: -.8px; color: var(--ink); line-height: 1; }
.brand-wordmark > span { color: var(--primary); }
.brand-wordmark small { display: block; margin-top: 8px; font-size: 8px; font-weight: 600; letter-spacing: 2.6px; color: #777777; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 13px; font-weight: 600; text-decoration: none; color: #333333; padding: 12px 0; }
.site-nav a:hover { color: var(--primary); }
.header-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.global-language select { min-height: 40px; max-width: 132px; padding: 0 30px 0 11px; border: 1px solid #dddddd; border-radius: 20px; background: #fff; color: var(--ink); font-size: 11px; cursor: pointer; }
.global-language select:hover { border-color: var(--primary); }
.header-contact-btn { color: #fff; background: var(--primary-gradient); border: 1px solid var(--primary); border-radius: 22px; padding: 12px 19px; font-size: 12px; gap: 15px; }
.header-contact-btn:hover { background: #e64f00; border-color: #e64f00; }
.menu-toggle, .sidebar, .overlay, .grid-stats, .grid-toolbar, #gridTagsBar { display: none !important; }
.container { margin-top: 82px; height: calc(100dvh - 82px); }
.content { min-width: 0; padding: 0 32px; background: #fff; }
#productGridView, .inquiry-section, .footer { max-width: 1280px; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.5; }
.showcase-hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 52px; align-items: center; padding: 76px 0 64px; }
.hero-copy h1 { color: var(--ink); font-size: clamp(36px, 3.6vw, 57px); line-height: 1.14; letter-spacing: -2.2px; margin: 20px 0 24px; font-weight: 700; }
.hero-copy h1 em { color: var(--primary); font-style: normal; }
.hero-description { max-width: 500px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.site-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 23px; min-height: 46px; border: 1px solid var(--primary); border-radius: 24px; background: var(--primary-gradient); color: #fff; font-size: 12px; line-height: 1.5; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; }
.site-button:hover { background: #e64f00; border-color: #e64f00; box-shadow: 0 5px 16px rgba(255, 90, 0, .22); }
.site-button.secondary { background: #fff; color: var(--ink); border-color: #cccccc; }
.site-button.secondary:hover { border-color: var(--primary); color: var(--primary); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: 10px; color: #666666; }
.hero-notes span::before { content: '✓'; color: var(--primary); margin-right: 6px; }
.featured-carousel { min-width: 0; }
.featured-viewport { min-width: 0; overflow: hidden; border-radius: 18px; touch-action: pan-y; }
.featured-track { display: flex; align-items: stretch; transition: transform .45s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.hero-feature { display: flex; flex: 0 0 100%; min-width: 0; flex-direction: column; padding: 23px; background: #fff6ed; border: 1px solid #ffd8b8; border-radius: 18px; text-decoration: none; color: var(--ink); }
.hero-feature:hover { border-color: var(--primary); }
.feature-topline { display: flex; justify-content: space-between; gap: 12px; color: #9a5a2e; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.feature-media { display: grid; place-items: center; width: 100%; aspect-ratio: 1.6 / 1; margin: 24px 0; overflow: hidden; background: #ffffff; border: 1px solid #eeeeee; border-radius: 12px; }
.feature-media img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain !important; object-position: center; mix-blend-mode: normal; }
.feature-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 20px; border-top: 1px solid #f2c9aa; }
.feature-caption h2 { margin: 6px 0 7px; font-size: 21px; letter-spacing: -.4px; }
.feature-caption p { font-size: 11px; line-height: 1.6; color: var(--muted); }
.feature-arrow { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--primary); font-size: 20px; }
.featured-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 42px; margin-top: 12px; }
.featured-nav-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #e5e5e5; border-radius: 50%; background: #ffffff; color: var(--ink); font-size: 16px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.featured-nav-btn:hover { border-color: var(--primary); color: var(--primary); background: #fff8f2; }
.featured-dots { display: flex; align-items: center; gap: 7px; }
.featured-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #d8d8d8; cursor: pointer; transition: width .25s, background .25s; }
.featured-dot:hover { background: #ffb47e; }
.featured-dot.is-active { width: 25px; background: var(--primary); }
.scope-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; background: #fff8f2; border: 1px solid #ffe0c7; border-radius: 14px; }
.scope-strip > span { color: #b34b00; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.scope-strip p { font-size: 12px; font-weight: 600; color: #4a372c; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 64px 0 28px; scroll-margin-top: 26px; }
.section-heading h2 { font-size: clamp(25px, 2.3vw, 33px); line-height: 1.25; letter-spacing: -1px; color: var(--ink); margin-top: 10px; }
.section-heading > p { max-width: 350px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-grid-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; border: 1px solid #eeeeee; border-radius: 16px; box-shadow: none; overflow: hidden; }
.product-grid-card:hover { transform: translateY(-3px); border-color: #ffb47e; box-shadow: 0 10px 28px rgba(255, 106, 0, .12); }
.card-thumb { height: auto !important; aspect-ratio: 1.6 / 1; background: #fafafa; }
.card-thumb img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.product-grid-card .card-badge { display: none; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-model { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--primary); margin-bottom: 10px; }
.card-name { display: block; -webkit-line-clamp: unset; overflow: visible; color: var(--ink); font-size: 20px; line-height: 1.4; font-weight: 700; min-height: 0; }
.card-brief { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 12px; line-height: 1.85; color: var(--muted); margin-top: 12px; }
.card-specs { font-size: 11px; line-height: 1.8; color: #6f5140; margin-top: 14px; }
.card-tags { margin-top: auto; padding-top: 18px; }
.card-tag { background: #fff1e5; color: #c75000; border: none; border-radius: 10px; font-size: 9px; }
.card-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1e2d7; margin-top: 20px; padding-top: 16px; font-size: 12px; color: var(--primary); font-weight: 700; }
.capabilities-section { margin-top: 64px; border-top: 1px solid #eeeeee; scroll-margin-top: 28px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.capability-grid article { border-left: 3px solid #ffd1ad; padding-left: 22px; }
.chapter-number { font-size: 11px; color: var(--primary); font-weight: 700; }
.capability-grid h3, .workflow-steps h3 { font-size: 17px; line-height: 1.4; color: var(--ink); margin: 15px 0 12px; }
.capability-grid p, .workflow-steps p { font-size: 12px; line-height: 1.85; color: var(--muted); }
.capability-grid a { display: inline-block; margin-top: 20px; color: var(--primary); font-size: 11px; font-weight: 700; text-decoration: none; }
.capability-grid a:hover { text-decoration: underline; }
.workflow-section { margin: 64px 0; padding: 1px 32px 32px; background: #fff8f2; border: 1px solid #ffe2cb; border-radius: 16px; scroll-margin-top: 28px; }
.workflow-section .section-heading { margin-top: 32px; }
.workflow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 28px; }
.workflow-steps li { border-top: 1px solid #f1c9aa; padding-top: 20px; }
.workflow-steps li > span { color: var(--primary); font-size: 11px; font-weight: 700; }
.workflow-steps h3 { font-size: 14px; }
.inquiry-section { display: grid; grid-template-columns: .95fr 1fr; gap: 64px; padding: 48px; background: linear-gradient(135deg, #ff7a00 0%, #ff4d00 100%); color: white; border-radius: 18px; margin-top: 56px; margin-bottom: 40px; scroll-margin-top: 24px; }
.inquiry-copy .eyebrow { color: #fff3e8; }
.inquiry-copy h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -1.2px; margin: 17px 0; }
.inquiry-copy > p:not(.eyebrow) { color: #fff5ee; font-size: 13px; line-height: 1.85; }
.inquiry-contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 28px; }
.inquiry-email { display: block; color: #fff; text-decoration: none; font-size: clamp(16px, 1.8vw, 23px); overflow-wrap: anywhere; }
.inquiry-phone, .inquiry-whatsapp { color: #fff5ee; font-size: 14px; line-height: 1.6; text-decoration: none; }
.inquiry-phone:hover, .inquiry-whatsapp:hover, .inquiry-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.inquiry-wechat { display: flex; align-items: center; gap: 15px; max-width: 360px; margin-top: 24px; padding: 12px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3); border-radius: 14px; }
.inquiry-wechat img { width: 98px; height: 98px; flex: 0 0 98px; padding: 5px; object-fit: contain; background: #ffffff; border-radius: 10px; }
.inquiry-wechat strong, .inquiry-wechat span { display: block; }
.inquiry-wechat strong { margin-bottom: 8px; color: #ffffff; font-size: 14px; }
.inquiry-wechat span { color: #fff2e8; font-size: 11px; line-height: 1.6; }
.inquiry-location { margin-top: 20px; }
.inquiry-form { min-width: 0; }
.inquiry-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 600; margin-bottom: 16px; color: #ffffff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { min-width: 0; width: 100%; padding: 12px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 10px; background: #ffffff; color: var(--ink); font-size: 13px; line-height: 1.5; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #888888; opacity: 1; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form :focus-visible { outline-color: #ffffff; }
.inquiry-form .site-button { width: 100%; background: #222222; border-color: #222222; color: #ffffff; }
.inquiry-form .site-button:hover { background: #000000; border-color: #000000; box-shadow: 0 5px 16px rgba(0, 0, 0, .18); }
.form-note { margin-top: 12px; color: #fff2e8; font-size: 10px; line-height: 1.7; }
.footer { background: #fff; border-top: 1px solid #eeeeee; padding: 23px 0 30px; margin-top: 0; }
.footer-content { justify-content: space-between; flex-wrap: wrap; font-size: 10px; color: #777777; }
.footer-brand { color: var(--ink); font-size: 11px; font-weight: 700; }
#productDetailView { max-width: 1100px; margin: 0 auto; padding-top: 32px; }
.content-section h1 { border-bottom: 1px solid #eeeeee; color: var(--ink); font-size: 30px; letter-spacing: -.7px; }
.content-section h2 { color: var(--ink); font-size: 23px; }
.content-section h3 { color: var(--ink); }
.content-section .badge { display: none; }
.detail-intro { background: #fff8f2; border: 1px solid #ffd9bb; padding: 24px; border-radius: 14px; margin-bottom: 28px; }
.detail-intro .eyebrow { font-size: 10px; color: var(--primary); margin-bottom: 12px; }
.detail-intro .detail-summary { font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.detail-intro .detail-facts { color: #754221; font-size: 12px; }
.detail-intro .site-button { color: #fff; }
.detail-back { display: inline-block; color: var(--primary); text-decoration: none; font-size: 12px; margin-bottom: 20px; }
.detail-customization { padding: 20px 24px; border-left: 4px solid var(--primary); background: #fff8f2; margin: 24px 0; }
.detail-customization h2 { margin: 0 0 10px; font-size: 19px; }
.detail-customization p { margin: 0; }
.localized-specs { color: var(--ink) !important; font-weight: 600; margin: 0 !important; }
.localized-hero { max-width: 820px; margin: 24px auto; background: #fafafa; }
.detail-functions { margin: 26px 0; border: 1px solid #ffe0c7; border-radius: 12px; padding: 18px 22px; }
.detail-functions summary { cursor: pointer; color: var(--ink); font-size: 15px; font-weight: 700; }
.product-card { box-shadow: none; border: 1px solid #ffe0c7; }
.specs-table { border: 1px solid #eeeeee; box-shadow: none; }
.specs-table tr:hover { background: #fff8f2; }
.product-images { gap: 20px; }
.product-image-item { box-shadow: none; border: 1px solid #eeeeee; }
.product-feature-card, .product-detail-media { background: #fff8f2; border-color: #ffe0c7; border-radius: 12px; }
.product-feature-card strong { color: var(--ink); }
.product-feature-card span { color: var(--muted); }
.contact-icon { display: none; }
.contact-info-card, .qrcode-container { box-shadow: none; border: 1px solid #eeeeee; }
.toc { width: 215px; flex-shrink: 0; background: #fffaf6; border-left: 1px solid #ffe1ca; }
.toc-title { color: #8b5737; }
.toc-link { font-size: 11px; line-height: 1.6; }
.detail-language-switch { border-bottom-color: #ffe1ca; }
.detail-language-select { border-color: #e1c8b5; color: var(--ink); }
.product-actions { flex-wrap: wrap; }
.product-actions .action-btn { border-radius: 24px; box-shadow: none; }
.related-products-section { margin-top: 30px; }
.related-products-inner { border-top-color: #eeeeee; }
.related-products-title, .related-product-name { color: var(--ink); }
.related-product-card { background: #fffaf6; border-color: #ffe1ca; border-radius: 14px; }
.related-product-tag { background: #fff1e5; color: #c75000; }
.modal-content { background: #ffffff; border: 1px solid #ffd9bb; }
.contact-item, .qrcode-section { background: #fffaf6; border: 1px solid #ffe1ca; box-shadow: none; }
@media (min-width: 1600px) { .content { padding-left: 64px; padding-right: 64px; } }
@media (max-width: 1100px) {
    .showcase-hero { gap: 30px; padding-top: 52px; }
    .site-nav { gap: 18px; }
    .card-thumb { height: 220px; }
    .card-body { padding: 18px; }
    .card-name { font-size: 18px; }
    .inquiry-section { padding: 32px; gap: 32px; }
    .hero-notes { gap: 10px; }
}
@media (max-width: 900px) {
    .header { padding: 0 20px; gap: 16px; }
    .site-nav { gap: 15px; }
    .site-nav a { font-size: 11px; }
    .brand-wordmark { font-size: 20px; }
    .showcase-hero { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy h1 { font-size: 45px; }
    .hero-description { max-width: 600px; }
    .featured-carousel { max-width: 650px; width: 100%; }
    .hero-feature { max-width: none; width: 100%; }
    .feature-media { margin: 20px 0; }
    .scope-strip { justify-content: flex-start; }
    .scope-strip > span { flex-basis: 100%; }
    .capability-grid { gap: 20px; }
    .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .section-heading > p { max-width: 550px; }
    .inquiry-section { grid-template-columns: 1fr; }
    .toc { display: none !important; }
}
@media (max-width: 768px) {
    .header { height: 112px; grid-template-columns: 1fr auto; grid-template-rows: 66px 46px; gap: 0 16px; }
    .logo { grid-column: 1; grid-row: 1; }
    .header-tools { grid-column: 2; grid-row: 1; }
    .header-contact-btn { margin: 0; padding: 10px 14px; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; width: 100%; border-top: 1px solid #edf1f4; }
    .site-nav a { font-size: 12px; padding: 14px 0; }
    .container { margin-top: 112px; height: calc(100dvh - 112px); }
    .content { padding: 0 20px; height: 100%; min-height: 0; width: 100%; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .capability-grid { grid-template-columns: 1fr; gap: 28px; }
    .section-heading { margin-top: 42px; }
    .capabilities-section, .workflow-section { margin-top: 42px; }
    .workflow-section { padding: 1px 22px 24px; margin-bottom: 42px; }
    .content-section h1 { font-size: 25px; }
    .inquiry-section { margin-top: 36px; padding: 28px 22px; }
    .footer-content { align-items: flex-start; flex-direction: column; text-align: left; gap: 12px; }
    .detail-language-switch { display: none; }
}
@media (max-width: 640px) {
    .header { padding-left: 14px; padding-right: 14px; gap: 0 8px; }
    .logo-image { height: 42px; }
    .brand-wordmark { font-size: 17px; }
    .brand-wordmark small { font-size: 7px; letter-spacing: 1.8px; }
    .header-tools { gap: 6px; }
    .global-language select { width: 92px; max-width: 92px; padding-left: 8px; font-size: 10px; }
    .header-contact-btn { padding: 10px; font-size: 11px; }
}
@media (max-width: 540px) {
    .hero-copy h1 { font-size: 36px; letter-spacing: -1.4px; }
    .showcase-hero { padding: 36px 0; }
    .hero-description { font-size: 14px; }
    .showcase-actions { flex-direction: column; }
    .hero-feature { padding: 18px; }
    .feature-media { aspect-ratio: 1.6 / 1; }
    .feature-caption h2 { font-size: 18px; }
    .featured-controls { justify-content: center; }
    .product-grid { grid-template-columns: 1fr; }
    .card-thumb { height: 260px; }
    .card-body { padding: 22px; }
    .workflow-steps { grid-template-columns: 1fr; gap: 22px; }
    .workflow-steps h3 { margin-top: 8px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .hero-notes { gap: 9px 14px; }
    .scope-strip { gap: 15px; }
    .inquiry-wechat { max-width: 100%; }
    .inquiry-wechat img { width: 88px; height: 88px; flex-basis: 88px; }
    .detail-intro { padding: 20px; }
    .detail-intro .showcase-actions { align-items: stretch; }
    .specs-table { white-space: normal; }
    .specs-table td { min-width: 100px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .product-grid-card:hover { transform: none; }
}
