@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
:root { --blue:#185FA5; --blue-hover:#0C447C; --ink:#162434; --muted:#64748b; --line:#dbe4ee; --soft:#f4f8fc; --bg:#f5f7fa; --notice:#eef6ff; --warn:#8a5a00; }
* { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body { min-height:100vh; background:var(--bg); color:#1a1a1a; font:13px/1.45 Inter, "Segoe UI", Arial, sans-serif; }
a { color:var(--blue); text-decoration:none; }
a:hover { color:var(--blue-hover); text-decoration:underline; }
button, input, textarea { font:inherit; }
.mall-nav { height:52px; padding:0 28px; display:flex; gap:8px; align-items:center; position:sticky; top:0; z-index:20; background:#fff; border-bottom:1px solid #e8edf2; }
.mn-logo { display:flex; align-items:center; gap:8px; margin-right:12px; color:#114C86; font-size:15px; font-weight:800; letter-spacing:.4px; text-decoration:none; }
.mn-logo:hover { color:#114C86; text-decoration:none; }
.mn-logo img { width:34px; height:28px; object-fit:contain; }
.mn-links { display:flex; align-items:center; gap:4px; }
.mn-link { display:inline-flex; align-items:center; height:38px; padding:0 14px; border-radius:6px; color:#596574; font-size:13px; text-decoration:none; }
.mn-link:hover, .mn-link-active { color:var(--blue); background:#eff5fb; text-decoration:none; }
.mn-right { margin-left:auto; display:flex; align-items:center; }
.mn-service { display:inline-flex; align-items:center; min-height:30px; padding:0 10px; border:1px solid #cfdeed; border-radius:6px; color:var(--blue); font-size:12px; font-weight:600; text-decoration:none; }
.mn-service:hover { color:var(--blue-hover); background:#f4f8fc; text-decoration:none; }
.wrap, .page { width:min(1120px, calc(100% - 32px)); margin-left:auto; margin-right:auto; }
.page { margin-top:18px; margin-bottom:48px; }
.site-foot { margin-top:36px; padding:18px 0 28px; color:#748092; background:#fff; border-top:1px solid #e6ebf0; font-size:12px; }
.foot { width:min(1120px, calc(100% - 32px)); margin:0 auto; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }

/* Home */
.home-hero { padding:52px 0 42px; background:linear-gradient(135deg,#fff 0%,#f1f7fd 100%); border-bottom:1px solid #e2eaf2; }
.home-hero .wrap { max-width:1000px; }
.home-brand { display:flex; align-items:center; justify-content:center; gap:13px; margin-bottom:20px; color:#114C86; font-size:28px; font-weight:800; letter-spacing:1px; }
.home-brand img { width:72px; height:60px; object-fit:contain; }
.home-kicker { display:block; margin-top:5px; color:#55708c; font-size:11px; font-weight:600; letter-spacing:1.5px; text-align:left; }
.home-title { margin:0; text-align:center; color:var(--ink); font-size:28px; line-height:1.2; }
.home-intro { max-width:740px; margin:10px auto 22px; color:#4e6276; text-align:center; font-size:14px; line-height:1.6; }
.home-search { position:relative; max-width:780px; margin:0 auto; }
.home-search input { width:100%; height:52px; padding:0 126px 0 17px; border:2px solid var(--blue); border-radius:9px; outline:none; background:#fff; font-size:14px; }
.home-search input:focus { border-color:var(--blue-hover); box-shadow:0 0 0 3px rgba(24,95,165,.13); }
.home-search button, .search-go { border:0; color:#fff; background:var(--blue); cursor:pointer; font-weight:650; }
.home-search button { position:absolute; top:4px; right:4px; bottom:4px; min-width:108px; border-radius:6px; }
.home-search button:hover, .search-go:hover { background:var(--blue-hover); }
.home-note { margin:11px auto 0; max-width:780px; color:#6a7d90; text-align:center; font-size:12px; }
.home-section { padding:28px 0; }
.home-section h2 { margin:0; color:var(--ink); font-size:20px; }
.home-section > p { margin:6px 0 0; color:var(--muted); }
.info-band { margin:0 auto; padding:17px 20px; max-width:1000px; background:var(--notice); border:1px solid #cddfee; border-radius:10px; color:#38546e; }
.info-band strong { color:#114C86; }
.info-band p { margin:5px 0 0; }
.home-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:17px; }
.home-card { padding:18px; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 1px 2px rgba(10,35,60,.03); }
.home-card h3 { margin:0 0 7px; color:#173b5d; font-size:15px; }
.home-card p { margin:0; color:#66798b; font-size:12px; line-height:1.6; }
.home-card a { display:inline-block; margin-top:12px; font-weight:650; }

/* Shared reference pages */
.crumb { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 13px; color:#95a1ae; font-size:12px; }
.crumb a { color:#66778a; }
.crumb b, .crumb .here { color:#114C86; font-weight:650; }
.crumb .sep { color:#c5ced8; }
.page-title { margin:0 0 5px; color:var(--ink); font-size:20px; }
.page-sub { margin:0 0 16px; color:var(--muted); font-size:13px; }
.notice-panel, .route-card { padding:22px; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 1px 2px rgba(10,35,60,.025); }
.notice-panel { border-left:4px solid var(--blue); }
.notice-panel h2, .route-card h1 { margin:0 0 8px; color:var(--ink); font-size:17px; }
.notice-panel p, .route-card p { margin:7px 0; color:#566b80; line-height:1.6; }
.notice-panel ul { margin:12px 0 0; padding-left:19px; color:#566b80; }
.notice-panel li + li { margin-top:6px; }
.actions { display:flex; gap:9px; flex-wrap:wrap; margin-top:17px; }
.btn { min-height:34px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--blue); border-radius:6px; background:var(--blue); color:#fff; font-size:12px; font-weight:650; text-decoration:none; cursor:pointer; }
.btn:hover { background:var(--blue-hover); border-color:var(--blue-hover); color:#fff; text-decoration:none; }
.btn-ghost { background:#fff; color:#425467; border-color:#cbd8e5; }
.btn-ghost:hover { background:#f7fafc; color:var(--blue); border-color:var(--blue); }
.route-card { max-width:740px; margin:44px auto; text-align:center; }
.route-symbol { display:flex; width:42px; height:42px; margin:0 auto 13px; align-items:center; justify-content:center; border-radius:50%; background:#e8f1fa; color:#114C86; font-size:21px; font-weight:700; }
.route-card .actions { justify-content:center; }
.route-card .small-note { max-width:520px; margin:15px auto 0; color:#8291a1; font-size:12px; }

/* Search */
.search-hero { padding:15px 0; background:#fff; border-bottom:1px solid #e3eaf1; }
.search-hero-inner { width:min(1320px, calc(100% - 32px)); margin:0 auto; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.sh-brand { display:flex; align-items:center; gap:10px; min-width:215px; }
.sh-brand img { width:44px; height:36px; object-fit:contain; }
.sh-slogan { color:#738295; font-size:11px; line-height:1.4; }
.sh-slogan b { display:block; color:var(--blue); font-size:13px; }
.big-search { position:relative; flex:1; min-width:260px; max-width:620px; height:39px; }
.big-search input { width:100%; height:39px; padding:0 98px 0 13px; border:2px solid var(--blue); border-radius:7px; outline:none; font-size:13px; }
.big-search .search-go { position:absolute; top:3px; right:3px; bottom:3px; padding:0 18px; border-radius:5px; }
.sh-info { color:#5d7185; font-size:12px; }
.sp-page { width:min(1440px, calc(100% - 32px)); margin:0 auto 48px; }
.sp-toolbar { display:flex; align-items:center; gap:8px 14px; flex-wrap:wrap; padding:9px 12px; border:1px solid var(--line); border-bottom:0; background:#fff; color:#68798a; font-size:12px; }
.sp-toolbar[hidden], .sp-empty[hidden], .sp-pager[hidden] { display:none; }
.tb-group { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.tb-label { color:#64748b; margin-right:4px; }
.brand-chip, .sort-item { height:26px; padding:0 9px; border:0; border-radius:5px; background:transparent; color:#435466; cursor:pointer; font-size:12px; }
.brand-chip:hover, .sort-item:hover, .brand-chip.on, .sort-item.on { color:var(--blue); background:#eaf2fb; }
.sp-count { margin-left:auto; }
.sr-table { width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; border:1px solid var(--line); background:#fff; font-size:12px; }
.sr-table th { padding:10px 10px; position:sticky; top:52px; z-index:4; background:#f2f5f8; border-bottom:1px solid var(--line); color:#536273; text-align:left; font-size:11px; font-weight:650; }
.sr-table td { padding:11px 10px; vertical-align:middle; border-bottom:1px solid #e9eef3; color:#263442; line-height:1.4; }
.sr-table tr:last-child td { border-bottom:0; }
.sr-table tbody tr:hover td { background:#fbfdff; }
.sr-table .h-img { width:112px; }.sr-table .h-part { width:166px; }.sr-table .h-mfr { width:130px; }.sr-table .h-desc { width:auto; }.sr-table .h-ds { width:140px; }.sr-table .h-stock { width:140px; }.sr-table .h-price { width:210px; }.sr-table .h-action { width:125px; }
.sr-img { display:flex; width:86px; height:64px; align-items:center; justify-content:center; overflow:hidden; border:1px solid #edf2f6; border-radius:5px; background:#f6f8fb; }
.sr-img img { width:86px; height:64px; object-fit:contain; background:#fff; }.sr-img.mark img { width:31px; height:25px; opacity:.38; object-fit:contain; }
.sr-mpn { display:block; color:var(--blue); font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.sr-pack, .sr-meta { display:block; margin-top:3px; color:#718196; font-size:11px; }.sr-mfr { color:#35485b; }.sr-desc { color:#344556; overflow-wrap:anywhere; }.sr-cat { margin-top:4px; color:#738295; font-size:11px; }
.stock-unconfirmed { color:#7d5c22; font-weight:650; white-space:nowrap; }.sr-ds { display:inline-block; font-weight:650; }.scope-tag { display:block; margin-top:3px; color:#77889a; font-size:10px; }
.price-unavailable { color:#7a8795; font-weight:600; }.price-date { display:block; margin-top:4px; color:#76889a; font-size:10px; line-height:1.35; }.price-note { display:block; margin-top:4px; color:#7a8795; font-size:10px; line-height:1.35; }
.ref-ladder { display:flex; flex-direction:column; gap:4px; }.ref-tier { display:grid; grid-template-columns:1fr auto; gap:5px 8px; padding:5px 7px; border:1px solid #e3eaf1; border-radius:4px; background:#fbfdff; }.ref-tier strong { color:#31465a; font-size:11px; }.ref-tier .ref-value { color:#114C86; font-weight:700; font-variant-numeric:tabular-nums; }.ref-tier small { grid-column:1 / -1; color:#77889a; font-size:10px; line-height:1.25; }.ask-link { display:inline-flex; align-items:center; justify-content:center; min-height:30px; padding:0 9px; border:1px solid #cddbea; border-radius:5px; color:#315c83; font-size:11px; font-weight:650; text-align:center; }.ask-link:hover { color:var(--blue); border-color:var(--blue); text-decoration:none; }
.sp-empty, .sp-rfq { margin-top:8px; padding:28px; border:1px solid var(--line); border-radius:9px; background:#fff; color:#67788a; text-align:center; }.sp-rfq h2 { margin:0 0 7px; color:var(--ink); font-size:16px; }.sp-rfq p { margin:0; line-height:1.6; }.sp-rfq .actions { justify-content:center; }.sp-pager { display:flex; justify-content:center; gap:6px; margin-top:14px; }.sp-pager button { min-width:32px; height:32px; border:1px solid var(--line); border-radius:5px; background:#fff; color:#526273; cursor:pointer; }.sp-pager button.on, .sp-pager button:hover { color:var(--blue); border-color:var(--blue); }

/* Part detail */
.pd-id { display:flex; gap:15px; align-items:flex-start; padding:15px; margin-bottom:13px; border:1px solid var(--line); border-radius:10px; background:#fff; }.pd-cover { width:160px; height:120px; flex:0 0 160px; display:flex; align-items:center; justify-content:center; overflow:hidden; border:1px solid #edf2f6; border-radius:7px; background:#f6f8fb; }.pd-cover img { width:160px; height:120px; object-fit:contain; background:#fff; }.pd-cover.mark img { width:68px; height:54px; object-fit:contain; }.pd-id-body { min-width:0; flex:1; }.pd-mpn { color:#114C86; font-size:22px; font-weight:750; overflow-wrap:anywhere; }.pd-name { margin:5px 0 3px; color:#33485a; font-size:13px; }.pd-meta { color:#6b7c8d; font-size:12px; }.pd-badges { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }.badge { display:inline-flex; align-items:center; padding:2px 8px; border-radius:4px; background:#eef2f6; color:#66778a; font-size:11px; font-weight:600; }.badge-info { background:#e8f1fb; color:#185FA5; }.badge-unconfirmed { background:#fdf5e8; color:#8a5a00; }.pd-datasheets { display:flex; gap:9px; flex-wrap:wrap; margin-top:10px; }.pd-ds { font-size:12px; font-weight:650; }.pd-ds small { color:#758597; font-weight:400; }.pd-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:13px; align-items:start; }.pd-specs, .pd-reference { padding:17px; border:1px solid var(--line); border-radius:10px; background:#fff; }.pd-reference { position:sticky; top:64px; }.pd-sec-title { margin:0 0 10px; color:#20384e; font-size:15px; font-weight:700; }.pd-sec-note { margin:0 0 12px; color:#67798b; font-size:12px; line-height:1.55; }.pd-spec-table { overflow:hidden; border:1px solid #e4eaf0; border-radius:7px; }.pd-spec-row { display:grid; grid-template-columns:180px 1fr; border-top:1px solid #e9eef3; font-size:12px; }.pd-spec-row:first-child { border-top:0; }.pd-spec-key { padding:8px 11px; background:#fafbfd; color:#697b8c; }.pd-spec-val { padding:8px 11px; color:#304254; overflow-wrap:anywhere; }.pd-ref-disclaimer { margin:12px 0 0; padding-top:10px; border-top:1px solid #e7edf2; color:#77889a; font-size:11px; line-height:1.55; }.pd-reference .actions { margin-top:13px; }.pd-copy { margin-left:7px; height:24px; padding:0 8px; border:1px solid #d6e1eb; border-radius:4px; background:#fff; color:#53697e; cursor:pointer; font-size:11px; vertical-align:middle; }.pd-copy:hover { color:var(--blue); border-color:var(--blue); }

@media (max-width:1000px) { .sr-table .h-mfr, .sr-table td.sr-mfr-cell { display:none; }.sr-table .h-price { width:195px; }.pd-layout { grid-template-columns:1fr; }.pd-reference { position:static; } }
@media (max-width:760px) { .mall-nav { padding:0 14px; }.mn-link { padding:0 9px; }.mn-links { gap:0; }.home-hero { padding:34px 0 30px; }.home-title { font-size:23px; }.home-cards { grid-template-columns:1fr; }.sh-brand { min-width:0; }.sh-info { display:none; }.sr-table, .sr-table thead, .sr-table tbody, .sr-table tr, .sr-table td { display:block; }.sr-table thead { display:none; }.sr-table tr { padding:8px 0; border-bottom:1px solid #e6ebf0; }.sr-table td { padding:6px 12px; border:0; }.sr-table tr:last-child { border-bottom:0; }.sr-table td.sr-img-cell { float:right; }.sr-table .h-ds, .sr-table .h-stock, .sr-table td.sr-ds-cell, .sr-table td.sr-stock-cell { display:none; }.sr-table .sr-action-cell { clear:both; }.sr-meta { display:block; }.sr-desc { margin-top:5px; }.pd-id { display:block; }.pd-cover { margin-bottom:12px; }.pd-spec-row { grid-template-columns:1fr; }.pd-spec-key { padding-bottom:3px; }.pd-spec-val { padding-top:3px; }.pd-mpn { font-size:19px; } }
@media (max-width:500px) { .mn-links { display:none; }.home-search input { padding-right:94px; }.home-search button { min-width:82px; }.search-hero-inner { gap:9px; }.sh-brand { display:none; }.big-search { flex-basis:100%; min-width:0; }.page, .wrap { width:min(100% - 24px, 1120px); }.pd-reference, .pd-specs, .notice-panel, .route-card { padding:15px; } }

/* Original mall design restoration (4c9569e): appearance only, not demo commerce. */
body { background:#f5f6f8; font-size:12px; }
.mall-nav { border-color:#eee; }
.mn-link { height:40px; color:#666; }
.mn-service { padding:0 6px; border:0; color:#555; font-weight:400; }
.mn-service:hover { background:transparent; }
.site-foot { border-color:#eee; color:#888; }
.search-hero { padding:16px 0 12px; border-color:#eee; }
.search-hero-inner { width:min(1320px,calc(100% - 32px)); gap:18px; }
.sh-brand { gap:12px; }
.sh-slogan { font-size:12px; color:#888; line-height:1.5; }
.big-search { max-width:560px; height:38px; }
.big-search input { height:38px; padding:0 96px 0 38px; border-radius:8px; }
.big-search .s-icon { position:absolute; left:11px; top:50%; transform:translateY(-50%); display:flex; color:#999; pointer-events:none; }
.big-search .search-go { height:auto; right:3px; top:3px; bottom:3px; padding:0 18px; border-radius:6px; }
.sh-bom { display:inline-flex; align-items:center; height:38px; padding:0 14px; border:1px solid #c9dcf0; border-radius:8px; background:#f4f8fd; color:var(--blue); font-size:13px; font-weight:600; white-space:nowrap; }
.sh-bom:hover { background:#e8f0fe; text-decoration:none; }
.sp-toolbar { min-height:42px; padding:7px 12px; border-color:#d9dee6; }
.sr-table { border-color:#d9dee6; font-family:Inter,"Segoe UI",Arial,sans-serif; }
.sr-table th { padding:10px 12px; color:#4b5563; background:#f3f4f6; border-color:#d9dee6; font-weight:600; white-space:nowrap; }
.sr-table td { padding:12px; color:#1a1a1a; border-color:#e6e9ee; }
.sr-table .h-img { width:136px; }
.sr-table .h-part { width:162px; }
.sr-table .h-mfr { width:122px; }
.sr-table .h-ds { width:112px; }
.sr-table .h-stock { width:142px; }
.sr-table .h-price { width:180px; }
.sr-table .h-action { width:126px; }
.sr-img { width:120px; height:90px; border-radius:4px; background:#f5f8fb; }
.sr-img img { width:120px; height:90px; object-fit:contain; }
.sr-img.mark img { width:30px; height:24px; }
.sr-mpn { font-weight:600; }
.sr-desc { color:#1a1a1a; line-height:1.45; }
.pd-id { padding:14px 16px; gap:14px; border-color:#eee; }
.pd-mpn { font-weight:700; }
.pd-cover { border-radius:8px; background:#f5f8fb; }
.zoom-wrap { position:relative; display:inline-block; }
.zoom-pop { display:none; position:absolute; left:calc(100% + 12px); top:0; z-index:80; width:320px; height:240px; padding:10px; border:1px solid #e2e8f0; border-radius:8px; background:#fff; box-shadow:0 16px 40px rgba(23,40,59,.18); align-items:center; justify-content:center; pointer-events:none; }
.zoom-wrap:hover .zoom-pop { display:flex; }
.zoom-pop img { max-width:300px; max-height:220px; width:auto; height:auto; object-fit:contain; }
.pd-layout { grid-template-columns:minmax(0,1fr) 280px; gap:14px; }
.pd-specs,.pd-reference { border-color:#eee; }
.pd-reference { top:60px; }
.pd-pinout { margin-top:22px; scroll-margin-top:80px; }
.pd-pinout .pd-sec-title small { color:#8a94a3; font-weight:400; }
.pd-pin-img { display:block; max-width:720px; padding:10px; border:1px solid #edf2f6; border-radius:8px; background:#fff; cursor:zoom-in; }
.pd-pin-img img { display:block; width:100%; height:auto; }
.pd-pin-note { margin-top:8px; color:#8a94a3; font-size:12px; }
@media(max-width:1000px) { .pd-layout { grid-template-columns:1fr; }.pd-reference { position:static; } }
@media(max-width:760px) { .mn-links .hide-sm { display:none; }.sr-table .sr-img { width:86px; height:64px; }.sr-table .sr-img img { width:86px; height:64px; }.zoom-pop { display:none !important; } }

/* Original search interactions and discoverable demo navigation. */
.sr-history { position:absolute; top:calc(100% + 4px); left:0; right:0; z-index:50; padding:10px; background:#fff; border:1px solid #dbe4ee; border-radius:7px; box-shadow:0 12px 32px rgba(22,36,52,.15); }
.sr-history[hidden] { display:none; }
.sr-history-head { display:flex; justify-content:space-between; gap:10px; color:#566b80; font-size:11px; font-weight:600; }
.sr-history-head button { background:transparent; border:0; padding:0; color:#185FA5; cursor:pointer; font-size:11px; }
#sr-history-terms { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
.sr-history-item { max-width:100%; padding:5px 9px; border:1px solid #d9e5f1; border-radius:5px; background:#f4f8fc; color:#294d70; cursor:pointer; overflow-wrap:anywhere; }
.sr-history-item:hover { background:#e8f1fa; }
.sr-var-tag { display:block; margin-top:3px; font-size:10px; color:#47709a; }
.sr-table .grp-row td:first-child { border-left:3px solid #d1e2f4; }
@media(max-width:500px) {
  .mall-nav { flex-wrap:wrap; height:auto; min-height:52px; padding:8px 12px; }
  .mn-links { display:flex; flex-wrap:wrap; order:3; width:100%; justify-content:flex-start; }
  .mn-link { height:30px; padding:0 9px; font-size:12px; }
  .mn-right { margin-left:auto; }
}
