:root {
  --ink: #07111f;
  --text: #43536a;
  --muted: #718096;
  --line: #d9e3ee;
  --blue: #1557d8;
  --blue-dark: #0e3f9f;
  --pale: #f4f8fc;
  --teal: #0f766e;
  --shadow: 0 12px 32px rgba(8, 24, 48, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 52%, #f8fafc 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100vw - 48px)); margin: 0 auto; }
.lang-zh [data-en], .lang-en [data-zh], .lang-en [data-brand-logo-zh], .lang-zh [data-brand-logo-en] { display: none !important; }
[data-evvo-canonical-header] { min-height: 132px; }
main { flex: 1 0 auto; }

.searchHeader {
  padding: 34px 0 29px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .86);
}
.searchEyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.searchHeader h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
.searchIntro { max-width: 760px; margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.searchForm { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 9px; max-width: 820px; margin-top: 20px; }
.searchForm input {
  width: 100%;
  height: 52px;
  border: 1px solid #b7c9dd;
  border-radius: 10px;
  padding: 0 16px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.searchForm input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 87, 216, .12); }
.searchForm button { border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 900; }
.searchForm button:hover { background: var(--blue-dark); }
.resultMeta { min-height: 22px; margin: 14px 0 0 16px; color: #53657b; font-size: 14px; }
.resultMeta b { color: var(--ink); font-size: 15px; }
.datasheetSlot { display: contents; }

.resultsSection { padding: 26px 0 38px; }
.filterBar {
  display: none;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.filterBar.visible { display: block; }
.filterTop { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.filterTop h2 { margin: 0; font-size: 17px; }
.clearFilters { border: 0; background: transparent; color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.filterGroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.filterGroup h3 { margin: 0 0 8px; color: #53657b; font-size: 12px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  min-height: 34px;
  border: 1px solid #d2deea;
  border-radius: 999px;
  background: #fff;
  color: #34465c;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 800;
}
.chip:hover, .chip.active { border-color: #8db2ea; background: #edf5ff; color: var(--blue-dark); }

.resultPanel { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.resultPanelHead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.resultPanelHead h2 { margin: 0; font-size: 19px; }
.range { color: var(--muted); font-size: 12px; }
.resultPanel.exactMode .resultPanelHead { display: none; }
.loading { padding: 54px; text-align: center; color: var(--muted); }

.exactProduct { padding: 28px; }
.exactTop { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.35fr); gap: 32px; align-items: start; }
.exactIdentity { min-width: 0; }
.exactKicker { margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.exactPart { margin: 0; color: var(--blue-dark); font: 950 clamp(27px, 4vw, 38px)/1.15 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.exactTitle { margin: 10px 0 0; color: #23364d; font-size: 19px; font-weight: 850; line-height: 1.4; }
.exactMeta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.exactMeta div { min-width: 130px; }
.exactMeta span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.exactMeta b { display: block; margin-top: 4px; color: #23476d; font-size: 14px; font-weight: 850; }
.contentStatus { margin: 0; padding: 13px 15px; border: 1px solid #d7e2ed; border-radius: 10px; background: #f7fafc; color: #506278; font-size: 13px; line-height: 1.55; }
.specGrid + .contentStatus { margin-top: 12px; }
.exactSpecs h3 { margin: 0 0 12px; font-size: 16px; }
.specGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specItem { min-width: 0; padding: 13px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfdff; }
.specItem:nth-child(2n) { border-right: 0; }
.specItem:last-child,
.specItem:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.specItem:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.specItem span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; }
.specItem b { display: block; margin-top: 5px; color: #142a43; font-size: 16px; overflow-wrap: anywhere; }
.exactActions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.partialProduct { padding: 22px 24px; }
.partialIdentity { min-width: 0; }
.partialMeta { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px 24px; margin-top: 18px; }
.partialMeta b { display: block; color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.partialMeta span { display: block; margin-top: 3px; color: #24364c; font-size: 13px; font-weight: 400; }
.partialSpecs { margin-top: 18px; }
.partialStatus { margin: 16px 0 0; color: #5d6e82; font-size: 13px; line-height: 1.55; }
.partialActions { margin-top: 18px; padding-top: 16px; }

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #bfd0e2;
  border-radius: 8px;
  background: #fff;
  color: #173b62;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.action:hover { border-color: #86aee0; background: #f5f9ff; }
.action.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.action.dk { border-color: #e7b77c; background: #fff7eb; color: #7e360b; }
.actions { display: flex; gap: 7px; flex-wrap: wrap; }
.subtle { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.productTable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.productTable th { padding: 12px 11px; background: #f2f6fa; color: #56677b; text-align: left; font-size: 11px; letter-spacing: .02em; }
.productTable td { padding: 15px 11px; border-top: 1px solid #edf1f5; vertical-align: top; color: #34465c; font-size: 13px; overflow-wrap: anywhere; }
.productTable tbody tr:first-child td { border-top: 0; }
.productTable tbody tr:hover { background: #fbfdff; }
.productTable th:nth-child(1) { width: 16%; }
.productTable th:nth-child(2) { width: 16%; }
.productTable th:nth-child(3) { width: 11%; }
.productTable th:nth-child(4) { width: 30%; }
.productTable th:nth-child(5) { width: 11%; }
.productTable th:nth-child(6) { width: 16%; }
.part { color: var(--blue-dark); font: 900 15px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.familyName { font-weight: 400; color: #34465c; }
.productTable td:nth-child(3) { font-weight: 400; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 12px; align-items: start; }
.spec { min-width: 0; }
.spec b { display: block; color: #65768a; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.spec span { display: block; margin-top: 2px; color: #24364c; font-size: 12px; font-weight: 700; }
.specEmpty { color: var(--muted); font-size: 12px; }

.pagination { display: none; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-top: 1px solid var(--line); }
.pagination.visible { display: flex; }
.pagination button { min-width: 42px; height: 38px; border: 1px solid #cbd8e5; border-radius: 7px; background: #fff; color: #213a56; font-weight: 900; }
.pagination button:disabled { opacity: .4; }
.pagination span { min-width: 120px; text-align: center; color: #53657b; font-size: 12px; }

.relatedSection { display: none; margin-top: 20px; }
.relatedSection.visible { display: block; }
.sectionHeading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.sectionHeading h2 { margin: 0; font-size: 22px; }
.sectionHeading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.relatedGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.relatedCard { display: flex; flex-direction: column; min-width: 0; min-height: 180px; padding: 17px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(8, 24, 48, .06); }
.relatedCard:nth-child(2) { border-top-color: var(--teal); }
.relatedCard:nth-child(3) { border-top-color: #7c3aed; }
.relatedCard:nth-child(4) { border-top-color: #c4670b; }
.relatedCard .part { font-size: 16px; }
.relatedMeta { margin: 9px 0 0; color: #52677e; font-size: 12px; line-height: 1.5; }
.relatedSpecs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; color: #31465e; font-size: 11px; font-weight: 750; }
.relatedSpecs span { padding: 4px 6px; border-radius: 5px; background: #f1f5f9; }
.relatedCard .action { width: 100%; margin-top: auto; }

.emptyState { display: none; }
.emptyState.visible { display: block; }
.emptyLead { padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%); box-shadow: var(--shadow); }
.emptyLead h2 { margin: 0 0 9px; font-size: clamp(23px, 3.5vw, 30px); }
.emptyLead p { max-width: 790px; margin: 0; color: var(--text); line-height: 1.65; }
.querySuggestions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.querySuggestion { display: inline-flex; min-height: 38px; align-items: center; padding: 0 12px; border: 1px solid #b8cae0; border-radius: 8px; background: #fff; color: var(--blue-dark); font-size: 13px; font-weight: 850; }
.recoveryGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.recoveryCard { display: flex; flex-direction: column; min-height: 210px; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(8, 24, 48, .06); }
.recoveryNumber { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eaf3ff; color: var(--blue-dark); font-size: 13px; font-weight: 950; }
.recoveryCard h3 { margin: 14px 0 8px; font-size: 18px; }
.recoveryCard p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.6; }
.recoveryTips { margin: 11px 0 0; padding-left: 18px; color: #4a5f77; font-size: 12px; line-height: 1.65; }
.recoveryCard .action { align-self: flex-start; margin-top: auto; }
.suggestedSection { display: none; margin-top: 19px; }
.suggestedSection.visible { display: block; }

@media (max-width: 980px) {
  .exactTop { grid-template-columns: 1fr; }
  .relatedGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .productTable, .productTable tbody, .productTable tr, .productTable td { display: block; width: 100%; }
  .productTable thead { display: none; }
  .productTable tr { padding: 15px; border-top: 1px solid var(--line); }
  .productTable tbody tr:first-child { border-top: 0; }
  .productTable td { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 11px; padding: 7px 0; border: 0; }
  .productTable td::before { content: attr(data-label); color: #6a7a8f; font-size: 11px; font-weight: 850; }
}

@media (max-width: 760px) {
  [data-evvo-canonical-header] { min-height: 117px; }
  .wrap { width: min(100% - 28px, 720px); }
  .searchHeader { padding: 25px 0 22px; }
  .searchHeader h1 { font-size: 30px; }
  .searchIntro { font-size: 13px; }
  .filterGroups, .recoveryGrid { grid-template-columns: 1fr; }
  .recoveryCard { min-height: 190px; }
  .exactProduct { padding: 21px; }
  .specGrid { grid-template-columns: 1fr; }
  .specItem, .specItem:nth-child(2n), .specItem:nth-last-child(2):nth-child(odd), .specItem:last-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .specItem:last-child { grid-column: auto; border-bottom: 0; }
  .exactActions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exactActions .action { width: 100%; white-space: normal; text-align: center; }
  .sectionHeading { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (max-width: 520px) {
  .searchForm { grid-template-columns: 1fr; }
  .searchForm button { min-height: 46px; }
  .resultsSection { padding: 18px 0 28px; }
  .exactTop { gap: 23px; }
  .exactPart { font-size: 27px; }
  .exactActions { grid-template-columns: 1fr; }
  .resultPanelHead { align-items: flex-start; flex-direction: column; }
  .productTable td { grid-template-columns: 88px minmax(0, 1fr); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partialMeta { grid-template-columns: 1fr; }
  .relatedGrid { grid-template-columns: 1fr; }
  .emptyLead { padding: 22px; }
}
