/*
Theme Name: Beihang Precision
Theme URI: https://beihangtechnology.com/
Author: Beihang Technology
Description: RFQ-first industrial WordPress theme reproducing the legacy Beihang public interface while preserving Gutenberg and WooCommerce data.
Version: 1.0.8
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: beihang-precision
*/

:root {
  color-scheme: light;
  --ui-ink: #090a0c;
  --ui-graphite: #17191d;
  --ui-paper: #f4f3ef;
  --ui-white: #ffffff;
  --ui-aluminum: #c9c8c3;
  --ui-muted: #6b6d72;
  --ui-safety: #f05a1a;
  --ui-focus: #1d4ed8;
  --ui-border: rgba(9, 10, 12, 0.16);
  --ui-border-soft: rgba(9, 10, 12, 0.1);
  --ui-border-inverse: rgba(255, 255, 255, 0.12);
  --ui-grid: rgba(9, 10, 12, 0.055);
  --ui-container: 1280px;
  --ui-content: 1216px;
  --motion-fast: 160ms;
  --motion-ui: 280ms;
  --motion-section: 640ms;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ui-paper);
  color: var(--ui-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(240, 90, 26, 0.22);
  color: var(--ui-ink);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.beihang-skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ui-safety);
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform var(--motion-fast) ease;
}

.beihang-skip-link:focus {
  transform: translateY(0);
}

.beihang-container:not(.beihang-core .beihang-container),
.beihang-header-container {
  width: min(100%, var(--ui-container));
  margin-inline: auto;
  padding-inline: 20px;
}

.beihang-header-container {
  width: 100%;
  max-width: none;
  padding-inline: 16px;
}

.beihang-main {
  min-height: 50vh;
}

.beihang-technical-grid,
.ui-technical-grid {
  background-image:
    linear-gradient(var(--ui-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ui-grid) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 72px 72px;
}

.beihang-technical-label,
.beihang-kicker:not(.beihang-core .beihang-kicker) {
  margin: 0;
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.beihang-technical-label--muted {
  color: var(--ui-muted);
}

.beihang-button:not(.beihang-core .beihang-button),
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid var(--ui-ink);
  border-radius: 0;
  background: var(--ui-ink);
  color: var(--ui-white);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition:
    border-color var(--motion-fast) var(--ease-expo),
    background-color var(--motion-fast) var(--ease-expo),
    color var(--motion-fast) var(--ease-expo),
    transform var(--motion-fast) var(--ease-expo);
}

.beihang-button:not(.beihang-core .beihang-button):hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  border-color: var(--ui-safety);
  background: var(--ui-safety);
  color: var(--ui-white);
}

.beihang-button--secondary:not(.beihang-core .beihang-button--secondary),
.is-style-outline > .wp-block-button__link {
  border-color: var(--ui-border);
  background: var(--ui-white);
  color: var(--ui-ink);
}

.beihang-button--inverse:not(.beihang-core .beihang-button--inverse) {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--ui-white);
}

.beihang-button--wide:not(.beihang-core .beihang-button--wide) {
  width: 100%;
}

.beihang-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Shared command header */
.beihang-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ui-ink);
  color: var(--ui-white);
  transition: box-shadow var(--motion-ui) var(--ease-expo);
}

.admin-bar .beihang-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .beihang-site-header {
    top: 46px;
  }
}

.beihang-site-header.is-scrolled {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.beihang-header-command {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 1rem;
}

.beihang-brand {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
}

.beihang-brand__logo,
.beihang-brand__logo .custom-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.beihang-brand__logo img,
.beihang-logo-mark {
  width: 40px;
  height: 40px;
}

.beihang-brand__logo img,
.beihang-logo-mark img,
.beihang-logo-mark--footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateY(-2%) scale(1.04);
}

.beihang-logo-mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.65rem;
  background: #000;
}

.beihang-brand__copy {
  display: block;
  min-width: 0;
}

.beihang-brand__name {
  display: block;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.beihang-brand__tagline {
  display: none;
  margin-top: 0.2rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.beihang-desktop-nav {
  display: none;
  margin-left: auto;
  align-items: center;
}

.beihang-nav-link,
.beihang-nav-popover__trigger {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 0 0.75rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--motion-fast) ease;
}

.beihang-nav-link:hover,
.beihang-nav-popover__trigger:hover,
.beihang-nav-popover:focus-within > .beihang-nav-popover__trigger {
  color: var(--ui-white);
}

.beihang-nav-popover {
  position: relative;
}

.beihang-mega-menu,
.beihang-resource-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  visibility: hidden;
  border: 1px solid rgba(9, 10, 12, 0.15);
  background: var(--ui-paper);
  color: var(--ui-ink);
  opacity: 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, 8px);
  transition:
    opacity var(--motion-ui) var(--ease-expo),
    transform var(--motion-ui) var(--ease-expo),
    visibility var(--motion-ui) var(--ease-expo);
}

.beihang-nav-popover:hover > .beihang-mega-menu,
.beihang-nav-popover:hover > .beihang-resource-menu,
.beihang-nav-popover:focus-within > .beihang-mega-menu,
.beihang-nav-popover:focus-within > .beihang-resource-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 1px);
}

.beihang-mega-menu {
  width: min(900px, calc(100vw - 48px));
  padding: 1.5rem;
}

.beihang-mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.beihang-mega-menu__group > p {
  margin: 0 0 1rem;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beihang-mega-menu__group > p span {
  color: var(--ui-safety);
}

.beihang-mega-menu__group > a {
  display: block;
  border-top: 1px solid var(--ui-border-soft);
  padding: 0.62rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.beihang-mega-menu__group > a:hover {
  border-color: var(--ui-safety);
  color: var(--ui-safety);
}

.beihang-mega-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--ui-border);
  padding-top: 1.25rem;
}

.beihang-mega-menu__footer p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 0.875rem;
}

.beihang-mega-menu__footer a {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 700;
}

.beihang-resource-menu {
  width: 288px;
  padding: 0.5rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.beihang-resource-menu a {
  display: block;
  border-bottom: 1px solid var(--ui-border-soft);
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.beihang-resource-menu a:last-child {
  border-bottom: 0;
}

.beihang-resource-menu a:hover {
  color: var(--ui-safety);
}

.beihang-header-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.75rem;
}

.beihang-rfq-mode {
  display: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.beihang-rfq-mode strong {
  display: block;
  color: var(--ui-safety);
  font-weight: 600;
}

.beihang-icon-button,
.beihang-menu-button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--ui-white);
}

.beihang-icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.beihang-menu-button {
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.beihang-menu-button span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.beihang-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.beihang-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.beihang-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.beihang-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.beihang-cart-link [data-beihang-quote-count] {
  display: inline-flex;
  min-width: 1.3rem;
  height: 1.3rem;
  align-items: center;
  justify-content: center;
  background: var(--ui-safety);
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.beihang-header-actions > .beihang-button {
  min-height: 44px;
  padding-inline: 1.25rem;
}

.beihang-header-search,
.beihang-mobile-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 0.75rem;
}

.beihang-site-header .beihang-search-form {
  display: flex;
  min-height: 48px;
  min-width: 0;
  align-items: center;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding-left: 1rem;
}

.beihang-site-header .beihang-search-form--inverse {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ui-white);
}

