/*
Theme Name: Industrial Theme
Description: Lightweight presentation layer for the Industrial Site project.
Version: 0.4.2
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: industrial-theme
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink-950: #0b0d0f;
  --ink-800: #242a2f;
  --ink-650: #68717a;
  --steel-500: #87919a;
  --steel-300: #adb5bc;
  --steel-200: #d9dee3;
  --steel-100: #edf0f2;
  --steel-050: #f7f8fa;
  --white: #fff;
  --accent-700: #2f6fca;
  --accent-600: #397dda;
  --accent-100: #e6effb;
  --signal: #397dda;
  --focus: #397dda;
  --shadow: 0 1.5rem 4rem rgb(11 13 15 / 8%);
  --radius-sm: 0.125rem;
  --container: 82rem;
  --font-sans: "Manrope", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink-950); background: var(--white); font-family: var(--font-sans); letter-spacing: -0.008em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-700); text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
a:hover { color: var(--accent-600); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl { margin-top: 0; }
h1, h2, h3 { color: var(--ink-950); font-weight: 600; letter-spacing: -0.038em; line-height: 1.08; }
h1 { margin-bottom: 1.5rem; font-size: clamp(2.75rem, 5.5vw, 5rem); }
h2 { margin-bottom: 1.25rem; font-size: clamp(2rem, 3.7vw, 3.5rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.container, .site-shell { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.site-main { min-height: 60vh; }

.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; }
.screen-reader-text:focus { z-index: 100000; top: 0.75rem; left: 0.75rem; width: auto; height: auto; padding: 0.75rem 1rem; margin: 0; clip: auto; color: var(--white); background: var(--ink-950); white-space: normal; }
.eyebrow { margin-bottom: 0.85rem; color: var(--accent-600); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow--light { color: #8ab9f7; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: 0.8rem 1.25rem; border: 1px solid var(--accent-700); border-radius: var(--radius-sm); color: var(--white); background: var(--accent-700); font-size: 0.9rem; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { border-color: var(--ink-950); color: var(--white); background: var(--ink-950); }
.button--secondary { color: var(--accent-700); background: transparent; }
.button--light { border-color: var(--white); color: var(--ink-950); background: var(--white); }
.button--light:hover { border-color: var(--accent-100); color: var(--ink-950); background: var(--accent-100); }
.button--outline-light { border-color: #596169; color: var(--white); background: transparent; }
.button--outline-light:hover { border-color: var(--white); color: var(--ink-950); background: var(--white); }
.button-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button__label, .bilingual-copy, .bilingual-title, .bilingual-heading, .bilingual-link > span { display: grid; gap: 0.18rem; }
.button__label > [lang="zh-CN"] { font-size: 0.72em; font-weight: 500; opacity: 0.78; }
.bilingual-copy > [lang="zh-CN"] { font-size: 0.86em; line-height: 1.75; }
.bilingual-title > [lang="zh-CN"] { color: var(--ink-650); font-size: 0.45em; font-weight: 500; letter-spacing: 0.015em; line-height: 1.45; }
.bilingual-heading > [lang="zh-CN"], .bilingual-nav__secondary, .product-search__secondary { color: currentcolor; font-size: 0.72em; font-weight: 500; letter-spacing: 0.02em; opacity: 0.66; }
.bilingual-eyebrow { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; }
.bilingual-eyebrow > [lang="zh-CN"] { letter-spacing: 0.08em; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 650; text-decoration: none; }
.text-link::after { content: "→"; }

/* Header */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid #2a3036; background: var(--ink-950); }
.site-header__inner { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-title { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--white); font-size: 1.08rem; font-weight: 700; letter-spacing: 0.2em; text-decoration: none; }
.site-title:hover { color: var(--white); }
.site-title__signal { width: 0.52rem; height: 0.52rem; background: var(--accent-600); }
.site-title__word { line-height: 1; }
.custom-logo { width: auto; max-height: 3rem; }
.site-nav__panel, .site-nav__list { display: flex; align-items: center; }
.site-nav__panel { gap: 1.75rem; }
.site-nav__list, .site-nav__list ul, .site-footer__links { padding: 0; margin: 0; list-style: none; }
.site-nav__list { gap: 0.25rem; }
.site-nav__list a { display: grid; gap: 0; padding: 0.72rem 0.65rem; color: #c7cdd2; font-size: 0.84rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: var(--white); }
.site-nav__list .menu-item-has-children { position: relative; }
.site-nav__list ul { position: absolute; top: 100%; left: 0; display: none; min-width: 14rem; padding: 0.6rem; border: 1px solid #2a3036; background: #12161a; box-shadow: var(--shadow); }
.site-nav__list li:hover > ul, .site-nav__list li:focus-within > ul { display: block; }
.site-nav__toggle { display: none; width: 3rem; height: 3rem; border: 1px solid #42494f; border-radius: var(--radius-sm); background: transparent; }
.site-nav__toggle-lines, .site-nav__toggle-lines::before, .site-nav__toggle-lines::after { display: block; width: 1.25rem; height: 1px; margin-inline: auto; background: var(--white); content: ""; }
.site-nav__toggle-lines::before { transform: translateY(-0.38rem); }
.site-nav__toggle-lines::after { transform: translateY(0.26rem); }

/* Footer */
.site-footer { margin-top: clamp(5rem, 9vw, 8rem); color: var(--steel-200); border-top: 1px solid #2a3036; background: var(--ink-950); }
body.home .site-footer { margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(4rem, 7vw, 6rem); }
.site-footer h2 { margin-bottom: 1.15rem; color: var(--white); font-size: 0.86rem; letter-spacing: 0.02em; }
.site-footer__wordmark { font-size: 1.25rem !important; letter-spacing: 0.18em !important; }
.site-footer p { max-width: 25rem; color: var(--steel-300); font-size: 0.88rem; }
.site-footer__links li + li { margin-top: 0.55rem; }
.site-footer a { display: grid; color: var(--steel-200); font-size: 0.86rem; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer__bottom { padding-block: 1.5rem; border-top: 1px solid #2a3036; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; }
.site-footer__bottom p { margin: 0; }

/* Shared catalog components */
.breadcrumbs { padding-block: 1.25rem; font-size: 0.84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 0.4rem; color: var(--steel-500); content: "/"; }
.breadcrumbs a { color: var(--ink-650); }
.page-header { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-header--catalog { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); border-bottom: 1px solid var(--steel-200); }
.page-header__intro { max-width: 44rem; margin-bottom: 0; color: var(--ink-650); font-size: 1.08rem; }
.product-search { padding: 1.15rem; border: 1px solid var(--steel-200); background: var(--steel-050); }
.product-search label { display: block; margin-bottom: 0.45rem; font-size: 0.84rem; font-weight: 750; }
.product-search label > span { display: block; }
.product-search__controls { display: flex; }
.product-search input[type="search"] { min-width: 0; width: 100%; min-height: 2.9rem; padding: 0.65rem 0.8rem; border: 1px solid var(--steel-300); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--white); }
.product-search .button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.catalog-section, .home-section, .product-section { padding-top: clamp(3.5rem, 7vw, 6rem); }
.section-heading { margin-bottom: 1.5rem; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading--split > * { margin-bottom: 0; }
.category-navigation ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.category-navigation a { display: flex; min-height: 4.4rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--steel-200); color: var(--ink-950); background: var(--white); font-weight: 750; text-decoration: none; }
.category-navigation a:hover { border-color: var(--accent-600); color: var(--accent-700); box-shadow: 0 0.35rem 1.5rem rgb(20 35 51 / 7%); }
.category-navigation__count { display: grid; flex: 0 0 auto; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; color: var(--ink-650); background: var(--steel-100); font-size: 0.78rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--steel-200); background: var(--white); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--steel-200); background: var(--steel-050); }
.product-card__image { width: 100%; height: 100%; object-fit: contain; }
.product-card__placeholder, .product-gallery__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--steel-500); background: var(--steel-050); }
.product-card__placeholder > span { display: grid; width: 3.4rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--steel-300); font-weight: 800; letter-spacing: 0.08em; }
.product-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.35rem; }
.product-card__category { margin-bottom: 0.55rem; color: var(--accent-600); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.product-card__title { margin-bottom: 0.65rem; font-size: 1.2rem; }
.product-card__title a { color: var(--ink-950); text-decoration: none; }
.product-card__translation { margin: -0.35rem 0 0.7rem; color: var(--ink-650); font-size: 0.82rem; }
.product-card__model, .product-card__excerpt { color: var(--ink-650); font-size: 0.9rem; }
.product-card__model { margin-bottom: 0.6rem; font-weight: 650; }
.product-card__excerpt { margin-bottom: 1.1rem; }
.product-card__link { margin-top: auto; }
.product-card__actions { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; }
.product-card__actions .button { min-height: 2.5rem; padding: 0.55rem 0.75rem; font-size: 0.84rem; }
.industrial-add-to-rfq.is-added, [data-industrial-rfq-add].is-added { border-color: var(--steel-300); color: var(--ink-650); background: var(--steel-100); }
.pagination { margin-top: 2.5rem; }
.pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; list-style: none; }
.pagination a, .pagination .current { display: grid; min-width: 2.6rem; min-height: 2.6rem; place-items: center; padding: 0.4rem 0.7rem; border: 1px solid var(--steel-200); text-decoration: none; }
.pagination .current { border-color: var(--accent-700); color: var(--white); background: var(--accent-700); }
.empty-state { max-width: 42rem; padding: 2rem; border: 1px solid var(--steel-200); background: var(--steel-050); }

