:root {
  --max: 1280px;
  --accent: #2d6171;
  --ink: #27343b;
  --muted: #63747d;
  --line: #dce4e8;
  --paper: #f3f7f9;
}
html { scroll-padding-top: 96px; }
body { color: var(--ink); -webkit-font-smoothing: antialiased; }
textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 80px)); }
:where(a, button, input, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 80; padding: 12px 20px; color: #fff; background: var(--accent); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; gap: 24px; }
.brand { flex-shrink: 0; }
.brand strong { color: var(--accent); font-size: 19px; font-weight: 650; }
.brand span { font-size: 11px; }
.site-nav { gap: 22px; }
.site-nav a { position: relative; padding-block: 12px; font-size: 13px; }
.site-nav a:not(.header-action)::after { content: ""; position: absolute; bottom: 5px; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:hover { opacity: 1; color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.header-action { padding: 9px 14px !important; border-color: var(--line); border-radius: 3px; }
.header-action:hover { background: var(--paper); }
.menu-toggle { border: 0; border-radius: 0; }
.menu-toggle span { transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* Top-bar 5-language switcher (desktop hover + click, mobile top-bar direct tap) */
.site-nav { order: 1; }
.lang-menu { position: relative; order: 2; flex-shrink: 0; }
.lang-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.lang-trigger:hover, .lang-menu.open .lang-trigger { border-color: var(--accent); background: #fff; color: var(--accent); }
.lang-trigger svg { flex-shrink: 0; color: var(--accent); }
.lang-short { display: none; }
.lang-caret { font-size: 10px; color: var(--muted); transition: transform .18s ease; }
.lang-menu.open .lang-caret { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: 100%; right: 0; z-index: 60; padding-top: 8px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.lang-list { display: grid; gap: 2px; min-width: 172px; padding: 6px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; box-shadow: 0 16px 36px rgb(29 56 68 / .16); }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 7px 11px; border-radius: 5px; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.lang-list a small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.lang-list a:hover { background: var(--paper); color: var(--accent); }
.lang-list a[aria-current="page"] { background: #eaf2f5; color: var(--accent); font-weight: 650; }
.lang-list a[aria-current="page"] small { color: var(--accent); }
.lang-menu.open .lang-dropdown { visibility: visible; opacity: 1; transform: none; }
@media (hover: hover) and (min-width: 1251px) {
  .lang-menu:hover .lang-dropdown,
  .lang-menu:focus-within .lang-dropdown { visibility: visible; opacity: 1; transform: none; }
  .lang-menu:hover .lang-caret { transform: rotate(180deg); }
}

.hero { display: grid; align-items: center; width: 100%; min-width: 0; aspect-ratio: 1916 / 821; min-height: 420px; max-height: calc(100svh - 240px); background: #f4f5f5; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; }
.hero-content { padding-block: 44px; }
.hero-content > * { max-width: 46%; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 650; }
.hero h1 { color: var(--ink); font-size: 56px; font-weight: 600; line-height: 1.12; }
.hero h1 span { display: block; margin-top: 10px; font-size: 40px; font-weight: 600; }
html[lang="en"] .hero h1 { font-size: 54px; }
.hero-copy { margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { gap: 20px; margin-top: 28px; flex-wrap: nowrap; }
.button { gap: 16px; min-height: 46px; border-radius: 3px; padding: 11px 18px; font-size: 13px; font-weight: 600; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.button:active { transform: translateY(1px); }
.button span { transition: transform .25s ease; }
.button:hover span { transform: translateX(3px); }
.button.primary, .search-form button { color: #fff; background: var(--accent); }
.button.primary:hover, .search-form button:hover, .contact-form .button:hover { background: #244e5d; }
.button.secondary { color: var(--accent); border-color: #abbfba; background: transparent; }
.hero-actions .secondary { border-color: transparent; padding-inline: 0; }
.button.secondary:hover { border-color: var(--accent); }
.hero-actions .secondary:hover { border-color: transparent; }
.finder { border-block: 1px solid var(--line); background: #fff; }
.finder-inner { display: grid; grid-template-columns: 1fr 1.7fr; align-items: center; gap: 12px 40px; padding-block: 26px; }
.finder-inner > .quick-tags { grid-column: 2; margin-top: 0; }
.finder h2 { margin: 0; font-size: 18px; font-weight: 600; }
.finder p { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.search-form { gap: 8px; }
.search-form input { border-radius: 3px; background: var(--paper); font-size: 14px; }
.search-form input:focus { outline-offset: 2px; border-color: var(--accent); background: #fff; }
.search-form button { border-radius: 3px; flex-shrink: 0; }

.section-band { padding: 72px 0; }
.section-heading { align-items: end; gap: 32px; margin-bottom: 28px; }
.section-heading .eyebrow { color: var(--accent); margin-bottom: 12px; }
.section-heading h2 { font-size: 32px; line-height: 1.4; font-weight: 600; text-wrap: balance; }
.section-link { color: var(--accent); font-size: 13px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.section-link:hover { border-color: var(--accent); }
.applications { background: var(--paper); }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.application { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: inherit; text-align: left; cursor: pointer; transition: border-color .25s ease; }
.application-media { display: block; width: 100%; overflow: hidden; }
.application-image { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; transition: filter .35s ease; }
.application-copy { display: flex; flex: 1; flex-direction: column; width: 100%; padding: 18px 0 16px; }
.application h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.5; font-weight: 600; text-wrap: pretty; }
.application p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.application-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--accent); font-size: 12px; }
.application-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; font-size: 20px; transition: color .2s, background-color .2s, transform .3s; }
.application.active, .application:hover { border-color: var(--accent); }
.application.active .application-arrow { color: white; background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
@media (hover: hover) {
  .application:hover .application-arrow { color: white; background: var(--accent); border-color: var(--accent); }
  .application:hover .application-image { filter: contrast(1.025); }
}
.application-products { grid-column: 1 / -1; min-width: 0; padding: 30px 0; border-block: 1px solid var(--line); background: transparent; animation: section-enter .35s ease both; }
.application-products-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.application-products-head span { color: var(--muted); font-size: 12px; }
.application-products-head h3 { margin: 7px 0 0; font-size: 24px; font-weight: 600; }
.application-products-head button { flex: 0 0 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); background: #fff; font-size: 25px; cursor: pointer; }
.application-products-count { margin: 14px 0; color: var(--muted); font-size: 13px; }
.application-products-more { display: flex; justify-content: flex-end; padding-top: 20px; }
.application-products-more button, .product-category-more button { min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; border-bottom: 1px solid #94ada3; color: var(--accent); background: transparent; font-size: 13px; cursor: pointer; }

/* Catalog Toolbar (Family Tabs + Card/List View Switcher) */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.catalog-toolbar .catalog-families { margin: 0 0 -1px; border-bottom: 0; }
.catalog-view-tabs { display: inline-flex; align-items: center; gap: 4px; padding: 3px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.catalog-view-tabs button { appearance: none; min-height: 32px; padding: 5px 12px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.catalog-view-tabs button:hover { color: var(--accent); }
.catalog-view-tabs button[aria-pressed="true"] { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgb(35 50 58 / .1); }

.catalog-layout { grid-template-columns: 214px minmax(0, 1fr); gap: 44px; }
.catalog-sidebar { top: 112px; }
.catalog-sidebar-title { margin-bottom: 18px; }
.catalog-directory > summary { list-style: none; }
.catalog-directory > summary::-webkit-details-marker { display: none; }
.category-primary { font-size: 13px; padding-block: 15px; line-height: 1.7; border-color: var(--line); }
.category-primary.active { color: var(--accent); }
.category-submenu { width: 270px; padding: 12px; border-radius: 4px; box-shadow: 0 12px 36px rgb(35 50 45 / .1); }
.category-submenu button { min-height: 44px; font-size: 13px; color: var(--accent); }
.category-submenu button:hover, .category-submenu button.active { background: var(--paper); }
@media (min-width: 821px) {
  .category-group:not(.submenu-dismissed):focus-within .category-submenu { visibility: hidden; opacity: 0; }
  .category-group:not(.submenu-dismissed):hover .category-submenu, .category-group.open:not(.submenu-dismissed) .category-submenu { visibility: visible; opacity: 1; transform: none; }
}
.search-result { color: var(--muted); margin: 0 0 20px; line-height: 1.7; }
.catalog-content { scroll-margin-top: 110px; min-width: 0; }
.product-table-head[hidden] { display: none !important; }
.product-table-head, .product-row { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.5fr); gap: 24px; }
.product-table-head { padding: 13px 42px 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.product-row { position: relative; align-items: start; padding: 22px 42px 22px 0; border-bottom: 1px solid var(--line); }
.product-row-link { transition: background-color .2s ease; }
.product-row-link:hover { background: var(--paper); }
.product-row strong, .product-model { color: var(--accent); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.product-row-link:hover .product-model { text-decoration: underline; text-underline-offset: 5px; }
.product-category { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.product-feature { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.product-arrow { position: absolute; top: 22px; right: 6px; color: var(--accent); font-size: 21px; transition: transform .2s ease; }
.product-row-link:hover .product-arrow { transform: translateX(4px); }
.product-category-group { padding: 24px 0; border-bottom: 1px solid var(--line); }
.product-category-group .product-row:last-child { border-bottom: 0; }
.product-category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 4px; }
.product-category-heading h3 { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 600; }
.product-category-heading > span { flex-shrink: 0; color: var(--muted); font-size: 12px; }
.product-category-more { display: flex; justify-content: flex-end; padding-top: 0; }
.catalog-empty { padding: 48px 0; color: var(--muted); }
.catalog-empty h3 { color: var(--ink); font-size: 20px; font-weight: 600; }

.company-intro { background: var(--paper); }
.company-intro .about-layout { margin-right: 0; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 64px; }
.about-copy p { font-size: 15px; line-height: 1.95; color: var(--muted); margin-bottom: 22px; }
.about-copy p:first-child { color: var(--ink); font-size: 17px; }
.about-metrics { border-color: var(--line); }
.about-metrics div { display: block; padding: 22px 0; border-color: var(--line); }
.about-metrics dt { font-size: 36px; font-weight: 500; color: var(--accent); }
.about-metrics dd { margin-top: 10px; font-size: 12px; }
.proof-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.proof-strip div { border-top: 1px solid var(--line); padding-top: 22px; }
.proof-strip strong { display: block; margin-bottom: 10px; font-size: 18px; font-weight: 600; color: var(--accent); }
.proof-strip span { color: var(--muted); font-size: 13px; line-height: 1.8; }
.site-footer { background: var(--paper); padding: 56px 0 24px; }
.footer-grid { grid-template-columns: 1.2fr .7fr 1.2fr; gap: 36px; }
.footer-grid p, .footer-grid a { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.footer-grid h3 { font-size: 12px; margin-bottom: 18px; color: var(--muted); font-weight: 500; }
.footer-grid > div:last-child p { margin: 0 0 16px; }
.footer-grid a[href^="tel:"],
.footer-grid a[data-whatsapp-link] { color: var(--ink); font-weight: 500; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid .brand:hover { text-decoration: none; }
.icp-record { padding-top: 24px; margin-top: 44px; border-top: 1px solid var(--line); font-size: 11px; }
.footer-locales { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-locales a { color: var(--muted); transition: color .18s ease; }
.footer-locales a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-locales a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.footer-locales + .icp-record { margin-top: 18px; padding-top: 18px; }
.privacy-note { color: var(--muted); font-size: 12px; line-height: 1.8; text-align: center; padding-bottom: 20px; }

/* Floating drawer message widget keeps 100% viewport width for hero and catalog. */
.contact-widget { position: fixed; top: auto; right: 22px; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 50; transform: none; }
.contact-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 13px; letter-spacing: .02em; box-shadow: 0 6px 22px rgb(29 56 68 / .22); transition: background-color .2s ease, transform .2s ease; }
.contact-toggle:hover { background: #244e5d; transform: translateY(-1px); }
.contact-panel { display: none; position: absolute; bottom: 56px; right: 0; width: min(350px, calc(100vw - 36px)); max-height: calc(100dvh - 120px); overflow: auto; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; background: #fff; box-shadow: 0 18px 44px rgb(29 56 68 / .18); }
.contact-widget.open .contact-panel { display: block; animation: section-enter .22s ease; }
.contact-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.contact-panel h2 { margin: 0; font-size: 16px; font-weight: 600; color: var(--accent); }
.contact-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.contact-close:hover { color: var(--accent); border-color: var(--accent); }
.contact-status:empty { display: none; }
.contact-form textarea { font-size: 15px; min-height: 124px; }
.contact-form .button { background: var(--accent); }
.contact-email,
.contact-whatsapp { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-email a,
.contact-whatsapp a { display: block; width: fit-content; max-width: 100%; color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
[data-whatsapp-box] [data-whatsapp-link] { transition: opacity .15s ease; }
[data-whatsapp-box][data-whatsapp-ready="false"] [data-whatsapp-link] { opacity: 0; }
@media (scripting: none) {
  [data-whatsapp-box][data-whatsapp-ready="false"] [data-whatsapp-link] { opacity: 1; }
}

/* Quick filter tags, spec badges, default 2-column cards (.is-cards) & switchable list (.is-list) */
.quick-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.quick-tags-label { font-size: 12px; color: var(--muted); margin-right: 2px; }
.quick-tag { appearance: none; min-height: 30px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.quick-tag:hover { color: var(--accent); border-color: var(--accent); }
.quick-tag[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.wechat-page .quick-tags { margin: 0 0 14px; }

.product-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.product-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 3px; background: #eaf2f5; color: var(--accent); font-size: 11px; font-weight: 600; line-height: 1.5; }
.product-badge.is-accent { background: #dcebef; color: #1e4653; }

.product-tds-btn { display: none; }
.product-row-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; border-bottom: 1px solid var(--line); }
.product-category-group .product-row-wrap:last-child { border-bottom: 0; }
.product-row-wrap > .product-row { border-bottom: 0; }
.product-card-actions { display: flex; align-items: center; }
.product-inquire { align-self: start; margin: 18px 0 18px 12px; min-height: 34px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--accent); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.product-inquire:hover { border-color: var(--accent); background: var(--paper); }

/* Classic Mist-Blue Dual-Column Spec Cards (.is-cards) */
body:not(.wechat-page) .product-group-items.is-cards,
body:not(.wechat-page) .application-products .product-table.is-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 12px;
}
body:not(.wechat-page) .product-table.is-cards > .product-category-group,
body:not(.wechat-page) .product-table.is-cards > .catalog-empty {
  grid-column: 1 / -1;
}
body:not(.wechat-page) .product-table.is-cards .product-category-more {
  padding-top: 12px;
}
body:not(.wechat-page) .is-cards .product-row-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 14px;
  min-height: 224px;
  padding: 20px 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body:not(.wechat-page) .is-cards .product-row-wrap:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgb(35 50 58 / .08);
  transform: translateY(-2px);
}
body:not(.wechat-page) .is-cards .product-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
body:not(.wechat-page) .is-cards .product-arrow {
  display: none;
}
body:not(.wechat-page) .is-cards .product-identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f4;
}
body:not(.wechat-page) .is-cards .product-row strong,
body:not(.wechat-page) .is-cards .product-model {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--accent);
}
body:not(.wechat-page) .is-cards .product-category {
  margin-top: 0;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  max-width: 56%;
}
body:not(.wechat-page) .is-cards .product-spec-body {
  width: 100%;
}
body:not(.wechat-page) .is-cards .product-feature {
  color: #3d4d55;
  font-size: 14px;
  line-height: 1.75;
}
body:not(.wechat-page) .is-cards .product-card-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf2f4;
}
body:not(.wechat-page) .is-cards .product-tds-btn,
body:not(.wechat-page) .is-cards .product-inquire {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body:not(.wechat-page) .is-cards .product-tds-btn {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
body:not(.wechat-page) .is-cards .product-tds-btn:hover {
  background: #244e5d;
  border-color: #244e5d;
}
body:not(.wechat-page) .is-cards .product-inquire {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
}
body:not(.wechat-page) .is-cards .product-inquire:hover {
  border-color: var(--accent);
  background: var(--paper);
}

.is-revealed { animation: section-enter .6s cubic-bezier(.2,.65,.3,1) both; }
@keyframes section-enter { from { opacity: .65; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 1650px) {
  .application-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1390px) {
  .header-inner { min-height: 72px; }
  .brand span { display: none; }
  .site-nav { gap: 15px; }
  .hero h1 { font-size: 54px; }
  .hero h1 span { font-size: 34px; }
  html[lang="en"] .hero h1 { font-size: 44px; }
  .hero-content > * { max-width: 47%; }
  .hero-copy { font-size: 15px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { font-size: 12px; }
  .hero-actions .primary { padding-inline: 14px; }
  .section-heading h2 { font-size: 30px; }
  .catalog-layout { gap: 28px; grid-template-columns: 186px minmax(0, 1fr); }
  .company-intro .about-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) 240px; }
}
@media (max-width: 1250px) {
  .lang-menu { margin-left: auto; order: 0; }
  .menu-toggle { display: block; margin-left: 0; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; margin: 0; padding: 24px 48px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(35 50 45 / .06); }
  .site-nav.open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px; }
  .site-nav a::after { display: none; }
}
@media (max-width: 1100px) {
  .contact-widget { right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .contact-panel { width: min(330px, calc(100vw - 36px)); }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 64px; }
  .site-nav { top: 64px; padding: 18px 24px; }
  .hero { min-height: 380px; }
  .hero-content { padding-block: 30px; }
  .hero h1 { font-size: 42px; }
  .hero h1 span, html[lang="en"] .hero h1 { font-size: 30px; }
  .hero-content > * { max-width: 48%; }
  .hero-copy { font-size: 14px; margin-top: 20px; }
  .hero-actions { gap: 10px; flex-wrap: wrap; margin-top: 20px; }
  .hero-actions .button { min-height: 42px; }
  .finder-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .finder-inner > .quick-tags { grid-column: 1; }
  .finder p { display: none; }
  .section-band { padding: 48px 0; }
  .section-heading { align-items: start; margin-bottom: 28px; gap: 18px; }
  .section-heading h2 { font-size: 26px; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 30px; }
  .catalog-sidebar { position: relative; top: auto; }
  .catalog-directory > summary { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 16px 0; border-block: 1px solid var(--line); color: var(--accent); cursor: pointer; font-size: 14px; }
  .catalog-directory > summary::after { content: "+"; font-size: 20px; font-weight: 400; }
  .catalog-directory[open] > summary::after { content: "−"; }
  .catalog-directory .category-menu { border-top: 0; }
  .category-primary { font-size: 14px; padding-block: 13px; }
  .category-submenu { width: auto; border-radius: 0; box-shadow: none; }
  .product-row { grid-template-columns: minmax(130px, .7fr) minmax(0, 1fr); }
  .company-intro .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-metrics { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .about-metrics dt { font-size: 30px; }
  .proof-strip { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1.5fr; gap: 30px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body:not(.wechat-page) .product-group-items.is-cards,
  body:not(.wechat-page) .application-products .product-table.is-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body:not(.wechat-page) .is-cards .product-row-wrap {
    min-height: 0;
    padding: 18px 16px 16px;
  }
  body:not(.wechat-page) .is-cards .product-identity {
    flex-direction: column;
    gap: 6px;
  }
  body:not(.wechat-page) .is-cards .product-category {
    text-align: left;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .header-inner { gap: 10px; }
  .lang-trigger { padding: 6px 10px; min-height: 34px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .site-nav.open { grid-template-columns: 1fr 1fr; }
  .hero { aspect-ratio: 941 / 1672; min-height: 0; max-height: none; align-items: start; }
  .hero-content { padding-block: 32px 0; }
  .hero-content > * { max-width: 100%; }
  .hero h1 { font-size: 38px; }
  .hero h1 span { display: inline; margin: 0 0 0 10px; font-size: 27px; }
  html[lang="en"] .hero h1 { font-size: 37px; }
  .eyebrow { font-size: 11px; margin-bottom: 13px; }
  .hero-copy { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 340px; }
  .hero-actions { display: flex; margin-top: 18px; gap: 24px; }
  .hero-actions .button { font-size: 12px; min-height: 42px; gap: 10px; }
  .search-form { display: flex; }
  .search-form input { font-size: 16px; padding: 12px; }
  .search-form button { width: auto; padding-inline: 14px; gap: 10px; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .application-copy { padding: 18px 0 16px; }
  .application h3 { font-size: 16px; }
  .application p { font-size: 13px; margin-bottom: 16px; }
  .application-products-head h3 { font-size: 20px; }
  .catalog-toolbar { margin-bottom: 18px; }
  .catalog-toolbar .catalog-families { margin-bottom: 0; }
  .product-table-head { display: none; }
  .product-row-wrap { grid-template-columns: 1fr; }
  .product-card-actions { justify-self: start; }
  .product-inquire { justify-self: start; margin: -6px 0 16px 0; }
  .product-row { grid-template-columns: 1fr; gap: 14px; padding-right: 36px; }
  .product-category-heading { gap: 14px; align-items: start; }
  .product-category-heading h3 { font-size: 16px; }
  .product-category-heading > span { padding-top: 2px; font-size: 11px; }
  .product-category-more { justify-content: flex-start; }
  .about-copy p:first-child { font-size: 16px; }
  .about-copy p { font-size: 15px; }
  .site-footer { padding-bottom: 82px; }
}
@media (max-width: 374px) {
  .application-grid { grid-template-columns: 1fr; }
  .container { width: calc(100% - 36px); }
  .hero h1 { font-size: 33px; }
  .hero h1 span { font-size: 24px; }
  html[lang="en"] .hero h1 { font-size: 33px; }
  .hero-content { padding-top: 24px; }
  .hero-actions { gap: 16px; }
  .catalog-toolbar { align-items: stretch; gap: 10px; padding-bottom: 8px; }
  .catalog-view-tabs { width: 100%; margin-bottom: 0; }
  .catalog-view-tabs button { flex: 1; }
  body:not(.wechat-page) .is-cards .product-card-actions { flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== 2026-11-10 第二轮优化：SDS 按钮、英文手机端 WhatsApp 悬浮、留言失败邮件兜底、型号详情页、404 ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.product-sds-btn { align-self: start; margin: 18px 0 18px 12px; min-height: 34px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; transition: border-color .18s ease, background-color .18s ease; }
.product-sds-btn:hover { border-color: var(--accent); background: var(--paper); }
body:not(.wechat-page) .is-cards .product-sds-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin: 0; padding: 7px 14px; border-radius: 4px; font-size: 13px; }
.wechat-page .product-sds-btn { display: none; }
.contact-fallback { display: inline-block; margin-top: 4px; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.whatsapp-float { display: none; }
@media (max-width: 900px) {
  .whatsapp-float { display: block; position: fixed; left: 16px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 49; }
  .whatsapp-float a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px 10px 13px; border-radius: 999px; background: #1f8f4e; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 6px 22px rgb(20 70 40 / .28); }
  .whatsapp-float a:hover { background: #18773f; }
  .contact-widget.open ~ .whatsapp-float { display: none; }
}

.detail-main { min-height: 50vh; }
.detail-hero { padding: 40px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.detail-hero h1 { margin: 0 0 14px; color: var(--ink); font-size: 40px; font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; }
.detail-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 40px; align-items: start; }
.detail-summary .product-badges { margin-bottom: 14px; }
.detail-lead { max-width: 760px; margin: 0; color: #3d4d55; font-size: 16px; line-height: 1.85; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.detail-actions .button.secondary { background: #fff; }
.detail-facts { margin: 0; padding: 6px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; }
.detail-facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf2f4; }
.detail-facts div:last-child { border-bottom: 0; }
.detail-facts dt { color: var(--muted); font-size: 13px; }
.detail-facts dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.detail-facts a { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card { display: flex; flex-direction: column; gap: 10px; min-height: 160px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; color: inherit; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.related-card:hover { border-color: var(--accent); box-shadow: 0 10px 26px rgb(35 50 58 / .08); transform: translateY(-2px); }
.related-card strong { color: var(--accent); font-size: 18px; font-weight: 650; }
.related-card span { color: #3d4d55; font-size: 14px; line-height: 1.7; }
.related-card em { margin-top: auto; color: var(--accent); font-size: 12px; font-style: normal; font-weight: 600; }
.index-group + .index-group { margin-top: 44px; }
.index-group .product-category-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.index-group .product-category-heading h2 { margin: 0; font-size: 20px; font-weight: 600; }
.index-group .product-category-heading span { color: var(--muted); font-size: 13px; }
.notfound-main { padding: 96px 0 110px; background: var(--paper); text-align: center; }
.notfound-main .code { margin: 0 auto; color: var(--accent); font-size: 72px; font-weight: 700; line-height: 1; }
.notfound-main h1 { margin: 18px 0 10px; font-size: 26px; font-weight: 600; }
.notfound-main p { margin: 0 auto; max-width: 560px; color: var(--muted); line-height: 1.8; }
.notfound-main .search-form { display: flex; max-width: 520px; margin: 28px auto 0; }
.notfound-main .detail-actions { justify-content: center; }
@media (max-width: 1100px) { .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .detail-head { grid-template-columns: 1fr; gap: 28px; }
  .detail-hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .detail-hero { padding: 28px 0 40px; }
  .related-grid { grid-template-columns: 1fr; }
  .detail-actions .button { flex: 1 1 100%; }
  .detail-facts div { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ===== 2026-11-10 阿拉伯语 (/ar/) 从右向左 (RTL) 排版适配 ===== */
html[dir="rtl"] .site-nav { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .site-nav a:not(.header-action)::after { left: auto; right: 0; transform-origin: right; }
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .lang-list { direction: ltr; text-align: left; }
html[dir="rtl"] .button:hover span { transform: translateX(-3px); }
html[dir="rtl"] .application-grid,
html[dir="rtl"] .catalog-layout,
html[dir="rtl"] .quick-tags { direction: ltr; text-align: left; }
html[dir="rtl"] [data-whatsapp-link],
html[dir="rtl"] .contact-email a,
html[dir="rtl"] .footer-grid a[href^="mailto:"],
html[dir="rtl"] .icp-record { direction: ltr; unicode-bidi: embed; }
html[dir="rtl"] .footer-grid a[data-whatsapp-link],
html[dir="rtl"] .contact-email a { display: inline-block; }
@media (min-width: 601px) {
  html[dir="rtl"] .hero-media img { transform: scaleX(-1); }
}
@media (max-width: 1250px) {
  html[dir="rtl"] .site-nav { margin-right: 0; }
  html[dir="rtl"] .lang-menu { margin-right: auto; margin-left: 0; }
  html[dir="rtl"] .menu-toggle { margin-left: 0; margin-right: 0; }
}