.beihang-site-header .beihang-search-form svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-right: 0.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.beihang-site-header .beihang-search-form input {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  outline: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.beihang-site-header .beihang-search-form--inverse input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.beihang-site-header .beihang-search-form button {
  min-height: 44px;
  border: 0;
  border-left: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding-inline: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beihang-mobile-panel {
  padding-bottom: 1.25rem;
}

.beihang-mobile-nav {
  display: grid;
  margin-top: 1.25rem;
}

.beihang-mobile-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  padding-block: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.beihang-mobile-nav small {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.beihang-mobile-whatsapp {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding-inline: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.beihang-cpu-command-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ui-graphite);
}

.beihang-cpu-command-bar .beihang-header-container {
  display: grid;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.5rem;
}

.beihang-cpu-command-bar span,
.beihang-cpu-command-bar a {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beihang-cpu-command-bar p {
  display: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

/* Gutenberg content */
.beihang-page-content {
  overflow: clip;
}

.beihang-page-content > :where(*:not(.alignwide):not(.alignfull)),
.beihang-entry-content > :where(*:not(.alignwide):not(.alignfull)) {
  width: min(calc(100% - 40px), var(--ui-content));
  margin-inline: auto;
}

.beihang-entry-content > :where(p, ul, ol, blockquote) {
  max-width: 780px;
  margin-left: 0;
  margin-right: auto;
}

.alignwide {
  width: min(calc(100% - 40px), var(--ui-container));
  max-width: var(--ui-container);
  margin-inline: auto;
}

.alignfull {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-media-text {
  border-radius: 0;
}

.wp-block-columns {
  gap: 1.5rem;
}

.wp-block-column > :last-child,
.wp-block-group > :last-child {
  margin-bottom: 0;
}

.wp-block-cover {
  min-height: 460px;
}

.wp-block-cover__image-background {
  filter: grayscale(0.08) contrast(1.02);
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--ui-border);
}

.wp-block-quote {
  border-left: 2px solid var(--ui-safety);
  background: var(--ui-white);
  padding: 1.25rem 1.5rem;
}

.wp-block-table table {
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid var(--ui-border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.wp-block-table th {
  background: var(--ui-ink);
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-page-main .beihang-page-intro:not(.beihang-core .beihang-page-intro),
.beihang-cisco-intro,
.beihang-archive-hero,
.beihang-search-hero,
.beihang-article-header {
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-paper);
  padding-block: 3rem;
}

.beihang-page-main .beihang-page-intro:not(.beihang-core .beihang-page-intro) h1,
.beihang-cisco-intro h1,
.beihang-archive-hero h1,
.beihang-search-hero h1,
.beihang-article-header h1 {
  max-width: 1020px;
  margin: 1rem 0 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.beihang-archive-hero p:not(.beihang-technical-label),
.beihang-search-hero > .beihang-container > p:not(.beihang-technical-label) {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: var(--ui-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.beihang-post-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 4rem;
}

.beihang-post-card {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.5rem;
}

.beihang-post-card h2,
.beihang-post-card h3 {
  margin: 1rem 0 0;
  font-size: 1.4rem;
}

.beihang-post-card__excerpt,
.beihang-post-card > p {
  margin-top: 1rem;
  color: var(--ui-muted);
  font-size: 0.9rem;
}

.beihang-text-link {
  display: inline-flex;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.beihang-article-narrow {
  max-width: 900px;
}

.beihang-article .beihang-entry-content {
  padding-block: 4rem;
}

.beihang-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding-bottom: 4rem;
}

.beihang-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.beihang-pagination .current,
.beihang-pagination a:hover {
  border-color: var(--ui-ink);
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-empty-state {
  border-left: 2px solid var(--ui-safety);
  background: var(--ui-white);
  padding: 1.5rem;
}

.beihang-empty-state h2,
.beihang-empty-state h3 {
  margin: 0;
  font-size: 1.5rem;
}

.beihang-empty-state p {
  max-width: 700px;
  margin: 0.8rem 0 1.25rem;
  color: var(--ui-muted);
}

/* Catalog shell */
.beihang-catalog-hero,
.beihang-product-hero {
  border-bottom: 1px solid var(--ui-border);
  background-color: var(--ui-paper);
  padding-block: 3rem;
}

.beihang-catalog-hero__copy {
  max-width: 920px;
}

.beihang-catalog-hero h1 {
  max-width: 1050px;
  margin: 1rem 0 0;
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.beihang-catalog-hero__copy > p:not(.beihang-technical-label) {
  max-width: 790px;
  margin: 1.5rem 0 0;
  color: rgba(9, 10, 12, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.beihang-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.beihang-inline-meta li {
  border: 1px solid var(--ui-border);
  border-right: 0;
  background: var(--ui-white);
  padding: 0.55rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-inline-meta li:last-child {
  border-right: 1px solid var(--ui-border);
}

.beihang-catalog-search {
  display: grid;
  margin-top: 2rem;
  border: 1px solid rgba(9, 10, 12, 0.2);
  background: var(--ui-white);
}

.beihang-catalog-search input {
  min-width: 0;
  min-height: 64px;
  border: 0;
  background: transparent;
  padding: 0 1.25rem;
  outline: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.beihang-catalog-search:focus-within {
  box-shadow: inset 0 0 0 2px var(--ui-focus);
}

.beihang-catalog-search button {
  min-height: 56px;
  border: 0;
  border-top: 1px solid rgba(9, 10, 12, 0.2);
  background: var(--ui-ink);
  color: var(--ui-white);
  padding-inline: 1.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color var(--motion-fast) ease;
}

.beihang-catalog-search button:hover {
  background: var(--ui-safety);
}

.beihang-subcategory-rail {
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-white);
  box-shadow: 0 10px 28px rgba(9, 10, 12, 0.08);
}

.beihang-subcategory-rail .beihang-container {
  display: flex;
  overflow-x: auto;
  padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(240, 90, 26, 0.72) transparent;
  scrollbar-width: thin;
}

.beihang-subcategory-rail a {
  display: grid;
  min-width: 230px;
  min-height: 56px;
  flex: 0 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  border-right: 1px solid var(--ui-border-soft);
  padding: 0.8rem 1.25rem;
  scroll-snap-align: start;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.beihang-subcategory-rail a:hover {
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-subcategory-rail small {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}

.beihang-subcategory-rail span {
  font-size: 0.82rem;
  font-weight: 700;
}

.beihang-subcategory-rail b {
  font-weight: 400;
}

.beihang-catalog-body {
  background-color: var(--ui-aluminum);
  padding-block: 4rem;
}

.beihang-section-heading {
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 1.5rem;
}

.beihang-section-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.beihang-section-heading > p:not(.beihang-technical-label) {
  max-width: 760px;
  margin: 0;
  color: var(--ui-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.beihang-category-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.beihang-category-card {
  display: grid;
  min-width: 0;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  transition: border-color var(--motion-fast) ease;
}

.beihang-category-card:hover {
  border-color: var(--ui-safety);
}

.beihang-category-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-aluminum);
}

.beihang-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-section) var(--ease-expo);
}

.beihang-category-card:hover .beihang-category-card__media img {
  transform: scale(1.025);
}

.beihang-category-card__badge,
.beihang-product-card__status {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ui-ink);
  color: var(--ui-white);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beihang-category-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.beihang-category-card h3 {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.beihang-category-card h3 a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.beihang-category-card__body > p:not(.beihang-technical-label) {
  margin: 1rem 0 0;
  color: var(--ui-muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.beihang-category-card__meta {
  margin-top: 1.5rem;
  border-top: 1px solid var(--ui-border);
  padding-top: 1rem;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
}

.beihang-supply-note {
  margin-top: 2rem;
  border-left: 2px solid var(--ui-safety);
  background: var(--ui-white);
  padding: 1rem 1.25rem;
  color: var(--ui-muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.beihang-inquiry-scope {
  display: grid;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
}

.beihang-inquiry-scope__intro {
  background: var(--ui-ink);
  color: var(--ui-white);
  padding: 1.5rem;
}

.beihang-inquiry-scope__intro h2 {
  max-width: 520px;
  margin: 2rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.beihang-inquiry-scope__intro > p:not(.beihang-technical-label) {
  max-width: 520px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.75;
}

.beihang-inquiry-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beihang-inquiry-steps li {
  min-height: 160px;
  border-bottom: 1px solid var(--ui-border-soft);
  padding: 1.5rem;
}

.beihang-inquiry-steps li:last-child {
  border-bottom: 0;
}

.beihang-inquiry-steps small {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.beihang-inquiry-steps h3 {
  margin: 2rem 0 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.beihang-inquiry-steps p {
  margin: 0.7rem 0 0;
  color: var(--ui-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.beihang-product-directory {
  margin-top: 3rem;
}

.woocommerce ul.products,
ul.products.beihang-product-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.beihang-product-card:not(.beihang-core .beihang-product-card) {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  transition: border-color var(--motion-fast) ease;
}

.beihang-product-card:not(.beihang-core .beihang-product-card):hover {
  border-color: var(--ui-safety);
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-aluminum);
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__media img {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
  transition: transform var(--motion-section) var(--ease-expo);
}

.beihang-product-card:not(.beihang-core .beihang-product-card):hover .beihang-product-card__media img {
  transform: scale(1.025);
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 1rem;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) h3 {
  margin: 1.25rem 0 0 !important;
  padding: 0 !important;
  color: var(--ui-ink);
  font-size: 1.2rem !important;
  font-weight: 650;
  line-height: 1.45;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) h3 a:hover {
  color: var(--ui-safety);
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__identifiers {
  margin: 1.25rem 0 0;
  border-block: 1px solid var(--ui-border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__identifiers > div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.75rem;
  border-bottom: 1px solid var(--ui-border-soft);
  padding-block: 0.65rem;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__identifiers > div:last-child {
  border-bottom: 0;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__identifiers dt {
  color: var(--ui-muted);
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__identifiers dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beihang-manual-quote {
  margin-top: 1.25rem;
  border-left: 2px solid var(--ui-safety);
  padding-left: 1rem;
}

.beihang-manual-quote strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.1rem;
}

.beihang-manual-quote > p:not(.beihang-technical-label) {
  margin: 0.55rem 0 0;
  color: var(--ui-muted);
  font-size: 0.75rem;
  line-height: 1.65;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__actions .beihang-button {
  width: 100%;
  min-height: 44px;
  padding-inline: 0.75rem;
}

/* Remove retail-only WooCommerce surfaces from every theme route. */
.woocommerce .price,
.woocommerce .star-rating,
.woocommerce .woocommerce-product-rating,
.woocommerce .add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce div.product form.cart,
.woocommerce .woocommerce-tabs,
.woocommerce .woocommerce-review-link,
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  display: none !important;
}

/* Product detail */
.beihang-product-breadcrumb {
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-white);
}

.beihang-product-breadcrumb .beihang-container {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  white-space: nowrap;
}

.beihang-product-breadcrumb a:hover {
  color: var(--ui-safety);
}

.beihang-product-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.beihang-product-gallery__primary {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--ui-border);
  background: var(--ui-aluminum);
}

.beihang-product-gallery__primary > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beihang-product-gallery__primary > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(9, 10, 12, 0.78);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beihang-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.beihang-product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--ui-border);
  object-fit: cover;
}

.beihang-product-summary h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.beihang-product-summary__identifier {
  margin: 1.25rem 0 0;
  border-block: 1px solid var(--ui-border);
  padding-block: 0.75rem;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
}

.beihang-product-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.beihang-product-summary__badges span {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-product-summary__excerpt {
  margin-top: 1.25rem;
  color: var(--ui-muted);
  font-size: 0.9rem;
}

.beihang-product-summary__excerpt > :last-child {
  margin-bottom: 0;
}

.beihang-manual-quote--large {
  margin-top: 1.5rem;
  background: var(--ui-white);
  padding: 1.25rem 1.5rem;
}

.beihang-manual-quote--large strong {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.beihang-product-summary__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.beihang-product-spec-list {
  margin: 1.5rem 0 0;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.25rem;
  font-size: 0.85rem;
}

.beihang-product-spec-list > div,
.beihang-product-attributes dl > div {
  display: grid;
  gap: 0.25rem;
  border-bottom: 1px solid var(--ui-border-soft);
  padding-block: 0.75rem;
}

.beihang-product-spec-list > div:first-child {
  padding-top: 0;
}

.beihang-product-spec-list > div:last-child,
.beihang-product-attributes dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.beihang-product-spec-list dt,
.beihang-product-attributes dt {
  color: var(--ui-muted);
  font-weight: 600;
}

.beihang-product-spec-list dd,
.beihang-product-attributes dd {
  margin: 0;
}

.beihang-product-information,
.beihang-related-products {
  border-top: 1px solid var(--ui-border);
  background: var(--ui-aluminum);
  padding-block: 4rem;
}

.beihang-product-information__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.beihang-product-description,
.beihang-product-attributes {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.5rem;
}

.beihang-product-description h3,
.beihang-product-attributes h3 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
}

.beihang-product-description > :where(*:not(.alignwide):not(.alignfull)) {
  width: 100%;
}

.beihang-product-attributes dl {
  margin: 0;
}

.beihang-related-products {
  border-top: 1px solid var(--ui-border);
  background: var(--ui-paper);
}

.beihang-product-mobile-actions {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--ui-ink);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  color: var(--ui-white);
  box-shadow: 0 -14px 40px rgba(9, 10, 12, 0.18);
}

.beihang-product-mobile-actions a,
.beihang-product-mobile-actions button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--ui-white);
  padding: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

/*
 * Legacy RFQ surface rules are kept inert for visual-reference history only.
 * The Beihang Core plugin's frontend.css is the sole presentation authority
 * for RFQ, upload, quote-cart and plugin-search surfaces.
 */
@media not all {
/* Core RFQ plugin surfaces */
.beihang-core .beihang-page-intro {
  padding-block: 2.5rem;
}

.beihang-page-intro__grid {
  display: grid;
  gap: 2rem;
}

.beihang-core .beihang-page-intro h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
}

.beihang-page-intro__copy {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: rgba(9, 10, 12, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.beihang-page-intro__meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.beihang-page-intro__meta span {
  border: 1px solid var(--ui-border);
  border-right: 0;
  background: var(--ui-white);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.beihang-page-intro__meta span:last-child {
  border-right: 1px solid var(--ui-border);
}

.beihang-page-intro__meta b {
  margin-right: 0.4rem;
  color: var(--ui-safety);
}

.beihang-page-intro__visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--ui-border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--ui-ink);
  background-size: 48px 48px;
  color: var(--ui-white);
  padding: 1.25rem;
}

.beihang-page-intro__visual > span,
.beihang-page-intro__visual > small {
  position: absolute;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beihang-page-intro__visual > span {
  top: 1rem;
  left: 1rem;
}

.beihang-page-intro__visual > small {
  right: 1rem;
  bottom: 1rem;
}

.beihang-page-intro__plate {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
  transform: translate(-50%, -50%);
}

.beihang-page-intro__plate strong {
  color: var(--ui-safety);
  font-size: 1rem;
}

.beihang-aluminum-section {
  background-color: var(--ui-aluminum);
  background-image:
    linear-gradient(var(--ui-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ui-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  padding-block: 4rem;
}

.beihang-rfq-layout,
.beihang-cart-layout {
  display: grid;
  gap: 1.5rem;
}

.beihang-panel,
.beihang-rfq-card {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.5rem;
}

.beihang-panel h2,
.beihang-panel h3,
.beihang-rfq-card h2,
.beihang-rfq-card h3 {
  margin: 1rem 0 0;
  font-size: 1.65rem;
}

.beihang-panel > p:not(.beihang-kicker),
.beihang-rfq-card > p:not(.beihang-kicker) {
  color: var(--ui-muted);
}

.beihang-number-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.beihang-number-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  border-top: 1px solid var(--ui-border-soft);
  padding-block: 0.85rem;
  font-size: 0.85rem;
}

.beihang-number-list li::before {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  content: counter(list-item, decimal-leading-zero);
}

.beihang-note {
  margin-top: 1.5rem;
  border-left: 2px solid var(--ui-safety);
  background: var(--ui-paper);
  padding: 0.9rem 1rem;
  color: var(--ui-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.beihang-assurance-grid {
  display: grid;
  gap: 1px;
  margin-top: 1.5rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-border);
}

.beihang-assurance-grid > * {
  background: var(--ui-white);
  padding: 0.9rem;
  font-size: 0.78rem;
}

.beihang-rfq-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 0;
  list-style: none;
}

.beihang-rfq-progress li {
  min-width: 0;
  border-right: 1px solid var(--ui-border-soft);
  border-bottom: 1px solid var(--ui-border);
  padding: 0.85rem;
  color: var(--ui-muted);
}

.beihang-rfq-progress li:last-child {
  border-right: 0;
}

.beihang-rfq-progress li[aria-current="step"] {
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-rfq-progress span {
  display: block;
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.beihang-rfq-progress strong {
  display: block;
  margin-top: 0.35rem;
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beihang-family-grid {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.beihang-family-grid button,
.beihang-mode-list label {
  min-height: 52px;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 650;
}

.beihang-family-grid button[aria-pressed="true"] {
  border-color: var(--ui-ink);
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-mode-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  border: 0;
  padding: 0;
}

.beihang-mode-list legend {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.beihang-mode-list label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.beihang-field-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.beihang-field {
  display: grid;
  gap: 0.45rem;
  color: var(--ui-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.beihang-field input,
.beihang-field select,
.beihang-field textarea,
.beihang-search-form input,
.beihang-upload-picker {
  width: 100%;
}

.beihang-field input,
.beihang-field select,
.beihang-field textarea {
  min-height: 48px;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 0.7rem 0.8rem;
  outline: 0;
  font-size: 0.875rem;
  font-weight: 400;
}

.beihang-field textarea {
  min-height: 120px;
  resize: vertical;
}

.beihang-field input:focus,
.beihang-field select:focus,
.beihang-field textarea:focus {
  border-color: var(--ui-focus);
  box-shadow: 0 0 0 1px var(--ui-focus);
}

.beihang-rfq-actions,
.beihang-stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.beihang-feedback {
  margin: 1rem 0 0;
  border-left: 2px solid currentColor;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
}

.beihang-feedback--error {
  background: #fff2ef;
  color: #9f2615;
}

.beihang-feedback--success {
  background: #eefaf2;
  color: #166534;
}

.beihang-upload-picker {
  margin-top: 1.25rem;
  border: 1px dashed rgba(9, 10, 12, 0.35);
  background: var(--ui-paper);
  padding: 1.25rem;
}

.beihang-upload-picker input {
  margin-top: 0.75rem;
}

.beihang-file-list {
  margin-top: 0.8rem;
  color: var(--ui-muted);
  font-size: 0.75rem;
}

.beihang-file-row,
.beihang-cart-line {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1rem;
}

.beihang-process {
  margin-bottom: 1.5rem;
}

.beihang-process__steps {
  display: grid;
  gap: 1px;
  margin-top: 1.25rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-border);
}

.beihang-process__steps span {
  background: var(--ui-paper);
  padding: 0.9rem;
  font-size: 0.75rem;
}

.beihang-process__steps b {
  margin-right: 0.5rem;
  color: var(--ui-safety);
  font-family: var(--font-mono);
}

.beihang-cart-lines {
  display: grid;
  gap: 0.75rem;
}

.beihang-cart-line__title {
  margin: 0;
  font-size: 1rem;
}

.beihang-cart-line__remove,
.beihang-cart-clear {
  border: 0;
  background: transparent;
  color: var(--ui-muted);
  padding: 0;
  font-size: 0.72rem;
  text-decoration: underline;
}

.beihang-cart-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.beihang-cart-quantity input {
  width: 70px;
  min-height: 38px;
  border: 1px solid var(--ui-border);
  padding-inline: 0.5rem;
}

.beihang-cart-summary {
  align-self: start;
}

.beihang-cart-count,
.beihang-search-count {
  margin: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.beihang-search-results {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.beihang-search-results .beihang-product-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
}

.beihang-search-results .beihang-product-card img {
  width: 120px;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.beihang-search-results .beihang-product-card > div {
  padding: 1rem;
}

.beihang-search-results .beihang-product-card h3 {
  margin: 0.6rem 0 0;
}

.beihang-search-results .beihang-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
}

/* Search and 404 */
.beihang-search-hero .beihang-catalog-search {
  max-width: 900px;
}

.beihang-search-page:not(.beihang-core) > .beihang-search-results {
  background: var(--ui-aluminum);
  padding-block: 4rem;
}

.beihang-search-page:not(.beihang-core) > .beihang-search-results > .beihang-container > .beihang-empty-state {
  margin-top: 2rem;
}

.beihang-not-found {
  background-image:
    linear-gradient(var(--ui-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ui-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  padding-block: 5rem;
}

.beihang-not-found > .beihang-container {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.beihang-not-found__code {
  margin: 0;
  color: rgba(9, 10, 12, 0.16);
  font-family: var(--font-mono);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 0.8;
}

.beihang-not-found h1 {
  max-width: 720px;
  margin: 1rem 0 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.beihang-not-found > .beihang-container > div > p:not(.beihang-technical-label) {
  max-width: 650px;
  margin: 1.25rem 0;
  color: var(--ui-muted);
}

/* Used Server CPU long-page shell hook */
.beihang-template-used-server-cpu .beihang-page-content {
  --cpu-green: #128c4e;
}

.beihang-template-used-server-cpu .beihang-page-content > .wp-block-group:first-child {
  border-bottom: 1px solid var(--ui-border);
  background-color: var(--ui-paper);
  background-image:
    linear-gradient(var(--ui-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ui-grid) 1px, transparent 1px);
  background-size: 72px 72px;
}

.beihang-template-used-server-cpu .wp-block-heading {
  letter-spacing: -0.04em;
}

.beihang-label-safety {
  color: var(--ui-safety);
}

.beihang-button-safety {
  border-color: var(--ui-safety);
  background: var(--ui-safety);
  color: var(--ui-white);
}

.beihang-button-safety:hover {
  border-color: var(--ui-ink);
  background: var(--ui-ink);
}

.beihang-button-whatsapp {
  border-color: #128c4e;
  background: #128c4e;
  color: var(--ui-white);
}

.beihang-button-whatsapp:hover {
  border-color: #0d6f3d;
  background: #0d6f3d;
}

.beihang-button-outline {
  border-color: rgba(9, 10, 12, 0.2);
  background: var(--ui-white);
  color: var(--ui-ink);
}

.beihang-used-cpu-hero {
  border-bottom: 1px solid var(--ui-border);
  background-color: var(--ui-paper);
  padding-block: 2.5rem;
}

.beihang-used-cpu-hero-grid {
  display: grid;
  gap: 1.5rem;
}

.beihang-used-cpu-hero-copy h1 {
  max-width: 900px;
  margin: 1.25rem 0 0;
  font-size: clamp(2.65rem, 5.6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.beihang-used-cpu-hero-copy h1 span {
  display: block;
  color: rgba(9, 10, 12, 0.48);
}

.beihang-used-cpu-lede {
  max-width: 690px;
  margin: 1.5rem 0 0;
  color: rgba(9, 10, 12, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.beihang-used-cpu-rfq-panel {
  align-self: start;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.5rem;
  box-shadow: 0 18px 54px rgba(9, 10, 12, 0.08);
}

.beihang-used-cpu-fast-rfq__head {
  margin: -1.5rem -1.5rem 0;
  background: var(--ui-ink);
  color: var(--ui-white);
  padding: 1.5rem;
}

.beihang-used-cpu-fast-rfq__head h2 {
  margin: 1rem 0 0;
  color: var(--ui-white);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}

.beihang-used-cpu-fast-rfq__head > p:not(.beihang-technical-label) {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.beihang-used-cpu-fast-rfq__fields {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.beihang-used-cpu-fast-rfq__field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.beihang-used-cpu-fast-rfq__field > span {
  color: var(--ui-ink);
  font-size: 0.7rem;
  font-weight: 750;
}

.beihang-used-cpu-fast-rfq__field input,
.beihang-used-cpu-fast-rfq__field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 0.65rem 0.75rem;
  outline: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.beihang-used-cpu-fast-rfq__field textarea {
  min-height: 92px;
  resize: vertical;
}

.beihang-used-cpu-fast-rfq__field input:focus,
.beihang-used-cpu-fast-rfq__field textarea:focus {
  border-color: var(--ui-focus);
  box-shadow: 0 0 0 1px var(--ui-focus);
}

.beihang-used-cpu-fast-rfq__two-up,
.beihang-used-cpu-fast-rfq__optional-fields {
  display: grid;
  gap: 0.85rem;
}

.beihang-used-cpu-fast-rfq__file {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  border: 1px dashed rgba(9, 10, 12, 0.35);
  background: var(--ui-paper);
  padding: 0.85rem;
  cursor: pointer;
}

.beihang-used-cpu-fast-rfq__file-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 1.2rem;
}

.beihang-used-cpu-fast-rfq__file strong,
.beihang-used-cpu-fast-rfq__file small {
  display: block;
}

.beihang-used-cpu-fast-rfq__file strong {
  font-size: 0.75rem;
}

.beihang-used-cpu-fast-rfq__file small {
  margin-top: 0.2rem;
  color: var(--ui-muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

.beihang-used-cpu-fast-rfq__file input {
  grid-column: 1 / -1;
  width: 100%;
  color: var(--ui-muted);
  font-size: 0.68rem;
}

.beihang-used-cpu-fast-rfq__file-list {
  color: var(--ui-muted);
  font-size: 0.62rem;
  line-height: 1.5;
}

.beihang-used-cpu-fast-rfq__contact-note {
  margin: -0.35rem 0 0;
  color: var(--ui-muted);
  font-size: 0.64rem;
}

.beihang-used-cpu-fast-rfq__optional {
  border: 1px solid var(--ui-border);
  background: var(--ui-paper);
}

.beihang-used-cpu-fast-rfq__optional summary {
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  list-style: none;
}

.beihang-used-cpu-fast-rfq__optional summary::after {
  float: right;
  color: var(--ui-safety);
  content: "+";
}

.beihang-used-cpu-fast-rfq__optional[open] summary::after {
  content: "−";
}

.beihang-used-cpu-fast-rfq__optional-fields {
  border-top: 1px solid var(--ui-border-soft);
  padding: 0.85rem;
}

.beihang-used-cpu-fast-rfq__submit {
  width: 100%;
  min-height: 50px;
}

.beihang-used-cpu-fast-rfq__assurance {
  margin: 0;
  color: var(--ui-muted);
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: center;
}

.beihang-used-cpu-rfq-panel__alternatives {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid var(--ui-border);
}

.beihang-used-cpu-rfq-panel__alternatives a {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ui-border-soft);
  color: var(--ui-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.beihang-used-cpu-rfq-panel__alternatives a:last-child {
  border-bottom: 0;
}

.beihang-used-cpu-rfq-panel__alternatives a:hover {
  color: var(--ui-safety);
}

.beihang-used-cpu-rfq-panel h2 {
  margin: 1.25rem 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  letter-spacing: -0.04em;
}

.beihang-used-cpu-rfq-panel > p:not(.beihang-technical-label) {
  margin: 1rem 0 0;
  color: var(--ui-muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.beihang-used-cpu-rfq-points {
  margin: 1.5rem 0 0;
  border-block: 1px solid var(--ui-border);
  padding: 0;
  list-style: none;
}

.beihang-used-cpu-rfq-points li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  border-bottom: 1px solid var(--ui-border-soft);
  padding-block: 0.75rem;
  font-size: 0.8rem;
  font-weight: 650;
}

.beihang-used-cpu-rfq-points li:last-child {
  border-bottom: 0;
}

.beihang-used-cpu-rfq-points span {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.beihang-used-cpu-panel-cta {
  width: 100%;
  margin-top: 1.5rem;
}

.beihang-used-cpu-upload-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  border-top: 1px solid var(--ui-border-soft);
  padding-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.beihang-used-cpu-upload-link:hover {
  color: var(--ui-safety);
}

.beihang-used-cpu-hero-actions {
  display: grid;
  gap: 0.75rem;
}

.beihang-used-cpu-hero-photo,
.beihang-used-cpu-inspection-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ui-border);
  background: #000;
}

.beihang-used-cpu-hero-photo {
  aspect-ratio: 4 / 3;
}

.beihang-used-cpu-hero-photo img,
.beihang-used-cpu-inspection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.beihang-used-cpu-hero-photo img {
  object-position: 50% 46%;
}

.beihang-used-cpu-hero-photo figcaption,
.beihang-used-cpu-inspection-photo figcaption {
  position: absolute;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.78);
  color: rgba(255, 255, 255, 0.78);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.beihang-used-cpu-hero-photo figcaption {
  bottom: 0;
}

.beihang-used-cpu-inspection-photo figcaption {
  top: 0;
}

.beihang-used-cpu-hero-photo figcaption strong,
.beihang-used-cpu-inspection-photo figcaption strong {
  color: var(--ui-safety);
}

.beihang-used-cpu-trust-strip {
  display: grid;
  border: 1px solid var(--ui-border);
  border-top: 0;
  background: var(--ui-white);
}

.beihang-used-cpu-trust-strip > div {
  display: grid;
  min-height: 48px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--ui-border-soft);
  padding: 0.75rem 1rem;
}

.beihang-used-cpu-trust-strip > div:last-child {
  border-bottom: 0;
}

.beihang-used-cpu-trust-strip > div > span {
  color: var(--ui-safety);
}

.beihang-used-cpu-trust-strip strong {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beihang-used-cpu-trust-strip small {
  color: rgba(9, 10, 12, 0.35);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.beihang-used-cpu-section {
  border-bottom: 1px solid var(--ui-border);
  padding-block: 4rem;
}

.beihang-used-cpu-models,
.beihang-used-cpu-gallery-section {
  background: var(--ui-white);
}

.beihang-used-cpu-section-heading {
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--ui-border);
  padding-top: 1.5rem;
}

.beihang-used-cpu-section-heading h2 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.beihang-used-cpu-section-heading div > p {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: rgba(9, 10, 12, 0.6);
  font-size: 0.95rem;
  line-height: 1.75;
}

.beihang-used-cpu-model-grid {
  display: grid;
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-border);
}

.beihang-used-cpu-model-group {
  background: var(--ui-paper);
  padding: 1.5rem;
}

.beihang-used-cpu-model-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.beihang-used-cpu-model-group h3 {
  margin: 0;
  font-size: 1.65rem;
}

.beihang-used-cpu-model-group header span {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.beihang-used-cpu-model-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.75rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-border);
}

.beihang-used-cpu-model-list a {
  min-width: 0;
  background: var(--ui-white);
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.beihang-used-cpu-model-list a:hover {
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-used-cpu-note {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1rem 1.25rem;
}

.beihang-used-cpu-note-safety {
  margin-top: 1.5rem;
  border-width: 0 0 0 2px;
  border-color: var(--ui-safety);
  background: var(--ui-paper);
}

.beihang-used-cpu-note p {
  margin: 0;
  color: rgba(9, 10, 12, 0.62);
  font-size: 0.82rem;
  line-height: 1.65;
}

.beihang-used-cpu-note a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.beihang-used-cpu-note a:hover {
  color: var(--ui-safety);
}

.beihang-used-cpu-inspection {
  background-color: var(--ui-paper);
}

.beihang-used-cpu-inspection-grid {
  display: grid;
  gap: 2.5rem;
}

.beihang-used-cpu-inspection-photo {
  min-height: 420px;
}

.beihang-used-cpu-test-card {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.5rem;
}

.beihang-used-cpu-test-card h2 {
  margin: 1.25rem 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

.beihang-used-cpu-test-card > p:not(.beihang-technical-label) {
  margin: 1.25rem 0 0;
  color: rgba(9, 10, 12, 0.6);
  line-height: 1.75;
}

.beihang-used-cpu-test-card ol {
  display: grid;
  gap: 1px;
  margin: 2rem 0 0;
  border: 1px solid var(--ui-border);
  background: var(--ui-border);
  padding: 0;
  list-style: none;
}

.beihang-used-cpu-test-card li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  background: var(--ui-paper);
  padding: 1rem;
}

.beihang-used-cpu-test-card li span {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.beihang-used-cpu-test-card li strong {
  font-size: 0.82rem;
  line-height: 1.55;
}

.beihang-used-cpu-gallery {
  display: grid;
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-border);
}

.beihang-used-cpu-gallery figure {
  margin: 0;
  background: var(--ui-paper);
}

.beihang-used-cpu-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--motion-section) var(--ease-expo);
}

.beihang-used-cpu-gallery figure:hover img {
  transform: scale(1.025);
}

.beihang-used-cpu-gallery figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
}

.beihang-used-cpu-gallery figcaption strong {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.beihang-used-cpu-gallery figcaption span {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.beihang-used-cpu-process {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ui-ink);
  color: var(--ui-white);
  padding-block: 4rem;
}

.beihang-used-cpu-process-grid {
  display: grid;
  gap: 2rem;
}

.beihang-used-cpu-process h2 {
  margin: 1.25rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.beihang-used-cpu-process ol {
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.15);
  padding: 0;
  list-style: none;
}

.beihang-used-cpu-process li {
  min-height: 190px;
  background: var(--ui-ink);
  padding: 1.5rem;
}

.beihang-used-cpu-process li > span {
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 2.5rem;
  line-height: 1;
}

.beihang-used-cpu-process h3 {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-used-cpu-process li p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.6;
}

.beihang-used-cpu-faq {
  background-color: var(--ui-paper);
}

.beihang-used-cpu-faq-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--ui-border);
}

.beihang-used-cpu-faq-list details {
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-white);
}

.beihang-used-cpu-faq-list summary {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  cursor: pointer;
  list-style: none;
}

.beihang-used-cpu-faq-list summary::-webkit-details-marker {
  display: none;
}

.beihang-used-cpu-faq-list summary > span {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.beihang-used-cpu-faq-list summary > strong {
  font-size: 0.95rem;
}

.beihang-used-cpu-faq-list summary > i {
  color: rgba(9, 10, 12, 0.42);
  font-size: 1.25rem;
  font-style: normal;
  transition: transform var(--motion-fast) ease;
}

.beihang-used-cpu-faq-list details[open] summary > i {
  transform: rotate(45deg);
}

.beihang-used-cpu-faq-list details > p {
  max-width: 900px;
  margin: 0;
  padding: 0 1rem 1.5rem 4.25rem;
  color: rgba(9, 10, 12, 0.62);
  font-size: 0.85rem;
  line-height: 1.75;
}

.beihang-used-cpu-final-cta {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding: 1.5rem;
}

.beihang-used-cpu-final-cta h2 {
  margin: 0;
  font-size: 1.8rem;
}

.beihang-used-cpu-final-cta p {
  margin: 0.75rem 0 0;
  color: var(--ui-muted);
}

.beihang-used-cpu-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.beihang-used-cpu-supplement {
  border-top: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding-block: 4rem;
}

.beihang-prose {
  max-width: 860px;
}

.beihang-prose > :first-child {
  margin-top: 0;
}

.beihang-prose > :last-child {
  margin-bottom: 0;
}

/* Cisco Catalyst text-only directory */
.beihang-cisco-intro__lede {
  max-width: 790px;
  margin: 1.5rem 0 0;
  color: rgba(9, 10, 12, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.beihang-cisco-catalog {
  border-bottom: 1px solid var(--ui-border);
  background-color: var(--ui-aluminum);
  padding-block: 4rem;
}

.beihang-cisco-disclaimer {
  border-left: 2px solid var(--ui-safety);
  background: var(--ui-white);
  padding: 1rem 1.25rem;
  color: var(--ui-muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.beihang-cisco-groups {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.beihang-cisco-group {
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
}

.beihang-cisco-group__header {
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid var(--ui-border);
  padding: 1.5rem;
}

.beihang-cisco-group__header h2 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.beihang-cisco-group__header > p {
  max-width: 680px;
  margin: 0;
  color: var(--ui-muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

.beihang-cisco-model-list {
  display: grid;
}

.beihang-cisco-model-row {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid var(--ui-border-soft);
  padding: 1rem;
  transition: background-color var(--motion-fast) ease;
}

.beihang-cisco-model-row:last-child {
  border-bottom: 0;
}

.beihang-cisco-model-row:hover {
  background: var(--ui-paper);
}

.beihang-cisco-model-row__number {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.beihang-cisco-model-row__model h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.beihang-cisco-model-row:hover .beihang-cisco-model-row__model h3 {
  color: var(--ui-safety);
}

.beihang-cisco-model-row__mobile-type {
  margin: 0.35rem 0 0;
  color: var(--ui-muted);
  font-size: 0.75rem;
}

.beihang-cisco-model-row__details {
  display: none;
}

.beihang-cisco-model-row__details p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.beihang-cisco-model-row__details p:last-child {
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.beihang-cisco-model-row__action {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  font-size: 0.66rem;
}

.beihang-cisco-seo {
  border-bottom: 1px solid var(--ui-border);
  background: var(--ui-white);
  padding-block: 4rem;
}

.beihang-cisco-seo__content {
  max-width: 880px;
}

.beihang-cisco-seo__content > :where(*:not(.alignwide):not(.alignfull)) {
  width: 100%;
}

.beihang-cisco-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ui-ink);
  color: var(--ui-white);
  padding-block: 4rem;
}

.beihang-cisco-cta__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.beihang-cisco-cta h2 {
  max-width: 790px;
  margin: 1.25rem 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

.beihang-cisco-cta p:not(.beihang-technical-label) {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Homepage source evidence media containment */
body.home .beihang-home-content :is(
  figure.wp-block-image:has(> a > img[src*="source-evidence-storage-chassis.png"]),
  figure.wp-block-image:has(> a > img[src*="server-cpu-tray.jpg"]),
  figure.wp-block-image:has(> a > img[src*="server-memory-tray.jpg"]),
  figure.wp-block-image:has(> a > img[src*="network-adapter.jpg"]),
  figure.wp-block-image:has(> a > img[src*="server-fan-modules.jpg"])
) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: 0;
  overflow: hidden;
  aspect-ratio: auto !important;
}

body.home .beihang-home-content :is(
  figure.wp-block-image:has(> a > img[src*="source-evidence-storage-chassis.png"]),
  figure.wp-block-image:has(> a > img[src*="server-cpu-tray.jpg"]),
  figure.wp-block-image:has(> a > img[src*="server-memory-tray.jpg"]),
  figure.wp-block-image:has(> a > img[src*="network-adapter.jpg"]),
  figure.wp-block-image:has(> a > img[src*="server-fan-modules.jpg"])
) > a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.home .beihang-home-content :is(
  figure.wp-block-image:has(> a > img[src*="source-evidence-storage-chassis.png"]),
  figure.wp-block-image:has(> a > img[src*="server-cpu-tray.jpg"]),
  figure.wp-block-image:has(> a > img[src*="server-memory-tray.jpg"]),
  figure.wp-block-image:has(> a > img[src*="network-adapter.jpg"]),
  figure.wp-block-image:has(> a > img[src*="server-fan-modules.jpg"])
) > a > img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: 50% 50%;
}

/* Legacy-matched homepage evidence modules */
.beihang-home-module {
  width: 100%;
  margin: 0;
  border-radius: 0;
  background-color: var(--ui-paper);
  background-image:
    linear-gradient(rgba(9, 10, 12, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 10, 12, 0.055) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 72px 72px;
  color: var(--ui-ink);
}

.beihang-home-module a {
  color: inherit;
  text-decoration: none;
}

.beihang-home-module img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beihang-home-module__kicker {
  margin: 0;
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.beihang-home-intelligence {
  border-block: 1px solid rgba(9, 10, 12, 0.16);
  padding-block: 3rem;
}

.beihang-home-intelligence__inner {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.beihang-home-intelligence__heading {
  display: grid;
  gap: 2rem;
  align-items: end;
  border-top: 1px solid rgba(9, 10, 12, 0.16);
  padding-top: 1.5rem;
}

.beihang-home-intelligence__heading h2 {
  max-width: 48rem;
  margin: 1rem 0 0;
  font-size: clamp(2rem, 3.6vw, 4.25rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.beihang-home-intelligence__utilities {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.beihang-home-intelligence__utilities a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(9, 10, 12, 0.24);
  padding-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.beihang-home-intelligence__utilities a:hover {
  border-color: var(--ui-safety);
  color: var(--ui-safety);
}

.beihang-home-intelligence .dashicons {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--motion-fast) var(--ease-expo);
}

.beihang-home-intelligence a:hover > .dashicons,
.beihang-home-intelligence a:hover .beihang-home-intelligence__guide-title .dashicons,
.beihang-home-intelligence button:hover .dashicons {
  transform: translateX(4px);
}

.beihang-home-intelligence__grid {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid rgba(9, 10, 12, 0.18);
  border-left: 1px solid rgba(9, 10, 12, 0.18);
}

.beihang-home-intelligence__record {
  display: block;
  min-width: 0;
  border-right: 1px solid rgba(9, 10, 12, 0.18);
  border-bottom: 1px solid rgba(9, 10, 12, 0.18);
  background: var(--ui-white);
}

.beihang-home-intelligence__record article {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.beihang-home-intelligence__record-header {
  border-bottom: 1px solid rgba(9, 10, 12, 0.16);
  padding: 1.25rem;
}

.beihang-home-intelligence__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.beihang-home-intelligence__eyebrow > span,
.beihang-home-intelligence__route-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  background: var(--ui-safety);
}

.beihang-home-intelligence__route-dot {
  display: block;
  margin-bottom: 0.5rem;
}

.beihang-home-intelligence__record-title-row {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.beihang-home-intelligence__record-title-row h3 {
  max-width: 36rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.beihang-home-intelligence__mobile-description {
  margin: 0.75rem 0 0;
  color: var(--ui-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.beihang-home-intelligence__record-note {
  margin: 0;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.25rem;
  text-transform: uppercase;
}

.beihang-home-intelligence__record-note strong {
  display: block;
  color: var(--ui-ink);
}

.beihang-home-intelligence__route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(9, 10, 12, 0.16);
  list-style: none;
}

.beihang-home-intelligence__route li {
  min-width: 0;
  border-right: 1px solid rgba(9, 10, 12, 0.16);
  padding: 0.75rem 1rem;
}

.beihang-home-intelligence__route li:last-child {
  border-right: 0;
}

.beihang-home-intelligence__route small {
  display: block;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.beihang-home-intelligence__route strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.beihang-home-intelligence__record-media {
  position: relative;
  aspect-ratio: 1206 / 642;
  margin: 0;
  overflow: hidden;
  background: var(--ui-aluminum);
}

.beihang-home-intelligence__record-media img {
  transition: transform var(--motion-section) var(--ease-expo);
}

.beihang-home-intelligence__record:hover .beihang-home-intelligence__record-media img {
  transform: scale(1.015);
}

.beihang-home-intelligence__record-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid rgba(9, 10, 12, 0.16);
  padding: 0.75rem 1.25rem;
  color: var(--ui-muted);
  font-size: 0.64rem;
}

.beihang-home-intelligence__record-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--ui-ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.beihang-home-intelligence__guides {
  display: grid;
  min-width: 0;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.beihang-home-intelligence__guide {
  display: grid;
  min-height: 10rem;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  border-right: 1px solid rgba(9, 10, 12, 0.18);
  border-bottom: 1px solid rgba(9, 10, 12, 0.18);
  background: var(--ui-white);
  padding: 1.5rem;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.beihang-home-intelligence__guide.is-featured,
.beihang-home-intelligence__guide:not(.is-featured):hover {
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-home-intelligence__guide-index {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  line-height: 1;
}

.beihang-home-intelligence__guide-copy {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  border-left: 1px solid currentColor;
  border-left-color: color-mix(in srgb, currentColor 20%, transparent);
  padding-left: 1.25rem;
}

.beihang-home-intelligence__guide-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.beihang-home-intelligence__guide-title strong {
  max-width: 28rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.beihang-home-intelligence__guide-detail {
  max-width: 28rem;
  color: var(--ui-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.beihang-home-intelligence__guide.is-featured .beihang-home-intelligence__guide-detail,
.beihang-home-intelligence__guide:not(.is-featured):hover .beihang-home-intelligence__guide-detail {
  color: rgba(255, 255, 255, 0.65);
}

.beihang-home-intelligence__rfq {
  display: grid;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(9, 10, 12, 0.18);
  border-left: 1px solid rgba(9, 10, 12, 0.18);
  background: var(--ui-white);
}

.beihang-home-intelligence__rfq label {
  display: block;
  border-right: 1px solid rgba(9, 10, 12, 0.16);
  border-bottom: 1px solid rgba(9, 10, 12, 0.16);
  padding: 1rem;
}

.beihang-home-intelligence__field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.beihang-home-intelligence__field-label .dashicons {
  color: var(--ui-ink);
}

.beihang-home-intelligence__rfq input {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ui-ink);
  font-size: 0.875rem;
  outline: 0;
}

.beihang-home-intelligence__rfq input::placeholder {
  color: rgba(9, 10, 12, 0.35);
}

.beihang-home-intelligence__rfq input:focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 3px;
}

.beihang-home-intelligence__rfq button {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 0;
  border-right: 1px solid rgba(9, 10, 12, 0.18);
  border-bottom: 1px solid rgba(9, 10, 12, 0.18);
  background: var(--ui-ink);
  padding-inline: 1.25rem;
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color var(--motion-fast) ease;
}

.beihang-home-intelligence__rfq button:hover {
  background: var(--ui-safety);
}

.beihang-home-ledger {
  border-bottom: 1px solid rgba(9, 10, 12, 0.2);
  padding-block: 2.5rem 1.75rem;
}

.beihang-home-ledger__inner {
  width: 100%;
  padding-inline: 1.25rem;
}

.beihang-home-ledger__heading > .beihang-home-module__kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ui-ink);
  letter-spacing: 0.05em;
}

.beihang-home-ledger__heading > .beihang-home-module__kicker > span {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--ui-safety);
}

.beihang-home-ledger__heading h2 {
  margin: 0.75rem 0 0;
  font-family: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: 2.25rem;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.beihang-home-ledger__heading > p:last-child {
  margin: 0.5rem 0 0;
  color: rgba(9, 10, 12, 0.75);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.beihang-home-ledger__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.beihang-home-ledger__primary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(9, 10, 12, 0.25);
  background: var(--ui-white);
}

.beihang-home-ledger__primary-bar {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ui-ink);
  padding-inline: 1rem;
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.beihang-home-ledger__primary-bar em {
  color: var(--ui-safety);
  font-style: normal;
}

.beihang-home-ledger__primary-media {
  position: relative;
  display: block;
  min-height: 26rem;
  flex: 1;
  overflow: hidden;
  background: var(--ui-aluminum);
}

.beihang-home-ledger__primary-media img,
.beihang-home-ledger__record-media img {
  position: absolute;
  inset: 0;
  transition: transform var(--motion-section) var(--ease-expo);
}

.beihang-home-ledger__primary:hover .beihang-home-ledger__primary-media img {
  transform: scale(1.01);
}

.beihang-home-ledger__records {
  display: grid;
  min-width: 0;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(9, 10, 12, 0.25);
  border-left: 1px solid rgba(9, 10, 12, 0.25);
  background: var(--ui-white);
}

.beihang-home-ledger__record {
  display: grid;
  min-height: 11rem;
  grid-template-columns: 0.44fr 0.56fr;
  border-right: 1px solid rgba(9, 10, 12, 0.25);
  border-bottom: 1px solid rgba(9, 10, 12, 0.25);
  background: var(--ui-white);
}

.beihang-home-ledger__record-media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--ui-aluminum);
}

.beihang-home-ledger__record:hover .beihang-home-ledger__record-media img {
  transform: scale(1.02);
}

.beihang-home-ledger__record-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(9, 10, 12, 0.25);
  padding: 1rem;
}

.beihang-home-ledger__record-meta {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.beihang-home-ledger__record-meta strong {
  color: var(--ui-safety);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.beihang-home-ledger__record-meta small {
  color: rgba(9, 10, 12, 0.5);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.beihang-home-ledger__record-title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.1;
}

.beihang-home-ledger__record-detail {
  margin-top: 0.5rem;
  color: var(--ui-muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.25rem;
}

.beihang-home-ledger__record-tag {
  display: inline-grid;
  width: fit-content;
  grid-template-columns: 1.9rem auto;
  margin-top: 1rem;
  border: 1px solid rgba(9, 10, 12, 0.3);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
}

.beihang-home-ledger__record-tag b {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(9, 10, 12, 0.25);
  color: var(--ui-safety);
}

.beihang-home-ledger__record-tag span {
  padding: 0.5rem 0.75rem;
}

.beihang-home-ledger__signals {
  display: grid;
  margin-top: 1rem;
  border-left: 1px solid rgba(9, 10, 12, 0.25);
  background: var(--ui-white);
}

.beihang-home-ledger__signals-title,
.beihang-home-ledger__signal,
.beihang-home-ledger__signal-action {
  min-height: 5.55rem;
  border-right: 1px solid rgba(9, 10, 12, 0.25);
  border-bottom: 1px solid rgba(9, 10, 12, 0.25);
}

.beihang-home-ledger__signals-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ui-ink);
  padding-inline: 1.25rem;
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.beihang-home-ledger__signals-title > span {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  background: var(--ui-safety);
}

.beihang-home-ledger__signal {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.beihang-home-ledger__signal-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(9, 10, 12, 0.2);
  color: var(--ui-safety);
}

.beihang-home-ledger__signal-icon .dashicons {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
}

.beihang-home-ledger__signal strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.beihang-home-ledger__signal small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ui-muted);
  font-size: 0.62rem;
  line-height: 1rem;
}

.beihang-home-ledger__signal-action {
  display: flex;
  align-items: center;
  padding-inline: 1.25rem;
}

.beihang-home-ledger__signal-action a {
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(9, 10, 12, 0.35);
  padding-inline: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.beihang-home-ledger__signal-action a:hover {
  background: var(--ui-ink);
  color: var(--ui-white);
}

@media (max-width: 639px) {
  .beihang-home-module {
    background-size: 44px 44px;
  }

  .beihang-home-intelligence__guide {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    padding: 1.25rem;
  }

  .beihang-home-intelligence__guide-index {
    font-size: 1.875rem;
  }

  .beihang-home-intelligence__record-action {
    display: none;
  }
}

@media (min-width: 640px) {
  .beihang-home-intelligence {
    padding-block: 4rem;
  }

  .beihang-home-intelligence__inner {
    padding-inline: 1.5rem;
  }

  .beihang-home-intelligence__record-header,
  .beihang-home-intelligence__record-footer {
    padding-inline: 1.5rem;
  }

  .beihang-home-intelligence__record-title-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .beihang-home-intelligence__record-title-row h3 {
    font-size: 1.7rem;
  }

  .beihang-home-intelligence__mobile-description {
    display: none;
  }

  .beihang-home-intelligence__record-note {
    border-left: 1px solid rgba(9, 10, 12, 0.16);
    padding-left: 1.25rem;
  }

  .beihang-home-intelligence__route li {
    padding-inline: 1.5rem;
  }

  .beihang-home-intelligence__route strong {
    font-size: 0.875rem;
  }

  .beihang-home-intelligence__rfq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-home-intelligence__rfq button {
    grid-column: 1 / -1;
  }

  .beihang-home-ledger__inner {
    padding-inline: 2rem;
  }

  .beihang-home-ledger__heading h2 {
    font-size: 3rem;
  }

  .beihang-home-ledger__primary-bar {
    padding-inline: 1.25rem;
  }

  .beihang-home-ledger__record-copy {
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .beihang-home-intelligence {
    padding-block: 5rem;
  }

  .beihang-home-intelligence__heading {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .beihang-home-intelligence__inner {
    padding-inline: 2rem;
  }

  .beihang-home-intelligence__grid {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .beihang-home-intelligence__rfq {
    grid-template-columns: 1.25fr 0.85fr 1fr 1.05fr 0.8fr;
  }

  .beihang-home-intelligence__rfq label {
    border-bottom: 0;
  }

  .beihang-home-intelligence__rfq button {
    grid-column: auto;
    min-height: 100%;
  }

  .beihang-home-ledger__inner {
    padding-inline: 4.25rem;
  }

  .beihang-home-ledger__heading h2 {
    font-size: 3.85rem;
  }

  .beihang-home-ledger__grid {
    height: 36.25rem;
    grid-template-columns: 1.11fr 0.89fr;
  }

  .beihang-home-ledger__record-copy {
    padding-inline: 1.5rem;
  }

  .beihang-home-ledger__signals {
    min-height: 5.55rem;
    grid-template-columns: 1.05fr repeat(4, 1.18fr) 1.4fr;
  }
}

/* Footer */
.beihang-site-footer {
  border-top: 1px solid var(--ui-border-inverse);
  background: var(--ui-ink);
  color: var(--ui-white);
}

.beihang-site-footer > .beihang-container {
  padding-block: 3rem;
}

.beihang-footer-grid {
  display: grid;
  border-block: 1px solid var(--ui-border-inverse);
}

.beihang-footer-brand,
.beihang-footer-column {
  border-bottom: 1px solid var(--ui-border-inverse);
  padding-block: 2rem;
}

.beihang-footer-column:last-child {
  border-bottom: 0;
}

.beihang-footer-brand__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.beihang-logo-mark--footer {
  width: 48px;
  height: 48px;
}

.beihang-logo-mark--footer .custom-logo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.beihang-footer-brand h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-footer-brand__heading p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beihang-footer-brand__description {
  max-width: 650px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.75;
}

.beihang-footer-brand > .beihang-button {
  margin-top: 2rem;
}

.beihang-footer-column > .beihang-technical-label,
.beihang-footer-contact .beihang-technical-label {
  color: rgba(255, 255, 255, 0.52);
}

.beihang-footer-column a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ui-border-inverse);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--motion-fast) ease;
}

.beihang-footer-column a:first-of-type {
  margin-top: 1.25rem;
}

.beihang-footer-column a:hover {
  color: var(--ui-safety);
}

.beihang-footer-column small {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.beihang-footer-contact {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}

.beihang-footer-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 0.75rem;
}

.beihang-footer-contact__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.beihang-footer-note {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  line-height: 1.7;
}

.beihang-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.beihang-social-links a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.65rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-footer-legal {
  border-top: 1px solid var(--ui-border-inverse);
  padding-block: 1.25rem;
}

.beihang-footer-legal .beihang-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beihang-footer-legal p {
  margin: 0;
}

.beihang-sticky-whatsapp {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  display: none;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--ui-border);
  background: var(--ui-white);
  color: var(--ui-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--motion-ui) var(--ease-expo), border-color var(--motion-fast) ease;
}

.beihang-sticky-whatsapp:hover {
  border-color: var(--ui-safety);
  transform: translateY(-2px);
}

.beihang-sticky-whatsapp__icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--ui-ink);
  color: var(--ui-white);
  font-family: var(--font-mono);
  font-weight: 700;
}

.beihang-sticky-whatsapp__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.beihang-sticky-whatsapp > span:last-child {
  padding-inline: 1rem;
}

.beihang-mobile-contact {
  position: fixed;
  z-index: 65;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--ui-ink);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  color: var(--ui-white);
  box-shadow: 0 -12px 30px rgba(9, 10, 12, 0.18);
}

.beihang-mobile-contact a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beihang-mobile-contact a:last-child {
  border-color: var(--ui-white);
  background: var(--ui-white);
  color: var(--ui-ink);
}

.beihang-site-footer:has(~ .beihang-mobile-contact),
.beihang-template-product .beihang-site-footer {
  padding-bottom: 64px;
}

@media (min-width: 640px) {
  .beihang-container:not(.beihang-core .beihang-container) {
    padding-inline: 32px;
  }

  .beihang-header-container {
    padding-inline: 32px;
  }

  .beihang-brand__name {
    font-size: 1rem;
  }

  .beihang-brand__tagline {
    display: block;
  }

  .beihang-catalog-hero,
  .beihang-product-hero,
  .beihang-page-main .beihang-page-intro:not(.beihang-core .beihang-page-intro),
  .beihang-cisco-intro,
  .beihang-archive-hero,
  .beihang-search-hero,
  .beihang-article-header {
    padding-block: 4rem;
  }

  .beihang-catalog-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .beihang-catalog-search button {
    min-height: 64px;
    border-top: 0;
    border-left: 1px solid rgba(9, 10, 12, 0.2);
  }

  .beihang-category-grid,
  .woocommerce ul.products,
  ul.products.beihang-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-inquiry-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-inquiry-steps li {
    border-right: 1px solid var(--ui-border-soft);
  }

  .beihang-inquiry-steps li:nth-child(2n) {
    border-right: 0;
  }

  .beihang-inquiry-steps li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .beihang-product-card:not(.beihang-core .beihang-product-card) .beihang-product-card__actions,
  .beihang-product-summary__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-product-summary__actions > :last-child:nth-child(3) {
    grid-column: 1 / -1;
  }

  .beihang-product-spec-list > div,
  .beihang-product-attributes dl > div {
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1rem;
  }

  .beihang-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-not-found > .beihang-container {
    grid-template-columns: 0.34fr 0.66fr;
  }

  .beihang-footer-legal .beihang-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .beihang-mobile-contact {
    display: none;
  }

  .beihang-site-footer:has(~ .beihang-mobile-contact),
  .beihang-template-product .beihang-site-footer {
    padding-bottom: 0;
  }

  .beihang-used-cpu-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-used-cpu-fast-rfq__two-up,
  .beihang-used-cpu-fast-rfq__optional-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-used-cpu-fast-rfq__field--wide {
    grid-column: 1 / -1;
  }

  .beihang-used-cpu-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-used-cpu-trust-strip > div {
    border-right: 1px solid var(--ui-border-soft);
    border-bottom: 0;
  }

  .beihang-used-cpu-trust-strip > div:last-child {
    border-right: 0;
  }

  .beihang-used-cpu-model-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .beihang-used-cpu-note,
  .beihang-used-cpu-final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .beihang-used-cpu-gallery,
  .beihang-used-cpu-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-used-cpu-faq-list summary {
    padding-inline: 1.5rem;
  }

  .beihang-used-cpu-faq-list details > p {
    padding-left: 5.5rem;
  }

  .beihang-cisco-model-row {
    grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .beihang-cisco-model-row__mobile-type {
    display: none;
  }

  .beihang-cisco-model-row__details {
    display: block;
  }

  .beihang-cisco-model-row__action {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .beihang-header-container {
    padding-inline: 44px;
  }

  .beihang-header-actions {
    display: flex;
  }

  .beihang-menu-button {
    display: none;
  }

  .beihang-mobile-panel {
    display: none !important;
  }

  .beihang-cpu-command-bar .beihang-header-container {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }

  .beihang-cpu-command-bar p {
    display: block;
  }

  .beihang-catalog-body,
  .beihang-product-information,
  .beihang-related-products,
  .beihang-search-page:not(.beihang-core) > .beihang-search-results {
    padding-block: 6rem;
  }

  .beihang-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .beihang-inquiry-scope {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .beihang-inquiry-scope__intro {
    padding: 2rem;
  }

  .woocommerce ul.products,
  ul.products.beihang-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .beihang-product-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .beihang-product-summary {
    position: sticky;
    top: 100px;
  }

  .beihang-product-information__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  }

  .beihang-footer-grid {
    grid-template-columns: 1.35fr 0.8fr 0.8fr;
  }

  .beihang-footer-brand,
  .beihang-footer-column {
    border-right: 1px solid var(--ui-border-inverse);
    border-bottom: 0;
  }

  .beihang-footer-brand {
    padding-right: 3rem;
  }

  .beihang-footer-column {
    padding-inline: 2rem;
  }

  .beihang-footer-column:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .beihang-footer-contact {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .beihang-sticky-whatsapp {
    display: inline-flex;
  }

  .beihang-product-mobile-actions {
    display: none;
  }

  .beihang-used-cpu-hero {
    padding-block: 4rem;
  }

  .beihang-used-cpu-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.82fr);
    align-items: start;
    gap: 2.5rem;
  }

  .beihang-used-cpu-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .beihang-used-cpu-rfq-panel {
    position: sticky;
    top: 132px;
    grid-column: 2;
    grid-row: 1 / span 4;
    padding: 2rem;
  }

  .beihang-used-cpu-fast-rfq__head {
    margin: -2rem -2rem 0;
    padding: 1.5rem 2rem;
  }

  .beihang-used-cpu-hero-photo {
    grid-column: 1;
    grid-row: 2;
  }

  .beihang-used-cpu-trust-strip {
    grid-column: 1;
    grid-row: 3;
    margin-top: -2.5rem;
  }

  .beihang-used-cpu-hero-actions {
    grid-column: 1;
    grid-row: 4;
  }

  .beihang-used-cpu-section,
  .beihang-used-cpu-process,
  .beihang-used-cpu-supplement {
    padding-block: 6rem;
  }

  .beihang-used-cpu-section-heading {
    grid-template-columns: 0.34fr 0.66fr;
    gap: 2rem;
  }

  .beihang-used-cpu-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihang-used-cpu-model-group {
    padding: 2rem;
  }

  .beihang-used-cpu-inspection-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
  }

  .beihang-used-cpu-test-card {
    padding: 2.25rem;
  }

  .beihang-used-cpu-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .beihang-used-cpu-process-grid {
    grid-template-columns: 0.3fr 0.7fr;
  }

  .beihang-cisco-catalog,
  .beihang-cisco-seo,
  .beihang-cisco-cta {
    padding-block: 6rem;
  }

  .beihang-cisco-group__header {
    grid-template-columns: 0.45fr 1.55fr;
    align-items: end;
    padding: 2rem;
  }

  .beihang-cisco-cta__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .beihang-desktop-nav {
    display: flex;
  }

  .beihang-header-actions {
    margin-left: 1rem;
  }

  .beihang-brand__logo,
  .beihang-brand > .beihang-logo-mark {
    display: none;
  }

  .beihang-section-heading {
    grid-template-columns: 0.32fr 0.68fr;
    column-gap: 2rem;
  }

  .beihang-section-heading > .beihang-technical-label {
    grid-row: 1 / span 2;
  }

  .beihang-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .beihang-rfq-mode {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