/* Home design foundation */
.home-hero { overflow: hidden; color: var(--steel-100); background: var(--ink-950); }
.home-hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); min-height: 47rem; padding-block: clamp(5rem, 9vw, 8.5rem); }
.home-hero__content { position: relative; z-index: 2; }
.home-hero__title { max-width: 52rem; color: var(--white); font-size: clamp(3.1rem, 6.3vw, 5.85rem); }
.home-hero__title > [lang="zh-CN"] { max-width: 42rem; color: #a9b1b8; font-size: 0.26em; }
.home-hero__lead { max-width: 43rem; margin-bottom: 2rem; color: #c7cdd2; font-size: 1.05rem; }
.home-hero__lead > [lang="zh-CN"] { color: #8d969d; }
.home-hero__search { max-width: 39rem; padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid #2a3036; }
.home-hero .product-search { padding: 0; border: 0; background: transparent; }
.home-hero .product-search label { color: var(--white); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.home-hero .product-search input[type="search"] { border-color: #42494f; color: var(--white); background: #12161a; }
.home-hero .product-search input[type="search"]::placeholder { color: #778087; }
.home-hero .product-search .button:hover { border-color: var(--white); background: var(--white); color: var(--ink-950); }
.home-hero__instrument { position: relative; padding: 1.25rem; border: 1px solid #343b41; background: #12161a; }
.home-hero__instrument::before { position: absolute; top: -0.35rem; right: -0.35rem; width: 0.65rem; height: 0.65rem; background: var(--accent-600); content: ""; }
.home-hero__instrument-head { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid #343b41; color: #89939a; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; }
.home-hero__diagram { position: relative; height: 22rem; overflow: hidden; border-bottom: 1px solid #343b41; }
.home-hero__line, .home-hero__axis, .home-hero__ring, .home-hero__node { position: absolute; display: block; }
.home-hero__line { background: #252c31; }
.home-hero__line--h1 { top: 33%; left: 0; width: 100%; height: 1px; }
.home-hero__line--h2 { top: 67%; left: 0; width: 100%; height: 1px; }
.home-hero__line--v1 { top: 0; left: 33%; width: 1px; height: 100%; }
.home-hero__line--v2 { top: 0; left: 67%; width: 1px; height: 100%; }
.home-hero__ring { top: 50%; left: 50%; border: 1px solid #53606a; border-radius: 50%; transform: translate(-50%, -50%); }
.home-hero__ring--outer { width: 13rem; height: 13rem; }
.home-hero__ring--inner { width: 6rem; height: 6rem; border-color: var(--accent-600); }
.home-hero__axis { top: 50%; left: 50%; background: #6b767e; transform: translate(-50%, -50%); }
.home-hero__axis--x { width: 18rem; height: 1px; }
.home-hero__axis--y { width: 1px; height: 18rem; }
.home-hero__node { width: 0.55rem; height: 0.55rem; background: var(--accent-600); }
.home-hero__node--a { top: calc(50% - 0.275rem); left: calc(50% + 6.2rem); }
.home-hero__node--b { top: calc(50% - 6.5rem); left: calc(50% - 0.275rem); background: var(--white); }
.home-hero__coordinate { position: absolute; right: 0; bottom: 0.75rem; color: #758088; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; }
.home-hero__signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1rem 0 0; margin: 0; list-style: none; }
.home-hero__signals li { display: grid; gap: 0.22rem; padding-inline: 0.85rem; border-left: 1px solid #343b41; }
.home-hero__signals li:first-child { padding-left: 0; border-left: 0; }
.home-hero__signals > li > span, .home-hero__signals strong, .home-hero__signals small { font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.05em; }
.home-hero__signals > li > span { color: var(--accent-600); }
.home-hero__signals small { color: #778087; }
.home-hero__status { border-block: 1px solid #2a3036; background: #0f1214; }
.home-hero__status .container { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; color: #7f898f; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.07em; }
.home-section { padding-top: clamp(5rem, 9vw, 8.5rem); }
.home-section > .section-heading, .home-section .container > .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.home-section .section-heading h2 { max-width: 48rem; }
.home-systems { padding-bottom: clamp(5rem, 9vw, 8.5rem); }
.home-systems .category-navigation a { min-height: 6rem; padding: 1.35rem 1.5rem; border-color: var(--steel-200); font-size: 1rem; }
.home-empty-state { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem); border-block: 1px solid var(--steel-200); }
.home-empty-state__index, .home-value-grid__index, .home-draft__index, .home-workflow__number { color: var(--accent-600); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; }
.home-empty-state h3 { margin-bottom: 0.75rem; }
.home-empty-state p { max-width: 44rem; margin-bottom: 0; color: var(--ink-650); }
.home-draft { padding-bottom: clamp(5rem, 9vw, 8.5rem); color: var(--steel-200); background: #12161a; }
.home-draft h2, .home-draft h3 { color: var(--white); }
.home-draft .bilingual-title > [lang="zh-CN"] { color: #8e979e; }
.home-draft__notice { display: grid; max-width: 22rem; gap: 0.2rem; padding-left: 1rem; margin: 0; border-left: 2px solid var(--accent-600); color: #9ba4aa; font-size: 0.78rem; }
.home-draft__notice strong { color: #8ab9f7; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; }
.home-draft__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #343b41; }
.home-draft__grid article { min-height: 18rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid #343b41; }
.home-draft__grid article:first-child { border-left: 0; }
.home-draft__grid h3, .home-value-grid h3, .home-workflow__steps h3 { display: grid; gap: 0.3rem; margin-block: 3rem 1rem; }
.home-draft__grid h3 > [lang="zh-CN"], .home-value-grid h3 > [lang="zh-CN"], .home-workflow__steps h3 > [lang="zh-CN"] { color: #8d969d; font-size: 0.68em; font-weight: 500; letter-spacing: 0.01em; }
.home-draft__grid p, .home-value-grid p, .home-workflow__steps p { display: grid; gap: 0.35rem; margin-bottom: 0; color: #9da5ab; font-size: 0.88rem; }
.home-draft__grid p > [lang="zh-CN"], .home-value-grid p > [lang="zh-CN"], .home-workflow__steps p > [lang="zh-CN"] { font-size: 0.86em; line-height: 1.75; }
.home-clarity { padding-bottom: clamp(5rem, 9vw, 8.5rem); }
.home-value-grid, .content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-grid { gap: 1.25rem; }
.home-value-grid { border-block: 1px solid var(--steel-200); }
.home-value-grid article { min-height: 19rem; padding: clamp(1.5rem, 3vw, 2.75rem); border-left: 1px solid var(--steel-200); }
.home-value-grid article:first-child { border-left: 0; }
.home-value-grid h3 > [lang="zh-CN"], .home-value-grid p { color: var(--ink-650); }
.home-workflow { padding-bottom: clamp(5rem, 9vw, 8.5rem); color: var(--steel-200); background: var(--ink-950); }
.home-workflow__inner { display: grid; grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); }
.home-workflow h2, .home-workflow h3 { color: var(--white); }
.home-workflow .bilingual-title > [lang="zh-CN"] { color: #8d969d; }
.home-workflow__steps { padding: 0; margin: 0; border-top: 1px solid #343b41; list-style: none; }
.home-workflow__steps li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.75rem; border-bottom: 1px solid #343b41; }
.home-workflow__steps h3 { margin: 0 0 0.75rem; }
.home-workflow__steps p { max-width: 34rem; }
.home-final-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: clamp(2rem, 6vw, 6rem); padding: clamp(2.5rem, 6vw, 5.5rem); margin-block: clamp(5rem, 9vw, 8.5rem); color: var(--steel-100); border: 1px solid #343b41; background: var(--ink-950); }
.home-final-cta::before { position: absolute; top: -1px; left: -1px; width: 7rem; height: 2px; background: var(--accent-600); content: ""; }
.home-final-cta h2 { max-width: 48rem; color: var(--white); }
.home-final-cta .bilingual-title > [lang="zh-CN"] { color: #8d969d; }
.home-final-cta p:last-child { max-width: 45rem; margin-bottom: 0; color: #a9b1b8; }

/* Product detail */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.product-gallery__primary, .product-gallery__placeholder { aspect-ratio: 4 / 3; border: 1px solid var(--steel-200); background: var(--steel-050); }
.product-gallery__primary img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__placeholder span { padding: 0.75rem 1rem; border: 1px solid var(--steel-300); font-weight: 750; }
.product-gallery__thumbnails { display: flex; gap: 0.65rem; padding: 0; margin: 0.75rem 0 0; overflow-x: auto; list-style: none; }
.product-gallery__thumbnails a { display: block; width: 5rem; aspect-ratio: 1; padding: 0.2rem; border: 1px solid var(--steel-200); background: var(--white); }
.product-gallery__thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-summary__categories { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin-bottom: 1rem; list-style: none; }
.product-summary__categories a { color: var(--accent-600); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.product-summary h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.product-summary__translation { margin: -0.7rem 0 1.25rem; color: var(--ink-650); font-size: clamp(1rem, 2vw, 1.3rem); }
.product-identity { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; padding-block: 1rem; margin-bottom: 1.25rem; border-block: 1px solid var(--steel-200); }
.product-identity div { display: flex; gap: 0.35rem; }
.product-identity dt { color: var(--ink-650); font-size: 0.86rem; font-weight: 700; }
.product-identity dd { margin: 0; font-size: 0.86rem; }
.product-summary__excerpt { color: var(--ink-650); font-size: 1.05rem; }
.feature-list { display: grid; gap: 0.65rem; padding: 0; margin-block: 1.5rem; list-style: none; }
.feature-list li { position: relative; padding-left: 1.4rem; }
.feature-list li::before { position: absolute; top: 0.58em; left: 0; width: 0.48rem; height: 0.48rem; background: var(--signal); content: ""; }
.product-summary__actions { padding: 1.25rem; margin-top: 1.75rem; border-left: 3px solid var(--signal); background: var(--steel-050); }
.product-summary__actions > .text-link { margin-left: 0.8rem; }
.product-summary__actions p { margin: 0.75rem 0 0; color: var(--ink-650); font-size: 0.84rem; }
.product-section { margin-top: clamp(3rem, 7vw, 6rem); padding-top: 0; border-top: 1px solid var(--steel-200); }
.product-section > .section-heading { padding-top: 2rem; }
.product-section--prose { display: grid; grid-template-columns: minmax(13rem, 0.34fr) minmax(0, 0.66fr); gap: clamp(2rem, 6vw, 6rem); }
.prose { padding-top: 2rem; color: var(--ink-800); }
.prose > *:last-child { margin-bottom: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--steel-200); }
.specifications-table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.specifications-table th, .specifications-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--steel-200); text-align: left; vertical-align: top; }
.specifications-table thead th, .specifications-table__group th { color: var(--ink-950); background: var(--steel-100); font-size: 0.84rem; }
.specifications-table tbody tr:last-child > * { border-bottom: 0; }
.specifications-table tbody th { width: 42%; font-weight: 650; }
.application-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; padding: 0; list-style: none; }
.application-list li { padding: 1rem 1.15rem; border: 1px solid var(--steel-200); background: var(--steel-050); }
.supply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); }
.supply-grid div { padding: 1.25rem; border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.supply-grid dt { margin-bottom: 0.35rem; color: var(--ink-650); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.supply-grid dd { margin: 0; font-weight: 650; }
.resource-list { padding: 0; border-top: 1px solid var(--steel-200); list-style: none; }
.resource-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--steel-200); }
.resource-list a { font-weight: 750; }
.resource-list span { color: var(--ink-650); font-size: 0.82rem; text-align: right; }
.related-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); margin-top: clamp(4rem, 8vw, 7rem); color: var(--steel-100); background: var(--accent-700); }
.product-cta h2, .product-cta .eyebrow { color: var(--white); }
.product-cta p:last-child { max-width: 46rem; margin-bottom: 0; }
.product-cta__actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 0.75rem; align-items: center; }
.product-cta__actions a { color: var(--white); font-weight: 700; }

/* RFQ workflow */
.site-header__rfq-count { display: grid; min-width: 1.55rem; height: 1.55rem; margin-left: 0.55rem; place-items: center; border-radius: 50%; color: var(--accent-700); background: var(--white); font-size: 0.75rem; }
.page-entry .entry-content > .industrial-rfq-page, .page-entry .entry-content > .industrial-rfq-success { max-width: none; }
.industrial-rfq-page { padding-top: clamp(2.5rem, 6vw, 5rem); }
.industrial-rfq-heading { max-width: 52rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.industrial-rfq-heading > p:last-child { color: var(--ink-650); font-size: 1.08rem; }
.industrial-rfq-list-section { padding: 1.5rem; border: 1px solid var(--steel-200); background: var(--steel-050); }
.industrial-rfq-clear, .industrial-rfq-remove { padding: 0; border: 0; color: var(--accent-700); background: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.industrial-rfq-list { display: grid; gap: 0.75rem; }
.industrial-rfq-item { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem; border: 1px solid var(--steel-200); background: var(--white); }
.industrial-rfq-item > img { width: 5.5rem; aspect-ratio: 1; object-fit: contain; background: var(--steel-050); }
.industrial-rfq-item h3, .industrial-rfq-item p { margin-bottom: 0.35rem; }
.industrial-rfq-item h3 { font-size: 1rem; }
.industrial-rfq-item p { color: var(--ink-650); font-size: 0.84rem; }
.industrial-rfq-item__controls { display: grid; grid-template-columns: 6.5rem auto; align-items: end; gap: 0.25rem 1rem; }
.industrial-rfq-item__controls label { grid-column: 1; font-size: 0.8rem; font-weight: 750; }
.industrial-rfq-item__controls input { grid-column: 1; width: 6.5rem; min-height: 2.7rem; padding: 0.5rem; border: 1px solid var(--steel-300); }
.industrial-rfq-item__controls button { grid-column: 2; grid-row: 2; }
.industrial-rfq-empty { padding: 2rem; text-align: center; }
.industrial-rfq-empty[hidden], .industrial-rfq-form[hidden] { display: none; }
.industrial-rfq-form { display: grid; gap: 1.5rem; max-width: 58rem; padding-top: clamp(3rem, 7vw, 6rem); margin-inline: auto; }
.industrial-rfq-form fieldset { padding: 1.5rem; border: 1px solid var(--steel-200); }
.industrial-rfq-form legend { padding-inline: 0.5rem; color: var(--ink-950); font-size: 1.25rem; font-weight: 750; }
.industrial-rfq-form label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
.industrial-rfq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.industrial-rfq-form input:not([type="hidden"]):not([type="file"]), .industrial-rfq-form textarea { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--steel-300); border-radius: var(--radius-sm); background: var(--white); }
.industrial-rfq-form input:not([type="hidden"]):not([type="file"]) { min-height: 2.9rem; }
.industrial-rfq-form textarea { resize: vertical; }
.industrial-rfq-form input[type="file"] { width: 100%; padding: 0.8rem; border: 1px dashed var(--steel-300); background: var(--steel-050); }
.form-help, .industrial-rfq-submit p { margin: 0.5rem 0 0; color: var(--ink-650); font-size: 0.84rem; }
.industrial-rfq-submit { display: flex; align-items: center; gap: 1rem; }
.industrial-rfq-submit p { margin: 0; }
.industrial-rfq-submit button:disabled { cursor: not-allowed; opacity: 0.55; }
.industrial-rfq-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.industrial-rfq-errors { max-width: 58rem; padding: 1.25rem; margin: 0 auto 2rem; border: 2px solid #a12828; background: #fff4f4; }
.industrial-rfq-errors h2 { font-size: 1.2rem; }
.industrial-rfq-success { max-width: 48rem; padding: clamp(3rem, 8vw, 6rem); margin: clamp(3rem, 8vw, 7rem) auto; border: 1px solid var(--steel-200); text-align: center; background: var(--steel-050); }
.industrial-rfq-client-error { padding: 1rem; border-left: 3px solid #a12828; background: #fff4f4; }

/* Generic WordPress content */
.content-list { display: grid; gap: 1.25rem; }
.content-card { padding: 1.5rem; border: 1px solid var(--steel-200); }
.content-card__image { display: block; margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel-050); }
.content-card__image img { width: 100%; height: 100%; object-fit: cover; }
.content-card__meta { margin-bottom: 0.65rem; color: var(--ink-650); font-size: 0.82rem; }
.content-card h2, .content-card h3 { margin-bottom: 0.75rem; }
.content-card h2 a, .content-card h3 a { color: var(--ink-950); text-decoration: none; }
.page-layout, .content-layout, .article-layout { padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-entry > .page-header, .article-entry__header { max-width: 52rem; }
.page-entry > .entry-content, .article-entry > .entry-content { color: var(--ink-800); }
.contact-foundation__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-foundation__grid > section { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--steel-200); background: var(--steel-050); }
.article-entry { max-width: 52rem; margin-inline: auto; }
.article-entry__image { margin: 0 0 2rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel-050); }
.article-entry__image img { width: 100%; height: 100%; object-fit: cover; }
.article-entry__footer { padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid var(--steel-200); }
.system-page { max-width: 48rem; padding-block: clamp(4rem, 10vw, 9rem); }
.system-page > p:not(.eyebrow) { color: var(--ink-650); font-size: 1.08rem; }
.entry-content > * { max-width: 48rem; }

@media (max-width: 56.25rem) {
  .site-nav__toggle { display: grid; place-items: center; }
  .site-nav__panel { position: absolute; top: 100%; left: 0; display: none; width: 100%; align-items: stretch; padding: 1rem max(1.25rem, calc((100vw - var(--container)) / 2)); border-top: 1px solid #2a3036; border-bottom: 1px solid #2a3036; background: #12161a; box-shadow: var(--shadow); }
  .site-nav__panel.is-open { display: block; }
  .site-nav__list { display: block; }
  .site-nav__list a { padding: 0.8rem 0; border-bottom: 1px solid #2a3036; }
  .site-nav__list ul { position: static; display: block; padding: 0 0 0 1rem; border: 0; box-shadow: none; }
  .site-header__quote { width: 100%; margin-top: 1rem; }
  .page-header--catalog, .home-intro__inner, .product-hero { grid-template-columns: 1fr; }
  .home-intro__inner { min-height: 0; }
  .product-grid, .related-products .product-grid, .category-navigation ul, .home-link-grid, .home-value-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero__inner, .home-workflow__inner { grid-template-columns: 1fr; }
  .home-hero__inner { min-height: 0; }
  .home-hero__instrument { width: min(100%, 38rem); }
  .home-hero__status .container { flex-wrap: wrap; }
  .home-empty-state { grid-template-columns: 5rem minmax(0, 1fr); }
  .home-empty-state .button { grid-column: 2; justify-self: start; }
  .home-draft__grid { grid-template-columns: 1fr; }
  .home-draft__grid article { min-height: 0; border-top: 1px solid #343b41; border-left: 0; }
  .home-draft__grid article:first-child { border-top: 0; }
  .industrial-rfq-item { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .industrial-rfq-item > img { width: 4.5rem; }
  .industrial-rfq-item__controls { grid-column: 1 / -1; grid-template-columns: 7rem auto; }
}

@media (max-width: 42rem) {
  .container, .site-shell { width: min(calc(100% - 2rem), var(--container)); }
  .site-header__inner { min-height: 4.75rem; }
  .site-title { font-size: 0.98rem; }
  .product-search__controls { display: grid; gap: 0.5rem; }
  .product-search input[type="search"], .product-search .button { width: 100%; border: 1px solid var(--steel-300); border-radius: var(--radius-sm); }
  .product-search .button { border-color: var(--accent-700); }
  .product-grid, .related-products .product-grid, .category-navigation ul, .application-list, .supply-grid, .site-footer__grid, .product-section--prose, .home-link-grid, .home-value-grid, .content-grid, .home-supply, .contact-foundation__grid { grid-template-columns: 1fr; }
  .section-heading--split, .product-cta, .home-final-cta, .resource-list li { align-items: flex-start; flex-direction: column; }
  .product-cta .button { width: 100%; }
  .resource-list span { text-align: left; }
  .button-group { display: grid; }
  .home-hero__inner { gap: 3.5rem; padding-block: 4.5rem; }
  .home-hero__title { font-size: clamp(2.65rem, 13vw, 3.6rem); }
  .home-hero__title > [lang="zh-CN"] { font-size: 0.32em; }
  .home-hero__search { padding-top: 1.75rem; margin-top: 1.75rem; }
  .home-hero__instrument { padding: 1rem; }
  .home-hero__diagram { height: 17rem; }
  .home-hero__ring--outer { width: 10rem; height: 10rem; }
  .home-hero__ring--inner { width: 4.75rem; height: 4.75rem; }
  .home-hero__axis--x { width: 14rem; }
  .home-hero__axis--y { height: 14rem; }
  .home-hero__node--a { left: calc(50% + 4.7rem); }
  .home-hero__node--b { top: calc(50% - 5rem); }
  .home-hero__signals { grid-template-columns: 1fr; }
  .home-hero__signals li { grid-template-columns: 2rem 1fr auto; align-items: center; padding: 0.7rem 0; border-top: 1px solid #343b41; border-left: 0; }
  .home-hero__signals li:first-child { border-top: 0; }
  .home-hero__status .container { display: grid; gap: 0.35rem; }
  .home-empty-state { grid-template-columns: 1fr; }
  .home-empty-state .button { grid-column: auto; justify-self: stretch; }
  .home-draft__notice { max-width: none; }
  .home-value-grid article { min-height: 0; border-top: 1px solid var(--steel-200); border-left: 0; }
  .home-value-grid article:first-child { border-top: 0; }
  .home-final-cta { margin-inline: 1rem; }
  .product-card__actions, .industrial-rfq-submit, .product-summary__actions { align-items: stretch; flex-direction: column; }
  .product-summary__actions > .text-link { margin: 0.75rem 0 0; }
  .industrial-rfq-fields { grid-template-columns: 1fr; }
  .industrial-rfq-list-section, .industrial-rfq-form fieldset { padding: 1rem; }
  .industrial-rfq-item { grid-template-columns: 1fr; }
  .industrial-rfq-item > img { width: 100%; max-height: 10rem; }
  .industrial-rfq-item__controls { grid-column: auto; }
  .industrial-rfq-submit .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
